Function at 0x180018c60
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
lea rbp, [rsp - 0x80]
sub rsp, 0x180
movss xmm0, dword [0x1801b0908]
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax - 0x20], rdi
mov edi, dword [0x1801b0640]
mov qword [rax - 0x28], r12
movaps xmmword [rax - 0x38], xmm6
xorps xmm6, xmm6
ucomiss xmm0, xmm6
mov r12d, 4
jne 0x180018ce2
call fcn.18000c3b0
mov rbx, rax
test rax, rax
je 0x180018cda
mov rax, qword gs:[0x58]
mov rax, qword [rax + rdi*8]
mov eax, dword [r12 + rax]
cmp dword [0x1801e6b58], eax
jg 0x1800191ce
mov rax, qword [0x1801e6a18]
movss xmm6, dword [rax + rbx]
movss dword [0x1801b0908], xmm6
call fcn.18000c3b0
mov rcx, rax
call fcn.18000c2c0
xor r15d, r15d
mov rsi, rax
movabs r14, 0x7fffffff0000
lea rdx, [rax + 0x18]
cmp rdx, 0x40000
jbe 0x180018f08
lea rcx, [rdx + 8]
cmp rcx, r14
jae 0x180018d3a
mov rcx, qword [rdx]
add rcx, 0x18
cmp rcx, 0x40000
jbe 0x180018d3a
lea rax, [rcx + 4]
cmp rax, r14
jae 0x180018d3a
cmp dword [rcx], 0x40547fde
je 0x180018d81
cmp rdx, 0x40000
jbe 0x180018f08
lea rax, [rdx + 8]
cmp rax, r14
jae 0x180018f08
mov rcx, qword [rdx]
add rcx, 0x18
cmp rcx, 0x40000
jbe 0x180018f08
lea rax, [rcx + 4]
cmp rax, r14
jae 0x180018f08
cmp dword [rcx], 0x847b9bf0
jne 0x180018f08
cmp byte [0x1801b087b], r15b
je 0x180018f08
call fcn.18000c3b0
mov rbx, rax
test rax, rax
je 0x180018dd1
mov rcx, qword gs:[0x58]
mov rcx, qword [rcx + rdi*8]
mov ecx, dword [r12 + rcx]
cmp dword [0x1801e7034], ecx
jg 0x180019209
mov rax, qword [0x1801e6e10]
movss xmm0, dword [rbx + rax]
comiss xmm0, dword [0x180198d20]
jae 0x180018f08
lea rcx, [rsi + 0xb0]
cmp rcx, 0x40000
jbe 0x180018efb
lea rax, [rcx + 8]
cmp rax, r14
jae 0x180018efb
mov rdi, qword [rcx]
lea rbx, [rdi + 0x190]
cmp rbx, 0x40000
jbe 0x180018efb
lea rax, [rbx + 1]
cmp rax, r14
jae 0x180018efb
movzx ebx, byte [rbx]
call fcn.18000c3b0
mov rcx, rax
call fcn.18000b6f0
movss xmm6, dword [rax]
test bl, bl
je 0x180018f08
movss xmm0, dword [0x1801b0908]
addss xmm0, dword [0x180198808]
comiss xmm6, xmm0
jbe 0x180018f08
mov r8, qword [0x1801b0790]
lea r9, str.UseSelf
add r8, 0x595ed0
mov dword [rsp + 0x30], 7
mov edx, r15d
mov rcx, r15
nop
movzx eax, word [rcx + r9]
inc edx
mov word [rsp + rcx + 0x34], ax
lea rcx, [rcx + 2]
movsxd rax, dword [rsp + 0x30]
cmp edx, eax
jl 0x180018e70
mov word [rsp + rax*2 + 0x34], r15w
lea rdx, [rbp - 0x40]
movups xmm0, xmmword [rsp + 0x20]
mov rcx, rdi
movups xmm1, xmmword [rsp + 0x30]
movaps xmmword [rbp - 0x40], xmm0
movups xmm0, xmmword [rsp + 0x40]
movaps xmmword [rbp - 0x30], xmm1
movups xmm1, xmmword [rsp + 0x50]
movaps xmmword [rbp - 0x20], xmm0
movups xmm0, xmmword [rsp + 0x60]
movaps xmmword [rbp - 0x10], xmm1
movups xmm1, xmmword [rsp + 0x70]
movaps xmmword [rbp], xmm0
movups xmm0, xmmword [rbp - 0x80]
movaps xmmword [rbp + 0x10], xmm1
movups xmm1, xmmword [rbp - 0x70]
movaps xmmword [rbp + 0x20], xmm0
movups xmm0, xmmword [rbp - 0x60]
movaps xmmword [rbp + 0x30], xmm1
movsd xmm1, qword [rbp - 0x50]
movaps xmmword [rbp + 0x40], xmm0
movsd qword [rbp + 0x50], xmm1
call r8
movss dword [0x1801b0908], xmm6
jmp 0x180018f08
call fcn.18000c3b0
mov rcx, rax
call fcn.18000b6f0
mov rcx, qword [0x1801b0790]
movaps xmm6, xmmword [rsp + 0x160]
add rcx, 0x33786c8
mov r12, qword [rsp + 0x170]
mov rdi, qword [rsp + 0x178]
mov rsi, qword [rsp + 0x1b0]
cmp rcx, 0x40000
jbe 0x180018f69
lea rax, [rcx + 8]
cmp rax, r14
jae 0x180018f69
mov rbx, qword [rcx]
add rbx, 0xb8
cmp rbx, 0x40000
jbe 0x180018f69
lea rax, [rbx + 8]
cmp rax, r14
jae 0x180018f69
mov rbx, qword [rbx]
jmp 0x180018f6c
mov rbx, r15
cmp byte [0x1801b0829], r15b
je 0x180018fa4
mov ecx, dword [0x1801b08ac]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x180018fa4
lea rcx, [rbx + 0x18]
cmp rcx, 0x40000
jbe 0x180018fc6
lea rax, [rcx + 4]
cmp rax, r14
jae 0x180018fc6
mov dword [rcx], 0x41200000
jmp 0x180018fc6
add rbx, 0x18
cmp rbx, 0x40000
jbe 0x180018fc6
lea rax, [rbx + 4]
cmp rax, r14
jae 0x180018fc6
movss xmm0, dword [0x1801ad1dc]
movss dword [rbx], xmm0
cmp byte [0x1801b0879], r15b
mov rbx, qword [rsp + 0x1a8]
je 0x180019009
mov rax, qword [0x1801b0790]
add rax, 0x282e130
call rax
movss xmm1, dword [0x1801ad20c]
mov rcx, rax
mov rdx, qword [0x1801b0790]
mulss xmm1, dword [0x180198684]
add rdx, 0x282e480
call rdx
cmp byte [0x1801b0887], r15b
je 0x18001906c
call fcn.18000c3b0
add rax, 0x6a0
cmp rax, 0x40000
jbe 0x18001906c
lea rcx, [rax + 8]
cmp rcx, r14
jae 0x18001906c
mov rcx, qword [rax]
mov rdx, rcx
lea r8, [rcx + 0xc4]
cmp r8, 0x40000
jbe 0x180019050
lea rax, [r8 + 4]
cmp rax, r14
jae 0x180019050
mov dword [r8], r15d
lea rcx, [rdx + 0xc8]
cmp rcx, 0x40000
jbe 0x18001906c
lea rax, [rcx + 4]
cmp rax, r14
jae 0x18001906c
mov dword [rcx], r15d
cmp byte [0x1801b0889], r15b
je 0x1800190b1
call fcn.18000c3b0
lea rcx, [rax + 0x8b0]
cmp rcx, 0x40000
jbe 0x1800190b1
lea rax, [rcx + 4]
cmp rax, r14
jae 0x180019097
mov edx, dword [rcx]
jmp 0x1800190ac
cmp rcx, 0x40000
jbe 0x1800190b1
lea rax, [rcx + 4]
mov edx, r15d
cmp rax, r14
jae 0x1800190b1
or edx, 4
mov dword [rcx], edx
cmp byte [0x1801b0875], r15b
je 0x1800190fc
call fcn.18000c3b0
lea rcx, [rax + 0x8b0]
cmp rcx, 0x40000
jbe 0x1800190fc
lea rax, [rcx + 4]
cmp rax, r14
jae 0x1800190dc
mov edx, dword [rcx]
jmp 0x1800190f1
cmp rcx, 0x40000
jbe 0x1800190fc
lea rax, [rcx + 4]
mov edx, r15d
cmp rax, r14
jae 0x1800190fc
mov eax, r15d
cmp edx, 4
sete al
mov dword [rcx], eax
cmp byte [0x1801b087a], r15b
je 0x180019167
call fcn.18000c3b0
mov rcx, qword [0x1801b0790]
add rcx, 0x3331268
cmp rcx, 0x40000
jbe 0x180019167
lea rax, [rcx + 8]
cmp rax, r14
jae 0x180019167
mov rcx, qword [rcx]
add rcx, 0xb8
cmp rcx, 0x40000
jbe 0x180019167
lea rax, [rcx + 8]
cmp rax, r14
jae 0x180019167
mov rcx, qword [rcx]
cmp rcx, 0x40000
jbe 0x180019167
lea rax, [rcx + 4]
cmp rax, r14
jae 0x180019167
movss xmm0, dword [0x1801ad19c]
movss dword [rcx], xmm0
cmp byte [0x1801b0893], r15b
je 0x1800191c1
mov ecx, dword [0x1801b08bc]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x1800191c1
call fcn.18000c3b0
add rax, 0x8b8
cmp rax, 0x40000
jbe 0x1800191c1
lea rcx, [rax + 8]
cmp rcx, r14
jae 0x1800191c1
mov rcx, qword [rax]
add rcx, 0x38
cmp rcx, 0x40000
jbe 0x1800191c1
lea rax, [rcx + 0xc]
cmp rax, r14
jae 0x1800191c1
mov dword [rcx], r15d
mov qword [rcx + 4], 0x3fc00000
add rsp, 0x180
pop r15
pop r14
pop rbp
ret
lea rcx, [0x1801e6b58]
call fcn.1800f6418
cmp dword [0x1801e6b58], 0xffffffff
jne 0x180018cce
mov ecx, 0xc566d10
call fcn.180008dc0
lea rcx, [0x1801e6b58]
mov qword [0x1801e6a18], rax
call fcn.1800f63ac
jmp 0x180018cce
lea rcx, [0x1801e7034]
call fcn.1800f6418
cmp dword [0x1801e7034], 0xffffffff
jne 0x180018db8
mov ecx, 0x43f29029
call fcn.180008dc0
lea rcx, [0x1801e7034]
mov qword [0x1801e6e10], rax
call fcn.1800f63ac
jmp 0x180018db8