Function at 0x180019640
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 [0x180295860]
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax - 0x20], rdi
mov edi, dword [0x180295024]
mov qword [rax - 0x28], r12
movaps xmmword [rax - 0x38], xmm6
xorps xmm6, xmm6
ucomiss xmm0, xmm6
mov r12d, 4
jne 0x1800196cc
mov rax, qword [0x180295700]
add rax, 0x40cbe0
call rax
mov rbx, rax
test rax, rax
je 0x1800196c4
mov rax, qword gs:[0x58]
mov rax, qword [rax + rdi*8]
mov eax, dword [r12 + rax]
cmp dword [0x1802cb928], eax
jg 0x180019baa
mov rax, qword [0x1802cb7d8]
movss xmm6, dword [rax + rbx]
movss dword [0x180295860], xmm6
mov rax, qword [0x180295700]
add rax, 0x40cbe0
call rax
mov rcx, rax
call fcn.180014ef0
xor r15d, r15d
mov rsi, rax
movabs r14, 0x7fffffff0000
lea rdx, [rax + 0x20]
cmp rdx, 0x40000
jbe 0x180019922
lea rcx, [rdx + 8]
cmp rcx, r14
jae 0x18001972e
mov rcx, qword [rdx]
add rcx, 0x18
cmp rcx, 0x40000
jbe 0x18001972e
lea rax, [rcx + 4]
cmp rax, r14
jae 0x18001972e
cmp dword [rcx], 0x40547fde
je 0x180019775
cmp rdx, 0x40000
jbe 0x180019922
lea rax, [rdx + 8]
cmp rax, r14
jae 0x180019922
mov rcx, qword [rdx]
add rcx, 0x18
cmp rcx, 0x40000
jbe 0x180019922
lea rax, [rcx + 4]
cmp rax, r14
jae 0x180019922
cmp dword [rcx], 0x847b9bf0
jne 0x180019922
cmp byte [0x1802957de], r15b
je 0x180019922
mov rax, qword [0x180295700]
add rax, 0x40cbe0
call rax
mov rbx, rax
test rax, rax
je 0x1800197cf
mov rcx, qword gs:[0x58]
mov rcx, qword [rcx + rdi*8]
mov ecx, dword [r12 + rcx]
cmp dword [0x1802cbea4], ecx
jg 0x180019be5
mov rax, qword [0x1802cbc70]
movss xmm0, dword [rbx + rax]
comiss xmm0, dword [0x180264b50]
jae 0x180019922
lea rcx, [rsi + 0x98]
cmp rcx, 0x40000
jbe 0x18001990b
lea rax, [rcx + 8]
cmp rax, r14
jae 0x18001990b
mov rdi, qword [rcx]
lea rbx, [rdi + 0x188]
cmp rbx, 0x40000
jbe 0x18001990b
lea rax, [rbx + 1]
cmp rax, r14
jae 0x18001990b
mov rax, qword [0x180295700]
movzx ebx, byte [rbx]
add rax, 0x40cbe0
call rax
mov rcx, rax
call fcn.180014820
movss xmm6, dword [rax]
test bl, bl
je 0x180019922
movss xmm0, dword [0x180295860]
addss xmm0, dword [0x180264680]
comiss xmm6, xmm0
jbe 0x180019922
mov r8, qword [0x180295700]
lea r9, str.UseSelf
add r8, 0x2ffe00
mov dword [rsp + 0x30], 7
mov edx, r15d
mov rcx, r15
nop word [rax + rax]
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 0x180019880
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 [0x180295860], xmm6
jmp 0x180019922
mov rax, qword [0x180295700]
add rax, 0x40cbe0
call rax
mov rcx, rax
call fcn.180014820
mov rcx, qword [0x180295700]
movaps xmm6, xmmword [rsp + 0x160]
add rcx, 0x299b4c0
mov r12, qword [rsp + 0x170]
mov rdi, qword [rsp + 0x178]
mov rsi, qword [rsp + 0x1b0]
cmp rcx, 0x40000
jbe 0x180019983
lea rax, [rcx + 8]
cmp rax, r14
jae 0x180019983
mov rbx, qword [rcx]
add rbx, 0xb8
cmp rbx, 0x40000
jbe 0x180019983
lea rax, [rbx + 8]
cmp rax, r14
jae 0x180019983
mov rbx, qword [rbx]
jmp 0x180019986
mov rbx, r15
cmp byte [0x18029578a], r15b
je 0x1800199be
mov ecx, dword [0x180295814]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x1800199be
lea rcx, [rbx + 0x18]
cmp rcx, 0x40000
jbe 0x1800199e0
lea rax, [rcx + 4]
cmp rax, r14
jae 0x1800199e0
mov dword [rcx], 0x41200000
jmp 0x1800199e0
add rbx, 0x18
cmp rbx, 0x40000
jbe 0x1800199e0
lea rax, [rbx + 4]
cmp rax, r14
jae 0x1800199e0
movss xmm0, dword [0x1802783ac]
movss dword [rbx], xmm0
cmp byte [0x1802957e7], r15b
mov rbx, qword [rsp + 0x1a8]
je 0x1800199f6
call fcn.180014240
cmp byte [0x1802957e5], r15b
je 0x180019a63
mov rax, qword [0x180295700]
add rax, 0x40cbe0
call rax
add rax, 0x4d0
cmp rax, 0x40000
jbe 0x180019a63
lea rcx, [rax + 8]
cmp rcx, r14
jae 0x180019a63
mov rcx, qword [rax]
mov rdx, rcx
lea r8, [rcx + 0xb4]
cmp r8, 0x40000
jbe 0x180019a47
lea rax, [r8 + 4]
cmp rax, r14
jae 0x180019a47
mov dword [r8], r15d
lea rcx, [rdx + 0xb8]
cmp rcx, 0x40000
jbe 0x180019a63
lea rax, [rcx + 4]
cmp rax, r14
jae 0x180019a63
mov dword [rcx], r15d
cmp byte [0x1802957e8], r15b
je 0x180019ab2
mov rax, qword [0x180295700]
add rax, 0x40cbe0
call rax
lea rcx, [rax + 0x5f8]
cmp rcx, 0x40000
jbe 0x180019ab2
lea rax, [rcx + 4]
cmp rax, r14
jae 0x180019a98
mov edx, dword [rcx]
jmp 0x180019aad
cmp rcx, 0x40000
jbe 0x180019ab2
lea rax, [rcx + 4]
mov edx, r15d
cmp rax, r14
jae 0x180019ab2
or edx, 4
mov dword [rcx], edx
cmp byte [0x1802957dd], r15b
je 0x180019b27
mov rax, qword [0x180295700]
add rax, 0x40cbe0
call rax
mov rcx, qword [0x180295700]
add rcx, 0x2998760
cmp rcx, 0x40000
jbe 0x180019b27
lea rax, [rcx + 8]
cmp rax, r14
jae 0x180019b27
mov rcx, qword [rcx]
add rcx, 0xb8
cmp rcx, 0x40000
jbe 0x180019b27
lea rax, [rcx + 8]
cmp rax, r14
jae 0x180019b27
mov rcx, qword [rcx]
cmp rcx, 0x40000
jbe 0x180019b27
lea rax, [rcx + 4]
cmp rax, r14
jae 0x180019b27
movss xmm0, dword [0x1802783a8]
movss dword [rcx], xmm0
cmp byte [0x1802957dc], r15b
je 0x180019b35
call fcn.180014240
cmp byte [0x1802957f5], r15b
je 0x180019b9d
mov ecx, dword [0x180295824]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x180019b9d
mov rax, qword [0x180295700]
add rax, 0x40cbe0
call rax
lea rcx, [rax + 0x640]
cmp rcx, 0x400000
jbe 0x180019b9d
add rax, 0x648
cmp rax, r14
jae 0x180019b9d
mov rax, qword [rcx]
lea rcx, [rax + 0x38]
cmp rcx, 0x400000
jbe 0x180019b9d
add rax, 0x44
cmp rax, r14
jae 0x180019b9d
mov dword [rcx], r15d
mov qword [rcx + 4], 0x3fc00000
add rsp, 0x180
pop r15
pop r14
pop rbp
ret
lea rcx, [0x1802cb928]
call fcn.180081908
cmp dword [0x1802cb928], 0xffffffff
jne 0x1800196b8
mov ecx, 0xc566d10
call fcn.18000f080
lea rcx, [0x1802cb928]
mov qword [0x1802cb7d8], rax
call fcn.18008189c
jmp 0x1800196b8
lea rcx, [0x1802cbea4]
call fcn.180081908
cmp dword [0x1802cbea4], 0xffffffff
jne 0x1800197b6
mov ecx, 0x43f29029
call fcn.18000f080
lea rcx, [0x1802cbea4]
mov qword [0x1802cbc70], rax
call fcn.18008189c
jmp 0x1800197b6