joyce8/EMBER2024-capa huggingface dataset:
Function at 0x415220
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040461c
xor eax, eax
push ebp
push 0x4152ed
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
cmp dword [ebp - 4], 0
je 0x415257
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.00406dc0
mov esi, eax
push 0
push 0
xor edx, edx
mov eax, esi
call fcn.00412f6c
lea edx, [ebp - 5]
mov ecx, 1
mov eax, esi
call fcn.00406e3c
lea edx, [ebp - 6]
mov ecx, 1
mov eax, esi
call fcn.00406e3c
cmp byte [ebp - 5], 0x4d
jne 0x4152ca
cmp byte [ebp - 6], 0x5a
jne 0x4152ca
push 0
push pe_nt_image_headers32
xor edx, edx
mov eax, esi
call fcn.00412f6c
lea edx, [ebp - 5]
mov ecx, 1
mov eax, esi
call fcn.00406e3c
lea edx, [ebp - 6]
mov ecx, 1
mov eax, esi
call fcn.00406e3c
cmp byte [ebp - 5], 0x50
jne 0x4152ca
cmp byte [ebp - 6], 0x45
jne 0x4152ca
mov bl, 1
cmp dword [ebp - 4], 0
je 0x4152d7
mov eax, esi
call fcn.00406e94
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4152f4
lea eax, [ebp - 4]
call fcn.00404188
ret

Function at 0x4154a0
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040461c
xor eax, eax
push ebp
push 0x415524
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x18]
push eax
mov ecx, 3
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.0040468c
mov eax, dword [ebp - 0x18]
call fcn.0040462c
push eax
call sub.kernel32.dll_GetDiskFreeSpaceA
test eax, eax
je 0x415506
mov ebx, dword [ebp - 8]
imul ebx, dword [ebp - 0xc]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41552b
lea eax, [ebp - 0x18]
call fcn.00404188
lea eax, [ebp - 4]
call fcn.00404188
ret

Function at 0x419b08
Capabilities:
Read file on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff4
mov esi, ecx
mov edi, edx
mov dword [esp], eax
xor ebp, ebp
test esi, esi
jbe 0x419b93
mov ebx, 1
mov eax, esi
xor edx, edx
push edx
push eax
push 0
push 0x10000
call fcn.0040b4f8
mov dword [esp + 4], eax
push 0
lea eax, [esp + 0xc]
push eax
mov eax, dword [esp + 0xc]
push eax
mov eax, edi
call fcn.00404684
lea eax, [eax + ebx - 1]
push eax
mov eax, dword [esp + 0x10]
push eax
call sub.kernel32.dll_ReadFile_1
test eax, eax
jne 0x419b60
or ebp, 0xffffffff
add ebx, dword [esp + 8]
sub esi, dword [esp + 8]
xor eax, eax
call fcn.0040c07c
cmp ebp, 0xffffffff
je 0x419b7f
mov eax, dword [edi]
call fcn.0040442c
cmp ebx, eax
jle 0x419b21
mov eax, dword [edi]
call fcn.0040442c
cmp ebx, eax
jle 0x419b93
mov eax, dword [edi]
call fcn.0040442c
mov ebp, eax
mov eax, ebp
add esp, 0xc
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x41a9bc
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff9c
push ebx
push esi
xor eax, eax
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], eax
xor eax, eax
push ebp
push 0x41ab9d
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x427c98], 0
jne 0x41ab6b
lea eax, [ebp - 0x50]
xor ecx, ecx
mov edx, 0x38
call fcn.00402d2c
mov bl, 0x43
lea esi, [ebp - 0x50]
lea eax, [ebp - 0x54]
mov edx, ebx
call fcn.00404354
mov edx, dword [ebp - 0x54]
lea eax, [ebp - 0x18]
mov ecx, 0x41abb4
call fcn.00404478
mov eax, dword [ebp - 0x18]
call fcn.0040462c
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 3
jne 0x41aad4
lea eax, [ebp - 0x10]
mov ecx, 0x41abc0
mov edx, dword [ebp - 0x18]
call fcn.00404478
mov eax, dword [ebp - 0x10]
call fcn.00406f14
test al, al
je 0x41aa88
push dword [ebp - 0x10]
push 0x41abd0
push 0
push 0x2710
push 0
push 0x186a0
lea eax, [ebp - 0x58]
call fcn.0040b5d8
push dword [ebp - 0x58]
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.004044ec
mov eax, dword [ebp - 0x10]
call fcn.00406f38
lea eax, [ebp - 0x14]
mov ecx, 0x41abe0
mov edx, dword [ebp - 0x10]
call fcn.00404478
push 0
push 0
xor ecx, ecx
mov edx, 0x41abf4
mov eax, dword [ebp - 0x14]
call fcn.00413270
mov eax, dword [ebp - 0x14]
call fcn.00406f04
test al, al
je 0x41aaca
mov eax, dword [ebp - 0x10]
call fcn.004135fc
fstp qword [esi]
wait
xor edx, edx
mov eax, dword [ebp - 0x10]
call fcn.00413e6c
inc ebx
add esi, 8
cmp bl, 0x46
jne 0x41aa0d
lea edx, [ebp - 0x60]
mov al, 1
call fcn.0040d1c4
mov eax, dword [ebp - 0x60]
lea edx, [ebp - 0x5c]
call fcn.00406b70
mov eax, dword [ebp - 0x5c]
mov dl, byte [eax]
mov byte [ebp - 9], dl
xor eax, eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
mov bl, 0x43
lea ecx, [ebp - 0x50]
fld qword [ecx]
fcomp qword [ebp - 8]
fnstsw ax
sahf
jbe 0x41ab23
mov eax, dword [ecx]
mov dword [ebp - 8], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 4], eax
mov byte [ebp - 9], bl
inc ebx
add ecx, 8
cmp bl, 0x46
jne 0x41ab0b
cmp dl, byte [ebp - 9]
je 0x41ab6b
lea eax, [ebp - 0x64]
mov dl, byte [ebp - 9]
call fcn.00404354
mov edx, dword [ebp - 0x64]
mov eax, 0x427c98
mov ecx, 0x41ac00
call fcn.00404478
mov eax, dword [0x427c98]
call fcn.00406f14
test al, al
je 0x41ab6b
mov eax, 0x427c98
mov edx, 0x41abd0
call fcn.00404434
cmp dword [0x427c98], 0
setne bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41aba4
lea eax, [ebp - 0x64]
mov edx, 5
call fcn.004041ac
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.004041ac
ret
Function at 0x41ee44
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040461c
xor eax, eax
push ebp
push 0x41eec5
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
call fcn.0040ce70
test al, al
je 0x41ee80
mov dl, byte [ebp - 5]
mov eax, dword [ebp - 4]
call fcn.0041e4b8
jmp 0x41ee8b
mov dl, byte [ebp - 5]
mov eax, dword [ebp - 4]
call fcn.0041e1d4
test eax, eax
je 0x41eeaf
push eax
push 0
push 1
call sub.kernel32.dll_OpenProcess
mov esi, eax
push 0
push esi
call sub.kernel32.dll_TerminateProcess
cmp eax, 1
sbb ebx, ebx
inc ebx
push esi
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41eecc
lea eax, [ebp - 4]
call fcn.00404188
ret
Function at 0x422b5c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
xor eax, eax
push ebp
push 0x422c56
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0x422c6c
call fcn.004146bc
mov eax, dword [0x427e40]
cmp dword [eax], 0
jg 0x422c31
lea eax, [ebp - 0xc]
call fcn.0041bb70
mov ecx, dword [ebp - 0xc]
lea eax, [ebp - 4]
mov edx, 0x422c98
call fcn.00404478
lea edx, [ebp - 0x14]
xor eax, eax
call fcn.00402820
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
call fcn.0040728c
push dword [ebp - 0x10]
lea edx, [ebp - 0x18]
mov eax, dword [0x427de4]
mov eax, dword [eax]
call fcn.00415aa8
push dword [ebp - 0x18]
push dword [ebp - 4]
lea eax, [ebp - 8]
mov edx, 3
call fcn.004044ec
lea eax, [ebp - 0x1c]
mov ecx, dword [ebp - 8]
mov edx, 0x422cc0
call fcn.00404478
mov eax, dword [ebp - 0x1c]
call fcn.004146bc
push 0
mov eax, dword [ebp - 8]
call fcn.0040462c
push eax
call sub.kernel32.dll_WinExec
xor edx, edx
mov eax, 0x3e8
call fcn.0040c0b4
mov eax, 0x422cd8
call fcn.004146bc
push 0
push 0
push 2
mov eax, dword [0x427d7c]
mov eax, dword [eax]
push eax
call sub.user32.dll_PostMessageA
mov eax, 0x422cfc
call fcn.004146bc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x422c5d
lea eax, [ebp - 0x1c]
mov edx, 7
call fcn.004041ac
ret
Function at 0x423a0c
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x423ba5
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
call fcn.0040d040
mov ecx, dword [ebp - 0x10]
mov dl, 1
mov eax, dword [0x414fbc]
call fcn.00415704
call fcn.00415ec0
mov dword [ebp - 0xc], eax
mov ebx, 0x46
mov eax, dword [ebp - 0xc]
add eax, 0xffffff4f
sub eax, 2
jae 0x423a5f
add ebx, 0x34
mov esi, 0x14
mov edi, 0x154
mov dword [ebp - 8], 0x12
push ebx
push esi
push edi
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
push 0
mov eax, dword [0x428660]
push eax
push 0
mov edx, 0x423bb4
mov eax, 0x423bb8
mov ecx, 0x50000000
call fcn.00405d74
mov edx, dword [0x427ebc]
mov dword [edx], eax
mov ebx, 0x46
mov esi, 0x26
mov edi, 0x188
mov dword [ebp - 8], 0xd
push 0x50000000
push ebx
push esi
push edi
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
push 0
mov eax, dword [0x428660]
push eax
push 0
mov edx, 0x423bc0
xor ecx, ecx
xor eax, eax
call fcn.00405d1c
mov edx, dword [0x427dfc]
mov dword [edx], eax
mov ebx, 0x1a0
mov eax, dword [ebp - 0xc]
add eax, 0xffffff4f
sub eax, 2
jae 0x423afe
mov ebx, 0x46
mov esi, 0x14
mov edi, 0x2e
mov dword [ebp - 8], 0xd
push 0x40000000
push ebx
push esi
push edi
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
push 0
mov eax, dword [0x428660]
push eax
push 0
mov edx, 0x423bc0
xor ecx, ecx
xor eax, eax
call fcn.00405d1c
mov edx, dword [0x427d9c]
mov dword [edx], eax
push 0
push 0x3e8
push 1
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_SetTimer
mov edx, dword [0x427dcc]
mov dword [edx], eax
push 0x423bd4
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0xfffffffffffffff5
call sub.gdi32.dll_CreateFontA
push 0
push eax
push 0x30
mov eax, dword [0x427ebc]
mov eax, dword [eax]
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x423bac
lea eax, [ebp - 0x10]
call fcn.00404188
ret
Function at 0x423e3c
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x424023
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xffffffffffffffff
push 0xffffffffffffffff
mov eax, 0x42403c
call fcn.0040d794
test eax, eax
jl 0x423e7a
neg eax
mov edx, dword [0x427e5c]
mov dword [edx], eax
call sub.comctl32.dll_InitCommonControls
lea eax, [ebp - 0x54]
xor ecx, ecx
mov edx, 0x28
call fcn.00402d2c
mov dword [ebp - 0x50], 0x423d14
mov eax, dword [0x428660]
mov dword [ebp - 0x44], eax
mov eax, dword [0x427d20]
call fcn.0040462c
mov dword [ebp - 0x30], eax
push 0x7f00
push 0
call sub.user32.dll_LoadCursorA
mov dword [ebp - 0x3c], eax
push 0x424048
mov eax, dword [0x428660]
push eax
call sub.user32.dll_LoadIconA
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x54], 8
lea eax, [ebp - 0x54]
push eax
call sub.user32.dll_RegisterClassA
mov esi, 0x1ec
mov edi, 0x6e
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 4]
mov edx, edi
mov eax, esi
call fcn.0040e834
mov dword [ebp - 0xc], 0x2c80000
lea eax, [ebp - 0x58]
call fcn.0040d040
mov ecx, dword [ebp - 0x58]
mov dl, 1
mov eax, dword [0x414fbc]
call fcn.00415704
mov ebx, eax
lea eax, [ebp - 0x10]
push eax
mov ecx, 0x42405c
mov edx, 0x424080
mov eax, ebx
call fcn.00415dbc
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 8]
push eax
push esi
push edi
push 0
push 0
mov eax, dword [0x428660]
push eax
push 0
mov eax, dword [ebp - 0x10]
call fcn.0040462c
push eax
mov eax, dword [0x427d20]
call fcn.0040462c
mov edx, eax
xor eax, eax
pop ecx
call fcn.00405d1c
mov edx, dword [0x427d7c]
mov dword [edx], eax
lea edx, [ebp - 0x5c]
mov eax, ebx
call fcn.00415fb8
mov eax, dword [ebp - 0x5c]
push eax
mov eax, ebx
call fcn.00415ec0
push eax
mov eax, ebx
call fcn.00415f38
mov edx, eax
pop ecx
pop eax
call fcn.0040ea44
mov eax, dword [0x427d7c]
cmp dword [eax], 0
je 0x423fd9
push 0
mov eax, dword [0x427d7c]
mov eax, dword [eax]
push eax
call sub.user32.dll_ShowWindow
jmp 0x423fc6
lea eax, [ebp - 0x2c]
push eax
call sub.user32.dll_TranslateMessage
lea eax, [ebp - 0x2c]
push eax
call sub.user32.dll_DispatchMessageA
cmp byte [0x427d24], 0
jne 0x423fd9
push 0
push 0
push 0
lea eax, [ebp - 0x2c]
push eax
call sub.user32.dll_GetMessageA
test eax, eax
jne 0x423fab
push 1
mov eax, dword [0x427d7c]
mov eax, dword [eax]
push eax
call sub.user32.dll_KillTimer
mov al, 1
call fcn.0041d0f4
call fcn.0041d0c4
xor edx, edx
mov eax, 0x2b
call fcn.0041479c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42402a
lea eax, [ebp - 0x5c]
mov edx, 2
call fcn.004041ac
lea eax, [ebp - 0x10]
call fcn.00404188
ret
Function at 0x4242b4
Capabilities:
Copy file
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, 5
push 0
push 0
dec ecx
jne 0x4242bc
xor eax, eax
push ebp
push 0x4243c8
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 4]
xor eax, eax
call fcn.00402820
lea eax, [ebp - 0x10]
call fcn.0041a834
push dword [ebp - 0x10]
push 0x4243dc
push 0x4243e8
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.00407314
push dword [ebp - 0x14]
lea eax, [ebp - 8]
mov edx, 4
call fcn.004044ec
push 0
mov eax, dword [ebp - 8]
call fcn.0040462c
push eax
mov eax, dword [ebp - 4]
call fcn.0040462c
push eax
call sub.kernel32.dll_CopyFileA
lea eax, [ebp - 0x18]
call fcn.0040d4d4
push dword [ebp - 0x18]
push 0x4243f4
lea edx, [ebp - 0x1c]
xor eax, eax
call fcn.00402820
push dword [ebp - 0x1c]
push 0x42441c
lea eax, [ebp - 0xc]
mov edx, 4
call fcn.004044ec
push dword [ebp - 0xc]
push 0x42442c
lea edx, [ebp - 0x20]
xor eax, eax
call fcn.00402820
push dword [ebp - 0x20]
push 0x424444
lea eax, [ebp - 0xc]
mov edx, 4
call fcn.004044ec
push 0
push dword [ebp - 8]
push 0x424450
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.00406bac
push dword [ebp - 0x28]
lea eax, [ebp - 0x24]
mov edx, 3
call fcn.004044ec
mov eax, dword [ebp - 0x24]
call fcn.0040462c
push eax
call sub.kernel32.dll_WinExec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4243cf
lea eax, [ebp - 0x28]
mov edx, 0xa
call fcn.004041ac
ret
Function at 0x4072ad
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x46bc7c], 0
jne 0x4072eb
xor ecx, ecx
push esi
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
movzx edx, dl
neg edx
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x4072c1
mov dword [ecx*4 + 0x46bc78], eax
inc ecx
cmp ecx, 0x100
jl 0x4072bc
pop esi
cmp dword [ebp + 0x10], 0
mov eax, dword [ebp + 8]
not eax
jbe 0x407318
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
dec dword [ebp + 0x10]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x46bc78]
inc ecx
cmp dword [ebp + 0x10], 0
ja 0x4072f9
not eax
pop ebp
ret 0xc

Function at 0x401080
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x13c
mov eax, dword [0x403004]
xor eax, esp
mov dword [esp + 0x138], eax
push esi
lea eax, [esp + 8]
mov dword [esp + 4], 0
push eax
push 1
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionOpenWith
xorps xmm0, xmm0
mov dword [esp + 0x18], 0
push reloc.OLEAUT32.dll_SysReAllocString
movaps xmmword [esp + 0x34], xmm0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x401191
mov esi, dword [esp + 8]
test esi, esi
je 0x401191
push 0x100
push eax
lea eax, [esp + 0x40]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [esp + 0x1c], 0x100
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x3c]
push eax
push 0
push 0
push 0x4021e4
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [esp + 8]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x401191
lea ecx, [esp + 0x38]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x401130
sub ecx, edx
sar ecx, 1
cmp ecx, 0x26
jne 0x401191
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x3c]
push eax
call dword [sym.imp.ole32.dll_CLSIDFromString]
test eax, eax
js 0x401191
lea eax, [esp + 4]
mov dword [esp + 0xc], 0x6a283fe2
push eax
lea eax, [esp + 0x10]
mov dword [esp + 0x14], 0x4599ecfa
push eax
push 4
push 0
lea eax, [esp + 0x30]
mov dword [esp + 0x24], 0x9e8c491
push eax
mov dword [esp + 0x2c], 0x267b1357
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov ecx, dword [esp + 0x13c]
mov eax, dword [esp + 4]
pop esi
xor ecx, esp
call fcn.004012cd
mov esp, ebp
pop ebp
ret

Function at 0x4011b0
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleWindow]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push 2
push 0
mov ebx, eax
call dword [sym.imp.ole32.dll_CoInitializeEx]
call fcn.00401080
mov edi, eax
push 0
push edi
call dword [sym.imp.ole32.dll_CoAllowSetForegroundWindow]
push str..pdf
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov esi, eax
test esi, esi
je 0x401214
mov eax, dword [edi]
push 4
push esi
push ebx
push edi
call dword [eax + 0xc]
push esi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [edi]
push edi
call dword [eax + 8]
pop edi
pop esi
xor eax, eax
pop ebx
ret 0x10
push 0x8007000e
call fcn.00401030
int3
Function at 0x403260
Capabilities:
Copy file
Enumerate gui resources

Disassembly:
mov eax, dword [0x4cb34c]
mov ecx, dword [0x4c8258]
sub esp, 0x82c
push ebx
push ebp
shr eax, 3
push esi
push edi
test eax, eax
jbe 0x40334d
mov edi, dword [sym.imp.KERNEL32.dll_SetConsoleMode]
mov ebx, dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
mov ebp, dword [sym.imp.KERNEL32.dll_WriteProfileSectionW]
mov esi, dword [sym.imp.KERNEL32.dll_GetCommState]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], eax
cmp dword [0x4cb34c], 0x959
jne 0x403333
push 0
push 0
call edi
push 0
lea eax, [esp + 0x3c]
push eax
push 0
call ebx
push 0
push 0
call ebp
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CopyFileW]
push 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumCalendarInfoExW]
lea ecx, [esp + 0x1c]
push ecx
push 0
call esi
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_AddConsoleAliasW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetStdHandle]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumResourceTypesW]
push 0
push 0
call esi
push 0
push 0x402cb0
call dword [sym.imp.KERNEL32.dll_BeginUpdateResourceA]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenEventW]
mov edx, dword [esp + 0x14]
push edx
call fcn.004030c0
add dword [esp + 0x14], 8
sub dword [esp + 0x18], 1
jne 0x4032a0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x82c
ret
Function at 0x4060b0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x45e0f8]
jne 0x4060ba
repz ret
jmp fcn.0040a642

Function at 0x40a365
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00406b39
and dword [ebp - 4], 0
cmp dword [0x460db4], 0
mov ebx, eax
jne 0x40a416
push 0x401b14
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40a4c7
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x401b08
push edi
call esi
test eax, eax
je 0x40a4c7
push eax
call fcn.00406ac7
mov dword [esp], 0x401af8
push edi
mov dword [0x460db4], eax
call esi
push eax
call fcn.00406ac7
mov dword [esp], 0x401ae4
push edi
mov dword [0x460db8], eax
call esi
push eax
call fcn.00406ac7
mov dword [esp], 0x401ac8
push edi
mov dword [0x460dbc], eax
call esi
push eax
call fcn.00406ac7
pop ecx
mov dword [0x460dc4], eax
test eax, eax
je 0x40a416
push 0x401ab0
push edi
call esi
push eax
call fcn.00406ac7
pop ecx
mov dword [0x460dc0], eax
mov eax, dword [0x460dc0]
cmp eax, ebx
je 0x40a46e
cmp dword [0x460dc4], ebx
je 0x40a46e
push eax
call fcn.00406b42
push dword [0x460dc4]
mov esi, eax
call fcn.00406b42
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40a46e
test edi, edi
je 0x40a46e
call esi
test eax, eax
je 0x40a465
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40a465
test byte [ebp - 0xc], 1
jne 0x40a46e
or dword [ebp + 0x10], 0x200000
jmp 0x40a4a7
mov eax, dword [0x460db8]
cmp eax, ebx
je 0x40a4a7
push eax
call fcn.00406b42
pop ecx
test eax, eax
je 0x40a4a7
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40a4a7
mov eax, dword [0x460dbc]
cmp eax, ebx
je 0x40a4a7
push eax
call fcn.00406b42
pop ecx
test eax, eax
je 0x40a4a7
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x460db4]
call fcn.00406b42
pop ecx
test eax, eax
je 0x40a4c7
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40a4c9
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4011c6
Capabilities:
Access peb ldr_data
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
push edi
call fcn.0040114f
call section..text
movzx eax, al
cmp eax, 1
jne 0x4011e9
push 5
pop eax
jmp 0x4013b8
and dword [ebp - 0x40], 0
and dword [ebp - 0xc], 0
and dword [ebp - 0x30], 0
and dword [ebp - 0x14], 0
and dword [ebp - 0x24], 0
and dword [ebp - 0x44], 0
and dword [ebp - 8], 0
and dword [ebp - 0x18], 0
and dword [ebp - 0x1c], 0
and dword [ebp - 0x20], 0
mov dword [ebp - 0x2c], 0x330
pushal
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov ebx, eax
add ebx, 0xc
mov eax, dword [eax + 0xc]
mov edi, dword [eax + 0x30]
mov ecx, 0x18
xor esi, esi
xor ebx, ebx
add bl, byte [edi + ecx - 1]
add esi, ebx
loop 0x401234
cmp esi, dword [ebp - 0x2c]
je 0x401249
mov eax, dword [eax]
cmp eax, ebx
jne 0x40122a
mov eax, dword [eax + 0x18]
mov dword [ebp - 8], eax
nop
popal
mov eax, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0xc], eax
push 0x434f38
push dword [0x434f20]
push 0x434f24
push dword [0x434f38]
push 0x434f3c
call fcn.0040102b
add esp, 0x14
push 0x434f3c
push dword [ebp - 8]
call dword [ebp - 0xc]
mov dword [ebp - 0x30], eax
push 0x434f58
push dword [0x434f20]
push 0x434f24
push dword [0x434f58]
push 0x434f5c
call fcn.0040102b
add esp, 0x14
push 0x434f5c
push dword [ebp - 8]
call dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
push 0x434f78
push dword [0x434f20]
push 0x434f24
push dword [0x434f78]
push 0x434f7c
call fcn.0040102b
add esp, 0x14
push 0x434f7c
push dword [ebp - 8]
call dword [ebp - 0xc]
mov dword [ebp - 0x24], eax
mov eax, dword [0x40403c]
mov dword [ebp - 0x10], eax
push 4
push 0x1000
mov eax, dword [ebp - 0x10]
inc eax
push eax
push 0
call dword [ebp - 0x14]
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], 0x404040
mov eax, dword [ebp - 4]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x20], eax
mov esi, dword [ebp - 0x18]
mov edi, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
rep movsb byte es:[edi], byte [esi]
lea eax, [ebp - 0x10]
push eax
push dword [section..data]
push 0x404004
push dword [ebp - 0x10]
push dword [ebp - 4]
call fcn.0040102b
add esp, 0x14
mov dword [ebp - 4], eax
and dword [ebp - 0x34], 0
lea eax, [ebp - 0x34]
push eax
push 0x20
push dword [0x40403c]
push dword [ebp - 4]
call dword [ebp - 0x24]
push 0x40471c
push dword [0x4046e0]
push 0x4046e4
push dword [0x40471c]
push 0x404720
call fcn.0040102b
add esp, 0x14
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 4]
mov dword [0x434fcc], eax
and dword [ebp - 0x28], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx + eax]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x38], 1
push dword [ebp - 0x28]
push dword [ebp - 0x38]
push dword [ebp - 0x3c]
call dword [0x434fcc]
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x433005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
call 0x43300c
nop
nop
pop eax
nop
nop
nop
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x433030
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219