joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10043f00
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
push esi
mov dword [ebp - 0x28], ecx
movzx eax, byte [0x101622d0]
test eax, eax
je 0x100440fa
mov ecx, dword [0x101622d8]
push ecx
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
movsx edx, ax
test edx, edx
je 0x100440fa
mov dword [ebp - 8], 1
jmp 0x10043f43
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [0x101640c4]
mov edx, dword [ecx]
mov ecx, dword [0x101640c4]
mov eax, dword [edx + 0x50]
call eax
cmp dword [ebp - 8], eax
jg 0x100440fa
mov ecx, dword [0x101640c4]
mov edx, dword [ecx]
mov ecx, dword [0x101640c4]
mov eax, dword [edx + 0x30]
call eax
push eax
call fcn.100397e0
add esp, 4
mov dword [ebp - 0xc], eax
mov ecx, dword [0x101640cc]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 8]
push ecx
mov ecx, dword [0x101640cc]
call dword [ebp - 0x18]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x10043fc9
mov ecx, dword [ebp - 0x20]
call fcn.100d21a0
movzx edx, al
test edx, edx
je 0x10043fc9
mov ecx, dword [ebp - 4]
add ecx, 8
mov eax, dword [ebp - 4]
mov edx, dword [eax + 8]
mov eax, dword [edx + 0x24]
call eax
movzx ecx, al
test ecx, ecx
je 0x10043fce
jmp 0x10043f3a
mov edx, dword [ebp - 4]
cmp edx, dword [ebp - 0xc]
jne 0x10043fdb
jmp 0x10043f3a
mov eax, dword [0x101640cc]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x10]
mov dword [ebp - 0x1c], edx
push ecx
mov esi, esp
mov ecx, dword [ebp - 0xc]
call fcn.10047630
movss xmm0, dword [eax]
call fcn.100d6170
push eax
mov ecx, esi
call fcn.1002a710
mov ecx, dword [0x101640cc]
call dword [ebp - 0x1c]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x100440f5
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 4]
jne 0x100440f5
mov ecx, dword [ebp - 0x20]
call fcn.1003ad40
mov ecx, dword [eax]
mov dword [ebp - 0x38], ecx
mov edx, dword [eax + 4]
mov dword [ebp - 0x34], edx
mov eax, dword [eax + 8]
mov dword [ebp - 0x30], eax
lea ecx, [ebp - 0x38]
call fcn.1003cbe0
fstp dword [ebp - 0x14]
movss xmm0, dword [ebp - 0x14]
comiss xmm0, dword [0x100de864]
jbe 0x100440f5
lea ecx, [ebp - 0x44]
call fcn.10039340
lea ecx, [ebp - 0x50]
call fcn.1003b400
lea ecx, [ebp - 0x50]
push ecx
lea edx, [ebp - 0x38]
push edx
call fcn.10066640
add esp, 8
lea ecx, [ebp - 0x74]
call fcn.10039340
mov eax, dword [0x101640c4]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x48]
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [0x101640c4]
call dword [ebp - 0x24]
movss xmm0, dword [ebp - 0x70]
subss xmm0, dword [ebp - 0x40]
movss dword [ebp - 0x40], xmm0
lea ecx, [ebp - 0x5c]
call fcn.10039340
lea ecx, [ebp - 0x50]
push ecx
lea edx, [ebp - 0x5c]
push edx
call fcn.10066640
add esp, 4
movss xmm0, dword [ebp - 0x14]
movss dword [esp], xmm0
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x5c]
call fcn.10039410
mov ecx, dword [ebp + 8]
movss xmm0, dword [ebp - 0x68]
movss dword [ecx + 0x24], xmm0
mov edx, dword [ebp + 8]
movss xmm0, dword [ebp - 0x64]
movss dword [edx + 0x28], xmm0
jmp 0x10043f3a
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x10056f70
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100db824
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x10]
call fcn.10056ee0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
add ecx, 8
call fcn.1000c100
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x10]
mov dword [eax], vtable.Visuals.0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x24], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x28], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x2c], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x30], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x34], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x38], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x3c], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x40
call fcn.1000c170
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x10]
add ecx, 0x4c
call fcn.1000c170
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x10]
add ecx, 0x58
call fcn.1000c170
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x10]
add ecx, 0x64
call fcn.10056de0
mov edx, dword [ebp - 0x10]
add edx, 8
push edx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x100789f0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x1c]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
xor edx, edx
pop ebp
ret

Function at 0x10078a10
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x1c]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
xor edx, edx
pop ebp
ret

Function at 0x10078be0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0x10]
not eax
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
mov dword [ebp - 8], ecx
mov dword [ebp - 0x10], 0x100e6850
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp + 0xc]
sub eax, 1
mov dword [ebp + 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x10078c41
mov ecx, dword [ebp - 4]
shr ecx, 8
mov edx, dword [ebp - 4]
and edx, 0xff
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
xor edx, eax
mov eax, dword [ebp - 0x10]
xor ecx, dword [eax + edx*4]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0x14]
mov dword [ebp - 4], edx
jmp 0x10078bfb
mov eax, dword [ebp - 4]
not eax
mov esp, ebp
pop ebp
ret
Function at 0x10078c50
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0x10]
not eax
mov dword [ebp + 0x10], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp + 8]
mov dword [ebp - 8], edx
mov dword [ebp - 0x10], 0x100e6850
cmp dword [ebp + 0xc], 0
je 0x10078d09
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp + 0xc]
sub ecx, 1
mov dword [ebp + 0xc], ecx
cmp dword [ebp - 0x14], 0
je 0x10078d07
mov edx, dword [ebp - 8]
mov al, byte [edx]
mov byte [ebp - 3], al
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov dl, byte [ebp - 3]
mov byte [ebp - 2], dl
movzx eax, byte [ebp - 2]
cmp eax, 0x23
jne 0x10078ce4
cmp dword [ebp + 0xc], 2
jb 0x10078ce4
mov ecx, 1
imul edx, ecx, 0
mov eax, dword [ebp - 8]
movzx ecx, byte [eax + edx]
cmp ecx, 0x23
jne 0x10078ce4
mov edx, 1
shl edx, 0
mov eax, dword [ebp - 8]
movzx ecx, byte [eax + edx]
cmp ecx, 0x23
jne 0x10078ce4
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
shr eax, 8
mov ecx, dword [ebp - 0xc]
and ecx, 0xff
movzx edx, byte [ebp - 2]
xor ecx, edx
mov edx, dword [ebp - 0x10]
xor eax, dword [edx + ecx*4]
mov dword [ebp - 0xc], eax
jmp 0x10078c7b
jmp 0x10078d7e
mov eax, dword [ebp - 8]
mov cl, byte [eax]
mov byte [ebp - 4], cl
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
mov al, byte [ebp - 4]
mov byte [ebp - 1], al
movzx ecx, byte [ebp - 1]
test ecx, ecx
je 0x10078d7e
movzx edx, byte [ebp - 1]
cmp edx, 0x23
jne 0x10078d5f
mov eax, 1
imul ecx, eax, 0
mov edx, dword [ebp - 8]
movzx eax, byte [edx + ecx]
cmp eax, 0x23
jne 0x10078d5f
mov ecx, 1
shl ecx, 0
mov edx, dword [ebp - 8]
movzx eax, byte [edx + ecx]
cmp eax, 0x23
jne 0x10078d5f
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
shr edx, 8
mov eax, dword [ebp - 0xc]
and eax, 0xff
movzx ecx, byte [ebp - 1]
xor eax, ecx
mov ecx, dword [ebp - 0x10]
xor edx, dword [ecx + eax*4]
mov dword [ebp - 0xc], edx
jmp 0x10078d09
mov eax, dword [ebp - 0xc]
not eax
mov esp, ebp
pop ebp
ret
Function at 0x10088320
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100dc77e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x10]
call fcn.1006be10
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x14
call fcn.1006be10
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
add ecx, 0x20
call fcn.1006be10
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
call fcn.1000c220
mov eax, dword [ebp - 0x10]
xorps xmm0, xmm0
movss dword [eax + 0x10], xmm0
mov ecx, dword [ebp - 0x10]
xorps xmm0, xmm0
movss dword [ecx + 0xc], xmm0
mov edx, 0x3f
mov eax, dword [ebp - 0x10]
mov word [eax + 0x42], dx
mov ecx, 0xffff
mov edx, dword [ebp - 0x10]
mov word [edx + 0x44], cx
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
lea ecx, [ebp - 0x18]
call fcn.1000c1f0
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x30], ecx
mov dword [eax + 0x34], edx
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x2c], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x38], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x3c], 0
xor ecx, ecx
mov edx, dword [ebp - 0x10]
mov word [edx + 0x40], cx
mov eax, dword [ebp - 0x10]
mov byte [eax + 0x46], 0
mov ecx, dword [ebp - 0x10]
movss xmm0, dword [0x100de868]
movss dword [ecx + 0x48], xmm0
mov edx, dword [ebp - 0x10]
xorps xmm0, xmm0
movss dword [edx + 0x50], xmm0
mov eax, dword [ebp - 0x10]
xorps xmm0, xmm0
movss dword [eax + 0x4c], xmm0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x54], 0
xor edx, edx
mov eax, dword [ebp - 0x10]
add eax, 0x58
mov word [eax], dx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x10088450
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100dc7b1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0x24
call fcn.1000c220
mov ecx, dword [ebp - 0x10]
add ecx, 0x2c
call fcn.1000c220
mov ecx, dword [ebp - 0x10]
add ecx, 0x34
call fcn.1006be10
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x40
call fcn.1006be10
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
add ecx, 0x4c
call fcn.1006be10
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x10]
mov byte [eax], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 4], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 8], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0xc], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x10], 1
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x14], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x18], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x20], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x1c], 0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
lea ecx, [ebp - 0x1c]
call fcn.1000c1f0
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x24], ecx
mov dword [eax + 0x28], edx
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
lea ecx, [ebp - 0x24]
call fcn.1000c1f0
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x2c], ecx
mov dword [eax + 0x30], edx
mov dword [ebp - 0x14], 0
jmp 0x1008856c
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x14], 1
jge 0x10088582
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
mov dword [eax + edx*4 + 0x58], 0xffffffff
jmp 0x10088563
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x100ba880
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
call fcn.10077980
mov dword [ebp - 4], eax
lea eax, [ebp - 0x3c]
push eax
mov ecx, dword [0x101620b0]
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
mov edx, dword [ebp - 0x30]
sub edx, dword [ebp - 0x38]
cvtsi2ss xmm0, edx
push ecx
movss dword [esp], xmm0
mov eax, dword [ebp - 0x34]
sub eax, dword [ebp - 0x3c]
cvtsi2ss xmm0, eax
push ecx
movss dword [esp], xmm0
lea ecx, [ebp - 0x2c]
call fcn.1000c1f0
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
lea ecx, [ebp - 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ecx, dword [ebp - 0x24]
sub ecx, dword [0x101620b8]
mov edx, dword [ebp - 0x20]
sbb edx, dword [0x101620bc]
call fcn.100d64c0
cvtsd2ss xmm0, xmm0
mov edx, dword [0x101620c4]
mov ecx, dword [0x101620c0]
movss dword [ebp - 0x1c], xmm0
call fcn.100d64c0
cvtsd2ss xmm0, xmm0
movss xmm1, dword [ebp - 0x1c]
divss xmm1, xmm0
mov edx, dword [ebp - 4]
movss dword [edx + 0x10], xmm1
mov eax, dword [ebp - 0x24]
mov dword [0x101620b8], eax
mov ecx, dword [ebp - 0x20]
mov dword [0x101620bc], ecx
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
movsx edx, ax
and edx, 0x8000
je 0x100ba952
mov dword [ebp - 8], 1
jmp 0x100ba959
mov dword [ebp - 8], 0
mov eax, dword [ebp - 4]
mov cl, byte [ebp - 8]
mov byte [eax + 0xf8], cl
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
movsx edx, ax
and edx, 0x8000
je 0x100ba981
mov dword [ebp - 0xc], 1
jmp 0x100ba988
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 4]
mov cl, byte [ebp - 0xc]
mov byte [eax + 0xf9], cl
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
movsx edx, ax
and edx, 0x8000
je 0x100ba9b0
mov dword [ebp - 0x10], 1
jmp 0x100ba9b7
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 4]
mov cl, byte [ebp - 0x10]
mov byte [eax + 0xfa], cl
mov edx, dword [ebp - 4]
mov byte [edx + 0xfb], 0
call fcn.100bb0a0
mov eax, dword [ebp - 4]
movzx ecx, byte [eax + 0xa8]
test ecx, ecx
je 0x100ba9e9
mov dword [ebp - 0x14], 0xffffffff
jmp 0x100ba9f1
call fcn.10077a80
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x18], edx
mov eax, dword [0x101403a0]
cmp eax, dword [ebp - 0x18]
je 0x100baa0f
mov ecx, dword [ebp - 0x18]
mov dword [0x101403a0], ecx
call fcn.100bafb0
call fcn.100baa30
mov esp, ebp
pop ebp
ret

Function at 0x100bf680
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x100bf6d0
cmp dword [ebp - 4], 1
je 0x100bf698
jmp 0x100bf6e4
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
push 0
push 0
mov edx, dword [ebp + 8]
push edx
push 0x100bf2e0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0x12c
push 0x12c
call dword [sym.imp.KERNEL32.dll_Beep]
mov eax, 1
jmp 0x100bf6e9
cmp dword [ebp + 0x10], 0
jne 0x100bf6dd
call fcn.100bf570
jmp 0x100bf6e9
mov eax, 1
jmp 0x100bf6e9
mov eax, 1
mov esp, ebp
pop ebp
ret 0xc
Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x433005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
call 0x43300c
nop
nop
nop
pop eax
nop
nop
add eax, 0x40a063
nop
nop
sub eax, 0x40a009
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x433030
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x4090b0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x47674b
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.0046b07c
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x409132
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.00468ccd
mov eax, dword [eax]
push 0x4921e0
push eax
call fcn.0045bb44
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0046b307
test bl, bl
je 0x409132
push 0x4921e0
lea ecx, [esp + 0xc]
call fcn.0046b697
push 0x495d3c
lea ecx, [esp + 0xc]
call fcn.0046b697
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 0x40916e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0046b307
jmp 0x409239
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 0x4091f2
lea edx, [esp + 0x7c]
push 0x495d38
push edx
call fcn.0045bb44
add esp, 8
test eax, eax
je 0x4091f2
lea eax, [esp + 0x7c]
push 0x495d34
push eax
call fcn.0045bb44
add esp, 8
test eax, eax
je 0x4091f2
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 0x409182
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.0046b307
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 0x409a30
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 0x409a92
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 0x409aa0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4767cb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x4a1ed8]
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 0x409bd8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x409b06
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0046b307
xor eax, eax
jmp 0x409c4f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0046b444
push esi
lea ecx, [esp + 0xc]
call fcn.0046b6d3
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 0x409c2d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push accept
call fcn.00409a30
test eax, eax
jne 0x409c2d
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 accept
mov ecx, edi
call fcn.00409a30
test eax, eax
jne 0x409c2d
lea eax, [esp + 0x14]
push 0x495d50
push eax
call fcn.0045cb80
mov esi, eax
add esp, 8
test esi, esi
jne 0x409c0c
lea ecx, [esp + 0x14]
push 0x495d4c
push ecx
call fcn.0045cb00
mov esi, eax
add esp, 8
test esi, esi
jne 0x409c0c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x409c0f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0046b3f4
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x409b1e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0046b307
xor eax, eax
jmp 0x409c4f
mov byte [esi], 0
push 0x495d48
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.0046b307
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 0x41a220
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 0x41a28e
cmp si, 0x69
ja 0x41a28e
add esi, 0xffd0
cmp si, 0x11
je 0x41a25e
push 0x11
call edi
test ax, ax
jge 0x41a25e
or esi, 0x2000
cmp si, 0x10
je 0x41a273
push 0x10
call edi
test ax, ax
jge 0x41a273
or esi, 0x4000
cmp si, 0x12
je 0x41a288
push 0x12
call edi
test ax, ax
jge 0x41a288
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x41a29b
mov esi, 0xbd
jmp 0x41a24f
cmp si, 0x6e
jne 0x41a2a8
mov esi, 0xbe
jmp 0x41a24f
cmp si, 0x6f
jne 0x41a249
mov esi, 0xbf
jmp 0x41a24f

Function at 0x41b8c0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x4b2568]
xor edx, edx
cmp eax, edx
jne 0x41b8e6
xor eax, eax
mov byte [eax + 0x4b2468], al
inc eax
cmp eax, 0x100
jl 0x41b8ce
mov dword [0x4b2568], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x4b2468
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x41b977
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 0x41b94a
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 0x41b918
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x41b9f0
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 0x41ba43
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 0x41ba2a
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