joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401cd0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push 0x40
push 0x1000
mov eax, dword [ebp + 8]
push eax
push 0
call dword [sym.imp.KERNEL32.DLL_VirtualAlloc]
pop ebp
ret

Function at 0x401cf0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
mov eax, dword [ebp + 8]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_CreateThread]
pop ebp
ret

Function at 0x430005
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
mov eax, section..text
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
je 0x430072
nop
nop
nop
nop
nop
mov ebx, 0x408ecc
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x3e7655ed
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x430060
nop
nop
nop
mov eax, str._xp
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4300d2
nop
nop
nop
mov ebx, 0x42e1d0
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x781e39c0
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x401000
Capabilities:
Accept command line arguments
Query environment variable

Disassembly:
mov eax, dword [0x4551bb]
shl eax, 2
mov dword [0x4551bf], eax
push edi
push ecx
xor eax, eax
mov edi, 0x45ca48
mov ecx, 0x460674
cmp ecx, edi
jbe 0x401024
sub ecx, edi
cld
rep stosb byte es:[edi], al
pop ecx
pop edi
push 0
call fcn.0044648c
pop ecx
push 0x455184
push 0
call sub.KERNEL32.dll_GetModuleHandleA
mov dword [0x4551c3], eax
push 0
jmp fcn.004509bc

Function at 0x41542c
Capabilities:
Open clipboard

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 4], 0
jne 0x415463
mov eax, dword [0x45cb2c]
mov eax, dword [eax + 0x20]
mov dword [ebx + 8], eax
test eax, eax
jne 0x415456
push ebx
push 0x415468
call fcn.00421754
mov dword [ebx + 8], eax
mov byte [ebx + 0xc], 1
mov eax, dword [ebx + 8]
push eax
call sub.USER32.dll_OpenClipboard
mov byte [ebx + 0xd], 0
inc dword [ebx + 4]
pop ebx
ret

Function at 0x415488
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0041542c
push 1
call sub.USER32.dll_GetClipboardData
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4154fa
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 8], 0
je 0x4154ce
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.dll_GlobalLock
mov edx, eax
mov eax, ebx
call fcn.00441a50
jmp 0x4154d5
mov eax, ebx
call fcn.00441924
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x415501
cmp dword [ebp - 8], 0
je 0x4154f1
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.dll_GlobalUnlock
mov eax, dword [ebp - 4]
call fcn.00415400
ret

Function at 0x415508
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0041542c
xor edx, edx
push ebp
push 0x4155a9
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
call sub.USER32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
je 0x41557d
mov edx, ebx
mov eax, 0x427d24
call fcn.0042b17c
test al, al
je 0x41556d
movzx eax, bx
push eax
call sub.USER32.dll_GetClipboardData
mov esi, eax
push 9
call sub.USER32.dll_GetClipboardData
push eax
mov ecx, esi
mov edx, ebx
mov eax, edi
call fcn.0042b0b4
call fcn.004418e4
jmp 0x4155b0
movzx eax, bx
push eax
call sub.USER32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
jne 0x415538
mov ecx, 0xf0b0
mov dl, 1
mov eax, 0x442e80
call fcn.00444cf8
call fcn.00441844
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4155b0
mov eax, dword [ebp - 4]
call fcn.00415400
ret
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x4155b8
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0041542c
xor edx, edx
push ebp
push 0x41560d
push dword fs:[edx]
mov dword fs:[edx], esp
push 2
call sub.USER32.dll_GetClipboardData
mov ebx, eax
push 9
call sub.USER32.dll_GetClipboardData
push eax
mov ecx, ebx
mov dx, 2
mov eax, esi
mov ebx, dword [eax]
call dword [ebx + 0x44]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x415614
mov eax, dword [ebp - 4]
call fcn.00415400
ret

Function at 0x41561c
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0041542c
xor edx, edx
push ebp
push 0x415671
push dword fs:[edx]
mov dword fs:[edx], esp
push 3
call sub.USER32.dll_GetClipboardData
mov ebx, eax
push 9
call sub.USER32.dll_GetClipboardData
push eax
mov ecx, ebx
mov dx, 3
mov eax, esi
mov ebx, dword [eax]
call dword [ebx + 0x44]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x415678
mov eax, dword [ebp - 4]
call fcn.00415400
ret

Function at 0x4156e4
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0041542c
xor eax, eax
push ebp
push 0x415759
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004153e4
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 8]
lea edx, [ebp - 0xa]
mov eax, ebx
call fcn.0042b158
mov eax, dword [ebp - 8]
push eax
movzx eax, word [ebp - 0xa]
push eax
call sub.USER32.dll_SetClipboardData
cmp dword [ebp - 0x10], 0
je 0x415743
mov eax, dword [ebp - 0x10]
push eax
push 9
call sub.USER32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x415760
mov eax, dword [ebp - 4]
call fcn.00415400
ret

Function at 0x415768
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0041542c
xor eax, eax
push ebp
push 0x4157dd
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004153e4
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 8]
lea edx, [ebp - 0xa]
mov eax, ebx
mov ebx, dword [eax]
call dword [ebx + 0x48]
mov eax, dword [ebp - 8]
push eax
movzx eax, word [ebp - 0xa]
push eax
call sub.USER32.dll_SetClipboardData
cmp dword [ebp - 0x10], 0
je 0x4157c7
mov eax, dword [ebp - 0x10]
push eax
push 9
call sub.USER32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4157e4
mov eax, dword [ebp - 4]
call fcn.00415400
ret
Function at 0x421698
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x45cb54
cmp dword [edi], 0
jne 0x421714
push 0x40
push 0x1000
push 0x1000
push 0
call sub.KERNEL32.dll_VirtualAlloc
mov esi, eax
mov eax, dword [0x45cb50]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x458e98
mov ecx, 2
call fcn.00441064
mov edx, 0x421670
lea eax, [esi + 5]
call fcn.00421690
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00421690
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 0x4216e9
mov dword [0x45cb50], 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 0x421818
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x421868]
test si, 4
je 0x42182c
or bl, 1
test si, 8
je 0x421836
or bl, 4
test si, 1
je 0x421840
or bl, 8
test si, 2
je 0x42184a
or bl, 0x10
test si, 0x10
je 0x421854
or bl, 0x20
push 0x12
call sub.USER32.dll_GetKeyState
test ax, ax
jge 0x421863
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x425678
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x42581f
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, 0x40f48c
call fcn.00441334
mov edx, dword [ebp - 4]
mov dword [edx + 0x24], eax
mov eax, dword [ebp - 4]
add eax, 0x28
call fcn.00441924
push 0
call sub.USER32.dll_GetKeyboardLayout
mov edx, dword [ebp - 4]
mov dword [edx + 0x2c], eax
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.USER32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x4257f5
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.0041d818
test al, al
je 0x4257e8
lea eax, [ebp - 0xc]
push eax
push 0xf003f
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, 0x425830
lea eax, [ebp - 0x254]
call fcn.004441d0
push eax
push 0x80000002
call sub.ADVAPI32.dll_RegOpenKeyExA
test eax, eax
jne 0x4257e8
xor eax, eax
push ebp
push 0x4257e1
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0x100
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x425868
mov eax, dword [ebp - 0xc]
push eax
call sub.ADVAPI32.dll_RegQueryValueExA
test eax, eax
jne 0x4257ca
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, 0x100
call fcn.00441a80
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov ebx, dword [eax]
call dword [ebx + 0x30]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x2c]
jne 0x4257ca
mov eax, dword [ebp - 4]
add eax, 0x28
lea edx, [ebp - 0x214]
mov ecx, 0x100
call fcn.00441a80
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4257e8
mov eax, dword [ebp - 0xc]
push eax
call sub.ADVAPI32.dll_RegCloseKey
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x4256eb
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov byte [eax + 0x15], 0
mov dl, 1
call fcn.00411680
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x425826
lea eax, [ebp - 0x260]
call fcn.00441924
ret

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

Disassembly:
push ecx
mov eax, dword [0x45cb2c]
cmp byte [eax + 0x80], 0
jne 0x425a8e
cmp dword [0x45cb58], 0
jne 0x425a6a
call sub.KERNEL32.dll_GetCurrentThreadId
push eax
push 0
mov eax, 0x4259f4
push eax
push 3
call sub.USER32.dll_SetWindowsHookExA
mov dword [0x45cb58], eax
cmp dword [0x45cb5c], 0
jne 0x425a8e
push esp
push 0
push 0
push 0x4259a4
push 0x3e8
push 0
call sub.KERNEL32.dll_CreateThread
mov dword [0x45cb5c], eax
pop edx
ret
Function at 0x425a90
Capabilities:
Terminate thread

Disassembly:
cmp dword [0x45cb58], 0
je 0x425aa4
mov eax, dword [0x45cb58]
push eax
call sub.USER32.dll_UnhookWindowsHookEx
xor eax, eax
mov dword [0x45cb58], eax
cmp dword [0x45cb5c], 0
je 0x425ac1
push 0
mov eax, dword [0x45cb5c]
push eax
call sub.KERNEL32.dll_TerminateThread
xor eax, eax
mov dword [0x45cb5c], eax
ret

Function at 0x425b60
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x425b77
add esp, 0xfffffff0
call fcn.004414d0
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00414b84
mov dl, 1
mov eax, 0x40f1dc
call fcn.00441334
mov dword [ebx + 0x70], eax
mov dl, 1
mov eax, 0x40f1dc
call fcn.00441334
mov dword [ebx + 0x84], eax
xor eax, eax
mov dword [ebx + 0x40], eax
xor eax, eax
mov dword [ebx + 0x60], eax
mov dword [ebx + 0x3c], 0x80000018
mov dword [ebx + 0x54], 0x1f4
mov dword [ebx + 0x58], 0x32
mov dword [ebx + 0x5c], 0x9c4
mov byte [ebx + 0x64], 0
mov byte [ebx + 0x7d], 1
mov byte [ebx + 0x7e], 0
mov dl, 1
mov eax, 0x42805c
call fcn.0042d24c
mov esi, eax
mov dword [ebx + 0x78], esi
push 0x425cc4
mov eax, dword [0x45cc10]
push eax
call sub.USER32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042d5e8
mov eax, dword [ebx + 0x78]
mov dword [eax + 8], ebx
mov dword [eax + 4], 0x426f94
push 0x100
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x45cc10]
push eax
call sub.KERNEL32.dll_GetModuleFileNameA
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.USER32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.00445360
test eax, eax
je 0x425c58
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00443c74
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.00445388
test eax, eax
je 0x425c6c
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.USER32.dll_CharLowerA
lea eax, [ebx + 0x6c]
lea edx, [ebp - 0x101]
mov ecx, 0x100
call fcn.00441a80
cmp byte [0x45cc34], 0
jne 0x425c9c
mov eax, ebx
call fcn.00425d5c
mov byte [ebx + 0x39], 1
mov byte [ebx + 0x3a], 1
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x425cbb
call fcn.00441518
pop dword fs:[0]
add esp, 0xc
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x426760
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x7f], 0
je 0x426792
push 0x100
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x20]
push eax
call sub.USER32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00441a04
jmp 0x42679c
mov eax, esi
mov edx, dword [ebx + 0x6c]
call fcn.004419b8
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x42716c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x60]
test esi, esi
je 0x4271a4
mov eax, esi
call fcn.0041bae4
test al, al
je 0x4271a4
mov eax, dword [ebx + 0x60]
call fcn.0041b94c
push eax
call sub.USER32.dll_IsWindowVisible
test eax, eax
je 0x4271a4
push 0
mov eax, dword [ebx + 0x60]
call fcn.0041b94c
push eax
call sub.USER32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x428120
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 0x428126
ret
Function at 0x43019c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax - 4]
mov ebx, dword [eax + 0x114]
mov eax, dword [ebp - 4]
cmp dword [eax], 0
je 0x430322
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax - 4]
mov edx, dword [eax + 0x14c]
mov eax, dword [ebx + 0x10]
call fcn.00428e4c
cmp byte [ebp + 8], 0
je 0x4301f5
mov eax, dword [ebp + 0xc]
mov edx, dword [eax + 0xc]
mov eax, dword [ebx + 0x10]
call fcn.00428d74
jmp 0x430203
mov eax, dword [ebp + 0xc]
mov edx, dword [eax + 8]
mov eax, dword [ebx + 0x10]
call fcn.00428d74
mov eax, dword [ebx + 0x10]
call fcn.00428e44
dec eax
jle 0x430249
xor eax, eax
mov dword [ebp - 0x24], eax
mov eax, dword [ebx + 0x10]
call fcn.00428d6c
mov dword [ebp - 0x20], eax
xor eax, eax
mov dword [ebp - 0x1c], eax
push 0
push 0
lea eax, [ebp - 0x24]
push eax
mov edi, dword [ebx + 0x10]
mov eax, edi
call fcn.00428e44
push eax
push 0x12200
call sub.GDI32.dll_ExtCreatePen
mov edx, eax
mov eax, edi
call fcn.00428de0
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x1c]
mov edi, dword [eax - 8]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov eax, dword [ecx + 0x28]
call dword [ecx + 0x24]
mov edx, dword [ebp + 0xc]
mov edx, dword [edx + 0x14]
mov edx, dword [edx + esi*4]
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx]
shr ecx, 1
add edx, ecx
add eax, edx
mov dword [ebp - 0xc], eax
mov eax, esi
xor eax, 1
mov edx, dword [ebp + 0xc]
mov edx, dword [edx + 0x14]
mov edx, dword [edx + eax*4]
mov dword [ebp - 0x14], edx
add eax, 2
mov edx, dword [ebp + 0xc]
mov edx, dword [edx + 0x14]
mov eax, dword [edx + eax*4]
mov dword [ebp - 0x18], eax
lea eax, [esi + 2]
mov edx, dword [ebp + 0xc]
mov edx, dword [edx + 0x14]
mov eax, dword [edx + eax*4]
mov edx, dword [ebp - 4]
add eax, dword [edx]
mov dword [ebp - 0x10], eax
xor ebx, ebx
lea eax, [esi + ebx]
mov edx, dword [ebp - 0xc]
mov dword [edi + eax*4], edx
mov eax, esi
xor eax, 1
mov edx, eax
add edx, ebx
mov ecx, dword [ebp - 0x14]
mov dword [edi + edx*4], ecx
add ebx, 2
lea edx, [esi + ebx]
mov ecx, dword [ebp - 0xc]
mov dword [edi + edx*4], ecx
add eax, ebx
mov edx, dword [ebp - 0x18]
mov dword [edi + eax*4], edx
add ebx, 2
inc dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov eax, dword [ecx + 0x28]
call dword [ecx + 0x24]
mov edx, dword [ebp - 4]
add eax, dword [edx]
add dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x10]
jle 0x4302ab
shr ebx, 2
push ebx
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax - 0xc]
push eax
push edi
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x114]
call fcn.0042986c
push eax
call sub.GDI32.dll_PolyPolyline
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x43684c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x204], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4369e1
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x204]
mov eax, ebx
call fcn.00436310
mov eax, dword [ebp - 0x204]
lea edx, [esi + 1]
call fcn.00445148
cmp al, 2
jne 0x436892
dec esi
mov eax, ebx
call fcn.0043662c
test al, al
je 0x436981
test esi, esi
jge 0x4368a7
xor esi, esi
lea edi, [esi + 1]
lea edx, [ebp - 0x204]
mov eax, ebx
call fcn.00436310
mov eax, dword [ebp - 0x204]
call fcn.00441a98
cmp edi, eax
jge 0x4368ec
lea edx, [ebp - 0x204]
mov eax, ebx
call fcn.00436310
mov eax, dword [ebp - 0x204]
mov al, byte [eax + edi - 1]
and eax, 0xff
bt dword [0x459414], eax
jae 0x4368ec
inc edi
mov eax, dword [ebx + 0x134]
cmp esi, eax
jl 0x4368fa
mov esi, eax
mov edi, esi
mov ecx, edi
mov edx, edi
mov eax, ebx
call fcn.00436828
cmp edi, esi
je 0x436979
lea eax, [ebp - 0x100]
push eax
call sub.USER32.dll_GetKeyboardState
mov edx, 0x100
lea eax, [ebp - 0x200]
mov byte [eax], 0
inc eax
dec edx
jne 0x436920
mov byte [ebp - 0x1f0], 0x81
mov byte [ebp - 0x1db], 0x81
lea eax, [ebp - 0x200]
push eax
call sub.USER32.dll_SetKeyboardState
push 1
push 0x25
push 0x100
mov eax, ebx
call fcn.0041b94c
push eax
call sub.USER32.dll_SendMessageA
push 1
push 0x25
push 0x101
mov eax, ebx
call fcn.0041b94c
push eax
call sub.USER32.dll_SendMessageA
lea eax, [ebp - 0x100]
push eax
call sub.USER32.dll_SetKeyboardState
mov dword [ebx + 0x13c], esi
jmp 0x4369c8
test esi, esi
jge 0x436987
xor esi, esi
lea edx, [ebp - 0x204]
mov eax, ebx
call fcn.00436310
mov eax, dword [ebp - 0x204]
call fcn.00441a98
cmp esi, eax
jl 0x4369bd
lea edx, [ebp - 0x204]
mov eax, ebx
call fcn.00436310
mov eax, dword [ebp - 0x204]
call fcn.00441a98
mov esi, eax
mov ecx, esi
mov edx, esi
mov eax, ebx
call fcn.00436828
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4369e8
lea eax, [ebp - 0x204]
call fcn.00441924
ret

Function at 0x4385f8
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.00441924
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.USER32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x438659
push 0x100
lea edx, [ebp - 0x102]
push edx
push eax
call sub.USER32.dll_GetKeyNameTextA
cmp byte [ebp - 0x101], 0
jne 0x438659
cmp byte [ebp - 0x102], 0
je 0x438659
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, 0x100
call fcn.00441a80
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x439878
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
mov ebx, edx
mov dword [ebp - 0xc], eax
xor eax, eax
mov edx, dword [ebp - 0xc]
cmp dword [edx + 0x24], 0
je 0x4398f9
xor eax, eax
mov al, byte [ebx + 4]
mov word [ebp - 6], ax
push 0x10
call sub.USER32.dll_GetKeyState
test ax, ax
jge 0x4398aa
add word [ebp - 6], 0x2000
push 0x11
call sub.USER32.dll_GetKeyState
test ax, ax
jge 0x4398bc
add word [ebp - 6], 0x4000
test byte [ebx + 0xb], 0x20
je 0x4398c8
add word [ebp - 6], 0x8000
xor ebx, ebx
movzx edx, word [ebp - 6]
mov cl, 2
mov eax, dword [ebp - 0xc]
call fcn.00439750
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4398ed
push ebp
mov eax, dword [ebp - 4]
call fcn.004397ec
pop ecx
mov ebx, eax
cmp bl, 2
je 0x4398c8
cmp dword [ebp - 4], 0
setne al
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4443e0
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 0x100
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.KERNEL32.dll_GetLocaleInfoA
test eax, eax
jle 0x444419
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00441a04
jmp 0x444422
mov eax, ebx
mov edx, esi
call fcn.004419b8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x44442c
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
test eax, eax
jle 0x44444d
mov al, byte [esp]
jmp 0x44444f
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret