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

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff0
mov esi, eax
xor edx, edx
mov ecx, esp
xor edi, edi
mov eax, ecx
lea ebx, [esi + edx*4]
mov bl, byte [ebx + edi + 0x117]
mov byte [eax], bl
inc edi
inc eax
cmp edi, 4
jne 0x477080
inc edx
add ecx, 4
cmp edx, 4
jne 0x47707c
xor edi, edi
mov ebx, esp
mov dl, byte [ebx]
mov eax, esi
call fcn.004771a0
push eax
mov dl, byte [ebx + 4]
mov eax, esi
call fcn.004771b4
pop edx
xor dl, al
push edx
mov dl, byte [ebx + 8]
mov eax, esi
call fcn.0047719c
pop edx
xor dl, al
push edx
mov dl, byte [ebx + 0xc]
mov eax, esi
call fcn.0047719c
pop edx
xor dl, al
mov byte [esi + edi + 0x117], dl
mov dl, byte [ebx]
mov eax, esi
call fcn.0047719c
push eax
mov dl, byte [ebx + 4]
mov eax, esi
call fcn.004771a0
pop edx
xor dl, al
push edx
mov dl, byte [ebx + 8]
mov eax, esi
call fcn.004771b4
pop edx
xor dl, al
push edx
mov dl, byte [ebx + 0xc]
mov eax, esi
call fcn.0047719c
pop edx
xor dl, al
mov byte [esi + edi + 0x11b], dl
mov dl, byte [ebx]
mov eax, esi
call fcn.0047719c
push eax
mov dl, byte [ebx + 4]
mov eax, esi
call fcn.0047719c
pop edx
xor dl, al
push edx
mov dl, byte [ebx + 8]
mov eax, esi
call fcn.004771a0
pop edx
xor dl, al
push edx
mov dl, byte [ebx + 0xc]
mov eax, esi
call fcn.004771b4
pop edx
xor dl, al
mov byte [esi + edi + 0x11f], dl
mov dl, byte [ebx]
mov eax, esi
call fcn.004771b4
push eax
mov dl, byte [ebx + 4]
mov eax, esi
call fcn.0047719c
pop edx
xor dl, al
push edx
mov dl, byte [ebx + 8]
mov eax, esi
call fcn.0047719c
pop edx
xor dl, al
push edx
mov dl, byte [ebx + 0xc]
mov eax, esi
call fcn.004771a0
pop edx
xor dl, al
mov byte [esi + edi + 0x123], dl
inc edi
inc ebx
cmp edi, 4
jne 0x4770a0
add esp, 0x10
pop edi
pop esi
pop ebx
ret

Function at 0x4771c8
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov bl, byte [esi]
and bl, 0xf
and ebx, 0xff
movzx edi, byte [esi]
shr edi, 4
add edi, edi
lea edi, [edi*8 + 0x480fbc]
mov bl, byte [edi + ebx]
mov byte [esi], bl
mov bl, byte [eax]
and bl, 0xf
and ebx, 0xff
movzx esi, byte [eax]
shr esi, 4
add esi, esi
lea esi, [esi*8 + 0x480fbc]
mov bl, byte [esi + ebx]
mov byte [eax], bl
mov al, byte [ecx]
and al, 0xf
and eax, 0xff
xor ebx, ebx
mov bl, byte [ecx]
shr ebx, 4
add ebx, ebx
lea ebx, [ebx*8 + 0x480fbc]
mov al, byte [ebx + eax]
mov byte [ecx], al
mov al, byte [edx]
and al, 0xf
and eax, 0xff
xor ecx, ecx
mov cl, byte [edx]
shr ecx, 4
add ecx, ecx
lea ecx, [ecx*8 + 0x480fbc]
mov al, byte [ecx + eax]
mov byte [edx], al
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x47748c
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff0
mov dword [esp], edx
mov ebx, eax
push 0
push 0
push 0
push 0
push 0x47751c
call sub.wininet.dll_InternetOpenA
mov edi, eax
push 0
push 0
push 0
push 0
mov eax, ebx
call fcn.0040458c
push eax
push edi
call sub.wininet.dll_InternetOpenUrlA
mov ebx, eax
mov dword [esp + 4], 0x400
lea eax, [esp + 8]
push eax
lea eax, [esp + 8]
push eax
push esi
push 5
push ebx
call sub.wininet.dll_HttpQueryInfoA
mov eax, ebp
call fcn.004026dc
mov esi, eax
lea eax, [esp + 0xc]
push eax
push ebp
push esi
push ebx
call sub.wininet.dll_InternetReadFile
push ebx
call sub.wininet.dll_InternetCloseHandle
push edi
call sub.wininet.dll_InternetCloseHandle
mov edx, dword [esp]
mov eax, esi
call fcn.00408d18
mov eax, esi
call fcn.004026fc
add esp, 0x10
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x477638
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeb8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x140], edx
mov dword [ebp - 0x148], edx
mov dword [ebp - 0x144], edx
mov dword [ebp - 0x130], edx
mov dword [ebp - 0x13c], edx
mov dword [ebp - 0x134], edx
mov dword [ebp - 0x138], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040457c
lea edi, [ebp - 0x12c]
xor eax, eax
push ebp
push 0x4777b2
push dword fs:[eax]
mov dword fs:[eax], esp
xor esi, esi
xor edx, edx
mov eax, 2
call fcn.004752ac
mov ebx, eax
mov dword [edi], 0x128
mov edx, edi
mov eax, ebx
call fcn.004752cc
cmp eax, 1
sbb eax, eax
inc eax
jmp 0x47777e
lea eax, [ebp - 0x138]
lea edx, [edi + 0x24]
mov ecx, 0x104
call fcn.0040433c
mov eax, dword [ebp - 0x138]
lea edx, [ebp - 0x134]
call fcn.004089e0
mov eax, dword [ebp - 0x134]
lea edx, [ebp - 0x130]
call fcn.004080f0
mov eax, dword [ebp - 0x130]
push eax
lea edx, [ebp - 0x13c]
mov eax, dword [ebp - 4]
call fcn.004080f0
mov edx, dword [ebp - 0x13c]
pop eax
call fcn.004044d8
je 0x477758
lea eax, [ebp - 0x144]
lea edx, [edi + 0x24]
mov ecx, 0x104
call fcn.0040433c
mov eax, dword [ebp - 0x144]
lea edx, [ebp - 0x140]
call fcn.004080f0
mov eax, dword [ebp - 0x140]
push eax
lea edx, [ebp - 0x148]
mov eax, dword [ebp - 4]
call fcn.004080f0
mov edx, dword [ebp - 0x148]
pop eax
call fcn.004044d8
jne 0x47776f
push 0
mov eax, dword [edi + 8]
push eax
push 0
push 1
call sub.kernel32.dll_OpenProcess
push eax
call sub.kernel32.dll_TerminateProcess
mov esi, eax
mov edx, edi
mov eax, ebx
call fcn.004752ec
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x4776b9
push ebx
call sub.kernel32.dll_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4777b9
lea eax, [ebp - 0x148]
mov edx, 7
call fcn.004040f0
lea eax, [ebp - 4]
call fcn.004040cc
ret
Function at 0x477c00
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov esi, edx
mov ebx, eax
push 0
push 0
push 0xe
push ebx
call sub.user32.dll_SendMessageA
inc eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004026dc
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x477c68
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
push 0xd
push ebx
call sub.user32.dll_SendMessageA
mov edx, esi
mov eax, dword [ebp - 8]
call fcn.00408d18
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x477c6f
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
call fcn.004026fc
ret
Function at 0x40147d
Capabilities:
Encode data using base64 via winapi

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x148
lea eax, [ebp - 0x11c]
mov dword [esp + 8], 1
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x116]
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x10c]
mov dword [esp + 4], 1
mov dword [esp], eax
mov dword [ebp - 0x11c], 0xa
mov byte [ebp - 0x10c], 0
call dword [sym.imp.CRYPT32.dll_CryptBinaryToStringA]
movsx eax, byte [ebp - 0x116]
sub esp, 0x14
leave
sub eax, 0x41
ret

Function at 0x4014d9
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0xa0
mov dword [ebp - 0x88], 0
call fcn.0040147d
mov dword [esp], 0x4015b0
mov dword [ebp - 0x8c], 0
mov ebx, eax
lea eax, [ebp - 0x8c]
mov dword [esp + 0xc], eax
mov eax, ebx
or eax, 0x40
mov dword [esp + 8], eax
mov eax, 0x402012
sub eax, 0x4015b0
mov dword [esp + 4], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub esp, 0x10
cmp dword [ebp - 0x8c], 0
je 0x40157a
mov dword [esp], ebx
lea esi, [ebp - 0x88]
call fcn.004013a1
mov dword [esp], ebx
mov dword [esp + 4], esi
call fcn.00401404
lea eax, [ebx + 0x1b800]
test ebx, ebx
lea edx, [eax + eax]
mov ecx, 0x40300c
mov dword [esp + 8], esi
cmovne eax, edx
sar ebx, cl
sub ecx, ebx
mov dword [esp + 4], eax
mov dword [esp], ecx
call fcn.00401d15
lea esp, [ebp - 8]
xor eax, eax
pop ebx
pop esi
pop ebp
ret
Function at 0x6a9a6d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push 0x108
call fcn.006c4adc
add esp, 4
mov dword [ebp - 4], eax
mov edi, eax
mov esi, 0x6e9a32
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
xor eax, eax
mov ecx, 0x40
rep stosd dword es:[edi], eax
push 0x108
call fcn.006c4adc
add esp, 4
mov dword [ebp - 8], eax
mov edi, eax
mov esi, 0x6e9a32
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
xor eax, eax
mov ecx, 0x40
rep stosd dword es:[edi], eax
mov dword [ebp - 0xc], 0
mov eax, dword [ebp + 4]
xor eax, 0x12476359
mov dword [ebp + 4], eax
push eax
mov eax, dword [ebp]
xor eax, 0x97815643
mov dword [ebp], eax
push eax
mov ebx, dword [ebp - 4]
call fcn.006a9a4d
mov eax, 0
cmp eax, ecx
jl 0x6a9b05
push 0x20b
push 0x4011022
push 1
call fcn.006c4af4
add esp, 0xc
add ebx, eax
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
mov byte [ebx], 0
mov ebx, dword [ebp - 8]
call fcn.006a9a4d
mov eax, 0
cmp eax, ecx
jl 0x6a9b38
push 0x234
push 0x4011022
push 1
call fcn.006c4af4
add esp, 0xc
add ebx, eax
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
mov byte [ebx], 0
mov eax, dword [ebp - 4]
add eax, 8
mov ecx, 0x100
xor ebx, ebx
sub bl, cl
mov byte [ebx + eax], bl
loop 0x6a9b4e
push eax
mov edx, dword [ebp + 0x10]
mov edx, dword [edx]
mov edi, dword [edx + 4]
add edx, 8
mov esi, dword [ebp - 8]
add esi, 8
mov ecx, 0x100
xor ebx, ebx
cmp ebx, edi
jb 0x6a9b76
xor ebx, ebx
mov ah, byte [ebx + edx]
mov byte [esi], ah
inc esi
inc ebx
loop 0x6a9b70
pop edi
xor ebx, ebx
sub esi, 0x100
xor eax, eax
mov ecx, 0x100
mov dl, byte [eax + esi]
add bl, dl
mov dl, byte [eax + edi]
add bl, dl
mov dl, byte [eax + edi]
mov dh, byte [ebx + edi]
mov byte [eax + edi], dh
mov byte [ebx + edi], dl
inc eax
loop 0x6a9b8f
mov esi, dword [ebp + 8]
mov esi, dword [esi]
mov ecx, dword [esi + 4]
mov dword [ebp - 0xc], ecx
add esi, 8
push 0x80000301
push 0
push dword [ebp - 0xc]
push 1
mov ebx, 0x1bc
call fcn.006c59d0
add esp, 0x10
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
test ebx, ebx
je 0x6a9beb
push ebx
call fcn.006c4ad6
add esp, 4
pop eax
mov ebx, dword [ebp + 0xc]
mov dword [ebx], eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp + 0xc]
mov edx, dword [edx]
add edx, 8
xor eax, eax
xor ebx, ebx
push ecx
movzx ecx, al
inc cl
push edx
mov dh, byte [ecx + edi]
add bl, dh
mov dl, byte [ebx + edi]
mov byte [ecx + edi], dl
mov byte [ebx + edi], dh
add dl, dh
movzx edx, dl
mov dl, byte [edx + edi]
mov cl, byte [eax + esi]
xor cl, dl
pop edx
mov byte [eax + edx], cl
inc eax
pop ecx
loop 0x6a9c00
push eax
pushfd
mov eax, dword [esp + 8]
xor eax, 0x97815643
mov dword [ebp], eax
mov eax, dword [esp + 0xc]
xor eax, 0x12476359
mov dword [ebp + 4], eax
xchg dword [esp + 4], eax
popfd
pop eax
mov ebx, dword [ebp - 4]
push ebx
call fcn.006c4ad6
add esp, 4
mov ebx, dword [ebp - 8]
push ebx
call fcn.006c4ad6
add esp, 4
mov esp, ebp
pop ebp
ret 0xc
Function at 0x6c6450
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
mov eax, dword [esp + 8]
cmp edx, 1
jle 0x6c646e
push esi
lea ecx, [esp + 0x18]
dec edx
mov esi, dword [ecx]
add ecx, 0xc
xor eax, esi
dec edx
jne 0x6c6463
pop esi
ret

Function at 0x6c9b0a
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
cld
mov dl, 0x80
movsb byte es:[edi], byte [esi]
call fcn.006c9b89
jae 0x6c9b16
xor ecx, ecx
call fcn.006c9b89
jae 0x6c9b40
xor eax, eax
call fcn.006c9b89
jae 0x6c9b51
mov al, 0x10
call fcn.006c9b89
adc al, al
jae 0x6c9b32
jne 0x6c9b7e
stosb byte es:[edi], al
jmp 0x6c9b17
call fcn.006c9b95
dec ecx
loop 0x6c9b5d
mov eax, ebp
call fcn.006c9b93
jmp 0x6c9b7f
lodsb al, byte [esi]
shr eax, 1
je 0x6c9ba5
adc ecx, 2
mov ebp, eax
jmp 0x6c9b7f
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
mov ebp, eax
call fcn.006c9b93
cmp eax, 0x7d00
jae 0x6c9b7d
cmp eax, 0x500
jae 0x6c9b7e
cmp eax, 0x7f
ja 0x6c9b7f
inc ecx
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x6c9b17
pop ebp
ret 8

Function at 0x707f49
Capabilities:
Check for software breakpoints
Encode data using base64

Disassembly:
push dword [esp + 4]
popfd
lea esp, [esp + 0x10]
call fcn.008487ba

Function at 0x73020f
Capabilities:
Check for software breakpoints
Check http status code
Encode data using base64
Parse pe header

Disassembly:
mov eax, dword [eax + 4]
test edi, 0x66113c46
cmp eax, 0x42792bda
add eax, 8
push eax
call fcn.006c4adc
pop ecx
pop esi
mov bx, dx
xchg bx, di
mov edi, eax
movsx ebx, cx
bswap bx
mov bx, 0x331a
rep movsb byte es:[edi], byte [esi]
not bl
sete bl
bswap esi
pop edi
pop esi
movzx cx, ah
stosd dword es:[edi], eax
bswap cx
movsx ebx, bp
cbw
mov ecx, 3
movsx ebx, cx
rep movsd dword es:[edi], dword [esi]
pop eax
sbb edi, edi
pop edi
mov dword [edi], eax
rcl bh, cl
shr ebx, cl
cmp ebp, eax
mov ebx, dword [ebp - 0x70]
clc
push ebx
cmp edi, 0x29803894
jmp 0x72ef80
add ebx, 4
stc
clc
push ebx
test sp, 0x440e
mov ebx, dword [ebx]
test ebx, ebx
je 0x72efa0
push ebx
call fcn.006c4ad6
add esp, 4
xchg bl, bl
pop ebx
call fcn.006c4ad6
add esp, 4
cwde
not ax
push dword [esp + 0x30]
popfd
lea esp, [esp + 0x40]
call fcn.0070b963
stosd dword es:[edi], eax
movzx ax, cl
lodsd eax, dword [esi]
push esi
clc
cmc
push edi
clc
test sp, bx
test eax, 0x3e303414
test eax, eax
je 0x725482
push eax
jmp 0x72544e

Function at 0x780aac
Capabilities:
Authenticate hmac

Disassembly:
mov dword [ebp - 4], 0
jmp 0x80711b
stosd dword es:[edi], eax
lodsd eax, dword [esi]
jmp 0x7e05fa
push ebp
mov ebp, esp
sub esp, 0x98
jmp 0x74eaf7
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
jmp 0x74d24d
stosd dword es:[edi], eax
jmp 0x7e278d
mov dword [ebp - 0xc], 0
jmp 0x7962fb
push 8
call fcn.006c4adc
add esp, 4
xchg di, si
movsx edi, cx
mov dword [ebp - 8], eax
movsx esi, bp
mov edi, eax
cbw
mov esi, 0x6c923e
movsx ax, dh
lodsd eax, dword [esi]
jmp 0x77e869
Function at 0x8499aa
Capabilities:
Authenticate hmac

Disassembly:
push esi
pushfd
mov esi, 0x149741e
call fcn.007e03ea
Function at 0x8721b2
Capabilities:
Authenticate hmac
Encode data using base64
Parse pe header

Disassembly:
xor dword [esp + 0xc], 0x1b9e1148
push dword [esp + 8]
popfd
lea esp, [esp + 0x10]
call fcn.007e0a05
push esi
jne 0x784e59
cmc

Function at 0x87c693
Capabilities:
Check for software breakpoints
Check http status code
Encode data using base64
Parse pe header

Disassembly:
push dword [esp + 0x10]
popfd
lea esp, [esp + 0x20]
call fcn.0074cb0b

Function at 0x87e071
Capabilities:
Check for software breakpoints
Check http status code
Encode data using base64
Parse pe header

Disassembly:
mov dword [esp + 4], 0xfd091814
pushfd
call fcn.006aabf7
Function at 0x41e490
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x49027b
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.004848c6
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x41e512
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0048201d
mov eax, dword [eax]
push 0x5411f0
push eax
call fcn.00474de4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00484b51
test bl, bl
je 0x41e512
push 0x5411f0
lea ecx, [esp + 0xc]
call fcn.00484ee1
push 0x544d6c
lea ecx, [esp + 0xc]
call fcn.00484ee1
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 0x41e54e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00484b51
jmp 0x41e619
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 0x41e5d2
lea edx, [esp + 0x7c]
push 0x544d68
push edx
call fcn.00474de4
add esp, 8
test eax, eax
je 0x41e5d2
lea eax, [esp + 0x7c]
push 0x544d64
push eax
call fcn.00474de4
add esp, 8
test eax, eax
je 0x41e5d2
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 0x41e562
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.00484b51
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 0x41ee10
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 0x41ee72
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 0x41ee80
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4902fb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x551518]
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 0x41efb8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x41eee6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00484b51
xor eax, eax
jmp 0x41f02f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.00484c8e
push esi
lea ecx, [esp + 0xc]
call fcn.00484f1d
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x544da4
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x41f00d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push SysReAllocString
call fcn.0041ee10
test eax, eax
jne 0x41f00d
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 SysReAllocString
mov ecx, edi
call fcn.0041ee10
test eax, eax
jne 0x41f00d
lea eax, [esp + 0x14]
push 0x544d80
push eax
call fcn.00475ef0
mov esi, eax
add esp, 8
test esi, esi
jne 0x41efec
lea ecx, [esp + 0x14]
push 0x544d7c
push ecx
call fcn.00475e70
mov esi, eax
add esp, 8
test esi, esi
jne 0x41efec
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x41efef
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.00484c3e
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x41eefe
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00484b51
xor eax, eax
jmp 0x41f02f
mov byte [esi], 0
push 0x544d78
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.00484b51
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 0x4341c0
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 0x43422e
cmp si, 0x69
ja 0x43422e
add esi, 0xffd0
cmp si, 0x11
je 0x4341fe
push 0x11
call edi
test ax, ax
jge 0x4341fe
or esi, 0x2000
cmp si, 0x10
je 0x434213
push 0x10
call edi
test ax, ax
jge 0x434213
or esi, 0x4000
cmp si, 0x12
je 0x434228
push 0x12
call edi
test ax, ax
jge 0x434228
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x43423b
mov esi, 0xbd
jmp 0x4341ef
cmp si, 0x6e
jne 0x434248
mov esi, 0xbe
jmp 0x4341ef
cmp si, 0x6f
jne 0x4341e9
mov esi, 0xbf
jmp 0x4341ef

Function at 0x4359c0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x561ca0]
xor edx, edx
cmp eax, edx
jne 0x4359e6
xor eax, eax
mov byte [eax + 0x561ba0], al
inc eax
cmp eax, 0x100
jl 0x4359ce
mov dword [0x561ca0], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x561ba0
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x435a77
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 0x435a4a
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 0x435a18
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x435af0
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 0x435b43
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 0x435b2a
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