joyce8/EMBER2024-capa huggingface dataset:
Function at 0x59e22f
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x5c1b40]
xor eax, dword [ebp + 4]
mov ecx, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 4], eax
xor edx, edx
push edi
xor eax, eax
cmp ecx, dword [eax*8 + 0x5c1e08]
je 0x59e25c
inc eax
cmp eax, 0x12
jb 0x59e24d
mov esi, eax
shl esi, 3
cmp ecx, dword [esi + 0x5c1e08]
jne 0x59e390
mov eax, dword [0x6095ec]
cmp eax, 1
je 0x59e36b
cmp eax, edx
jne 0x59e28c
cmp dword [0x5c13d4], 1
je 0x59e36b
cmp ecx, 0xfc
je 0x59e390
push 0x104
lea eax, [ebp - 0x10c]
push eax
push edx
mov byte [ebp - 8], dl
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x59e2c5
lea eax, [ebp - 0x10c]
push str._program_name_unknown_
push eax
call fcn.00596a30
pop ecx
pop ecx
lea eax, [ebp - 0x10c]
push eax
lea edi, [ebp - 0x10c]
call fcn.005969a0
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x59e307
lea eax, [ebp - 0x10c]
push eax
call fcn.005969a0
mov edi, eax
lea eax, [ebp - 0x10c]
sub eax, 0x3b
push 3
add edi, eax
push 0x5ba408
push edi
call fcn.005911a0
add esp, 0x10
push edi
call fcn.005969a0
push dword [esi + 0x5c1e0c]
mov ebx, eax
call fcn.005969a0
lea eax, [ebx + eax + 0x1c]
pop ecx
add eax, 3
pop ecx
and eax, 0xfffffffc
call fcn.005925e0
mov ebx, esp
push str.Runtime_Error__n_nProgram:
push ebx
call fcn.00596a30
push edi
push ebx
call fcn.00596a40
push 0x5ba3e8
push ebx
call fcn.00596a40
push dword [esi + 0x5c1e0c]
push ebx
call fcn.00596a40
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebx
call fcn.005a1ff4
add esp, 0x2c
jmp 0x59e390
push edx
lea eax, [ebp + 8]
push eax
lea esi, [esi + 0x5c1e0c]
push dword [esi]
call fcn.005969a0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
lea esp, [ebp - 0x118]
mov ecx, dword [ebp - 4]
xor ecx, dword [ebp + 4]
call fcn.00599789
pop edi
pop esi
pop ebx
leave
ret
Function at 0x5a1855
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x5c1b40]
xor eax, dword [ebp + 4]
push ebx
mov ebx, dword [ebp + 8]
test ebx, ebx
mov dword [ebp - 4], eax
je 0x5a18d0
push ebx
call fcn.005a181e
test eax, eax
pop ecx
jne 0x5a18a2
call fcn.005981d3
mov dword [eax], 0xf
call fcn.005981ca
mov dword [eax], 0xd
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, dword [ebp + 4]
pop ebx
call fcn.00599789
leave
ret
and byte [ebp + 0xb], 0
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10c]
push eax
push 0x104
lea eax, [ebp + 8]
add bl, 0x40
push eax
mov byte [ebp + 8], bl
mov byte [ebp + 9], 0x3a
mov byte [ebp + 0xa], 0x2e
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
jmp 0x5a18e2
lea eax, [ebp - 0x10c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
test eax, eax
je 0x5a1892
inc eax
cmp eax, 0x104
ja 0x5a1892
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jne 0x5a191a
cmp eax, dword [ebp + 0x10]
jg 0x5a18fd
mov eax, dword [ebp + 0x10]
push eax
call fcn.00591118
pop ecx
mov ecx, eax
test ecx, ecx
jne 0x5a192f
call fcn.005981ca
mov dword [eax], 0xc
jmp 0x5a1892
cmp eax, dword [ebp + 0x10]
jle 0x5a192f
call fcn.005981ca
mov dword [eax], 0x22
jmp 0x5a1892
lea eax, [ebp - 0x10c]
push eax
push ecx
call fcn.00596a30
pop ecx
pop ecx
jmp 0x5a1894

Function at 0x5a1ff4
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
cmp dword [0x6099bc], ebx
push esi
push edi
jne 0x5a2074
push str.user32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x5a20af
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
mov dword [0x6099bc], eax
je 0x5a20af
push 0x5ba748
push edi
call esi
push str.GetLastActivePopup
push edi
mov dword [0x6099c0], eax
call esi
cmp dword [0x60957c], 2
mov dword [0x6099c4], eax
jne 0x5a2074
push str.GetUserObjectInformationA
push edi
call esi
test eax, eax
mov dword [0x6099cc], eax
je 0x5a2074
push str.GetProcessWindowStation
push edi
call esi
mov dword [0x6099c8], eax
mov eax, dword [0x6099c8]
test eax, eax
je 0x5a20b9
call eax
test eax, eax
je 0x5a20a0
lea ecx, [ebp - 4]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [0x6099cc]
test eax, eax
je 0x5a20a0
test byte [ebp - 8], 1
jne 0x5a20b9
cmp dword [0x609588], 4
jb 0x5a20b3
or byte [ebp + 0x12], 0x20
jmp 0x5a20d8
xor eax, eax
jmp 0x5a20e8
or byte [ebp + 0x12], 4
jmp 0x5a20d8
mov eax, dword [0x6099c0]
test eax, eax
je 0x5a20d8
call eax
mov ebx, eax
test ebx, ebx
je 0x5a20d8
mov eax, dword [0x6099c4]
test eax, eax
je 0x5a20d8
push ebx
call eax
mov ebx, eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push ebx
call dword [0x6099bc]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x5a2a84
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x100c
call fcn.005925e0
mov eax, dword [0x5c1b40]
xor eax, dword [ebp + 4]
push ebx
push esi
push 1
xor esi, esi
push esi
push dword [ebp + 8]
mov dword [ebp - 4], eax
call fcn.0059c1f2
or ebx, 0xffffffff
add esp, 0xc
cmp eax, ebx
mov dword [ebp - 8], eax
je 0x5a2bae
push 2
push esi
push dword [ebp + 8]
call fcn.0059c1f2
add esp, 0xc
cmp eax, ebx
je 0x5a2bae
push edi
mov edi, dword [ebp + 0xc]
sub edi, eax
test edi, edi
jle 0x5a2b51
mov ebx, 0x1000
push ebx
lea eax, [ebp - 0x100c]
push esi
push eax
call fcn.00596400
push 0x8000
push dword [ebp + 8]
call fcn.005a2f31
add esp, 0x14
mov dword [ebp - 0xc], eax
cmp edi, ebx
mov eax, ebx
jge 0x5a2b0a
mov eax, edi
push eax
lea eax, [ebp - 0x100c]
push eax
push dword [ebp + 8]
call fcn.0059c5aa
add esp, 0xc
cmp eax, 0xffffffff
je 0x5a2b2a
sub edi, eax
test edi, edi
jg 0x5a2b02
jmp 0x5a2b42
call fcn.005981d3
cmp dword [eax], 5
jne 0x5a2b3f
call fcn.005981ca
mov dword [eax], 0xd
or esi, 0xffffffff
push dword [ebp - 0xc]
push dword [ebp + 8]
call fcn.005a2f31
pop ecx
pop ecx
jmp 0x5a2b99
jge 0x5a2b99
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0059c1f2
push dword [ebp + 8]
call fcn.00592d42
add esp, 0x10
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov esi, eax
neg esi
sbb esi, esi
neg esi
dec esi
cmp esi, ebx
jne 0x5a2b99
call fcn.005981ca
mov dword [eax], 0xd
call fcn.005981d3
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi], eax
push 0
push dword [ebp - 8]
push dword [ebp + 8]
call fcn.0059c1f2
add esp, 0xc
mov eax, esi
pop edi
jmp 0x5a2bb0
mov eax, ebx
mov ecx, dword [ebp - 4]
xor ecx, dword [ebp + 4]
pop esi
pop ebx
call fcn.00599789
leave
ret
Function at 0x403608
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x46900c]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x4036a0
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x403680
xor eax, eax
push ebp
push 0x403679
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x4036bc
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x403680
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x46900c]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x46900c], ax
mov esp, ebp
pop ebp
ret

Function at 0x404368
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x46b048], 0
je 0x4043c9
cmp word [0x46b21c], 0xd7b2
jne 0x404391
cmp dword [0x46b224], 0
jbe 0x404391
mov eax, 0x46b218
call dword [0x46b234]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x469074
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x4043f0
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x46901c], 0
jne 0x4043e5
push 0
push 0x469094
push 0x469074
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x409dd4
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 0x409e0d
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.004045d4
jmp 0x409e16
mov eax, ebx
mov edx, esi
call fcn.00404538
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x409e20
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 0x409e41
mov al, byte [esp]
jmp 0x409e43
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40a4c8
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40a340
mov eax, dword [0x46aba0]
cmp byte [eax], 0
je 0x40a530
mov eax, dword [0x46a910]
call fcn.00402cd0
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.00408e14
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff5
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 0x40a578
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40a566
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x46a8ac]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x46b714]
call fcn.00405d3c
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 0x40b050
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 0x40b0b4
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.0040474c
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00408a7c
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40b0bb
lea eax, [ebp - 0xc]
call fcn.004044e4
ret
Function at 0x41d394
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x46ba20
cmp dword [edi], 0
jne 0x41d410
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x46ba1c]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x46950c
mov ecx, 2
call fcn.004028f0
mov edx, 0x41d36c
lea eax, [esi + 5]
call fcn.0041d38c
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041d38c
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 0x41d3e5
mov dword [0x46ba1c], 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 0x41e604
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 0x41e60a
ret

Function at 0x420a0c
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 0x420a5d
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x420a44
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x420a34
jmp 0x420a5d
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 0x420a45
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42d6f4
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 0x42d640
call sub.user32.dll_EnumWindows
ret

Function at 0x42d818
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 0x42d895
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0042d264
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 0x42d83d
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.0042cebc
cmp dword [ebp - 4], 0
je 0x42d87f
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.00404994
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 0x42d89c
lea eax, [ebp - 4]
call fcn.004044e4
ret

