joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1037c845
Capabilities:
Check for trap flag exception

Disassembly:
jmp 0x10361557
pushfd
or dword [esp], 0x100
popfd
rdtsc
nop
jmp 0x1036156e
ret
jmp 0x1036154c

Function at 0x1037ca14
Capabilities:
Encode data using xor

Disassembly:
jmp 0x1037ca4a
push edi
lea esp, [esp + 4]
push ecx
lea esp, [esp + 4]
jmp 0x10360d4e

Function at 0x1039cf59
Capabilities:
Execute anti-debugging instructions

Disassembly:
lea esp, [esp + 0xc]
dec dword [ebp - 4]
test ecx, ecx
call fcn.1039c7e0
mov ecx, dword [ebp - 4]
clc
jmp 0x1039ca27

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

Disassembly:
pushal
jmp 0x1039e044
mov dword [esp], esp
lea esp, [esp]
pushal
shr edi, 0x18
jmp 0x1039e022
mov edi, dword [edi*4 + 0x10369de4]
jmp 0x1039e0fb
push esp
mov word [esp + 1], ax
mov ebx, dword [ebx*4 + 0x10369de4]
sub esp, 0x14
pop word [esp + 8]
jmp 0x1039e061
lea esp, [esp + 0x44]
xor edi, dword [ebx*4 + 0x1036a9e4]
neg bh
movzx ebx, byte [esi + 2]
jmp 0x1039e077
and edi, ecx
mov edi, dword [edi*4 + 0x1036a1e4]
and ebx, ecx
jmp 0x1039e0ac

Function at 0x1039e305
Capabilities:
Encrypt data using aes

Disassembly:
and ebx, ecx
lea esp, [esp + 0xc]
xor edi, dword [ebx*4 + 0x1036a5e4]
movzx ebx, byte [esi + 9]
jmp 0x1039e1e9
clc
push word [esp + 1]
push word [esp + 3]
jmp 0x1039e1ff

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

Disassembly:
add esp, 0
jmp 0x1039e34f
push edx
mov edx, edi
lea edx, [edx*4]
lea edx, [edx + 0x1036a1e4]
jmp 0x1039e365
mov edi, dword [edx]
pop edx
jmp 0x1039e39a
and ebx, ecx
lea esp, [esp + 0x3c]
xor edi, dword [ebx*4 + 0x1036a9e4]
jmp 0x1039e384

Function at 0x1039e4d7
Capabilities:
Encrypt data using aes

Disassembly:
jmp 0x1039e50e
jne 0x1035f338
je 0x1035f239
lea esp, [esp + 8]
dec dword [ebp - 4]
mov dword [esi + 0xc], edi
jmp 0x1039e4d9

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

Disassembly:
add ecx, 8
mov dword [ecx], edi
pop ecx
lea edi, [esi + ebp]
mov edi, ebp
jmp 0x1039e3c6
pop ecx
cmc
push ecx
mov ecx, esi
jmp 0x1039e3a9
mov ebx, dword [ebx*4 + 0x10369de4]
clc
mov di, word [esp]
jmp 0x1039e403
push ecx
mov ecx, esi
add ecx, 0xc
mov edx, dword [ecx]
jmp 0x1039e3bf
push esi
jmp 0x1039e411
mov edi, edx
sub esp, 5
lea esp, [esp + 1]
shr edi, 0x18
jmp 0x1039e3ed
mov esi, edi
lea esi, [esi*4]
lea esi, [esi + 0x10369de4]
mov edi, dword [esi]
jmp 0x1039e4ca
and edx, ecx
lea esp, [esp + 0x18]
xor edi, dword [edx*4 + 0x1036ade4]
inc edx
jmp 0x1039e3e3
movzx ebx, byte [esi + 0xe]
jmp 0x1039e49b
cmp bl, dl
mov bx, word [esp]
bsf bx, bp
jmp 0x1039e443
and ebx, ecx
cmc
lea esp, [esp + 8]
xor edi, dword [ebx*4 + 0x1036a9e4]
jmp 0x1039e459
mov edx, dword [edx*4 + 0x10369de4]
call fcn.1039e4a7
dec ebx
invalid
mov ebx, dword [ebx*4 + 0x10369de4]
and edx, ecx
stc
jmp 0x1039e485
pop esi
and edi, ecx
mov edi, dword [edi*4 + 0x1036a1e4]
pushfd
jmp 0x1039e475
push esp
lea esp, [esp + 4]
jmp 0x1039e433
Function at 0x1039e7a3
Capabilities:
Encrypt data using aes

Disassembly:
jmp 0x1039f032
ja 0x1039e7cf
jbe 0x1039f04f
push edx
salc
inc esp
and ebx, esi
popal
ror byte [ebx - 0x25], 0xbe
dec ebp
mov gs, word [esi + 0x79]
pop eax
pop word [esp]
lea esp, [esp + 2]
jmp 0x1039e7a8
movzx edx, dl
pushal
lea esp, [esp + 0x20]
add edx, 4
jmp fcn.1039e7e8

Function at 0x103a3858
Capabilities:
Execute anti-debugging instructions

Disassembly:
call fcn.103a39fb
inc esp
stc
lodsb al, byte [esi]
mov dword [ebp - 0xc], edi
push ebp
lea esp, [esp + 1]
lea esp, [esp + 3]
jmp 0x103a3d57
pop word [esp]
lea esp, [esp + 2]
jmp 0x103a3842
jne 0x103a3150
cmp word [edi], ax
jne 0x103a313a
je 0x103a3150
not dl
mov dh, ch
mov dh, 0x33
xchg dword [esp], ebx
mov edx, dword [esp]
mov edx, esp
jmp 0x103a3dce
lea edx, [eax*4]
lea edx, [esp + eax]
push dword [esp]
ret 4

Function at 0x103a38e5
Capabilities:
Execute anti-debugging instructions

Disassembly:
jmp 0x103a3936
lea esp, [esp + 0x18]
cmp eax, 0xffffffff
pushfd
lea esp, [esp + 4]
je 0x103a307d
jne 0x103a3920
out 0x43, al
xor dl, byte [esi + 0x5f]
adc al, 0xe5
rcl dword [eax - 0x24], cl
dec esi
mov edi, 0x56cffcac
shl dword [esi + 0x50], 0x8d
and al, 1
lea esp, [esp + 4]
push ebx
call eax
sub esp, 0x18
jmp 0x103a38e7

Function at 0x103a398b
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov dword [esp + 0x20], ebx
lea esp, [esp + 4]
popal
jmp 0x103a399a
inc dh
lea edx, [eax + 2]
jmp 0x103a3166

Function at 0x105028e6
Capabilities:
Parse pe header

Disassembly:
call fcn.10500155
mov eax, dword fs:[0x30]
jmp 0x105028f1
pushfd
mov dword [esp + 0x3c], edi
lea esp, [esp + 0x3c]
jmp 0x105028d0
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax]
jmp 0x105028ff
mov eax, dword [eax + 8]
jmp 0x1050293e
push eax
jmp 0x10500150
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
nop
pop eax
nop
nop
add eax, 0x403d6f
sub eax, 0x403d15
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x430030
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43001e
nop
nop
popal
nop
nop
nop
jmp loc.00401219
Function at 0x1000b1e7
Capabilities:
Execute syscall

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 4], 0
cmp dword [ebp + 8], 0
jge 0x1000b210
mov eax, 0xfffffffd
jmp 0x1000b35b
mov ebx, dword [0x1018cd20]
add ebx, 0x1c
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 8]
cmp dword [ebx], 0
je 0x1000b329
mov ebx, dword [0x1018cd20]
add ebx, 4
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 8]
cmp dword [ebx], 6
jne 0x1000b25f
mov ebx, dword [0x1018cd20]
add ebx, 8
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
cmp dword [ebx], 2
jne 0x1000b25f
mov eax, 1
jmp 0x1000b261
xor eax, eax
test eax, eax
je 0x1000b28d
mov eax, dword [ebp]
add eax, 0x80
mov ecx, 0x20
push dword [eax]
sub eax, 4
loop 0x1000b276
mov eax, dword [ebp + 8]
call dword fs:[0xc0]
nop
nop
leave
ret 4
mov ebx, dword [0x1018cd20]
add ebx, 4
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 8]
cmp dword [ebx], 6
jne 0x1000b2c4
mov ebx, dword [0x1018cd20]
add ebx, 8
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
cmp dword [ebx], 4
jne 0x1000b2c4
mov eax, 1
jmp 0x1000b2c6
xor eax, eax
test eax, eax
je 0x1000b2fb
mov eax, dword [0x1018cd24]
mov dword [ebp - 4], eax
mov eax, dword [ebp]
add eax, 0x80
mov ecx, 0x20
push dword [eax]
sub eax, 4
loop 0x1000b2e3
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 4]
call edx
nop
nop
nop
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 [0x1018cd20]
add ebx, 0x1c
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 8]
cmp dword [ebx], 0
jne 0x1000b351
mov eax, dword [ebp + 8]
mov edx, dword [ebp]
lea edx, [edx + 8]
int 0x2e
nop
leave
ret 4
mov eax, 0
jmp 0x1000b35b
mov esp, ebp
pop ebp
ret 4

Function at 0x1000b562
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov dword [ebp + 8], 0x1000b615
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 0x1000c06a
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.1000b562
test eax, eax
je 0x1000c0ad
xor eax, eax
xchg dword [ebp + 8], eax
cmp eax, 0xffff
jle 0x1000c0ad
cmp word [eax], 0x5a4d
jne 0x1000c0ad
add eax, dword [eax + 0x3c]
cmp dword [eax], 0x4550
jne 0x1000c0ad
mov dword [ebp + 8], eax
mov dword [ebp - 4], 0
push 0
push dword [ebp - 4]
call fcn.1000b634
mov eax, dword [ebp + 8]
jmp 0x1000c0c6
mov esp, ebp
pop ebp
ret 4
Function at 0x10013487
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 4], 0
push esi
push edi
push eax
push ebx
push ecx
push edx
mov edi, dword [ebp + 0x10]
mov esi, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov eax, esi
mov ebx, esi
shl ebx, 6
shr eax, 2
add ebx, eax
movsx edx, byte [ecx]
lea ebx, [edx + ebx - 0x61c88647]
xor ebx, esi
inc ecx
mov esi, ebx
cmp ecx, edi
jne 0x100134a6
mov dword [ebp - 4], ebx
pop edx
pop ecx
pop ebx
pop eax
pop edi
pop esi
push dword [ebp - 4]
call fcn.10013504
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], edx
mov dword [ebp - 0x10], 0
push 0
push dword [ebp - 0x10]
push dword [ebp - 8]
push dword [ebp - 0xc]
call fcn.10011bbd
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
jmp 0x100134fe
mov esp, ebp
pop ebp
ret 0xc

Function at 0x1004ae12
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 0x1004ae4a
mov ecx, 0x530000
cmp dword [ebx + 0x58], ecx
jne 0x1004ae38
mov al, 1
jmp 0x1004aeb6
cmp dword [ebx + 0x54], ecx
jne 0x1004ae41
mov al, 2
jmp 0x1004aeb6
cmp dword [ebx + 0x7c], ecx
jne 0x1004aeb6
mov al, 3
jmp 0x1004aeb6
mov ebx, dword [ecx + 0xa8]
mov ecx, dword [ecx + 0xa4]
cmp ecx, 4
ja 0x1004ae5f
mov al, 4
jmp 0x1004aeb6
cmp ecx, 5
jne 0x1004ae7f
cmp ebx, 0
jne 0x1004ae6d
mov al, 5
jmp 0x1004aeb6
cmp ebx, 1
jne 0x1004ae76
mov al, 6
jmp 0x1004aeb6
cmp ebx, 2
jne 0x1004ae7f
mov al, 7
jmp 0x1004aeb6
cmp ecx, 0xa
jne 0x1004ae86
jmp 0x1004aeb4
cmp ecx, 6
jne 0x1004aeb6
cmp ebx, 0
jne 0x1004ae94
mov al, 8
jmp 0x1004aeb6
cmp ebx, 1
jne 0x1004ae9d
mov al, 9
jmp 0x1004aeb6
cmp ebx, 2
jne 0x1004aea6
mov al, 0xa
jmp 0x1004aeb6
cmp ebx, 3
jne 0x1004aeaf
mov al, 0xb
jmp 0x1004aeb6
cmp ebx, 4
jne 0x1004aeb6
mov al, 0xc
pop ebx
leave
ret
Function at 0x1004e740
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10102820
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov eax, dword [esp + 0x30]
push ebp
push esi
push edi
mov ecx, dword [eax]
push ecx
lea ecx, [esp + 0x10]
call fcn.100f73ac
mov esi, dword [esp + 0xc]
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0
xor ebp, ebp
call fcn.10052e80
mov ecx, dword [esp + 0x40]
mov byte [esp + 0x2c], 1
cmp ecx, 3
ja case.default.0x1004e794
jmp dword [ecx*4 + 0x1004e8fc]
mov al, byte [esi]
test al, al
je 0x1004e7c2
cmp al, 0x20
je 0x1004e7ae
cmp al, 0xa1
jne 0x1004e7c2
cmp byte [esi + 1], al
jne 0x1004e7c2
test al, 0x80
je 0x1004e7ba
mov al, byte [esi + 1]
inc esi
test al, al
je 0x1004e7c2
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x1004e7a1
test ecx, ecx
je case.default.0x1004e794
mov dl, byte [esi]
xor ecx, ecx
test dl, dl
mov eax, esi
je case.default.0x1004e794
mov edi, dword [esp + 0x3c]
mov dl, byte [eax]
test dl, 0x80
je 0x1004e808
cmp dl, 0xa1
jne 0x1004e7fc
cmp byte [eax + 1], 0xa1
jne 0x1004e7fc
test ecx, ecx
jne 0x1004e7f4
mov edi, eax
mov ecx, 1
inc eax
jmp 0x1004e81c
mov dl, byte [eax + 1]
inc eax
xor ecx, ecx
test dl, dl
je 0x1004e836
jmp 0x1004e81c
cmp dl, 0x20
jne 0x1004e81a
test ecx, ecx
jne 0x1004e813
mov edi, eax
mov ecx, 1
jmp 0x1004e81c
xor ecx, ecx
mov dl, byte [eax + 1]
inc eax
test dl, dl
jne 0x1004e7dc
cmp ecx, 1
jne case.default.0x1004e794
mov dl, byte [edi]
mov ebp, edi
mov byte [esp + 0x3c], dl
mov byte [edi], 0
jmp case.default.0x1004e794
mov dl, byte [eax - 1]
lea edi, [eax - 1]
mov ebp, edi
mov byte [esp + 0x3c], dl
mov byte [edi], 0
jmp case.default.0x1004e794
mov al, byte [esi]
test al, al
je 0x1004e88e
test al, 0x80
mov byte [esp + 0x3c], al
je 0x1004e874
mov cl, byte [esi + 1]
test cl, cl
je 0x1004e88e
cmp al, 0xa1
jne 0x1004e864
cmp cl, al
je 0x1004e871
mov ax, word [esi]
lea ecx, [esp + 0x10]
push eax
call fcn.10053110
inc esi
jmp 0x1004e886
cmp al, 0x20
je 0x1004e886
mov ecx, dword [esp + 0x3c]
push ecx
lea ecx, [esp + 0x14]
call fcn.10053150
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x1004e84d
push 0
lea ecx, [esp + 0x14]
call fcn.10053150
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.10066a10
mov edx, dword [esp + 0x38]
add esp, 4
test ebp, ebp
mov dword [edx], eax
je 0x1004e8c1
mov al, byte [esp + 0x3c]
mov byte [ebp], al
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 0
mov dword [esp + 0x10], 0x10158cd8
call fcn.10053080
lea ecx, [esp + 0xc]
mov dword [esp + 0x2c], 0xffffffff
call fcn.100f733e
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x24
ret
Function at 0x10050000
Capabilities:
Get disk size

Disassembly:
sub esp, 0x1c
push esi
push edi
mov edi, 0x10172288
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 8]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 1
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x34]
push ecx
call fcn.1004ffc0
add esp, 8
mov byte [esp + 8], al
or esi, 0xffffffff
push str.GetDiskFreeSpaceExA
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x100500aa
lea edx, [esp + 0xc]
lea ecx, [esp + 0x1c]
push edx
push ecx
lea edx, [esp + 0x1c]
lea ecx, [esp + 0x10]
push edx
push ecx
call eax
test eax, eax
je 0x1005010b
mov eax, dword [esp + 0x34]
test eax, eax
jne 0x1005008c
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
jmp 0x10050094
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ecx, 0xa
call fcn.100e67c0
mov edx, dword [esp + 0x28]
pop edi
pop esi
mov dword [edx], eax
add esp, 0x1c
ret
lea eax, [esp + 0x30]
lea ecx, [esp + 0xc]
push eax
lea edx, [esp + 0x20]
push ecx
lea eax, [esp + 0x1c]
push edx
lea ecx, [esp + 0x14]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
test eax, eax
je 0x100500ff
mov eax, dword [esp + 0x34]
test eax, eax
mov eax, dword [esp + 0x30]
je 0x100500dd
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x14]
push 0x400
imul edx, dword [esp + 0x20]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov ecx, dword [esp + 0x28]
pop edi
pop esi
mov dword [ecx], eax
add esp, 0x1c
ret
mov edx, dword [esp + 0x28]
pop edi
mov dword [edx], esi
pop esi
add esp, 0x1c
ret
mov eax, dword [esp + 0x28]
pop edi
mov dword [eax], esi
pop esi
add esp, 0x1c
ret
Function at 0x1005d890
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x101033ab
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.100f70b3
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x1005d912
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.100f497d
mov eax, dword [eax]
push 0x1017228c
push eax
call fcn.100e5fd4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.100f733e
test bl, bl
je 0x1005d912
push 0x1017228c
lea ecx, [esp + 0xc]
call fcn.100f76ce
push 0x10175e04
lea ecx, [esp + 0xc]
call fcn.100f76ce
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 0x1005d94e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.100f733e
jmp 0x1005da19
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 0x1005d9d2
lea edx, [esp + 0x7c]
push 0x10175e00
push edx
call fcn.100e5fd4
add esp, 8
test eax, eax
je 0x1005d9d2
lea eax, [esp + 0x7c]
push 0x10175dfc
push eax
call fcn.100e5fd4
add esp, 8
test eax, eax
je 0x1005d9d2
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 0x1005d962
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.100f733e
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 0x1005e210
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 0x1005e272
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 0x1005e280
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x1010342b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x10188abc]
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 0x1005e3b8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x1005e2e6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.100f733e
xor eax, eax
jmp 0x1005e42f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.100f747b
push esi
lea ecx, [esp + 0xc]
call fcn.100f770a
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x10175e3c
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x1005e40d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push 0x10175e34
push accept
call fcn.1005e210
test eax, eax
jne 0x1005e40d
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push 0x10175e20
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push accept
mov ecx, edi
call fcn.1005e210
test eax, eax
jne 0x1005e40d
lea eax, [esp + 0x14]
push 0x10175e18
push eax
call fcn.100e7160
mov esi, eax
add esp, 8
test esi, esi
jne 0x1005e3ec
lea ecx, [esp + 0x14]
push 0x10175e14
push ecx
call fcn.100e70e0
mov esi, eax
add esp, 8
test esi, esi
jne 0x1005e3ec
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x1005e3ef
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.100f742b
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x1005e2fe
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.100f733e
xor eax, eax
jmp 0x1005e42f
mov byte [esi], 0
push 0x10175e10
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.100f733e
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 0x10072740
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 0x100727ae
cmp si, 0x69
ja 0x100727ae
add esi, 0xffd0
cmp si, 0x11
je 0x1007277e
push 0x11
call edi
test ax, ax
jge 0x1007277e
or esi, 0x2000
cmp si, 0x10
je 0x10072793
push 0x10
call edi
test ax, ax
jge 0x10072793
or esi, 0x4000
cmp si, 0x12
je 0x100727a8
push 0x12
call edi
test ax, ax
jge 0x100727a8
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x100727bb
mov esi, 0xbd
jmp 0x1007276f
cmp si, 0x6e
jne 0x100727c8
mov esi, 0xbe
jmp 0x1007276f
cmp si, 0x6f
jne 0x10072769
mov esi, 0xbf
jmp 0x1007276f

Function at 0x10073f90
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x10199770]
xor edx, edx
cmp eax, edx
jne 0x10073fb6
xor eax, eax
mov byte [eax + 0x10199670], al
inc eax
cmp eax, 0x100
jl 0x10073f9e
mov dword [0x10199770], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x10199670
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x10074047
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 0x1007401a
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 0x10073fe8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x100740c0
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 0x10074113
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 0x100740fa
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