joyce8/EMBER2024-capa huggingface dataset:
Function at 0x432f84
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x1f8], 0
je 0x432fa0
cmp dword [esi + 4], 0
je 0x432fcd
test byte [ebx + 0x55], 1
jne 0x432fbf
mov eax, ebx
call fcn.00431b24
test eax, eax
jne 0x432fbf
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x4330dd
mov edx, esi
mov eax, ebx
call fcn.00432aa8
jmp 0x4330dd
push 0
call sub.user32.dll_GetDC
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push edi
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 8], eax
push edi
push 0
call sub.user32.dll_ReleaseDC
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4330d6
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00434df4
push eax
call sub.user32.dll_BeginPaint
mov edi, eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, 0x14
mov eax, ebx
call fcn.0042f820
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.00432f84
xor eax, eax
mov dword [esi + 4], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
push eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push 0
push 0
push edi
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00434df4
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4330dd
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_DeleteObject
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x439624
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x45118c]
cmp byte [eax + 0xc], 0
je 0x439791
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x43978a
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x452b64], 0
jne 0x439678
push 0x439798
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x4397a0
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x452b64], eax
cmp dword [0x450b68], 0
jne 0x439773
push 0x4397b0
call sub.kernel32.dll_LoadLibraryA
mov dword [0x450b68], eax
cmp dword [0x450b68], 0
je 0x439773
push 0x4397bc
mov eax, dword [0x450b68]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x452b68], eax
push 0x4397cc
mov eax, dword [0x450b68]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x452b6c], eax
push 0x4397e0
mov eax, dword [0x450b68]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x452b70], eax
push 0x4397f8
mov eax, dword [0x450b68]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x452b74], eax
push 0x439810
mov eax, dword [0x450b68]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x452b78], eax
push 0x439824
mov eax, dword [0x450b68]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x452b7c], eax
push 0x43983c
mov eax, dword [0x450b68]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x452b80], eax
push 0x439854
mov eax, dword [0x450b68]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x452b84], eax
push 0x439870
mov eax, dword [0x450b68]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x452b88], eax
push 0x43987c
mov eax, dword [0x450b68]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x452b8c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x439791
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x43d61c
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.00403f5c
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x43d66b
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.004041cc
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x444da8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x444df8]
test si, 4
je 0x444dbc
or bl, 1
test si, 8
je 0x444dc6
or bl, 4
test si, 1
je 0x444dd0
or bl, 8
test si, 2
je 0x444dda
or bl, 0x10
test si, 0x10
je 0x444de4
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x444df3
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x444dfc
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x444e34]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x444e15
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x444e24
or bl, 4
test esi, 0x20000000
je 0x444e2f
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x44b4dc
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x44b4ee
add esp, 0xfffffff0
call fcn.00403530
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041928c
mov eax, dword [0x450e60]
mov dword [eax + 4], ebx
mov dword [eax], 0x44b880
mov eax, dword [0x450e6c]
mov dword [eax + 4], ebx
mov dword [eax], 0x44b88c
mov eax, ebx
call fcn.0044b898
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x411584]
call fcn.004031f4
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x411584]
call fcn.004031f4
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x411584]
call fcn.004031f4
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x411584]
call fcn.004031f4
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x411584]
call fcn.004031f4
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, 0x447cb4
push eax
push 0
push 0
mov eax, dword [0x450fb0]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41acb8]
call fcn.0041c0fc
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41acb8]
call fcn.0041c0fc
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41acb8]
call fcn.0041c0fc
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0044bcb8
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44bb94
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44bb94
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44bb94
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x44b62b
call fcn.00403588
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x44b978
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 0x44bb23
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x44bb04
mov dl, 1
mov eax, dword [0x4119a0]
call fcn.004031f4
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00403f5c
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x44baf3
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.00439984
test al, al
je 0x44bae6
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, 0x44bb34
lea eax, [ebp - 0x254]
call fcn.00408ae4
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x44bae6
xor eax, eax
push ebp
push 0x44badf
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 0x44bb6c
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x44bac8
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004041cc
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 0x44bac8
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004041cc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44bae6
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x44b9e9
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041547c
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 0x44bb2a
lea eax, [ebp - 0x260]
call fcn.00403f5c
ret

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

Disassembly:
push ecx
mov eax, dword [0x452bb0]
cmp byte [eax + 0xa5], 0
jne 0x44c4c9
cmp dword [0x452bc8], 0
jne 0x44c48a
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x44c414
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x452bc8], eax
cmp dword [0x452bc4], 0
jne 0x44c4a5
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x452bc4], eax
cmp dword [0x452bcc], 0
jne 0x44c4c9
push esp
push 0
push 0
push 0x44c3b8
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x452bcc], eax
pop edx
ret
Function at 0x44c5c0
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x44c5d7
add esp, 0xfffffff0
call fcn.00403530
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041928c
mov eax, dword [0x450f9c]
cmp word [eax + 2], 0
jne 0x44c5ff
mov eax, dword [0x450f9c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0044dd34
mov eax, dword [0x451048]
cmp word [eax + 2], 0
jne 0x44c619
mov eax, dword [0x451048]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0044df2c
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x411584]
call fcn.004031f4
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x411584]
call fcn.004031f4
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x41b468]
call fcn.004210b0
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x44c7a0
mov eax, dword [0x450ec4]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00421480
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x44e4dc
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x450ec4]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040c120
test eax, eax
je 0x44c70e
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.004084d8
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040c148
test eax, eax
je 0x44c722
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.004041cc
mov eax, dword [0x450dc4]
cmp byte [eax], 0
jne 0x44c756
mov eax, ebx
call fcn.0044c8c8
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.0044e6b8
mov eax, ebx
call fcn.0044f07c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x44c796
call fcn.00403588
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44cb48
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x452bb0]
cmp dword [eax + 0x30], 0
je 0x44cbf2
cmp dword [ebx + 0x94], 0
jne 0x44cbec
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x44cad8
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x44cbec
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 0x44cbb2
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x44cbec
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.004138ec
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x44cbc1
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x44d754
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 0x44d789
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.0040404c
jmp 0x44d796
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00403fb0
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x44e894
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x44e8d5
mov eax, esi
call fcn.004350f8
test al, al
je 0x44e8d5
mov eax, dword [ebx + 0x84]
call fcn.00434df4
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x44e8d5
push 0
mov eax, dword [ebx + 0x84]
call fcn.00434df4
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x433072
nop
mov ebx, 0x40de38
nop
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x7dce7876
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x433060
nop
mov eax, section..didat
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4330d2
nop
nop
nop
mov ebx, 0x4304d8
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x6c88472e
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x4330c0
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x5c91d0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x3f000]
push edi
or ebp, 0xffffffff
jmp 0x5c91f2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x5c91f9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5c91e8
mov eax, 1
add ebx, ebx
jne 0x5c920b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x5c921c
jne 0x5c923b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5c923b
dec eax
add ebx, ebx
jne 0x5c9228
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x5c9200
add ebx, ebx
jne 0x5c9237
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x5c928d
xor ecx, ecx
sub eax, 3
jb 0x5c9253
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x5c92c2
sar eax, 1
mov ebp, eax
jmp 0x5c925e
add ebx, ebx
jne 0x5c925e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5c922c
inc ecx
add ebx, ebx
jne 0x5c926c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5c922c
add ebx, ebx
jne 0x5c9279
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x5c926e
jne 0x5c928a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x5c926e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x5c92ac
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x5c929e
jmp 0x5c91ee
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x5c92ac
add edi, ecx
jmp 0x5c91ee
pop esi
mov edi, esi
mov ecx, 0x10f9
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x5c92ca
cmp byte [edi], 0xa
jne 0x5c92ca
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 0x5c92cf
lea edi, [esi + 0x1c7000]
mov eax, dword [edi]
or eax, eax
je 0x5c933e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1c929c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1c9328]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x5c92fc
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1c932c]
or eax, eax
je 0x5c9338
mov dword [ebx], eax
add ebx, 4
jmp 0x5c9319
call dword [esi + 0x1c9334]
mov ebp, dword [esi + 0x1c9330]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
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 0x5c9372
sub esp, 0xffffff80
jmp 0x424870
Function at 0x404fdf
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
pushal
call 0x404fee
pop dword [ebp - 0x1c]
mov eax, 0x404fee
sub dword [ebp - 0x1c], eax
mov dword [ebp - 0x2c], 0xb87f71d0
sub dword [ebp - 0x2c], 0x6a2d2c85
mov dword [ebp - 0x28], 0x51fcef60
sub dword [ebp - 0x28], 0x1fc9a31b
mov dword [ebp - 0x24], 0x22eb9e3f
sub dword [ebp - 0x24], 0xd69f5a11
mov dword [ebp - 0x20], 0xf0f22e72
add dword [ebp - 0x20], 0xf0dd18e
lea eax, [ebp - 0x2c]
push eax
mov eax, 0x1f56db9d
sub eax, 0x1f163b91
add eax, dword [ebp - 0x1c]
call dword [eax]
mov dword [ebp - 0x2c], 0xa0fa89c4
add dword [ebp - 0x2c], 0xd377df92
mov dword [ebp - 0x28], 0xb38b0281
sub dword [ebp - 0x28], 0x721ea10c
mov dword [ebp - 0x24], 0xefc0427b
sub dword [ebp - 0x24], 0x8c50d60f
mov dword [ebp - 0x20], 0xff64df40
add dword [ebp - 0x20], 0x9b20c0
lea ebx, [ebp - 0x2c]
push ebx
push eax
mov eax, 0xba444b1c
add eax, 0x45fc54f8
add eax, dword [ebp - 0x1c]
call dword [eax]
push 0x40
push 0x1000
push 0x3e6b3
push 0
call eax
mov ecx, 0x5e7c
mov edi, eax
mov esi, 0x43be00
add esi, dword [ebp - 0x1c]
mov ebx, 0xfba5b46b
add dword [ebp - 8], 0x130e9189
mov edx, dword [esi]
sub edx, ebx
xor dword [ebp - 0x14], ebx
mov dword [edi], edx
xor dword [ebp - 8], 0x6942c7c8
add edi, 0x791c3eb3
sub edi, 0x791c3eaf
add esi, 4
loop 0x4050f9
add eax, 0x16cc3
mov ebx, eax
add eax, 0xa2219250
sub eax, 0xa221924b
mov ecx, 0x4942d42c
add ecx, 0xb6fd2bd4
add ecx, dword [ebp - 0x1c]
call ebx
leave
ret

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

