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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x4c6c34]
cmp byte [eax + 0xc], 0
je 0x475175
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x47516e
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4c7bc8], 0
jne 0x47505c
push 0x47517c
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x475184
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4c7bc8], eax
cmp dword [0x4c60d8], 0
jne 0x475157
push 0x475194
call sub.kernel32.dll_LoadLibraryA
mov dword [0x4c60d8], eax
cmp dword [0x4c60d8], 0
je 0x475157
push 0x4751a0
mov eax, dword [0x4c60d8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4c7bcc], eax
push 0x4751b0
mov eax, dword [0x4c60d8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4c7bd0], eax
push 0x4751c4
mov eax, dword [0x4c60d8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4c7bd4], eax
push 0x4751dc
mov eax, dword [0x4c60d8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4c7bd8], eax
push 0x4751f4
mov eax, dword [0x4c60d8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4c7bdc], eax
push 0x475208
mov eax, dword [0x4c60d8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4c7be0], eax
push 0x475220
mov eax, dword [0x4c60d8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4c7be4], eax
push 0x475238
mov eax, dword [0x4c60d8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4c7be8], eax
push 0x475254
mov eax, dword [0x4c60d8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4c7bec], eax
push 0x475260
mov eax, dword [0x4c60d8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4c7bf0], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x475175
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x47992c
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.00404cfc
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x47997b
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.00404f6c
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x481170
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x4811c0]
test si, 4
je 0x481184
or bl, 1
test si, 8
je 0x48118e
or bl, 4
test si, 1
je 0x481198
or bl, 8
test si, 2
je 0x4811a2
or bl, 0x10
test si, 0x10
je 0x4811ac
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4811bb
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x4811c4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x4811fc]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4811dd
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4811ec
or bl, 4
test esi, 0x20000000
je 0x4811f7
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x4878c0
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x4878d2
add esp, 0xfffffff0
call fcn.004042a8
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00424ed4
mov eax, dword [0x4c67c8]
mov dword [eax + 4], ebx
mov dword [eax], 0x487c64
mov eax, dword [0x4c67d8]
mov dword [eax + 4], ebx
mov dword [eax], 0x487c70
mov eax, ebx
call fcn.00487c7c
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x41a084]
call fcn.00403f00
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x41a084]
call fcn.00403f00
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x41a084]
call fcn.00403f00
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x41a084]
call fcn.00403f00
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x41a084]
call fcn.00403f00
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, 0x484094
push eax
push 0
push 0
mov eax, dword [0x4c6990]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x4269b0]
call fcn.00428148
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x4269b0]
call fcn.00428148
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x4269b0]
call fcn.00428148
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00488114
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x487fdc
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x487fdc
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x487fdc
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x487a0f
call fcn.00404300
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x487dc0
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 0x487f6b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x487f4c
mov dl, 1
mov eax, dword [0x41a6e8]
call fcn.00403f00
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404cfc
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x487f3b
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.00475368
test al, al
je 0x487f2e
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, 0x487f7c
lea eax, [ebp - 0x254]
call fcn.0040a54c
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x487f2e
xor eax, eax
push ebp
push 0x487f27
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 0x487fb4
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x487f10
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404f6c
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 0x487f10
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404f6c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x487f2e
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x487e31
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041ed54
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 0x487f72
lea eax, [ebp - 0x260]
call fcn.00404cfc
ret

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

Disassembly:
push ecx
mov eax, dword [0x4c7c14]
cmp byte [eax + 0xa5], 0
jne 0x488925
cmp dword [0x4c7c2c], 0
jne 0x4888e6
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x488870
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4c7c2c], eax
cmp dword [0x4c7c28], 0
jne 0x488901
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x4c7c28], eax
cmp dword [0x4c7c30], 0
jne 0x488925
push esp
push 0
push 0
push 0x488814
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x4c7c30], eax
pop edx
ret
Function at 0x488fe8
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4c7c14]
cmp dword [eax + 0x30], 0
je 0x489092
cmp dword [ebx + 0x94], 0
jne 0x48908c
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x488f78
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x48908c
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 0x489052
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x48908c
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.0041c95c
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x489061
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x489bf0
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 0x489c25
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.00404dec
jmp 0x489c32
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404d50
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x48adfc
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x48ae3d
mov eax, esi
call fcn.004708ec
test al, al
je 0x48ae3d
mov eax, dword [ebx + 0x84]
call fcn.004705e8
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x48ae3d
push 0
mov eax, dword [ebx + 0x84]
call fcn.004705e8
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x494434
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x218], ecx
mov dword [ebp - 0x214], ecx
mov dword [ebp - 0x210], ecx
mov dword [ebp - 0x20c], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x494694
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 1
jl 0x494497
lea edx, [ebp - 0x20c]
mov eax, dword [ebp - 4]
call fcn.00493efc
mov eax, dword [ebp - 0x20c]
mov edx, ebx
call fcn.0040d9a0
cmp al, 1
jne 0x494497
dec ebx
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
call fcn.00494214
test al, al
je 0x494623
cmp dword [ebp - 8], 0
jge 0x4944b5
xor eax, eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
inc ebx
lea edx, [ebp - 0x210]
mov eax, dword [ebp - 4]
call fcn.00493efc
mov eax, dword [ebp - 0x210]
call fcn.00404fbc
cmp ebx, eax
jge 0x4944ff
lea edx, [ebp - 0x214]
mov eax, dword [ebp - 4]
call fcn.00493efc
mov eax, dword [ebp - 0x214]
mov al, byte [eax + ebx - 1]
mov edx, dword [0x4c6c18]
and eax, 0xff
bt dword [edx], eax
jae 0x4944ff
inc ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x228]
cmp eax, dword [ebp - 8]
jg 0x494513
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
mov ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.00494410
cmp ebx, dword [ebp - 8]
je 0x494615
lea eax, [ebp - 0x108]
push eax
call sub.user32.dll_GetKeyboardState
mov edx, pe_nt_image_headers32
lea eax, [ebp - 0x208]
mov byte [eax], 0
inc eax
dec edx
jne 0x49453f
mov byte [ebp - 0x1f8], 0x81
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00404138
and eax, 0x7f
movzx eax, word [eax*2 + 0x4c639c]
mov byte [ebp + eax - 0x208], 0x81
lea eax, [ebp - 0x208]
push eax
call sub.user32.dll_SetKeyboardState
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 1
xor eax, eax
push ebp
push 0x494602
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00404138
and eax, 0x7f
movzx eax, word [eax*2 + 0x4c639c]
push eax
push pe_nt_image_headers32
mov eax, dword [ebp - 4]
call fcn.004705e8
push eax
call sub.user32.dll_SendMessageA
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00404138
and eax, 0x7f
movzx eax, word [eax*2 + 0x4c639c]
push eax
push 0x101
mov eax, dword [ebp - 4]
call fcn.004705e8
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x494609
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 0
ret
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [eax + 0x230], edx
jmp 0x494676
cmp dword [ebp - 8], 0
jge 0x49462e
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x218]
mov eax, dword [ebp - 4]
call fcn.00493efc
mov eax, dword [ebp - 0x218]
call fcn.00404fbc
cmp eax, dword [ebp - 8]
jg 0x494668
lea edx, [ebp - 0x21c]
mov eax, dword [ebp - 4]
call fcn.00493efc
mov eax, dword [ebp - 0x21c]
call fcn.00404fbc
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00494410
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49469b
lea eax, [ebp - 0x21c]
mov edx, 5
call fcn.00404d20
ret
Function at 0x4a89b8
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffed4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x124], ecx
mov dword [ebp - 0x120], ecx
mov dword [ebp - 0x11c], ecx
mov dword [ebp - 0x118], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4a8b29
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4a8b04
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x111], 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0x105
lea eax, [ebp - 0x111]
push eax
lea eax, [ebp - 0x118]
mov edx, ebx
call fcn.00404ee4
lea eax, [ebp - 0x118]
mov edx, 0x4a8b40
call fcn.00404fc4
mov eax, dword [ebp - 0x118]
call fcn.004051bc
push eax
call sub.kernel32.dll_GetVolumeInformationA
test eax, eax
je 0x4a8a76
lea eax, [ebp - 0x111]
call fcn.00409ec4
mov ecx, eax
lea edx, [ebp - 0x111]
mov eax, esi
call fcn.00404dec
jmp 0x4a8a7d
mov eax, esi
call fcn.00404cfc
cmp bl, 0x61
jae 0x4a8a9e
lea edx, [ebp - 0x11c]
mov eax, dword [esi]
call fcn.0040de08
mov edx, dword [ebp - 0x11c]
mov eax, esi
call fcn.00404d50
jmp 0x4a8ab8
lea edx, [ebp - 0x120]
mov eax, dword [esi]
call fcn.0040dd7c
mov edx, dword [ebp - 0x120]
mov eax, esi
call fcn.00404d50
lea eax, [ebp - 0x124]
push eax
mov eax, dword [esi]
mov dword [ebp - 0x12c], eax
mov byte [ebp - 0x128], 0xb
lea edx, [ebp - 0x12c]
xor ecx, ecx
mov eax, 0x4a8b4c
call fcn.0040a5e4
mov edx, dword [ebp - 0x124]
mov eax, esi
call fcn.00404d50
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a8b0b
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
Function at 0x4acd14
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
mov byte [ebp - 5], cl
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.004051ac
xor eax, eax
push ebp
push 0x4aced8
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx + 0x314]
mov eax, dword [eax + 0x22c]
call fcn.00449570
dec eax
test eax, eax
jl 0x4acead
inc eax
mov dword [ebp - 0x18], eax
xor esi, esi
cmp byte [ebp - 5], 0
je 0x4acd91
mov eax, dword [ebx + 0x314]
mov eax, dword [eax + 0x22c]
mov edx, esi
call fcn.004495a0
mov edx, 3
call fcn.00449094
test al, al
je 0x4acea3
mov eax, dword [ebx + 0x314]
mov eax, dword [eax + 0x22c]
mov edx, esi
call fcn.004495a0
mov eax, dword [eax + 8]
lea ecx, [ebp - 0x1c]
xor edx, edx
mov edi, dword [eax]
call dword [edi + 0xc]
push dword [ebp - 0x1c]
push 0x4acef0
mov eax, dword [ebx + 0x314]
mov eax, dword [eax + 0x22c]
mov edx, esi
call fcn.004495a0
push dword [eax + 0x24]
push 0x4acefc
lea eax, [ebp - 0xc]
mov edx, 4
call fcn.0040507c
push dword [ebp - 4]
push 0x4acef0
mov eax, dword [ebx + 0x314]
mov eax, dword [eax + 0x22c]
mov edx, esi
call fcn.004495a0
push dword [eax + 0x24]
push 0x4acefc
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.0040507c
mov byte [ebp - 0x11], 0
mov eax, dword [ebp - 0x10]
call fcn.00409a08
test al, al
je 0x4ace52
mov eax, dword [ebx + 0x314]
mov eax, dword [eax + 0x22c]
mov edx, esi
call fcn.004495a0
mov edx, dword [eax + 0x24]
mov eax, ebx
call fcn.004af3ac
sub eax, 6
je 0x4ace48
dec eax
je 0x4ace4e
jmp 0x4acead
mov byte [ebp - 0x11], 0
jmp 0x4ace52
mov byte [ebp - 0x11], 1
cmp byte [ebp - 0x11], 1
cmc
sbb eax, eax
push eax
mov eax, dword [ebp - 0x10]
call fcn.004051bc
push eax
mov eax, dword [ebp - 0xc]
call fcn.004051bc
push eax
call sub.kernel32.dll_CopyFileA
test eax, eax
je 0x4acea3
cmp byte [ebp + 8], 0
je 0x4acea3
mov eax, dword [ebp - 0xc]
call fcn.00409b38
mov eax, dword [ebx + 0x314]
mov eax, dword [eax + 0x22c]
mov edx, esi
call fcn.004495a0
mov eax, dword [eax + 8]
mov ecx, dword [ebp - 4]
xor edx, edx
mov edi, dword [eax]
call dword [edi + 0x20]
inc esi
dec dword [ebp - 0x18]
jne 0x4acd66
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4acedf
lea eax, [ebp - 0x1c]
call fcn.00404cfc
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00404d20
lea eax, [ebp - 4]
call fcn.00404cfc
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
mov ebx, 0x40de38
nop
nop
mov ecx, 0x6a1a50bc
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x433024
nop
mov eax, str.P_L
nop
mov ebx, 0x4304d8
nop
nop
mov ecx, 0x24f23a50
nop
test eax, eax
nop
nop
nop
nop
je 0x433084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x409978
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x409a4b
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x409a64
push ebx
push 0x409a70
push esi
lea eax, [ebp - 4]
mov edx, 4
call fcn.00403388
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.00402750
mov dword [ebp - 0x48], 0x44
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.004033e8
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
jne 0x4099f8
mov al, 0x69
call fcn.0040961c
mov eax, dword [ebp - 0x54]
push eax
call sub.kernel32.dll_CloseHandle_1
call fcn.0040994c
push 0xff
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x58]
push eax
push 1
call sub.user32.dll_MsgWaitForMultipleObjects
dec eax
je 0x409a01
call fcn.0040994c
push edi
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_GetExitCodeProcess
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x409a52
lea eax, [ebp - 4]
call fcn.0040316c
ret

Function at 0x409b04
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffbc
mov edi, eax
lea esi, [esp + 0x28]
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetSystemInfo
mov ebx, edi
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x409bb8
jmp 0x409bad
cmp dword [esi + 0x10], 0x1000
jne 0x409b99
test byte [esi + 0x15], 1
jne 0x409b99
xor ebx, ebx
mov eax, dword [esi + 0x14]
cmp eax, 1
je 0x409b58
cmp eax, 2
je 0x409b58
cmp eax, 0x10
je 0x409b58
cmp eax, 0x20
jne 0x409b6d
push esp
push 0x40
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x409b6d
mov bl, 1
xor ebp, ebp
jmp 0x409b7e
mov eax, dword [esi]
add eax, ebp
call fcn.00409afc
add ebp, dword [esp + 8]
cmp ebp, dword [esi + 0xc]
jb 0x409b71
test bl, bl
je 0x409b99
push esp
mov eax, dword [esp + 4]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esi]
add eax, dword [esi + 0xc]
mov ebx, eax
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x409bb8
mov eax, dword [esi + 4]
cmp eax, edi
je 0x409b30
add esp, 0x44
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x433006
Capabilities:
Encode data using xor

Disassembly:
call 0x43300c
pop eax
nop
nop
nop
nop
nop
add eax, 0x40a063
nop
nop
sub eax, 0x40a009
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x433030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
jne 0x43301e
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x415946
Capabilities:
Accept command line arguments

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov eax, dword [0x475014]
mov ebx, 0x100
cmp eax, 0x475014
je 0x41598a
test dword [eax + 0x1c], ebx
je 0x41598a
cmp byte [eax + 0x19], 4
jb 0x41598a
push dword [eax + 0x14]
mov edx, 0x408010
push dword [eax + 0x10]
push 0x1a
pop ecx
call fcn.00414ca8
and dword [ebp - 8], 0
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
xor edi, edi
inc edi
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov esi, eax
mov dword [ebp - 0xc], esi
test esi, esi
jne 0x4159dc
mov eax, dword [0x475014]
cmp eax, 0x475014
je 0x4159d8
test dword [eax + 0x1c], ebx
je 0x4159d8
cmp byte [eax + 0x19], 2
jb 0x4159d8
push 8
push 0x407ddc
push dword [eax + 0x14]
mov edx, 0x408010
push dword [eax + 0x10]
push 0x1b
pop ecx
call fcn.00414cf4
xor edi, edi
jmp 0x415a39
mov ecx, 0x476ac8
call fcn.0041648a
mov ecx, dword [ebp - 8]
mov ebx, edi
cmp ecx, edi
jle 0x415a32
mov eax, dword [esi + ebx*4]
xor edx, edx
xor esi, esi
inc ebx
cmp ebx, ecx
movzx ecx, word [eax]
sete dl
cmp ecx, 0x2d
je 0x415a09
cmp ecx, 0x2f
jne 0x415a0e
mov esi, edi
add eax, 2
push edx
push esi
push eax
mov eax, dword [0x476ac8]
mov esi, dword [eax + 0x18]
mov ecx, esi
call dword [0x478f64]
mov ecx, 0x476ac8
call esi
mov ecx, dword [ebp - 8]
mov esi, dword [ebp - 0xc]
cmp ebx, ecx
jl 0x4159ef
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00468ba0
mov esp, ebp
pop ebp
ret 4