joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44a210
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
push esi
mov esi, dword [esp + 0xc]
push edi
xor ebp, ebp
push str.Kernel32
mov dword [esi], ebp
mov dword [esi + 4], ebp
mov dword [esi + 8], ebp
mov dword [esi + 0xc], ebp
mov dword [esi + 0x10], ebp
mov dword [esi + 0x14], ebp
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
cmp edi, ebp
je 0x44a2b0
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.CreateToolhelp32Snapshot
push edi
call ebx
push str.Thread32First
push edi
mov dword [esi + 4], eax
call ebx
push str.Thread32Next
push edi
mov dword [esi + 8], eax
call ebx
push str.Module32FirstW
push edi
mov dword [esi + 0xc], eax
call ebx
push str.Module32NextW
push edi
mov dword [esi + 0x10], eax
call ebx
mov ecx, dword [esi + 4]
mov dword [esi + 0x14], eax
cmp ecx, ebp
pop ebx
je 0x44a2a7
cmp dword [esi + 8], ebp
je 0x44a2a7
cmp dword [esi + 0xc], ebp
je 0x44a2a7
cmp dword [esi + 0x10], ebp
je 0x44a2a7
cmp eax, ebp
je 0x44a2a7
push edi
mov dword [esi], 1
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, esi
pop edi
pop esi
pop ebp
ret
push edi
mov dword [esi], ebp
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, esi
pop edi
pop esi
pop ebp
ret

Function at 0x44dc57
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.00481147
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 0x44dd7a
push ecx
lea ecx, [esi + 0x18]
call fcn.0046d477
mov eax, dword [esi + 0x2c]
sub eax, dword [esi + 0x24]
sar eax, 3
cmp eax, 0x14
jae 0x44dd91
push ecx
lea ecx, [esi + 0x24]
call fcn.0046d387
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 0x478497
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
sbb eax, 0x8bce4ee5
lds ecx, [esi]
push cs
sub esp, esi
jns 0x478503
cmp edx, esp
mov edx, 0x7c00053b
ror edi, 0xe2
dec edi
test byte [ebx + edx*8], dl
daa
xor eax, 0x2d296554
xchg edi, eax
stosb byte es:[edi], al
cdq
add eax, 0x7d5fde9
leave
scasd eax, dword es:[edi]
stc
lodsd eax, dword [esi]
jo 0x47849d
mov dword [ebx], ecx
mov dl, 0x10
pop esi
out dx, eax
cmc
and eax, 0x73228de0
push ss
xor al, 0x6e
stosb byte es:[edi], al
xchg dword [0x458c4f0a], ecx
popfd
jg 0x4784ec
dec esp
dec esi
out 0x42, al
cmp bh, 0xb6
sub eax, 0x77265b45
inc ebp
das
hlt
invalid
inc ebx
neg byte [edi + esi*8 + 0x4d5ae09]
test al, bl
xchg esp, eax
in al, dx
mov cs, ebx
retf 0x770a

Function at 0x496f67
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.004ca457
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 0x49708a
push ecx
lea ecx, [esi + 0x18]
call fcn.004b6787
mov eax, dword [esi + 0x2c]
sub eax, dword [esi + 0x24]
sar eax, 3
cmp eax, 0x14
jae 0x4970a1
push ecx
lea ecx, [esi + 0x24]
call fcn.004b6697
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 0x4b6697
Capabilities:
Encode data using xor

Disassembly:
scasb al, byte es:[edi]
and al, 0x7c
xor edx, dword [ecx - 0x14e04b33]
out 0x56, eax
stc
mov byte [eax], al
lea ecx, [esi + 0x5a5f179a]
push esi
and bx, bp
push esi
popfd
xchg ebp, eax
jnp 0x4b66ad
xchg dword [esi], ebp
jg 0x4b66d3
nop
nop
rcl byte [esp + eax*2], 0x73
ftst
xor bh, bl
retf
xor ch, byte [ebx - 0x36]
or dh, byte [ebp - 0x78]
jns 0x4b6736
out 0xe4, al
cmpsd dword [esi], dword es:[edi]
wait
jle 0x4b668b
cmpsd dword [esi], dword es:[edi]
cmp eax, 0x68dbd98f
and byte [edx], 0x1a
stosd dword es:[edi], eax
adc ch, bl
xor eax, 0xd61d2453
rcr ch, cl
dec ebx
aam 0x83
iretd
mov word [ebp - 0x16], ds
pushal
push ebp
cmp dword [ebx - 0x70fdecaa], 0x5d
mov edx, 0xf86aac44
inc esp
cli
pop esi
invalid

Function at 0x529af7
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.0055cfe7
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 0x529c1a
push ecx
lea ecx, [esi + 0x18]
call fcn.00549317
mov eax, dword [esi + 0x2c]
sub eax, dword [esi + 0x24]
sar eax, 3
cmp eax, 0x14
jae 0x529c31
push ecx
lea ecx, [esi + 0x24]
call fcn.00549227
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 0x52f4ed
Capabilities:
Encode data using xor

Disassembly:
push cs
mov ebx, 0x185d974e
stc
xor ch, ch
mov dh, 0xf8
jle 0x52f4e6
inc ebp
fcomp dword [esi + ebp*4 - 0x7d]
jo 0x52f514
aad 0x7e
into
insb byte es:[edi], dx
mov dh, 0x26
sbb eax, 0xd718f28a
cli
int 0xcb
aaa
out 0x4e, al
outsd dx, dword [esi]
aaa
mov esp, 0x60cf444
shl byte [esi], 0x96
xchg esi, eax
jae 0x52f563
cmp dword [esi + 0x154237b7], 0x56
call 0xfd4b8932
sbb ah, byte [ecx + 0x5c]
insb byte es:[edi], dx
int1
jo 0x52f5a6
test eax, 0xa887fd4f
dec ebp
clc
push ecx
adc eax, 0x91097fcd
pushfd
add ah, byte ss:[esi]
or al, 0xf7
fnsave dword [0x200d695]
in al, 0xf6
invalid
invalid
xchg esp, eax
xor al, 0xa7
aad 0x1f
leave
mov bh, 0x4f
xor esp, dword [ecx - 0x6a7a0ee0]
jge 0x52f5a5
bound eax, qword [edi + 0x47]
mov edx, 0x8417bc25
cmp eax, 0x799c941c
add edx, eax
mov ch, 0x76

Function at 0x5489f7
Capabilities:
Encode data using xor

Disassembly:
out dx, eax
mov esp, 0xe15bb14
fisubr dword [ebp + 0x3cd6c166]
mov bl, 0x90
dec ebx
xlatb
lahf
adc edi, eax
bound ecx, qword [ebp - 0x52]
outsb dx, byte [esi]
dec edi
rcr byte [edi + 0x5c], 1
movsb byte es:[edi], byte [esi]
inc byte [edi - 0xb]
xchg dword [ebx + 0x1da1912c], esp
sbb byte [ebx - 0x3c], ch
movsb byte es:[edi], byte [esi]
loope fcn.005489f7
sub al, 0x29
out 0x49, al
push eax
push cs
salc
fxch st(4)
inc edx
mov dword [ecx - 0x49814fc0], edi
inc ebp
invalid

Function at 0x573107
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.005a65f7
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 0x57322a
push ecx
lea ecx, [esi + 0x18]
call fcn.00592927
mov eax, dword [esi + 0x2c]
sub eax, dword [esi + 0x24]
sar eax, 3
cmp eax, 0x14
jae 0x573241
push ecx
lea ecx, [esi + 0x24]
call fcn.00592837
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 0x59d237
Capabilities:
Encode data using xor

Disassembly:
adc ah, byte [0xa0923b0c]
sbb eax, 0xa9f43504
add eax, 0xbc7ae343
xor al, byte [edi + 0x57b4702]
xor eax, 0x4305a9f4
jecxz 0x59d2c0
mov esp, 0x47028732
jnp 0x59d252
mov byte [0x71f2b14], al
sub byte [edx], cl
inc eax
rol ebp, 0x15
and al, 0x13
mov eax, 0x9530fe42
push edi
inc edx
dec esi
and dword [esi - 0x79], 0xc6b0e9b5
or al, 0x8a
call 0x34daad42
or byte [ebp - 0x4f3d28ba], bl
or al, 0x5f
in eax, 0x82
stc
mov eax, dword [0x472ca225]
jo 0x59d23f
int3
hlt

Function at 0x5dc907
Capabilities:
Encode data using xor

Disassembly:
dec ecx
xchg esi, eax
test al, 0xa8
out 0x83, eax
nop
popfd
and dh, byte [ebx]
xor byte [edx + 0x1c], dh
xor esi, dword [eax]
jb 0x5dc8ef
popfd
mov esi, 0x71e6a9b5
loop 0x5dc8c6
pushal
popfd
outsb dx, byte [esi]
std
sub eax, 0xc53201e8
inc ebx
invalid
dec edi
xor eax, 0x54391999
push ebx
lodsd eax, dword [esi]
test dword [edi], 0x9ba96119
xchg ebp, eax
rcl dword [edi + esi*8]
sbb dword [edi + edx*8 - 0x18440f09], ebx
out 0x7f, eax
outsb dx, byte [esi]
out 0x7f, eax
outsb dx, byte [esi]
push edx
mov bl, 0xde
xchg byte [0x3a690cb2], al
cmc
dec ebx
push ebx
adc dword [ebx], esi
mov dl, 0x18
popal
outsd dx, dword [esi]
test byte [ecx - 0x75366c52], cl
imul esp, ebp, 0x44cf5aa4
jg 0x5dc8cf
salc
sub byte [0x33de2c38], cl
movsd dword es:[edi], dword [esi]
jne 0x5dc99f
fbstp tbyte [ebp + ebp*8 + 0x55956514]
cmc
jnp 0x5dc8e0
pop ss
dec edi
invalid
dec edx

Function at 0x606997
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.00639e87
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 0x606aba
push ecx
lea ecx, [esi + 0x18]
call fcn.006261b7
mov eax, dword [esi + 0x2c]
sub eax, dword [esi + 0x24]
sar eax, 3
cmp eax, 0x14
jae 0x606ad1
push ecx
lea ecx, [esi + 0x24]
call fcn.006260c7
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 0x411da0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4a9acb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.0049e5ac
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x411e22
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0049c2ee
mov eax, dword [eax]
push 0x5f0c98
push eax
call fcn.0048b614
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0049e837
test bl, bl
je 0x411e22
push 0x5f0c98
lea ecx, [esp + 0xc]
call fcn.0049ebc7
push 0x5f0ca4
lea ecx, [esp + 0xc]
call fcn.0049ebc7
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x411e5e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0049e837
jmp 0x411f29
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x411ee2
lea edx, [esp + 0x7c]
push 0x5f0ca0
push edx
call fcn.0048b614
add esp, 8
test eax, eax
je 0x411ee2
lea eax, [esp + 0x7c]
push 0x5f0c9c
push eax
call fcn.0048b614
add esp, 8
test eax, eax
je 0x411ee2
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x411e72
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.0049e837
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x412730
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x412792
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x4127a0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4a9b4b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x6a9de8]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x4128d8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x412806
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0049e837
xor eax, eax
jmp 0x41294f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0049e974
push esi
lea ecx, [esp + 0xc]
call fcn.0049ec03
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x41292d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.00412730
test eax, eax
jne 0x41292d
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push closesocket
mov ecx, edi
call fcn.00412730
test eax, eax
jne 0x41292d
lea eax, [esp + 0x14]
push str.__1_
push eax
call fcn.0048c780
mov esi, eax
add esp, 8
test esi, esi
jne 0x41290c
lea ecx, [esp + 0x14]
push 0x5f0cb0
push ecx
call fcn.0048c700
mov esi, eax
add esp, 8
test esi, esi
jne 0x41290c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x41290f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0049e924
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x41281e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0049e837
xor eax, eax
jmp 0x41294f
mov byte [esi], 0
push 0x5f0cac
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.0049e837
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4
Function at 0x4242e0
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [esp + 4]
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
mov cl, byte [eax + 8]
and ecx, 0xff
mov esi, ecx
cmp si, 0x60
jb 0x42434e
cmp si, 0x69
ja 0x42434e
add esi, 0xffd0
cmp si, 0x11
je 0x42431e
push 0x11
call edi
test ax, ax
jge 0x42431e
or esi, 0x2000
cmp si, 0x10
je 0x424333
push 0x10
call edi
test ax, ax
jge 0x424333
or esi, 0x4000
cmp si, 0x12
je 0x424348
push 0x12
call edi
test ax, ax
jge 0x424348
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x42435b
mov esi, 0xbd
jmp 0x42430f
cmp si, 0x6e
jne 0x424368
mov esi, 0xbe
jmp 0x42430f
cmp si, 0x6f
jne 0x424309
mov esi, 0xbf
jmp 0x42430f

Function at 0x425bf0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x6bade0]
xor edx, edx
cmp eax, edx
jne 0x425c16
xor eax, eax
mov byte [eax + 0x6bace0], al
inc eax
cmp eax, 0x100
jl 0x425bfe
mov dword [0x6bade0], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x6bace0
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x425ca7
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x425c7a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x425c48
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x425d20
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x425d73
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x425d5a
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret