Function at 0x1400521e0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x70
mov rax, qword [0x1400a6040]
xor rax, rsp
mov qword [rsp + 0x60], rax
xorps xmm0, xmm0
xor edi, edi
movups xmmword [0x1400a8e50], xmm0
movups xmmword [0x1400a8e60], xmm0
movups xmmword [0x1400a8e70], xmm0
nop dword [rax]
nop word [rax + rax]
mov rdx, qword [0x1400a8e80]
lea rcx, [0x1400a8e50]
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x140052260
lea rcx, [0x1400a8e50]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [0x1400a8e50]
call qword [sym.imp.USER32.dll_DispatchMessageW]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov ecx, 0x23
mov rbx, rax
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
jne 0x14005250c
mov rcx, qword [0x1400a8e40]
cmp rbx, rcx
jne 0x1400522c3
mov edx, 3
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindow]
mov rcx, qword [0x1400a8e80]
xor r9d, r9d
mov dword [rsp + 0x30], 3
mov rdx, rax
mov dword [rsp + 0x28], edi
xor r8d, r8d
mov dword [rsp + 0x20], edi
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rcx, qword [0x1400a8e40]
xorps xmm0, xmm0
mov qword [rsp + 0x40], rdi
lea rdx, [rsp + 0x48]
movups xmmword [rsp + 0x48], xmm0
call qword [sym.imp.USER32.dll_GetClientRect]
mov rcx, qword [0x1400a8e40]
lea rdx, [rsp + 0x40]
call qword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [rsp + 0x40]
mov rbx, qword [0x1400a8e30]
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0x4c], eax
test rbx, rbx
jne 0x140052329
mov r8d, 0xb37
lea rdx, str.C:UsersAdministratorDesktopkursk_updated_externalImguiimgui.cpp
lea rcx, str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___or_ImGui::SetCurrentContext____
call fcn.140067e4c
mov rbx, qword [0x1400a8e30]
mov rax, qword [0x1400a8e40]
lea rcx, [rsp + 0x58]
mov qword [rbx + 0x108], rax
mov dword [rbx + 0x18], 0x3c888889
call qword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [rsp + 0x58]
mov ecx, 1
sub eax, dword [rsp + 0x40]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x118], xmm0
mov eax, dword [rsp + 0x5c]
sub eax, dword [rsp + 0x44]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x11c], xmm0
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x1400523a3
mov byte [rbx + 0x120], 1
mov eax, dword [rbx + 0x11c]
mov dword [rbx + 0x3dc], eax
mov byte [rbx + 0x430], 1
jmp 0x1400523aa
mov byte [rbx + 0x120], dil
mov eax, dword [0x1400aa8d8]
mov ecx, dword [rsp + 0x54]
mov edx, dword [rsp + 0x50]
cmp dword [rsp + 0x48], eax
jne 0x1400523da
cmp edx, dword [0x1400aa8e0]
jne 0x1400523da
mov eax, dword [0x1400aa8dc]
cmp dword [rsp + 0x4c], eax
jne 0x1400523da
cmp ecx, dword [0x1400aa8e4]
je 0x14005243e
movups xmm0, xmmword [rsp + 0x48]
mov r9d, dword [rsp + 0x44]
mov r8d, dword [rsp + 0x40]
mov dword [rsp + 0x30], 8
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], edx
mov dword [0x1400a9044], edx
mov dword [0x1400a9040], ecx
mov dword [0x1400a8ee0], edx
xor edx, edx
mov dword [0x1400a8ee4], ecx
mov rcx, qword [0x1400a8e80]
movups xmmword [0x1400aa8d8], xmm0
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rcx, qword [0x1400a8f30]
lea rdx, [0x1400a8ee0]
mov rax, qword [rcx]
call qword [rax + 0x80]
call fcn.140051c70
cmp dword [0x1400a8e58], 0x12
jne 0x140052220
call fcn.1400285b0
mov rbx, qword [0x1400a8e30]
mov rcx, rbx
mov qword [0x1400aa420], rdi
mov qword [0x1400aa430], rdi
call fcn.140007680
cmp qword [0x1400a8e30], rbx
jne 0x140052482
mov qword [0x1400a8e30], rdi
test rbx, rbx
je 0x1400524a9
mov rcx, rbx
call fcn.140016b80
mov rax, qword [0x1400a8e30]
test rax, rax
je 0x1400524a1
dec dword [rax + 0x3c8]
mov rcx, rbx
call fcn.140061fb0
mov rcx, qword [0x1400a8f30]
test rcx, rcx
je 0x1400524cb
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [0x1400a8f30]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [0x1400a8e88]
test rcx, rcx
je 0x1400524dd
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [0x1400a8e80]
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rax, qword [0x1400a8e60]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140053ea0
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rdi
ret
mov ecx, 8
call fcn.140068d48
int3