Function at 0x18004b200
Capabilities:
Log keystrokes via polling

Disassembly:
mov r11, rsp
push rbp
lea rbp, [r11 - 0x5f]
sub rsp, 0xa0
mov rax, qword [0x180070040]
xor rax, rsp
mov qword [rbp + 7], rax
cmp byte [0x18009aa85], 0
je 0x18004b53e
cmp qword [0x18009aa50], 0
je 0x18004b53e
mov rcx, qword [0x18009ab48]
mov qword [r11 + 0x18], rdi
mov qword [r11 - 0x10], r14
mov eax, dword [rcx + 3]
lea r14, [rcx + 7]
add r14, rax
call fcn.18004ac90
mov rdi, rax
test rax, rax
je 0x18004b52e
mov qword [rsp + 0xb0], rbx
lea rdx, [rbp - 9]
mov qword [rsp + 0x90], r15
mov r8d, 0x796e
movaps xmmword [rsp + 0x80], xmm6
mov rcx, rax
movaps xmmword [rsp + 0x70], xmm7
movaps xmmword [rsp + 0x60], xmm8
call qword [0x18009ae40]
movaps xmm1, xmmword [rbp - 9]
mov rbx, qword [0x18009aa30]
movaps xmm0, xmm1
shufps xmm0, xmm1, 0x55
movss dword [rbp - 0x29], xmm1
shufps xmm1, xmm1, 0xaa
movss dword [rbp - 0x21], xmm1
movss dword [rbp - 0x25], xmm0
test rbx, rbx
jne 0x18004b2e3
mov r8d, 0xc58
lea rdx, str.C:UserskamilDesktop_fsdFiveMHookskieroimguiimgui.cpp
lea rcx, str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rbx, qword [0x18009aa30]
lea r8, [rbp - 0x15]
mov qword [rsp + 0xb8], rsi
lea rdx, [rbp - 0x19]
mov qword [rbp - 0x19], 0
lea rcx, [rbp - 0x29]
xorps xmm6, xmm6
call qword [0x18009ab40]
movss xmm0, dword [rbp - 0x19]
mulss xmm0, dword [rbx + 0x10]
movss xmm1, dword [rbp - 0x15]
movss dword [rbp - 0x19], xmm0
mulss xmm1, dword [rbx + 0x14]
movss dword [rbp - 0x15], xmm1
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov rcx, rax
lea rdx, [rbp - 0x29]
mov r15, rax
call qword [sym.imp.USER32.dll_GetWindowRect]
test eax, eax
je 0x18004b39a
mov ebx, dword [rbp - 0x21]
mov rdx, r15
mov esi, dword [rbp - 0x1d]
sub ebx, dword [rbp - 0x29]
sub esi, dword [rbp - 0x25]
call fcn.180054e70
test al, al
je 0x18004b378
mov eax, ebx
cdq
sub eax, edx
sar eax, 1
movd xmm6, eax
mov eax, esi
cdq
sub eax, edx
sar eax, 1
cvtdq2ps xmm6, xmm6
movd xmm8, eax
cvtdq2ps xmm8, xmm8
jmp 0x18004b39e
lea eax, [rbx - 0x11]
cdq
sub eax, edx
sar eax, 1
movd xmm6, eax
lea eax, [rsi - 0x23]
cdq
sub eax, edx
sar eax, 1
cvtdq2ps xmm6, xmm6
movd xmm8, eax
cvtdq2ps xmm8, xmm8
jmp 0x18004b39e
xorps xmm8, xmm8
subss xmm6, dword [rbp - 0x19]
movsd xmm1, qword [0x1800661b8]
cvtps2pd xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
subss xmm8, dword [rbp - 0x15]
movsd xmm1, qword [0x1800661b8]
movaps xmm7, xmm0
cvtps2pd xmm0, xmm8
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
movaps xmm8, xmmword [rsp + 0x60]
addsd xmm7, xmm0
movaps xmm6, xmmword [rsp + 0x80]
xorps xmm0, xmm0
mov r15, qword [rsp + 0x90]
xorps xmm1, xmm1
mov rsi, qword [rsp + 0xb8]
cvtsd2ss xmm0, xmm7
movaps xmm7, xmmword [rsp + 0x70]
ucomiss xmm1, xmm0
ja 0x18004b409
sqrtss xmm0, xmm0
jmp 0x18004b40e
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
movss xmm1, dword [0x1800702d4]
comiss xmm1, xmm0
jb case.default.0x18004b4bf
mov ecx, 2
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns case.default.0x18004b4bf
mov rcx, qword [0x18009ab10]
test rcx, rcx
je case.default.0x18004b4bf
xor ebx, ebx
test r14, r14
je 0x18004b499
movsxd r8, dword [rcx + 8]
movsxd rax, dword [rcx + 3]
add r8, 0xc
add r8, rcx
mov qword [0x18009aa98], r8
mov ecx, dword [rax + rcx + 7]
mov rax, qword [r14]
mov rdx, qword [rax]
mov rax, qword [rdx + 0x3d8]
test rax, rax
je case.default.0x18004b4bf
mov edx, eax
call r8
test rax, rax
je 0x18004b48c
lea ebx, [rax + 0x390]
jmp 0x18004b499
mov rax, qword [r14]
mov rcx, qword [rax]
mov rbx, qword [rcx + 0x3c0]
test rbx, rbx
je case.default.0x18004b4bf
movsxd rax, dword [0x18009aa60]
cmp eax, 5
ja case.default.0x18004b4bf
lea rdx, [0x180000000]
mov ecx, dword [rdx + rax*4 + 0x4b554]
add rcx, rdx
jmp rcx
mov r8d, 0x796e
jmp 0x18004b4ef
mov r8d, 0x60f2
jmp 0x18004b4ef
mov r8d, 0xf9bb
jmp 0x18004b4ef
mov r8d, 0x9000
jmp 0x18004b4ef
mov r8d, 0x9d4d
jmp 0x18004b4ef
mov r8d, 0xb1c5
lea rdx, [rbp - 9]
mov rcx, rdi
call qword [0x18009ae40]
movaps xmm1, xmmword [rbp - 9]
lea rcx, [rbp - 0x29]
movaps xmm0, xmm1
movss dword [rbp - 0x29], xmm1
shufps xmm0, xmm1, 0x55
mov rdx, rbx
shufps xmm1, xmm1, 0xaa
movss dword [rbp - 0x21], xmm1
movss dword [rbp - 0x25], xmm0
call fcn.180045bd0
mov rbx, qword [rsp + 0xb0]
mov rdi, qword [rsp + 0xc0]
mov r14, qword [rsp + 0x98]
mov rcx, qword [rbp + 7]
xor rcx, rsp
call fcn.180054f30
add rsp, 0xa0
pop rbp
ret