Function at 0x48cec0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x68f500]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [0x694270]
mov dword [ebp - 0x34], esi
push edi
test esi, esi
je 0x48cee5
mov ebx, dword [esi + 0x70]
jmp 0x48cee7
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.005ac030
mov edx, dword [ebx + 0x1c]
mov ecx, dword [ebx + 0x18]
cvtsd2ss xmm0, xmm0
movss dword [ebp - 8], xmm0
call fcn.005ac030
movss xmm1, dword [ebp - 8]
cvtsd2ss xmm0, xmm0
mov eax, dword [ebp - 0x34]
divss xmm1, xmm0
movss dword [eax + 0x18], xmm1
mov dword [ebx + 0x14], esi
mov esi, dword [0x694270]
mov dword [ebx + 0x10], edi
test esi, esi
je 0x48cf83
mov edi, dword [esi + 0x70]
jmp 0x48cf85
xor edi, edi
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov ecx, dword [edi]
cmp eax, ecx
jne 0x48d010
cmp byte [esi + 0x97], 0
je 0x48cfd4
cvttss2si eax, dword [esi + 0xc0]
mov dword [ebp - 0xc], eax
cvttss2si eax, dword [esi + 0xc4]
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push ecx
call dword [sym.imp.USER32.dll_ClientToScreen]
test eax, eax
je 0x48cfcb
push dword [ebp - 8]
push dword [ebp - 0xc]
call dword [sym.imp.USER32.dll_SetCursorPos]
cmp byte [esi + 0x97], 0
jne 0x48d010
cmp dword [edi + 8], 0
jne 0x48d010
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x48d010
lea eax, [ebp - 0x20]
push eax
push dword [edi]
call dword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x48d010
movd xmm2, dword [ebp - 0x1c]
lea ecx, [esi + 8]
movd xmm1, dword [ebp - 0x20]
cvtdq2ps xmm2, xmm2
cvtdq2ps xmm1, xmm1
call fcn.0046bc70
mov eax, dword [0x694270]
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
cmp byte [eax + 0x1e4], 0
je 0x48d05c
cmp byte [eax + 0x12b0], 0
jne 0x48d05c
push 0xa0
call esi
shr eax, 0xf
test al, 1
jne 0x48d05c
mov ecx, dword [0x694270]
add ecx, 8
cmp byte [ecx + 0xa69], 0
je 0x48d05c
push 0
push 0x210
xorps xmm3, xmm3
call fcn.0046bb60
mov eax, dword [0x694270]
cmp byte [eax + 0x224], 0
je 0x48d0a2
cmp byte [eax + 0x12e0], 0
jne 0x48d0a2
push 0xa1
call esi
shr eax, 0xf
test al, 1
jne 0x48d0a2
mov ecx, dword [0x694270]
add ecx, 8
cmp byte [ecx + 0xa69], 0
je 0x48d0a2
push 0
push 0x214
xorps xmm3, xmm3
call fcn.0046bb60
mov eax, dword [0x694270]
cmp byte [eax + 0x204], 0
je 0x48d0e5
cmp byte [eax + 0x12c8], 0
jne 0x48d0e5
push 0x5b
call esi
shr eax, 0xf
test al, 1
jne 0x48d0e5
mov ecx, dword [0x694270]
add ecx, 8
cmp byte [ecx + 0xa69], 0
je 0x48d0e5
push 0
push 0x212
xorps xmm3, xmm3
call fcn.0046bb60
mov eax, dword [0x694270]
cmp byte [eax + 0x244], 0
je 0x48d128
cmp byte [eax + 0x12f8], 0
jne 0x48d128
push 0x5c
call esi
shr eax, 0xf
test al, 1
jne 0x48d128
mov ecx, dword [0x694270]
add ecx, 8
cmp byte [ecx + 0xa69], 0
je 0x48d128
push 0
push 0x216
xorps xmm3, xmm3
call fcn.0046bb60
mov eax, dword [ebp - 0x34]
cmp byte [eax + 0x44], 0
je 0x48d136
or eax, 0xffffffff
jmp 0x48d141
mov eax, dword [0x694270]
mov eax, dword [eax + 0x1dc4]
cmp dword [ebx + 0x20], eax
je 0x48d14e
mov dword [ebx + 0x20], eax
call fcn.0048c720
call fcn.0048c850
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005ab3d6
mov esp, ebp
pop ebp
ret