Function at 0x1800c43b0
Capabilities:
Log keystrokes via polling

Disassembly:
push rsi
push rdi
sub rsp, 0x108
mov rax, qword [0x1801ca040]
xor rax, rsp
mov qword [rsp + 0xf0], rax
mov byte [rsp + 0x30], 0
movzx eax, byte [0x18045f24a]
test eax, eax
je 0x1800c4728
mov ecx, dword [0x18046ac8c]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x1800c4728
mov rax, qword [0x18046a480]
mov qword [rsp + 0x38], rax
mov eax, dword [0x18045e8b4]
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
je 0x1800c4427
cmp dword [rsp + 0x40], 1
je 0x1800c4435
cmp dword [rsp + 0x40], 2
je 0x1800c4443
jmp 0x1800c444f
xor ecx, ecx
call fcn.1800c38d0
mov qword [rsp + 0x38], rax
jmp 0x1800c444f
xor ecx, ecx
call fcn.1800c2a70
mov qword [rsp + 0x38], rax
jmp 0x1800c444f
xor ecx, ecx
call fcn.1800c3110
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
jne 0x1800c4467
mov qword [0x18046a480], 0
jmp 0x1800c474c
mov rax, qword [rsp + 0x38]
mov qword [0x18046a480], rax
mov r8d, 0x796e
mov rdx, qword [rsp + 0x38]
lea rcx, [rsp + 0xd8]
call fcn.1800ba0a0
nop
mov eax, dword [0x18046aca4]
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 6
ja case.default.0x1800c44b7
movsxd rax, dword [rsp + 0x44]
lea rcx, [0x180000000]
mov eax, dword [rcx + rax*4 + 0xc4768]
add rax, rcx
jmp rax
mov r8d, 0x796e
mov rdx, qword [rsp + 0x38]
lea rcx, [rsp + 0x80]
call fcn.1800ba0a0
lea rcx, [rsp + 0xd8]
mov rdi, rcx
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
jmp case.default.0x1800c44b7
mov r8d, 0x9995
mov rdx, qword [rsp + 0x38]
lea rcx, [rsp + 0x8c]
call fcn.1800ba0a0
lea rcx, [rsp + 0xd8]
mov rdi, rcx
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
jmp case.default.0x1800c44b7
mov r8d, 0x2e28
mov rdx, qword [rsp + 0x38]
lea rcx, [rsp + 0x98]
call fcn.1800ba0a0
lea rcx, [rsp + 0xd8]
mov rdi, rcx
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
jmp case.default.0x1800c44b7
mov r8d, 0x3779
mov rdx, qword [rsp + 0x38]
lea rcx, [rsp + 0xa4]
call fcn.1800ba0a0
lea rcx, [rsp + 0xd8]
mov rdi, rcx
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
jmp case.default.0x1800c44b7
mov r8d, 0xcc4d
mov rdx, qword [rsp + 0x38]
lea rcx, [rsp + 0xb0]
call fcn.1800ba0a0
lea rcx, [rsp + 0xd8]
mov rdi, rcx
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
jmp case.default.0x1800c44b7
mov r8d, 0xdead
mov rdx, qword [rsp + 0x38]
lea rcx, [rsp + 0xbc]
call fcn.1800ba0a0
lea rcx, [rsp + 0xd8]
mov rdi, rcx
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
jmp case.default.0x1800c44b7
mov r8d, 0x49d9
mov rdx, qword [rsp + 0x38]
lea rcx, [rsp + 0xc8]
call fcn.1800ba0a0
lea rcx, [rsp + 0xd8]
mov rdi, rcx
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x60]
lea rcx, [rsp + 0xd8]
mov rdi, rax
mov rsi, rcx
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0xe8]
call fcn.1800b73b0
nop
movss xmm0, dword [0x1801b7fe0]
comiss xmm0, dword [rsp + 0xe8]
jb 0x1800c4662
movss xmm0, dword [0x1801b7fe0]
comiss xmm0, dword [rsp + 0xec]
jb 0x1800c4662
jmp 0x1800c474c
call fcn.180068d30
movss xmm0, dword [rax + 8]
divss xmm0, dword [0x1801b8158]
movss dword [rsp + 0x4c], xmm0
call fcn.180068d30
movss xmm0, dword [rax + 0xc]
divss xmm0, dword [0x1801b8158]
movss dword [rsp + 0x48], xmm0
cvtss2sd xmm0, dword [rsp + 0xec]
cvtss2sd xmm1, dword [rsp + 0xe8]
cvtss2sd xmm2, dword [rsp + 0x48]
cvtss2sd xmm3, dword [rsp + 0x4c]
movsd qword [rsp + 0x58], xmm3
movsd qword [rsp + 0x20], xmm0
movaps xmm3, xmm1
movsd xmm0, qword [rsp + 0x58]
movaps xmm1, xmm0
lea rcx, [rsp + 0xd4]
call fcn.1800c3850
movss dword [rsp + 0x50], xmm0
cvtss2sd xmm0, dword [rsp + 0x50]
cvtsi2sd xmm1, dword [0x18045e8b0]
mulsd xmm1, qword [0x1801b8148]
comisd xmm1, xmm0
jbe 0x1800c4723
mov byte [rsp + 0x30], 1
lea rax, [rsp + 0x70]
lea rcx, [rsp + 0xd8]
mov rdi, rax
mov rsi, rcx
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
lea rcx, [rsp + 0x70]
call fcn.1800c4040
nop
jmp 0x1800c4728
mov byte [rsp + 0x30], 0
movzx eax, byte [rsp + 0x30]
test eax, eax
je 0x1800c473a
mov byte [0x18046ae06], 1
jmp 0x1800c474c
mov byte [0x18046ae06], 0
mov qword [0x18046a480], 0
mov rcx, qword [rsp + 0xf0]
xor rcx, rsp
call fcn.18016d7d0
add rsp, 0x108
pop rdi
pop rsi
ret