Function at 0x100f4d40
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [0x1039b040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [0x1039da5c]
mov dword [ebp - 0x34], esi
push edi
test esi, esi
je 0x100f4d65
mov ebx, dword [esi + 0x6c]
jmp 0x100f4d67
xor ebx, ebx
lea eax, [ebp - 0x30]
xorps xmm0, xmm0
push eax
movups xmmword [ebp - 0x30], xmm0
push dword [ebx]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0x28]
sub eax, dword [ebp - 0x30]
movd xmm1, eax
mov eax, dword [ebp - 0x24]
sub eax, dword [ebp - 0x2c]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
lea eax, [ebp - 0x18]
cvtdq2ps xmm0, xmm0
push eax
movss dword [esi + 0x10], xmm1
movss dword [esi + 0x14], xmm0
xorps xmm0, xmm0
movlpd qword [ebp - 0x18], xmm0
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov edi, dword [ebp - 0x18]
mov ecx, edi
sub ecx, dword [ebx + 0x10]
mov esi, dword [ebp - 0x14]
mov edx, esi
sbb edx, dword [ebx + 0x14]
call fcn.1019eb70
mov edx, dword [ebx + 0x1c]
mov ecx, dword [ebx + 0x18]
cvtsd2ss xmm0, xmm0
movss dword [ebp - 8], xmm0
call fcn.1019eb70
movss xmm1, dword [ebp - 8]
cvtsd2ss xmm0, xmm0
mov eax, dword [ebp - 0x34]
divss xmm1, xmm0
movss dword [eax + 0x18], xmm1
mov dword [ebx + 0x10], edi
mov edi, dword [0x1039da5c]
mov dword [ebx + 0x14], esi
test edi, edi
je 0x100f4e03
mov esi, dword [edi + 0x6c]
jmp 0x100f4e05
xor esi, esi
mov eax, dword [esi]
mov dword [ebp - 8], eax
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov ecx, dword [ebp - 8]
cmp eax, ecx
jne 0x100f4f16
cmp byte [edi + 0x8f], 0
je 0x100f4e62
cvttss2si eax, dword [edi + 0x2b4]
mov dword [ebp - 0xc], eax
cvttss2si eax, dword [edi + 0x2b8]
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push ecx
call dword [sym.imp.USER32.dll_ClientToScreen]
test eax, eax
je 0x100f4e55
push dword [ebp - 8]
push dword [ebp - 0xc]
call dword [sym.imp.USER32.dll_SetCursorPos]
cmp byte [edi + 0x8f], 0
jne 0x100f4f16
cmp byte [esi + 8], 0
jne 0x100f4f16
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x100f4f16
lea eax, [ebp - 0x20]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x100f4f16
mov esi, dword [0x1039da5c]
xorps xmm0, xmm0
movlpd qword [ebp - 0x3c], xmm0
add esi, 0xd00
movd xmm0, dword [ebp - 0x20]
cvtdq2ps xmm0, xmm0
mov dword [ebp - 0x4c], 1
mov ecx, dword [esi]
mov edi, dword [esi + 4]
mov dword [ebp - 0x48], 1
movss dword [ebp - 0x44], xmm0
movd xmm0, dword [ebp - 0x1c]
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0x40], xmm0
cmp ecx, edi
jne 0x100f4ef9
inc ecx
test edi, edi
je 0x100f4ee7
mov eax, edi
cdq
sub eax, edx
sar eax, 1
add eax, edi
jmp 0x100f4eec
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.100d3ad0
mov eax, dword [esi]
movups xmm0, xmmword [ebp - 0x4c]
lea ecx, [eax + eax*2]
mov eax, dword [esi + 8]
movups xmmword [eax + ecx*8], xmm0
movq xmm0, qword [ebp - 0x3c]
movq qword [eax + ecx*8 + 0x10], xmm0
inc dword [esi]
mov eax, dword [0x1039da5c]
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
cmp byte [eax + 0x428], 0
je 0x100f4f4d
push 0xa0
call esi
shr eax, 0xf
test al, 1
jne 0x100f4f4d
mov ecx, dword [0x1039da5c]
push 0
push 0x210
lea ecx, [ecx + 8]
call fcn.100c0e70
mov eax, dword [0x1039da5c]
cmp byte [eax + 0x468], 0
je 0x100f4f7e
push 0xa1
call esi
shr eax, 0xf
test al, 1
jne 0x100f4f7e
mov ecx, dword [0x1039da5c]
push 0
push 0x214
lea ecx, [ecx + 8]
call fcn.100c0e70
mov eax, dword [0x1039da5c]
cmp byte [eax + 0x448], 0
je 0x100f4fac
push 0x5b
call esi
shr eax, 0xf
test al, 1
jne 0x100f4fac
mov ecx, dword [0x1039da5c]
push 0
push 0x212
lea ecx, [ecx + 8]
call fcn.100c0e70
mov eax, dword [0x1039da5c]
cmp byte [eax + 0x488], 0
je 0x100f4fda
push 0x5c
call esi
shr eax, 0xf
test al, 1
jne 0x100f4fda
mov ecx, dword [0x1039da5c]
push 0
push 0x216
lea ecx, [ecx + 8]
call fcn.100c0e70
mov eax, dword [ebp - 0x34]
cmp byte [eax + 0x58], 0
je 0x100f4fe8
or eax, 0xffffffff
jmp 0x100f4ff3
mov eax, dword [0x1039da5c]
mov eax, dword [eax + 0x16b8]
cmp dword [ebx + 0x20], eax
je 0x100f5000
mov dword [ebx + 0x20], eax
call fcn.100f4c10
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1012583c
mov esp, ebp
pop ebp
ret