Function at 0x1002c4c0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x10075368]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [0x1007692c]
push edi
test esi, esi
jne 0x1002c4fe
push 0xeaf
push 0x10064ba8
push str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call fcn.100491c7
mov esi, dword [0x1007692c]
add esp, 0xc
test esi, esi
je 0x1002c507
mov ebx, dword [esi + 0x6c]
test ebx, ebx
jne 0x1002c520
jmp 0x1002c509
xor ebx, ebx
push 0x14f
push str.C:UsersNicuDesktopcheatcheatimguiimgui_impl_win32.cpp
push str.bd___0___Did_you_call_ImGui_ImplWin32_Init____
call fcn.100491c7
add esp, 0xc
lea eax, [ebp - 0x14]
xorps xmm0, xmm0
push eax
movups xmmword [ebp - 0x14], xmm0
push dword [ebx]
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
lea eax, [ebp - 0x28]
cvtdq2ps xmm0, xmm0
push eax
movss dword [esi + 0x10], xmm1
movss dword [esi + 0x14], xmm0
xorps xmm0, xmm0
movlpd qword [ebp - 0x28], xmm0
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ecx, dword [ebp - 0x28]
sub ecx, dword [ebx + 0x10]
mov edx, dword [ebp - 0x24]
sbb edx, dword [ebx + 0x14]
call fcn.1005a720
mov edx, dword [ebx + 0x1c]
mov ecx, dword [ebx + 0x18]
cvtsd2ss xmm0, xmm0
movss dword [ebp - 0x18], xmm0
call fcn.1005a720
movss xmm1, dword [ebp - 0x18]
cvtsd2ss xmm0, xmm0
divss xmm1, xmm0
movss dword [esi + 0x18], xmm1
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
mov dword [ebx + 0x10], eax
mov eax, dword [0x1007692c]
mov dword [ebx + 0x14], ecx
test eax, eax
je 0x1002c5ba
mov edi, dword [eax + 0x6c]
jmp 0x1002c5d8
push 0xeaf
push 0x10064ba8
push str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
xor edi, edi
call fcn.100491c7
mov eax, dword [0x1007692c]
add esp, 0xc
add eax, 8
cmp dword [edi], 0
mov dword [ebp - 0x18], eax
jne 0x1002c5fa
push 0xfb
push str.C:UsersNicuDesktopcheatcheatimguiimgui_impl_win32.cpp
push str.bd__hWnd___0
call fcn.100491c7
add esp, 0xc
mov eax, dword [edi]
mov dword [ebp - 0x1c], eax
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov edx, dword [ebp - 0x1c]
cmp eax, edx
jne 0x1002c695
mov ecx, dword [ebp - 0x18]
cmp byte [ecx + 0x87], 0
je 0x1002c659
cvttss2si eax, dword [ecx + 0xd48]
mov dword [ebp - 0x20], eax
cvttss2si eax, dword [ecx + 0xd4c]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x20]
push eax
push edx
call dword [sym.imp.USER32.dll_ClientToScreen]
test eax, eax
je 0x1002c64d
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
call dword [sym.imp.USER32.dll_SetCursorPos]
mov ecx, dword [ebp - 0x18]
cmp byte [ecx + 0x87], 0
jne 0x1002c695
cmp byte [edi + 8], 0
jne 0x1002c695
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x1002c695
lea eax, [ebp - 0x30]
push eax
push dword [edi]
call dword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x1002c695
movd xmm2, dword [ebp - 0x2c]
movd xmm1, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x18]
cvtdq2ps xmm2, xmm2
cvtdq2ps xmm1, xmm1
call fcn.10007530
mov eax, dword [0x1007692c]
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
cmp byte [eax + 0x2ec0], 0
je 0x1002c6ca
push 0xa0
call edi
shr eax, 0xf
test al, 1
jne 0x1002c6ca
push ecx
push 0xa0
mov ecx, 0x210
call fcn.1002be50
add esp, 8
mov eax, dword [0x1007692c]
cmp byte [eax + 0x2f00], 0
je 0x1002c6f9
push 0xa1
call edi
shr eax, 0xf
test al, 1
jne 0x1002c6f9
push ecx
push 0xa1
mov ecx, 0x214
call fcn.1002be50
add esp, 8
mov eax, dword [0x1007692c]
cmp byte [eax + 0x2ee0], 0
je 0x1002c722
push 0x5b
call edi
shr eax, 0xf
test al, 1
jne 0x1002c722
push ecx
push 0x5b
mov ecx, 0x212
call fcn.1002be50
add esp, 8
mov eax, dword [0x1007692c]
cmp byte [eax + 0x2f20], 0
je 0x1002c74b
push 0x5c
call edi
shr eax, 0xf
test al, 1
jne 0x1002c74b
push ecx
push 0x5c
mov ecx, 0x216
call fcn.1002be50
add esp, 8
cmp byte [esi + 0x58], 0
je 0x1002c756
or eax, 0xffffffff
jmp 0x1002c761
mov eax, dword [0x1007692c]
mov eax, dword [eax + 0x4170]
cmp dword [ebx + 0x20], eax
je 0x1002c76e
mov dword [ebx + 0x20], eax
call fcn.1002bd00
call fcn.1002bee0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100398ff
mov esp, ebp
pop ebp
ret