Function at 0x1002a340
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
mov eax, dword [0x100cd008]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
mov ebx, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
push esi
push edi
mov edi, dword [0x10496788]
test edi, edi
jne 0x1002a381
push 0xd69
push str.D:2022UNITY_CHEAT_2.2imgui_dockingimgui.cpp
push 0x100bddf0
call ebx
mov edi, dword [0x10496788]
add esp, 0xc
mov eax, dword [edi + 0x98]
cmp dword [eax + 0x34], 0
jle 0x1002a399
cmp dword [eax + 0x14], 0
jne 0x1002a3ad
cmp dword [eax + 0x18], 0
jne 0x1002a3ad
push 0x10c
push str.D:2022UNITY_CHEAT_2.2imgui_dockingimgui_impl_win32.cpp
push str.io.Fonts__IsBuilt_____Font_atlas_not_built__It_is_generally_built_by_the_renderer_backend._Missing_call_to_renderer__NewFrame___function__e.g._ImGui_ImplOpenGL3_NewFrame__._
call ebx
add esp, 0xc
lea eax, [esp + 0x18]
xorps xmm0, xmm0
push eax
push dword [0x10497160]
movups xmmword [esp + 0x20], xmm0
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
xorps xmm0, xmm0
movlpd qword [esp + 0x34], xmm0
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ecx, dword [esp + 0x30]
sub ecx, dword [0x10497168]
mov edx, dword [esp + 0x34]
sbb edx, dword [0x1049716c]
call fcn.1007d9e0
mov edx, dword [0x10497174]
mov ecx, dword [0x10497170]
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x28], xmm0
call fcn.1007d9e0
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 [0x10497168], eax
mov dword [0x1049716c], ecx
call esi
shr eax, 0xf
and al, 1
push 0x10
mov byte [edi + 0xfc], al
call esi
shr eax, 0xf
and al, 1
push 0x12
mov byte [edi + 0xfd], al
call esi
mov esi, dword [0x10496788]
shr eax, 0xf
and al, 1
mov byte [edi + 0xff], 0
mov byte [edi + 0xfe], al
test esi, esi
jne 0x1002a4ba
push 0xd69
push str.D:2022UNITY_CHEAT_2.2imgui_dockingimgui.cpp
push 0x100bddf0
call ebx
mov esi, dword [0x10496788]
add esp, 0xc
mov ecx, dword [0x10497160]
test ecx, ecx
jne 0x1002a4de
push 0xc5
push str.D:2022UNITY_CHEAT_2.2imgui_dockingimgui_impl_win32.cpp
push str.g_hWnd___0
call ebx
mov ecx, dword [0x10497160]
add esp, 0xc
cmp byte [esi + 0x357], 0
je 0x1002a51d
cvttss2si eax, dword [esi + 0xe4]
mov dword [esp + 0x28], eax
cvttss2si eax, dword [esi + 0xe8]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x28]
push eax
push ecx
call dword [sym.imp.USER32.dll_ClientToScreen]
test eax, eax
je 0x1002a51d
push dword [esp + 0x2c]
push dword [esp + 0x2c]
call dword [sym.imp.USER32.dll_SetCursorPos]
mov dword [esi + 0xe4], 0xff7fffff
mov dword [esi + 0xe8], 0xff7fffff
call dword [sym.imp.USER32.dll_GetForegroundWindow]
test eax, eax
je 0x1002a597
mov ecx, dword [0x10497160]
cmp eax, ecx
je 0x1002a551
push ecx
push eax
call dword [sym.imp.USER32.dll_IsChild]
test eax, eax
je 0x1002a597
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x1002a597
lea eax, [esp + 0x10]
push eax
push dword [0x10497160]
call dword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x1002a597
movd xmm0, dword [esp + 0x10]
movd xmm1, dword [esp + 0x14]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
movss dword [esi + 0xe4], xmm0
movss dword [esi + 0xe8], xmm1
cmp byte [edi + 0xb0], 0
je 0x1002a5a5
or eax, 0xffffffff
jmp 0x1002a5b0
mov eax, dword [0x10496788]
mov eax, dword [eax + 0x1e40]
cmp dword [0x10495cd0], eax
je 0x1002a5c2
mov dword [0x10495cd0], eax
call fcn.10029f10
call fcn.1002a060
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1007c3f4
mov esp, ebp
pop ebp
ret