Function at 0x180019db0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r15
sub rsp, 0x60
movss xmm0, dword [0x18033a78c]
mov esi, dword [0x180339f64]
movaps xmmword [rsp + 0x50], xmm6
xorps xmm6, xmm6
ucomiss xmm0, xmm6
mov r15d, 4
mov ebx, r15d
jne 0x180019e5c
mov rax, qword [0x18033a640]
add rax, 0x40cbe0
call rax
mov rdi, rax
test rax, rax
je 0x180019e54
mov rax, qword gs:[0x58]
mov rcx, qword [rax + rsi*8]
mov eax, dword [r15 + rcx]
cmp dword [0x180370830], eax
jle 0x180019e48
lea rcx, [0x180370830]
call fcn.180081ce8
cmp dword [0x180370830], 0xffffffff
jne 0x180019e48
mov ecx, 0xc566d10
call fcn.18000e7c0
lea rcx, [0x180370830]
mov qword [0x1803706f8], rax
call fcn.180081c7c
mov rax, qword [0x1803706f8]
movss xmm6, dword [rax + rdi]
movss dword [0x18033a78c], xmm6
mov rax, qword [0x18033a640]
add rax, 0x40cbe0
call rax
mov rcx, rax
call fcn.180014690
cmp byte [0x18033a713], 0
mov rdi, rax
je 0x18001a115
mov qword [rsp + 0x88], r14
test rax, rax
je 0x180019f53
mov rcx, qword gs:[0x58]
mov rdx, qword [rcx + rsi*8]
mov ecx, dword [r15 + rdx]
cmp dword [0x180370760], ecx
jle 0x180019edf
lea rcx, [0x180370760]
call fcn.180081ce8
cmp dword [0x180370760], 0xffffffff
jne 0x180019edf
mov ecx, 0x754c7fa7
call fcn.18000e7c0
lea rcx, [0x180370760]
mov qword [0x180370d88], rax
call fcn.180081c7c
mov rax, qword [0x180370d88]
mov rbp, qword [rax + rdi]
test rbp, rbp
je 0x180019f53
mov rax, qword gs:[0x58]
mov rcx, qword [rax + rsi*8]
mov eax, dword [r15 + rcx]
cmp dword [0x180370a44], eax
jle 0x180019f3a
lea rcx, [0x180370a44]
call fcn.180081ce8
cmp dword [0x180370a44], 0xffffffff
jne 0x180019f3a
mov ecx, 0xcf6c2c0b
call fcn.18000e7c0
lea rcx, [0x180370a44]
mov qword [0x1803709f8], rax
call fcn.180081c7c
mov rax, qword [0x1803709f8]
mov r14, rbx
cmp dword [rax + rbp], 0x40547fde
je 0x18001a01d
jmp 0x180019f56
mov r14, rbx
test rdi, rdi
je 0x18001a10d
mov rax, qword gs:[0x58]
mov rcx, qword [rax + rsi*8]
mov eax, dword [r15 + rcx]
cmp dword [0x180370760], eax
jle 0x180019faa
lea rcx, [0x180370760]
call fcn.180081ce8
cmp dword [0x180370760], 0xffffffff
jne 0x180019faa
mov ecx, 0x754c7fa7
call fcn.18000e7c0
lea rcx, [0x180370760]
mov qword [0x180370d88], rax
call fcn.180081c7c
mov rax, qword [0x180370d88]
mov rdi, qword [rax + rdi]
test rdi, rdi
je 0x18001a10d
mov rax, qword gs:[0x58]
mov rcx, qword [rax + rsi*8]
mov eax, dword [r15 + rcx]
cmp dword [0x180370a44], eax
jle 0x18001a009
lea rcx, [0x180370a44]
call fcn.180081ce8
cmp dword [0x180370a44], 0xffffffff
jne 0x18001a009
mov ecx, 0xcf6c2c0b
call fcn.18000e7c0
lea rcx, [0x180370a44]
mov qword [0x1803709f8], rax
call fcn.180081c7c
mov rax, qword [0x1803709f8]
cmp dword [rdi + rax], 0x847b9bf0
jne 0x18001a10d
mov rax, qword [0x18033a640]
add rax, 0x40cbe0
call rax
mov rbx, rax
test rax, rax
je 0x18001a094
mov rcx, qword gs:[0x58]
mov rdx, qword [rcx + rsi*8]
mov ecx, dword [r14 + rdx]
cmp dword [0x180370d7c], ecx
jle 0x18001a07f
lea rcx, [0x180370d7c]
call fcn.180081ce8
cmp dword [0x180370d7c], 0xffffffff
jne 0x18001a07f
mov ecx, 0x43f29029
call fcn.18000e7c0
lea rcx, [0x180370d7c]
mov qword [0x180370b58], rax
call fcn.180081c7c
mov rax, qword [0x180370b58]
movss xmm0, dword [rbx + rax]
comiss xmm0, dword [0x180272690]
jae 0x18001a10d
mov rax, qword [0x18033a640]
add rax, 0x40cbe0
call rax
mov rcx, rax
call fcn.180041ca0
mov rcx, qword [0x18033a640]
mov rbx, rax
add rcx, 0x40cbe0
call rcx
mov rcx, rax
call fcn.180013fc0
movss xmm0, dword [0x18033a78c]
addss xmm0, dword [0x180272200]
comiss xmm0, dword [rax]
jae 0x18001a10d
lea rdx, str.UseSelf
mov rcx, rbx
call fcn.180012ac0
mov rax, qword [0x18033a640]
add rax, 0x40cbe0
call rax
mov rcx, rax
call fcn.180013fc0
movss xmm0, dword [rax]
movss dword [0x18033a78c], xmm0
mov r14, qword [rsp + 0x88]
mov rcx, qword [0x18033a640]
xor ebp, ebp
add rcx, 0x299b4c0
movabs rdi, 0x7fffffff0000
cmp rcx, 0x40000
jbe 0x18001a162
lea rax, [rcx + 8]
cmp rax, rdi
jae 0x18001a162
mov rbx, qword [rcx]
add rbx, 0xb8
cmp rbx, 0x40000
jbe 0x18001a162
lea rax, [rbx + 8]
cmp rax, rdi
jae 0x18001a162
mov rbx, qword [rbx]
jmp 0x18001a165
mov rbx, rbp
cmp byte [0x18033a6c2], bpl
je 0x18001a19d
mov ecx, dword [0x18033a750]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x18001a19d
lea rcx, [rbx + 0x18]
cmp rcx, 0x40000
jbe 0x18001a1bf
lea rax, [rcx + 4]
cmp rax, rdi
jae 0x18001a1bf
mov dword [rcx], 0x41200000
jmp 0x18001a1bf
lea rcx, [rbx + 0x18]
cmp rcx, 0x40000
jbe 0x18001a1bf
lea rax, [rcx + 4]
cmp rax, rdi
jae 0x18001a1bf
movss xmm0, dword [0x1802863ac]
movss dword [rcx], xmm0
cmp byte [0x18033a720], bpl
je 0x18001a1cd
call fcn.1800139e0
cmp byte [0x18033a71e], bpl
je 0x18001a239
mov rax, qword [0x18033a640]
add rax, 0x40cbe0
call rax
add rax, 0x4d0
cmp rax, 0x40000
jbe 0x18001a239
lea rcx, [rax + 8]
cmp rcx, rdi
jae 0x18001a239
mov rcx, qword [rax]
mov rdx, rcx
lea r8, [rcx + 0xb4]
cmp r8, 0x40000
jbe 0x18001a21e
lea rax, [r8 + 4]
cmp rax, rdi
jae 0x18001a21e
mov dword [r8], ebp
lea rcx, [rdx + 0xb8]
cmp rcx, 0x40000
jbe 0x18001a239
lea rax, [rcx + 4]
cmp rax, rdi
jae 0x18001a239
mov dword [rcx], ebp
cmp byte [0x18033a721], bpl
je 0x18001a28a
mov rax, qword [0x18033a640]
add rax, 0x40cbe0
call rax
lea rcx, [rax + 0x5f8]
cmp rcx, 0x40000
jbe 0x18001a28a
lea rax, [rcx + 4]
cmp rax, rdi
jae 0x18001a271
mov edx, dword [rcx]
or edx, 4
jmp 0x18001a288
cmp rcx, 0x40000
jbe 0x18001a28a
lea rax, [rcx + 4]
mov edx, 4
cmp rax, rdi
jae 0x18001a28a
mov dword [rcx], edx
cmp byte [0x18033a712], bpl
je 0x18001a2ff
mov rax, qword [0x18033a640]
add rax, 0x40cbe0
call rax
mov rcx, qword [0x18033a640]
add rcx, 0x2998760
cmp rcx, 0x40000
jbe 0x18001a2ff
lea rax, [rcx + 8]
cmp rax, rdi
jae 0x18001a2ff
mov rcx, qword [rcx]
add rcx, 0xb8
cmp rcx, 0x40000
jbe 0x18001a2ff
lea rax, [rcx + 8]
cmp rax, rdi
jae 0x18001a2ff
mov rcx, qword [rcx]
cmp rcx, 0x40000
jbe 0x18001a2ff
lea rax, [rcx + 4]
cmp rax, rdi
jae 0x18001a2ff
movss xmm0, dword [0x1802863a8]
movss dword [rcx], xmm0
cmp byte [0x18033a711], bpl
je 0x18001a30d
call fcn.1800139e0
cmp byte [0x18033a72e], bpl
je 0x18001a50f
mov ecx, dword [0x18033a760]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x18001a50f
mov rax, qword [0x18033a640]
movaps xmmword [rsp + 0x30], xmm8
add rax, 0x40cbe0
movaps xmmword [rsp + 0x40], xmm7
call rax
mov edx, dword [0x180370dd8]
mov rbx, rax
test edx, edx
je 0x18001a36b
sub edx, 1
je 0x18001a36b
cmp edx, 1
je 0x18001a36b
movss xmm7, dword [rsp + 0x80]
jmp 0x18001a374
call qword [0x180370dd0]
movaps xmm7, xmm0
test rbx, rbx
jne 0x18001a3b5
mov rcx, rbx
call fcn.180014480
subss xmm7, dword [0x1802720f8]
movaps xmm8, xmm0
lea rax, [rsp + 0x20]
mulss xmm7, dword [0x180272450]
addss xmm7, dword [0x180272140]
mulss xmm8, xmm7
addss xmm8, dword [0x1802720d0]
jmp 0x18001a4f9
mov rax, qword gs:[0x58]
mov rdx, qword [rax + rsi*8]
mov eax, dword [r15 + rdx]
cmp dword [0x180370830], eax
jle 0x18001a400
lea rcx, [0x180370830]
call fcn.180081ce8
cmp dword [0x180370830], 0xffffffff
jne 0x18001a400
mov ecx, 0xc566d10
call fcn.18000e7c0
lea rcx, [0x180370830]
mov qword [0x1803706f8], rax
call fcn.180081c7c
mov rax, qword [0x1803706f8]
mov rcx, rbx
movss xmm6, dword [rbx + rax]
call fcn.180014480
mov rax, qword gs:[0x58]
subss xmm7, xmm6
movaps xmm8, xmm0
mov rcx, qword [rax + rsi*8]
subss xmm7, dword [0x1802720f8]
mov eax, dword [r15 + rcx]
cmp dword [0x180370924], eax
mulss xmm7, dword [0x180272450]
addss xmm7, dword [0x180272140]
mulss xmm8, xmm7
addss xmm8, dword [0x1802720d0]
jle 0x18001a48d
lea rcx, [0x180370924]
call fcn.180081ce8
cmp dword [0x180370924], 0xffffffff
jne 0x18001a48d
mov ecx, 0x6d5c7dd2
call fcn.18000e7c0
lea rcx, [0x180370924]
mov qword [0x180370d10], rax
call fcn.180081c7c
mov rax, qword [0x180370d10]
mov rbx, qword [rbx + rax]
test rbx, rbx
jne 0x18001a4a4
lea rax, [rsp + 0x20]
jmp 0x18001a4f9
mov rax, qword gs:[0x58]
mov rcx, qword [rax + rsi*8]
mov eax, dword [r15 + rcx]
cmp dword [0x180370870], eax
jle 0x18001a4ef
lea rcx, [0x180370870]
call fcn.180081ce8
cmp dword [0x180370870], 0xffffffff
jne 0x18001a4ef
mov ecx, 0x7cd71351
call fcn.18000e7c0
lea rcx, [0x180370870]
mov qword [0x1803708b0], rax
call fcn.180081c7c
mov rax, qword [0x1803708b0]
add rax, rbx
mov dword [rax], ebp
movss dword [rax + 4], xmm8
mov dword [rax + 8], ebp
movaps xmm8, xmmword [rsp + 0x30]
movaps xmm7, xmmword [rsp + 0x40]
movaps xmm6, xmmword [rsp + 0x50]
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop rdi
pop rsi
ret