Function at 0x14005f63c
Capabilities:
Create thread
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x68]
sub rsp, 0x150
movaps xmmword [rax - 0x28], xmm6
movaps xmmword [rax - 0x38], xmm7
mov rax, qword [0x14012a040]
xor rax, rsp
mov qword [rbp + 0x20], rax
xor r14d, r14d
mov dil, r14b
mov bl, r14b
xor eax, eax
mov qword [rbp - 0x20], rax
mov dword [rbp - 0x18], eax
lea r15d, [r14 + 1]
mov eax, r15d
xchg byte [0x14012a1c0], al
lea rcx, [rbp - 0x30]
mov qword [rsp + 0x30], rcx
lea rax, [rbp - 0x20]
mov qword [rsp + 0x38], rax
lea ecx, [r14 + 0x10]
call fcn.1400e1f90
movups xmm0, xmmword [rsp + 0x30]
movdqu xmmword [rax], xmm0
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r14d
mov r9, rax
lea r8, [0x14005fabc]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x50], rax
test rax, rax
je 0x14005f9cc
mov al, byte [0x1401ede91]
test al, al
jne 0x14005f993
movss xmm7, dword [0x140117610]
mov rsi, qword [rsp + 0x50]
movaps xmm6, xmmword [rsp + 0x50]
jmp 0x14005f972
lea rcx, [0x14012a1d0]
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
jne 0x14005f9c0
cmp dword [0x14012a21c], 0x7fffffff
je 0x14005f9aa
lea rcx, [rbp - 0x60]
call fcn.14005eb18
mov rcx, qword [rax]
mov qword [0x1401edea8], rcx
lea rcx, [0x14012a1d0]
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
cmp byte [0x14012a1c3], r14b
je 0x14005f963
cmp byte [0x1401ede94], r14b
je 0x14005f95a
mov ecx, dword [0x14017b314]
test ecx, ecx
je 0x14005f7a5
sub ecx, 1
je 0x14005f78b
cmp ecx, 1
jne 0x14005f7c2
mov byte [0x14017b320], r15b
jmp 0x14005f7d0
mov ecx, dword [0x14017b310]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
setne al
mov byte [0x14017b320], al
jmp 0x14005f7c8
mov ecx, dword [0x14017b310]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test r15b, al
je 0x14005f7c2
cmp byte [0x14017b320], r14b
sete al
jmp 0x14005f79d
mov al, byte [0x14017b320]
test al, al
je 0x14005f92e
test dil, dil
jne 0x14005f815
test bl, bl
je 0x14005f7f6
test rsi, rsi
je 0x14005f7f6
cmp qword [0x1401edf30], r14
je 0x14005f7f6
movdqa xmmword [rsp + 0x30], xmm6
movups xmm0, xmmword [0x1401edf30]
jmp 0x14005f810
mov dil, r15b
lea rcx, [rbp]
call fcn.1400642e4
movups xmm0, xmmword [rbp]
movups xmm1, xmmword [rbp + 0x10]
movdqu xmmword [rsp + 0x30], xmm1
movdqu xmmword [rbp - 0x30], xmm0
cmp qword [rsp + 0x30], r14
je 0x14005f92e
lea rdx, [rbp - 0x58]
lea rcx, [rsp + 0x30]
call fcn.140064ee8
movss xmm0, dword [rax + 4]
comiss xmm0, dword [0x140116c90]
jbe 0x14005f92e
cmp byte [0x1401ede93], r14b
je 0x14005f896
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x30]
call fcn.140064f60
movss xmm0, dword [rsp + 0x60]
andps xmm0, xmm7
movss xmm1, dword [0x14012a230]
comiss xmm0, xmm1
ja 0x14005f88d
movss xmm0, dword [rsp + 0x64]
andps xmm0, xmm7
comiss xmm0, xmm1
ja 0x14005f88d
movss xmm0, dword [rsp + 0x68]
andps xmm0, xmm7
comiss xmm0, xmm1
mov al, r14b
jbe 0x14005f890
mov al, r15b
mov byte [0x1401edebf], al
cmp qword [0x1401edf30], r14
je 0x14005f8ef
cmp byte [0x1401ede96], r14b
je 0x14005f8ef
lea rdx, [rbp - 0x10]
lea rcx, [0x1401edf30]
call fcn.140064e20
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], 8
mov qword [rbp - 0x68], 0xf
mov rax, qword [str.Humanoid]
mov qword [rbp - 0x80], rax
mov byte [rbp - 0x78], r14b
lea r8, [rbp - 0x80]
lea rdx, [rbp - 0x48]
lea rcx, [rbp - 0x10]
call fcn.140064c88
movaps xmm6, xmmword [rsp + 0x30]
test dil, dil
je 0x14005f920
movsd xmm0, qword [rbp - 0x20]
movsd qword [rsp + 0x70], xmm0
mov eax, dword [rbp - 0x18]
mov dword [rsp + 0x78], eax
movdqa xmmword [rsp + 0x40], xmm6
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x40]
call fcn.14005edb0
movaps xmm0, xmmword [rbp - 0x30]
mov bl, r15b
movq rsi, xmm6
jmp 0x14005f952
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
xorps xmm1, xmm1
movaps xmmword [rsp + 0x30], xmm0
movaps xmmword [rbp - 0x30], xmm1
mov dil, r14b
mov bl, r14b
movdqa xmmword [rsp + 0x30], xmm0
movdqa xmmword [rbp - 0x30], xmm1
movdqu xmmword [0x1401edf30], xmm0
cmp dword [0x14012a220], r15d
je 0x14005f972
mov qword [rsp + 0x40], r15
lea rcx, [rsp + 0x40]
call fcn.14005ebdc
mov al, byte [0x14012a1c1]
test al, al
jne 0x14005f70f
mov eax, r15d
xchg byte [0x14012a1c1], al
mov cl, byte [0x1401ede91]
test cl, cl
je 0x14005f972
mov eax, r14d
xchg byte [0x14012a1c0], al
cmp dword [rsp + 0x58], r14d
je 0x14005f9dd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
nop
mov dword [0x14012a21c], 0x7ffffffe
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov ecx, 5
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rsp + 0x58], r14d
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.1400e1f70
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop rbp
ret