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

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x12c]
push ebx
xor ebx, ebx
cmp dword [eax - 0xc], ebx
je 0x43368b
cmp dword [ebp + 0x14], 1
jl 0x43368b
cmp dword [ebp + 0xc], ebx
je 0x43368b
cmp dword [ebp + 0x10], ebx
je 0x43368b
push esi
push edi
mov esi, 0xff
push esi
mov dword [ebp - 4], ebx
call fcn.0040555b
mov edi, eax
mov eax, dword [ebp + 8]
push esi
add eax, 0x2c
push eax
push esi
push edi
call fcn.00405580
mov eax, dword [ebp + 0x14]
add esp, 0x14
test eax, eax
jle 0x43367d
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
sub edx, ecx
mov dword [ebp + 8], ecx
mov dword [ebp + 0xc], edx
mov dword [ebp + 0x14], eax
lea eax, [ebx + 1]
cdq
mov ecx, esi
idiv ecx
mov ebx, esi
mov cl, byte [edi + edx]
movzx eax, cl
add eax, dword [ebp - 4]
mov dword [ebp + 0x10], edx
cdq
idiv ebx
mov ebx, dword [ebp + 0x10]
lea eax, [edi + edx]
mov dword [ebp - 4], edx
mov dl, byte [eax]
mov byte [edi + ebx], dl
mov byte [eax], cl
movzx eax, byte [edi + ebx]
movzx ecx, cl
add eax, ecx
cdq
mov ecx, esi
idiv ecx
mov eax, dword [ebp + 8]
mov cl, byte [edx + edi]
mov edx, dword [ebp + 0xc]
xor cl, byte [edx + eax]
mov byte [eax], cl
inc eax
dec dword [ebp + 0x14]
mov dword [ebp + 8], eax
jne 0x43362f
push edi
call fcn.004069e2
pop ecx
xor eax, eax
pop edi
inc eax
pop esi
jmp 0x43368d
xor eax, eax
pop ebx
leave
ret 0x10
Function at 0x46645a
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
push ebx
push esi
push edi
add eax, 0x78
push eax
xor edi, edi
lea eax, [ebp - 8]
mov ebx, 0x53492c
push eax
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x5c], 1
mov dword [ebp - 0x58], 0x534938
mov dword [ebp - 0x54], 2
mov dword [ebp - 0x50], 0x53494c
mov dword [ebp - 0x4c], 4
mov dword [ebp - 0x48], 0x53495c
mov dword [ebp - 0x44], 8
mov dword [ebp - 0x40], 0x534970
mov dword [ebp - 0x3c], 0x10
mov dword [ebp - 0x38], 0x534984
mov dword [ebp - 0x34], 0x20
mov dword [ebp - 0x30], str._XeP
mov dword [ebp - 0x2c], 0x20000000
mov dword [ebp - 0x28], 0x5349a8
mov dword [ebp - 0x24], 0x40000000
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x10], edi
call fcn.00506f5b
mov esi, 0x51e92c
push esi
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 0x10]
lea edx, [ebp - 8]
call fcn.005067a8
mov eax, dword [ebp - 4]
cmp dword [eax - 0xc], edi
je 0x4665b3
mov eax, ebx
push eax
lea eax, [ebp - 4]
push eax
call fcn.00506782
test eax, eax
je 0x46657c
mov eax, dword [ebp + edi*8 - 0x58]
inc edi
test eax, eax
jne 0x466512
mov edi, dword [ebp + 8]
mov esi, dword [edi]
push 1
push 1
push 0x1bd
push ecx
mov eax, esp
push 0x5349b4
push eax
add esi, 0x10
call int.0050539f
push ecx
mov eax, esp
push 0x5349dc
push eax
lea ecx, [ebp - 4]
call fcn.005069ca
pop ecx
pop ecx
push 1
mov ecx, edi
call dword [esi]
xor esi, esi
lea ecx, [ebp - 4]
call fcn.00505425
lea ecx, [ebp - 8]
call fcn.00505425
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 4
mov eax, dword [ebp + edi*8 - 0x5c]
or dword [ebp - 0xc], eax
push esi
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x10]
lea edx, [ebp - 8]
call fcn.005067a8
lea edi, [ebp - 4]
call fcn.00506705
lea ecx, [ebp - 0x14]
call fcn.00505425
mov eax, dword [ebp - 4]
cmp dword [eax - 0xc], 0
je 0x4665b3
xor edi, edi
jmp 0x466510
mov esi, dword [ebp - 0xc]
jmp 0x466563

Function at 0x4724de
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
cmp dword [esp + 4], eax
jle 0x472507
push esi
movzx edx, byte [ecx]
movzx edx, byte [edx + 0x52a518]
mov esi, eax
shl esi, 3
xor edx, esi
xor eax, edx
inc ecx
dec dword [esp + 8]
cmp dword [esp + 8], 0
jg 0x4724e7
pop esi
ret
Function at 0x476f4d
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push edi
mov esi, eax
mov eax, dword [ebx + 0x3c]
xor edi, edi
mov dword [ebp - 4], edi
cmp dword [eax], edi
jne 0x476f7a
push eax
mov eax, dword [ebx + 0x78]
mov ecx, ebx
call fcn.00476b59
pop ecx
mov dword [ebp - 4], eax
cmp eax, edi
jne 0x477042
mov ecx, dword [ebx + 0x18]
cmp ecx, dword [ebx + 0x24]
jbe 0x476fae
mov eax, dword [ebx + 0x80]
push edi
cdq
push ecx
push edx
push eax
call fcn.00414260
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebx + 0x3c]
push 5
mov dword [ebp - 0xc], edx
call fcn.0046f416
mov eax, dword [ebx + 0x18]
pop ecx
pop ecx
mov dword [ebx + 0x24], eax
test esi, esi
je 0x477042
mov edi, dword [esi + 0xc]
cmp edi, dword [ebx + 0x18]
ja 0x477035
test byte [esi + 0x14], 0x20
jne 0x477035
mov eax, dword [ebx + 0x80]
cdq
push edx
push eax
lea ecx, [edi - 1]
push 0
push ecx
call fcn.00414260
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
cmp edi, 1
jne 0x476fe8
call fcn.0047670e
push dword [ebp - 0xc]
mov eax, dword [esi]
push dword [ebp - 0x10]
mov dword [ebp - 8], eax
push dword [ebx + 0x80]
push eax
mov eax, dword [ebx + 0x3c]
call fcn.0046f3a9
add esp, 0x10
mov dword [ebp - 4], eax
cmp edi, 1
jne 0x477022
mov eax, dword [ebp - 8]
add eax, 0x18
push 0x10
push eax
lea eax, [ebx + 0x64]
push eax
call fcn.00407060
add esp, 0xc
cmp edi, dword [ebx + 0x20]
jbe 0x47702a
mov dword [ebx + 0x20], edi
push dword [esi]
mov eax, dword [ebx + 0x58]
call fcn.00481103
pop ecx
cmp dword [ebp - 4], 0
mov esi, dword [esi + 8]
je 0x476fae
mov eax, dword [ebp - 4]
pop edi
pop esi
leave
ret
Function at 0x48f48a
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
mov edi, dword [esp + 0x10]
test edi, edi
je 0x48f5a2
test esi, esi
je 0x48f5a2
movzx edx, word [edi + 2]
mov eax, 0x800
mov ecx, edx
and ecx, eax
mov ebx, eax
cmp cx, bx
je 0x48f546
movzx ecx, word [esi + 2]
mov ebx, ecx
and ebx, eax
cmp bx, ax
je 0x48f546
xor cl, dl
test cl, 0x10
jne 0x48f546
mov al, byte [edi]
cmp al, byte [esi]
jne 0x48f546
push dword [esi + 8]
push dword [edi + 8]
call fcn.0048f48a
pop ecx
pop ecx
test eax, eax
jne 0x48f546
push dword [esi + 0xc]
push dword [edi + 0xc]
call fcn.0048f48a
pop ecx
pop ecx
test eax, eax
jne 0x48f546
mov ebx, dword [esi + 0x10]
mov edi, dword [edi + 0x10]
call fcn.0048f5b1
test eax, eax
jne 0x48f546
mov edi, dword [esp + 0x10]
mov eax, dword [edi + 0x18]
cmp eax, dword [esi + 0x18]
jne 0x48f546
mov ax, word [edi + 0x1c]
cmp ax, word [esi + 0x1c]
jne 0x48f546
movzx eax, word [edi + 2]
mov ecx, eax
mov eax, 0x400
and ecx, eax
mov edx, eax
cmp cx, dx
jne 0x48f54b
mov cx, word [esi + 2]
and cx, dx
cmp cx, ax
jne 0x48f546
mov eax, dword [edi + 4]
cmp eax, dword [esi + 4]
je 0x48f575
push 2
pop eax
jmp 0x48f5ad
cmp byte [edi], 0x98
je 0x48f575
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x48f575
mov dx, word [esi + 2]
mov ebx, eax
and dx, bx
cmp dx, ax
je 0x48f546
mov edx, dword [esi + 4]
test edx, edx
je 0x48f546
call fcn.00471a52
test eax, eax
jne 0x48f546
movzx ecx, word [edi + 2]
mov dx, word [esi + 2]
mov eax, pe_nt_image_headers32
and ecx, eax
and dx, ax
cmp cx, dx
je 0x48f591
xor eax, eax
inc eax
jmp 0x48f5ad
test cx, cx
je 0x48f59e
mov eax, dword [edi + 0x14]
cmp eax, dword [esi + 0x14]
jne 0x48f546
xor eax, eax
jmp 0x48f5ad
mov eax, esi
sub eax, edi
neg eax
sbb eax, eax
and eax, 2
pop edi
pop esi
pop ebx
ret
Function at 0x4a5291
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1bc
push ebx
mov ebx, dword [ebp + 0x10]
mov eax, dword [ebx + 0x18]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov dword [esp + 0x3c], eax
push eax
mov eax, dword [esi + 4]
call fcn.004a420a
mov edi, dword [esi + 0x1c]
mov dword [esp + 0x30], edx
mov edx, dword [esi + 0x14]
imul edx, edx, 0x28
add edx, edi
cmp byte [ebx + 0x16], 0
pop ecx
mov dword [esp + 0x28], eax
mov dword [esp + 0x38], edx
jne 0x4a5489
cmp dword [ebx + 0x34], 0
jne 0x4a5489
jmp 0x4a547d
mov eax, pe_nt_image_headers32
cmp word [edi + 0x10], ax
jne 0x4a547a
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
not eax
and eax, dword [edi + 0x20]
not ecx
and ecx, dword [edi + 0x24]
and eax, dword [ebp + 0x14]
and ecx, dword [ebp + 0x18]
or eax, ecx
jne 0x4a547a
mov ecx, dword [edi + 0xc]
mov eax, dword [ecx + 0x160]
mov esi, dword [ecx + 0x164]
and eax, dword [esp + 0x28]
and esi, dword [esp + 0x2c]
or eax, esi
je 0x4a547a
mov esi, dword [ecx + 0x14]
fldz
mov ebx, dword [ecx + 0x1c]
imul esi, esi, 0x28
fst qword [esp + 0x20]
fstp qword [esp + 0x30]
and dword [esp + 0x10], 0
add esi, ebx
and dword [esp + 0x14], 0
jmp 0x4a5419
mov eax, 0x200
cmp word [ebx + 0x10], ax
jne 0x4a537a
lea eax, [esp + 0x40]
push eax
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebx + 0xc]
jmp 0x4a53c7
mov eax, dword [esp + 0x3c]
cmp dword [ebx + 8], eax
jne 0x4a5416
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x6c], eax
lea eax, [esp + 0x40]
push eax
push dword [ebp + 0x20]
lea eax, [esp + 0x70]
push dword [ebp + 0x1c]
mov dword [esp + 0x74], ecx
push dword [ebp + 0x18]
mov byte [esp + 0x88], 0x45
push dword [ebp + 0x14]
mov dword [esp + 0x98], ebx
mov dword [esp + 0x90], 1
push eax
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
call fcn.004a62c9
fld qword [esp + 0x70]
fadd qword [esp + 0x38]
mov ecx, dword [ebp + 0x28]
mov eax, dword [esp + 0x78]
or dword [esp + 0x28], eax
mov eax, dword [esp + 0x7c]
fstp qword [esp + 0x38]
fld qword [esp + 0x60]
or dword [esp + 0x2c], eax
fadd qword [esp + 0x48]
mov edi, dword [esp + 0x34]
mov edx, dword [esp + 0x50]
add esp, 0x18
fstp qword [esp + 0x30]
fld qword [ecx + 0x18]
fcomp qword [esp + 0x20]
fnstsw ax
test ah, 0x41
jnp 0x4a5424
add ebx, 0x28
cmp ebx, esi
jb 0x4a5359
mov ecx, dword [ebp + 0x28]
cmp dword [ebp + 0x24], 0
je 0x4a5447
fld qword [esp + 0x30]
push ecx
push ecx
fstp qword [esp]
call fcn.004a5253
fmul qword [esp + 0x38]
add esp, 8
fadd qword [esp + 0x20]
fstp qword [esp + 0x20]
fld qword [ecx + 0x18]
fcomp qword [esp + 0x20]
fnstsw ax
test ah, 0x41
jne 0x4a547a
mov eax, dword [esp + 0x10]
fld qword [esp + 0x20]
fstp qword [ecx + 0x18]
mov dword [ecx + 0x20], eax
mov eax, dword [esp + 0x14]
fld qword [esp + 0x30]
fstp qword [ecx + 8]
mov dword [ecx + 0x24], eax
mov dword [ecx], 0x10000000
mov dword [ecx + 0x10], edi
add edi, 0x28
mov dword [esp + 0x1c], edi
cmp edi, edx
jb 0x4a52e7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4c8533
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1d8
mov eax, dword [0x562270]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push edi
push 0x40
mov esi, ecx
mov dword [ebp - 0x1d8], eax
mov eax, dword [ebp + 0x10]
pop edi
mov dword [ebp - 0x1d4], eax
cmp esi, edi
jbe 0x4c85a0
lea eax, [ebp - 0x1d0]
call fcn.004c8712
lea eax, [ebp - 0x1d0]
push ebx
push eax
mov eax, esi
call fcn.004c8691
lea eax, [ebp - 0x48]
push 0x20
push eax
lea esi, [ebp - 0x1d0]
call fcn.004cadf3
push 0x20
lea eax, [ebp - 0x28]
push 0
push eax
call fcn.00407dd0
add esp, 0x1c
jmp 0x4c85c6
push esi
lea eax, [ebp - 0x48]
push ebx
push eax
call fcn.00407060
add esp, 0xc
cmp esi, edi
jae 0x4c85c6
mov eax, edi
sub eax, esi
push eax
lea eax, [ebp + esi - 0x48]
push 0
push eax
call fcn.00407dd0
add esp, 0xc
xor eax, eax
mov cl, byte [ebp + eax - 0x48]
xor cl, 0x36
mov byte [ebp + eax - 0xa8], cl
inc eax
cmp eax, edi
jl 0x4c85c8
lea eax, [ebp - 0x1d0]
call fcn.004c8712
lea eax, [ebp - 0xa8]
push eax
lea eax, [ebp - 0x1d0]
push eax
mov eax, edi
call fcn.004cad4f
push dword [ebp - 0x1d8]
lea eax, [ebp - 0x1d0]
push eax
mov eax, dword [ebp + 0xc]
call fcn.004c8691
lea eax, [ebp - 0x68]
push 0x20
push eax
lea esi, [ebp - 0x1d0]
call fcn.004cadf3
add esp, 0x18
xor eax, eax
mov cl, byte [ebp + eax - 0x48]
xor cl, 0x5c
mov byte [ebp + eax - 0xa8], cl
inc eax
cmp eax, edi
jl 0x4c8626
lea eax, [ebp - 0x1d0]
call fcn.004c8712
lea eax, [ebp - 0xa8]
push eax
lea eax, [ebp - 0x1d0]
push eax
mov eax, edi
call fcn.004cad4f
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x1d0]
push eax
push 0x20
pop eax
call fcn.004cad4f
push dword [ebp + 0x14]
lea esi, [ebp - 0x1d0]
push dword [ebp - 0x1d4]
call fcn.004cadf3
mov ecx, dword [ebp - 4]
add esp, 0x18
pop edi
xor ecx, ebp
pop esi
call fcn.00405571
leave
ret

