joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4581d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx]
ja 0x4581ef
xor edi, edi
mov eax, 0xc
call fcn.0044c660
jmp fcn.004581d0
sub esp, 0x44
mov ecx, dword [esp + 0x48]
cmp ecx, 0
je 0x458298
add ecx, 0x10
mov dword [esp + 0x30], ecx
mov eax, dword [0xc975f8]
xor ebx, ebx
cmp eax, ebx
je 0x45826f
mov dword [esp + 0x3c], eax
mov dword [esp], eax
mov dword [esp + 0x40], ecx
mov dword [esp + 4], ecx
mov esi, dword [esp + 0x48]
cmp esi, 0
je 0x45826b
add esi, 0x78
lea edi, [esp + 8]
cld
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.00451620
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
cmp eax, 0
je 0x45825f
mov ebx, dword [esp + 0x48]
mov dword [ebx + 0x90], eax
mov dword [ebx + 0x94], ecx
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], esi
add esp, 0x44
ret
mov dword [esi], eax
jmp 0x45822a
mov dword [esp], 0x860260
mov dword [esp + 4], 0x805b40
mov dword [esp + 8], 0xc975f8
call fcn.004444a0
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0xc]
jmp 0x458212
mov dword [ecx], eax
jmp 0x4581ff
Function at 0x45b990
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx]
ja 0x45b9af
xor edi, edi
mov eax, 0x1c
call fcn.0044c660
jmp fcn.0045b990
sub esp, 0x50
mov ebx, dword [esp + 0x54]
mov dword [esp], ebx
cmp dword [esp], 0
je 0x45bb31
add dword [esp], 0x78
push 0xac4f40
push 4
call fcn.004329f0
pop ecx
pop ecx
test eax, eax
jne 0x45bb27
mov ebx, dword [esp + 0x54]
mov dword [esp], ebx
mov ebx, dword [esp + 0x6c]
mov dword [esp + 4], ebx
call fcn.0045b900
mov ebx, dword [esp + 8]
mov dword [esp + 0x30], ebx
mov ebx, dword [esp + 0x6c]
mov ebp, dword [ebx + 0x10]
mov dword [esp + 0x20], ebp
mov ebx, dword [esp + 0x6c]
mov ebp, dword [ebx + 0x14]
cmp ebp, 0
je 0x45ba21
mov ebx, dword [esp + 0x6c]
movzx ebp, byte [ebx + 0x1c]
xchg ebp, eax
movsx eax, al
xchg ebp, eax
mov dword [esp + 0x20], ebp
xor eax, eax
mov ebx, dword [esp + 0x20]
cmp eax, ebx
mov dword [esp + 0x24], eax
jge 0x45ba70
lea esi, [esp + 0x5c]
lea edi, [esp]
cld
call fcn.0044e588
call fcn.006584d0
lea ebx, [esp + 0x10]
mov esi, ebx
lea edi, [esp + 0x40]
cld
call fcn.0044e588
lea esi, [esp + 0x40]
lea edi, [esp + 0x5c]
cld
call fcn.0044e588
mov eax, dword [esp + 0x24]
inc eax
mov ebx, dword [esp + 0x20]
cmp eax, ebx
mov dword [esp + 0x24], eax
jl 0x45ba2f
mov ebx, dword [esp + 0x6c]
mov ebp, dword [ebx + 0x14]
cmp ebp, 0
jne 0x45baef
lea esi, [esp + 0x5c]
lea edi, [esp]
cld
call fcn.0044e588
call fcn.00657980
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x3c], eax
mov dword [esp], eax
mov dword [esp + 0x38], edx
mov ebx, dword [edx + 0x50]
call ebx
mov ebx, dword [esp + 4]
cmp ebx, 0x19
jne 0x45baef
lea esi, [esp + 0x5c]
lea edi, [esp]
cld
call fcn.0044e588
call fcn.00457870
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x54]
mov dword [esp], ebx
mov ebx, dword [esp + 0x58]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x30]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
call fcn.00459800
nop
call fcn.00432a50
add esp, 0x50
ret
lea esi, [esp + 0x5c]
lea edi, [esp]
cld
call fcn.0044e588
call fcn.00457870
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + 0x54]
mov dword [esp], ebx
mov ebx, dword [esp + 0x58]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x30]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ecx
call fcn.00459740
jmp 0x45bae5
nop
call fcn.00432a50
add esp, 0x50
ret
mov dword [0], eax
jmp 0x45b9c3
Function at 0x45c790
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx]
ja 0x45c7af
xor edi, edi
mov eax, 0x14
call fcn.0044c660
jmp fcn.0045c790
sub esp, 0x4c
mov esi, dword [esp + 0x60]
cmp esi, 0
je 0x45c91e
mov edx, dword [esi + 8]
mov ecx, dword [esi + 0xc]
mov ebp, dword [esi + 0x14]
cmp ebp, 0
je 0x45c7d2
mov edx, dword [esi]
mov ecx, dword [esi + 4]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x44], edx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x48], ecx
mov dword [esp], 0x7849c0
mov ebx, dword [esp + 0x50]
mov ebp, dword [ebx + 0x14]
mov dword [esp + 4], ebp
lea ebx, [esp + 0x44]
mov dword [esp + 8], ebx
call fcn.00443cd0
mov ecx, dword [esp + 0xc]
movzx ebx, byte [esp + 0x10]
cmp ecx, 0
je 0x45c917
cmp bl, 0
jne 0x45c90b
mov ebx, dword [esp + 0x50]
mov dword [esp], ebx
mov ebx, dword [esp + 0x54]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x58]
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0x5c]
mov dword [esp + 0xc], ebx
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x14], ebx
call fcn.0045c5a0
movzx ebx, byte [esp + 0x18]
mov eax, ebx
mov ebx, dword [esp + 0x50]
cmp dword [ebx + 0x78], 0
je 0x45c865
add esp, 0x4c
ret
cmp al, 0
jne 0x45c90b
lea ebx, [0xc9d9b8]
mov dword [esp], ebx
call fcn.006640d0
mov ebx, dword [esp + 0x60]
mov dword [esp], ebx
call fcn.004610c0
mov ebx, dword [esp + 4]
mov dword [esp + 0x24], ebx
mov ebx, dword [esp + 8]
mov dword [esp + 0x3c], ebx
mov ebx, dword [esp + 0xc]
mov dword [esp + 0x40], ebx
lea ebx, [0xc9d9b8]
mov dword [esp], ebx
call fcn.006641d0
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x3c]
cmp ecx, 0
je 0x45c8d1
mov edx, ecx
mov ecx, dword [esp + 0x40]
cmp dword [eax + 0x78], 0
jne 0x45c8cd
mov dword [eax + 0x78], edx
mov dword [eax + 0x7c], ecx
add esp, 0x4c
ret
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0x44], ebx
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x48], ebx
mov dword [esp], 0x7849c0
mov ebp, dword [eax + 0x14]
mov dword [esp + 4], ebp
lea ebx, [esp + 0x44]
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0x24]
mov dword [esp + 0xc], ebx
cmp dword [esp + 0xc], 0
je 0x45c90f
call fcn.00443d90
add esp, 0x4c
ret
mov dword [0], eax
jmp 0x45c906
mov dword [ecx], eax
jmp 0x45c813
mov dword [esi], eax
jmp 0x45c7bf
Function at 0x552460
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx]
ja 0x55247f
xor edi, edi
mov eax, 0x14
call fcn.0044c660
jmp fcn.00552460
sub esp, 0x70
mov eax, dword [esp + 0x78]
cmp eax, 0
jle 0x5525b5
mov dword [esp + 0x78], eax
cmp eax, 0x41
jle 0x55249d
mov eax, 0x41
mov ebx, dword [esp + 0x74]
mov edi, dword [ebx + 0x44]
mov ecx, dword [esp + 0x84]
mov dword [esp + 0x24], eax
cmp ecx, eax
jb 0x5525c0
mov esi, dword [esp + 0x7c]
mov dword [esp + 0x64], esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x68], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x48], ecx
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x30], edi
cmp edi, 0
je 0x5525b9
mov ecx, dword [edi]
mov ebp, dword [edi + 4]
mov dword [esp + 0x5c], ebp
mov esi, dword [edi + 8]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x4c], ecx
mov ebp, dword [esp + 0x5c]
mov dword [esp + 0x60], esi
mov dword [esp + 0x50], ebp
mov ebx, dword [esp + 0x44]
mov edi, ebp
add ebp, ebx
mov dword [esp + 0x54], esi
sub ebp, esi
cmp ebp, 0
jle 0x552562
mov dword [esp], 0x787100
mov ebx, dword [esp + 0x4c]
mov dword [esp + 4], ebx
mov dword [esp + 8], edi
mov dword [esp + 0xc], esi
mov eax, ebp
cdq
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
call fcn.004498c0
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x4c], ebx
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x50], ebx
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x54], ebx
mov eax, dword [esp + 0x44]
mov ebx, dword [esp + 0x5c]
mov ebp, dword [esp + 0x4c]
lea ebp, [ebp + ebx]
mov dword [esp], ebp
mov ebx, dword [esp + 0x40]
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
call fcn.0044e7b0
mov edi, dword [esp + 0x44]
mov edx, dword [esp + 0x5c]
add edx, edi
mov ecx, dword [esp + 0x54]
mov esi, dword [esp + 0x4c]
mov ebx, dword [esp + 0x30]
mov dword [ebx], esi
mov dword [ebx + 4], edx
mov dword [ebx + 8], ecx
mov eax, dword [esp + 0x78]
sub eax, dword [esp + 0x24]
cmp eax, 0
jg 0x55248f
add esp, 0x70
ret
mov dword [edi], eax
jmp 0x5524f0
call fcn.004335f0
ud2
Function at 0x64f530
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx]
ja 0x64f54f
xor edi, edi
mov eax, 0x14
call fcn.0044c660
jmp fcn.0064f530
sub esp, 8
mov esi, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
xor ecx, ecx
cmp ecx, edi
jge 0x64f57e
movzx ebp, byte [eax]
imul esi, esi, 0x1000193
xchg ebp, eax
movzx ebx, al
xchg ebp, eax
xor esi, ebx
inc eax
inc ecx
cmp ecx, edi
jl 0x64f568
mov dword [esp + 0x1c], esi
add esp, 8
ret
Function at 0x10001734
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov dword [ebp + 8], 0x100017e7
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 0x10001931
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.10001734
test eax, eax
je 0x10001977
xor eax, eax
xchg dword [ebp + 8], eax
cmp eax, 0xffff
jle 0x10001977
cmp word [eax], 0x5a4d
jne 0x10001977
add eax, dword [eax + 0x3c]
cmp dword [eax], 0x4550
jne 0x10001977
mov eax, dword [eax + 0x50]
mov dword [ebp + 8], eax
mov dword [ebp - 4], 0
push 0
push dword [ebp - 4]
call fcn.10001996
mov eax, dword [ebp + 8]
jmp 0x10001990
mov esp, ebp
pop ebp
ret 4
Function at 0x10005d9b
Capabilities:
Execute syscall

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
cmp dword [ebp + 8], 0
jge 0x10005dbd
mov eax, 0xfffffffd
jmp 0x10005e9a
mov ebx, dword [0x1009fda8]
add ebx, 0x1c
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 0
je 0x10005e68
mov ebx, dword [0x1009fda8]
add ebx, 4
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 6
jne 0x10005e0c
mov ebx, dword [0x1009fda8]
add ebx, 8
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 0xc]
cmp dword [ebx], 2
jne 0x10005e0c
mov eax, 1
jmp 0x10005e0e
xor eax, eax
test eax, eax
je 0x10005e3a
mov eax, dword [ebp]
add eax, 0x80
mov ecx, 0x20
push dword [eax]
sub eax, 4
loop 0x10005e23
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 [0x1009fda8]
add ebx, 0x1c
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 0
jne 0x10005e90
mov eax, dword [ebp + 8]
mov edx, dword [ebp]
lea edx, [edx + 8]
int 0x2e
nop
leave
ret 4
mov eax, 0
jmp 0x10005e9a
mov esp, ebp
pop ebp
ret 4

Function at 0x10006941
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.10001734
test eax, eax
je 0x10006984
xor eax, eax
xchg dword [ebp + 8], eax
cmp eax, 0xffff
jle 0x10006984
cmp word [eax], 0x5a4d
jne 0x10006984
add eax, dword [eax + 0x3c]
cmp dword [eax], 0x4550
jne 0x10006984
mov dword [ebp + 8], eax
mov dword [ebp - 4], 0
push 0
push dword [ebp - 4]
call fcn.10001996
mov eax, dword [ebp + 8]
jmp 0x1000699d
mov esp, ebp
pop ebp
ret 4
Function at 0x10019b50
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1007a900
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.1006ff7e
mov esi, dword [esp + 0xc]
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0
xor ebp, ebp
call fcn.1001ad20
mov ecx, dword [esp + 0x40]
mov byte [esp + 0x2c], 1
cmp ecx, 3
ja case.default.0x10019ba4
jmp dword [ecx*4 + 0x10019d0c]
mov al, byte [esi]
test al, al
je 0x10019bd2
cmp al, 0x20
je 0x10019bbe
cmp al, 0xa1
jne 0x10019bd2
cmp byte [esi + 1], al
jne 0x10019bd2
test al, 0x80
je 0x10019bca
mov al, byte [esi + 1]
inc esi
test al, al
je 0x10019bd2
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x10019bb1
test ecx, ecx
je case.default.0x10019ba4
mov dl, byte [esi]
xor ecx, ecx
test dl, dl
mov eax, esi
je case.default.0x10019ba4
mov edi, dword [esp + 0x3c]
mov dl, byte [eax]
test dl, 0x80
je 0x10019c18
cmp dl, 0xa1
jne 0x10019c0c
cmp byte [eax + 1], 0xa1
jne 0x10019c0c
test ecx, ecx
jne 0x10019c04
mov edi, eax
mov ecx, 1
inc eax
jmp 0x10019c2c
mov dl, byte [eax + 1]
inc eax
xor ecx, ecx
test dl, dl
je 0x10019c46
jmp 0x10019c2c
cmp dl, 0x20
jne 0x10019c2a
test ecx, ecx
jne 0x10019c23
mov edi, eax
mov ecx, 1
jmp 0x10019c2c
xor ecx, ecx
mov dl, byte [eax + 1]
inc eax
test dl, dl
jne 0x10019bec
cmp ecx, 1
jne case.default.0x10019ba4
mov dl, byte [edi]
mov ebp, edi
mov byte [esp + 0x3c], dl
mov byte [edi], 0
jmp case.default.0x10019ba4
mov dl, byte [eax - 1]
lea edi, [eax - 1]
mov ebp, edi
mov byte [esp + 0x3c], dl
mov byte [edi], 0
jmp case.default.0x10019ba4
mov al, byte [esi]
test al, al
je 0x10019c9e
test al, 0x80
mov byte [esp + 0x3c], al
je 0x10019c84
mov cl, byte [esi + 1]
test cl, cl
je 0x10019c9e
cmp al, 0xa1
jne 0x10019c74
cmp cl, al
je 0x10019c81
mov ax, word [esi]
lea ecx, [esp + 0x10]
push eax
call fcn.1001afb0
inc esi
jmp 0x10019c96
cmp al, 0x20
je 0x10019c96
mov ecx, dword [esp + 0x3c]
push ecx
lea ecx, [esp + 0x14]
call fcn.1001aff0
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x10019c5d
push 0
lea ecx, [esp + 0x14]
call fcn.1001aff0
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.10024380
mov edx, dword [esp + 0x38]
add esp, 4
test ebp, ebp
mov dword [edx], eax
je 0x10019cd1
mov al, byte [esp + 0x3c]
mov byte [ebp], al
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 0
mov dword [esp + 0x10], 0x10080528
call fcn.1001af20
lea ecx, [esp + 0xc]
mov dword [esp + 0x2c], 0xffffffff
call fcn.1006ff10
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x24
ret
Function at 0x1001a8f0
Capabilities:
Get disk size

Disassembly:
sub esp, 0x1c
push esi
push edi
mov edi, 0x10090224
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.1001a8b0
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 0x1001a99a
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 0x1001a9fb
mov eax, dword [esp + 0x34]
test eax, eax
jne 0x1001a97c
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
jmp 0x1001a984
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ecx, 0xa
call fcn.100611d0
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 0x1001a9ef
mov eax, dword [esp + 0x34]
test eax, eax
mov eax, dword [esp + 0x30]
je 0x1001a9cd
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 0x1001ee70
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x1007ac8b
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.1006fc85
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x1001eef2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.1006dbd4
mov eax, dword [eax]
push 0x10090228
push eax
call fcn.100609e4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.1006ff10
test bl, bl
je 0x1001eef2
push 0x10090228
lea ecx, [esp + 0xc]
call fcn.100702a0
push 0x10093d70
lea ecx, [esp + 0xc]
call fcn.100702a0
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 0x1001ef2e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.1006ff10
jmp 0x1001eff9
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 0x1001efb2
lea edx, [esp + 0x7c]
push 0x10093d6c
push edx
call fcn.100609e4
add esp, 8
test eax, eax
je 0x1001efb2
lea eax, [esp + 0x7c]
push 0x10093d68
push eax
call fcn.100609e4
add esp, 8
test eax, eax
je 0x1001efb2
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 0x1001ef42
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.1006ff10
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 0x1001f7f0
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 0x1001f852
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 0x1001f860
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x1007ad0b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x1009be68]
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 0x1001f998
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x1001f8c6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.1006ff10
xor eax, eax
jmp 0x1001fa0f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.1007004d
push esi
lea ecx, [esp + 0xc]
call fcn.100702dc
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 0x1001f9ed
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.1001f7f0
test eax, eax
jne 0x1001f9ed
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.1001f7f0
test eax, eax
jne 0x1001f9ed
lea eax, [esp + 0x14]
push 0x10093d84
push eax
call fcn.10061a60
mov esi, eax
add esp, 8
test esi, esi
jne 0x1001f9cc
lea ecx, [esp + 0x14]
push 0x10093d80
push ecx
call fcn.100619e0
mov esi, eax
add esp, 8
test esi, esi
jne 0x1001f9cc
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x1001f9cf
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.1006fffd
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x1001f8de
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.1006ff10
xor eax, eax
jmp 0x1001fa0f
mov byte [esi], 0
push 0x10093d7c
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.1006ff10
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 0x1002ae10
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 0x1002ae7e
cmp si, 0x69
ja 0x1002ae7e
add esi, 0xffd0
cmp si, 0x11
je 0x1002ae4e
push 0x11
call edi
test ax, ax
jge 0x1002ae4e
or esi, 0x2000
cmp si, 0x10
je 0x1002ae63
push 0x10
call edi
test ax, ax
jge 0x1002ae63
or esi, 0x4000
cmp si, 0x12
je 0x1002ae78
push 0x12
call edi
test ax, ax
jge 0x1002ae78
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x1002ae8b
mov esi, 0xbd
jmp 0x1002ae3f
cmp si, 0x6e
jne 0x1002ae98
mov esi, 0xbe
jmp 0x1002ae3f
cmp si, 0x6f
jne 0x1002ae39
mov esi, 0xbf
jmp 0x1002ae3f

Function at 0x1002c4c0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x100ac590]
xor edx, edx
cmp eax, edx
jne 0x1002c4e6
xor eax, eax
mov byte [eax + 0x100ac490], al
inc eax
cmp eax, 0x100
jl 0x1002c4ce
mov dword [0x100ac590], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x100ac490
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x1002c577
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 0x1002c54a
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 0x1002c518
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x1002c5f0
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 0x1002c643
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 0x1002c62a
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