Function at 0x180019dc0
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 [0x1802bfc4c]
mov esi, dword [0x1802bf424]
movaps xmmword [rsp + 0x50], xmm6
xorps xmm6, xmm6
ucomiss xmm0, xmm6
mov r15d, 4
mov ebx, r15d
jne 0x180019e6c
mov rax, qword [0x1802bfb00]
add rax, 0x40cbe0
call rax
mov rdi, rax
test rax, rax
je 0x180019e64
mov rax, qword gs:[0x58]
mov rcx, qword [rax + rsi*8]
mov eax, dword [r15 + rcx]
cmp dword [0x1802f5cf0], eax
jle 0x180019e58
lea rcx, [0x1802f5cf0]
call fcn.180081cf8
cmp dword [0x1802f5cf0], 0xffffffff
jne 0x180019e58
mov ecx, 0xc566d10
call fcn.18000e7d0
lea rcx, [0x1802f5cf0]
mov qword [0x1802f5bb8], rax
call fcn.180081c8c
mov rax, qword [0x1802f5bb8]
movss xmm6, dword [rax + rdi]
movss dword [0x1802bfc4c], xmm6
mov rax, qword [0x1802bfb00]
add rax, 0x40cbe0
call rax
mov rcx, rax
call fcn.1800146a0
cmp byte [0x1802bfbd3], 0
mov rdi, rax
je 0x18001a125
mov qword [rsp + 0x88], r14
test rax, rax
je 0x180019f63
mov rcx, qword gs:[0x58]
mov rdx, qword [rcx + rsi*8]
mov ecx, dword [r15 + rdx]
cmp dword [0x1802f5c20], ecx
jle 0x180019eef
lea rcx, [0x1802f5c20]
call fcn.180081cf8
cmp dword [0x1802f5c20], 0xffffffff
jne 0x180019eef
mov ecx, 0x754c7fa7
call fcn.18000e7d0
lea rcx, [0x1802f5c20]
mov qword [0x1802f6248], rax
call fcn.180081c8c
mov rax, qword [0x1802f6248]
mov rbp, qword [rax + rdi]
test rbp, rbp
je 0x180019f63
mov rax, qword gs:[0x58]
mov rcx, qword [rax + rsi*8]
mov eax, dword [r15 + rcx]
cmp dword [0x1802f5f04], eax
jle 0x180019f4a
lea rcx, [0x1802f5f04]
call fcn.180081cf8
cmp dword [0x1802f5f04], 0xffffffff
jne 0x180019f4a
mov ecx, 0xcf6c2c0b
call fcn.18000e7d0
lea rcx, [0x1802f5f04]
mov qword [0x1802f5eb8], rax
call fcn.180081c8c
mov rax, qword [0x1802f5eb8]
mov r14, rbx
cmp dword [rax + rbp], 0x40547fde
je 0x18001a02d
jmp 0x180019f66
mov r14, rbx
test rdi, rdi
je 0x18001a11d
mov rax, qword gs:[0x58]
mov rcx, qword [rax + rsi*8]
mov eax, dword [r15 + rcx]
cmp dword [0x1802f5c20], eax
jle 0x180019fba
lea rcx, [0x1802f5c20]
call fcn.180081cf8
cmp dword [0x1802f5c20], 0xffffffff
jne 0x180019fba
mov ecx, 0x754c7fa7
call fcn.18000e7d0
lea rcx, [0x1802f5c20]
mov qword [0x1802f6248], rax
call fcn.180081c8c
mov rax, qword [0x1802f6248]
mov rdi, qword [rax + rdi]
test rdi, rdi
je 0x18001a11d
mov rax, qword gs:[0x58]
mov rcx, qword [rax + rsi*8]
mov eax, dword [r15 + rcx]
cmp dword [0x1802f5f04], eax
jle 0x18001a019
lea rcx, [0x1802f5f04]
call fcn.180081cf8
cmp dword [0x1802f5f04], 0xffffffff
jne 0x18001a019
mov ecx, 0xcf6c2c0b
call fcn.18000e7d0
lea rcx, [0x1802f5f04]
mov qword [0x1802f5eb8], rax
call fcn.180081c8c
mov rax, qword [0x1802f5eb8]
cmp dword [rdi + rax], 0x847b9bf0
jne 0x18001a11d
mov rax, qword [0x1802bfb00]
add rax, 0x40cbe0
call rax
mov rbx, rax
test rax, rax
je 0x18001a0a4
mov rcx, qword gs:[0x58]
mov rdx, qword [rcx + rsi*8]
mov ecx, dword [r14 + rdx]
cmp dword [0x1802f623c], ecx
jle 0x18001a08f
lea rcx, [0x1802f623c]
call fcn.180081cf8
cmp dword [0x1802f623c], 0xffffffff
jne 0x18001a08f
mov ecx, 0x43f29029
call fcn.18000e7d0
lea rcx, [0x1802f623c]
mov qword [0x1802f6018], rax
call fcn.180081c8c
mov rax, qword [0x1802f6018]
movss xmm0, dword [rbx + rax]
comiss xmm0, dword [0x1802726f0]
jae 0x18001a11d
mov rax, qword [0x1802bfb00]
add rax, 0x40cbe0
call rax
mov rcx, rax
call fcn.180041cb0
mov rcx, qword [0x1802bfb00]
mov rbx, rax
add rcx, 0x40cbe0
call rcx
mov rcx, rax
call fcn.180013fd0
movss xmm0, dword [0x1802bfc4c]
addss xmm0, dword [0x180272260]
comiss xmm0, dword [rax]
jae 0x18001a11d
lea rdx, str.UseSelf
mov rcx, rbx
call fcn.180012ad0
mov rax, qword [0x1802bfb00]
add rax, 0x40cbe0
call rax
mov rcx, rax
call fcn.180013fd0
movss xmm0, dword [rax]
movss dword [0x1802bfc4c], xmm0
mov r14, qword [rsp + 0x88]
mov rcx, qword [0x1802bfb00]
xor ebp, ebp
add rcx, 0x299b4c0
movabs rdi, 0x7fffffff0000
cmp rcx, 0x40000
jbe 0x18001a172
lea rax, [rcx + 8]
cmp rax, rdi
jae 0x18001a172
mov rbx, qword [rcx]
add rbx, 0xb8
cmp rbx, 0x40000
jbe 0x18001a172
lea rax, [rbx + 8]
cmp rax, rdi
jae 0x18001a172
mov rbx, qword [rbx]
jmp 0x18001a175
mov rbx, rbp
cmp byte [0x1802bfb82], bpl
je 0x18001a1ad
mov ecx, dword [0x1802bfc10]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x18001a1ad
lea rcx, [rbx + 0x18]
cmp rcx, 0x40000
jbe 0x18001a1cf
lea rax, [rcx + 4]
cmp rax, rdi
jae 0x18001a1cf
mov dword [rcx], 0x41200000
jmp 0x18001a1cf
lea rcx, [rbx + 0x18]
cmp rcx, 0x40000
jbe 0x18001a1cf
lea rax, [rcx + 4]
cmp rax, rdi
jae 0x18001a1cf
movss xmm0, dword [0x1802863ac]
movss dword [rcx], xmm0
cmp byte [0x1802bfbe0], bpl
je 0x18001a1dd
call fcn.1800139f0
cmp byte [0x1802bfbde], bpl
je 0x18001a249
mov rax, qword [0x1802bfb00]
add rax, 0x40cbe0
call rax
add rax, 0x4d0
cmp rax, 0x40000
jbe 0x18001a249
lea rcx, [rax + 8]
cmp rcx, rdi
jae 0x18001a249
mov rcx, qword [rax]
mov rdx, rcx
lea r8, [rcx + 0xb4]
cmp r8, 0x40000
jbe 0x18001a22e
lea rax, [r8 + 4]
cmp rax, rdi
jae 0x18001a22e
mov dword [r8], ebp
lea rcx, [rdx + 0xb8]
cmp rcx, 0x40000
jbe 0x18001a249
lea rax, [rcx + 4]
cmp rax, rdi
jae 0x18001a249
mov dword [rcx], ebp
cmp byte [0x1802bfbe1], bpl
je 0x18001a29a
mov rax, qword [0x1802bfb00]
add rax, 0x40cbe0
call rax
lea rcx, [rax + 0x5f8]
cmp rcx, 0x40000
jbe 0x18001a29a
lea rax, [rcx + 4]
cmp rax, rdi
jae 0x18001a281
mov edx, dword [rcx]
or edx, 4
jmp 0x18001a298
cmp rcx, 0x40000
jbe 0x18001a29a
lea rax, [rcx + 4]
mov edx, 4
cmp rax, rdi
jae 0x18001a29a
mov dword [rcx], edx
cmp byte [0x1802bfbd2], bpl
je 0x18001a30f
mov rax, qword [0x1802bfb00]
add rax, 0x40cbe0
call rax
mov rcx, qword [0x1802bfb00]
add rcx, 0x2998760
cmp rcx, 0x40000
jbe 0x18001a30f
lea rax, [rcx + 8]
cmp rax, rdi
jae 0x18001a30f
mov rcx, qword [rcx]
add rcx, 0xb8
cmp rcx, 0x40000
jbe 0x18001a30f
lea rax, [rcx + 8]
cmp rax, rdi
jae 0x18001a30f
mov rcx, qword [rcx]
cmp rcx, 0x40000
jbe 0x18001a30f
lea rax, [rcx + 4]
cmp rax, rdi
jae 0x18001a30f
movss xmm0, dword [0x1802863a8]
movss dword [rcx], xmm0
cmp byte [0x1802bfbd1], bpl
je 0x18001a31d
call fcn.1800139f0
cmp byte [0x1802bfbee], bpl
je 0x18001a51f
mov ecx, dword [0x1802bfc20]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x18001a51f
mov rax, qword [0x1802bfb00]
movaps xmmword [rsp + 0x30], xmm8
add rax, 0x40cbe0
movaps xmmword [rsp + 0x40], xmm7
call rax
mov edx, dword [0x1802f6298]
mov rbx, rax
test edx, edx
je 0x18001a37b
sub edx, 1
je 0x18001a37b
cmp edx, 1
je 0x18001a37b
movss xmm7, dword [rsp + 0x80]
jmp 0x18001a384
call qword [0x1802f6290]
movaps xmm7, xmm0
test rbx, rbx
jne 0x18001a3c5
mov rcx, rbx
call fcn.180014490
subss xmm7, dword [0x180272158]
movaps xmm8, xmm0
lea rax, [rsp + 0x20]
mulss xmm7, dword [0x1802724b0]
addss xmm7, dword [0x1802721a0]
mulss xmm8, xmm7
addss xmm8, dword [0x180272130]
jmp 0x18001a509
mov rax, qword gs:[0x58]
mov rdx, qword [rax + rsi*8]
mov eax, dword [r15 + rdx]
cmp dword [0x1802f5cf0], eax
jle 0x18001a410
lea rcx, [0x1802f5cf0]
call fcn.180081cf8
cmp dword [0x1802f5cf0], 0xffffffff
jne 0x18001a410
mov ecx, 0xc566d10
call fcn.18000e7d0
lea rcx, [0x1802f5cf0]
mov qword [0x1802f5bb8], rax
call fcn.180081c8c
mov rax, qword [0x1802f5bb8]
mov rcx, rbx
movss xmm6, dword [rbx + rax]
call fcn.180014490
mov rax, qword gs:[0x58]
subss xmm7, xmm6
movaps xmm8, xmm0
mov rcx, qword [rax + rsi*8]
subss xmm7, dword [0x180272158]
mov eax, dword [r15 + rcx]
cmp dword [0x1802f5de4], eax
mulss xmm7, dword [0x1802724b0]
addss xmm7, dword [0x1802721a0]
mulss xmm8, xmm7
addss xmm8, dword [0x180272130]
jle 0x18001a49d
lea rcx, [0x1802f5de4]
call fcn.180081cf8
cmp dword [0x1802f5de4], 0xffffffff
jne 0x18001a49d
mov ecx, 0x6d5c7dd2
call fcn.18000e7d0
lea rcx, [0x1802f5de4]
mov qword [0x1802f61d0], rax
call fcn.180081c8c
mov rax, qword [0x1802f61d0]
mov rbx, qword [rbx + rax]
test rbx, rbx
jne 0x18001a4b4
lea rax, [rsp + 0x20]
jmp 0x18001a509
mov rax, qword gs:[0x58]
mov rcx, qword [rax + rsi*8]
mov eax, dword [r15 + rcx]
cmp dword [0x1802f5d30], eax
jle 0x18001a4ff
lea rcx, [0x1802f5d30]
call fcn.180081cf8
cmp dword [0x1802f5d30], 0xffffffff
jne 0x18001a4ff
mov ecx, 0x7cd71351
call fcn.18000e7d0
lea rcx, [0x1802f5d30]
mov qword [0x1802f5d70], rax
call fcn.180081c8c
mov rax, qword [0x1802f5d70]
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