Function at 0x506ba6
Capabilities:
Encode data using xor

Disassembly:
dec esi
mov eax, dword [0x9ec20b6]
dec ebx
mov ebx, 0x8ef08e83
insb byte es:[edi], dx
mov dword [0x7ce1ed72], eax
in al, 0xc7
adc esp, 0x2a
jecxz 0x506c3f
pop es
sub dword [ecx + edx*2], 0x22
sub eax, 0x7b661c8c
xchg esi, ebp
clc
add al, 0
insb byte es:[edi], dx
cdq
pop ebp
xor al, 0x5f
shl byte [ecx - 0x51e9453c], cl
dec edx
jbe 0x506bd2
xchg edx, eax
mov cl, 0x5b
dec ecx
mov esi, 0xf6b1017
pcmpeqw mm5, qword [esi]
sbb ecx, dword [ebp - 0x22cd2f7]
aam 0x72
retf
invalid
Function at 0x509186
Capabilities:
Encode data using xor

Disassembly:
push 0x46
lodsd eax, dword [esi]
enter 0xffffffffffffa861, 0xffffffffffffffbf
jae 0x509141
dec edi
mov word [edx], fs
push ss
sub eax, 0x1ca0be19
insb byte es:[edi], dx
and byte [esi - 0xb94f637], ch
daa
mov byte [ebp - 0x272c30d0], ah
mov al, byte [0x2adebe37]
dec ebp
in eax, dx
add esp, dword [edx + 0x1fdd4cb7]
aam 0x33
imul edi, dword [ecx - 0x60], 0xa51fe471
wait
xor dword [edx], 0x79
or byte [edi - 0x36], 0xfb
pop ebx
mov al, byte [0x1566440]
rcr ch, 1
dec ecx
dec edx
std
mov dword [0x2658455f], eax
int 0x3d
pop edx
fstp qword [edi - 0x71]
mov ch, 0xb5
idiv dword [ebp + 0x5e]
mov byte [0xef511852], al
mov ch, 0x89
jg 0x5091d8
bound ecx, qword [ecx + 0x5a44dc7f]
test ebp, eax
lea ebx, [eax]
pop esi
fidivr word [edx - 0x43ca1aa2]
fisubr word ds:[edi]
inc edx
out dx, eax
mov edx, 0x5a5e8912
pop ss
cmp ebx, esi
sbb byte [eax], ch
mov cl, 0x87
mov ebx, 0x7f72b01e
stosd dword es:[edi], eax
pop ebx
sub edi, edi
mov eax, 0xcb271543
invalid
Function at 0x430fa0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4d457b
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.004c3f34
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x431022
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004c0e04
mov eax, dword [eax]
push 0x50ed44
push eax
call fcn.004b24f4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004c41bf
test bl, bl
je 0x431022
push 0x50ed44
lea ecx, [esp + 0xc]
call fcn.004c459b
push 0x50ed50
lea ecx, [esp + 0xc]
call fcn.004c459b
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 0x43105e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004c41bf
jmp 0x431129
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 0x4310e2
lea edx, [esp + 0x7c]
push 0x50ed4c
push edx
call fcn.004b24f4
add esp, 8
test eax, eax
je 0x4310e2
lea eax, [esp + 0x7c]
push 0x50ed48
push eax
call fcn.004b24f4
add esp, 8
test eax, eax
je 0x4310e2
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 0x431072
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.004c41bf
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 0x432380
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 0x4323e2
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 0x4323f0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4d46db
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x51bf10]
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 0x432528
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x432456
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004c41bf
xor eax, eax
jmp 0x43259f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004c4348
push esi
lea ecx, [esp + 0xc]
call fcn.004c45d7
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x50ed84
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x43257d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push bind
call fcn.00432380
test eax, eax
jne 0x43257d
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 bind
mov ecx, edi
call fcn.00432380
test eax, eax
jne 0x43257d
lea eax, [esp + 0x14]
push 0x50ed60
push eax
call fcn.004b36d0
mov esi, eax
add esp, 8
test esi, esi
jne 0x43255c
lea ecx, [esp + 0x14]
push 0x50ed5c
push ecx
call fcn.004b3650
mov esi, eax
add esp, 8
test esi, esi
jne 0x43255c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x43255f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004c42f8
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x43246e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004c41bf
xor eax, eax
jmp 0x43259f
mov byte [esi], 0
push 0x50ed58
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.004c41bf
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 0x43c136
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x190
push esi
mov esi, ecx
mov eax, dword [esi + 0x3ac]
test eax, eax
jne 0x43c15e
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 + 0x3ac], eax
pop esi
add esp, 0x190
ret
Function at 0x4463e0
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 0x44644e
cmp si, 0x69
ja 0x44644e
add esi, 0xffd0
cmp si, 0x11
je 0x44641e
push 0x11
call edi
test ax, ax
jge 0x44641e
or esi, 0x2000
cmp si, 0x10
je 0x446433
push 0x10
call edi
test ax, ax
jge 0x446433
or esi, 0x4000
cmp si, 0x12
je 0x446448
push 0x12
call edi
test ax, ax
jge 0x446448
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x44645b
mov esi, 0xbd
jmp 0x44640f
cmp si, 0x6e
jne 0x446468
mov esi, 0xbe
jmp 0x44640f
cmp si, 0x6f
jne 0x446409
mov esi, 0xbf
jmp 0x44640f

Function at 0x447cc0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x52cf98]
xor edx, edx
cmp eax, edx
jne 0x447ce6
xor eax, eax
mov byte [eax + 0x52ce98], al
inc eax
cmp eax, 0x100
jl 0x447cce
mov dword [0x52cf98], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x52ce98
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x447d77
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 0x447d4a
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 0x447d18
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x447df0
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 0x447e43
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 0x447e2a
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