Function at 0x430634
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 [0x46bbb0], 0
je 0x430783
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x46ab20]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x430783
mov eax, dword [0x46bbb4]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x46bbb0]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x430752
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x46bbb0]
call fcn.0041459c
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x43074a
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x43074a
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x43074a
mov eax, dword [ebp - 0x14]
call fcn.0043914c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x43074a
push ebp
call fcn.004305f0
pop ecx
test al, al
jne 0x43074a
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x430706
mov eax, dword [ebp - 0x14]
call fcn.00437ce0
dec eax
jle 0x43074a
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.0040398c
cmp byte [ebp - 1], 0
je 0x43074a
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x43074a
mov edx, dword [ebp - 0x14]
mov eax, dword [0x46bbb4]
call fcn.0042fdb8
inc edi
dec ebx
jne 0x430699
mov eax, dword [0x46bbb4]
cmp dword [eax + 8], 0
jle 0x43076a
mov eax, dword [0x46bbb4]
call fcn.0042fe48
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x430783
push ebp
mov eax, dword [ebp - 0x18]
call fcn.00430458
pop ecx
test al, al
jne 0x430783
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 0x433d4c
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 0x433d98
mov eax, esi
call fcn.004496d0
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x433d98
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x433d98
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 0x433edc
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x433dd8
cmp eax, 0x108
ja 0x433dd8
mov eax, esi
call fcn.004496d0
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x433ed3
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xec]
test al, al
jne 0x433edc
jmp 0x433ed3
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x433eba
cmp eax, 0x20a
ja 0x433eba
test byte [esi + 0x50], 0x80
jne 0x433e0a
sub eax, 0x203
je 0x433e07
sub eax, 3
je 0x433e07
sub eax, 3
jne 0x433e0a
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x433e1e
dec eax
je 0x433e33
dec eax
je 0x433e53
dec eax
je 0x433e33
jmp 0x433e5a
mov ecx, ebx
mov eax, dword [0x46ab20]
mov eax, dword [eax]
mov edx, esi
call fcn.00452d1c
jmp 0x433ed3
cmp byte [esi + 0x5d], 1
jne 0x433e49
mov eax, esi
mov si, 0xffed
call fcn.0040398c
jmp 0x433edc
or word [esi + 0x54], 1
jmp 0x433ed3
and word [esi + 0x54], 0xfffe
jmp 0x433ed3
mov eax, dword [0x46bb6c]
cmp byte [eax + 0x20], 0
je 0x433ed3
mov eax, dword [0x46bb6c]
cmp dword [eax + 0x1c], 0
je 0x433ed3
mov eax, dword [ebx]
mov edx, dword [0x46bb6c]
cmp eax, dword [edx + 0x1c]
jne 0x433ed3
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.00449614
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.0040398c
jmp 0x433edc
mov eax, dword [ebx]
cmp eax, 0xb00b
jne 0x433ed3
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.0043266c
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 0x43737c
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 0x437398
cmp dword [esi + 4], 0
je 0x4373c5
test byte [ebx + 0x55], 1
jne 0x4373b7
mov eax, ebx
call fcn.00435fd4
test eax, eax
jne 0x4373b7
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x4374d5
mov edx, esi
mov eax, ebx
call fcn.00436e9c
jmp 0x4374d5
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 0x4374ce
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0043914c
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.00433c80
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.0043737c
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.0043914c
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4374d5
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 0x43d974
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x46acfc]
cmp byte [eax + 0xc], 0
je 0x43dae1
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x43dada
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x46bbc0], 0
jne 0x43d9c8
push 0x43dae8
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x43daf0
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46bbc0], eax
cmp dword [0x469aac], 0
jne 0x43dac3
push 0x43db00
call sub.kernel32.dll_LoadLibraryA
mov dword [0x469aac], eax
cmp dword [0x469aac], 0
je 0x43dac3
push 0x43db0c
mov eax, dword [0x469aac]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46bbc4], eax
push 0x43db1c
mov eax, dword [0x469aac]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46bbc8], eax
push 0x43db30
mov eax, dword [0x469aac]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46bbcc], eax
push 0x43db48
mov eax, dword [0x469aac]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46bbd0], eax
push 0x43db60
mov eax, dword [0x469aac]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46bbd4], eax
push 0x43db74
mov eax, dword [0x469aac]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46bbd8], eax
push 0x43db8c
mov eax, dword [0x469aac]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46bbdc], eax
push 0x43dba4
mov eax, dword [0x469aac]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46bbe0], eax
push 0x43dbc0
mov eax, dword [0x469aac]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46bbe4], eax
push 0x43dbcc
mov eax, dword [0x469aac]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46bbe8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43dae1
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x4416f4
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.004044e4
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x441743
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.0040474c
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x449584
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x4495d4]
test si, 4
je 0x449598
or bl, 1
test si, 8
je 0x4495a2
or bl, 4
test si, 1
je 0x4495ac
or bl, 8
test si, 2
je 0x4495b6
or bl, 0x10
test si, 0x10
je 0x4495c0
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4495cf
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret