Function at 0x140039330
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x70
mov rax, qword [0x14004d040]
xor rax, rsp
mov qword [rsp + 0x60], rax
xorps xmm0, xmm0
xor edi, edi
movups xmmword [0x14004dd70], xmm0
movups xmmword [0x14004dd80], xmm0
movups xmmword [0x14004dd90], xmm0
nop dword [rax]
nop word [rax + rax]
mov rdx, qword [0x14004dda0]
lea rcx, [0x14004dd70]
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x1400393b0
lea rcx, [0x14004dd70]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [0x14004dd70]
call qword [sym.imp.USER32.dll_DispatchMessageA]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rcx, qword [0x14004dd58]
cmp rax, rcx
jne 0x1400393fd
mov edx, 3
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindow]
mov rcx, qword [0x14004dda0]
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 [0x14004dd58]
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 [0x14004dd58]
lea rdx, [rsp + 0x40]
call qword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [rsp + 0x40]
mov rbx, qword [0x14004dd30]
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0x54], eax
test rbx, rbx
jne 0x140039464
mov r8d, 0xb37
lea rdx, str.C:Users_sakooDownloads7.407.40___KorpImguiimgui.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 [0x14004dd30]
mov rax, qword [0x14004dd58]
lea rcx, [rsp + 0x48]
movss xmm0, dword [0x14004deb4]
movss xmm1, dword [0x14004deb0]
movss dword [rbx + 0x10], xmm0
movss dword [rbx + 0x14], xmm1
mov qword [rbx + 0x108], rax
mov dword [rbx + 0x18], 0x3c23d70a
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
jns 0x1400394f8
mov byte [rbx + 0x120], 1
mov eax, dword [rbx + 0x11c]
mov dword [rbx + 0x3dc], eax
mov byte [rbx + 0x430], 1
jmp 0x1400394ff
mov byte [rbx + 0x120], dil
mov rdx, qword [0x14004dda0]
xor r9d, r9d
mov rcx, qword [0x14004dd58]
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.140037db0
cmp dword [0x14004dd78], 0x12
jne 0x140039370
call fcn.140026f00
mov rbx, qword [0x14004dd30]
mov rcx, rbx
mov qword [0x14004dee8], rdi
mov qword [0x14004def8], rdi
call fcn.140006ed0
cmp qword [0x14004dd30], rbx
jne 0x14003956d
mov qword [0x14004dd30], rdi
test rbx, rbx
je 0x140039595
mov rcx, rbx
call fcn.1400159b0
mov rax, qword [0x14004dd30]
test rax, rax
je 0x14003958c
dec dword [rax + 0x3c8]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [0x14004de90]
test rcx, rcx
je 0x1400395b7
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [0x14004de90]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [0x14004ddc8]
test rcx, rcx
je 0x1400395c9
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [0x14004dda0]
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rax, qword [0x14004dd80]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14003ac50
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rdi
ret