joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41e9d0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, ecx
mov edi, edx
mov ebx, eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push 0
push 0x2001f
push 0
push 0x41ea64
push 0
mov eax, ebx
call fcn.00404920
push eax
mov eax, dword [ebp + 8]
push eax
call sub.advapi32.dll_RegCreateKeyExA
mov ebx, eax
test ebx, ebx
jne 0x41ea3f
mov eax, esi
call fcn.00404720
inc eax
push eax
mov eax, esi
call fcn.00404920
push eax
push 1
push 0
mov eax, edi
call fcn.00404920
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegSetValueExA
mov ebx, eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey_1
test ebx, ebx
je 0x41ea5a
mov ecx, dword [0x4276c4]
mov dl, 1
mov eax, dword [0x41cfc4]
call fcn.0040b578
call fcn.00403e98
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 4

Function at 0x4242c0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov edi, eax
mov eax, dword [ebp - 4]
call fcn.00406024
xor eax, eax
push ebp
push 0x4243f7
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
call fcn.0041e930
xor eax, eax
push ebp
push 0x4243ca
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
movzx ebx, word [eax + 0x30]
dec ebx
test ebx, ebx
jl 0x4243af
inc ebx
xor esi, esi
lea eax, [ebp - 0x18]
push eax
push esi
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x24]
call fcn.0041e930
mov eax, dword [ebp - 0x18]
and eax, 2
cmp eax, 2
jne 0x4243a7
mov eax, dword [ebp - 0x18]
and eax, 1
dec eax
jne 0x4243a7
lea eax, [ebp - 0x10]
push eax
push esi
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x20]
call fcn.0041e930
lea eax, [ebp - 0x14]
call fcn.00405fb0
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x38]
call fcn.0041e930
push 0
push 0
push 0
lea eax, [ebp - 0x1c]
push eax
push 0xffffffffffffffff
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [eax]
call dword [eax + 0x30]
call fcn.0041e930
lea eax, [edi + 4]
mov edx, dword [ebp - 0x14]
call fcn.00405fc8
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x14]
call fcn.00424228
inc esi
dec ebx
jne 0x424322
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4243d1
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x4c]
ret
Function at 0x4250e0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ecx
push esi
push edi
push eax
push edx
mov eax, dword [eax]
mov edx, dword [edx]
mov ebx, 0
mov esi, 0
mov edi, dword [0x4299ac]
shl edi, 2
xor edx, dword [esi + 0x428924]
ror edx, 0x10
mov bl, dh
mov ecx, dword [ebx*4 + 0x4289ac]
mov bl, dl
add ecx, dword [ebx*4 + 0x428dac]
rol edx, 0x10
mov bl, dh
xor ecx, dword [ebx*4 + 0x4291ac]
mov bl, dl
add ecx, dword [ebx*4 + 0x4295ac]
xor eax, ecx
xchg edx, eax
add esi, 4
cmp esi, edi
jne 0x4250fd
xchg edx, eax
xor eax, dword [esi + 0x428924]
xor edx, dword [esi + 0x428928]
mov ebx, edx
pop edx
mov dword [edx], ebx
mov ebx, eax
pop eax
mov dword [eax], ebx
pop edi
pop esi
pop ecx
pop ebx
ret

Function at 0x425158
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ecx
push esi
push eax
push edx
mov eax, dword [eax]
mov edx, dword [edx]
mov ebx, 0
mov esi, dword [0x4299ac]
inc esi
shl esi, 2
xor edx, dword [esi + 0x428924]
ror edx, 0x10
mov bl, dh
mov ecx, dword [ebx*4 + 0x4289ac]
mov bl, dl
add ecx, dword [ebx*4 + 0x428dac]
rol edx, 0x10
mov bl, dh
xor ecx, dword [ebx*4 + 0x4291ac]
mov bl, dl
add ecx, dword [ebx*4 + 0x4295ac]
xor eax, ecx
xchg edx, eax
sub esi, 4
cmp esi, 4
jne 0x425170
xchg edx, eax
xor eax, dword [0x428928]
xor edx, dword [0x428924]
mov ebx, edx
pop edx
mov dword [edx], ebx
mov ebx, eax
pop eax
mov dword [eax], ebx
pop esi
pop ecx
pop ebx
ret
Function at 0x425450
Capabilities:
Encrypt data using blowfish

Disassembly:
push esi
push edi
mov dword [0x4299ac], 0x10
mov esi, 0x42655c
mov edi, 0x428924
mov ecx, 0x422
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
ret

Function at 0x425714
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xfffffffc
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x1004], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4257ba
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x1000]
mov ecx, 0x20
mov edx, 0x1000
call fcn.0040305c
cmp ebx, 0xff
jne 0x42576d
lea eax, [ebp - 0x1000]
push eax
push 0x1000
call sub.kernel32.dll_GetTempPathA
jmp 0x42577e
push 0
push ebx
lea eax, [ebp - 0x1000]
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderPathA
lea eax, [ebp - 0x1004]
lea edx, [ebp - 0x1000]
mov ecx, 0x1000
call fcn.00404550
mov eax, dword [ebp - 0x1004]
mov edx, esi
call fcn.00407c7c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4257c1
lea eax, [ebp - 0x1004]
call fcn.00404460
ret
Function at 0x403400
Capabilities:
Generate random numbers using the delphi lcg

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

Function at 0x409888
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x4098da
test eax, edx
je 0x4098dd
movzx ecx, byte [edx]
cmp cl, byte [eax]
je 0x40989d
movzx eax, byte [eax]
sub eax, ecx
ret
push ebx
mov ebx, dword [eax - 4]
xor ecx, ecx
sub ebx, dword [edx - 4]
push ebx
adc ecx, 0xffffffff
and ecx, ebx
sub ecx, dword [eax - 4]
sub eax, ecx
sub edx, ecx
mov ebx, dword [ecx + eax]
xor ebx, dword [ecx + edx]
jne 0x4098c3
add ecx, 4
js 0x4098b3
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 3
add ecx, ebx
jns 0x4098c0
movzx eax, byte [ecx + eax]
movzx edx, byte [ecx + edx]
sub eax, edx
pop ebx
pop ebx
ret
xor eax, eax
ret
test eax, eax
je 0x4098e9
test edx, edx
jne 0x409890
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0x426410
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 0x426416
ret
Function at 0x43fe5c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff8c
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x440017
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.00405a2c
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 4]
mov ecx, 0x440030
call fcn.004055c0
mov eax, ebx
call fcn.004219f4
mov edi, eax
dec edi
test edi, edi
jl 0x43ff14
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.004219c8
mov edx, dword [0x431ea0]
call fcn.00404554
test al, al
je 0x43ff10
push dword [ebp - 8]
mov edx, esi
mov eax, ebx
call fcn.004219c8
lea edx, [ebp - 0x14]
call fcn.0044f21c
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.00405a2c
push dword [ebp - 0x18]
lea eax, [ebp - 8]
mov edx, 3
call fcn.0040563c
inc esi
dec edi
jne 0x43fec2
movzx eax, byte [0x440034]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x440040
mov eax, dword [ebp - 8]
call fcn.0040f620
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 8]
call fcn.00405340
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x68], 0xb
lea edx, [ebp - 0x70]
mov eax, ebx
call fcn.0044f21c
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x440030
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x58], 0xb
mov eax, dword [ebp - 4]
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x50], 0xb
lea edx, [ebp - 0x74]
mov eax, dword [ebx + 0x360]
call fcn.0044f21c
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x440030
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0xb
mov eax, dword [ebp - 4]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0xb
mov eax, 0x440030
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0xb
mov eax, dword [ebp - 4]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
lea edx, [ebp - 0x6c]
mov ecx, 9
mov eax, 0x44004c
call fcn.0040b378
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44001e
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.004052cc
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.004052cc
lea eax, [ebp - 0x14]
call fcn.004052a8
lea eax, [ebp - 0x10]
call fcn.004052a8
lea eax, [ebp - 8]
mov edx, 2
call fcn.004052cc
ret
Function at 0x49fdd8
Capabilities:
Hash data with md5

Disassembly:
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
xor edx, edx
mov dword [eax + 0x10], edx
xor edx, edx
mov dword [eax + 0x14], edx
add eax, 0x18
xor ecx, ecx
mov edx, 0x40
call fcn.004039bc
ret
Function at 0x4a6beb
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 4], eax
test ebx, ebx
je 0x4a6c45
mov eax, ebx
add eax, dword [eax + 0x3c]
mov edi, dword [eax + 0x78]
add edi, ebx
xor esi, esi
jmp 0x4a6c40
mov eax, dword [edi + 0x20]
lea edx, [ebx + eax]
mov eax, dword [edx + esi*4]
add eax, ebx
push dword [ebp + 0xc]
push eax
call fcn.0040796c
test eax, eax
jne 0x4a6c3f
mov edx, dword [edi + 0x24]
lea ecx, [ebx + edx]
mov ax, word [ecx + esi*2]
movzx edx, ax
mov ecx, dword [edi + 0x1c]
lea eax, [ebx + ecx]
mov eax, dword [eax + edx*4]
add eax, ebx
mov dword [ebp - 4], eax
inc esi
cmp esi, dword [edi + 0x18]
jb 0x4a6c0c
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x5d6f8c
Capabilities:
Encode data using xor

Disassembly:
and al, 0x24
ja 0x5d8a21
cmc
stc
pushal
imul edx, edx, 0xa
clc
stc
bt ax, 2
pushfd
add edx, eax
pushfd
push 0x4bfe7f83
pushfd
push edx
lea esp, [esp + 0x34]
jmp 0x5d59b0
lea esp, [esp + 4]
je 0x5dc902
cmp ax, 0x2bfe
bt di, dx
call fcn.005dc8fb
add byte [eax], al
inc edi
je 0x5d6fed
jae 0x5d7017
je 0x5d701d
jo 0x5d7007
imul ebp, dword [esi + 0x64], 0xa200776f
dec edi
and eax, 0x3e5a9d81
mov dword [0x11f3b14e], eax
push es
or eax, 0x3686f928
sub cl, bh
xchg byte [esi], dh
mov dl, 0x20
push 0x3187c358
add al, 0x2a
loope 0x5d6f5f
movsb byte es:[edi], byte [esi]
retf
aaa
dec ebp
sub ebp, ebp
mov dh, 0x19
jne 0x5d7026
cmpsd dword [esi], dword es:[edi]
cmpsb byte [esi], byte es:[edi]
pminub mm4, qword [eax]
dec ebp
js 0x5d6fc4
xor bl, bh
lodsb al, byte [esi]
inc edi
xor eax, 0x23736fd9
pop esp
sub al, 0xb
cmc
sub dword [edx + 0x23], 0xf54b50e
inc edi
ret 0x3a08
sti
je 0x5d7036
wait
insd dword es:[edi], dx
aaa
pop ds
fdivr qword [ebx + edi*2 + 0x2958d372]
or eax, 0x26bf359b
and eax, 0xcd5c39dd
pop eax
enter 0x2dfd, 0xc
adc byte [edx - 0x76076d21], bl
dec ebp
invalid
lcall 0xf04d, 0x89f892df

Function at 0x5da8d8
Capabilities:
Resolve function by parsing pe exports

Disassembly:
pushal
call fcn.005d9980
jmp 0x5d2544
Function at 0x407d0b
Capabilities:
Execute syscall

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp dword [ebp + 8], 0
jge 0x407d2d
mov eax, 0xfffffffd
jmp 0x407da5
mov ebx, dword [0x4cbaa0]
add ebx, 0x1c
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 0
je 0x407d73
mov eax, dword [ebp + 8]
mov ecx, eax
and eax, 0xffff
shr ecx, 0x10
and ecx, 0xffff
mov edx, dword [ebp]
lea edx, [edx + 8]
call dword fs:[0xc0]
nop
nop
nop
nop
nop
leave
ret 4
mov ebx, dword [0x4cbaa0]
add ebx, 0x1c
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 0
jne 0x407d9b
mov eax, dword [ebp + 8]
mov edx, dword [ebp]
lea edx, [edx + 8]
int 0x2e
nop
leave
ret 4
mov eax, 0
jmp 0x407da5
mov esp, ebp
pop ebp
ret 4

Function at 0x40bd7d
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
xor eax, eax
mov ecx, dword fs:[0x30]
mov al, byte [ecx + 2]
leave
ret
Function at 0x417042
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
push 8
call fcn.00417c02
add esp, 4
mov dword [ebp - 0xc], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0x10
call fcn.00417c02
add esp, 4
mov dword [ebp - 0x10], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebp - 0x14], 0
push 0x10
call fcn.00417c02
add esp, 4
mov dword [ebp - 0x18], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
push 0
mov ebx, 0x41a420
call fcn.00417c0e
add esp, 4
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 3
je 0x417102
mov eax, 0
jmp 0x41726e
cmp dword [ebp + 0xc], 0
jne 0x41712e
mov dword [ebp - 0x1c], esp
mov eax, 0x32
call fcn.00417c14
cmp dword [ebp - 0x1c], esp
je 0x41712b
push 6
call fcn.00417c08
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp + 0x14], 0
jne 0x417156
mov eax, str.SeDebugPrivilege
push eax
mov ebx, dword [ebp + 0x10]
mov ebx, dword [ebx]
test ebx, ebx
je 0x417150
push ebx
call fcn.00417bfc
add esp, 4
pop eax
mov ebx, dword [ebp + 0x10]
mov dword [ebx], eax
mov dword [ebp - 0x1c], esp
lea eax, [ebp - 8]
push eax
push 0x28
push dword [ebp - 4]
mov eax, 0x33
call fcn.00417c14
cmp dword [ebp - 0x1c], esp
je 0x417181
push 6
call fcn.00417c08
add esp, 4
mov dword [ebp - 0x1c], esp
push dword [ebp - 0xc]
mov ebx, dword [ebp + 0x10]
push dword [ebx]
push 0x49309e
mov eax, 0x34
call fcn.00417c14
cmp dword [ebp - 0x1c], esp
je 0x4171ad
push 6
call fcn.00417c08
add esp, 4
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
mov dword [ebx], 1
mov ebx, dword [ebp - 0x10]
add ebx, 4
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0xc]
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x1c]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x10]
add ebx, 8
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0xc]
add ebx, 4
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x1c]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x10]
add ebx, 0xc
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
mov dword [ebx], 2
mov dword [ebp - 0x1c], esp
mov eax, 0
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x18]
push 0x1c
push dword [ebp - 0x10]
push 0
push dword [ebp - 8]
mov eax, 0x35
call fcn.00417c14
cmp dword [ebp - 0x1c], esp
je 0x417241
push 6
call fcn.00417c08
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x1c], esp
push dword [ebp - 8]
mov eax, 0x36
call fcn.00417c14
cmp dword [ebp - 0x1c], esp
je 0x417266
push 6
call fcn.00417c08
add esp, 4
mov eax, dword [ebp - 0x14]
jmp 0x41726e
push eax
mov ebx, dword [ebp - 0xc]
push ebx
call fcn.00417bfc
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
call fcn.00417bfc
add esp, 4
mov ebx, dword [ebp - 0x18]
push ebx
call fcn.00417bfc
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x10
Function at 0x425710
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x48c24b
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.004809f1
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x425792
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0047e78d
mov eax, dword [eax]
push 0x4bed2c
push eax
call fcn.00471154
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00480c7c
test bl, bl
je 0x425792
push 0x4bed2c
lea ecx, [esp + 0xc]
call fcn.0048100c
push 0x4bed38
lea ecx, [esp + 0xc]
call fcn.0048100c
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 0x4257ce
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00480c7c
jmp 0x425899
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 0x425852
lea edx, [esp + 0x7c]
push 0x4bed34
push edx
call fcn.00471154
add esp, 8
test eax, eax
je 0x425852
lea eax, [esp + 0x7c]
push 0x4bed30
push eax
call fcn.00471154
add esp, 8
test eax, eax
je 0x425852
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 0x4257e2
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.00480c7c
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 0x426090
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 0x4260f2
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 0x426100
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x48c2cb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x4c7a98]
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 0x426238
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x426166
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00480c7c
xor eax, eax
jmp 0x4262af
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.00480db9
push esi
lea ecx, [esp + 0xc]
call fcn.00481048
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 0x42628d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.00426090
test eax, eax
jne 0x42628d
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.00426090
test eax, eax
jne 0x42628d
lea eax, [esp + 0x14]
push 0x4bed48
push eax
call fcn.00472330
mov esi, eax
add esp, 8
test esi, esi
jne 0x42626c
lea ecx, [esp + 0x14]
push 0x4bed44
push ecx
call fcn.004722b0
mov esi, eax
add esp, 8
test esi, esi
jne 0x42626c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x42626f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.00480d69
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x42617e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00480c7c
xor eax, eax
jmp 0x4262af
mov byte [esi], 0
push 0x4bed40
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.00480c7c
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 0x438d40
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 0x438dae
cmp si, 0x69
ja 0x438dae
add esi, 0xffd0
cmp si, 0x11
je 0x438d7e
push 0x11
call edi
test ax, ax
jge 0x438d7e
or esi, 0x2000
cmp si, 0x10
je 0x438d93
push 0x10
call edi
test ax, ax
jge 0x438d93
or esi, 0x4000
cmp si, 0x12
je 0x438da8
push 0x12
call edi
test ax, ax
jge 0x438da8
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x438dbb
mov esi, 0xbd
jmp 0x438d6f
cmp si, 0x6e
jne 0x438dc8
mov esi, 0xbe
jmp 0x438d6f
cmp si, 0x6f
jne 0x438d69
mov esi, 0xbf
jmp 0x438d6f

Function at 0x43a580
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x4d82e8]
xor edx, edx
cmp eax, edx
jne 0x43a5a6
xor eax, eax
mov byte [eax + 0x4d81e8], al
inc eax
cmp eax, 0x100
jl 0x43a58e
mov dword [0x4d82e8], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x4d81e8
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x43a637
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 0x43a60a
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 0x43a5d8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x43a6b0
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 0x43a703
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 0x43a6ea
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