Function at 0x1800cbd20
Capabilities:
Log keystrokes via polling

Disassembly:
push rsi
push rdi
mov eax, 0x1518
call fcn.18018abb0
sub rsp, rax
mov rax, qword [0x180259040]
xor rax, rsp
mov qword [rsp + 0x1500], rax
mov ecx, dword [0x18078e1c4]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
and eax, 0x8000
test eax, eax
jne 0x1800cbd64
mov byte [0x18078d90b], 0
jmp 0x1800cc1ed
mov qword [rsp + 0x30], 0
mov eax, dword [0x180781a48]
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0
je 0x1800cbd8e
cmp dword [rsp + 0x38], 1
je 0x1800cbd9c
cmp dword [rsp + 0x38], 2
je 0x1800cbdaa
jmp 0x1800cbdb6
mov cl, 1
call fcn.1800cae70
mov qword [rsp + 0x30], rax
jmp 0x1800cbdb6
mov cl, 1
call fcn.1800ca070
mov qword [rsp + 0x30], rax
jmp 0x1800cbdb6
mov cl, 1
call fcn.1800ca6e0
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x1800cbdca
mov byte [0x18078d90b], 0
jmp 0x1800cc1ed
mov r8d, 0x796e
mov rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0x110]
call fcn.1800c0a40
mov eax, dword [0x18078e1cc]
mov dword [rsp + 0x3c], eax
cmp dword [rsp + 0x3c], 6
ja case.default.0x1800cbe0d
movsxd rax, dword [rsp + 0x3c]
lea rcx, [0x180000000]
mov eax, dword [rcx + rax*4 + 0xcc208]
add rax, rcx
jmp rax
mov r8d, 0x796e
mov rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0xb8]
call fcn.1800c0a40
lea rcx, [rsp + 0x110]
mov rdi, rcx
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
jmp case.default.0x1800cbe0d
mov r8d, 0x9995
mov rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0xc4]
call fcn.1800c0a40
lea rcx, [rsp + 0x110]
mov rdi, rcx
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
jmp case.default.0x1800cbe0d
mov r8d, 0x2e28
mov rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0xd0]
call fcn.1800c0a40
lea rcx, [rsp + 0x110]
mov rdi, rcx
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
jmp case.default.0x1800cbe0d
mov r8d, 0x3779
mov rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0xdc]
call fcn.1800c0a40
lea rcx, [rsp + 0x110]
mov rdi, rcx
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
jmp case.default.0x1800cbe0d
mov r8d, 0xcc4d
mov rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0xe8]
call fcn.1800c0a40
lea rcx, [rsp + 0x110]
mov rdi, rcx
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
jmp case.default.0x1800cbe0d
mov r8d, 0xdead
mov rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0xf4]
call fcn.1800c0a40
lea rcx, [rsp + 0x110]
mov rdi, rcx
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
jmp case.default.0x1800cbe0d
mov r8d, 0x49d9
mov rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0x100]
call fcn.1800c0a40
lea rcx, [rsp + 0x110]
mov rdi, rcx
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x90]
lea rcx, [rsp + 0x110]
mov rdi, rax
mov rsi, rcx
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x120]
call fcn.1800bdfb0
movss xmm0, dword [0x1802452a0]
comiss xmm0, dword [rsp + 0x120]
jb 0x1800cbfc4
movss xmm0, dword [0x1802452a0]
comiss xmm0, dword [rsp + 0x124]
jb 0x1800cbfc4
mov byte [0x18078d90b], 0
jmp 0x1800cc1ed
cmp dword [0x180782634], 0
je 0x1800cc02f
lea rcx, [rsp + 0x10c]
call fcn.1800c7e10
mov edx, eax
lea rcx, [rsp + 0x170]
call fcn.1800d4020
mov r8d, 0x64
mov edx, 1
lea rcx, [rsp + 0x128]
call fcn.1800d3ff0
lea rdx, [rsp + 0x170]
lea rcx, [rsp + 0x128]
call fcn.1800dc1a0
mov dword [0x18078e394], eax
mov eax, dword [0x180782634]
cmp dword [0x18078e394], eax
jge 0x1800cc02f
jmp 0x1800cc1ed
call fcn.18006f2f0
movss xmm0, dword [rax + 8]
divss xmm0, dword [0x180245428]
movss dword [rsp + 0x44], xmm0
call fcn.18006f2f0
movss xmm0, dword [rax + 0xc]
divss xmm0, dword [0x180245428]
movss dword [rsp + 0x40], xmm0
cvtss2sd xmm0, dword [rsp + 0x124]
cvtss2sd xmm1, dword [rsp + 0x120]
cvtss2sd xmm2, dword [rsp + 0x40]
cvtss2sd xmm3, dword [rsp + 0x44]
movsd qword [rsp + 0x68], xmm3
movsd qword [rsp + 0x20], xmm0
movaps xmm3, xmm1
movsd xmm0, qword [rsp + 0x68]
movaps xmm1, xmm0
lea rcx, [rsp + 0x10d]
call fcn.1800cadf0
movss dword [rsp + 0x48], xmm0
mov rax, qword [0x18078e448]
mov rax, qword [rax]
mov qword [rsp + 0x70], rax
mov rcx, qword [rsp + 0x70]
call fcn.1800c0160
mov qword [rsp + 0x58], rax
mov rcx, qword [rsp + 0x58]
call fcn.1800c0550
mov qword [rsp + 0x78], rax
mov rcx, qword [rsp + 0x78]
call fcn.1800c0330
mov qword [rsp + 0x80], rax
mov rcx, qword [rsp + 0x80]
call fcn.1800c01f0
mov qword [rsp + 0xb0], rax
call fcn.1800c7770
mov dword [rsp + 0x60], eax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
jne 0x1800cc11c
jmp 0x1800cc1ed
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x58]
call fcn.1800ca000
movzx eax, al
test eax, eax
jne 0x1800cc13e
mov byte [0x18078d90b], 0
jmp 0x1800cc1ed
cvtss2sd xmm0, dword [rsp + 0x48]
cvtsi2sd xmm1, dword [0x180781a44]
mulsd xmm1, qword [0x180245418]
comisd xmm1, xmm0
jbe 0x1800cc1e6
lea rax, [rsp + 0xa0]
lea rcx, [rsp + 0x110]
mov rdi, rax
mov rsi, rcx
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0xa0]
lea rcx, [rsp + 0x150]
call fcn.1800cbce0
lea rdx, [rsp + 0x130]
mov rcx, qword [rsp + 0x50]
call fcn.1800c05d0
mov r8d, 0xdead
mov rdx, qword [rsp + 0x58]
lea rcx, [rsp + 0x140]
call fcn.1800c0a40
lea rax, [0x18078da58]
lea rcx, [rsp + 0x110]
mov rdi, rax
mov rsi, rcx
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov byte [0x18078d908], 1
mov byte [0x18078d90b], 1
jmp 0x1800cc1ed
mov byte [0x18078d90b], 0
mov rcx, qword [rsp + 0x1500]
xor rcx, rsp
call fcn.180189ea0
add rsp, 0x1518
pop rdi
pop rsi
ret