joyce8/EMBER2024-capa huggingface dataset:
Function at 0x408170
Capabilities:
Read file on windows

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov dword [esp + 0x14], 0
mov eax, dword [edi + 0x60]
mov ebp, dword [edi + 0x68]
test eax, eax
mov dword [esp + 0x18], eax
jle 0x408262
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
test ebp, ebp
je 0x408262
mov eax, dword [edi + 4]
push 0
push 0
push ebp
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0x14
call sub.MFC42.DLL_operatornew
mov esi, eax
add esp, 4
test esi, esi
je 0x40824d
mov edx, esi
xor ecx, ecx
lea eax, [esp + 0x10]
mov dword [edx], ecx
mov dword [edx + 4], ecx
mov dword [edx + 8], ecx
mov dword [edx + 0xc], ecx
push ecx
push eax
mov dword [edx + 0x10], ecx
mov dword [esp + 0x18], ecx
mov ecx, dword [edi + 4]
push 4
push esi
push ecx
call ebx
mov ecx, dword [edi + 4]
lea edx, [esp + 0x10]
push 0
push edx
lea eax, [esi + 4]
push 4
push eax
push ecx
call ebx
mov ecx, dword [edi + 4]
lea edx, [esp + 0x10]
push 0
push edx
lea eax, [esi + 8]
push 4
push eax
push ecx
call ebx
mov eax, dword [edi + 4]
lea edx, [esp + 0x10]
push 0
lea ebp, [esi + 0xc]
push edx
push 4
push ebp
push eax
call ebx
mov eax, dword [edi + 4]
lea ecx, [esp + 0x10]
push 0
push ecx
lea edx, [esi + 0x10]
push 4
push edx
push eax
call ebx
mov eax, dword [edi + 0x64]
test eax, eax
jne 0x408241
mov dword [edi + 0x64], esi
jmp 0x408247
mov ecx, dword [edi + 0x2c]
mov dword [ecx + 4], esi
mov dword [edi + 0x2c], esi
mov ebp, dword [ebp]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
inc eax
cmp eax, ecx
mov dword [esp + 0x14], eax
jl 0x408199
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
Function at 0x8a7b50
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp + 8], eax
mov eax, dword [0x8a70ac]
push esi
push edi
test eax, eax
jne 0x8a7bcd
mov esi, 0x8a7284
mov edx, dword [esi]
lea eax, [ebp - 0x24]
mov cl, byte [edx]
test cl, cl
je 0x8a7b8b
lea edi, [ebp - 0x24]
sub edx, edi
xor cl, 0x55
mov byte [eax], cl
mov cl, byte [edx + eax + 1]
inc eax
test cl, cl
jne 0x8a7b7d
lea ecx, [ebp - 0x24]
mov byte [eax], 0
push ecx
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov edx, dword [esi - 4]
add esi, 8
cmp esi, 0x8a729c
mov dword [edx], eax
jl 0x8a7b6d
mov ecx, dword [0x8a70ac]
mov eax, dword [sym.imp.kernel32.dll_GetModuleHandleA]
push 0
push 0x8a72ac
push ecx
mov dword [0x8a70a4], eax
call fcn.008a7d80
add esp, 0xc
mov dword [0x8a70a8], eax
mov dword [ebp - 4], 0
mov esi, 0x8a7284
mov edx, dword [esi]
mov cl, byte [edx]
test cl, cl
je 0x8a7c16
mov eax, dword [ebp + 8]
mov al, byte [eax]
test al, al
je 0x8a7c16
cmp al, 0x5a
jg 0x8a7c02
cmp al, 0x41
jl 0x8a7c02
movsx edi, al
add edi, 0x20
movsx ebx, cl
xor edi, 0x55
cmp ebx, edi
je 0x8a7c08
xor al, 0x55
cmp cl, al
jne 0x8a7c16
mov ecx, dword [ebp + 8]
inc edx
inc ecx
mov dword [ebp + 8], ecx
mov cl, byte [edx]
test cl, cl
jne 0x8a7be1
cmp byte [edx], 0
je 0x8a7c36
mov edx, dword [ebp - 4]
add esi, 8
inc edx
cmp esi, 0x8a729c
mov dword [ebp - 4], edx
jl 0x8a7bd9
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov edx, dword [ecx*8 + 0x8a7280]
mov eax, dword [edx]
mov esp, ebp
pop ebp
ret
Function at 0x401fe0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x70
mov eax, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov eax, esp
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x10], 0xffffffff
lea eax, [ebp - 0x18]
mov dword [ebp - 0x14], 0x4027c0
mov ecx, dword fs:[0]
mov dword [ebp - 0x18], ecx
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x20]
add eax, dword [ecx + 0x3c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x78]
add eax, dword [ebp + 8]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x28]
add eax, dword [ecx + 0x20]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x40], 0
mov word [ebp - 0x42], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x4c], 0
mov eax, dword [ebp - 0x4c]
cmp eax, dword [ebp - 0x30]
jae 0x40217f
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x50]
mov dword [ebp - 0x10], 0xffffffff
lea ecx, [ebp - 0x68]
mov dword [esp], eax
call fcn.00402820
sub esp, 4
cmp dword [ebp + 8], 0
jbe 0x402144
cmp dword [ebp + 0xc], 3
jbe 0x402144
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x10], 0
mov eax, esp
lea ecx, [ebp - 0x68]
mov dword [eax], ecx
mov dword [eax + 4], 0x14d
call fcn.00401e50
mov dword [ebp - 0x74], eax
jmp 0x4020e3
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0
je 0x40213f
mov eax, dword [ebp - 0x6c]
cmp eax, dword [ebp + 0xc]
jne 0x40213a
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x28]
add eax, dword [ecx + 0x24]
mov ecx, dword [ebp - 0x48]
shl ecx, 1
add eax, ecx
mov ax, word [eax]
mov word [ebp - 0x42], ax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x28]
add eax, dword [ecx + 0x1c]
movzx ecx, word [ebp - 0x42]
shl ecx, 2
add eax, ecx
mov eax, dword [eax]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x70], 2
jmp 0x402154
jmp 0x40213f
jmp 0x402144
mov eax, dword [ebp - 0x2c]
add eax, 4
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x70], 0
lea ecx, [ebp - 0x68]
call fcn.004028e0
mov eax, dword [ebp - 0x70]
test eax, eax
je 0x402171
jmp 0x40216c
jmp 0x40217f
mov eax, dword [ebp - 0x4c]
add eax, 1
mov dword [ebp - 0x4c], eax
jmp 0x402078
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x38]
add eax, ecx
mov ecx, dword [ebp - 0x18]
mov dword fs:[0], ecx
add esp, 0x70
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x4021c0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov edi, dword fs:[0x30]
mov edi, dword [edi + 0xc]
mov esi, dword [edi + 0xc]
mov eax, dword [esi]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov dword [0x448200], eax
pop esi
pop edi
pop ebp
ret
Function at 0x405d3c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x405da2
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.00404134
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402ba8
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x405d8c
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405da9
lea eax, [ebp - 0x10]
call fcn.00403ec4
ret

Function at 0x40afc4
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40affd
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00403fb4
jmp 0x40b006
mov eax, ebx
mov edx, esi
call fcn.00403f18
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40b010
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40b031
mov al, byte [esp]
jmp 0x40b033
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40b6b8
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40b530
mov eax, dword [0x45c134]
cmp byte [eax], 0
je 0x40b734
mov eax, dword [0x45bf38]
call fcn.00402a14
call fcn.004028ac
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.00408804
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40b77c
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40b76a
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x45bee4]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x45d668]
call fcn.00405200
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret
Function at 0x40c024
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40c0fa
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00403f5c
lea eax, [ebp - 8]
call fcn.004043d4
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404384
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40c0e4
mov eax, ebx
call fcn.00402744
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40c0dd
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404384
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40c0c7
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40c10c
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40c0c7
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c0e4
mov eax, dword [ebp - 0x10]
call fcn.00402764
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c101
lea eax, [ebp - 8]
call fcn.00403ec4
ret

Function at 0x40c604
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x40c668
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.00404134
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.004081b8
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c66f
lea eax, [ebp - 0xc]
call fcn.00403ec4
ret

Function at 0x41ddd8
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x45d888
cmp dword [edi], 0
jne 0x41de54
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x45d884]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x45b3fc
mov ecx, 2
call fcn.00402940
mov edx, 0x41ddb0
lea eax, [esi + 5]
call fcn.0041ddd0
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041ddd0
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x41de29
mov dword [0x45d884], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x41f390
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x41f396
ret
Function at 0x4217e4
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x421835
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x42181c
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x42180c
jmp 0x421835
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x42181d
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42ca30
Capabilities:
Enumerate gui resources

Disassembly:
mov byte [eax + 0xc], 0
mov byte [eax + 0xd], 0
xor edx, edx
mov dword [eax + 4], edx
push eax
push 0x42c97c
call sub.user32.dll_EnumWindows
ret

Function at 0x42cb50
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x42cbcd
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0042c5b0
call sub.kernel32.dll_GetTickCount
mov ebx, eax
push 0
call sub.kernel32.dll_Sleep
call sub.kernel32.dll_GetTickCount
sub eax, ebx
cmp eax, 0x3e8
jbe 0x42cb75
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.0042c1b0
cmp dword [ebp - 4], 0
je 0x42cbb7
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.00404384
push eax
mov eax, dword [esi + 0x1c]
mov edx, dword [eax]
call dword [edx + 0xc]
push eax
call sub.user32.dll_WinHelpA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42cbd4
lea eax, [ebp - 4]
call fcn.00403ec4
ret

