Function at 0x439410
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x455040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [0x4883e0]
push esi
push edi
mov edi, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
test ebx, ebx
jne 0x43944d
push 0xda0
push str.C:Usersp6280DesktopImGui_Loader_Base_masterimguiimgui.cpp
push str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call edi
mov ebx, dword [0x4883e0]
add esp, 0xc
mov eax, dword [ebx + 0x98]
cmp dword [eax + 0x34], 0
jle 0x439465
cmp dword [eax + 0x14], 0
jne 0x439479
cmp dword [eax + 0x18], 0
jne 0x439479
push 0x15e
push str.C:Usersp6280DesktopImGui_Loader_Base_masterimguiimgui_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 edi
add esp, 0xc
lea eax, [ebp - 0x30]
xorps xmm0, xmm0
push eax
push dword [0x488464]
movups xmmword [ebp - 0x30], xmm0
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0x28]
sub eax, dword [ebp - 0x30]
movd xmm1, eax
mov eax, dword [ebp - 0x24]
sub eax, dword [ebp - 0x2c]
cmp byte [0x487c85], 0
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ebx + 0x10], xmm1
movss dword [ebx + 0x14], xmm0
je 0x439525
mov eax, dword [0x4883e0]
test eax, eax
jne 0x4394df
push 0xda6
push str.C:Usersp6280DesktopImGui_Loader_Base_masterimguiimgui.cpp
push str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___or_ImGui::SetCurrentContext____
call edi
mov eax, dword [0x4883e0]
add esp, 0xc
mov ecx, dword [eax + 0x1584]
lea esi, [eax + 0x1580]
test ecx, ecx
jns 0x439507
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.00426520
push 0
push 0x4392c0
push 0
push 0
mov dword [esi], 0
call dword [sym.imp.USER32.dll_EnumDisplayMonitors]
mov byte [0x487c85], 0
lea eax, [ebp - 0x10]
xorps xmm0, xmm0
push eax
movlpd qword [ebp - 0x10], xmm0
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ecx, dword [ebp - 0x10]
sub ecx, dword [0x488468]
mov edx, dword [ebp - 0xc]
sbb edx, dword [0x48846c]
call fcn.00445430
mov edx, dword [0x488474]
mov ecx, dword [0x488470]
cvtsd2ss xmm0, xmm0
movss dword [ebp - 0x1c], xmm0
call fcn.00445430
movss xmm1, dword [ebp - 0x1c]
cvtsd2ss xmm0, xmm0
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x11
divss xmm1, xmm0
movss dword [ebx + 0x18], xmm1
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword [0x488468], eax
mov dword [0x48846c], ecx
call esi
shr eax, 0xf
and al, 1
push 0x10
mov byte [ebx + 0x100], al
call esi
shr eax, 0xf
and al, 1
push 0x12
mov byte [ebx + 0x101], al
call esi
mov esi, dword [0x4883e0]
shr eax, 0xf
and al, 1
mov byte [ebx + 0x103], 0
mov byte [ebx + 0x102], al
test esi, esi
jne 0x4395e9
push 0xda0
push str.C:Usersp6280DesktopImGui_Loader_Base_masterimguiimgui.cpp
push str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call edi
mov esi, dword [0x4883e0]
add esp, 0xc
mov eax, dword [0x488464]
test eax, eax
jne 0x43960b
push 0xd8
push str.C:Usersp6280DesktopImGui_Loader_Base_masterimguiimgui_impl_win32.cpp
push str.g_hWnd___0
call edi
mov eax, dword [0x488464]
add esp, 0xc
cmp byte [esi + 0x35b], 0
je 0x43964c
test dword [esi + 8], 0x400
cvttss2si ecx, dword [esi + 0xe4]
cvttss2si edx, dword [esi + 0xe8]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], edx
jne 0x439644
lea ecx, [ebp - 0x18]
push ecx
push eax
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
push edx
push ecx
call dword [sym.imp.USER32.dll_SetCursorPos]
lea eax, [ebp - 0x20]
mov dword [esi + 0xe4], 0xff7fffff
push eax
mov dword [esi + 0xe8], 0xff7fffff
mov dword [esi + 0xfc], 0
call dword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x439723
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov edi, eax
test edi, edi
je 0x4396fa
push dword [0x488464]
push edi
call dword [sym.imp.USER32.dll_IsChild]
test eax, eax
mov eax, dword [0x488464]
cmovne edi, eax
test dword [esi + 8], 0x400
je 0x4396bf
mov ecx, edi
call fcn.00419b10
test eax, eax
je 0x4396fa
movd xmm0, dword [ebp - 0x20]
movd xmm1, dword [ebp - 0x1c]
jmp 0x4396e4
cmp edi, eax
jne 0x4396fa
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
push edi
mov dword [ebp - 0x14], ecx
call dword [sym.imp.USER32.dll_ScreenToClient]
movd xmm0, dword [ebp - 0x18]
movd xmm1, dword [ebp - 0x14]
cvtdq2ps xmm1, xmm1
cvtdq2ps xmm0, xmm0
movss dword [esi + 0xe8], xmm1
movss dword [esi + 0xe4], xmm0
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
call dword [sym.imp.USER32.dll_WindowFromPoint]
test eax, eax
je 0x439723
mov ecx, eax
call fcn.00419b10
test eax, eax
je 0x439723
test byte [eax + 4], 0x80
jne 0x439723
mov eax, dword [eax]
mov dword [esi + 0xfc], eax
cmp byte [ebx + 0xb7], 0
je 0x439731
or eax, 0xffffffff
jmp 0x43973c
mov eax, dword [0x4883e0]
mov eax, dword [eax + 0x1f58]
cmp dword [0x487e38], eax
je 0x43974e
mov dword [0x487e38], eax
call fcn.00438e90
call fcn.00438fe0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004444ab
mov esp, ebp
pop ebp
ret