Function at 0x140051400
Capabilities:
Log keystrokes via polling

Disassembly:
sub rsp, 0x48
mov rax, qword [0x1401504f0]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x50], rbx
mov rbx, qword [0x140186e28]
test rbx, rbx
jne 0x140051445
mov r8d, 0xda0
lea rdx, str.C:UsersxifisOneDriveBureauVX_all_versionVX_Loader___Copie__3____CopieImGuiimgui.cpp
lea rcx, str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rbx, qword [0x140186e28]
mov rax, qword [rbx + 0xa8]
cmp dword [rax + 0x48], 0
jle 0x140051460
cmp qword [rax + 0x20], 0
jne 0x14005147a
cmp qword [rax + 0x28], 0
jne 0x14005147a
mov r8d, 0x15e
lea rdx, str.C:UsersxifisOneDriveBureauVX_all_versionVX_Loader___Copie__3____CopieImGuiimgui_impl_win32.cpp
lea rcx, 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 qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rcx, qword [0x140186f10]
lea rdx, [rsp + 0x20]
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x20], xmm0
call qword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [rsp + 0x28]
sub eax, dword [rsp + 0x20]
movd xmm1, eax
mov eax, dword [rsp + 0x2c]
sub eax, dword [rsp + 0x24]
cmp byte [reloc.WS2_32.dll_accept], 0
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x10], xmm1
movss dword [rbx + 0x14], xmm0
je 0x140051544
mov rax, qword [0x140186e28]
mov qword [rsp + 0x40], rdi
test rax, rax
jne 0x1400514f8
mov r8d, 0xda6
lea rdx, str.C:UsersxifisOneDriveBureauVX_all_versionVX_Loader___Copie__3____CopieImGuiimgui.cpp
lea rcx, str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___or_ImGui::SetCurrentContext____
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [0x140186e28]
lea rdi, [rax + 0x1618]
mov ecx, dword [rdi + 4]
test ecx, ecx
jns 0x14005151e
mov eax, ecx
cdq
sub eax, edx
xor edx, edx
sar eax, 1
add eax, ecx
mov rcx, rdi
test eax, eax
cmovg edx, eax
call fcn.14003bae0
xor r9d, r9d
mov dword [rdi], 0
lea r8, [0x1400512a0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.USER32.dll_EnumDisplayMonitors]
mov rdi, qword [rsp + 0x40]
mov byte [reloc.WS2_32.dll_accept], 0
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], 0
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rsp + 0x30]
xorps xmm1, xmm1
sub rax, qword [0x140186f18]
xorps xmm0, xmm0
cvtsi2ss xmm0, qword [0x140186f20]
mov ecx, reloc.WS2_32.dll_recvfrom
cvtsi2ss xmm1, rax
divss xmm1, xmm0
movss dword [rbx + 0x18], xmm1
mov rax, qword [rsp + 0x30]
mov qword [0x140186f18], rax
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, reloc.WS2_32.dll_recv
and al, 1
mov byte [rbx + 0x13c], al
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, reloc.WS2_32.dll_select
and al, 1
mov byte [rbx + 0x13d], al
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
mov byte [rbx + 0x13f], 0
mov byte [rbx + 0x13e], al
call fcn.140050db0
cmp byte [rbx + 0xcf], 0
mov rbx, qword [rsp + 0x50]
je 0x1400515f0
mov eax, 0xffffffff
jmp 0x1400515fd
mov rax, qword [0x140186e28]
mov eax, dword [rax + 0x20d0]
cmp dword [reloc.WS2_32.dll_htons], eax
je 0x140051610
mov dword [reloc.WS2_32.dll_htons], eax
call fcn.140050c10
call fcn.140050f70
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400bfb20
add rsp, 0x48
ret