Disassembly:
pushal
mov eax, section..rsrc
nop
mov ebx, 0x40915c
nop
mov ecx, 0x432775ea
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43104e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
inc eax
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x431024
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42f3f8
mov ecx, 0x3e062063
nop
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x431084
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
jne 0x43106c
nop
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x1004830
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 4], 0
and dword [ebp - 8], 0
push esi
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
mov eax, dword [0x10223a0]
push 0x1021ba0
push 0x1021840
push dword [eax]
call fcn.010032f5
push dword [ebp - 8]
mov esi, eax
push dword [0x10223a8]
call fcn.01005b56
test esi, esi
jge 0x100488a
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
push 0x10020a8
push eax
call dword [sym.imp.msvcrt.dll_fprintf]
pop ecx
pop ecx
jmp 0x10048d2
push 0x1001ffc
push 0x1022ee8
call dword [sym.imp.msvcrt.dll__wfopen]
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x10048a9
mov esi, 0x8007000e
jmp 0x10048d2
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push esi
push eax
call dword [ecx + 0x10]
push eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push 1
push eax
call dword [ecx + 0xc]
push eax
call dword [sym.imp.msvcrt.dll_fwrite]
push esi
call dword [sym.imp.msvcrt.dll_fclose]
add esp, 0x14
xor esi, esi
mov eax, dword [ebp - 4]
test eax, eax
je 0x10048df
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 8]
and dword [ebp - 4], 0
test eax, eax
je 0x10048f0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, esi
pop esi
leave
ret

Function at 0x10048fa
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push edi
xor edi, edi
push edi
push 0x80
push 2
push edi
push edi
push 0x40000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x1004938
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, edi
jle 0x100497a
and eax, 0xffff
or eax, 0x80070000
jmp 0x100497a
push esi
mov esi, dword [ebp + 0xc]
push edi
lea eax, [ebp + 8]
push eax
mov eax, dword [esi]
push esi
call dword [eax + 0x10]
push eax
mov eax, dword [esi]
push esi
call dword [eax + 0xc]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
test eax, eax
jne 0x1004971
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, edi
jle 0x100496f
and eax, 0xffff
or eax, 0x80070000
mov edi, eax
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop ebx
pop ebp
ret 8

Function at 0x1005320
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x1021878]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
lea eax, [ebp - 0x20c]
push eax
mov edi, ecx
mov esi, 0x104
push esi
mov dword [edi + 0x19648], 1
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x1005377
cmp eax, esi
ja 0x1005377
lea eax, [ebp - 0x20c]
push eax
push esi
add edi, 0xcb28
push edi
call fcn.010052b1
xor eax, eax
inc eax
jmp 0x1005379
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0100637b
leave
ret