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

Disassembly:
dec esp
push ecx
cmpsd dword [esi], dword es:[edi]
and bl, byte [edx]
cmp dword [edi - 0x263e7c73], ebp
adc byte [ebx - 0x505fc47f], 0x61
pushal
inc edi
iretd
pop ss
xchg esp, eax
invalid
mov ecx, 0xa7f59323
sub eax, 0x60b3385d
jno 0x50ace0
xchg ecx, eax
salc
stc
out dx, eax
adc dword [eax + ebx - 0x68c90da], edx
xchg ecx, eax
pop ds
in eax, dx
adc ecx, dword [ebx + 0x5dc71046]
rol al, 1
inc ebp
xor dword [eax], esp
mov dl, 0x28
and byte [ecx + 0x6c], al
loop 0x50ad1b
lodsd eax, dword [esi]
mov edi, 0x8d44a584
test eax, 0xe9a55936
xlatb
invalid
push ss
popal
xchg dword gs:[0xac690338], edx
xlatb
ja 0x50ad90
leave
cmp eax, dword es:[esi + esi*8 - 0x6f66df22]
jbe 0x50ad09
sahf
xlatb
fldenv [edi + 0x55177827]
cmp dword [eax], 0xa9fd3493
cld
pop esi
sbb al, 0xa1
sbb byte [ecx], 0xd7
xlatb
or edi, ebp
rcl dword [edi]
mov al, byte [0x317cff7b]
imul edi, esi, 0x26
push ss
inc edi
cmp ah, cl
jb 0x50ad25
pop edi
sub dl, 0x85
adc al, 0xce
and ah, bh
ret
Function at 0x513134
Capabilities:
Encode data using xor

Disassembly:
int1
or eax, dword [edx + 0x793e018d]
pop es
push esp
xor eax, 0xd3db65f1
fcmovnbe st(0), st(3)
inc ecx
xlatb
insd dword es:[edi], dx
inc edi
in eax, dx
ja 0x5130d5
in al, dx
add dword [ebp + 0x76], 0x2113f337
aam 0xf1
pop ss
enter 0x4121, 0xfffffffffffffff5
xor cl, byte [esi + 0x49edf288]
sbb ch, 0x47
or al, 0xc9
xchg edi, eax
jge 0x513169
scasd eax, dword es:[edi]
not dword [ecx - 0x223d41ce]
outsd dx, dword [esi]
arpl word [esi], cx
invalid
and dh, byte [ecx - 0x45d1fcb7]
stosd dword es:[edi], eax
dec edx
dec esi
jmp 0x5130e1
jnp fcn.00513134
jo 0x513102
dec ecx
sub bl, ah
cmpsd dword [esi], dword es:[edi]
int3
stc
daa
enter 0xffffffffffff9a04, 0x7f
jg 0x513198
daa
mov al, byte [0xe3c2ce37]
pop es
inc ecx
adc eax, 0x4501146f
and eax, 0x98abe05b
or al, 0x62
push esp
xor dword [esi + 0x21], esi
rcl dword [esi - 0x62]
or byte [ebx + 1], bl
dec ebx
clc
idiv byte [ebp + 0x7d]
xlatb
xor dh, ch
add esi, dword [ebx - 0x781441]
sbb ah, byte [eax + 0x53362926]
mov edi, 0x1aff87eb
mov al, byte [0x53362926]
movsd dword es:[edi], dword [esi]
inc ebx
fstp xword [ebx - 0x467c5935]
jae 0x51316f
mov bl, 0x37
mov dword [0x64fb7c6d], eax
shl dword [ecx + esi*4 + 0x3b], cl
mov al, byte [0x87999f59]
and al, 0x84
push esi
out dx, al
jecxz 0x513152
adc dword [esi + 0x26c57c37], edx
xor edi, dword [0x32e602f7]
test byte [esi + eax*4 - 0x22], ch
arpl word [edi - 0x4ec84bfc], sp
sbb dword [ebx + 0x76], ecx
xchg esp, eax
mov ah, 0x37
mov cl, 0x19
dec ebx
jbe 0x513170
push esi
in eax, 0x43
and dword [edi + 0x7003448], esp
add edi, ebx
and ebp, dword [ebp - 0x1cfc2ece]
sbb al, 0xa0
add byte [esi - 0xc], ah
push ebp
loope 0x5131d5
push ds
and dh, byte [esi]
loopne 0x5131ed
jno 0x51324c
jbe 0x513234
pop es
inc ebx
sub edx, esi
mov dh, 0x36
push ebp
xchg byte [esi + 0x3d5ff761], bh
invalid
movsd dword es:[edi], dword [esi]
iretd
enter 0xffffffffffffb178, 0xffffffffffffffe1
add ebp, eax
jp 0x513212
xor al, 0xc1
add dh, cl
out 0x36, eax
int1
inc esi
mov esi, 0x91750b58
sbb dh, byte [ebx + 0xb2ad33d]
outsb dx, byte [esi]
ffree st(1)
add dword [edi + eax*4 - 1], edi
shr dword [edx], cl
or ebp, dword [esi - 0x23]
rol dword [ecx], 0x7c
xchg edi, edi
in eax, dx
in al, dx
jb 0x51327e
in eax, dx
neg dword [ecx + 0x478167e4]
cli
xchg edi, eax
push ecx
add byte [ebx - 0x1f], bh
aaa
mov eax, dword [0xc501e1f4]
pop edx
cmc
pop ecx
invalid
xor ah, dh
invalid

Function at 0x513404
Capabilities:
Encode data using xor

Disassembly:
aam 0x79
xchg dword [ecx - 0x6c], edx
and ebx, ebx
daa
adc byte [edx + 0x77], al
sal dword [edi + 0x79b371c8], 1
inc esp
mov byte [ecx - 0x3ffd6bbd], bh
fisttp qword es:[edi - 0x32]
xchg edi, eax
xlatb
push ds
xchg esi, eax
ja 0x51349c
arpl word [ebp + 0x7340e635], dx
shr dword ss:[ecx], 1
push ebx
sal dword [edi - 0x29], 1
aaa
xor al, 0x6f
invalid
xchg ecx, eax
invalid
mov bl, 0x6b
push eax
jle 0x513448
mov esi, 0x43791964
xchg ebp, esi
ret 0x9765
Function at 0x525df0
Capabilities:
Encode data using xor

Disassembly:
int3
push ebx
cmp eax, 0xad2351c
mov ds, edx
sub byte [edi + ecx*8], bh
add esp, dword [ebx + 0x4a]
dec edx
mov ebx, 0x4eb8f01
cmp eax, 0x73ee7a6b
mul byte [0xba0697a8]
xor byte [ebx + 0x6a], al
aas
lea ebx, [esi - 0x4b]
cmp ah, cl
pop es
or ebx, dword [ecx + 0x3c]
xchg ebp, eax
aaa
dec esp
mov dword [0x3f8df602], eax
mov ecx, 0x8cdd8ab8
jg 0x525dfd
or bh, byte [esi]
js 0x525db0
xor cl, byte [edx + esi*8 + 0x5d]
cmp eax, 0x735e8673
outsd dx, dword [esi]
sub eax, dword [ecx - 0x28]
aas
ja 0x525eb2
add dword [ebp - 0x4b810c41], ecx
sub edx, ecx
or byte [ebp + ebp + 0x1c429e72], ah
into
xor byte [esi + 0x4bdff1cf], al
pop ecx
pop ebp
cmc
jne 0x525e91
xor dword [ebx], edi
sti
xor esi, dword [eax + 0x7ba97362]
clc
sbb bh, cl
adc dword [eax - 0x6ac2ab0e], 0x77
dec ebx
cmp ah, al
stc
dec ecx
invalid
ret
popal
cmp eax, 0x44de7032
not byte [0xce4cf5b4]
imul esi, dword [ebp + esi + 0x36], 0x5c4bfac9
pop ebp
cmc
jle 0x525f01
xor dword [esi], esi
sti
mov cl, 0xc3
je 0x525ef6
mov dword ss:[ebx + 0x7c0077f], edi
xor dword [ecx + ecx*8 + 0xa], edi
add al, cl
mov bh, 3
invalid
aad 7
xor dh, byte [ecx + eax*8 + 0x30440fd7]
dec esp
div byte [ebx]
cmp edx, eax
cmp ecx, edi
nop
cli
xchg ecx, eax
xor dword [ebx], ecx
invalid
xor edi, dword [ecx]
ret 0xf939

Function at 0x59ce14
Capabilities:
Encode data using xor

Disassembly:
stc
test eax, 0xc44161b0
prefetchw byte gs:[ebp - 0x4d]
and byte [0x69944a8f], dh
lea ecx, [ebx + 0x48]
sub dword [ebx - 0x20], ebx
xchg dword [edx + 0x3008e8ac], ecx
adc al, 0x23
and eax, 0xfcc2ba05
lodsb al, byte [esi]
adc byte [edx + edi*4 + 0x46ac7da3], cl
aas
add eax, 0x75416b83
test dword [ecx - 0xc], ebp
and eax, 0x11d434e5
bound ebp, qword [edi + 0x74]
add bl, ah
mov ebx, 0x709a4db
adc eax, 0x14abbed1
mov al, 0x26
not dword [eax - 0x5e]
scasd eax, dword es:[edi]
daa
test byte [ecx], dh
cmp ch, byte [ebp + 0x3b]
push esp
inc ebp
outsd dx, dword [esi]
mov eax, 0xd54380a2
mov ebx, 0x15b4a5a4
adc al, 0x16
mov ebp, 0x416c49da
rol dword [ebp - 0x60], cl
add eax, 0xc1fb6215
sbb edi, dword [ebx + 0x43e70a2d]
xor dword [edi - 0x79], edx
adc eax, 0xfb6c01a
xchg esp, eax
sub esi, dword [ecx]
mov al, byte [0x95fa9ea6]
fdivr qword [esi + 0x32a42ec8]
movsb byte es:[edi], byte [esi]
mov ecx, 0xf4229716
sub dword [edx + 0x7ae5fe4b], esi
invalid
Function at 0x5bcb74
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x472754
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4a2008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
xorps xmm0, xmm0
push 1
movups xmmword [esi], xmm0
push 0x48f868
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
call fcn.005f0064
mov dword [ebp - 4], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov byte [ebp - 4], 1
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov byte [ebp - 4], 2
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov byte [ebp - 4], 3
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov byte [ebp - 4], 4
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], 0
mov byte [ebp - 4], 5
mov ecx, dword [0x4a2a48]
mov eax, dword [0x4a2a4c]
add ecx, 1
mov dword [esi + 0x58], 0
mov dword [esi + 0x5c], 0
adc eax, 0
mov dword [esi + 0x60], 0
mov dword [esi + 0x64], 0
mov dword [0x4a2a4c], eax
mov dword [esi + 0x6c], eax
mov dword [esi + 0x68], ecx
mov eax, dword [esi + 0x20]
sub eax, dword [esi + 0x18]
sar eax, 3
mov dword [0x4a2a48], ecx
cmp eax, 0x64
jae 0x5bcc97
push ecx
lea ecx, [esi + 0x18]
call fcn.005dc394
mov eax, dword [esi + 0x2c]
sub eax, dword [esi + 0x24]
sar eax, 3
cmp eax, 0x14
jae 0x5bccae
push ecx
lea ecx, [esi + 0x24]
call fcn.005dc2a4
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x606204
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x472754
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4a2008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
xorps xmm0, xmm0
push 1
movups xmmword [esi], xmm0
push 0x48f868
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
call fcn.006396f4
mov dword [ebp - 4], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov byte [ebp - 4], 1
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov byte [ebp - 4], 2
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov byte [ebp - 4], 3
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov byte [ebp - 4], 4
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], 0
mov byte [ebp - 4], 5
mov ecx, dword [0x4a2a48]
mov eax, dword [0x4a2a4c]
add ecx, 1
mov dword [esi + 0x58], 0
mov dword [esi + 0x5c], 0
adc eax, 0
mov dword [esi + 0x60], 0
mov dword [esi + 0x64], 0
mov dword [0x4a2a4c], eax
mov dword [esi + 0x6c], eax
mov dword [esi + 0x68], ecx
mov eax, dword [esi + 0x20]
sub eax, dword [esi + 0x18]
sar eax, 3
mov dword [0x4a2a48], ecx
cmp eax, 0x64
jae 0x606327
push ecx
lea ecx, [esi + 0x18]
call fcn.00625a24
mov eax, dword [esi + 0x2c]
sub eax, dword [esi + 0x24]
sar eax, 3
cmp eax, 0x14
jae 0x60633e
push ecx
lea ecx, [esi + 0x24]
call fcn.00625934
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x64d30d
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x6553a8
cmp edx, dword [eax]
je 0x64d32f
add eax, 8
inc ecx
cmp eax, 0x655438
jl 0x64d320
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x6553a8]
jne 0x64d45d
mov eax, dword [0xa58d00]
cmp eax, 1
je 0x64d437
test eax, eax
jne 0x64d360
cmp dword [0x6552d4], 1
je 0x64d437
cmp edx, 0xfc
je 0x64d45d
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x64d397
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.0064dcf0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0064e180
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x64d3da
lea eax, [ebp - 0x1a4]
push eax
call fcn.0064e180
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x652804
push edi
call fcn.00650050
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.0064dcf0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0064dd00
lea eax, [ebp - 0xa0]
push 0x6527e4
push eax
call fcn.0064dd00
push dword [esi + 0x6553ac]
lea eax, [ebp - 0xa0]
push eax
call fcn.0064dd00
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0064ffc4
add esp, 0x2c
pop edi
jmp 0x64d45d
lea eax, [ebp + 8]
lea esi, [esi + 0x6553ac]
push 0
push eax
push dword [esi]
call fcn.0064e180
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x402d6c
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 0x402da9
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 0x402dc9
lea eax, [esp + 0x109]
push eax
call sub.kernel32.dll_SetCurrentDirectoryA
mov eax, esi
lea edx, [esp + 4]
mov ecx, 0x105
call fcn.004053c0
add esp, 0x210
pop esi
pop ebx
ret

Function at 0x402fa8
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x403001
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
call sub.kernel32.dll_GetCommandLineA
lea edx, [ebp - 8]
call fcn.00402e44
mov dword [ebp - 4], eax
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00402e44
mov dword [ebp - 4], eax
cmp dword [ebp - 8], 0
je 0x402feb
inc ebx
jmp 0x402fd4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x403008
lea eax, [ebp - 8]
call fcn.00405140
ret

Function at 0x403010
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
add esp, 0xfffffef4
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00405140
test esi, esi
jne 0x403047
push 0x105
lea eax, [esp + 8]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
lea edx, [esp + 4]
mov eax, ebx
call fcn.00405230
jmp 0x403068
call sub.kernel32.dll_GetCommandLineA
mov dword [esp], eax
mov edx, ebx
mov eax, dword [esp]
call fcn.00402e44
mov dword [esp], eax
test esi, esi
je 0x403068
cmp dword [ebx], 0
je 0x403068
dec esi
jmp 0x40304f
add esp, 0x10c
pop esi
pop ebx
ret

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

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

Function at 0x40415c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x4dd024]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x4041f4
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x4041d4
xor eax, eax
push ebp
push 0x4041cd
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 0x404210
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 0x4041d4
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x4dd024]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x4dd024], ax
mov esp, ebp
pop ebp
ret
Function at 0x404f38
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4e304c], 0
je 0x404f99
cmp word [0x4e3220], 0xd7b2
jne 0x404f61
cmp dword [0x4e3228], 0
jbe 0x404f61
mov eax, 0x4e321c
call dword [0x4e3238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x4dd094
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 0x404fc0
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x4dd034], 0
jne 0x404fb5
push 0
push 0x4dd08c
push 0x4dd094
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x4050f4
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.00402b60
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x4e304d], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x4050bc
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x40e454
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 0x40e4b8
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.004053c0
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00409c6c
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40e4bf
lea eax, [ebp - 0xc]
call fcn.00405140
ret

Function at 0x422cac
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov al, byte [eax + 0xe]
mov byte [ebp - 5], al
xor eax, eax
push ebp
push 0x422cf9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0xe], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_SuspendThread
test eax, eax
setge dl
mov eax, dword [ebp - 4]
call fcn.00422a9c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x422d11
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x422d18
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.00422a9c
dec esi
jne 0x422d3a
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret

Function at 0x423e7c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x4e388c
cmp dword [edi], 0
jne 0x423ef8
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x4e3888]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4dd4e8
mov ecx, 2
call fcn.00402e04
mov edx, 0x423e54
lea eax, [esi + 5]
call fcn.00423e74
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00423e74
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 0x423ecd
mov dword [0x4e3888], 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 0x425564
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 0x42556a
ret
Function at 0x427bd4
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 0x427c25
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x427c0c
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x427bfc
jmp 0x427c25
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 0x427c0d
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x437958
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
mov al, byte [ebp + 8]
call fcn.004372e8
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push 0
mov eax, edi
call fcn.00405610
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x4379b6
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4e240c]
mov dl, 1
mov eax, dword [0x437174]
call fcn.0040d62c
call fcn.00404ad0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x4379c0
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.00405610
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x437a18
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4e2784]
mov dl, 1
mov eax, dword [0x437174]
call fcn.0040d62c
call fcn.00404ad0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00437318
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 0x43dac0
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 0x43da0c
call sub.user32.dll_EnumWindows
ret

Function at 0x43dbe0
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 0x43dc5d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0043d640
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 0x43dc05
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.0043d240
cmp dword [ebp - 4], 0
je 0x43dc47
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.00405610
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 0x43dc64
lea eax, [ebp - 4]
call fcn.00405140
ret
Function at 0x440f90
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 [0x4e3b5c], 0
je 0x4410df
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x4e24d8]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x4410df
mov eax, dword [0x4e3b60]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x4e3b5c]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x4410ae
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x4e3b5c]
call fcn.0041abdc
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x4410a6
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x4410a6
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x4410a6
mov eax, dword [ebp - 0x14]
call fcn.00449c60
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4410a6
push ebp
call fcn.00440f4c
pop ecx
test al, al
jne 0x4410a6
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x441062
mov eax, dword [ebp - 0x14]
call fcn.00448758
dec eax
jle 0x4410a6
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.004044f8
cmp byte [ebp - 1], 0
je 0x4410a6
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x4410a6
mov edx, dword [ebp - 0x14]
mov eax, dword [0x4e3b60]
call fcn.00440718
inc edi
dec ebx
jne 0x440ff5
mov eax, dword [0x4e3b60]
cmp dword [eax + 8], 0
jle 0x4410c6
mov eax, dword [0x4e3b60]
call fcn.004407a8
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x4410df
push ebp
mov eax, dword [ebp - 0x18]
call fcn.00440db4
pop ecx
test al, al
jne 0x4410df
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