joyce8/EMBER2024-capa huggingface dataset:
Function at 0x487fd2
Capabilities:
Get common file path

Disassembly:
push esi
mov esi, ecx
call fcn.004fc921
call fcn.0041d28c
cmp dword [eax + 0x14], 0
jne 0x487fed
mov ecx, esi
pop esi
jmp fcn.004873d8
pop esi
ret

Function at 0x4880f3
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
mov ecx, dword [esi + 4]
call fcn.0041c963
push 0xfffffffffffffff0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x48812f
call fcn.00488312
mov dword [esi + 0xc], 1
jmp 0x488134
call fcn.00488312
cmp dword [esi], 0
je 0x48817d
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, dword [ebp + 0x10]
test eax, eax
jle 0x488157
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, esi
call fcn.004182e9
jmp 0x488168
push 0xff
mov ecx, esi
call fcn.0040a2b6
push 0x100
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
mov ecx, esi
call fcn.0040b0c5
jmp 0x4881a1
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jne 0x4881a1
push dword [esi]
push dword [ebp - 4]
call fcn.0041d43b
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x488267
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
push edi
push dword [ebp + 0xc]
call fcn.00488312
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x4882af
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.004182e9
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.0040b0c5
jmp 0x4882ba
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.0041d43b
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x4fa641
Capabilities:
Get common file path
Get file system object information

Disassembly:
push esi
mov esi, ecx
call fcn.0041d096
call fcn.0041d28c
cmp dword [eax + 0x14], 0
jne 0x4fa65c
mov ecx, esi
pop esi
jmp fcn.004f9f2a
pop esi
ret
Function at 0x10004ad0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x1008b0f0
push 0x10071a3c
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x1008f400]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov ebx, edx
mov esi, ecx
mov dword [ebp - 4], 0
lea eax, [ebp - 0x20]
push eax
push 0x40
mov edi, dword [ebp + 8]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub ebx, esi
sub ebx, 5
mov byte [esi], 0xe9
mov dword [esi + 1], ebx
mov eax, 5
mov dword [ebp - 0x28], eax
cmp eax, edi
jae 0x10004b40
mov byte [esi + eax], 0x90
inc eax
jmp 0x10004b32
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x20]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
jmp 0x10004b5a
mov dword [ebp - 4], 0xfffffffe
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.10071a6b
mov esp, ebp
pop ebp
ret

Function at 0x10004ee0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x1008f400]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov eax, ecx
mov edi, edx
lea ecx, [ebp - 8]
mov dword [ebp - 0xc], eax
push ecx
push 0x40
push dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push 1
call esi
push 1
call esi
push dword [ebp + 8]
push edi
mov edi, dword [ebp - 0xc]
push edi
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
push 1
call esi
push 1
call esi
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push dword [ebp + 8]
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.10071a6b
mov esp, ebp
pop ebp
ret
Function at 0x10006860
Capabilities:
Terminate process

Disassembly:
push esi
push ecx
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x10006882
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
ret
Function at 0x100090e0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x1008f400]
xor eax, ebp
mov dword [ebp - 4], eax
movss xmm0, dword [0x1008a648]
push ebx
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
or esi, 0xffffffff
movss dword [ebp - 8], xmm0
xor ebx, ebx
nop dword [eax + eax]
mov ecx, ebx
call fcn.10006ac0
test eax, eax
jle 0x1000928e
mov ecx, dword [0x10091494]
sub ecx, dword [0x100934b0]
add ecx, dword [0x100935f8]
mov eax, dword [0x100936a4]
mov cl, byte [ecx + eax]
mov al, bl
not cl
not al
xor cl, al
test cl, 1
je 0x1000928e
mov eax, dword [0x10091764]
lea ecx, [ebp - 0x14]
mov edx, ebx
push dword [eax*4 + 0x10086764]
call fcn.10006b50
add esp, 4
test al, al
je 0x1000928e
movq xmm0, qword [ebp - 0x14]
sub esp, 0xc
mov eax, dword [ebp - 0xc]
mov ecx, esp
movq qword [ecx], xmm0
mov dword [ecx + 8], eax
lea ecx, [ebp - 0x20]
call fcn.10006c30
add esp, 0xc
test al, al
je 0x1000928e
mov eax, dword [0x10091500]
cvttss2si edx, dword [ebp - 0x1c]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
cvttss2si ecx, dword [ebp - 0x20]
addsd xmm0, qword [eax*8 + 0x1008a650]
cvtpd2ps xmm0, xmm0
mulss xmm0, dword [0x1008a5a4]
cvttss2si eax, xmm0
push eax
mov eax, dword [0x100914fc]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x1008a650]
cvtpd2ps xmm0, xmm0
mulss xmm0, dword [0x1008a5a4]
cvttss2si eax, xmm0
push eax
call fcn.10008f10
movss xmm1, dword [ebp - 8]
add esp, 8
cvtps2pd xmm1, xmm1
comisd xmm1, xmm0
jbe 0x1000928e
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movd xmm0, dword [0x100916a0]
cvtdq2ps xmm0, xmm0
movss dword [ebp - 8], xmm1
comiss xmm0, xmm1
jbe 0x1000928e
mov ecx, dword [0x10091304]
lea eax, [ecx - 1]
cmp eax, 3
ja case.default.0x10009234
jmp dword [eax*4 + 0x100092b8]
mov eax, 1
mov dword [0x10091614], eax
jmp 0x10009270
mov eax, 2
mov dword [0x10091614], eax
jmp 0x10009270
mov eax, 0x11
mov dword [0x10091614], eax
jmp 0x10009270
mov eax, 0x10
mov dword [0x10091614], eax
jmp 0x10009270
mov eax, dword [0x10091614]
test ecx, ecx
je 0x10009285
push eax
call edi
test ax, ax
js 0x10009285
cmp dword [0x10091304], 0
jne 0x1000928e
mov esi, ebx
mov byte [0x10091480], 1
inc ebx
cmp ebx, 0xf
jle 0x10009110
mov eax, esi
cmp esi, 0xffffffff
jne 0x100092a6
mov byte [0x10091480], 0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10071a6b
mov esp, ebp
pop ebp
ret
Function at 0x1000923b
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x1008f400]
xor eax, ebp
mov dword [ebp - 4], eax
movss xmm0, dword [0x1008a648]
push ebx
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
or esi, 0xffffffff
movss dword [ebp - 8], xmm0
xor ebx, ebx
nop dword [eax + eax]
mov ecx, ebx
call fcn.10006ac0
test eax, eax
jle 0x1000928e
mov ecx, dword [0x10091494]
sub ecx, dword [0x100934b0]
add ecx, dword [0x100935f8]
mov eax, dword [0x100936a4]
mov cl, byte [ecx + eax]
mov al, bl
not cl
not al
xor cl, al
test cl, 1
je 0x1000928e
mov eax, dword [0x10091764]
lea ecx, [ebp - 0x14]
mov edx, ebx
push dword [eax*4 + 0x10086764]
call fcn.10006b50
add esp, 4
test al, al
je 0x1000928e
movq xmm0, qword [ebp - 0x14]
sub esp, 0xc
mov eax, dword [ebp - 0xc]
mov ecx, esp
movq qword [ecx], xmm0
mov dword [ecx + 8], eax
lea ecx, [ebp - 0x20]
call fcn.10006c30
add esp, 0xc
test al, al
je 0x1000928e
mov eax, dword [0x10091500]
cvttss2si edx, dword [ebp - 0x1c]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
cvttss2si ecx, dword [ebp - 0x20]
addsd xmm0, qword [eax*8 + 0x1008a650]
cvtpd2ps xmm0, xmm0
mulss xmm0, dword [0x1008a5a4]
cvttss2si eax, xmm0
push eax
mov eax, dword [0x100914fc]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x1008a650]
cvtpd2ps xmm0, xmm0
mulss xmm0, dword [0x1008a5a4]
cvttss2si eax, xmm0
push eax
call fcn.10008f10
movss xmm1, dword [ebp - 8]
add esp, 8
cvtps2pd xmm1, xmm1
comisd xmm1, xmm0
jbe 0x1000928e
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movd xmm0, dword [0x100916a0]
cvtdq2ps xmm0, xmm0
movss dword [ebp - 8], xmm1
comiss xmm0, xmm1
jbe 0x1000928e
mov ecx, dword [0x10091304]
lea eax, [ecx - 1]
cmp eax, 3
ja case.default.0x10009234
jmp dword [eax*4 + 0x100092b8]
mov eax, 1
mov dword [0x10091614], eax
jmp 0x10009270
mov eax, 2
mov dword [0x10091614], eax
jmp 0x10009270
mov eax, 0x11
mov dword [0x10091614], eax
jmp 0x10009270
mov eax, 0x10
mov dword [0x10091614], eax
jmp 0x10009270
mov eax, dword [0x10091614]
test ecx, ecx
je 0x10009285
push eax
call edi
test ax, ax
js 0x10009285
cmp dword [0x10091304], 0
jne 0x1000928e
mov esi, ebx
mov byte [0x10091480], 1
inc ebx
cmp ebx, 0xf
jle 0x10009110
mov eax, esi
cmp esi, 0xffffffff
jne 0x100092a6
mov byte [0x10091480], 0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10071a6b
mov esp, ebp
pop ebp
ret

Function at 0x100092d0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], edx
push edi
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
shr eax, 0x10
test eax, eax
je 0x1000932a
cmp byte [edi*8 + 0x10094040], 0
lea esi, [edi*8 + 0x10094044]
je 0x1000930f
cmp dword [esi], 0
je 0x10009332
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi]
add ecx, dword [ebp - 4]
cmp ecx, eax
ja 0x10009332
mov byte [edi*8 + 0x10094040], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi], eax
mov eax, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov byte [edi*8 + 0x10094040], 0
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10013ff0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x1008f400]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x10093834]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push esi
cmp dword [eax], 1
push edi
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
jne 0x10014091
cmp byte [0x1009130a], 0
jne 0x10014091
mov esi, dword [0x100936d4]
lea eax, [ebp - 8]
push eax
push 0x40
push 2
add esi, 0xfffffffe
mov byte [0x1009130a], 1
push esi
call ebx
push 1
call edi
push 1
call edi
mov eax, 0xe084
push 1
mov word [esi], ax
call edi
push 1
call edi
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 2
push esi
call ebx
mov esi, dword [0x100934cc]
lea eax, [ebp - 8]
push eax
push 0x40
push 1
push esi
call ebx
push 1
call edi
push 1
call edi
push 1
mov byte [esi], 0xcc
call edi
push 1
call edi
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 1
push esi
call ebx
mov eax, dword [0x10093834]
mov eax, dword [eax]
test eax, eax
jne 0x100140aa
cmp byte [0x1009130a], 1
jne 0x100140aa
mov byte [0x1009130a], al
cmp dword [0x100919d8], 0
je 0x100141a0
cmp eax, 1
jne 0x10014149
cmp byte [0x10091309], 0
jne 0x10014100
mov esi, dword [0x100934c0]
lea eax, [ebp - 8]
push eax
push 0x40
push 1
push esi
call ebx
push 1
call edi
push 1
call edi
push 1
mov byte [esi], 0xcc
call edi
push 1
call edi
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 1
push esi
call ebx
mov byte [0x10091309], 1
cmp dword [0x1009140c], 0
je 0x10014149
cmp byte [0x10091911], 0
jne 0x10014149
mov esi, dword [0x100934c0]
lea eax, [ebp - 8]
push eax
push 0x40
push 1
push esi
call ebx
push 1
call edi
push 1
call edi
push 1
mov byte [esi], 0xa5
call edi
push 1
call edi
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 1
push esi
call ebx
mov byte [0x10091911], 1
mov eax, dword [0x10093834]
cmp dword [eax], 4
jne 0x10014183
mov esi, dword [0x100934c0]
lea eax, [ebp - 8]
push eax
push 0x40
push 1
push esi
call ebx
push 1
call edi
push 1
call edi
push 1
mov byte [esi], 0xa5
call edi
push 1
call edi
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 1
push esi
call ebx
mov eax, dword [0x10093834]
cmp dword [eax], 0
jne 0x100141e0
mov byte [0x10091911], 0
mov dword [0x1009140c], 0
jmp 0x100141d9
cmp byte [0x10091309], 1
jne 0x100141e0
mov esi, dword [0x100934c0]
lea eax, [ebp - 8]
push eax
push 0x40
push 1
push esi
call ebx
push 1
call edi
push 1
call edi
push 1
mov byte [esi], 0xa5
call edi
push 1
call edi
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 1
push esi
call ebx
mov byte [0x10091309], 0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10071a6b
mov esp, ebp
pop ebp
ret
Function at 0x100154e0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x10093834]
inc dword [0x10090708]
cmp dword [eax], 1
jne 0x100155ed
mov eax, dword [0x10091758]
cmp dword [eax], 0
je 0x100155ed
cmp dword [0x100916b0], 0
je 0x100155ed
mov ecx, dword [0x10091494]
sub ecx, dword [0x100934b0]
add ecx, dword [0x100935f8]
mov eax, dword [0x100936a4]
mov ecx, dword [ecx + eax]
call fcn.10006ac0
test eax, eax
jle 0x10015557
mov eax, dword [0x10091758]
mov ecx, dword [eax]
add ecx, dword [0x10093498]
call fcn.100166e0
mov ecx, dword [0x100934bc]
add ecx, eax
call fcn.10016720
jmp 0x1001555a
mov eax, dword [ebp - 4]
test eax, eax
jne 0x100155ed
mov eax, dword [0x10091758]
push edi
push 1
mov edi, dword [eax]
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
shr eax, 0x10
test eax, eax
je 0x100155e5
cmp byte [0x10094048], 0
je 0x100155a2
cmp dword [0x1009404c], 0
je 0x100155ec
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [0x1009404c]
add ecx, 0x96
cmp ecx, eax
ja 0x100155ec
mov byte [0x10094048], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x1009404c], eax
mov eax, dword [0x10090708]
cmp eax, dword [0x100913e4]
jl 0x100155ec
push 0
push 2
mov ecx, edi
call dword [0x100934dc]
push 0
push 0
mov ecx, edi
call dword [0x100934dc]
mov dword [0x10090708], 0
jmp 0x100155ec
mov byte [0x10094048], 0
pop edi
mov eax, dword [0x10090b0c]
test eax, eax
jne 0x100155ff
mov dword [0x100913e4], eax
mov esp, ebp
pop ebp
ret
cmp eax, 1
jne 0x10015612
mov dword [0x100913e4], 0xa
mov esp, ebp
pop ebp
ret
cmp eax, 2
jne 0x10015625
mov dword [0x100913e4], 0x14
mov esp, ebp
pop ebp
ret
cmp eax, 3
jne 0x10015638
mov dword [0x100913e4], 0x1e
mov esp, ebp
pop ebp
ret
cmp eax, 4
jne 0x1001564b
mov dword [0x100913e4], 0x28
mov esp, ebp
pop ebp
ret
cmp eax, 5
jne 0x1001565e
mov dword [0x100913e4], 0x32
mov esp, ebp
pop ebp
ret
cmp eax, 6
jne 0x10015671
mov dword [0x100913e4], 0x3c
mov esp, ebp
pop ebp
ret
cmp eax, 7
jne 0x10015684
mov dword [0x100913e4], 0x46
mov esp, ebp
pop ebp
ret
cmp eax, 8
jne 0x10015697
mov dword [0x100913e4], 0x50
mov esp, ebp
pop ebp
ret
cmp eax, 9
jne 0x100156aa
mov dword [0x100913e4], 0x5a
mov esp, ebp
pop ebp
ret
cmp eax, 0xa
jne 0x100156bd
mov dword [0x100913e4], 0x64
mov esp, ebp
pop ebp
ret
cmp eax, 0xb
jne 0x100156d0
mov dword [0x100913e4], 0x6e
mov esp, ebp
pop ebp
ret
cmp eax, 0xc
jne 0x100156df
mov dword [0x100913e4], 0x78
mov esp, ebp
pop ebp
ret
Function at 0x10015fe0
Capabilities:
Check for time delay via gettickcount
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x10093834]
sub esp, 0xc
cmp dword [eax], 1
push edi
jne 0x100160e6
mov eax, dword [0x10091758]
cmp dword [eax], 0
je 0x10016043
mov ecx, dword [0x10091494]
sub ecx, dword [0x100934b0]
add ecx, dword [0x100935f8]
mov eax, dword [0x100936a4]
mov ecx, dword [ecx + eax]
call fcn.10006ac0
test eax, eax
jle 0x10016043
mov eax, dword [0x10091758]
mov ecx, dword [eax]
add ecx, dword [0x10093498]
call fcn.100166e0
mov ecx, dword [0x100934bc]
add ecx, eax
call fcn.10016720
jmp 0x10016046
mov eax, dword [ebp - 4]
test eax, eax
jne 0x100160e6
cmp dword [0x10091310], eax
je 0x100160e6
mov eax, dword [0x100935f0]
lea edx, [ebp - 0xc]
sub esp, 0xc
mov dword [ebp - 0xc], eax
mov eax, dword [0x1009351c]
mov ecx, esp
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push ecx
push eax
push edx
call fcn.10017990
mov ecx, dword [0x100936e4]
call fcn.10004e80
add esp, 0xc
mov edi, eax
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
movsx ecx, ax
shr ecx, 0x10
test ecx, ecx
je 0x100160df
cmp byte [0x10094048], 0
je 0x100160c2
cmp dword [0x1009404c], 0
je 0x100160e6
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [0x1009404c]
inc ecx
cmp ecx, eax
ja 0x100160e6
mov byte [0x10094048], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x1009404c], eax
mov dword [edi], 5
pop edi
mov esp, ebp
pop ebp
ret
mov byte [0x10094048], 0
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x10016150
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, dword [0x100916b8]
mov ebx, ecx
mov dword [ebp - 4], ebx
test esi, esi
jne 0x100161e2
push edi
push 0x28
call fcn.10071c79
mov ebx, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov esi, eax
xorps xmm0, xmm0
mov dword [ebp - 8], esi
push 0x190
movups xmmword [esi], xmm0
movups xmmword [esi + 0x10], xmm0
movq qword [esi + 0x20], xmm0
mov dword [esi + 0xc], 0
mov dword [esi], 0
mov dword [esi + 0x10], 0x433c0000
mov dword [esi + 0x14], 0x41900000
mov dword [esi + 4], 1
call ebx
add esp, 8
mov dword [esi + 8], eax
xor edi, edi
nop word [eax + eax]
push 0x14
call ebx
mov ecx, dword [esi + 8]
add esp, 4
mov dword [edi + ecx], eax
add edi, 4
cmp edi, 0x190
jl 0x100161c0
mov ebx, dword [ebp - 4]
pop edi
mov dword [0x100916b8], esi
cmp dword [esi], 0
jne 0x100161f4
mov ecx, ebx
call fcn.10009fe0
mov esi, dword [0x100916b8]
movss xmm2, dword [0x1008a614]
mov ecx, esi
movss xmm1, dword [0x1008a5fc]
push ebx
call fcn.10009780
call fcn.10009b90
push 0xa0
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
shr eax, 0x10
test eax, eax
je 0x1001627e
cmp byte [0x10094540], 0
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
je 0x1001624e
cmp dword [0x10094544], 0
je 0x10016285
call esi
mov ecx, dword [0x10094544]
add ecx, 0xc8
cmp ecx, eax
ja 0x10016285
mov byte [0x10094540], 1
call esi
cmp byte [0x100913b8], 0
pop esi
sete byte [0x100913b8]
mov dword [0x10094544], eax
cmp byte [0x10091560], 0
pop ebx
sete byte [0x10091560]
mov esp, ebp
pop ebp
ret
mov byte [0x10094540], 0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10016290
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [0x100934b4]
cmp dword [eax], 2
jne 0x10016372
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x11
call edi
cwde
shr eax, 0x10
test eax, eax
je 0x10016387
cmp byte [0x100940c8], 0
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
je 0x100162e5
cmp dword [0x100940cc], 0
je 0x10016370
call esi
mov ecx, dword [0x100940cc]
add ecx, 0x32
cmp ecx, eax
ja 0x10016370
mov byte [0x100940c8], 1
call esi
push 0x44
mov dword [0x100940cc], eax
call edi
cwde
shr eax, 0x10
test eax, eax
je 0x1001637d
cmp byte [0x10094260], 0
je 0x10016320
cmp dword [0x10094264], 0
je 0x10016370
call esi
mov ecx, dword [0x10094264]
add ecx, 0x32
cmp ecx, eax
ja 0x10016370
mov byte [0x10094260], 1
call esi
push 0x43
mov dword [0x10094264], eax
call edi
cwde
shr eax, 0x10
test eax, eax
je 0x10016373
cmp byte [0x10094258], 0
je 0x1001635b
cmp dword [0x1009425c], 0
je 0x10016370
call esi
mov ecx, dword [0x1009425c]
add ecx, 0x32
cmp ecx, eax
ja 0x10016370
mov byte [0x10094258], 1
call esi
mov dword [0x1009425c], eax
mov byte [0x1008f473], 1
pop esi
pop edi
ret
pop esi
mov byte [0x10094258], 0
pop edi
ret
pop esi
mov byte [0x10094260], 0
pop edi
ret
mov byte [0x100940c8], 0
pop edi
ret
Function at 0x100164c0
Capabilities:
Create thread
Link many functions at runtime
Terminate process

Disassembly:
call fcn.100052f0
test eax, eax
jne 0x100164d1
push 0xffffffffffffffff
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
nop dword [eax]
push str.d3d9.dll
call edi
test eax, eax
je 0x100164e0
push str.xx____xx____xx
push 0x100837ec
mov ecx, eax
call fcn.10004a20
add esp, 8
mov ecx, dword [eax + 2]
push 0x100837fc
push str.user32.dll
mov eax, dword [ecx + 0xa8]
mov dword [0x1009167c], eax
mov eax, dword [ecx + 0xc]
mov dword [0x1009168c], eax
mov eax, dword [ecx + 0x1c]
mov dword [0x10091690], eax
mov eax, dword [ecx + 0xe4]
mov dword [0x10091680], eax
mov eax, dword [ecx + 0x164]
mov dword [0x10091684], eax
mov eax, dword [ecx + 0xc0]
mov dword [0x10091688], eax
mov eax, dword [ecx + 0x68]
mov dword [0x10091698], eax
call edi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call esi
mov dword [0x100914cc], eax
add eax, 5
push str.keybd_event
push str.user32.dll
mov dword [0x10091568], eax
call edi
push eax
call esi
mov dword [0x10092414], eax
add eax, 5
push str.D3DXVec3Project
push str.d3dx9_38.dll
mov dword [0x10091400], eax
call edi
push eax
call esi
push str.D3DXCreateFontA
push str.d3dx9_38.dll
mov dword [0x10091570], eax
call edi
push eax
call esi
mov dword [0x1009155c], eax
add eax, 5
push str.D3DXCreateLine
push str.d3dx9_38.dll
mov dword [0x100916ac], eax
call edi
push eax
call esi
mov dword [0x1009176c], eax
add eax, 5
mov dword [0x100916c0], eax
call fcn.10006890
push 0
push 0
push 0
push 0x10004b80
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
call fcn.1000c380
mov eax, dword [0x100934b4]
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [eax], 0xffffffff
jne 0x1001661c
mov esi, dword [sym.imp.USER32.dll_FindWindowA]
push str.Point_Blank
push 0
call esi
push 0x64
call edi
mov eax, dword [0x100934b4]
cmp dword [eax], 0xffffffff
je 0x10016605
push 0x3e8
call edi
mov ecx, dword [0x100935a0]
mov edx, 0x100163a0
push 6
call fcn.10004ad0
mov ecx, dword [0x10091680]
push 5
mov eax, dword [ecx + 1]
lea edx, [ecx + 0x2c]
add ecx, 5
add edx, eax
add ecx, eax
call fcn.10004ad0
mov ecx, dword [0x10091684]
push 5
mov eax, dword [ecx + 1]
lea edx, [ecx + 0x2c]
add ecx, 5
add edx, eax
add ecx, eax
call fcn.10004ad0
mov ecx, dword [0x10091688]
push 5
mov eax, dword [ecx + 1]
lea edx, [ecx + 0x2c]
add ecx, 5
add edx, eax
add ecx, eax
call fcn.10004ad0
mov ecx, dword [0x10091690]
push 5
mov eax, dword [ecx + 1]
lea edx, [ecx + 0x2c]
add ecx, 5
add edx, eax
add ecx, eax
call fcn.10004ad0
mov ecx, dword [0x1009168c]
push 5
mov eax, dword [ecx + 1]
lea edx, [ecx + 0x2c]
add ecx, 5
add edx, eax
add ecx, eax
call fcn.10004ad0
mov ecx, dword [0x10091698]
push 5
mov eax, dword [ecx + 1]
lea edx, [ecx + 0x2c]
add ecx, 5
add edx, eax
add ecx, eax
call fcn.10004ad0
add esp, 0x1c
pop edi
pop esi
ret