joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10005d90
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x108
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x104], eax
push ebx
push ebp
push edi
push 0x104
lea eax, [esp + 0x10]
push 0
push eax
call sub.MSVCR90.dll_memset
mov edi, dword [sym.imp.MSVCR90.dll_sprintf]
push esi
lea ecx, [esp + 0x1c]
push str._c_route_delete__s
push ecx
call edi
mov ebx, dword [sym.imp.SHELL32.dll_ShellExecuteA]
add esp, 0x18
push 0
push 0
lea edx, [esp + 0x14]
push edx
push str.cmd.exe
push 0
push 0
call ebx
mov ebp, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x7d0
call ebp
push str.mask_255.255.255.255_0.0.0.0
push esi
lea eax, [esp + 0x14]
push str._c_route_add__s__s
push eax
call edi
add esp, 0x10
push 0
push 0
lea ecx, [esp + 0x14]
push ecx
push str.cmd.exe
push 0
push 0
call ebx
push 0x7d0
call ebp
mov ecx, dword [0x1001021c]
shl ecx, 4
pop edi
lea ecx, [ecx + 0x1000f588]
pop ebp
mov eax, esi
sub ecx, esi
pop ebx
jmp 0x10005e40
mov dl, byte [eax]
mov byte [ecx + eax], dl
inc eax
test dl, dl
jne 0x10005e40
mov ecx, dword [esp + 0x104]
inc dword [0x1001021c]
xor ecx, esp
call fcn.10006d00
add esp, 0x108
ret
Function at 0x10005f90
Capabilities:
List tcp connections and listeners

Disassembly:
sub esp, 0x108
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x104], eax
push ebx
push ebp
push esi
push edi
push 0
push 5
push 2
push 1
lea eax, [esp + 0x20]
push eax
push 0
mov dword [esp + 0x28], 0
call sub.IPHLPAPI.DLL_GetExtendedTcpTable
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.MSVCR90.dll_malloc]
add esp, 4
mov ebp, eax
push 0
push 5
push 2
push 1
lea edx, [esp + 0x20]
push edx
push ebp
call sub.IPHLPAPI.DLL_GetExtendedTcpTable
xor ebx, ebx
cmp dword [ebp], ebx
jbe 0x100060de
lea edi, [ebp + 0x18]
cmp dword [edi - 0x14], 5
jne 0x100060d1
mov eax, dword [edi]
push eax
call fcn.10005ef0
add esp, 4
lea edx, [esp + 0x14]
mov edi, edi
mov cl, byte [eax]
mov byte [edx], cl
inc eax
inc edx
test cl, cl
jne 0x10006010
lea eax, [esp + 0x14]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10006021
sub eax, edx
mov edx, eax
xor ecx, ecx
test edx, edx
jle 0x10006049
mov al, byte [esp + ecx + 0x14]
cmp al, 0x41
jl 0x10006044
cmp al, 0x5f
jg 0x10006044
add al, 0x20
mov byte [esp + ecx + 0x14], al
inc ecx
cmp ecx, edx
jl 0x10006032
movzx ecx, word [edi - 4]
push ecx
call sub.WS2_32.dll_ntohs
movzx esi, ax
mov ecx, str.game.exe
lea eax, [esp + 0x14]
nop
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10006080
test dl, dl
je 0x1000607c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10006080
add eax, 2
add ecx, 2
test dl, dl
jne 0x10006060
xor eax, eax
jmp 0x10006085
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x10006091
cmp esi, 0x1964
jmp 0x100060cf
mov ecx, str.poker.exe
lea eax, [esp + 0x14]
lea ebx, [ebx]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x100060c0
test dl, dl
je 0x100060bc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x100060c0
add eax, 2
add ecx, 2
test dl, dl
jne 0x100060a0
xor eax, eax
jmp 0x100060c5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x100060d1
cmp esi, 0x3b63
je 0x100060ee
inc ebx
add edi, 0x18
cmp ebx, dword [ebp]
jb 0x10005ff5
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x10005fd4
push ebp
call dword [sym.imp.MSVCR90.dll_free]
mov ecx, dword [esp + 0x118]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
mov eax, 1
call fcn.10006d00
add esp, 0x108
ret
Function at 0x100067f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov ecx, dword [0x10010284]
lea eax, [esp]
push eax
push 0x10010220
push 0
push 0
push 0x10009028
push ecx
mov dword [esp + 0x18], 0x10
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, 0x10010220
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10006820
sub eax, edx
mov ecx, eax
xor eax, eax
test ecx, ecx
jle 0x1000684d
mov edx, eax
and edx, 0x80000001
jns 0x10006840
dec edx
or edx, 0xfffffffe
inc edx
add dl, al
sub byte [eax + 0x10010220], dl
inc eax
cmp eax, ecx
jl 0x10006831
pop ecx
ret

Function at 0x10006850
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov ecx, dword [0x10010284]
lea eax, [esp]
push eax
push 0x10010230
push 0
push 0
push 0x10009040
push ecx
mov dword [esp + 0x18], 0x10
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, 0x10010230
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10006880
sub eax, edx
mov ecx, eax
xor eax, eax
test ecx, ecx
jle 0x100068ad
mov edx, eax
and edx, 0x80000001
jns 0x100068a0
dec edx
or edx, 0xfffffffe
inc edx
add dl, al
sub byte [eax + 0x10010230], dl
inc eax
cmp eax, ecx
jl 0x10006891
pop ecx
ret

Function at 0x100068b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov ecx, dword [0x10010284]
lea eax, [esp]
push eax
push 0x10010240
push 0
push 0
push 0x10009058
push ecx
mov dword [esp + 0x18], 0x10
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, 0x10010240
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100068e0
sub eax, edx
mov ecx, eax
xor eax, eax
test ecx, ecx
jle 0x1000690d
mov edx, eax
and edx, 0x80000001
jns 0x10006900
dec edx
or edx, 0xfffffffe
inc edx
add dl, al
sub byte [eax + 0x10010240], dl
inc eax
cmp eax, ecx
jl 0x100068f1
pop ecx
ret

Function at 0x10006910
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov ecx, dword [0x10010284]
lea eax, [esp]
push eax
push 0x10010250
push 0
push 0
push 0x10009070
push ecx
mov dword [esp + 0x18], 0x10
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, 0x10010250
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10006940
sub eax, edx
mov ecx, eax
xor eax, eax
test ecx, ecx
jle 0x1000696d
mov edx, eax
and edx, 0x80000001
jns 0x10006960
dec edx
or edx, 0xfffffffe
inc edx
add dl, al
sub byte [eax + 0x10010250], dl
inc eax
cmp eax, ecx
jl 0x10006951
pop ecx
ret
Function at 0x10006970
Capabilities:
Create thread

Disassembly:
sub esp, 0x18
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CreateThread]
push edi
lea eax, [esp + 8]
push eax
push 0
push 0
push 0x10006a30
push 0
push 0
mov byte [0x10009078], 0
call esi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x100069a3
push eax
call edi
lea ecx, [esp + 0xc]
push ecx
push 0
push 0
push 0x100016e0
push 0
push 0
call esi
test eax, eax
je 0x100069be
push eax
call edi
lea edx, [esp + 0x10]
push edx
push 0
push 0
push 0x10003810
push 0
push 0
call esi
test eax, eax
je 0x100069d9
push eax
call edi
lea eax, [esp + 0x14]
push eax
push 0
push 0
push 0x100048a0
push 0
push 0
call esi
test eax, eax
je 0x100069f4
push eax
call edi
lea ecx, [esp + 0x18]
push ecx
push 0
push 0
push 0x100026d0
push 0
push 0
call esi
test eax, eax
je 0x10006a0f
push eax
call edi
lea edx, [esp + 0x1c]
push edx
push 0
push 0
push 0x10006120
push 0
push 0
call esi
test eax, eax
je 0x10006a2a
push eax
call edi
pop edi
pop esi
add esp, 0x18
ret

Function at 0x10006d00
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [section..data]
jne 0x10006d0a
repz ret
jmp fcn.100070bd

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
push 4
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x430072
mov ebx, 0x408e84
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x690720bb
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x430060
nop
nop
nop
mov eax, section..data
nop
nop
nop
nop
cmp eax, 0
nop
je 0x4300d2
nop
nop
nop
nop
mov ebx, 0x42e1d0
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x27c769ae
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x402ed0
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x457008], 0x8088405
inc edx
mov dword [ebx + 0x457008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x403328
Capabilities:
Query or enumerate registry value

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

Function at 0x4040c8
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x54604c], 0
je 0x404129
cmp word [0x546220], 0xd7b2
jne 0x4040f1
cmp dword [0x546228], 0
jbe 0x4040f1
mov eax, 0x54621c
call dword [0x546238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x457070
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 0x404150
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x457034], 0
jne 0x404145
push 0
push 0x457068
push 0x457070
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x4060e8
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 0x40614e
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.004044bc
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402eec
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x406138
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406155
lea eax, [ebp - 0x10]
call fcn.0040424c
ret

Function at 0x40b1b0
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 0x40b1e9
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.0040433c
jmp 0x40b1f2
mov eax, ebx
mov edx, esi
call fcn.004042a0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40b8b4
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40b71c
mov eax, dword [0x545070]
cmp byte [eax], 0
je 0x40b930
mov eax, dword [0x544e78]
call fcn.00402d3c
call fcn.00402bd4
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.0040896c
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 0x40b978
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40b966
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x544e24]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x546668]
call fcn.00405554
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 0x40c21c
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 0x40c2f2
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.004042e4
lea eax, [ebp - 8]
call fcn.0040475c
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.0040470c
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40c2dc
mov eax, ebx
call fcn.00402a48
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40c2d5
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.0040470c
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40c2bf
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40c304
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40c2bf
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 0x40c2dc
mov eax, dword [ebp - 0x10]
call fcn.00402a78
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c2f9
lea eax, [ebp - 8]
call fcn.0040424c
ret

Function at 0x40c7cc
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 0x40c830
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.004044bc
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.004084c8
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c837
lea eax, [ebp - 0xc]
call fcn.0040424c
ret
Function at 0x41dc30
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
lea ebx, [ebp - 0xc]
mov esi, 0x546888
cmp dword [esi], 0
jne 0x41dcd6
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov edx, dword [0x546884]
mov dword [eax], edx
mov eax, dword [ebp - 8]
lea edx, [eax + 4]
mov eax, 0x457400
mov ecx, 2
call fcn.00402c68
mov edx, 0x41dc08
mov eax, dword [ebp - 8]
add eax, 5
call fcn.0041dc28
mov edx, dword [ebp - 8]
mov dword [edx + 6], eax
mov eax, dword [ebp - 8]
add eax, 0xa
mov dword [ebx], eax
mov eax, dword [ebx]
mov byte [eax], 0xe8
mov eax, dword [ebp - 8]
lea edx, [eax + 4]
mov eax, dword [ebx]
call fcn.0041dc28
mov edx, dword [ebx]
mov dword [edx + 1], eax
mov eax, dword [ebx]
mov edx, dword [esi]
mov dword [eax + 5], edx
mov eax, dword [ebx]
mov dword [esi], eax
add dword [ebx], 0xd
mov eax, dword [ebx]
sub eax, dword [ebp - 8]
cmp eax, 0xffc
jl 0x41dc9d
mov eax, dword [ebp - 8]
mov dword [0x546884], eax
mov eax, dword [esi]
mov dword [ebp - 4], eax
mov eax, dword [esi]
mov dword [ebx], eax
mov eax, dword [ebx]
mov eax, dword [eax + 5]
mov dword [esi], eax
mov eax, dword [ebx]
mov edx, dword [ebp + 8]
mov dword [eax + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [eax + 9], edx
mov eax, dword [ebp - 4]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x41eefc
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 0x41ef02
ret

Function at 0x421374
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 0x4213c5
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x4213ac
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x42139c
jmp 0x4213c5
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 0x4213ad
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42a4ac
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 0x42a3f8
call sub.user32.dll_EnumWindows
ret

Function at 0x42a5cc
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 0x42a649
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0042a02c
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 0x42a5f1
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.00429c2c
cmp dword [ebp - 4], 0
je 0x42a633
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.0040470c
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 0x42a650
lea eax, [ebp - 4]
call fcn.0040424c
ret

Function at 0x42d2f4
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 [0x546aec], 0
je 0x42d443
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x54500c]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x42d443
mov eax, dword [0x546af0]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x546aec]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x42d412
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x546aec]
call fcn.0041711c
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x42d40a
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x42d40a
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x42d40a
mov eax, dword [ebp - 0x14]
call fcn.00435e8c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x42d40a
push ebp
call fcn.0042d2b0
pop ecx
test al, al
jne 0x42d40a
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x42d3c6
mov eax, dword [ebp - 0x14]
call fcn.004349bc
dec eax
jle 0x42d40a
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.004036c4
cmp byte [ebp - 1], 0
je 0x42d40a
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x42d40a
mov edx, dword [ebp - 0x14]
mov eax, dword [0x546af0]
call fcn.0042ca7c
inc edi
dec ebx
jne 0x42d359
mov eax, dword [0x546af0]
cmp dword [eax + 8], 0
jle 0x42d42a
mov eax, dword [0x546af0]
call fcn.0042cb0c
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x42d443
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0042d118
pop ecx
test al, al
jne 0x42d443
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 0x4309fc
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 0x430a48
mov eax, esi
call fcn.00445f38
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x430a48
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x430a48
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 0x430b87
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x430a88
cmp eax, 0x108
ja 0x430a88
mov eax, esi
call fcn.00445f38
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x430b7e
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xf0]
test al, al
jne 0x430b87
jmp 0x430b7e
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x430b67
cmp eax, 0x20a
ja 0x430b67
test byte [esi + 0x50], 0x80
jne 0x430aba
sub eax, 0x203
je 0x430ab7
sub eax, 3
je 0x430ab7
sub eax, 3
jne 0x430aba
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x430ace
dec eax
je 0x430ae3
dec eax
je 0x430b00
dec eax
je 0x430ae3
jmp 0x430b07
mov ecx, ebx
mov eax, dword [0x54500c]
mov eax, dword [eax]
mov edx, esi
call fcn.0044f800
jmp 0x430b7e
cmp byte [esi + 0x5d], 1
jne 0x430af9
mov eax, esi
mov si, 0xffed
call fcn.004036c4
jmp 0x430b87
or word [esi + 0x54], 1
jmp 0x430b7e
and word [esi + 0x54], 0xfffe
jmp 0x430b7e
mov eax, dword [0x546aa8]
cmp byte [eax + 0x20], 0
je 0x430b7e
mov eax, dword [0x546aa8]
cmp dword [eax + 0x1c], 0
je 0x430b7e
mov eax, dword [ebx]
mov edx, dword [0x546aa8]
cmp eax, dword [edx + 0x1c]
jne 0x430b7e
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.00445e7c
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.004036c4
jmp 0x430b87
cmp eax, 0xb00b
jne 0x430b7e
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.0042f358
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