Function at 0x140034360
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
push rdi
push r14
sub rsp, 0x30
mov rsi, qword [0x140244030]
test rsi, rsi
jne 0x140034399
mov r8d, 0xd77
lea rdx, str.E:Sources_LEANLOADERLOADERImGUIimgui.cpp
lea rcx, str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call fcn.1400d24a8
mov rsi, qword [0x140244030]
xor edi, edi
test rsi, rsi
je 0x1400343ae
mov r14, qword [rsi + 0xe8]
test r14, r14
jne 0x1400343ca
jmp 0x1400343b1
mov r14, rdi
mov r8d, 0x126
lea rdx, str.E:Sources_LEANLOADERLOADERImGUIimgui_impl_win32.cpp
lea rcx, str.bd___0___Did_you_call_ImGui_ImplWin32_Init____
call fcn.1400d24a8
xorps xmm0, xmm0
lea rdx, [rsp + 0x20]
movdqu xmmword [rsp + 0x20], xmm0
mov rcx, qword [r14]
call qword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [rsp + 0x28]
lea rcx, [rsp + 0x58]
sub eax, dword [rsp + 0x20]
movd xmm1, eax
mov eax, dword [rsp + 0x2c]
sub eax, dword [rsp + 0x24]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rsi + 0x10], xmm1
movss dword [rsi + 0x14], xmm0
mov qword [rsp + 0x58], rdi
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rsp + 0x58]
xorps xmm1, xmm1
sub rax, qword [r14 + 8]
xorps xmm0, xmm0
cvtsi2ss xmm0, qword [r14 + 0x10]
mov ecx, 0x11
cvtsi2ss xmm1, rax
divss xmm1, xmm0
movss dword [rsi + 0x18], xmm1
mov rax, qword [rsp + 0x58]
mov qword [r14 + 8], rax
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, 0x10
and al, 1
mov byte [rsi + 0x140], al
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, 0x12
and al, 1
mov byte [rsi + 0x141], al
call qword [sym.imp.USER32.dll_GetKeyState]
mov rbx, qword [0x140244030]
shr eax, 0xf
and al, 1
mov byte [rsi + 0x143], dil
mov byte [rsi + 0x142], al
test rbx, rbx
jne 0x1400344bf
mov r8d, 0xd77
lea rdx, str.E:Sources_LEANLOADERLOADERImGUIimgui.cpp
lea rcx, str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call fcn.1400d24a8
mov rbx, qword [0x140244030]
test rbx, rbx
je 0x1400344c6
mov rdi, qword [rbx + 0xe8]
cmp qword [rdi], 0
jne 0x1400344e5
mov r8d, 0xdd
lea rdx, str.E:Sources_LEANLOADERLOADERImGUIimgui_impl_win32.cpp
lea rcx, str.bd__hWnd___0
call fcn.1400d24a8
cmp byte [rbx + 0x39b], 0
je 0x140034526
cvttss2si eax, dword [rbx + 0x128]
mov rcx, qword [rdi]
lea rdx, [rsp + 0x50]
mov dword [rsp + 0x50], eax
cvttss2si eax, dword [rbx + 0x12c]
mov dword [rsp + 0x54], eax
call qword [sym.imp.USER32.dll_ClientToScreen]
test eax, eax
je 0x140034526
mov edx, dword [rsp + 0x54]
mov ecx, dword [rsp + 0x50]
call qword [sym.imp.USER32.dll_SetCursorPos]
mov dword [rbx + 0x128], 0xff7fffff
mov dword [rbx + 0x12c], 0xff7fffff
call qword [sym.imp.USER32.dll_GetForegroundWindow]
test rax, rax
je 0x14003459d
mov rdx, qword [rdi]
cmp rax, rdx
je 0x14003455a
mov rcx, rax
call qword [sym.imp.USER32.dll_IsChild]
test eax, eax
je 0x14003459d
lea rcx, [rsp + 0x60]
call qword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x14003459d
mov rcx, qword [rdi]
lea rdx, [rsp + 0x60]
call qword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x14003459d
movd xmm0, dword [rsp + 0x60]
movd xmm1, dword [rsp + 0x64]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
movss dword [rbx + 0x128], xmm0
movss dword [rbx + 0x12c], xmm1
cmp byte [rsi + 0xc8], 0
je 0x1400345ad
mov eax, 0xffffffff
jmp 0x1400345ba
mov rax, qword [0x140244030]
mov eax, dword [rax + 0x1f48]
cmp dword [r14 + 0x18], eax
je 0x1400345c9
mov dword [r14 + 0x18], eax
call fcn.140033eb0
call fcn.140034050
mov rbx, qword [rsp + 0x68]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret