Function at 0x439910
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 [0x488420]
push esi
push edi
mov edi, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
test ebx, ebx
jne 0x43994d
push 0xda0
push 0x4465f0
push str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call edi
mov ebx, dword [0x488420]
add esp, 0xc
mov eax, dword [ebx + 0x98]
cmp dword [eax + 0x34], 0
jle 0x439965
cmp dword [eax + 0x14], 0
jne 0x439979
cmp dword [eax + 0x18], 0
jne 0x439979
push 0x15e
push 0x451e38
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 [0x4884a4]
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 0x439a25
mov eax, dword [0x488420]
test eax, eax
jne 0x4399df
push 0xda6
push 0x4465f0
push str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___or_ImGui::SetCurrentContext____
call edi
mov eax, dword [0x488420]
add esp, 0xc
mov ecx, dword [eax + 0x1584]
lea esi, [eax + 0x1580]
test ecx, ecx
jns 0x439a07
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.00426a30
push 0
push 0x4397c0
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 [0x4884a8]
mov edx, dword [ebp - 0xc]
sbb edx, dword [0x4884ac]
call fcn.004455c0
mov edx, dword [0x4884b4]
mov ecx, dword [0x4884b0]
cvtsd2ss xmm0, xmm0
movss dword [ebp - 0x1c], xmm0
call fcn.004455c0
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 [0x4884a8], eax
mov dword [0x4884ac], 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 [0x488420]
shr eax, 0xf
and al, 1
mov byte [ebx + 0x103], 0
mov byte [ebx + 0x102], al
test esi, esi
jne 0x439ae9
push 0xda0
push 0x4465f0
push str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call edi
mov esi, dword [0x488420]
add esp, 0xc
mov eax, dword [0x4884a4]
test eax, eax
jne 0x439b0b
push 0xd8
push 0x451e38
push str.g_hWnd___0
call edi
mov eax, dword [0x4884a4]
add esp, 0xc
cmp byte [esi + 0x35b], 0
je 0x439b4c
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 0x439b44
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 0x439c23
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov edi, eax
test edi, edi
je 0x439bfa
push dword [0x4884a4]
push edi
call dword [sym.imp.USER32.dll_IsChild]
test eax, eax
mov eax, dword [0x4884a4]
cmovne edi, eax
test dword [esi + 8], 0x400
je 0x439bbf
mov ecx, edi
call fcn.0041a010
test eax, eax
je 0x439bfa
movd xmm0, dword [ebp - 0x20]
movd xmm1, dword [ebp - 0x1c]
jmp 0x439be4
cmp edi, eax
jne 0x439bfa
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 0x439c23
mov ecx, eax
call fcn.0041a010
test eax, eax
je 0x439c23
test byte [eax + 4], 0x80
jne 0x439c23
mov eax, dword [eax]
mov dword [esi + 0xfc], eax
cmp byte [ebx + 0xb7], 0
je 0x439c31
or eax, 0xffffffff
jmp 0x439c3c
mov eax, dword [0x488420]
mov eax, dword [eax + 0x1f58]
cmp dword [0x487e38], eax
je 0x439c4e
mov dword [0x487e38], eax
call fcn.00439390
call fcn.004394e0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044463b
mov esp, ebp
pop ebp
ret