Function at 0x140051c70
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xd0
movaps xmmword [rsp + 0xc0], xmm6
mov rax, qword [0x1400a6040]
xor rax, rsp
mov qword [rbp + 0x37], rax
cmp qword [0x1400aa410], 0
jne 0x140051ca7
call fcn.140028410
call fcn.140028810
call fcn.1400069a0
call fcn.1400494c0
cmp byte [0x1400a8e29], 0
movss xmm2, dword [0x140095f50]
movss xmm0, dword [0x1400a6cb8]
movss xmm1, dword [0x1400a6cc0]
movss xmm6, dword [0x140095e40]
mulss xmm0, xmm2
mov dword [rbp - 0x2d], 0xff
mulss xmm1, xmm2
cvttss2si rcx, xmm0
movss xmm0, dword [0x1400a6cbc]
mulss xmm0, xmm2
cvttss2si r8, xmm1
movss xmm1, dword [0x1400a6c8c]
cvttss2si rdx, xmm0
movss xmm0, dword [0x1400a6c88]
mulss xmm0, xmm2
mulss xmm1, xmm2
cvttss2si rax, xmm0
movss xmm0, dword [0x1400a6c90]
mov dword [rbp - 0x39], eax
cvttss2si rax, xmm1
mulss xmm0, xmm2
mov dword [rbp - 0x35], eax
cvttss2si rax, xmm0
mov dword [rbp - 0x31], eax
je 0x140051e0c
movsd xmm2, qword [0x140095ed8]
xorps xmm0, xmm0
xorps xmm1, xmm1
mov eax, ecx
lea rcx, [rbp - 0x21]
mov dword [rbp - 0x15], 0x3f800000
cvtsi2sd xmm0, rax
mov eax, edx
cvtsi2sd xmm1, rax
mov eax, r8d
divsd xmm0, xmm2
divsd xmm1, xmm2
cvtpd2ps xmm0, xmm0
movss dword [rbp - 0x21], xmm0
cvtpd2ps xmm0, xmm1
xorps xmm1, xmm1
cvtsi2sd xmm1, rax
mov eax, dword [0x1400a9044]
cdq
sub eax, edx
sar eax, 1
movss dword [rbp - 0x1d], xmm0
divsd xmm1, xmm2
cvtpd2ps xmm0, xmm1
movss dword [rbp - 0x19], xmm0
movd xmm0, eax
mov eax, dword [0x1400a9040]
cvtdq2ps xmm0, xmm0
cdq
sub eax, edx
sar eax, 1
movss dword [rbp - 0x29], xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rbp - 0x25], xmm0
call fcn.140002e50
mov rcx, qword [0x1400a8e30]
lea rdx, [rbp - 0x29]
mov r9d, eax
movss dword [rsp + 0x28], xmm6
cvttss2si eax, dword [0x1400a6ce8]
add rcx, 0x1cc8
mov dword [rsp + 0x20], 0x64
movd xmm2, eax
cvtdq2ps xmm2, xmm2
call fcn.1400221a0
cmp byte [0x1400a8ea6], 0
je 0x140051ebd
mov eax, dword [0x1400a9040]
movss xmm1, dword [0x1400a6cf0]
cdq
sub eax, edx
movaps xmm0, xmm1
sar eax, 1
addss xmm0, xmm6
mov r10d, eax
mov eax, dword [0x1400a9044]
cdq
mov r9d, r10d
sub eax, edx
mov edx, r10d
sar eax, 1
movd xmm2, eax
lea rax, [rbp - 0x39]
cvtdq2ps xmm2, xmm2
mov qword [rsp + 0x20], rax
addss xmm0, xmm2
subss xmm2, xmm1
cvttss2si r8d, xmm0
cvttss2si ecx, xmm2
call fcn.14003e1e0
movss xmm1, dword [0x1400a6cf0]
lea rcx, [rbp - 0x39]
mov eax, dword [0x1400a9040]
movaps xmm0, xmm1
cdq
mov qword [rsp + 0x20], rcx
sub eax, edx
addss xmm0, xmm6
sar eax, 1
movd xmm2, eax
mov eax, dword [0x1400a9044]
cdq
cvtdq2ps xmm2, xmm2
sub eax, edx
sar eax, 1
mov r8d, eax
mov ecx, eax
addss xmm0, xmm2
subss xmm2, xmm1
cvttss2si r9d, xmm0
cvttss2si edx, xmm2
call fcn.14003e1e0
cmp byte [0x1400a8e2e], 0
je 0x140051ecb
call fcn.1400512d0
mov ecx, 0x2d
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x140051f05
movzx eax, byte [0x1400a6c80]
test al, al
jne 0x140051eef
mov byte [0x1400a6c80], 1
jmp 0x140051efa
cmp al, 1
jne 0x140051efa
mov byte [0x1400a6c80], 0
mov ecx, 0xc8
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp byte [0x1400a6c80], 0
je 0x140051f4d
call fcn.14004ae80
call fcn.14004b120
mov rax, qword [0x1400a8e30]
test rax, rax
jne 0x140051f44
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 rax, qword [0x1400a8e30]
mov byte [rax + 0xd0], 1
jmp 0x140051f80
mov rax, qword [0x1400a8e30]
test rax, rax
jne 0x140051f79
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 rax, qword [0x1400a8e30]
mov byte [rax + 0xd0], 0
mov rax, qword gs:[0x58]
mov edx, 4
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x1400aa900], eax
jle 0x140051fc9
lea rcx, [0x1400aa900]
call fcn.140053f2c
cmp dword [0x1400aa900], 0xffffffff
jne 0x140051fc9
lea rcx, [0x1400aa8f8]
call fcn.14003d080
lea rcx, [0x1400aa900]
call fcn.140053ec0
lea rcx, [rbp - 0x29]
call fcn.14003d080
mov r8d, dword [0x1400aa8c0]
xor ebx, ebx
mov rax, qword [rbp - 0x29]
inc r8d
mov rcx, rax
mov dword [0x1400aa8c0], r8d
sub rcx, qword [0x1400aa8f8]
cmp rcx, 0x3baa0c40
jl 0x140052012
mov dword [0x1400aa8b8], r8d
mov dword [0x1400aa8c0], ebx
mov qword [0x1400aa8f8], rax
jmp 0x140052019
mov r8d, dword [0x1400aa8b8]
cmp byte [0x140095cf9], bl
movsd xmm0, qword [str.vaa_t]
movzx eax, word [0x140095cf8]
movsd qword [rbp - 0x39], xmm0
mov word [rbp - 0x31], ax
je 0x140052061
xor byte [rbp - 0x38], 0x31
xor byte [rbp - 0x37], 0x32
xor byte [rbp - 0x36], 0x33
xor byte [rbp - 0x35], 0x34
xor byte [rbp - 0x34], 0x35
xor byte [rbp - 0x33], 0x36
xor byte [rbp - 0x32], 0x37
xor byte [rbp - 0x31], 0x38
xor byte [rbp - 0x30], 0x39
mov byte [rbp - 0x39], 0x46
lea rdx, [rbp - 0x39]
lea rcx, [rbp - 9]
call fcn.140016f60
movss xmm0, dword [0x140095f0c]
lea rax, [rbp - 9]
mov qword [rsp + 0x30], rax
lea r9, [0x1400a6d50]
movd ecx, xmm0
mov edx, 0x64
mov byte [rsp + 0x28], 1
mov r8d, 0x23
mov byte [rsp + 0x20], 1
call fcn.14003dbf0
call fcn.140008130
mov rcx, qword [0x1400a8f30]
xor r8d, r8d
mov edx, 7
mov rax, qword [rcx]
call qword [rax + 0x1c8]
mov rcx, qword [0x1400a8f30]
xor r8d, r8d
mov edx, 0x1b
mov rax, qword [rcx]
call qword [rax + 0x1c8]
mov rcx, qword [0x1400a8f30]
xor r8d, r8d
mov edx, 0xae
mov rax, qword [rcx]
call qword [rax + 0x1c8]
mov rcx, qword [0x1400a8f30]
mov r9d, 1
mov dword [rsp + 0x30], ebx
xor r8d, r8d
movss dword [rsp + 0x28], xmm6
xor edx, edx
mov dword [rsp + 0x20], ebx
mov rax, qword [rcx]
call qword [rax + 0x158]
mov rcx, qword [0x1400a8f30]
mov rax, qword [rcx]
call qword [rax + 0x148]
test eax, eax
js 0x14005215c
call fcn.1400086f0
mov rcx, qword [0x1400a8e30]
add rcx, 0x1c70
cmp byte [rcx], bl
cmove rcx, rbx
call fcn.140027b00
mov rcx, qword [0x1400a8f30]
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [0x1400a8f30]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rbx
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x88]
cmp eax, 0x88760868
jne 0x1400521b5
mov rcx, qword [0x1400a8f30]
mov rax, qword [rcx]
call qword [rax + 0x18]
cmp eax, 0x88760869
jne 0x1400521b5
call fcn.1400285b0
mov rcx, qword [0x1400a8f30]
lea rdx, [0x1400a8ee0]
mov rax, qword [rcx]
call qword [rax + 0x80]
call fcn.140028410
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.140053ea0
mov rbx, qword [rsp + 0xe0]
movaps xmm6, xmmword [rsp + 0xc0]
add rsp, 0xd0
pop rbp
ret