Function at 0x10015a10
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp + 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 0x18], 0
mov edx, dword [ebp + 0x24]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp + 0x18]
cmp eax, dword [ebp - 0x10]
jle 0x10015a41
mov eax, dword [ebp + 0x18]
cdq
idiv dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp + 0x18]
cmp ecx, dword [ebp - 0x10]
jle 0x10015a9a
push 0x10035228
mov edx, dword [ebp + 0x14]
push edx
cvtsi2ss xmm0, dword [ebp - 0x18]
push ecx
movss dword [esp], xmm0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
cvtsi2ss xmm0, dword [ebp - 0x14]
push ecx
movss dword [esp], xmm0
cvtsi2ss xmm0, dword [ebp + 0xc]
push ecx
movss dword [esp], xmm0
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 8]
lea edx, [ecx + eax + 5]
cvtsi2ss xmm0, edx
push ecx
movss dword [esp], xmm0
call fcn.100151f0
add esp, 0x1c
jmp 0x10015aa3
mov eax, dword [ebp - 8]
add eax, 0x1e
mov dword [ebp - 8], eax
push 0
push 0
push 0
lea ecx, [ebp - 0x2c]
call fcn.10014340
sub esp, 0x10
mov ecx, esp
mov edx, dword [eax]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov eax, dword [eax + 0xc]
mov dword [ecx + 0xc], eax
cvtsi2ss xmm0, dword [ebp - 0x14]
push ecx
movss dword [esp], xmm0
cvtsi2ss xmm0, dword [ebp - 8]
push ecx
movss dword [esp], xmm0
cvtsi2ss xmm0, dword [ebp + 0xc]
push ecx
movss dword [esp], xmm0
cvtsi2ss xmm0, dword [ebp + 8]
push ecx
movss dword [esp], xmm0
mov ecx, dword [0x1003dd40]
call fcn.1001d8d0
mov dword [ebp - 0xc], 1
mov dword [ebp - 4], 0
jmp 0x10015b1c
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
cmp edx, dword [ebp + 0x18]
jge 0x10015ce2
mov eax, dword [ebp + 0x14]
movss xmm0, dword [eax]
addss xmm0, dword [0x10037bbc]
cvtsi2ss xmm1, dword [ebp - 0x10]
mulss xmm0, xmm1
cvttss2si ecx, xmm0
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x1c]
sub edx, dword [ebp - 0x10]
cmp dword [ebp - 4], edx
jl 0x10015cdd
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0x1c]
jg 0x10015cdd
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp - 4]
cmp edx, dword [ecx + 4]
jne 0x10015bd5
push 0x32
push 0x32
push 0x32
lea ecx, [ebp - 0x3c]
call fcn.10014340
sub esp, 0x10
mov ecx, esp
mov edx, dword [eax]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov eax, dword [eax + 0xc]
mov dword [ecx + 0xc], eax
push ecx
movss xmm0, dword [0x10037c44]
movss dword [esp], xmm0
cvtsi2ss xmm0, dword [ebp - 8]
push ecx
movss dword [esp], xmm0
mov ecx, dword [ebp + 0xc]
add ecx, dword [ebp - 0xc]
cvtsi2ss xmm0, ecx
push ecx
movss dword [esp], xmm0
cvtsi2ss xmm0, dword [ebp + 8]
push ecx
movss dword [esp], xmm0
mov ecx, dword [0x1003dd40]
call fcn.1001d8d0
push 0xb
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp + 0xc]
add eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.10015190
add esp, 0x10
test eax, eax
je 0x10015c76
push 0x50
push 0x50
push 0x50
lea ecx, [ebp - 0x4c]
call fcn.10014340
sub esp, 0x10
mov edx, esp
mov ecx, dword [eax]
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov dword [edx + 0xc], eax
push ecx
movss xmm0, dword [0x10037c44]
movss dword [esp], xmm0
cvtsi2ss xmm0, dword [ebp - 8]
push ecx
movss dword [esp], xmm0
mov ecx, dword [ebp + 0xc]
add ecx, dword [ebp - 0xc]
cvtsi2ss xmm0, ecx
push ecx
movss dword [esp], xmm0
cvtsi2ss xmm0, dword [ebp + 8]
push ecx
movss dword [esp], xmm0
mov ecx, dword [0x1003dd40]
call fcn.1001d8d0
push 1
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
movsx edx, ax
test edx, edx
je 0x10015c76
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 4]
mov dword [eax + 4], ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + edx*4]
push ecx
push 0
lea edx, [ebp - 0x5c]
push edx
call fcn.10014410
add esp, 0xfffffff4
mov ecx, esp
mov edx, dword [eax]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov eax, dword [eax + 0xc]
mov dword [ecx + 0xc], eax
mov ecx, dword [ebp + 0xc]
add ecx, dword [ebp - 0xc]
cvtsi2ss xmm0, ecx
push ecx
movss dword [esp], xmm0
mov edx, dword [ebp + 8]
add edx, 4
cvtsi2ss xmm0, edx
push ecx
movss dword [esp], xmm0
mov eax, dword [0x1003dd40]
push eax
call fcn.1001d850
add esp, 0x24
mov ecx, dword [ebp - 0xc]
add ecx, 0xc
mov dword [ebp - 0xc], ecx
jmp 0x10015b13
push ecx
movss xmm0, dword [0x10037bbc]
movss dword [esp], xmm0
push 0xff
push 0xff
push 0xff
lea ecx, [ebp - 0x6c]
call fcn.10014340
sub esp, 0x10
mov edx, esp
mov ecx, dword [eax]
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov dword [edx + 0xc], eax
cvtsi2ss xmm0, dword [ebp - 0x14]
push ecx
movss dword [esp], xmm0
cvtsi2ss xmm0, dword [ebp - 8]
push ecx
movss dword [esp], xmm0
cvtsi2ss xmm0, dword [ebp + 0xc]
push ecx
movss dword [esp], xmm0
cvtsi2ss xmm0, dword [ebp + 8]
push ecx
movss dword [esp], xmm0
mov ecx, dword [0x1003dd40]
call fcn.1001d920
mov esp, ebp
pop ebp
ret