Function at 0x10083720
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x34
mov eax, dword [0x10200e40]
xor eax, esp
mov dword [esp + 0x2c], eax
push ebx
push ebp
mov ebp, dword [0x1020f198]
push esi
push edi
test ebp, ebp
je 0x10083741
mov ebx, dword [ebp + 0x74]
jmp 0x10083743
xor ebx, ebx
lea eax, [esp + 0x10]
xorps xmm0, xmm0
push eax
movups xmmword [esp + 0x14], xmm0
push dword [ebx]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
sub eax, dword [esp + 0x10]
movd xmm1, eax
mov eax, dword [esp + 0x1c]
sub eax, dword [esp + 0x14]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
lea eax, [esp + 0x28]
cvtdq2ps xmm0, xmm0
push eax
movss dword [ebp + 0x10], xmm1
movss dword [ebp + 0x14], xmm0
xorps xmm0, xmm0
movlpd qword [esp + 0x2c], xmm0
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov edi, dword [esp + 0x28]
mov ecx, edi
sub ecx, dword [ebx + 0x10]
mov esi, dword [esp + 0x2c]
mov edx, esi
sbb edx, dword [ebx + 0x14]
call fcn.1010b020
mov edx, dword [ebx + 0x1c]
mov ecx, dword [ebx + 0x18]
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x20], xmm0
call fcn.1010b020
movss xmm1, dword [esp + 0x20]
cvtsd2ss xmm0, xmm0
divss xmm1, xmm0
movss dword [ebp + 0x18], xmm1
mov dword [ebx + 0x14], esi
mov esi, dword [0x1020f198]
mov dword [ebx + 0x10], edi
test esi, esi
je 0x100837e8
mov edi, dword [esi + 0x74]
jmp 0x100837ea
xor edi, edi
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov ecx, dword [edi]
cmp eax, ecx
jne 0x10083882
cmp byte [esi + 0x95], 0
je 0x10083842
cvttss2si eax, dword [esi + 0xe00]
mov dword [esp + 0x20], eax
cvttss2si eax, dword [esi + 0xe04]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x20]
push eax
push ecx
call dword [sym.imp.USER32.dll_ClientToScreen]
test eax, eax
je 0x10083839
push dword [esp + 0x24]
push dword [esp + 0x24]
call dword [sym.imp.USER32.dll_SetCursorPos]
cmp byte [esi + 0x95], 0
jne 0x10083882
cmp dword [edi + 8], 0
jne 0x10083882
lea eax, [esp + 0x34]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x10083882
lea eax, [esp + 0x34]
push eax
push dword [edi]
call dword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x10083882
movd xmm2, dword [esp + 0x38]
lea ecx, [esi + 8]
movd xmm1, dword [esp + 0x34]
cvtdq2ps xmm2, xmm2
cvtdq2ps xmm1, xmm1
call fcn.100336b0
mov ecx, dword [0x1020f198]
mov edx, 0x210
call fcn.100407d0
cmp byte [eax], 0
je 0x100838e8
mov edx, 0x210
call fcn.1004ace0
cmp byte [eax + 8], 0
jne 0x100838e8
push 0xa0
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x100838e2
mov esi, dword [0x1020f198]
push 0
push 0x210
lea ecx, [esi + 8]
call fcn.10033580
mov dword [esi + 0x338], 0x210
mov dword [esi + 0x8f8], 0xa0
mov ecx, dword [0x1020f198]
mov edx, 0x214
call fcn.100407d0
cmp byte [eax], 0
je 0x10083948
mov edx, 0x214
call fcn.1004ace0
cmp byte [eax + 8], 0
jne 0x10083948
push 0xa1
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x10083942
mov esi, dword [0x1020f198]
push 0
push 0x214
lea ecx, [esi + 8]
call fcn.10033580
mov dword [esi + 0x33c], 0x214
mov dword [esi + 0x908], 0xa1
mov ecx, dword [0x1020f198]
mov edx, 0x212
call fcn.100407d0
cmp byte [eax], 0
je 0x100839a5
mov edx, 0x212
call fcn.1004ace0
cmp byte [eax + 8], 0
jne 0x100839a5
push 0x5b
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x1008399f
mov esi, dword [0x1020f198]
push 0
push 0x212
lea ecx, [esi + 8]
call fcn.10033580
mov dword [esi + 0x224], 0x212
mov dword [esi + 0x900], 0x5b
mov ecx, dword [0x1020f198]
mov edx, 0x216
call fcn.100407d0
cmp byte [eax], 0
je 0x10083a02
mov edx, 0x216
call fcn.1004ace0
cmp byte [eax + 8], 0
jne 0x10083a02
push 0x5c
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x100839fc
mov esi, dword [0x1020f198]
push 0
push 0x216
lea ecx, [esi + 8]
call fcn.10033580
mov dword [esi + 0x228], 0x216
mov dword [esi + 0x910], 0x5c
mov ecx, dword [0x1020f198]
cmp byte [ebp + 0x44], 0
je 0x10083a0d
or eax, 0xffffffff
jmp 0x10083a13
mov eax, dword [ecx + 0x4d84]
cmp dword [ebx + 0x20], eax
je 0x10083a20
mov dword [ebx + 0x20], eax
call fcn.100835f0
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10109e3a
add esp, 0x34
ret