Function at 0x4297c0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
push ebx
mov ebx, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
push esi
push edi
mov edi, dword [0x43c758]
test edi, edi
jne 0x4297f6
push 0xcae
push str.C:Users_adminDesktoposemberv2imguiimgui.cpp
push str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call ebx
mov edi, dword [0x43c758]
add esp, 0xc
mov eax, dword [edi + 0x98]
cmp dword [eax + 0x34], 0
jle 0x42980e
cmp dword [eax + 0x14], 0
jne 0x429822
cmp dword [eax + 0x18], 0
jne 0x429822
push 0xd9
push str.C:Users_adminDesktoposemberv2imguiimgui_impl_win32.cpp
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 + 0x28]
push eax
push dword [0x43c7d8]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x30]
sub eax, dword [esp + 0x28]
movd xmm1, eax
mov eax, dword [esp + 0x34]
sub eax, dword [esp + 0x2c]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
lea eax, [esp + 0x18]
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 + 0x18]
sub ecx, dword [0x43c7e0]
mov edx, dword [esp + 0x1c]
sbb edx, dword [0x43c7e4]
call fcn.0042faa0
mov edx, dword [0x43c7ec]
mov ecx, dword [0x43c7e8]
movss dword [esp + 0x10], xmm0
call fcn.0042faa0
movss xmm1, dword [esp + 0x10]
divss xmm1, xmm0
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x11
movss dword [edi + 0x18], xmm1
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov dword [0x43c7e0], eax
mov dword [0x43c7e4], 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 [0x43c758]
shr eax, 0xf
and al, 1
mov byte [edi + 0x103], 0
mov byte [edi + 0x102], al
test ecx, ecx
jne 0x429916
push 0xcae
push str.C:Users_adminDesktoposemberv2imguiimgui.cpp
push str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call ebx
mov ecx, dword [0x43c758]
add esp, 0xc
cmp byte [ecx + 0x35b], 0
lea esi, [ecx + 0xe8]
je 0x429958
cvttss2si eax, dword [esi]
mov dword [esp + 0x10], eax
cvttss2si eax, dword [ecx + 0xec]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x10]
push eax
push dword [0x43c7d8]
call dword [sym.imp.USER32.dll_ClientToScreen]
push dword [esp + 0x14]
push dword [esp + 0x14]
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 0x4299c4
mov ecx, dword [0x43c7d8]
cmp eax, ecx
je 0x429985
push ecx
push eax
call dword [sym.imp.USER32.dll_IsChild]
test eax, eax
je 0x4299c4
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x4299c4
lea eax, [esp + 0x20]
push eax
push dword [0x43c7d8]
call dword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x4299c4
movd xmm0, dword [esp + 0x20]
movd xmm1, dword [esp + 0x24]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
movss dword [esi], xmm0
movss dword [esi + 4], xmm1
cmp byte [edi + 0xb0], 0
je 0x4299d2
or eax, 0xffffffff
jmp 0x4299dd
mov eax, dword [0x43c758]
mov eax, dword [eax + 0x1e04]
cmp dword [0x43c244], eax
je 0x4299ef
mov dword [0x43c244], eax
call fcn.004293c0
call fcn.00429510
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret