Function at 0x1800c47f0
Capabilities:
Log keystrokes via polling

Disassembly:
push rsi
push rdi
mov eax, 0x1518
call fcn.18016e450
sub rsp, rax
mov rax, qword [0x1801ca040]
xor rax, rsp
mov qword [rsp + 0x1500], rax
mov byte [rsp + 0x30], 0
mov ecx, dword [0x18046ac94]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
and eax, 0x8000
test eax, eax
jne 0x1800c4837
mov byte [rsp + 0x30], 0
jmp 0x1800c4cbe
mov qword [rsp + 0x38], 0
mov eax, dword [0x18045e890]
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
je 0x1800c4861
cmp dword [rsp + 0x40], 1
je 0x1800c486f
cmp dword [rsp + 0x40], 2
je 0x1800c487d
jmp 0x1800c4889
mov cl, 1
call fcn.1800c38d0
mov qword [rsp + 0x38], rax
jmp 0x1800c4889
mov cl, 1
call fcn.1800c2a70
mov qword [rsp + 0x38], rax
jmp 0x1800c4889
mov cl, 1
call fcn.1800c3110
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
jne 0x1800c489b
mov byte [rsp + 0x30], 0
jmp 0x1800c4cbe
mov r8d, 0x796e
mov rdx, qword [rsp + 0x38]
lea rcx, [rsp + 0x110]
call fcn.1800ba0a0
nop
mov eax, dword [0x18046ac9c]
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 6
ja case.default.0x1800c48df
movsxd rax, dword [rsp + 0x44]
lea rcx, [0x180000000]
mov eax, dword [rcx + rax*4 + 0xc4cd8]
add rax, rcx
jmp rax
mov r8d, 0x796e
mov rdx, qword [rsp + 0x38]
lea rcx, [rsp + 0xb8]
call fcn.1800ba0a0
lea rcx, [rsp + 0x110]
mov rdi, rcx
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
jmp case.default.0x1800c48df
mov r8d, 0x9995
mov rdx, qword [rsp + 0x38]
lea rcx, [rsp + 0xc4]
call fcn.1800ba0a0
lea rcx, [rsp + 0x110]
mov rdi, rcx
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
jmp case.default.0x1800c48df
mov r8d, 0x2e28
mov rdx, qword [rsp + 0x38]
lea rcx, [rsp + 0xd0]
call fcn.1800ba0a0
lea rcx, [rsp + 0x110]
mov rdi, rcx
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
jmp case.default.0x1800c48df
mov r8d, 0x3779
mov rdx, qword [rsp + 0x38]
lea rcx, [rsp + 0xdc]
call fcn.1800ba0a0
lea rcx, [rsp + 0x110]
mov rdi, rcx
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
jmp case.default.0x1800c48df
mov r8d, 0xcc4d
mov rdx, qword [rsp + 0x38]
lea rcx, [rsp + 0xe8]
call fcn.1800ba0a0
lea rcx, [rsp + 0x110]
mov rdi, rcx
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
jmp case.default.0x1800c48df
mov r8d, 0xdead
mov rdx, qword [rsp + 0x38]
lea rcx, [rsp + 0xf4]
call fcn.1800ba0a0
lea rcx, [rsp + 0x110]
mov rdi, rcx
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
jmp case.default.0x1800c48df
mov r8d, 0x49d9
mov rdx, qword [rsp + 0x38]
lea rcx, [rsp + 0x100]
call fcn.1800ba0a0
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.1800b73b0
nop
movss xmm0, dword [0x1801b7fe0]
comiss xmm0, dword [rsp + 0x120]
jb 0x1800c4a95
movss xmm0, dword [0x1801b7fe0]
comiss xmm0, dword [rsp + 0x124]
jb 0x1800c4a95
mov byte [rsp + 0x30], 0
jmp 0x1800c4cbe
cmp dword [0x18045f24c], 0
je 0x1800c4b00
lea rcx, [rsp + 0x10c]
call fcn.1800c0a50
mov edx, eax
lea rcx, [rsp + 0x170]
call fcn.1800ca300
mov r8d, 0x64
mov edx, 1
lea rcx, [rsp + 0x128]
call fcn.1800ca2d0
lea rdx, [rsp + 0x170]
lea rcx, [rsp + 0x128]
call fcn.1800d0560
mov dword [0x18046adfc], eax
mov eax, dword [0x18045f24c]
cmp dword [0x18046adfc], eax
jge 0x1800c4b00
jmp 0x1800c4cbe
call fcn.180068d30
movss xmm0, dword [rax + 8]
divss xmm0, dword [0x1801b8158]
movss dword [rsp + 0x54], xmm0
call fcn.180068d30
movss xmm0, dword [rax + 0xc]
divss xmm0, dword [0x1801b8158]
movss dword [rsp + 0x50], xmm0
cvtss2sd xmm0, dword [rsp + 0x124]
cvtss2sd xmm1, dword [rsp + 0x120]
cvtss2sd xmm2, dword [rsp + 0x50]
cvtss2sd xmm3, dword [rsp + 0x54]
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.1800c3850
movss dword [rsp + 0x58], xmm0
mov rax, qword [0x18046aec0]
mov rax, qword [rax]
mov qword [rsp + 0x70], rax
mov rcx, qword [rsp + 0x70]
call fcn.1800ba080
mov qword [rsp + 0x48], rax
mov rcx, qword [rsp + 0x48]
call fcn.1800b9e20
mov qword [rsp + 0x80], rax
mov rcx, qword [rsp + 0x80]
call fcn.1800b9dd0
mov qword [rsp + 0x88], rax
mov rcx, qword [rsp + 0x88]
call fcn.1800b9db0
mov qword [rsp + 0xb0], rax
call fcn.1800c0980
mov dword [rsp + 0x78], eax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
jne 0x1800c4bf3
jmp 0x1800c4cbe
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x48]
call fcn.1800c2a00
movzx eax, al
test eax, eax
jne 0x1800c4c13
mov byte [rsp + 0x30], 0
jmp 0x1800c4cbe
cvtss2sd xmm0, dword [rsp + 0x58]
cvtsi2sd xmm1, dword [0x18045e88c]
mulsd xmm1, qword [0x1801b8148]
comisd xmm1, xmm0
jbe 0x1800c4cb9
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.1800c47b0
lea rdx, [rsp + 0x130]
mov rcx, qword [rsp + 0x60]
call fcn.1800b9e50
mov r8d, 0xdead
mov rdx, qword [rsp + 0x48]
lea rcx, [rsp + 0x140]
call fcn.1800ba0a0
lea rax, [0x18046a560]
lea rcx, [rsp + 0x110]
mov rdi, rax
mov rsi, rcx
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov byte [0x18046a428], 1
mov byte [rsp + 0x30], 1
jmp 0x1800c4cbe
mov byte [rsp + 0x30], 0
mov rcx, qword [rsp + 0x1500]
xor rcx, rsp
call fcn.18016d7d0
add rsp, 0x1518
pop rdi
pop rsi
ret