Function at 0x10098130
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
mov eax, dword [0x10103040]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
push esi
push edi
mov ecx, 0x10175a17
call fcn.100b6430
mov edi, dword [0x1010713c]
mov ebx, dword [sym.imp.ucrtbased.dll__wassert]
test edi, edi
jne 0x1009817b
push 0xbe2
push 0x100c05b8
push str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___or_ImGui::SetCurrentContext____
call ebx
mov edi, dword [0x1010713c]
add esp, 0xc
mov eax, dword [edi + 0x94]
cmp dword [eax + 0x34], 0
jle 0x10098193
cmp dword [eax + 0x14], 0
jne 0x100981a7
cmp dword [eax + 0x18], 0
jne 0x100981a7
push 0xca
push 0x100f86b8
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 ebx
add esp, 0xc
lea eax, [esp + 0x18]
push eax
push dword [0x10169e88]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x20]
sub eax, dword [esp + 0x18]
movd xmm1, eax
mov eax, dword [esp + 0x24]
sub eax, dword [esp + 0x1c]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
lea eax, [esp + 0x30]
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 + 0x30]
sub ecx, dword [0x10169e90]
mov edx, dword [esp + 0x34]
sbb edx, dword [0x10169e94]
call fcn.100b69f0
mov edx, dword [0x10169e9c]
mov ecx, dword [0x10169e98]
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x28], xmm0
call fcn.100b69f0
movss xmm1, dword [esp + 0x28]
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 + 0x34]
mov ecx, dword [esp + 0x38]
mov dword [0x10169e90], eax
mov dword [0x10169e94], ecx
call esi
shr eax, 0xf
and al, 1
push 0x10
mov byte [edi + 0xf8], al
call esi
shr eax, 0xf
and al, 1
push 0x12
mov byte [edi + 0xf9], al
call esi
mov ecx, dword [0x1010713c]
shr eax, 0xf
and al, 1
mov byte [edi + 0xfb], 0
mov byte [edi + 0xfa], al
test ecx, ecx
jne 0x100982a3
push 0xbe2
push 0x100c05b8
push str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___or_ImGui::SetCurrentContext____
call ebx
mov ecx, dword [0x1010713c]
add esp, 0xc
cmp byte [ecx + 0x353], 0
lea esi, [ecx + 0xe0]
je 0x100982e5
cvttss2si eax, dword [esi]
mov dword [esp + 0x28], eax
cvttss2si eax, dword [ecx + 0xe4]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x28]
push eax
push dword [0x10169e88]
call dword [sym.imp.USER32.dll_ClientToScreen]
push dword [esp + 0x2c]
push dword [esp + 0x2c]
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 0x10098351
mov ecx, dword [0x10169e88]
cmp eax, ecx
je 0x10098312
push ecx
push eax
call dword [sym.imp.USER32.dll_IsChild]
test eax, eax
je 0x10098351
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x10098351
lea eax, [esp + 0x10]
push eax
push dword [0x10169e88]
call dword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x10098351
movd xmm0, dword [esp + 0x10]
movd xmm1, dword [esp + 0x14]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
movss dword [esi], xmm0
movss dword [esi + 4], xmm1
cmp byte [edi + 0xac], 0
mov eax, dword [0x1010713c]
je 0x10098364
or ecx, 0xffffffff
jmp 0x1009836a
mov ecx, dword [eax + 0x1c74]
cmp dword [0x10103318], ecx
je 0x1009844f
mov dword [0x10103318], ecx
test eax, eax
jne 0x10098399
push 0xbe2
push 0x100c05b8
push str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___or_ImGui::SetCurrentContext____
call ebx
mov eax, dword [0x1010713c]
add esp, 0xc
test byte [eax + 8], 0x20
jne 0x1009844f
mov ecx, dword [eax + 0x1c74]
cmp ecx, 0xffffffff
je 0x10098447
cmp byte [eax + 0xac], 0
jne 0x10098447
mov eax, 0x7f00
cmp ecx, 7
ja case.0x100983c9.0
jmp dword [ecx*4 + 0x10098468]
mov eax, 0x7f01
push eax
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
push eax
jmp 0x10098449
mov eax, 0x7f86
push eax
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
push eax
jmp 0x10098449
mov eax, 0x7f84
push eax
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
push eax
jmp 0x10098449
mov eax, 0x7f85
push eax
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
push eax
jmp 0x10098449
mov eax, 0x7f83
push eax
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
push eax
jmp 0x10098449
mov eax, 0x7f82
push eax
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
push eax
jmp 0x10098449
mov eax, 0x7f89
push eax
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
push eax
jmp 0x10098449
push 0
call dword [sym.imp.USER32.dll_SetCursor]
call fcn.10097e50
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100b3fd0
mov esp, ebp
pop ebp
ret