Function at 0x100047a0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x10129180]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
call fcn.10019680
mov ebx, eax
mov dword [ebp - 0x38], ebx
call fcn.100193a0
test eax, eax
je 0x100047d0
call fcn.10019680
mov edi, dword [eax + 0x6c]
jmp 0x100047d2
xor edi, edi
lea eax, [ebp - 0x14]
xorps xmm0, xmm0
push eax
movups xmmword [ebp - 0x14], xmm0
push dword [edi]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
movd xmm1, eax
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ebx + 8], xmm1
movss dword [ebx + 0xc], xmm0
cmp byte [edi + 0x26], 0
je 0x10004814
call fcn.10005300
lea eax, [ebp - 0x2c]
xorps xmm0, xmm0
push eax
movlpd qword [ebp - 0x2c], xmm0
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ecx, dword [ebp - 0x2c]
sub ecx, dword [edi + 0x10]
mov edx, dword [ebp - 0x28]
sbb edx, dword [edi + 0x14]
call fcn.100746f0
mov edx, dword [edi + 0x1c]
mov ecx, dword [edi + 0x18]
cvtsd2ss xmm0, xmm0
movss dword [ebp - 0x1c], xmm0
call fcn.100746f0
movss xmm1, dword [ebp - 0x1c]
cvtsd2ss xmm0, xmm0
divss xmm1, xmm0
movss dword [ebx + 0x10], xmm1
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x28]
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], ecx
call fcn.100193a0
test eax, eax
je 0x1000487f
call fcn.10019680
mov eax, dword [eax + 0x6c]
mov dword [ebp - 0x1c], eax
jmp 0x10004886
mov dword [ebp - 0x1c], 0
call fcn.10019680
mov esi, eax
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov dword [ebp - 0x18], eax
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov ebx, eax
test ebx, ebx
je 0x10004976
mov ecx, dword [ebp - 0x1c]
mov ecx, dword [ecx]
cmp ebx, ecx
je 0x100048d0
push ecx
push ebx
call dword [sym.imp.USER32.dll_IsChild]
test eax, eax
jne 0x100048d0
push ebx
call fcn.10018d30
add esp, 4
test eax, eax
je 0x10004976
cmp byte [esi + 0x8f], 0
je 0x10004919
test dword [esi], 0x400
cvttss2si eax, dword [esi + 0xd50]
cvttss2si ecx, dword [esi + 0xd54]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], ecx
jne 0x10004908
lea eax, [ebp - 0x24]
push eax
push ebx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x24]
push ecx
push eax
call dword [sym.imp.USER32.dll_SetCursorPos]
cmp byte [esi + 0x8f], 0
jne 0x10004976
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
cmp byte [eax + 8], 0
jne 0x10004979
test ecx, ecx
je 0x10004979
test dword [esi], 0x400
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], edx
jne 0x1000494f
lea ecx, [ebp - 0x24]
push ecx
push dword [eax]
call dword [sym.imp.USER32.dll_ScreenToClient]
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
movd xmm0, edx
sub esp, 8
cvtdq2ps xmm0, xmm0
movss dword [esp + 4], xmm0
movd xmm0, ecx
mov ecx, esi
cvtdq2ps xmm0, xmm0
movss dword [esp], xmm0
call fcn.10009a80
xor ebx, ebx
jmp 0x1000497f
mov ecx, dword [ebp - 0x18]
xor ebx, ebx
test ecx, ecx
je 0x1000499e
push dword [ebp - 0x30]
push dword [ebp - 0x34]
call dword [sym.imp.USER32.dll_WindowFromPoint]
test eax, eax
je 0x1000499e
push eax
call fcn.10018d30
add esp, 4
test eax, eax
je 0x1000499e
mov ebx, dword [eax]
push ebx
mov ecx, esi
call fcn.10009ae0
push 0x210
call fcn.1001afe0
mov ebx, dword [sym.imp.USER32.dll_GetKeyState]
add esp, 4
test al, al
je 0x100049f5
push 0xa0
call ebx
shr eax, 0xf
test al, 1
jne 0x100049f5
call fcn.10019680
mov esi, eax
push 0
push 0x210
mov ecx, esi
call fcn.100098c0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xa0
push 0x210
mov ecx, esi
call fcn.10024d80
push 0x214
call fcn.1001afe0
add esp, 4
test al, al
je 0x10004a3e
push 0xa1
call ebx
shr eax, 0xf
test al, 1
jne 0x10004a3e
call fcn.10019680
mov esi, eax
push 0
push 0x214
mov ecx, esi
call fcn.100098c0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xa1
push 0x214
mov ecx, esi
call fcn.10024d80
push 0x212
call fcn.1001afe0
add esp, 4
test al, al
je 0x10004a81
push 0x5b
call ebx
shr eax, 0xf
test al, 1
jne 0x10004a81
call fcn.10019680
mov esi, eax
push 0
push 0x212
mov ecx, esi
call fcn.100098c0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0x5b
push 0x212
mov ecx, esi
call fcn.10024d80
push 0x216
call fcn.1001afe0
add esp, 4
test al, al
je 0x10004ac4
push 0x5c
call ebx
shr eax, 0xf
test al, 1
jne 0x10004ac4
call fcn.10019680
mov esi, eax
push 0
push 0x216
mov ecx, esi
call fcn.100098c0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0x5c
push 0x216
mov ecx, esi
call fcn.10024d80
mov eax, dword [ebp - 0x38]
cmp byte [eax + 0x58], 0
je 0x10004ad2
or eax, 0xffffffff
jmp 0x10004ad7
call fcn.100197b0
cmp dword [edi + 0x20], eax
je 0x10004ae4
mov dword [edi + 0x20], eax
call fcn.10005560
call fcn.10004e00
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10074548
mov esp, ebp
pop ebp
ret