Function at 0x1008a580
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x30
mov eax, dword [0x101911c0]
xor eax, esp
mov dword [esp + 0x2c], eax
push esi
push edi
mov edi, dword [0x101959ec]
test edi, edi
jne 0x1008a5bd
push 0xcf3
push 0x10158a1c
push str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call fcn.100e7dd8
mov edi, dword [0x101959ec]
add esp, 0xc
mov eax, dword [edi + 0x98]
cmp dword [eax + 0x34], 0
jle 0x1008a5d5
cmp dword [eax + 0x14], 0
jne 0x1008a5ec
cmp dword [eax + 0x18], 0
jne 0x1008a5ec
push 0xd9
push 0x10168000
push str.io.Fonts__IsBuilt_____Font_atlas_not_built__It_is_generally_built_by_the_renderer_back_end._Missing_call_to_renderer__NewFrame___function__e.g._ImGui_ImplOpenGL3_NewFrame__._
call fcn.100e7dd8
add esp, 0xc
lea eax, [esp + 0x10]
push eax
push dword [0x10196504]
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 [edi + 0x10], xmm1
movss dword [edi + 0x14], xmm0
call dword [sym.imp.KeRnEl32.DlL_QueryPerformanceCounter]
mov ecx, dword [esp + 0x28]
sub ecx, dword [0x10196508]
mov edx, dword [esp + 0x2c]
sbb edx, dword [0x1019650c]
call fcn.10106a30
mov edx, dword [0x10196514]
mov ecx, dword [0x10196510]
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x20], xmm0
call fcn.10106a30
movss xmm1, dword [esp + 0x20]
cvtsd2ss xmm0, xmm0
mov esi, dword [sym.imp.user32.dLl_GetKeyState]
push 0x11
divss xmm1, xmm0
movss dword [edi + 0x18], xmm1
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov dword [0x10196508], eax
mov dword [0x1019650c], ecx
call esi
shr eax, 0xf
and al, 1
push 0x10
mov byte [edi + 0x100], al
call esi
shr eax, 0xf
and al, 1
push 0x12
mov byte [edi + 0x101], al
call esi
mov ecx, dword [0x101959ec]
shr eax, 0xf
and al, 1
mov byte [edi + 0x103], 0
mov byte [edi + 0x102], al
test ecx, ecx
jne 0x1008a6eb
push 0xcf3
push 0x10158a1c
push str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call fcn.100e7dd8
mov ecx, dword [0x101959ec]
add esp, 0xc
cmp byte [ecx + 0x35b], 0
lea esi, [ecx + 0xe8]
je 0x1008a72d
cvttss2si eax, dword [esi]
mov dword [esp + 0x20], eax
cvttss2si eax, dword [ecx + 0xec]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x20]
push eax
push dword [0x10196504]
call dword [sym.imp.user32.dLl_ClientToScreen]
push dword [esp + 0x24]
push dword [esp + 0x24]
call dword [sym.imp.user32.dLl_SetCursorPos]
mov dword [esi], 0xff7fffff
mov dword [esi + 4], 0xff7fffff
call dword [sym.imp.user32.dLl_GetForegroundWindow]
test eax, eax
je 0x1008a799
mov ecx, dword [0x10196504]
cmp eax, ecx
je 0x1008a75a
push ecx
push eax
call dword [sym.imp.user32.dLl_IsChild]
test eax, eax
je 0x1008a799
lea eax, [esp + 8]
push eax
call dword [sym.imp.user32.dLl_GetCursorPos]
test eax, eax
je 0x1008a799
lea eax, [esp + 8]
push eax
push dword [0x10196504]
call dword [sym.imp.user32.dLl_ScreenToClient]
test eax, eax
je 0x1008a799
movd xmm0, dword [esp + 8]
movd xmm1, dword [esp + 0xc]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
movss dword [esi], xmm0
movss dword [esi + 4], xmm1
cmp byte [edi + 0xb0], 0
je 0x1008a7a7
or eax, 0xffffffff
jmp 0x1008a7b2
mov eax, dword [0x101959ec]
mov eax, dword [eax + 0x1e0c]
cmp dword [0x10191e84], eax
je 0x1008a7c4
mov dword [0x10191e84], eax
call fcn.1008a430
mov ecx, dword [esp + 0x34]
pop edi
pop esi
xor ecx, esp
call fcn.100dd01c
mov esp, ebp
pop ebp
ret