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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d374d
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x100ea00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor edx, edx
mov dword [ebp - 0x28], 0
mov eax, 0xf
mov dword [ebp - 0x30], 1
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x28], dl
mov dword [ebp - 4], edx
mov edi, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [ebp - 0x2c], ecx
cmp edi, ecx
je 0x100a5109
mov esi, dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
cmp ecx, edi
je 0x100a5055
cmp dword [edi + 0x14], 0x10
mov eax, edi
jb 0x100a5040
mov eax, dword [edi]
push dword [edi + 0x10]
lea ecx, [ebp - 0x28]
push eax
call fcn.10024c70
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x28]
mov eax, dword [ebp - 0x14]
lea ecx, [edx - 3]
cmp ecx, edx
ja 0x100a506f
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], ecx
cmovae eax, esi
mov byte [eax + ecx], 0
jmp 0x100a50ae
mov ebx, ecx
sub eax, edx
sub ebx, edx
cmp ebx, eax
ja 0x100a509b
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
push ebx
cmovae eax, esi
mov dword [ebp - 0x18], ecx
push 0
lea esi, [edx + eax]
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov byte [esi + ebx], 0
jmp 0x100a50ae
push 0
push ebx
mov byte [ebp - 0x34], 0
lea ecx, [ebp - 0x28]
push dword [ebp - 0x34]
push ebx
call fcn.10031ba0
cmp dword [ebp - 0x14], 0x10
lea ebx, [ebp - 0x28]
mov eax, dword [ebp - 0x28]
mov esi, 0x811c9dc5
mov edx, dword [ebp - 0x18]
cmovae ebx, eax
xor ecx, ecx
test edx, edx
je 0x100a50e4
nop dword [eax]
movzx eax, byte [ecx + ebx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edx
jb 0x100a50d0
mov eax, dword [ebp - 0x28]
cmp esi, dword [ebp + 8]
jne 0x100a50f4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x100a5104
dec ebx
mov dword [ebp - 0x30], ebx
add edi, 0x1c
cmp edi, dword [ebp - 0x2c]
je 0x100a510c
mov eax, dword [ebp - 0x14]
jmp 0x100a502c
mov esi, dword [edi + 0x18]
jmp 0x100a510e
mov eax, dword [ebp - 0x28]
xor esi, esi
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
jb 0x100a5141
inc ecx
mov edx, eax
cmp ecx, 0x1000
jb 0x100a5137
mov eax, dword [eax - 4]
add ecx, 0x23
sub edx, eax
mov dword [ebp - 0x2c], eax
lea eax, [edx - 4]
cmp eax, 0x1f
ja 0x100a5161
mov eax, dword [ebp - 0x2c]
push ecx
push eax
call fcn.100cfec4
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100cfa49
mov esp, ebp
pop ebp
ret 0xc
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x100a5cc0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, ecx
mov eax, 0x1fffffff
bsr ecx, eax
push esi
push edi
mov edi, 1
mov dword [ebp - 0x10], ebx
mov eax, edi
shl eax, cl
mov ecx, dword [ebp + 8]
cmp ecx, eax
jbe 0x100a5cf1
push str.invalid_hash_bucket_count
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
lea eax, [ecx - 1]
mov esi, dword [ebx + 4]
or eax, 1
mov dword [ebp - 0xc], esi
bsr ecx, eax
push esi
lea ecx, [ecx + 1]
shl edi, cl
lea ecx, [ebx + 0xc]
lea eax, [edi + edi]
push eax
call fcn.10031610
lea eax, [edi - 1]
mov dword [ebx + 0x1c], edi
mov dword [ebx + 0x18], eax
mov ecx, dword [ebx + 4]
mov ecx, dword [ecx]
mov edx, ecx
cmp ecx, esi
je 0x100a5e04
nop word [eax + eax]
movzx eax, byte [ecx + 8]
xor eax, 0x811c9dc5
mov edx, dword [edx]
imul edi, eax, 0x1000193
movzx eax, byte [ecx + 9]
xor edi, eax
movzx eax, byte [ecx + 0xa]
imul edi, edi, 0x1000193
xor edi, eax
movzx eax, byte [ecx + 0xb]
imul edi, edi, 0x1000193
xor edi, eax
imul eax, edi, 0x1000193
mov edi, dword [ebx + 0x18]
and edi, eax
mov eax, dword [ebx + 0xc]
mov ebx, dword [eax + edi*8]
mov dword [ebp - 4], ebx
lea eax, [eax + edi*8]
mov dword [ebp - 8], eax
cmp ebx, esi
jne 0x100a5d84
mov dword [eax], ecx
mov dword [eax + 4], ecx
jmp 0x100a5df7
mov eax, dword [eax + 4]
mov ebx, dword [ecx + 8]
cmp ebx, dword [eax + 8]
jne 0x100a5dbe
mov eax, dword [eax]
mov dword [ebp - 4], eax
cmp eax, ecx
je 0x100a5db6
mov ebx, dword [ecx + 4]
mov esi, dword [ebp - 4]
mov dword [ebx], edx
mov edi, dword [edx + 4]
mov dword [edi], eax
mov eax, dword [eax + 4]
mov dword [eax], ecx
mov dword [esi + 4], edi
mov esi, dword [ebp - 0xc]
mov dword [edx + 4], ebx
mov dword [ecx + 4], eax
mov eax, dword [ebp - 8]
mov dword [eax + 4], ecx
jmp 0x100a5df7
mov edi, eax
cmp dword [ebp - 4], eax
je 0x100a5dd4
mov eax, dword [eax + 4]
mov edi, eax
cmp ebx, dword [eax + 8]
je 0x100a5e0d
cmp dword [ebp - 4], eax
jne 0x100a5dc5
mov eax, dword [ecx + 4]
mov dword [ebp - 4], eax
mov dword [eax], edx
mov ebx, dword [edx + 4]
mov dword [ebx], edi
mov eax, dword [edi + 4]
mov dword [eax], ecx
mov dword [edi + 4], ebx
mov edi, dword [ebp - 4]
mov dword [edx + 4], edi
mov dword [ecx + 4], eax
mov eax, dword [ebp - 8]
mov dword [eax], ecx
mov ebx, dword [ebp - 0x10]
mov ecx, edx
cmp edx, esi
jne 0x100a5d30
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ebp - 8], eax
mov esi, eax
mov dword [ebx], edx
mov edi, dword [edx + 4]
mov dword [edi], eax
mov eax, dword [eax + 4]
mov dword [eax], ecx
mov dword [esi + 4], edi
mov esi, dword [ebp - 0xc]
mov dword [edx + 4], ebx
mov dword [ecx + 4], eax
jmp 0x100a5df7

Function at 0x100a70e0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 1
jne 0x100a710b
push 0
push 0
push 0
push 0x1002de10
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x100a710b
mov eax, 1
pop ebp
ret 0xc
xor eax, eax
pop ebp
ret 0xc
Function at 0x100bf1b0
Capabilities:
Allocate or change rwx memory
Encode data using xor
Execute shellcode via indirect call

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d98cb
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x4c
mov eax, dword [0x100ea00c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [0x1015ff0c]
cmp dword [esi + 0x174], 0
jle 0x100bf224
mov edx, dword [esi + 0x4cb0]
add edx, dword [esi + 0x4cac]
mov ecx, dword [0x1015feb0]
push edx
push dword [esi + 0x4cb4]
mov eax, dword [ecx]
push 1
push dword [esi + 0x174]
mov eax, dword [eax + 0xc]
call eax
mov eax, dword [0x101650ec]
test al, 1
jne 0x100bf34a
or eax, 1
mov dword [0x101650ec], eax
mov dword [ebp - 4], 0
xor eax, eax
movaps xmm0, xmmword [0x100dfb20]
movaps xmm2, xmmword [0x100df800]
movups xmmword [ebp - 0x58], xmm0
mov word [ebp - 0x38], 0xa0f
movaps xmm0, xmmword [0x100df8b0]
movups xmmword [ebp - 0x48], xmm0
mov byte [ebp - 0x36], 0x49
nop dword [eax]
movups xmm0, xmmword [ebp + eax - 0x58]
movaps xmm1, xmm2
pxor xmm1, xmm0
movups xmmword [ebp + eax - 0x58], xmm1
add eax, 0x10
cmp eax, 0x20
jb 0x100bf270
cmp eax, 0x23
jae 0x100bf29b
nop
xor byte [ebp + eax - 0x58], 0x49
inc eax
cmp eax, 0x23
jb 0x100bf290
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x24], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x20], 0xf
mov byte [ebp - 0x34], 0
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100bf2c0
sub ecx, edx
lea eax, [ebp - 0x58]
push ecx
push eax
lea ecx, [ebp - 0x34]
call fcn.10024c70
mov byte [ebp - 4], 1
mov edx, dword [0x1015fe68]
test edx, edx
je 0x100bf2e9
mov edx, dword [edx + 0x50]
jmp 0x100bf2eb
xor edx, edx
mov eax, dword [0x1015fe60]
test eax, eax
je 0x100bf2f9
mov eax, dword [eax + 0x18]
jmp 0x100bf2fb
xor eax, eax
lea ecx, [ebp - 0x34]
push ecx
push eax
lea ecx, [ebp - 0x1c]
call fcn.1001f4b0
mov eax, dword [ebp - 0x1c]
add esp, 8
mov edx, dword [ebp - 0x20]
inc eax
mov dword [0x101650f0], eax
cmp edx, 0x10
jb 0x100bf34a
mov ecx, dword [ebp - 0x34]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100bf340
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100bf340
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.100cfec4
add esp, 8
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 0x18]
push eax
push 0x40
push 4
push dword [0x101650f0]
mov dword [ebp - 0x18], 0
call esi
mov eax, dword [0x101650f0]
lea ecx, [ebp - 0x18]
push ecx
mov dword [eax], 0x3e
push dword [ebp - 0x18]
push 4
push eax
call esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100cfa49
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
Function at 0x100bf6e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
movzx eax, byte [esi]
xor al, byte [ecx]
and al, 1
xor byte [ecx], al
mov dl, byte [esi]
xor dl, byte [ecx]
and dl, 2
xor dl, byte [ecx]
mov byte [ecx], dl
movzx eax, byte [esi]
xor al, dl
and al, 4
xor al, dl
mov byte [ecx], al
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov dword [ecx + 8], eax
movq xmm0, qword [esi + 0xc]
movq qword [ecx + 0xc], xmm0
mov eax, dword [esi + 0x14]
mov dword [ecx + 0x14], eax
movq xmm0, qword [esi + 0x18]
movq qword [ecx + 0x18], xmm0
mov eax, dword [esi + 0x20]
mov dword [ecx + 0x20], eax
mov eax, dword [esi + 0x24]
mov dword [ecx + 0x24], eax
mov eax, dword [esi + 0x28]
mov dword [ecx + 0x28], eax
mov eax, dword [esi + 0x2c]
mov dword [ecx + 0x2c], eax
mov eax, dword [esi + 0x30]
mov dword [ecx + 0x30], eax
mov eax, dword [esi + 0x34]
mov dword [ecx + 0x34], eax
mov eax, dword [esi + 0x38]
mov dword [ecx + 0x38], eax
mov eax, dword [esi + 0x3c]
mov dword [ecx + 0x3c], eax
movq xmm0, qword [esi + 0x40]
movq qword [ecx + 0x40], xmm0
mov eax, dword [esi + 0x48]
mov dword [ecx + 0x48], eax
movq xmm0, qword [esi + 0x4c]
movq qword [ecx + 0x4c], xmm0
mov eax, dword [esi + 0x54]
mov dword [ecx + 0x54], eax
mov eax, dword [esi + 0x58]
mov dword [ecx + 0x58], eax
movq xmm0, qword [esi + 0x5c]
movq qword [ecx + 0x5c], xmm0
mov eax, dword [esi + 0x64]
mov dword [ecx + 0x64], eax
movq xmm0, qword [esi + 0x68]
movq qword [ecx + 0x68], xmm0
mov eax, dword [esi + 0x70]
mov dword [ecx + 0x70], eax
mov eax, dword [esi + 0x74]
mov dword [ecx + 0x74], eax
movq xmm0, qword [esi + 0x78]
movq qword [ecx + 0x78], xmm0
mov eax, dword [esi + 0x80]
mov dword [ecx + 0x80], eax
movq xmm0, qword [esi + 0x84]
movq qword [ecx + 0x84], xmm0
mov eax, dword [esi + 0x8c]
mov dword [ecx + 0x8c], eax
movq xmm0, qword [esi + 0x90]
movq qword [ecx + 0x90], xmm0
mov eax, dword [esi + 0x98]
mov dword [ecx + 0x98], eax
mov eax, dword [esi + 0x9c]
mov dword [ecx + 0x9c], eax
mov eax, dword [esi + 0xa0]
mov dword [ecx + 0xa0], eax
mov eax, dword [esi + 0xa4]
mov dword [ecx + 0xa4], eax
movzx eax, byte [esi + 0xa8]
mov byte [ecx + 0xa8], al
movq xmm0, qword [esi + 0xac]
movq qword [ecx + 0xac], xmm0
mov eax, dword [esi + 0xb4]
mov dword [ecx + 0xb4], eax
mov eax, ecx
pop esi
pop ebp
ret 4
Function at 0x40d908
Capabilities:
Hash data using sha1

Disassembly:
mov eax, dword [esp + 4]
and dword [eax + 0x18], 0
and dword [eax + 0x14], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
ret 4

Function at 0x4059f0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x426d76
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x45190c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov eax, dword [ebp + 0x10]
mov dword [ebx], 0x428da8
mov dword [ebx + 4], edx
mov dword [ebx + 8], edx
mov dword [ebx + 0xc], edx
mov dword [ebx + 0x10], edx
mov dword [ebx + 0x14], edx
mov dword [ebx + 0x18], edx
mov dword [ebx + 0x1c], edx
mov dword [ebx + 0x20], edx
mov dword [ebx + 0x24], edx
mov dword [ebx + 0x28], edx
or dword [ebx + 0x2c], 0xffffffff
mov dword [ebx + 0x30], edx
mov dword [ebx + 0x34], edx
mov dword [ebx + 0x38], edx
mov dword [ebx + 0x3c], edx
mov dword [ebx + 0x40], edx
mov dword [ebx + 0x44], edx
mov dword [ebx + 0x48], edx
mov dword [ebx + 0x4c], edx
mov dword [ebx + 0x50], eax
mov eax, dword [ebp + 8]
mov dword [ebx + 0x5c], eax
mov dword [ebx + 0x60], ecx
mov eax, dword [ecx + 4]
and dword [ebx + 0x8c], 0xffffffc0
and byte [ebx + 0x91], 0x80
or dword [ebx + 0x94], 0xffffffff
or dword [ebx + 0x98], 0xffffffff
mov dword [ebx + 0x64], eax
xor eax, eax
inc eax
mov dword [ebx + 0x68], edx
mov dword [ebx + 0x6c], edx
mov dword [ebx + 0x70], edx
mov dword [ebx + 0x74], edx
mov byte [ebx + 0x90], 0x4f
mov dword [ebx + 0x9c], eax
mov dword [ebx + 0xa0], eax
mov dword [ebx + 0xa4], edx
mov dword [ebx + 0xa8], edx
mov ecx, dword [ecx + 4]
test ecx, ecx
je 0x405acb
mov eax, dword [ecx + 0x24]
mov dword [ebx + 0x78], eax
mov dword [ecx + 0x24], ebx
mov eax, dword [ebx + 0x5c]
lea edi, [ebx + 0x58]
push 1
push edx
push edi
mov dword [eax + 4], ebx
lea esi, [ebx + 0x54]
mov ecx, dword [ebx + 0x60]
push esi
push ecx
mov eax, dword [ecx]
call dword [eax + 0x18]
push 4
push dword [esi]
mov esi, dword [0x4280f8]
push 6
call esi
push 8
push dword [edi]
mov dword [ebx + 0x7c], eax
push 2
call esi
mov ecx, dword [ebx + 0x7c]
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x88], eax
mov eax, ebx
mov dword [ebx + 0x84], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10006500
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100814e0
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.10076b5e
mov esi, dword [esp + 0xc]
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0
xor ebp, ebp
call fcn.100076a0
mov ecx, dword [esp + 0x40]
mov byte [esp + 0x2c], 1
cmp ecx, 3
ja case.default.0x10006554
jmp dword [ecx*4 + 0x100066bc]
mov al, byte [esi]
test al, al
je 0x10006582
cmp al, 0x20
je 0x1000656e
cmp al, 0xa1
jne 0x10006582
cmp byte [esi + 1], al
jne 0x10006582
test al, 0x80
je 0x1000657a
mov al, byte [esi + 1]
inc esi
test al, al
je 0x10006582
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x10006561
test ecx, ecx
je case.default.0x10006554
mov dl, byte [esi]
xor ecx, ecx
test dl, dl
mov eax, esi
je case.default.0x10006554
mov edi, dword [esp + 0x3c]
mov dl, byte [eax]
test dl, 0x80
je 0x100065c8
cmp dl, 0xa1
jne 0x100065bc
cmp byte [eax + 1], 0xa1
jne 0x100065bc
test ecx, ecx
jne 0x100065b4
mov edi, eax
mov ecx, 1
inc eax
jmp 0x100065dc
mov dl, byte [eax + 1]
inc eax
xor ecx, ecx
test dl, dl
je 0x100065f6
jmp 0x100065dc
cmp dl, 0x20
jne 0x100065da
test ecx, ecx
jne 0x100065d3
mov edi, eax
mov ecx, 1
jmp 0x100065dc
xor ecx, ecx
mov dl, byte [eax + 1]
inc eax
test dl, dl
jne 0x1000659c
cmp ecx, 1
jne case.default.0x10006554
mov dl, byte [edi]
mov ebp, edi
mov byte [esp + 0x3c], dl
mov byte [edi], 0
jmp case.default.0x10006554
mov dl, byte [eax - 1]
lea edi, [eax - 1]
mov ebp, edi
mov byte [esp + 0x3c], dl
mov byte [edi], 0
jmp case.default.0x10006554
mov al, byte [esi]
test al, al
je 0x1000664e
test al, 0x80
mov byte [esp + 0x3c], al
je 0x10006634
mov cl, byte [esi + 1]
test cl, cl
je 0x1000664e
cmp al, 0xa1
jne 0x10006624
cmp cl, al
je 0x10006631
mov ax, word [esi]
lea ecx, [esp + 0x10]
push eax
call fcn.10007970
inc esi
jmp 0x10006646
cmp al, 0x20
je 0x10006646
mov ecx, dword [esp + 0x3c]
push ecx
lea ecx, [esp + 0x14]
call fcn.100079b0
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x1000660d
push 0
lea ecx, [esp + 0x14]
call fcn.100079b0
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.10010a90
mov edx, dword [esp + 0x38]
add esp, 4
test ebp, ebp
mov dword [edx], eax
je 0x10006681
mov al, byte [esp + 0x3c]
mov byte [ebp], al
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 0
mov dword [esp + 0x10], 0x109737c0
call fcn.100078a0
lea ecx, [esp + 0xc]
mov dword [esp + 0x2c], 0xffffffff
call fcn.10076af0
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x24
ret
Function at 0x1000b5f0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x1008186b
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.10076865
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x1000b672
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.10074777
mov eax, dword [eax]
push 0x10989c78
push eax
call fcn.100668c4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.10076af0
test bl, bl
je 0x1000b672
push 0x10989c78
lea ecx, [esp + 0xc]
call fcn.10076e80
push 0x10989c84
lea ecx, [esp + 0xc]
call fcn.10076e80
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 0x1000b6ae
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.10076af0
jmp 0x1000b779
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 0x1000b732
lea edx, [esp + 0x7c]
push 0x10989c80
push edx
call fcn.100668c4
add esp, 8
test eax, eax
je 0x1000b732
lea eax, [esp + 0x7c]
push 0x10989c7c
push eax
call fcn.100668c4
add esp, 8
test eax, eax
je 0x1000b732
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 0x1000b6c2
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.10076af0
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 0x1000bf80
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 0x1000bfe2
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 0x1000bff0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x100818eb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x109953f4]
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 0x1000c128
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x1000c056
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.10076af0
xor eax, eax
jmp 0x1000c19f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.10076c2d
push esi
lea ecx, [esp + 0xc]
call fcn.10076ebc
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 0x1000c17d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.1000bf80
test eax, eax
jne 0x1000c17d
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.1000bf80
test eax, eax
jne 0x1000c17d
lea eax, [esp + 0x14]
push str.__1_
push eax
call fcn.10067a10
mov esi, eax
add esp, 8
test esi, esi
jne 0x1000c15c
lea ecx, [esp + 0x14]
push 0x10989c90
push ecx
call fcn.10067990
mov esi, eax
add esp, 8
test esi, esi
jne 0x1000c15c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x1000c15f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.10076bdd
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x1000c06e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.10076af0
xor eax, eax
jmp 0x1000c19f
mov byte [esi], 0
push 0x10989c8c
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.10076af0
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 0x1001b3c0
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 0x1001b42e
cmp si, 0x69
ja 0x1001b42e
add esi, 0xffd0
cmp si, 0x11
je 0x1001b3fe
push 0x11
call edi
test ax, ax
jge 0x1001b3fe
or esi, 0x2000
cmp si, 0x10
je 0x1001b413
push 0x10
call edi
test ax, ax
jge 0x1001b413
or esi, 0x4000
cmp si, 0x12
je 0x1001b428
push 0x12
call edi
test ax, ax
jge 0x1001b428
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x1001b43b
mov esi, 0xbd
jmp 0x1001b3ef
cmp si, 0x6e
jne 0x1001b448
mov esi, 0xbe
jmp 0x1001b3ef
cmp si, 0x6f
jne 0x1001b3e9
mov esi, 0xbf
jmp 0x1001b3ef

Function at 0x1001cbc0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x109a5b50]
xor edx, edx
cmp eax, edx
jne 0x1001cbe6
xor eax, eax
mov byte [eax + 0x109a5a50], al
inc eax
cmp eax, 0x100
jl 0x1001cbce
mov dword [0x109a5b50], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x109a5a50
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x1001cc77
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 0x1001cc4a
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 0x1001cc18
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x1001ccf0
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 0x1001cd43
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 0x1001cd2a
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