joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4752f4
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
xor edx, edx
push ebp
push 0x47534e
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [eax + 0x30]
call fcn.004752e4
mov ebx, eax
lea edx, [ebp - 4]
mov eax, edi
call fcn.00464970
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0xc]
call fcn.00464570
mov edx, dword [esi + 8]
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x475355
lea eax, [ebp - 4]
call fcn.004048b0
ret

Function at 0x4992ef
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor ebx, ebx
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push 0x4bc5b6
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x499347
movzx edx, word [ebp + 8]
mov dword [ebp - 8], edx
lea ecx, [ebp - 8]
push ecx
push dword [ebp + 0xc]
push 0
push 0
push 0x4bc5d7
push dword [ebp - 4]
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x49933d
mov bx, 0x2a04
push dword [ebp - 4]
call sub.advapi32.dll_RegCloseKey_1
jmp 0x49934b
mov bx, 0x2a04
mov eax, ebx
pop ebx
pop ecx
pop ecx
pop ebp
ret 8

Function at 0x4a7a50
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x4a7a7e
mov eax, ebx
call fcn.004a8504
cmp dword [ebx + 0x40], 0
je 0x4a7a77
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x4a7aef
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x4a7ae1
cmp dword [ebx + 8], 0
je 0x4a7aa0
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x4a7ab2
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4a7ae1
cmp dword [ebx + 8], 0
je 0x4a7a93
cmp eax, 3
je 0x4a7ac5
dec eax
jne 0x4a7a93
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x4a7a93
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x4a7a93
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x4a7b0d
cmp dword [ebx + 0x14], 0xcc
je 0x4a7b0d
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.004a7b18
pop ebx
ret

Function at 0x4b84e8
Capabilities:
Get hostname

Disassembly:
push ebx
add esp, 0xffffffe8
mov ebx, eax
mov eax, ebx
call fcn.004048b0
mov dword [esp], 0x10
push esp
lea eax, [esp + 8]
push eax
call sub.kernel32.dll_GetComputerNameA
mov edx, ebx
lea eax, [esp + 4]
call fcn.00409b28
add esp, 0x18
pop ebx
ret
Function at 0x4b8518
Capabilities:
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe48
push ebx
push esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404d60
xor eax, eax
push ebp
push 0x4b85e9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
call fcn.004048b0
lea eax, [ebp - 0x198]
push eax
push 2
call sub.wsock32.dll_WSAStartup
mov eax, dword [ebp - 4]
call fcn.00404d70
push eax
call sub.wsock32.dll_gethostbyname
test eax, eax
je 0x4b85ce
mov ebx, eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
xor eax, eax
mov al, byte [esi]
mov dword [ebp - 0x1b8], eax
mov byte [ebp - 0x1b4], 0
xor eax, eax
mov al, byte [esi + 1]
mov dword [ebp - 0x1b0], eax
mov byte [ebp - 0x1ac], 0
xor eax, eax
mov al, byte [esi + 2]
mov dword [ebp - 0x1a8], eax
mov byte [ebp - 0x1a4], 0
xor eax, eax
mov al, byte [esi + 3]
mov dword [ebp - 0x1a0], eax
mov byte [ebp - 0x19c], 0
lea edx, [ebp - 0x1b8]
mov ecx, 3
mov eax, 0x4b8600
call fcn.0040a018
call sub.wsock32.dll_WSACleanup
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b85f0
lea eax, [ebp - 4]
call fcn.004048b0
ret
Function at 0x402b40
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00404324
test esi, esi
jne 0x402b76
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.00404414
jmp 0x402b94
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.004029f4
mov edi, eax
test esi, esi
je 0x402b94
cmp dword [ebx], 0
je 0x402b94
dec esi
jmp 0x402b7d
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x4032d4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x4db020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x40336c
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x40334c
xor eax, eax
push ebp
push 0x403345
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 0x403388
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 0x40334c
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x4db020]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x4db020], ax
mov esp, ebp
pop ebp
ret

Function at 0x404124
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4de04c], 0
je 0x404185
cmp word [0x4de220], 0xd7b2
jne 0x40414d
cmp dword [0x4de228], 0
jbe 0x40414d
mov eax, 0x4de21c
call dword [0x4de238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x4db06c
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 0x4041ac
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x4db030], 0
jne 0x4041a1
push 0
push 0x4db064
push 0x4db06c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x4042d8
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, 8
call fcn.004027b8
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x4de04d], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x4042a0
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x4064a8
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 0x40650e
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.00404594
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402e98
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x4064f8
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406515
lea eax, [ebp - 0x10]
call fcn.00404324
ret

Function at 0x40c368
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 0x40c3a1
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404414
jmp 0x40c3aa
mov eax, ebx
mov edx, esi
call fcn.00404378
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40d3e0
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 0x40d4b6
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.004043bc
lea eax, [ebp - 8]
call fcn.00404834
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.004047e4
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40d4a0
mov eax, ebx
call fcn.004027b8
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40d499
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.004047e4
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40d483
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40d4c8
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40d483
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 0x40d4a0
mov eax, dword [ebp - 0x10]
call fcn.004027d8
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d4bd
lea eax, [ebp - 8]
call fcn.00404324
ret
Function at 0x40da04
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 0x40da68
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.00404594
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00408d04
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40da6f
lea eax, [ebp - 0xc]
call fcn.00404324
ret

Function at 0x42591c
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.00425774
dec esi
jne 0x42593e
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret

Function at 0x427168
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x4de88c
cmp dword [edi], 0
jne 0x4271e4
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x4de888]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4db5e4
mov ecx, 2
call fcn.004029b4
mov edx, 0x427140
lea eax, [esi + 5]
call fcn.00427160
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00427160
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 0x4271b9
mov dword [0x4de888], 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 0x4283f8
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 0x4283fe
ret

Function at 0x42a840
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 0x42a891
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x42a878
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x42a868
jmp 0x42a891
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 0x42a879
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4329fc
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.004047e4
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x432a54
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4dde94]
mov dl, 1
mov eax, dword [0x4325b4]
call fcn.0040cc40
call fcn.00403cdc
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.004326bc
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x43518c
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 0x4350d8
call sub.user32.dll_EnumWindows
ret

Function at 0x4352ac
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 0x435329
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00434d0c
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 0x4352d1
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.0043490c
cmp dword [ebp - 4], 0
je 0x435313
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.004047e4
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 0x435330
lea eax, [ebp - 4]
call fcn.00404324
ret
Function at 0x438148
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 [0x4deb5c], 0
je 0x438297
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x4ddc1c]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x438297
mov eax, dword [0x4deb60]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x4deb5c]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x438266
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x4deb5c]
call fcn.0041ce7c
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x43825e
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x43825e
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x43825e
mov eax, dword [ebp - 0x14]
call fcn.00440d58
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x43825e
push ebp
call fcn.00438104
pop ecx
test al, al
jne 0x43825e
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x43821a
mov eax, dword [ebp - 0x14]
call fcn.0043f888
dec eax
jle 0x43825e
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.00403660
cmp byte [ebp - 1], 0
je 0x43825e
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x43825e
mov edx, dword [ebp - 0x14]
mov eax, dword [0x4deb60]
call fcn.004378d0
inc edi
dec ebx
jne 0x4381ad
mov eax, dword [0x4deb60]
cmp dword [eax + 8], 0
jle 0x43827e
mov eax, dword [0x4deb60]
call fcn.00437960
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x438297
push ebp
mov eax, dword [ebp - 0x18]
call fcn.00437f6c
pop ecx
test al, al
jne 0x438297
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 0x43b85c
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 0x43b8a8
mov eax, esi
call fcn.00450e40
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x43b8a8
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x43b8a8
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 0x43b9e7
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x43b8e8
cmp eax, 0x108
ja 0x43b8e8
mov eax, esi
call fcn.00450e40
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x43b9de
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xf0]
test al, al
jne 0x43b9e7
jmp 0x43b9de
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x43b9c7
cmp eax, 0x20a
ja 0x43b9c7
test byte [esi + 0x50], 0x80
jne 0x43b91a
sub eax, 0x203
je 0x43b917
sub eax, 3
je 0x43b917
sub eax, 3
jne 0x43b91a
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x43b92e
dec eax
je 0x43b943
dec eax
je 0x43b960
dec eax
je 0x43b943
jmp 0x43b967
mov ecx, ebx
mov eax, dword [0x4ddc1c]
mov eax, dword [eax]
mov edx, esi
call fcn.0045a67c
jmp 0x43b9de
cmp byte [esi + 0x5d], 1
jne 0x43b959
mov eax, esi
mov si, 0xffed
call fcn.00403660
jmp 0x43b9e7
or word [esi + 0x54], 1
jmp 0x43b9de
and word [esi + 0x54], 0xfffe
jmp 0x43b9de
mov eax, dword [0x4deb18]
cmp byte [eax + 0x20], 0
je 0x43b9de
mov eax, dword [0x4deb18]
cmp dword [eax + 0x1c], 0
je 0x43b9de
mov eax, dword [ebx]
mov edx, dword [0x4deb18]
cmp eax, dword [edx + 0x1c]
jne 0x43b9de
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.00450d84
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.00403660
jmp 0x43b9e7
cmp eax, 0xb00b
jne 0x43b9de
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.0043a198
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 0x43eee8
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 0x43ef04
cmp dword [esi + 4], 0
je 0x43ef31
test byte [ebx + 0x55], 1
jne 0x43ef23
mov eax, ebx
call fcn.0043daf4
test eax, eax
jne 0x43ef23
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x43f041
mov edx, esi
mov eax, ebx
call fcn.0043ea0c
jmp 0x43f041
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 0x43f03a
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00440d58
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.0043b790
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.0043eee8
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.00440d58
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43f041
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 0x445598
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x4dde88]
cmp byte [eax + 0xc], 0
je 0x445705
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4456fe
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4deb6c], 0
jne 0x4455ec
push 0x44570c
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x445714
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4deb6c], eax
cmp dword [0x4dbd08], 0
jne 0x4456e7
push 0x445724
call sub.kernel32.dll_LoadLibraryA
mov dword [0x4dbd08], eax
cmp dword [0x4dbd08], 0
je 0x4456e7
push 0x445730
mov eax, dword [0x4dbd08]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4deb70], eax
push 0x445740
mov eax, dword [0x4dbd08]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4deb74], eax
push 0x445754
mov eax, dword [0x4dbd08]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4deb78], eax
push 0x44576c
mov eax, dword [0x4dbd08]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4deb7c], eax
push 0x445784
mov eax, dword [0x4dbd08]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4deb80], eax
push 0x445798
mov eax, dword [0x4dbd08]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4deb84], eax
push 0x4457b0
mov eax, dword [0x4dbd08]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4deb88], eax
push 0x4457c8
mov eax, dword [0x4dbd08]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4deb8c], eax
push 0x4457e4
mov eax, dword [0x4dbd08]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4deb90], eax
push 0x4457f0
mov eax, dword [0x4dbd08]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4deb94], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x445705
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x449590
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.00404324
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x4495df
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.00404594
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x450cf4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x450d44]
test si, 4
je 0x450d08
or bl, 1
test si, 8
je 0x450d12
or bl, 4
test si, 1
je 0x450d1c
or bl, 8
test si, 2
je 0x450d26
or bl, 0x10
test si, 0x10
je 0x450d30
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x450d3f
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret