Function at 0x140033d70
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x70
mov rax, qword [0x140047010]
xor rax, rsp
mov qword [rsp + 0x60], rax
xorps xmm0, xmm0
xor edi, edi
movups xmmword [0x140047c90], xmm0
movups xmmword [0x140047ca0], xmm0
movups xmmword [0x140047cb0], xmm0
nop dword [rax]
nop word [rax + rax]
mov rdx, qword [0x140047cc0]
lea rcx, [0x140047c90]
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x140033df0
lea rcx, [0x140047c90]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [0x140047c90]
call qword [sym.imp.USER32.dll_DispatchMessageW]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rcx, qword [0x140047c88]
cmp rax, rcx
jne 0x140033e3d
mov edx, 3
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindow]
mov rcx, qword [0x140047cc0]
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 [0x140047c88]
xorps xmm0, xmm0
mov qword [rsp + 0x40], rdi
lea rdx, [rsp + 0x50]
movups xmmword [rsp + 0x50], xmm0
call qword [sym.imp.USER32.dll_GetClientRect]
mov rcx, qword [0x140047c88]
lea rdx, [rsp + 0x40]
call qword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [rsp + 0x40]
mov rbx, qword [0x140047c70]
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0x54], eax
test rbx, rbx
jne 0x140033ea4
mov r8d, 0xb37
lea rdx, str.C:Users0Documents_nova_efi_source_mainImguiimgui.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 rbx, qword [0x140047c70]
mov rax, qword [0x140047c88]
lea rcx, [rsp + 0x48]
mov qword [rbx + 0x108], rax
mov dword [rbx + 0x18], 0x3c888889
call qword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [rsp + 0x48]
mov ecx, 1
sub eax, dword [rsp + 0x40]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x118], xmm0
mov eax, dword [rsp + 0x4c]
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 0x140033f1e
mov byte [rbx + 0x120], 1
mov eax, dword [rbx + 0x11c]
mov dword [rbx + 0x3dc], eax
mov byte [rbx + 0x430], 1
jmp 0x140033f25
mov byte [rbx + 0x120], dil
mov rdx, qword [0x140047cc0]
xor r9d, r9d
mov rcx, qword [0x140047c88]
xor r8d, r8d
mov dword [rsp + 0x30], 3
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], edi
call qword [sym.imp.USER32.dll_SetWindowPos]
call fcn.140033790
cmp dword [0x140047c98], 0x12
jne 0x140033db0
call fcn.140027e30
mov rbx, qword [0x140047c70]
mov rcx, rbx
mov qword [0x140048260], rdi
mov qword [0x140048270], rdi
call fcn.1400081e0
cmp qword [0x140047c70], rbx
jne 0x140033f93
mov qword [0x140047c70], rdi
test rbx, rbx
je 0x140033fbb
mov rcx, rbx
call fcn.140016c70
mov rax, qword [0x140047c70]
test rax, rax
je 0x140033fb2
dec dword [rax + 0x3c8]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [0x140047d68]
test rcx, rcx
je 0x140033fdd
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [0x140047d68]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [0x140047cd0]
test rcx, rcx
je 0x140033fef
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [0x140047cc0]
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rax, qword [0x140047ca0]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400361a0
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rdi
ret