Function at 0x180044460
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
push rdi
sub rsp, 0x90
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm7
movaps xmmword [rax - 0x38], xmm8
mov rbx, rcx
xorps xmm7, xmm7
xor eax, eax
movss xmm2, dword [0x18009c378]
mov qword [0x1800a5370], rax
movups xmmword [0x1800a5378], xmm7
movss dword [0x1800a5388], xmm7
movss dword [0x1800a538c], xmm7
mov dword [0x1800a5390], eax
movaps xmm1, xmm2
unpcklps xmm1, xmm2
movsd qword [0x1800a5394], xmm1
movss dword [0x1800a539c], xmm2
cmp byte [0x1800a5cc8], al
je 0x180044a13
mov rcx, qword [0x1800a5c80]
mov rax, qword [rcx]
mov rdx, qword [rax + 0x60]
call rdx
mov rcx, qword [0x1800a5c90]
mov rdx, qword [rcx]
mov r8, qword [rdx + 0x18]
mov edx, eax
call r8
mov rdi, rax
test rax, rax
je 0x180044a13
mov rcx, qword [rax]
mov rdx, qword [rcx + 0x408]
mov rcx, rax
call rdx
test al, al
je 0x180044a13
mov rcx, rdi
call fcn.180043f00
mov rsi, rax
test rax, rax
je 0x180044a13
mov r8, rdi
mov rdx, rbx
lea rcx, [rsp + 0x30]
call fcn.180044a40
mov rcx, qword [rax]
mov qword [0x1800a5370], rcx
movss xmm0, dword [rax + 8]
movss dword [0x1800a5378], xmm0
movss xmm1, dword [rax + 0xc]
movss dword [0x1800a537c], xmm1
movss xmm0, dword [rax + 0x10]
movss dword [0x1800a5380], xmm0
movss xmm1, dword [rax + 0x14]
movss dword [0x1800a5384], xmm1
movss xmm0, dword [rax + 0x18]
movss dword [0x1800a5388], xmm0
movss xmm1, dword [rax + 0x1c]
movss dword [0x1800a538c], xmm1
movss xmm0, dword [rax + 0x20]
movss dword [0x1800a5390], xmm0
movsd xmm1, qword [rax + 0x24]
movsd qword [0x1800a5394], xmm1
mov eax, dword [rax + 0x2c]
mov dword [0x1800a539c], eax
test rcx, rcx
je 0x180044a13
cmp byte [0x1800a5cd4], 0
jne 0x180044a13
cmp byte [rbx + 0x4c], 0
jne 0x180044a13
cmp byte [rbx + 0x3f], 0
jne 0x180044a13
mov rcx, rsi
call fcn.180043860
mov rdi, rax
lea rdx, str.weapon_physgun
mov rcx, rax
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
je 0x180044a13
lea rdx, str.weapon_physcannon
mov rcx, rdi
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
je 0x180044a13
cmp dword [rsi + 0x1c48], 0
jle 0x180044a13
mov ecx, dword [0x1800a5364]
test ecx, ecx
je 0x1800446f2
sub ecx, 1
je 0x1800446d5
sub ecx, 1
je 0x180044674
cmp ecx, 1
jne 0x180044a13
mov ecx, dword [0x1800a5360]
test ecx, ecx
je 0x180044a13
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8001
test cx, ax
jne 0x180044a13
jmp 0x1800446f2
movsxd rcx, dword [0x1800a5360]
test ecx, ecx
je 0x1800446ac
mov rdi, rcx
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x1800446bb
lea rax, [0x1800a5fc0]
cmp byte [rdi + rax], 0
jne 0x1800446ac
mov byte [rdi + rax], 1
cmp byte [0x1800a5368], 0
sete byte [0x1800a5368]
cmp byte [0x1800a5368], 0
je 0x180044a13
jmp 0x1800446f2
cmp rdi, 0x100
jae 0x180044a37
lea rax, [0x1800a5fc0]
mov byte [rdi + rax], 0
jmp 0x1800446ac
mov ecx, dword [0x1800a5360]
test ecx, ecx
je 0x180044a13
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x180044a13
cmp byte [0x1800a5f05], 0
jne 0x180044a13
mov ecx, dword [0x1800a5f00]
test ecx, ecx
jle 0x180044731
mov rax, qword [0x1800a5c98]
mov edx, dword [rax + 0x18]
cmp dword [0x1800a5ce8], edx
je 0x180044729
mov dword [0x1800a5ce8], edx
dec ecx
mov dword [0x1800a5f00], ecx
test ecx, ecx
jg 0x180044a13
movss xmm6, dword [0x1800a5ccc]
ucomiss xmm6, xmm7
jp 0x18004474d
jne 0x18004474d
movss xmm0, dword [0x1800a5384]
jmp 0x180044877
lea rcx, [0x1800a5384]
call fcn.180057080
lea rcx, [0x1800a5384]
call fcn.180057120
movss xmm8, dword [rbx + 0xc]
movss xmm5, dword [0x1800a5388]
subss xmm5, xmm8
movss xmm0, dword [0x1800a5384]
subss xmm0, dword [rbx + 8]
movss dword [rsp + 0x20], xmm0
movss dword [rsp + 0x24], xmm5
movss xmm2, dword [0x18009c3a8]
movss xmm1, dword [0x18009c304]
comiss xmm0, xmm1
jbe 0x1800447b5
addss xmm0, xmm2
comiss xmm0, xmm1
ja 0x1800447a6
movss dword [rsp + 0x20], xmm0
movss xmm3, dword [0x18009c3a0]
movss xmm1, dword [0x18009c328]
comiss xmm3, xmm0
jbe 0x1800447df
nop word [rax + rax]
addss xmm0, xmm1
comiss xmm3, xmm0
ja 0x1800447d0
movss dword [rsp + 0x20], xmm0
comiss xmm2, xmm5
jbe 0x1800447ff
movss xmm0, dword [0x18009c33c]
nop dword [rax]
addss xmm5, xmm0
comiss xmm2, xmm5
ja 0x1800447f0
movss dword [rsp + 0x24], xmm5
comiss xmm5, xmm1
jbe 0x18004481f
movss xmm0, dword [0x18009c3ac]
nop dword [rax]
addss xmm5, xmm0
comiss xmm5, xmm1
ja 0x180044810
movss dword [rsp + 0x24], xmm5
mov dword [rsp + 0x28], 0
lea rcx, [rsp + 0x20]
call fcn.180057120
movss xmm5, dword [rsp + 0x28]
divss xmm5, xmm6
movss xmm0, dword [rsp + 0x24]
divss xmm0, xmm6
addss xmm5, dword [rbx + 0x10]
addss xmm8, xmm0
movss xmm0, dword [rsp + 0x20]
divss xmm0, xmm6
addss xmm0, dword [rbx + 8]
movss dword [0x1800a5384], xmm0
movss dword [0x1800a5388], xmm8
movss dword [0x1800a538c], xmm5
movss dword [rbx + 8], xmm0
movss xmm0, dword [0x1800a5388]
movss dword [rbx + 0xc], xmm0
movss xmm1, dword [0x1800a538c]
movss dword [rbx + 0x10], xmm1
cmp byte [0x1800a5cb8], 0
jne 0x1800448ba
mov rcx, qword [0x1800a5c80]
mov rax, qword [rcx]
mov r8, qword [rax + 0xa0]
lea rdx, [0x1800a5384]
call r8
cmp byte [0x1800a5cb9], 0
je 0x1800448cc
test byte [rbx], 1
je 0x1800448cc
or dword [rbx + 0x20], 1
lea rdx, [rsp + 0xa8]
movss xmm0, dword [0x1800a5390]
call fcn.1800462d0
cmp byte [rsp + 0xa8], 0
je 0x180044a13
mov rax, qword [0x1800a5c98]
movd xmm6, dword [rax + 0x18]
cvtdq2ps xmm6, xmm6
mulss xmm6, dword [rax + 0x1c]
subss xmm6, dword [0x1800a5390]
comiss xmm6, xmm7
jbe 0x180044a13
mov ecx, dword [0x1800a5b2c]
mov rax, qword gs:[0x58]
mov edi, 4
mov rbx, qword [rax + rcx*8]
mov eax, dword [rbx + rdi]
cmp dword [0x1800a5f0c], eax
jle 0x18004497a
lea rcx, [0x1800a5f0c]
call fcn.1800584d0
cmp dword [0x1800a5f0c], 0xffffffff
jne 0x18004497a
mov rcx, qword [0x1800a5ce0]
mov rax, qword [rcx]
mov r8, qword [rax + 0x88]
lea rdx, str.cl_interp
call r8
mov qword [0x1800a5f10], rax
lea rcx, [0x1800a5f0c]
call fcn.180058464
mov eax, dword [rbx + rdi]
cmp dword [0x1800a5f20], eax
jle 0x1800449c8
lea rcx, [0x1800a5f20]
call fcn.1800584d0
cmp dword [0x1800a5f20], 0xffffffff
jne 0x1800449c8
mov rcx, qword [0x1800a5ce0]
mov rax, qword [rcx]
mov r8, qword [rax + 0x88]
lea rdx, str.cl_interp_ratio
call r8
mov qword [0x1800a5f18], rax
lea rcx, [0x1800a5f20]
call fcn.180058464
mov byte [0x1800a5f04], 1
movss dword [0x1800a5f08], xmm6
ucomiss xmm6, dword [0x18009c39c]
jp 0x180044a02
jne 0x180044a02
mov rcx, qword [0x1800a5f10]
mov rcx, qword [rcx + 0x48]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atof]
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movss dword [0x1800a5f08], xmm1
mov dword [0x1800a5efc], 0x3f800000
mov byte [0x1800a5f06], 1
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [rsp + 0x70]
movaps xmm8, xmmword [r11 - 0x30]
mov rsp, r11
pop rdi
ret
call fcn.1800581c0
int3