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

Disassembly:
rol edx, 1
neg edx
and eax, ecx
inc cl
and eax, ecx
inc edx
shr ecx, 0xf0
sub cl, ch
neg edx
shl cx, 0xca
xor ebx, edx
inc al
sar al, 0xe1
add ebp, edx
call fcn.0179f019
stc
sbb byte [edi - 0x134f605b], cl
and eax, 0x8d9464ed
invalid
inc ecx
mov eax, dword [ecx]
mov edx, 0xad3a368a
inc ecx
mov edi, dword [ecx + 4]
dec esp
lea edx, [edx*4 + 0x2c34bdaf]
not eax
not edi
dec eax
mov dword [esp], 0x9280efa3
shr dword [esp], 0xa1
and eax, edi
dec eax
inc dword [esp]
mov ebp, 0x5c122ebb
inc ecx
mov dword [ecx + ebp - 0x5c122eb7], eax
js 0x17871a7
call fcn.015ceee4
mov edx, 0xe1a17114
mov edx, dword [esi]
mov ecx, 0xaa0dfc24
mov cx, word [edx]
add esi, 2
mov word [esi], cx
mov ecx, 0x621bd8b5
lea edi, [edi + ecx - 0x621bd8b9]
lea edx, [ecx + ecx*2 + 0x3096041b]
mov edx, dword [edi + edx - 0x56e98e3a]
dec ecx
dec cx
movzx eax, cx
xor edx, ebx
rol eax, cl
jae 0x15f71c4
bound ebp, qword [esp + ebx*4 + 0x62a3dede]
lodsb al, byte [esi]
pushfd
invalid
jg 0x178716b
jns 0x1787145
add byte [eax + ebx*4], dh
push ss
mov word [ecx + ebp], ds
imul ebx, dword [ebx], 0xe5bf1239
xchg ebp, eax
and edi, dword [ecx]
adc bh, byte [edi + 0x394fe55d]
adc bh, byte [edi + 0x61225d51]
cmp dword [edx], edx
mov edi, 0x61225d51
test dword [ebx], ebp
enter 0x33d1, 0x43
add ch, byte [ecx - 0x4f5b765f]
cmp dword [eax + 0x6a2f546e], eax
sub byte [esp + eax*4], dh
mov eax, dword [0x39b0a489]
sub byte [esi + 0x54], 0x2f
push 0x28
xor al, 0x84
fcom dword [ebx - 0x5d]
pop esp
cmp edx, edi
pop edx
bound ebp, qword [esp + ebx*4 + 0x626a3317]
lodsb al, byte [esi]
pushfd
out 0x7f, eax
and ah, byte [edx - 0x54]
pushfd
das
and edx, dword [esi + 0x62]
lodsb al, byte [esi]
pushfd
js 0x178717a
xchg byte [esi], ch
jle 0x16918b0
out dx, al
adc dword [edx - 0x33455171], ebx
or esi, esp
je 0x1787151
scasb al, byte es:[edi]
scasb al, byte es:[edi]
call 0x1a725e58
invalid

Function at 0x16733c1
Capabilities:
Get number of processors

Disassembly:
jne 0x16a2344
js 0x161f0da
add dl, 0x9e
or ax, ax
mov dword [esp + eax - 0xe91d], 0xc4b64422
and eax, eax
not dl
or dword [esp + eax - 0xe91d], 0x11b8d439
not ax
xor bl, dl
shr cl, 0x43
sub byte [esp + eax - 0x16e1], ah
lea edx, [esp + edx + 4]
push ecx
jno 0x17893dc
Function at 0x169453a
Capabilities:
Encode data using xor

Disassembly:
dec esp
add esi, edx
dec ebx
lea ebp, [edi + edi*2 + 0x798c0c81]
inc esp
movzx edx, word [esi + ebx - 0x16]
dec eax
mov dword [esp + esi*4 - 0x28], 0xe7911418
inc bp
xor edx, ebx
inc ecx
push eax
inc ecx
inc eax
movsx eax, word [esp + esi*2 - 0x1d]
inc cx
sub edx, 0xf7661b1e
pop esp
je 0x16520ae
inc eax
or byte [esp + esi*2 - 4], ch
inc cx
neg edx
call fcn.0166ddbc
inc ecx
ror edx, 1
inc ecx
dec edx
dec esp
lea eax, [eax + ecx*8 + 0x53041c36]
dec esp
mov dword [esp + ebp - 0xea27], ebx
inc esp
xor dword [esp + ebp*2 - 0x1d44e], edx
inc ecx
sar ah, 0x66
dec edx
lea esi, [eax*2 - 0x5fc4e5d5]
dec eax
neg edx
inc ecx
pop ebx
call fcn.015ddd91
inc ecx
push ebx
xor dword [esp + esi*2 - 0x20], edx
inc ecx
push eax
push esi
push esi
dec esp
mov ebx, dword [esp + esi*8 - 0x68]
inc ecx
mov edi, 0x17917db8
not word [esp + esi - 0xc]
dec eax
arpl dx, dx
jmp 0x1751fe1
jmp 0x1652094

Function at 0x169e1da
Capabilities:
Encode data using xor

Disassembly:
movzx dx, byte [edx + eax - 0x64a9ae31]
add esi, 2
pop ecx
mov word [esi], dx
add byte [eax], al
add byte [ecx + 0x66], bl
mov dword [esi], edx
sub edi, 4
mov edx, 0xbebe3601
rol edx, 0x6b
lea edx, [edx*2 - 0x1b562b5d]
mov eax, dword [edi]
xor eax, ebx
sal edx, 0x55
xor dl, 0x9d
not eax
mov ecx, 0xf43173a4
rol eax, 3
not eax
not dx
ror eax, 2
lea eax, [eax + edx*8 + 0x65a0c0a4]
call fcn.015efaee
std
setle byte [edi + 0x2be2b19f]
in eax, dx
je 0x169e1e6
xchg byte [ebx - 0x56767113], ah
mov esp, 0xed8148e9
dec eax
sub ebp, 0x990ecb8b
dec eax
mov dword [esp + ebp - 0x66f2179d], 0xed043693
inc ebp
xor eax, ebx
inc ecx
rol ebp, 0xfe
call fcn.01757da5
dec ecx
mov ecx, dword [ecx]
mov eax, 0x122bf5a6
dec esi
lea ecx, [eax + ecx - 0x122bf59e]
inc esp
movzx esp, al
mov edi, dword ss:[ecx + eax*2 - 0x2457eb4c]
jmp 0x15defd2

Function at 0x16a41d2
Capabilities:
Encrypt data using speck

Disassembly:
inc ecx
and edi, 0xff
inc edi
mov edi, dword [edx + edi*4]
shr ecx, 8
jmp 0x17a9a41
inc ecx
xor ecx, edi
dec eax
inc eax
xor ecx, 0xb32e97a9
dec eax
dec esi
push 0xc5277616
dec eax
lea esp, [esp + 0x18]
jne 0x1609245

Function at 0x1742143
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
bts dx, di
mov edx, dword [ebp + 8]
lea esp, [esp - 0x114]
cmc
push esi
stc
cmc
test edx, edx
jmp 0x121fcbe
Function at 0x1769a83
Capabilities:
Encode data using xor

Disassembly:
xor ecx, 0x598f4793
inc ebp
movzx ebp, al
dec edx
lea ebp, [edx + eax - 0x1d7bb4e0]
dec eax
mov dword [esp + esi + 8], esi
rol ecx, 3
dec esp
mov dword [esp + esi*2 + 0x10], ebp
dec esi
add dword [esp + eax*4 + 0x10], ebx
adc byte [esi + 1], cl
pop esp
test byte [eax], dl
inc esp
mov edi, ebp
movzx eax, byte [esp + esi + 0xa]
xor dword [esp + esi*8 + 0x10], ecx
inc ebp
movsx esp, ax
call fcn.015fadeb
enter 0x2fe7, 0x70
stosb byte es:[edi], al
lodsb al, byte [esi]
xchg edx, eax
out dx, eax
scasd eax, dword es:[edi]
sub ch, byte [esi - 0x50d90046]
sub ah, ah
fisub word [edi + 0x522aaf26]
sub al, byte [edi + 0x26]
scasd eax, dword es:[edi]
sub dh, byte [esi + ebp + 0x5f]
scasd eax, dword es:[edi]
sub al, al
sahf
mul dword [esi]
scasd eax, dword es:[edi]
sub cl, byte [esi]
mov al, byte [0x2aaf26ff]
adc byte [eax + 0x3f], cl
scasd eax, dword es:[edi]
sub bl, byte [edx]
outsd dx, dword cs:[esi]
scasd eax, dword es:[edi]
sub cl, byte [esi - 0xfe68a7a]
ror dword [ebx], 0x40
aad 0xbc
pop es
and byte [edx], dh
push ebp
cmp dword [eax], ebp
xchg esi, eax
loop 0x1769aa1
or eax, 0x34d62bbc
or bl, bh
jp 0x1769b49
cdq
and dword [ecx], eax
add eax, 0x4b66b065
adc ebx, dword [edx - 0x69]
invalid
invalid

Function at 0x177129c
Capabilities:
Encode data using xor

Disassembly:
rol eax, cl
xadd dx, cx
sal cx, 0xce
call fcn.0122002f
dec ebp
arpl sp, sp
call fcn.01219b1f
add byte [edi + 0x64], ah
imul esi, dword [ebx], 0x6c642e32
insb byte es:[edi], dx
add byte [esi + 0x43], ah
inc bx
mov dword [ecx + ebp - 0x7aa2dbb8], ecx
jne 0x17a3a72
xchg ecx, eax
or al, 0xdc
popfd
out 0x1e, al
pushal
mov ah, 0x76
mov esi, 0xb4085a3e
jbe fcn.0177129c
push esi
pop esi
adc byte [esi + esi*2 + 0x286a0ebe], dh
mov ah, 0x76
mov esi, 0xb44cfa36
jbe 0x17712ae
xor bh, byte [eax + 0x2ae1ece9]
add ebx, dword [ebx + edx*8 + 0x3d]
fimul dword [edi]
stc
mov byte [eax - 0xb], ch
push edi
xor dword [ebx + ecx*4 - 0x5b], 0x3e3eca71
inc esi
xor dword [esp + ebx*2 + 0xd059a5], ebp
mov dword [0xc8ad9d9c], eax
add byte [ebx - 0x5f363a64], ah
add byte [ebx - 0x27721264], ah
add byte [ebx - 0x76480964], ah
aam 0x9f
lds si, [edi + esi*4 + 0x3b]
invalid
dec edx
mov dword [esp + ebp - 0x7aa2dbba], esi
dec edi
mov esp, dword [ebp + ecx - 0x7aa2dbb8]
dec edx
or dword [esp + ebp - 0x7aa2dbba], eax
js 0x1223951
inc si
xadd dword [esp + ebp - 0x7aa2dbb8], eax
inc ebx
mov cl, byte [ecx + ebp - 0x7aa2dbb0]
dec ecx
ror edi, 0xda
inc ebp
movzx edx, di
bswap ebp
dec ecx
shl esp, cl
dec ecx
neg eax
dec edi
mov dword [ecx + edi - 0x2dfffc], esp
inc edx
seto byte [esp + edi - 0x2e0000]
inc ecx
inc ch
dec edi
lea ecx, [edi + ecx - 0x2dfffc]
dec esi
mov dword [esp + edi*4 - 0xb80000], esi
ret
Function at 0x178c4fa
Capabilities:
Encode data using xor

Disassembly:
ret 0xff49
add byte [ebx + ecx*4 - 0x18], al
inc esp
mov ebp, eax
rol ebp, 1
xor ebp, 0x7a66798
inc ebp
movzx edx, ch
inc edx
shl dword [esp - 0x5cdab4a8], 0xd7
inc eax
sub bh, 0x2f
ror ebp, 3
dec esp
mov dword [esp + eax*2 - 0xb0], esp
call fcn.01747c89
test bh, cl
sub al, 0x6b
salc
pop es
fist dword [ebp - 0x140a3e6c]
ja 0x178c4f9
xchg esp, eax
sal ebp, 0x3b
dec ebx
std
xchg esp, eax
sal ebp, 0x83
sti
loope 0x178c4d5
sal ebp, 0xbf
ror ecx, cl
xchg esp, eax
sal ebp, 0xd7
inc ebp
add ah, cl
push esi
popal
ljmp 0x9e1b
Function at 0x4028b8
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebx
push esi
add esp, 0xfffffdf0
mov esi, edx
mov ebx, eax
test bl, bl
je 0x4028f5
xor eax, eax
mov al, bl
add eax, 0x41
dec eax
mov byte [esp], al
mov byte [esp + 1], 0x3a
mov byte [esp + 2], 0
lea eax, [esp + 0x109]
push eax
push 0x105
call sub.kernel32.dll_GetCurrentDirectoryA
push esp
call sub.kernel32.dll_SetCurrentDirectoryA
lea eax, [esp + 4]
push eax
push 0x105
call sub.kernel32.dll_GetCurrentDirectoryA
test bl, bl
je 0x402915
lea eax, [esp + 0x109]
push eax
call sub.kernel32.dll_SetCurrentDirectoryA
mov eax, esi
lea edx, [esp + 4]
mov ecx, 0x105
call fcn.00404390
add esp, 0x210
pop esi
pop ebx
ret

Function at 0x402aec
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.00404120
test esi, esi
jne 0x402b22
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.00404210
jmp 0x402b40
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00402a00
mov edi, eax
test esi, esi
je 0x402b40
cmp dword [ebx], 0
je 0x402b40
dec esi
jmp 0x402b29
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x402df0
Capabilities:
Generate random numbers using the delphi lcg

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

Function at 0x403248
Capabilities:
Query or enumerate registry value

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

Function at 0x403fa4
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x46c048], 0
je 0x404005
cmp word [0x46c21c], 0xd7b2
jne 0x403fcd
cmp dword [0x46c224], 0
jbe 0x403fcd
mov eax, 0x46c218
call dword [0x46c234]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x46a070
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 0x40402c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x46a034], 0
jne 0x404021
push 0
push 0x46a068
push 0x46a070
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x405ca8
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 0x405d0e
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.00404390
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402e0c
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x405cf8
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405d15
lea eax, [ebp - 0x10]
call fcn.00404120
ret

Function at 0x40aed4
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 0x40af0d
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404210
jmp 0x40af16
mov eax, ebx
mov edx, esi
call fcn.00404174
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40b5c8
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40b440
mov eax, dword [0x46b9f0]
cmp byte [eax], 0
je 0x40b644
mov eax, dword [0x46b7f8]
call fcn.00402c20
call fcn.00402844
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.0040860c
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 0x40b68c
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40b67a
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x46b7a4]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x46c664]
call fcn.004051bc
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 0x40bee0
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 0x40bfb6
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.004041b8
lea eax, [ebp - 8]
call fcn.00404630
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.004045e0
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40bfa0
mov eax, ebx
call fcn.004026dc
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40bf99
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.004045e0
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40bf83
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40bfc8
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40bf83
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 0x40bfa0
mov eax, dword [ebp - 0x10]
call fcn.004026fc
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40bfbd
lea eax, [ebp - 8]
call fcn.00404120
ret

Function at 0x40c4c0
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 0x40c524
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.00404390
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00408154
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c52b
lea eax, [ebp - 0xc]
call fcn.00404120
ret

Function at 0x41a69c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x46c884
cmp dword [edi], 0
jne 0x41a718
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x46c880]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x46a470
mov ecx, 2
call fcn.004029c0
mov edx, 0x41a674
lea eax, [esi + 5]
call fcn.0041a694
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041a694
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 0x41a6ed
mov dword [0x46c880], 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 0x41bc9c
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 0x41bca2
ret
Function at 0x42b56c
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 0x42b4b8
call sub.user32.dll_EnumWindows
ret

Function at 0x42b68c
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 0x42b709
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0042b0ec
call sub.kernel32.dll_GetTickCount_1
mov ebx, eax
push 0
call sub.kernel32.dll_Sleep
call sub.kernel32.dll_GetTickCount_1
sub eax, ebx
cmp eax, 0x3e8
jbe 0x42b6b1
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.0042acec
cmp dword [ebp - 4], 0
je 0x42b6f3
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.004045e0
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 0x42b710
lea eax, [ebp - 4]
call fcn.00404120
ret

Function at 0x42e514
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 [0x46cb54], 0
je 0x42e663
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x46b990]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x42e663
mov eax, dword [0x46cb58]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x46cb54]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x42e632
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x46cb54]
call fcn.00413bd8
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x42e62a
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x42e62a
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x42e62a
mov eax, dword [ebp - 0x14]
call fcn.004370c4
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x42e62a
push ebp
call fcn.0042e4d0
pop ecx
test al, al
jne 0x42e62a
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x42e5e6
mov eax, dword [ebp - 0x14]
call fcn.00435bf4
dec eax
jle 0x42e62a
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.004035cc
cmp byte [ebp - 1], 0
je 0x42e62a
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x42e62a
mov edx, dword [ebp - 0x14]
mov eax, dword [0x46cb58]
call fcn.0042dc9c
inc edi
dec ebx
jne 0x42e579
mov eax, dword [0x46cb58]
cmp dword [eax + 8], 0
jle 0x42e64a
mov eax, dword [0x46cb58]
call fcn.0042dd2c
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x42e663
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0042e338
pop ecx
test al, al
jne 0x42e663
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 0x431c28
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 0x431c74
mov eax, esi
call fcn.004471ac
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x431c74
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x431c74
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 0x431db3
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x431cb4
cmp eax, 0x108
ja 0x431cb4
mov eax, esi
call fcn.004471ac
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x431daa
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xf0]
test al, al
jne 0x431db3
jmp 0x431daa
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x431d93
cmp eax, 0x20a
ja 0x431d93
test byte [esi + 0x50], 0x80
jne 0x431ce6
sub eax, 0x203
je 0x431ce3
sub eax, 3
je 0x431ce3
sub eax, 3
jne 0x431ce6
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x431cfa
dec eax
je 0x431d0f
dec eax
je 0x431d2c
dec eax
je 0x431d0f
jmp 0x431d33
mov ecx, ebx
mov eax, dword [0x46b990]
mov eax, dword [eax]
mov edx, esi
call fcn.004509f8
jmp 0x431daa
cmp byte [esi + 0x5d], 1
jne 0x431d25
mov eax, esi
mov si, 0xffed
call fcn.004035cc
jmp 0x431db3
or word [esi + 0x54], 1
jmp 0x431daa
and word [esi + 0x54], 0xfffe
jmp 0x431daa
mov eax, dword [0x46cb10]
cmp byte [eax + 0x20], 0
je 0x431daa
mov eax, dword [0x46cb10]
cmp dword [eax + 0x1c], 0
je 0x431daa
mov eax, dword [ebx]
mov edx, dword [0x46cb10]
cmp eax, dword [edx + 0x1c]
jne 0x431daa
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.004470f0
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.004035cc
jmp 0x431db3
cmp eax, 0xb00b
jne 0x431daa
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.00430564
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