joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43731c
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x4510c8]
cmp byte [eax + 0xc], 0
je 0x437489
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x437482
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x452af4], 0
jne 0x437370
push 0x437490
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x437498
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x452af4], eax
cmp dword [0x450aa4], 0
jne 0x43746b
push 0x4374a8
call sub.kernel32.dll_LoadLibraryA
mov dword [0x450aa4], eax
cmp dword [0x450aa4], 0
je 0x43746b
push 0x4374b4
mov eax, dword [0x450aa4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x452af8], eax
push 0x4374c4
mov eax, dword [0x450aa4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x452afc], eax
push 0x4374d8
mov eax, dword [0x450aa4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x452b00], eax
push 0x4374f0
mov eax, dword [0x450aa4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x452b04], eax
push 0x437508
mov eax, dword [0x450aa4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x452b08], eax
push 0x43751c
mov eax, dword [0x450aa4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x452b0c], eax
push 0x437534
mov eax, dword [0x450aa4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x452b10], eax
push 0x43754c
mov eax, dword [0x450aa4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x452b14], eax
push 0x437568
mov eax, dword [0x450aa4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x452b18], eax
push 0x437574
mov eax, dword [0x450aa4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x452b1c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x437489
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x43b33c
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.00404464
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x43b38b
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.004046d4
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x442b34
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x442b84]
test si, 4
je 0x442b48
or bl, 1
test si, 8
je 0x442b52
or bl, 4
test si, 1
je 0x442b5c
or bl, 8
test si, 2
je 0x442b66
or bl, 0x10
test si, 0x10
je 0x442b70
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x442b7f
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x442b88
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x442bc0]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x442ba1
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x442bb0
or bl, 4
test esi, 0x20000000
je 0x442bbb
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x449284
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x449296
add esp, 0xfffffff0
call fcn.00403a10
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00419920
mov eax, dword [0x450dcc]
mov dword [eax + 4], ebx
mov dword [eax], 0x449628
mov eax, dword [0x450dd8]
mov dword [eax + 4], ebx
mov dword [eax], 0x449634
mov eax, ebx
call fcn.00449640
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x411b38]
call fcn.004036c0
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x411b38]
call fcn.004036c0
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x411b38]
call fcn.004036c0
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x411b38]
call fcn.004036c0
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x411b38]
call fcn.004036c0
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x445a58
push eax
push 0
push 0
mov eax, dword [0x450f04]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41b348]
call fcn.0041c7b0
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41b348]
call fcn.0041c7b0
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41b348]
call fcn.0041c7b0
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00449a90
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x449958
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x449958
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x449958
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4493d3
call fcn.00403a68
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x44973c
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4498e7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x4498c8
mov dl, 1
mov eax, dword [0x411f54]
call fcn.004036c0
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404464
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x4498b7
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.0043767c
test al, al
je 0x4498aa
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x4498f8
lea eax, [ebp - 0x254]
call fcn.00408f40
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x4498aa
xor eax, eax
push ebp
push 0x4498a3
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x449930
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x44988c
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004046d4
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x44988c
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004046d4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4498aa
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x4497ad
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00415ab8
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4498ee
lea eax, [ebp - 0x260]
call fcn.00404464
ret

Function at 0x44a230
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x452b40]
cmp byte [eax + 0xa5], 0
jne 0x44a2a1
cmp dword [0x452b58], 0
jne 0x44a262
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x44a1ec
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x452b58], eax
cmp dword [0x452b54], 0
jne 0x44a27d
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x452b54], eax
cmp dword [0x452b5c], 0
jne 0x44a2a1
push esp
push 0
push 0
push 0x44a190
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x452b5c], eax
pop edx
ret
Function at 0x44a934
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x452b40]
cmp dword [eax + 0x30], 0
je 0x44a9de
cmp dword [ebx + 0x94], 0
jne 0x44a9d8
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x44a8c4
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x44a9d8
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x44a99e
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x44a9d8
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00413eb4
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x44a9ad
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x44b53c
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x44b571
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404554
jmp 0x44b57e
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004044b8
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x44c524
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x44c565
mov eax, esi
call fcn.00432e34
test al, al
je 0x44c565
mov eax, dword [ebx + 0x84]
call fcn.00432bd4
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x44c565
push 0
mov eax, dword [ebx + 0x84]
call fcn.00432bd4
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x44d658
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffe8
mov ebp, edx
mov ebx, eax
xor eax, eax
mov dword [esp], eax
mov eax, dword [ebx + 0x3c]
add eax, ebx
mov edx, dword [eax + 0x78]
mov dword [esp + 4], edx
mov edx, dword [eax + 0x7c]
mov dword [esp + 8], edx
mov eax, dword [esp + 4]
add eax, ebx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
mov edi, dword [eax + 0x18]
dec edi
test edi, edi
jb 0x44d6f6
inc edi
xor esi, esi
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 0x20]
add eax, ebx
mov edx, esi
shl edx, 2
add eax, edx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0xc]
add eax, ebx
push eax
push ebp
call sub.kernel32.dll_lstrcmpA
test eax, eax
jne 0x44d6f2
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 0x24]
add eax, ebx
mov edx, esi
add edx, edx
add eax, edx
mov ax, word [eax]
add ax, 3
mov edx, dword [esp + 0xc]
mov edx, dword [edx + 0x1c]
add edx, ebx
movzx eax, ax
shl eax, 2
add edx, eax
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x14]
add ebx, dword [eax]
mov dword [esp], ebx
jmp 0x44d6f6
inc esi
dec edi
jne 0x44d694
mov eax, dword [esp]
add esp, 0x18
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x44e5e8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404914
mov edi, dword [ebp + 8]
add edi, 0xffffff00
xor eax, eax
push ebp
push 0x44e6fa
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 0x89
xor ebx, ebx
xor esi, esi
mov eax, dword [ebp - 4]
call fcn.00404724
test eax, eax
jle 0x44e6c9
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0xc], 1
mov eax, dword [ebp - 0x18]
add eax, 0x77
xor edx, edx
push edx
push eax
lea eax, [ebx + 1]
cdq
call fcn.00405250
mov ebx, eax
mov eax, dword [ebp - 0x18]
add eax, 0x77
xor edx, edx
push edx
push eax
xor eax, eax
mov al, byte [edi + ebx]
add eax, esi
cdq
call fcn.00405250
mov esi, eax
mov al, byte [edi + ebx]
mov dl, byte [edi + esi]
mov byte [edi + ebx], dl
mov byte [edi + esi], al
xor eax, eax
mov al, byte [edi + ebx]
xor edx, edx
mov dl, byte [edi + esi]
add eax, edx
mov edx, dword [ebp - 0x18]
add edx, 0x77
mov ecx, edx
xor edx, edx
div ecx
mov al, byte [edi + edx]
mov byte [ebp - 0xd], al
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
mov dl, byte [edx + ecx - 1]
mov cl, byte [ebp - 0xd]
xor dl, cl
call fcn.0040464c
mov edx, dword [ebp - 0x20]
lea eax, [ebp - 0x14]
call fcn.0040472c
inc dword [ebp - 0xc]
dec dword [ebp - 0x1c]
jne 0x44e643
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x14]
call fcn.004044b8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44e701
lea eax, [ebp - 0x20]
call fcn.00404464
lea eax, [ebp - 0x14]
call fcn.00404464
lea eax, [ebp - 4]
call fcn.00404464
ret

Function at 0x44efe0
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
add esp, 0xfffffdf0
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00404b44
test esi, esi
jne 0x44f017
push 0x20a
lea eax, [esp + 8]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameW
mov ecx, eax
lea edx, [esp + 4]
mov eax, ebx
call fcn.00404c30
jmp 0x44f03e
call sub.kernel32.dll_GetCommandLineW
mov dword [esp], eax
mov edx, ebx
mov eax, dword [esp]
call fcn.0044ee54
mov dword [esp], eax
test esi, esi
je 0x44f03e
mov eax, dword [ebx]
xor edx, edx
call fcn.00404cbc
je 0x44f03e
dec esi
jmp 0x44f01f
add esp, 0x210
pop esi
pop ebx
ret
Function at 0x433001
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
nop
pop edi
nop
nop
cmp eax, 0
nop
nop
je 0x433072
nop
nop
nop
nop
mov ebx, 0x40de38
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x35ed5089
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x433060
nop
nop
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
je 0x4330d2
nop
nop
nop
nop
mov ebx, 0x4304d8
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
pop eax
nop
nop
nop
nop
mov esi, 0x31f65d1a
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x4330c0
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x1001408
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, dword [esp + 4]
push ebx
xor ebx, ebx
cmp eax, ebx
je 0x100144b
push esi
lea ecx, [eax + 8]
call dword [sym.imp.ulib.dll_public:_class_WSTRING____thiscall_PATH::QueryFullPathString_void_const]
mov esi, eax
cmp esi, ebx
je 0x100144a
mov eax, dword [esi + 8]
cmp eax, ebx
je 0x1001442
cmp word [eax], bx
je 0x1001442
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1001442
test ah, 0x10
je 0x1001442
mov bl, 1
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
pop esi
mov al, bl
pop ebx
ret 4

Function at 0x10030d3
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x28
push 0x1001298
call fcn.01003250
xor edi, edi
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp word [eax], 0x5a4d
jne 0x100310e
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x100310e
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x1003126
cmp eax, 0x20b
je 0x1003113
mov dword [ebp - 0x1c], edi
jmp 0x100313a
cmp dword [ecx + 0x84], 0xe
jbe 0x100310e
xor eax, eax
cmp dword [ecx + 0xf8], edi
jmp 0x1003134
cmp dword [ecx + 0x74], 0xe
jbe 0x100310e
xor eax, eax
cmp dword [ecx + 0xe8], edi
setne al
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], edi
push 1
call dword [sym.imp.msvcrt.dll___set_app_type]
pop ecx
or dword [0x1005024], 0xffffffff
or dword [0x1005028], 0xffffffff
call dword [sym.imp.msvcrt.dll___p__fmode]
mov ecx, dword [0x1005020]
mov dword [eax], ecx
call dword [sym.imp.msvcrt.dll___p__commode]
mov ecx, dword [0x100501c]
mov dword [eax], ecx
mov eax, dword [sym.imp.msvcrt.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x100502c], eax
call fcn.010032b8
cmp dword [section..data], edi
jne 0x1003195
push fcn.010032b8
call dword [sym.imp.msvcrt.dll___setusermatherr]
pop ecx
call fcn.010032a6
push 0x10011bc
push 0x10011b8
call sub.msvcrt.dll__initterm
mov eax, dword [0x1005018]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
push dword [0x1005014]
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.msvcrt.dll___getmainargs]
mov dword [ebp - 0x30], eax
push 0x10011b4
push 0x10011b0
call sub.msvcrt.dll__initterm
mov eax, dword [ebp - 0x24]
mov ecx, dword [sym.imp.msvcrt.dll___initenv]
mov dword [ecx], eax
push dword [ebp - 0x24]
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
call fcn.01002ee7
add esp, 0x30
mov esi, eax
mov dword [ebp - 0x34], esi
cmp dword [ebp - 0x1c], edi
jne 0x100320c
push esi
call dword [sym.imp.msvcrt.dll_exit]
call dword [sym.imp.msvcrt.dll__cexit]
jmp 0x1003241
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.01003289
ret
Function at 0x40671a
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push esi
mov esi, 0x104
lea eax, [ebp - 0x23c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
pop esi
jbe 0x40673e
xor eax, eax
test eax, eax
je 0x406751
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x406751
xor ecx, ecx
jmp 0x406754
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx*2 + 0x40a014]
lea eax, [ebp + eax*2 - 0x23c]
push ecx
push str._s_S.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x23c]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
leave
ret 4

Function at 0x40687d
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x427dcc], 0
push esi
jne 0x4068b4
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x40688e
mov dword [ecx*4 + 0x427dc8], eax
inc ecx
cmp ecx, 0x100
jl 0x406889
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x4068e5
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x427dc8]
xor eax, esi
inc ecx
dec edx
jne 0x4068c7
pop edi
not eax
pop esi
ret 0xc

Function at 0x4032a0
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
mov ecx, ebp
push ebp
mov ebp, esp
mov dword [0x405076], ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x405258], eax
mov dword [0x4051e0], 0x402b80
mov dword [0x4051dc], 2
jmp 0x4032d0
mov dword [0x4051e4], 0
mov dword [0x4051e8], 0
mov dword [0x4051d8], 0x30
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov dword [0x4051ec], eax
mov dword [0x405200], 0x404080
mov dword [0x4051f8], 0xf
mov dword [0x40506e], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x4051f0], eax
mov dword [0x405204], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x4051f4], eax
push 0x4051d8
call dword [sym.imp.user32.dll_RegisterClassExA]
push 0
push dword [0x40506e]
push 0
push 0
push 0x1e5
push 0x21e
push 0xffffe52a
push 0xfffff588
push 0x40000
push str.wait
push str.aroka
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x405250], eax
push 5
push dword [0x405250]
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x405250]
call dword [sym.imp.user32.dll_UpdateWindow]
jmp 0x4033a3
push 0
push 0
push 0
push 0x405208
call dword [sym.imp.user32.dll_GetMessageA]
or eax, eax
je 0x4033d0
push 0x405208
call dword [sym.imp.user32.dll_TranslateMessage]
push 0x405208
call dword [sym.imp.user32.dll_DispatchMessageA]
jmp 0x4033a3
mov eax, dword [0x405210]
jmp 0x4033dd
call 0x402474
ret
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
push 4
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
je 0x432072
nop
nop
nop
nop
nop
mov ebx, 0x40c7d0
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x1bff3bc0
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x432060
nop
nop
mov eax, section..data
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4320d2
nop
nop
mov ebx, 0x42f314
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x732e6201
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x4320c0
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x401260
Capabilities:
Get file system object information

Disassembly:
sub esp, 0x26c
mov eax, dword [0x440b60]
xor eax, esp
mov dword [esp + 0x268], eax
push 0x104
lea eax, [esp + 0x164]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x15c
lea ecx, [esp + 8]
push 0
push ecx
mov dword [esp + 0xc], 0
call fcn.00417120
add esp, 0xc
push 0x2000
push 0x160
lea edx, [esp + 8]
push edx
push 0
lea eax, [esp + 0x170]
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
cmp ax, 0x4550
jne 0x4012e9
shr eax, 0x10
jne 0x4012e9
mov eax, 1
mov ecx, dword [esp + 0x268]
xor ecx, esp
call fcn.0041760b
add esp, 0x26c
ret
mov ecx, dword [esp + 0x268]
xor ecx, esp
xor eax, eax
call fcn.0041760b
add esp, 0x26c
ret

Function at 0x405e30
Capabilities:
Get file version info

Disassembly:
push ecx
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0x10]
push edi
push eax
call fcn.00417578
mov ebx, dword [esp + 0x18]
add esp, 4
lea ecx, [esp + 0xc]
push ecx
push ebx
mov dword [esi + 0x10], 0
mov dword [esp + 0x14], 0
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov edi, eax
test edi, edi
jne 0x405e72
pop edi
pop esi
mov eax, 0x80004005
pop ebx
pop ecx
ret 4
push edi
call fcn.00415ef2
add esp, 4
test eax, eax
mov dword [esi + 0x10], eax
jne 0x405e8e
pop edi
pop esi
mov eax, 0x8007000e
pop ebx
pop ecx
ret 4
mov edx, dword [esp + 0xc]
push eax
push edi
push edx
push ebx
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
jne 0x405ec7
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
jg 0x405eb4
call esi
pop edi
pop esi
pop ebx
pop ecx
ret 4
call esi
pop edi
and eax, 0xffff
pop esi
or eax, 0x80070000
pop ebx
pop ecx
ret 4
pop edi
pop esi
xor eax, eax
pop ebx
pop ecx
ret 4