Function at 0x18002a5f0
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
lea rbp, [rsp - 0x70]
sub rsp, 0x170
movss xmm0, dword [0x1803a07a4]
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
movaps xmmword [rax - 0x28], xmm6
xorps xmm6, xmm6
ucomiss xmm0, xmm6
mov r12d, 4
jne 0x18002a66e
call fcn.18001a950
mov rbx, rax
test rax, rax
je 0x18002a666
mov rax, qword gs:[0x58]
mov ecx, dword [0x1803a01e4]
mov rcx, qword [rax + rcx*8]
mov eax, dword [r12 + rcx]
cmp dword [0x1803d7478], eax
jg 0x18002ac94
mov rax, qword [0x1803d7288]
movss xmm6, dword [rax + rbx]
movss dword [0x1803a07a4], xmm6
call fcn.18001a950
mov rcx, rax
call fcn.18001a7e0
xor r15d, r15d
mov rdi, rax
movabs r14, 0x7fffffff0000
lea rdx, [rax + 0x20]
cmp rdx, 0x40000
jbe 0x18002a898
lea rcx, [rdx + 8]
cmp rcx, r14
jae 0x18002a6c6
mov rcx, qword [rdx]
add rcx, 0x18
cmp rcx, 0x40000
jbe 0x18002a6c6
lea rax, [rcx + 4]
cmp rax, r14
jae 0x18002a6c6
cmp dword [rcx], 0x40547fde
je 0x18002a70d
cmp rdx, 0x40000
jbe 0x18002a898
lea rax, [rdx + 8]
cmp rax, r14
jae 0x18002a898
mov rcx, qword [rdx]
add rcx, 0x18
cmp rcx, 0x40000
jbe 0x18002a898
lea rax, [rcx + 4]
cmp rax, r14
jae 0x18002a898
cmp dword [rcx], 0x847b9bf0
jne 0x18002a898
cmp byte [0x1803a06d6], r15b
je 0x18002a898
call fcn.18001a950
mov rbx, rax
test rax, rax
je 0x18002a763
mov rcx, qword gs:[0x58]
mov edx, dword [0x1803a01e4]
mov rdx, qword [rcx + rdx*8]
mov ecx, dword [r12 + rdx]
cmp dword [0x1803d7e88], ecx
jg 0x18002accf
mov rax, qword [0x1803d7980]
movss xmm0, dword [rax + rbx]
comiss xmm0, dword [0x1801b64e0]
jae 0x18002a898
lea rcx, [rdi + 0x98]
cmp rcx, 0x40000
jbe 0x18002a88b
lea rax, [rcx + 8]
cmp rax, r14
jae 0x18002a88b
mov rdi, qword [rcx]
lea rcx, [rdi + 0x188]
cmp rcx, 0x40000
jbe 0x18002a88b
lea rax, [rcx + 1]
cmp rax, r14
jae 0x18002a88b
movzx ebx, byte [rcx]
call fcn.18001a950
mov rcx, rax
call fcn.180019ae0
movss xmm6, dword [rax]
test bl, bl
je 0x18002a898
movss xmm0, dword [0x1803a07a4]
addss xmm0, dword [0x1801b5fa0]
comiss xmm6, xmm0
jbe 0x18002a898
mov r8, qword [0x1803a0590]
lea r9, str.UseSelf
add r8, 0x2ffe00
mov dword [rsp + 0x30], 7
mov edx, r15d
mov rcx, r15
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 0x18002a800
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 [0x1803a07a4], xmm6
jmp 0x18002a898
call fcn.18001a950
mov rcx, rax
call fcn.180019ae0
cmp byte [0x1803a06e9], r15b
mov rdi, qword [rsp + 0x1a0]
mov rbx, qword [rsp + 0x198]
je 0x18002a948
mov ecx, dword [0x1803a0750]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x18002a90b
call fcn.18001a950
lea rcx, [rax + 0x4d0]
cmp rcx, 0x40000
jbe 0x18002a948
lea rax, [rcx + 8]
cmp rax, r14
jae 0x18002a948
mov rcx, qword [rcx]
add rcx, 0x74
cmp rcx, 0x40000
jbe 0x18002a948
lea rax, [rcx + 4]
cmp rax, r14
jae 0x18002a948
movss xmm0, dword [0x1803a0698]
movss dword [rcx], xmm0
jmp 0x18002a948
call fcn.18001a950
lea rcx, [rax + 0x4d0]
cmp rcx, 0x40000
jbe 0x18002a948
lea rax, [rcx + 8]
cmp rax, r14
jae 0x18002a948
mov rcx, qword [rcx]
add rcx, 0x74
cmp rcx, 0x40000
jbe 0x18002a948
lea rax, [rcx + 4]
cmp rax, r14
jae 0x18002a948
mov dword [rcx], 0x40200000
cmp byte [0x1803a0649], r15b
movss xmm6, dword [0x180275f20]
je 0x18002a979
mov ecx, dword [0x1803a0730]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x18002a979
call fcn.180016c50
movss xmm6, dword [0x1801b642c]
jmp 0x18002a97e
call fcn.180016c50
subss xmm6, dword [rax]
mulss xmm6, dword [0x1801b5ecc]
addss xmm6, dword [rax]
call fcn.180016c50
movss dword [rax], xmm6
cmp byte [0x1803a0645], r15b
je 0x18002a9de
mov rax, qword gs:[0x58]
mov ecx, dword [0x1803a01e4]
movss xmm6, dword [0x180275ddc]
mov rcx, qword [rax + rcx*8]
mov eax, dword [r12 + rcx]
cmp dword [0x1803d79d8], eax
jg 0x18002ad0a
mov rax, qword [0x1803d7190]
mov rcx, qword [rax + 0xb8]
movss dword [rcx + 0x14], xmm6
cmp byte [0x1803a06ca], r15b
movaps xmm6, xmmword [rsp + 0x160]
mov r12, qword [rsp + 0x1a8]
je 0x18002aa16
call qword [0x1803c19f0]
movss xmm1, dword [0x180275f2c]
mov rcx, rax
mulss xmm1, dword [0x1801b5e00]
call qword [0x1803c19f8]
cmp byte [0x1803a06e0], r15b
je 0x18002aa79
call fcn.18001a950
add rax, 0x4d0
cmp rax, 0x40000
jbe 0x18002aa79
lea rcx, [rax + 8]
cmp rcx, r14
jae 0x18002aa79
mov rcx, qword [rax]
mov rdx, rcx
lea r8, [rcx + 0xb4]
cmp r8, 0x40000
jbe 0x18002aa5d
lea rax, [r8 + 4]
cmp rax, r14
jae 0x18002aa5d
mov dword [r8], r15d
lea rcx, [rdx + 0xb8]
cmp rcx, 0x40000
jbe 0x18002aa79
lea rax, [rcx + 4]
cmp rax, r14
jae 0x18002aa79
mov dword [rcx], r15d
cmp byte [0x1803a06e2], r15b
je 0x18002aabe
call fcn.18001a950
lea rcx, [rax + 0x5f8]
cmp rcx, 0x40000
jbe 0x18002aabe
lea rax, [rcx + 4]
cmp rax, r14
jae 0x18002aaa4
mov edx, dword [rcx]
jmp 0x18002aab9
cmp rcx, 0x40000
jbe 0x18002aabe
lea rax, [rcx + 4]
mov edx, r15d
cmp rax, r14
jae 0x18002aabe
or edx, 4
mov dword [rcx], edx
cmp byte [0x1803a06b9], r15b
je 0x18002ab09
call fcn.18001a950
lea rcx, [rax + 0x5f8]
cmp rcx, 0x40000
jbe 0x18002ab09
lea rax, [rcx + 4]
cmp rax, r14
jae 0x18002aae9
mov edx, dword [rcx]
jmp 0x18002aafe
cmp rcx, 0x40000
jbe 0x18002ab09
lea rax, [rcx + 4]
mov edx, r15d
cmp rax, r14
jae 0x18002ab09
mov eax, r15d
cmp edx, 4
sete al
mov dword [rcx], eax
cmp byte [0x1803a06d4], r15b
je 0x18002ac2d
call fcn.18001a950
mov eax, dword [0x1803a06bc]
mov rdx, qword [0x1803a0590]
test eax, eax
jne 0x18002aba0
lea rcx, [rdx + 0x2998760]
cmp rcx, 0x40000
jbe 0x18002ac2d
lea rax, [rcx + 8]
cmp rax, r14
jae 0x18002ac2d
mov rcx, qword [rcx]
add rcx, 0xb8
cmp rcx, 0x40000
jbe 0x18002ac2d
lea rax, [rcx + 8]
cmp rax, r14
jae 0x18002ac2d
mov rcx, qword [rcx]
cmp rcx, 0x40000
jbe 0x18002ac2d
lea rax, [rcx + 4]
cmp rax, r14
jae 0x18002ac2d
movss xmm0, dword [0x180275d7c]
movss dword [rcx], xmm0
mov eax, dword [0x1803a06bc]
cmp eax, 1
jne 0x18002ac2d
lea rcx, [rdx + 0x2998760]
cmp rcx, 0x40000
jbe 0x18002abe3
lea rax, [rcx + 8]
cmp rax, r14
jae 0x18002abe3
mov rcx, qword [rcx]
add rcx, 0xb8
cmp rcx, 0x40000
jbe 0x18002abe3
lea rax, [rcx + 8]
cmp rax, r14
jae 0x18002abe3
mov rcx, qword [rcx]
jmp 0x18002abe6
mov rcx, r15
movss xmm0, dword [0x1803d6600]
addss xmm0, dword [0x180275d8c]
comiss xmm0, dword [0x1801b6464]
movss dword [0x1803d6600], xmm0
jbe 0x18002ac17
movss xmm0, dword [0x1801b5ea8]
movss dword [0x1803d6600], xmm0
cmp rcx, 0x40000
jbe 0x18002ac2d
lea rax, [rcx + 4]
cmp rax, r14
jae 0x18002ac2d
movss dword [rcx], xmm0
cmp byte [0x1803a06ff], r15b
je 0x18002ac87
mov ecx, dword [0x1803a0744]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x18002ac87
call fcn.18001a950
add rax, 0x600
cmp rax, 0x40000
jbe 0x18002ac87
lea rcx, [rax + 8]
cmp rcx, r14
jae 0x18002ac87
mov rcx, qword [rax]
add rcx, 0x38
cmp rcx, 0x40000
jbe 0x18002ac87
lea rax, [rcx + 0xc]
cmp rax, r14
jae 0x18002ac87
mov dword [rcx], r15d
mov qword [rcx + 4], 0x3fc00000
add rsp, 0x170
pop r15
pop r14
pop rbp
ret
lea rcx, [0x1803d7478]
call fcn.180111e04
cmp dword [0x1803d7478], 0xffffffff
jne 0x18002a65a
mov ecx, 0xc566d10
call fcn.180015240
lea rcx, [0x1803d7478]
mov qword [0x1803d7288], rax
call fcn.180111da4
jmp 0x18002a65a
lea rcx, [0x1803d7e88]
call fcn.180111e04
cmp dword [0x1803d7e88], 0xffffffff
jne 0x18002a74a
mov ecx, 0x43f29029
call fcn.180015240
lea rcx, [0x1803d7e88]
mov qword [0x1803d7980], rax
call fcn.180111da4
jmp 0x18002a74a
lea rcx, [0x1803d79d8]
call fcn.180111e04
cmp dword [0x1803d79d8], 0xffffffff
jne 0x18002a9cb
mov ecx, 0xe714efe7
call fcn.1800112c0
lea rcx, [0x1803d79d8]
mov qword [0x1803d7190], rax
call fcn.180111da4
jmp 0x18002a9cb