Function at 0x42f8d0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 9]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x10], edx
xor eax, eax
mov dword [ebp - 0x18], eax
cmp dword [0x45db58], 0
je 0x42fa1f
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x45c0cc]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x42fa1f
mov eax, dword [0x45db5c]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x45db58]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x42f9ee
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x45db58]
call fcn.00417338
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x42f9e6
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x42f9e6
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x42f9e6
mov eax, dword [ebp - 0x14]
call fcn.004384a4
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x42f9e6
push ebp
call fcn.0042f88c
pop ecx
test al, al
jne 0x42f9e6
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x42f9a2
mov eax, dword [ebp - 0x14]
call fcn.00436f9c
dec eax
jle 0x42f9e6
mov byte [ebp - 1], 1
lea eax, [ebp - 9]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbd
call fcn.00403370
cmp byte [ebp - 1], 0
je 0x42f9e6
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x42f9e6
mov edx, dword [ebp - 0x14]
mov eax, dword [0x45db5c]
call fcn.0042f058
inc edi
dec ebx
jne 0x42f935
mov eax, dword [0x45db5c]
cmp dword [eax + 8], 0
jle 0x42fa06
mov eax, dword [0x45db5c]
call fcn.0042f0e8
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x42fa1f
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0042f6f4
pop ecx
test al, al
jne 0x42fa1f
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x432ff0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
test byte [esi + 0x1c], 0x10
je 0x43303c
mov eax, esi
call fcn.00448564
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x43303c
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x43303c
mov ecx, ebx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x250]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0x24]
test al, al
jne 0x43317b
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x43307c
cmp eax, 0x108
ja 0x43307c
mov eax, esi
call fcn.00448564
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x433172
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xf0]
test al, al
jne 0x43317b
jmp 0x433172
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x43315b
cmp eax, 0x20a
ja 0x43315b
test byte [esi + 0x50], 0x80
jne 0x4330ae
sub eax, 0x203
je 0x4330ab
sub eax, 3
je 0x4330ab
sub eax, 3
jne 0x4330ae
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x4330c2
dec eax
je 0x4330d7
dec eax
je 0x4330f4
dec eax
je 0x4330d7
jmp 0x4330fb
mov ecx, ebx
mov eax, dword [0x45c0cc]
mov eax, dword [eax]
mov edx, esi
call fcn.00451da0
jmp 0x433172
cmp byte [esi + 0x5d], 1
jne 0x4330ed
mov eax, esi
mov si, 0xffed
call fcn.00403370
jmp 0x43317b
or word [esi + 0x54], 1
jmp 0x433172
and word [esi + 0x54], 0xfffe
jmp 0x433172
mov eax, dword [0x45db14]
cmp byte [eax + 0x20], 0
je 0x433172
mov eax, dword [0x45db14]
cmp dword [eax + 0x1c], 0
je 0x433172
mov eax, dword [ebx]
mov edx, dword [0x45db14]
cmp eax, dword [edx + 0x1c]
jne 0x433172
lea eax, [ebp - 0x114]
push eax
call sub.user32.dll_GetKeyboardState
mov eax, dword [ebx]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
call fcn.004484a8
mov byte [ebp - 0xc], al
mov ax, word [ebx + 4]
mov word [ebp - 0xa], ax
mov eax, dword [ebx + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, esi
mov si, 0xffc9
call fcn.00403370
jmp 0x43317b
cmp eax, 0xb00b
jne 0x433172
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.00431920
mov edx, ebx
mov eax, esi
mov ecx, dword [eax]
call dword [ecx - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4365fc
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 0x436618
cmp dword [esi + 4], 0
je 0x436645
test byte [ebx + 0x55], 1
jne 0x436637
mov eax, ebx
call fcn.00435208
test eax, eax
jne 0x436637
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x436755
mov edx, esi
mov eax, ebx
call fcn.00436120
jmp 0x436755
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 0x43674e
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.004384a4
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.00432f24
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.004365fc
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.004384a4
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x436755
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 0x43cc14
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x45c250]
cmp byte [eax + 0xc], 0
je 0x43cd81
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x43cd7a
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x45db68], 0
jne 0x43cc68
push 0x43cd88
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x43cd90
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45db68], eax
cmp dword [0x45bb10], 0
jne 0x43cd63
push 0x43cda0
call sub.kernel32.dll_LoadLibraryA
mov dword [0x45bb10], eax
cmp dword [0x45bb10], 0
je 0x43cd63
push 0x43cdac
mov eax, dword [0x45bb10]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45db6c], eax
push 0x43cdbc
mov eax, dword [0x45bb10]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45db70], eax
push 0x43cdd0
mov eax, dword [0x45bb10]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45db74], eax
push 0x43cde8
mov eax, dword [0x45bb10]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45db78], eax
push 0x43ce00
mov eax, dword [0x45bb10]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45db7c], eax
push 0x43ce14
mov eax, dword [0x45bb10]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45db80], eax
push 0x43ce2c
mov eax, dword [0x45bb10]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45db84], eax
push 0x43ce44
mov eax, dword [0x45bb10]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45db88], eax
push 0x43ce60
mov eax, dword [0x45bb10]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45db8c], eax
push 0x43ce6c
mov eax, dword [0x45bb10]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45db90], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43cd81
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

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

Function at 0x448418
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x448468]
test si, 4
je 0x44842c
or bl, 1
test si, 8
je 0x448436
or bl, 4
test si, 1
je 0x448440
or bl, 8
test si, 2
je 0x44844a
or bl, 0x10
test si, 0x10
je 0x448454
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x448463
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret