joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4244bd
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
pushal
call 0x4244cc
pop dword [ebp - 0x1c]
mov eax, 0xd835011c
add eax, 0x280d43b0
sub dword [ebp - 0x1c], eax
mov dword [ebp - 0x2c], 0x83e0557e
sub dword [ebp - 0x2c], 0x358e1033
mov dword [ebp - 0x28], 0xecb69766
sub dword [ebp - 0x28], 0xba834b21
mov dword [ebp - 0x24], 0xbf74e74b
sub dword [ebp - 0x24], 0x7328a31d
mov dword [ebp - 0x20], 0xe1c4823a
sub dword [ebp - 0x20], 0xe1c4823a
lea eax, [ebp - 0x2c]
push eax
mov eax, 0x593a6289
sub eax, 0x58f80235
add eax, dword [ebp - 0x1c]
call dword [eax]
mov dword [ebp - 0x2c], 0xde42461f
sub dword [ebp - 0x2c], 0x69cfdcc9
mov dword [ebp - 0x28], 0xda58a87c
add dword [ebp - 0x28], 0x6713b8f9
mov dword [ebp - 0x24], 0xbb338165
sub dword [ebp - 0x24], 0x57c414f9
mov dword [ebp - 0x20], 0x3c14d1e8
sub dword [ebp - 0x20], 0x3c14d1e8
lea ebx, [ebp - 0x2c]
push ebx
push eax
mov eax, 0x512b314a
add eax, 0xaf172f0e
add eax, dword [ebp - 0x1c]
call dword [eax]
push 0x40
push 0x1000
push 0x3a345
push 0
call eax
mov ecx, 0x399e
mov esi, eax
mov edi, 0xafd7c668
sub edi, 0xaf93dc68
add edi, dword [ebp - 0x1c]
mov ebx, 0x47724a5f
xor dword [ebp - 8], 0xe9b8237d
mov edx, dword [edi]
xor dword [ebp - 0x18], edi
add edx, ebx
xor dword [ebp - 0x14], 0x395d447a
mov dword [esi], edx
add esi, 0x125ac888
sub esi, 0x125ac884
add edi, 0x8e136fc7
sub edi, 0x8e136fc3
loop 0x4245e2
add eax, 0xf6c0ed31
add eax, 0x93fec1a
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x400000
add ecx, dword [ebp - 0x1c]
call ebx
leave
ret
Function at 0x40c59e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
xor eax, eax
mov edx, eax
push esi
mov esi, dword [ebp + 8]
and ecx, 0xfffffffc
jbe 0x40c5e2
rol eax, 5
xor eax, dword [edx + esi]
add edx, 4
imul eax, eax, 0x9e3779b9
rol eax, 5
xor eax, 4
imul eax, eax, 0x9e3779b9
cmp edx, ecx
jb 0x40c5b1
jmp 0x40c5e2
movsx ecx, byte [edx + esi]
rol eax, 5
xor eax, ecx
imul eax, eax, 0x9e3779b9
inc edx
cmp edx, dword [ebp + 0xc]
jb 0x40c5d2
pop esi
pop ebp
ret

Function at 0x40d33a
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 1
lea esi, [ebx - 1]
push 0x2000
not esi
push ebx
and esi, 0xf0deafff
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edi, eax
cmp edi, esi
jne 0x40d36f
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp esi, dword [ebp - 0x18]
jb 0x40d399
lea eax, [esi + ebx]
cmp eax, dword [ebp - 0x18]
jb 0x40d399
test edi, edi
je 0x40d366
push 0x8000
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x40d366
test edi, edi
je 0x40d3a1
mov eax, edi
jmp 0x40d368
push 1
push 0x2000
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
jne 0x40d368
mov esi, 0xc3
push esi
push str.c:_builds_moz2_slave_m_in_w32_d_0000000000000000000_build_src_mfbt_Poison.cpp
push str.no_usable_poison_region_identified
call fcn.004100a3
add esp, 0xc
int3
Function at 0x10014380
Capabilities:
Packed with generic packer

Disassembly:
cmp byte [esp + 8], 1
jne 0x10014544
pushal
mov esi, section.UPX1
lea edi, [esi - 0xe000]
push edi
or ebp, 0xffffffff
jmp 0x100143aa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x100143b1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x100143a0
mov eax, 1
add ebx, ebx
jne 0x100143c3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x100143b8
jne 0x100143d4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x100143b8
xor ecx, ecx
sub eax, 3
jb 0x100143e8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x1001445a
mov ebp, eax
add ebx, ebx
jne 0x100143f3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x10014400
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x10014424
inc ecx
add ebx, ebx
jne 0x10014410
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x10014405
jne 0x10014421
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x10014405
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x10014444
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x10014435
jmp 0x100143a6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x10014444
add edi, ecx
jmp 0x100143a6
pop esi
mov edi, esi
mov ecx, 0x49a
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x10014462
cmp byte [edi], 1
jne 0x10014462
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x10014467
lea edi, [esi + 0x12000]
mov eax, dword [edi]
or eax, eax
je 0x100144d6
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1562c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1571c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x10014494
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x15720]
or eax, eax
je 0x100144d0
mov dword [ebx], eax
add ebx, 4
jmp 0x100144b1
popal
xor eax, eax
ret 0xc
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x10014507
cmp al, 0xef
ja 0x100144fa
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x100144dc
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x100144e9
mov ebp, dword [esi + 0x15724]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1f7]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x1001453b
sub esp, 0xffffff80
jmp 0x1000afcf
Function at 0x409e4c
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 0x409e6d
mov al, byte [esp]
jmp 0x409e6f
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x4153d8
Capabilities:
Contain obfuscated stackstrings

Disassembly:
and byte [ebp - 0x353], 0
mov byte [ebp - 0x352], 0xda
and byte [ebp - 0x351], 0
mov byte [ebp - 0x350], 0x62
mov byte [ebp - 0x34f], 0x40
mov byte [ebp - 0x34e], 0x51
mov byte [ebp - 0x34d], 0x75
mov byte [ebp - 0x34c], 0x57
mov byte [ebp - 0x34b], 0x4a
mov byte [ebp - 0x34a], 0x46
mov byte [ebp - 0x349], 0x40
mov byte [ebp - 0x348], 0x56
mov byte [ebp - 0x347], 0x56
mov byte [ebp - 0x346], 0x6d
mov byte [ebp - 0x345], 0x40
mov byte [ebp - 0x344], 0x44
mov byte [ebp - 0x343], 0x55
mov byte [ebp - 0x342], 0x25
lea eax, [ebp - 0x354]
push eax
invalid
insb byte es:[edi], dx
invalid

Function at 0x416560
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push 1
pop eax
test eax, eax
je 0x416c64
lea eax, [ebp - 0x230]
mov dword [ebp - 0x3a0], eax
cmp dword [ebp - 0x6fc], 0
jne 0x416739
and byte [ebp - 0x77c], 0
and byte [ebp - 0x77b], 0
mov byte [ebp - 0x77a], 4
and byte [ebp - 0x779], 0
mov byte [ebp - 0x778], 0xb8
mov byte [ebp - 0x777], 0xc1
mov byte [ebp - 0x776], 0xa7
mov byte [ebp - 0x775], 0xab
mov byte [ebp - 0x774], 0x89
mov byte [ebp - 0x773], 0x94
mov byte [ebp - 0x772], 0x9c
mov byte [ebp - 0x771], 0x89
mov byte [ebp - 0x770], 0x9a
mov byte [ebp - 0x76f], 0x96
mov byte [ebp - 0x76e], 0xdb
mov byte [ebp - 0x76d], 0xbd
mov byte [ebp - 0x76c], 0x92
mov byte [ebp - 0x76b], 0x97
mov byte [ebp - 0x76a], 0x9e
mov byte [ebp - 0x769], 0x88
mov byte [ebp - 0x768], 0xa7
mov byte [ebp - 0x767], 0xb8
mov byte [ebp - 0x766], 0x94
mov byte [ebp - 0x765], 0x96
mov byte [ebp - 0x764], 0x96
mov byte [ebp - 0x763], 0x94
test dword [ebp - 0x6b000008], ebx
invalid
invalid

Function at 0x417900
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 0x417951
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x417938
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x417928
jmp 0x417951
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 0x417939
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x457cb0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00403cdc
mov eax, dword [ebp - 8]
call fcn.00403cdc
mov eax, dword [ebp - 0xc]
call fcn.00403cdc
xor eax, eax
push ebp
push 0x457d7f
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, 0x457d98
call fcn.00403b30
lea eax, [ebp - 8]
mov edx, 0x457d98
call fcn.00403b30
lea eax, [ebp - 0xc]
mov edx, 0x457d98
call fcn.00403b30
mov bl, 1
push 1
lea eax, [ebp - 0xc]
call fcn.00403cf8
push eax
lea eax, [ebp - 8]
call fcn.00403cf8
push eax
lea eax, [ebp - 4]
call fcn.00403cf8
push eax
push 0
push 0
call sub.shell32.dll_ShellExecuteA
cmp eax, 0x20
jae 0x457d64
xor ebx, ebx
push 0
lea eax, [ebp - 0x10]
mov ecx, dword [ebp - 4]
mov edx, 0x457da4
call fcn.00403b74
mov eax, dword [ebp - 0x10]
mov cx, word [0x457dc4]
mov dl, 1
call fcn.0044315c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x457d86
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.004038d0
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..rsrc
nop
mov ebx, 0x40c7d0
nop
mov ecx, 0x5808483e
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43204e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x432024
nop
nop
nop
mov eax, section..data
mov ebx, 0x42f314
nop
nop
mov ecx, 0x62d874e4
test eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
je 0x432084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
jne 0x43206c
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x402a90
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.0040441c
test esi, esi
jne 0x402ac6
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.0040450c
jmp 0x402ae4
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00402944
mov edi, eax
test esi, esi
je 0x402ae4
cmp dword [ebx], 0
je 0x402ae4
dec esi
jmp 0x402acd
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x403538
Capabilities:
Query or enumerate registry value

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

Function at 0x4042a0
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x458048], 0
je 0x404301
cmp word [0x45821c], 0xd7b2
jne 0x4042c9
cmp dword [0x458224], 0
jbe 0x4042c9
mov eax, 0x458218
call dword [0x458234]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x456054
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 0x404328
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x45601c], 0
jne 0x40431d
push 0
push 0x456074
push 0x456054
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x40a310
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 0x40a349
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.0040450c
jmp 0x40a352
mov eax, ebx
mov edx, esi
call fcn.00404470
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40aa04
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40a87c
mov eax, dword [0x4578f4]
cmp byte [eax], 0
je 0x40aa71
mov eax, dword [0x457738]
call fcn.00402e48
call fcn.00402870
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.0040897c
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 0x40aab8
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40aaa7
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x4576f0]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x458714]
call fcn.00405b38
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 0x40b56c
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 0x40b5d0
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.00404684
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00408668
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40b5d7
lea eax, [ebp - 0xc]
call fcn.0040441c
ret
Function at 0x42187c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x458a20
cmp dword [edi], 0
jne 0x4218f8
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x458a1c]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4565d4
mov ecx, 2
call fcn.00402904
mov edx, 0x421854
lea eax, [esi + 5]
call fcn.00421874
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00421874
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 0x4218cd
mov dword [0x458a1c], 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 0x422ad4
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 0x422ada
ret

Function at 0x424f1c
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 0x424f6d
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x424f54
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x424f44
jmp 0x424f6d
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 0x424f55
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42c7c4
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 0x42c710
call sub.user32.dll_EnumWindows
ret

Function at 0x42c8e8
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 0x42c965
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0042c334
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 0x42c90d
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.0042bf8c
cmp dword [ebp - 4], 0
je 0x42c94f
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.004048cc
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 0x42c96c
lea eax, [ebp - 4]
call fcn.0040441c
ret

Function at 0x42f524
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 [0x458ba8], 0
je 0x42f673
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x45789c]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x42f673
mov eax, dword [0x458bac]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x458ba8]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x42f642
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x458ba8]
call fcn.00418e58
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x42f63a
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x42f63a
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x42f63a
mov eax, dword [ebp - 0x14]
call fcn.00437f64
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x42f63a
push ebp
call fcn.0042f4e0
pop ecx
test al, al
jne 0x42f63a
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x42f5f6
mov eax, dword [ebp - 0x14]
call fcn.00436af8
dec eax
jle 0x42f63a
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.004038c4
cmp byte [ebp - 1], 0
je 0x42f63a
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x42f63a
mov edx, dword [ebp - 0x14]
mov eax, dword [0x458bac]
call fcn.0042eca8
inc edi
dec ebx
jne 0x42f589
mov eax, dword [0x458bac]
cmp dword [eax + 8], 0
jle 0x42f65a
mov eax, dword [0x458bac]
call fcn.0042ed38
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x42f673
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0042f348
pop ecx
test al, al
jne 0x42f673
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 0x432c20
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 0x432c6c
mov eax, esi
call fcn.004484f8
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x432c6c
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x432c6c
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 0x432dab
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x432cac
cmp eax, 0x108
ja 0x432cac
mov eax, esi
call fcn.004484f8
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x432da2
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xec]
test al, al
jne 0x432dab
jmp 0x432da2
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x432d8b
cmp eax, 0x20a
ja 0x432d8b
test byte [esi + 0x50], 0x80
jne 0x432cde
sub eax, 0x203
je 0x432cdb
sub eax, 3
je 0x432cdb
sub eax, 3
jne 0x432cde
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x432cf2
dec eax
je 0x432d07
dec eax
je 0x432d24
dec eax
je 0x432d07
jmp 0x432d2b
mov ecx, ebx
mov eax, dword [0x45789c]
mov eax, dword [eax]
mov edx, esi
call fcn.00451ac4
jmp 0x432da2
cmp byte [esi + 0x5d], 1
jne 0x432d1d
mov eax, esi
mov si, 0xffed
call fcn.004038c4
jmp 0x432dab
or word [esi + 0x54], 1
jmp 0x432da2
and word [esi + 0x54], 0xfffe
jmp 0x432da2
mov eax, dword [0x458b64]
cmp byte [eax + 0x20], 0
je 0x432da2
mov eax, dword [0x458b64]
cmp dword [eax + 0x1c], 0
je 0x432da2
mov eax, dword [ebx]
mov edx, dword [0x458b64]
cmp eax, dword [edx + 0x1c]
jne 0x432da2
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.0044843c
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.004038c4
jmp 0x432dab
cmp eax, 0xb00b
jne 0x432da2
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.0043155c
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