joyce8/EMBER2024-capa huggingface dataset:
Function at 0x414e40
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
push edi
mov edi, ecx
mov ebx, edx
cmp dword [edi + 0x3030], 0
lea esi, [edi + 0x3034]
je 0x414ec2
mov ecx, dword [esi + 4]
test ecx, ecx
jns 0x414e7c
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.0041ff00
push dword [ebp + 8]
mov ecx, esi
mov dword [esi], 0
push ebx
call fcn.00403510
mov edx, dword [esi]
mov ecx, 0x4455fc
push dword [edi + 0x3030]
lea eax, [edx - 1]
neg edx
sbb edx, edx
and edx, eax
mov eax, dword [edi + 0x303c]
test eax, eax
push edx
cmovne ecx, eax
push 1
push ecx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [ebp + 8]
mov ecx, esi
push ebx
call fcn.00403510
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4152a0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov bl, byte [ecx]
or eax, 0xffffffff
mov dword [ebp - 4], ecx
push esi
lea esi, [ecx + 1]
push edi
test bl, bl
je 0x4152e8
or edi, 0xffffffff
nop dword [eax]
cmp bl, 0x23
jne 0x4152cf
cmp byte [esi], bl
jne 0x4152cf
cmp byte [esi + 1], bl
cmove eax, edi
movzx edx, al
movzx ecx, bl
mov bl, byte [esi]
xor edx, ecx
shr eax, 8
inc esi
xor eax, dword [edx*4 + 0x43e980]
test bl, bl
jne 0x4152c0
mov ebx, dword [0x445600]
mov edi, dword [ebx + 0x3008]
test edi, edi
je 0x415320
lea esi, [edi + 4]
test esi, esi
je 0x415320
not eax
cmp dword [esi], eax
je 0x41532f
mov edx, dword [esi - 4]
mov ecx, dword [ebx + 0x3000]
add edx, esi
add ecx, 4
xor esi, esi
add ecx, edi
cmp edx, ecx
cmovne esi, edx
test esi, esi
jne 0x415301
mov ecx, dword [ebp - 4]
call fcn.004151c0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4181a0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x44500c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x20], esi
push edi
test eax, eax
jle 0x418336
lea ebx, [edx + 0x18]
nop word [eax + eax]
mov edx, dword [ebx - 0x18]
test edx, edx
je 0x418327
mov ecx, esi
call fcn.00417c60
mov edi, eax
mov eax, dword [ebx - 0x14]
mov dword [ebp - 0x1c], edi
test eax, eax
je 0x4181fe
push eax
lea ecx, [esi + 0x2fb8]
call fcn.00403310
mov ecx, eax
jmp 0x418200
xor ecx, ecx
mov dword [edi + 0x10], ecx
movsx eax, word [ebx]
movd xmm1, eax
movsx eax, word [ebx + 2]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x2c], xmm1
movss dword [edi + 0x30], xmm0
movsx eax, word [ebx + 4]
movd xmm1, eax
movsx eax, word [ebx + 6]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x34], xmm1
movss dword [edi + 0x38], xmm0
movsx eax, word [ebx + 8]
movd xmm1, eax
movsx eax, word [ebx + 0xa]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
mov eax, dword [edi + 0x90]
cvtdq2ps xmm0, xmm0
and eax, 0xfffffe49
or eax, 0x49
mov dword [edi + 0x90], eax
movss dword [edi + 0x3c], xmm1
movss dword [edi + 0x40], xmm0
test ecx, ecx
je 0x41828e
cmp dword [ecx + 0x14], 0
jne 0x418285
mov dword [ecx + 0x14], edi
jmp 0x41828e
cmp dword [ecx + 0x18], 0
jne 0x41828e
mov dword [ecx + 0x18], edi
mov eax, dword [ebx - 0xc]
mov ecx, edi
mov dword [edi + 0x88], eax
movsx eax, byte [ebx - 8]
mov dword [edi + 0x44], eax
mov eax, dword [ebx - 4]
and eax, 0x61fc20
or dword [edi + 8], eax
mov eax, dword [edi + 0x10]
test eax, eax
je 0x4182bb
mov ecx, eax
mov eax, dword [ecx + 0x10]
test eax, eax
jne 0x4182b2
push dword [ecx]
lea eax, [ebp - 0x18]
push str.DockNode__02X
push 0x14
push eax
call fcn.00402ea0
mov al, byte [ebp - 0x18]
lea esi, [ebp - 0x17]
add esp, 0x10
or edx, 0xffffffff
test al, al
je 0x41830a
or edi, 0xffffffff
cmp al, 0x23
jne 0x4182ee
cmp byte [esi], al
jne 0x4182ee
cmp byte [esi + 1], al
cmove edx, edi
movzx ecx, dl
movzx eax, al
xor ecx, eax
shr edx, 8
mov al, byte [esi]
inc esi
xor edx, dword [ecx*4 + 0x43e980]
test al, al
jne 0x4182e0
mov edi, dword [ebp - 0x1c]
mov ecx, dword [0x445600]
not edx
push edx
lea ecx, [ecx + 0x1c30]
call fcn.00403310
mov esi, dword [ebp - 0x20]
mov dword [edi + 0x68], eax
mov eax, dword [ebp + 8]
add ebx, 0x24
sub eax, 1
mov dword [ebp + 8], eax
jne 0x4181d0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043c2f6
mov esp, ebp
pop ebp
ret
Function at 0x427ea0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x427eda
mov eax, dword [0x445600]
mov dword [esi + 4], 0
mov dword [esi], 0
test eax, eax
je 0x427ecd
dec dword [eax + 0x374]
push ecx
call edi
add esp, 4
mov dword [esi + 8], 0
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x427f0b
mov eax, dword [0x445600]
mov dword [esi + 0x10], 0
mov dword [esi + 0xc], 0
test eax, eax
je 0x427efe
dec dword [eax + 0x374]
push ecx
call edi
add esp, 4
mov dword [esi + 0x14], 0
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x427f3c
mov eax, dword [0x445600]
mov dword [esi + 0x1c], 0
mov dword [esi + 0x18], 0
test eax, eax
je 0x427f2f
dec dword [eax + 0x374]
push ecx
call edi
add esp, 4
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov ecx, dword [esi + 0x44]
test ecx, ecx
je 0x427f89
mov eax, dword [0x445600]
mov dword [esi + 0x40], 0
mov dword [esi + 0x3c], 0
test eax, eax
je 0x427f7c
dec dword [eax + 0x374]
push ecx
call edi
add esp, 4
mov dword [esi + 0x44], 0
mov ecx, dword [esi + 0x50]
test ecx, ecx
je 0x427fba
mov eax, dword [0x445600]
mov dword [esi + 0x4c], 0
mov dword [esi + 0x48], 0
test eax, eax
je 0x427fad
dec dword [eax + 0x374]
push ecx
call edi
add esp, 4
mov dword [esi + 0x50], 0
mov ecx, dword [esi + 0x5c]
test ecx, ecx
je 0x427feb
mov eax, dword [0x445600]
mov dword [esi + 0x58], 0
mov dword [esi + 0x54], 0
test eax, eax
je 0x427fde
dec dword [eax + 0x374]
push ecx
call edi
add esp, 4
mov dword [esi + 0x5c], 0
pop edi
lea ecx, [esi + 0x78]
pop esi
jmp fcn.0042a730
Function at 0x437e10
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
push esi
push edi
mov edi, edx
je 0x437e81
mov cl, byte [edi]
lea esi, [edi + 1]
or eax, 0xffffffff
test cl, cl
je 0x437e58
or edi, 0xffffffff
nop dword [eax]
cmp cl, 0x23
jne 0x437e3f
cmp byte [esi], cl
jne 0x437e3f
cmp byte [esi + 1], cl
cmove eax, edi
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
mov cl, byte [esi]
inc esi
xor eax, dword [edx*4 + 0x43e980]
test cl, cl
jne 0x437e30
mov ecx, dword [0x445600]
not eax
cmp dword [ecx + 0x1c84], eax
jne 0x437e6e
mov dword [ecx + 0x1c88], eax
cmp dword [ecx + 0x1cbc], eax
jne 0x437ec6
pop edi
mov byte [ecx + 0x1cc0], 1
pop esi
pop ebp
ret
mov esi, dword [0x445600]
xor edx, edx
mov eax, dword [esi + 0x1c48]
mov ecx, dword [eax + 0xfc]
mov eax, dword [eax + 0x104]
push dword [eax + ecx*4 - 4]
mov ecx, edi
call fcn.00402ee0
add esp, 4
cmp dword [esi + 0x1c84], eax
jne 0x437eb7
mov dword [esi + 0x1c88], eax
cmp dword [esi + 0x1cbc], eax
jne 0x437ec6
mov byte [esi + 0x1cc0], 1
pop edi
pop esi
pop ebp
ret
Function at 0x43b160
Capabilities:
Create thread

Disassembly:
push 4
call fcn.0043c8c3
add esp, 4
push eax
push 0
push 0
push 0x43b190
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
sub esp, 8
call fcn.0043a2e0
ret 0x10
Function at 0x43bde0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x44500c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
push ebx
push esi
mov esi, dword [0x445650]
mov ebx, ecx
push edi
cmp byte [esi + 0xc], 0
je 0x43be66
mov edi, dword [esi + 4]
lea ecx, [ebp - 8]
mov esi, dword [esi + 0x28]
push ecx
push 0x40
push 8
push edi
push dword [ebx]
mov dword [ebp - 8], 0
call eax
push 0
push 8
push esi
push edi
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
mov eax, dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
push 8
push edi
push dword [ebx]
call eax
mov eax, dword [0x445650]
push 0x8000
push 0
push dword [eax + 8]
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov eax, dword [0x445650]
mov byte [eax + 0xc], 0
mov eax, dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov esi, dword [0x44564c]
cmp byte [esi + 0xc], 0
je 0x43becd
mov edi, dword [esi + 4]
lea ecx, [ebp - 8]
mov esi, dword [esi + 0x28]
push ecx
push 0x40
push 8
push edi
push dword [ebx]
mov dword [ebp - 8], 0
call eax
push 0
push 8
push esi
push edi
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
mov eax, dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
push 8
push edi
push dword [ebx]
call eax
mov eax, dword [0x44564c]
push 0x8000
push 0
push dword [eax + 8]
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov eax, dword [0x44564c]
mov byte [eax + 0xc], 0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043c2f6
mov esp, ebp
pop ebp
ret

Function at 0x43c250
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x134
mov eax, dword [0x44500c]
xor eax, esp
mov dword [esp + 0x130], eax
push ebx
push esi
push edi
mov ebx, ecx
push 0
push 2
mov dword [ebx + 8], 0
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
mov dword [esp + 0x10], 0x128
lea eax, [esp + 0x10]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x43c2da
mov edi, dword [sym.imp.KERNEL32.dll_Process32Next]
lea eax, [esp + 0x10]
push eax
push esi
call edi
test eax, eax
je 0x43c2da
nop dword [eax]
push dword [ebx + 4]
lea eax, [esp + 0x38]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
add esp, 8
test eax, eax
je 0x43c2d3
lea eax, [esp + 0x10]
push eax
push esi
call edi
test eax, eax
jne 0x43c2b0
jmp 0x43c2da
mov eax, dword [esp + 0x18]
mov dword [ebx + 8], eax
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x13c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0043c2f6
mov esp, ebp
pop ebp
ret
Function at 0x43cf1c
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x43cf5b
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x43cf5b
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x43cf5b
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x43cf5b
cmp dword [ecx + 0x74], 0xe
jbe 0x43cf5b
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x10014a70
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100ac400
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.100a182a
mov esi, dword [esp + 0xc]
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0
xor ebp, ebp
call fcn.100177b0
mov ecx, dword [esp + 0x40]
mov byte [esp + 0x2c], 1
cmp ecx, 3
ja case.default.0x10014ac4
jmp dword [ecx*4 + 0x10014c2c]
mov al, byte [esi]
test al, al
je 0x10014af2
cmp al, 0x20
je 0x10014ade
cmp al, 0xa1
jne 0x10014af2
cmp byte [esi + 1], al
jne 0x10014af2
test al, 0x80
je 0x10014aea
mov al, byte [esi + 1]
inc esi
test al, al
je 0x10014af2
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x10014ad1
test ecx, ecx
je case.default.0x10014ac4
mov dl, byte [esi]
xor ecx, ecx
test dl, dl
mov eax, esi
je case.default.0x10014ac4
mov edi, dword [esp + 0x3c]
mov dl, byte [eax]
test dl, 0x80
je 0x10014b38
cmp dl, 0xa1
jne 0x10014b2c
cmp byte [eax + 1], 0xa1
jne 0x10014b2c
test ecx, ecx
jne 0x10014b24
mov edi, eax
mov ecx, 1
inc eax
jmp 0x10014b4c
mov dl, byte [eax + 1]
inc eax
xor ecx, ecx
test dl, dl
je 0x10014b66
jmp 0x10014b4c
cmp dl, 0x20
jne 0x10014b4a
test ecx, ecx
jne 0x10014b43
mov edi, eax
mov ecx, 1
jmp 0x10014b4c
xor ecx, ecx
mov dl, byte [eax + 1]
inc eax
test dl, dl
jne 0x10014b0c
cmp ecx, 1
jne case.default.0x10014ac4
mov dl, byte [edi]
mov ebp, edi
mov byte [esp + 0x3c], dl
mov byte [edi], 0
jmp case.default.0x10014ac4
mov dl, byte [eax - 1]
lea edi, [eax - 1]
mov ebp, edi
mov byte [esp + 0x3c], dl
mov byte [edi], 0
jmp case.default.0x10014ac4
mov al, byte [esi]
test al, al
je 0x10014bbe
test al, 0x80
mov byte [esp + 0x3c], al
je 0x10014ba4
mov cl, byte [esi + 1]
test cl, cl
je 0x10014bbe
cmp al, 0xa1
jne 0x10014b94
cmp cl, al
je 0x10014ba1
mov ax, word [esi]
lea ecx, [esp + 0x10]
push eax
call fcn.10017a40
inc esi
jmp 0x10014bb6
cmp al, 0x20
je 0x10014bb6
mov ecx, dword [esp + 0x3c]
push ecx
lea ecx, [esp + 0x14]
call fcn.10017a80
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x10014b7d
push 0
lea ecx, [esp + 0x14]
call fcn.10017a80
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.10027f30
mov edx, dword [esp + 0x38]
add esp, 4
test ebp, ebp
mov dword [edx], eax
je 0x10014bf1
mov al, byte [esp + 0x3c]
mov byte [ebp], al
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 0
mov dword [esp + 0x10], 0x100b69c0
call fcn.100179b0
lea ecx, [esp + 0xc]
mov dword [esp + 0x2c], 0xffffffff
call fcn.100a17bc
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x24
ret
Function at 0x1001fa50
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x100acc5b
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.100a1531
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x1001fad2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.1009f41d
mov eax, dword [eax]
push 0x100cb1f0
push eax
call fcn.10091624
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.100a17bc
test bl, bl
je 0x1001fad2
push 0x100cb1f0
lea ecx, [esp + 0xc]
call fcn.100a1b4c
push 0x100ced7c
lea ecx, [esp + 0xc]
call fcn.100a1b4c
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 0x1001fb0e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.100a17bc
jmp 0x1001fbd9
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 0x1001fb92
lea edx, [esp + 0x7c]
push 0x100ced78
push edx
call fcn.10091624
add esp, 8
test eax, eax
je 0x1001fb92
lea eax, [esp + 0x7c]
push 0x100ced74
push eax
call fcn.10091624
add esp, 8
test eax, eax
je 0x1001fb92
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 0x1001fb22
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.100a17bc
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 0x100203d0
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 0x10020432
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 0x10020440
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x100accdb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x100df9b8]
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 0x10020578
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x100204a6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.100a17bc
xor eax, eax
jmp 0x100205ef
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.100a18f9
push esi
lea ecx, [esp + 0xc]
call fcn.100a1b88
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 0x100205cd
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push SysReAllocString
call fcn.100203d0
test eax, eax
jne 0x100205cd
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push SysReAllocString
mov ecx, edi
call fcn.100203d0
test eax, eax
jne 0x100205cd
lea eax, [esp + 0x14]
push 0x100ced90
push eax
call fcn.10092770
mov esi, eax
add esp, 8
test esi, esi
jne 0x100205ac
lea ecx, [esp + 0x14]
push 0x100ced8c
push ecx
call fcn.100926f0
mov esi, eax
add esp, 8
test esi, esi
jne 0x100205ac
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x100205af
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.100a18a9
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x100204be
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.100a17bc
xor eax, eax
jmp 0x100205ef
mov byte [esi], 0
push 0x100ced88
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.100a17bc
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 0x10033b80
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 0x10033bee
cmp si, 0x69
ja 0x10033bee
add esi, 0xffd0
cmp si, 0x11
je 0x10033bbe
push 0x11
call edi
test ax, ax
jge 0x10033bbe
or esi, 0x2000
cmp si, 0x10
je 0x10033bd3
push 0x10
call edi
test ax, ax
jge 0x10033bd3
or esi, 0x4000
cmp si, 0x12
je 0x10033be8
push 0x12
call edi
test ax, ax
jge 0x10033be8
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x10033bfb
mov esi, 0xbd
jmp 0x10033baf
cmp si, 0x6e
jne 0x10033c08
mov esi, 0xbe
jmp 0x10033baf
cmp si, 0x6f
jne 0x10033ba9
mov esi, 0xbf
jmp 0x10033baf

