joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40450d
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
push esi
push edi
mov edi, dword [eax + 0xc]
mov esi, edi
jne 0x40452b
mov eax, dword [edi + 0x18]
jmp 0x40454b
mov esi, dword [esi]
cmp dword [esi + 0x18], 0
je 0x404544
push dword [ebp + 8]
push dword [esi + 0x30]
call fcn.004048f7
pop ecx
pop ecx
test eax, eax
je 0x404548
cmp edi, esi
jne 0x40452b
mov eax, dword [esi + 0x18]
pop edi
pop esi
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebx + 0x3c]
push esi
mov esi, dword [eax + ebx + 0x78]
mov eax, dword [esi + ebx + 0x24]
push edi
mov edi, dword [esi + ebx + 0x20]
add edi, ebx
add eax, ebx
mov dword [ebp - 4], eax
jmp 0x404574
add edi, 4
add dword [ebp - 4], 2
mov eax, dword [edi]
push 0xffffffffffffffff
push dword [ebp + 8]
add eax, ebx
push eax
call fcn.004048c6
add esp, 0xc
test eax, eax
jne 0x40456d
mov eax, dword [ebp - 4]
movzx eax, word [eax]
mov ecx, dword [esi + ebx + 0x1c]
lea eax, [ecx + eax*4]
mov eax, dword [eax + ebx]
pop edi
add eax, ebx
pop esi
leave
ret

Function at 0x40621a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [edi + 8], 0
push ebx
je 0x4062a2
mov ebx, dword [ecx + 8]
test ebx, ebx
je 0x4062a2
mov eax, dword [edi + 8]
push esi
mov esi, ebx
cdq
idiv esi
and dword [ebp - 4], 0
imul esi, eax
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], esi
test eax, eax
jle 0x40627e
xor esi, esi
test ebx, ebx
jle 0x406273
mov ebx, dword [ecx + 8]
imul ebx, dword [ebp - 4]
add ebx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [ecx + 0xc]
add ebx, esi
add ebx, dword [edi + 0xc]
add eax, esi
mov al, byte [eax + edx]
xor byte [ebx], al
mov ebx, dword [ecx + 8]
inc esi
cmp esi, ebx
jl 0x406251
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0xc]
jl 0x40624b
xor esi, esi
cmp dword [ebp - 8], esi
jle 0x4062a1
mov eax, dword [edi]
mov edx, dword [ecx]
mov ebx, dword [ecx + 0xc]
add eax, esi
add eax, dword [ebp - 0x10]
add edx, esi
add eax, dword [edi + 0xc]
mov dl, byte [edx + ebx]
xor byte [eax], dl
inc esi
cmp esi, dword [ebp - 8]
jl 0x406285
pop esi
mov eax, edi
pop ebx
leave
ret
Function at 0x4077c9
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
mov ebx, eax
push edi
mov ecx, ebx
call fcn.00405c7a
test al, al
je 0x4077f0
mov esi, dword [ebp + 8]
xor edi, edi
call fcn.00405d98
mov eax, esi
jmp 0x407878
mov eax, ebx
call fcn.00406819
lea edi, [eax + 4]
lea esi, [ebp - 0x14]
call fcn.00405d98
push 0
mov ecx, esi
call fcn.00405c6b
mov edi, eax
push 4
mov esi, edi
call fcn.00405b05
pop ecx
mov eax, ebx
call fcn.00406819
push eax
push 0
mov ecx, ebx
call fcn.00405c6b
push eax
push 4
lea ecx, [ebp - 0x14]
call fcn.00405c6b
mov esi, eax
call fcn.00405b4b
pop ecx
pop ecx
call fcn.00405b98
mov edx, eax
lea eax, [ebp - 0x14]
call fcn.00406819
mov ecx, eax
shr ecx, 2
test al, 3
je 0x407855
inc ecx
xor eax, eax
test ecx, ecx
jle 0x407863
xor dword [edi + eax*4], edx
inc eax
cmp eax, ecx
jl 0x40785b
mov edi, dword [ebp + 8]
lea ebx, [ebp - 0x14]
call fcn.00405db3
mov edi, ebx
call fcn.00405c51
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40787d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
cmp byte [ebp + 0xc], 0
push ebx
push esi
push edi
mov ebx, eax
je 0x407917
call fcn.00406819
cmp eax, 4
jge 0x4078ad
mov esi, dword [ebp + 8]
xor edi, edi
call fcn.00405d98
mov eax, esi
jmp 0x4079b3
mov eax, ebx
call fcn.00406819
lea edi, [eax - 4]
lea esi, [ebp - 0x10]
call fcn.00405d98
mov eax, esi
call fcn.00406819
push 0
mov ecx, esi
mov dword [ebp + 0xc], eax
call fcn.00405c6b
push dword [ebp + 0xc]
mov ecx, ebx
push 4
mov esi, eax
call fcn.00405c6b
push eax
call fcn.00405b4b
pop ecx
pop ecx
push 0
mov ecx, ebx
call fcn.00405c6b
mov ecx, dword [eax]
mov eax, dword [ebp + 0xc]
shr eax, 2
test byte [ebp + 0xc], 3
je 0x407900
inc eax
xor edx, edx
test eax, eax
jle 0x40799e
xor dword [esi + edx*4], ecx
inc edx
cmp edx, eax
jl 0x40790a
jmp 0x40799e
mov ecx, ebx
call fcn.00405c7a
test al, al
jne 0x40789c
mov eax, ebx
call fcn.00406819
mov edi, eax
lea esi, [ebp - 0x10]
call fcn.00405d98
xor esi, esi
mov eax, ebx
inc esi
call fcn.00406819
cmp eax, esi
jle 0x40796b
push esi
mov ecx, ebx
call fcn.00405c6b
mov dl, byte [eax]
push esi
lea ecx, [ebp - 0x10]
xor dl, 0xaa
call fcn.00405c6b
mov byte [eax], dl
mov eax, ebx
add esi, 2
call fcn.00406819
cmp esi, eax
jl 0x407945
mov eax, ebx
xor esi, esi
call fcn.00406819
test eax, eax
jle 0x40799e
push esi
mov ecx, ebx
call fcn.00405c6b
mov dl, byte [eax]
push esi
lea ecx, [ebp - 0x10]
xor dl, 0x55
call fcn.00405c6b
mov byte [eax], dl
mov eax, ebx
add esi, 2
call fcn.00406819
cmp esi, eax
jl 0x407978
mov edi, dword [ebp + 8]
lea ebx, [ebp - 0x10]
call fcn.00405db3
mov edi, ebx
call fcn.00405c51
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x407c60
Capabilities:
Decompress data using aplib

Disassembly:
pushal
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
cld
mov dl, 0x80
xor ebx, ebx
movsb byte es:[edi], byte [esi]
mov bl, 2
call fcn.00407ce3
jae 0x407c6e
xor ecx, ecx
call fcn.00407ce3
jae 0x407c9d
xor eax, eax
call fcn.00407ce3
jae 0x407cad
mov bl, 2
inc ecx
mov al, 0x10
call fcn.00407ce3
adc al, al
jae 0x407c8f
jne 0x407cd9
stosb byte es:[edi], al
jmp 0x407c71
call fcn.00407cef
sub ecx, ebx
jne 0x407cb6
call fcn.00407ced
jmp 0x407cd5
lodsb al, byte [esi]
shr eax, 1
je 0x407cff
adc ecx, ecx
jmp 0x407cd2
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
call fcn.00407ced
cmp eax, 0x7d00
jae 0x407cd2
cmp ah, 5
jae 0x407cd3
cmp eax, 0x7f
ja 0x407cd4
inc ecx
inc ecx
xchg ebp, eax
mov eax, ebp
mov bl, 1
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x407c71
sub edi, dword [esp + 0x28]
mov dword [esp + 0x1c], edi
popal
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x40aac5
Capabilities:
Execute syscall

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov dword [ebp - 4], 0
cmp dword [ebp + 8], 0
jge 0x40aaee
mov eax, 0xfffffffd
jmp 0x40ac8f
mov ebx, dword [0x12ecce0]
add ebx, 0x1c
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 8]
cmp dword [ebx], 0
je 0x40ac5d
mov ebx, dword [0x12ecce0]
add ebx, 4
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 8]
cmp dword [ebx], 0xa
jne 0x40ab3d
mov ebx, dword [0x12ecce0]
add ebx, 8
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
cmp dword [ebx], 0
jne 0x40ab3d
mov eax, 1
jmp 0x40ab42
mov eax, 0
test eax, eax
je 0x40ab72
call fcn.0040ac95
mov dword [ebp - 4], eax
mov eax, dword [ebp]
add eax, 0x80
mov ecx, 0x20
push dword [eax]
sub eax, 4
loop 0x40ab5f
mov eax, dword [ebp + 8]
call dword [ebp - 4]
nop
nop
leave
ret 4
mov ebx, dword [0x12ecce0]
add ebx, 4
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 8]
cmp dword [ebx], 6
jne 0x40aba9
mov ebx, dword [0x12ecce0]
add ebx, 8
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
cmp dword [ebx], 2
jne 0x40aba9
mov eax, 1
jmp 0x40abae
mov eax, 0
test eax, eax
jne 0x40abfe
mov ebx, dword [0x12ecce0]
add ebx, 4
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
cmp dword [ebx], 6
jne 0x40abed
mov ebx, dword [0x12ecce0]
add ebx, 8
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x24]
cmp dword [ebx], 3
jne 0x40abed
mov eax, 1
jmp 0x40abf2
mov eax, 0
test eax, eax
jne 0x40abfe
xor eax, eax
jmp 0x40ac03
mov eax, 1
test eax, eax
je 0x40ac2f
mov eax, dword [ebp]
add eax, 0x80
mov ecx, 0x20
push dword [eax]
sub eax, 4
loop 0x40ac18
mov eax, dword [ebp + 8]
call dword fs:[0xc0]
nop
nop
leave
ret 4
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 [0x12ecce0]
add ebx, 0x1c
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 8]
cmp dword [ebx], 0
jne 0x40ac85
mov eax, dword [ebp + 8]
mov edx, dword [ebp]
lea edx, [edx + 8]
int 0x2e
nop
leave
ret 4
mov eax, 0
jmp 0x40ac8f
mov esp, ebp
pop ebp
ret 4

Function at 0x40ba6c
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
push 0
push dword [ebp - 4]
call fcn.0040bace
test eax, eax
je 0x40baaf
xor eax, eax
xchg dword [ebp + 8], eax
cmp eax, 0xffff
jle 0x40baaf
cmp word [eax], 0x5a4d
jne 0x40baaf
add eax, dword [eax + 0x3c]
cmp dword [eax], 0x4550
jne 0x40baaf
mov dword [ebp + 8], eax
mov dword [ebp - 4], 0
push 0
push dword [ebp - 4]
call fcn.0040bba0
mov eax, dword [ebp + 8]
jmp 0x40bac8
mov esp, ebp
pop ebp
ret 4

Function at 0x40bace
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov dword [ebp + 8], 0x40bb81
mov eax, dword [ebp + 8]
leave
sub esp, 0x60
pushfd
pushal
push dword [esp + 0x84]
push 0
push eax
fnsave dword [esp + 0x30]
wait
push dword fs:[0]
mov dword fs:[0], esp
mov eax, 1
jmp dword [esp + 0xc]
Function at 0x455381
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push ebx
xor eax, eax
mov ebx, dword fs:[0x18]
mov ecx, dword fs:[0x30]
test ecx, ecx
jns 0x4553b9
mov ecx, 0x530000
cmp dword [ebx + 0x58], ecx
jne 0x4553a7
mov al, 1
jmp 0x455403
cmp dword [ebx + 0x54], ecx
jne 0x4553b0
mov al, 2
jmp 0x455403
cmp dword [ebx + 0x7c], ecx
jne 0x455403
mov al, 3
jmp 0x455403
mov ebx, dword [ecx + 0xa8]
mov ecx, dword [ecx + 0xa4]
cmp ecx, 4
ja 0x4553ce
mov al, 4
jmp 0x455403
cmp ecx, 5
jne 0x4553ee
cmp ebx, 0
jne 0x4553dc
mov al, 5
jmp 0x455403
cmp ebx, 1
jne 0x4553e5
mov al, 6
jmp 0x455403
cmp ebx, 2
jne 0x4553ee
mov al, 7
jmp 0x455403
cmp ecx, 6
jne 0x4553fa
cmp ebx, 0
jne 0x4553fc
mov al, 8
jmp 0x455403
cmp ebx, 1
jne 0x455403
mov al, 9
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4d9c9b
Capabilities:
Reference the vmware io port

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov dword [ebp - 4], 0
mov eax, 0x564d5868
mov ebx, 0
mov ecx, 0xa
mov edx, 0x5658
in eax, dx
cmp ebx, 0x564d5868
sete byte [ebp - 4]
mov eax, dword [ebp - 4]
jmp 0x4d9cd2
mov esp, ebp
pop ebp
ret

Function at 0x50d7ac
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov dword [ebp + 8], 0x50d85f
mov eax, dword [ebp + 8]
leave
sub esp, 0x60
pushfd
pushal
push dword [esp + 0x84]
push 0
push eax
fnsave dword [esp + 0x30]
wait
push dword fs:[0]
mov dword fs:[0], esp
mov eax, 1
jmp dword [esp + 0xc]
Function at 0x51254a
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
push 0
push dword [ebp - 4]
call fcn.0050d7ac
test eax, eax
je 0x51258d
xor eax, eax
xchg dword [ebp + 8], eax
cmp eax, 0xffff
jle 0x51258d
cmp word [eax], 0x5a4d
jne 0x51258d
add eax, dword [eax + 0x3c]
cmp dword [eax], 0x4550
jne 0x51258d
mov dword [ebp + 8], eax
mov dword [ebp - 4], 0
push 0
push dword [ebp - 4]
call fcn.005125ac
mov eax, dword [ebp + 8]
jmp 0x5125a6
mov esp, ebp
pop ebp
ret 4

Function at 0x512762
Capabilities:
Execute syscall

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov dword [ebp - 4], 0
cmp dword [ebp + 8], 0
jge 0x51278b
mov eax, 0xfffffffd
jmp 0x51292c
mov ebx, dword [0x12ed128]
add ebx, 0x1c
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 8]
cmp dword [ebx], 0
je 0x5128fa
mov ebx, dword [0x12ed128]
add ebx, 4
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 8]
cmp dword [ebx], 0xa
jne 0x5127da
mov ebx, dword [0x12ed128]
add ebx, 8
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
cmp dword [ebx], 0
jne 0x5127da
mov eax, 1
jmp 0x5127df
mov eax, 0
test eax, eax
je 0x51280f
call fcn.00512932
mov dword [ebp - 4], eax
mov eax, dword [ebp]
add eax, 0x80
mov ecx, 0x20
push dword [eax]
sub eax, 4
loop 0x5127fc
mov eax, dword [ebp + 8]
call dword [ebp - 4]
nop
nop
leave
ret 4
mov ebx, dword [0x12ed128]
add ebx, 4
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 8]
cmp dword [ebx], 6
jne 0x512846
mov ebx, dword [0x12ed128]
add ebx, 8
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
cmp dword [ebx], 2
jne 0x512846
mov eax, 1
jmp 0x51284b
mov eax, 0
test eax, eax
jne 0x51289b
mov ebx, dword [0x12ed128]
add ebx, 4
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
cmp dword [ebx], 6
jne 0x51288a
mov ebx, dword [0x12ed128]
add ebx, 8
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x24]
cmp dword [ebx], 3
jne 0x51288a
mov eax, 1
jmp 0x51288f
mov eax, 0
test eax, eax
jne 0x51289b
xor eax, eax
jmp 0x5128a0
mov eax, 1
test eax, eax
je 0x5128cc
mov eax, dword [ebp]
add eax, 0x80
mov ecx, 0x20
push dword [eax]
sub eax, 4
loop 0x5128b5
mov eax, dword [ebp + 8]
call dword fs:[0xc0]
nop
nop
leave
ret 4
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 [0x12ed128]
add ebx, 0x1c
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 8]
cmp dword [ebx], 0
jne 0x512922
mov eax, dword [ebp + 8]
mov edx, dword [ebp]
lea edx, [edx + 8]
int 0x2e
nop
leave
ret 4
mov eax, 0
jmp 0x51292c
mov esp, ebp
pop ebp
ret 4
Function at 0x52d330
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x6225cb
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.006146c7
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x52d3b2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.00611acd
mov eax, dword [eax]
push 0x12c5f40
push eax
call fcn.00602724
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00614952
test bl, bl
je 0x52d3b2
push 0x12c5f40
lea ecx, [esp + 0xc]
call fcn.00614d2e
push 0x12c5f4c
lea ecx, [esp + 0xc]
call fcn.00614d2e
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 0x52d3ee
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00614952
jmp 0x52d4b9
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 0x52d472
lea edx, [esp + 0x7c]
push 0x12c5f48
push edx
call fcn.00602724
add esp, 8
test eax, eax
je 0x52d472
lea eax, [esp + 0x7c]
push 0x12c5f44
push eax
call fcn.00602724
add esp, 8
test eax, eax
je 0x52d472
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 0x52d402
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.00614952
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 0x52dcd0
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 0x52dd32
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 0x52dd40
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x62264b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x12e83b8]
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 0x52de78
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x52dda6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00614952
xor eax, eax
jmp 0x52deef
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.00614adb
push esi
lea ecx, [esp + 0xc]
call fcn.00614d6a
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x12c5f80
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x52decd
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push 0x12c5f78
push closesocket
call fcn.0052dcd0
test eax, eax
jne 0x52decd
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push 0x12c5f64
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push closesocket
mov ecx, edi
call fcn.0052dcd0
test eax, eax
jne 0x52decd
lea eax, [esp + 0x14]
push 0x12c5f5c
push eax
call fcn.006039a0
mov esi, eax
add esp, 8
test esi, esi
jne 0x52deac
lea ecx, [esp + 0x14]
push 0x12c5f58
push ecx
call fcn.00603920
mov esi, eax
add esp, 8
test esi, esi
jne 0x52deac
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x52deaf
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.00614a8b
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x52ddbe
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00614952
xor eax, eax
jmp 0x52deef
mov byte [esi], 0
push 0x12c5f54
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.00614952
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 0x53c8f6
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x190
push esi
mov esi, ecx
mov eax, dword [esi + 0x3a0]
test eax, eax
jne 0x53c91e
lea eax, [esp + 4]
push eax
push 0x101
call dword [sym.imp.WS2_32.dll_WSAStartup]
neg eax
sbb eax, eax
inc eax
mov dword [esi + 0x3a0], eax
pop esi
add esp, 0x190
ret
Function at 0x547020
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 0x54708e
cmp si, 0x69
ja 0x54708e
add esi, 0xffd0
cmp si, 0x11
je 0x54705e
push 0x11
call edi
test ax, ax
jge 0x54705e
or esi, 0x2000
cmp si, 0x10
je 0x547073
push 0x10
call edi
test ax, ax
jge 0x547073
or esi, 0x4000
cmp si, 0x12
je 0x547088
push 0x12
call edi
test ax, ax
jge 0x547088
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x54709b
mov esi, 0xbd
jmp 0x54704f
cmp si, 0x6e
jne 0x5470a8
mov esi, 0xbe
jmp 0x54704f
cmp si, 0x6f
jne 0x547049
mov esi, 0xbf
jmp 0x54704f

Function at 0x548a80
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x12f98d8]
xor edx, edx
cmp eax, edx
jne 0x548aa6
xor eax, eax
mov byte [eax + 0x12f97d8], al
inc eax
cmp eax, 0x100
jl 0x548a8e
mov dword [0x12f98d8], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x12f97d8
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x548b37
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 0x548b0a
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 0x548ad8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x548bb0
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 0x548c03
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 0x548bea
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
Function at 0x55b9a0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x625358
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
push esi
mov esi, ecx
call fcn.005561e0
test eax, eax
je 0x55baa8
lea ecx, [esp + 0xc]
call fcn.005236e0
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
push eax
mov eax, dword [esp + 0x34]
push ecx
push edx
lea ecx, [esp + 0x18]
push eax
push ecx
mov ecx, esi
mov dword [esp + 0x3c], 0
call fcn.005561e0
mov ecx, eax
call fcn.005538d0
test eax, eax
je 0x55ba8f
mov eax, dword [esp + 0x1c]
test eax, eax
mov ebp, eax
je 0x55ba8f
push eax
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
je 0x55ba8f
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
neg esi
push edi
push ebx
sbb esi, esi
and esi, edx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, ebp
mov edi, eax
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
call fcn.005238e0
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
pop edi
jne 0x55ba71
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x55ba8f
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov eax, dword [0x12f9d30]
push ebx
and eax, 0xffff
push eax
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
mov dword [esp + 0xc], 0x12a38b0
call fcn.005238e0
mov ecx, dword [esp + 0x20]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0x10