Function at 0x10035050
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x100add91
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14c
push ebp
mov ebp, dword [esp + 0x160]
push esi
push edi
push 0xffffffffffffffff
push 0
mov ecx, ebp
call fcn.100a0905
mov esi, dword [esp + 0x16c]
push 0xffffffffffffffff
push 0
mov ecx, esi
call fcn.100a0bcb
mov eax, dword [esp + 0x170]
lea ecx, [esp + 0xc]
push eax
call fcn.100a182a
lea ecx, [esp + 0xc]
push str..
lea edx, [esp + 0x18]
push ecx
push edx
mov dword [esp + 0x16c], 0
call fcn.100a1a05
mov eax, dword [eax]
lea ecx, [esp + 0x18]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
lea ecx, [esp + 0x14]
mov edi, eax
call fcn.100a17bc
test edi, edi
je 0x1003519e
mov edx, dword [0x100df9b8]
mov dword [esp + 0x10], edx
cmp edi, 0xffffffff
mov byte [esp + 0x160], 1
je 0x1003518d
cmp byte [esp + 0x44], 0x2e
je 0x10035172
lea eax, [esp + 0xc]
push 0x100cb1f0
lea ecx, [esp + 0x18]
push eax
push ecx
call fcn.100a1a05
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x164], 2
call fcn.100a18a9
lea ecx, [esp + 0x14]
mov byte [esp + 0x160], 1
call fcn.100a17bc
lea edx, [esp + 0x44]
lea ecx, [esp + 0x10]
push edx
call fcn.100a1b4c
test byte [esp + 0x18], 0x10
mov eax, dword [esi + 8]
je 0x10035158
push 1
jmp 0x1003515a
push 0
push eax
mov ecx, esi
call fcn.100a0d10
mov eax, dword [ebp + 8]
lea ecx, [esp + 0x10]
push ecx
push eax
mov ecx, ebp
call fcn.100a0a7a
lea edx, [esp + 0x18]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x100350fe
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [esp + 0x10]
mov byte [esp + 0x160], 0
call fcn.100a17bc
lea ecx, [esp + 0xc]
mov dword [esp + 0x160], 0xffffffff
call fcn.100a17bc
mov ecx, dword [esp + 0x158]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x158
ret
Function at 0x100351d0
Capabilities:
Delete directory
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x100addb0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebx
push esi
lea ecx, [esp + 8]
call fcn.100a0872
xor esi, esi
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], esi
call fcn.100a0b6b
mov eax, dword [esp + 0x40]
lea ecx, [esp + 0x1c]
push eax
lea edx, [esp + 0xc]
push ecx
push edx
mov byte [esp + 0x44], 1
call fcn.10035050
mov eax, dword [esp + 0x1c]
add esp, 0xc
cmp eax, esi
mov ebx, eax
jle 0x1003526d
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_DeleteFileA]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
mov eax, dword [esp + 0x28]
cmp dword [eax + esi*4], 0
je 0x1003525c
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + esi*4]
push eax
call fcn.100351d0
mov edx, dword [esp + 0x18]
add esp, 4
mov eax, dword [edx + esi*4]
push eax
call edi
jmp 0x10035266
mov eax, dword [esp + 0x14]
mov eax, dword [eax + esi*4]
push eax
call ebp
inc esi
cmp esi, ebx
jl 0x10035236
pop edi
pop ebp
lea ecx, [esp + 0x1c]
mov byte [esp + 0x38], 0
call fcn.100a0b9e
lea ecx, [esp + 8]
mov dword [esp + 0x38], 0xffffffff
call fcn.100a08a5
mov ecx, dword [esp + 0x30]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x34
ret

Function at 0x100352a0
Capabilities:
Delete directory

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp byte [esi], 0x20
jne 0x100352b2
mov al, byte [esi + 1]
inc esi
cmp al, 0x20
je 0x100352aa
cmp byte [esi], 0
je 0x100352e1
cmp byte [esi + 1], 0x3a
jne 0x100352cf
mov al, byte [esi + 2]
test al, al
je 0x100352e1
cmp al, 0x5c
jne 0x100352cf
mov al, byte [esi + 3]
test al, al
je 0x100352e1
push esi
call fcn.100351d0
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
pop esi
ret
xor eax, eax
pop esi
ret

Function at 0x100356a0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x100f0180]
xor edx, edx
cmp eax, edx
jne 0x100356c6
xor eax, eax
mov byte [eax + 0x100f0080], al
inc eax
cmp eax, 0x100
jl 0x100356ae
mov dword [0x100f0180], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x100f0080
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x10035757
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 0x1003572a
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 0x100356f8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret