Function at 0x14004fe48
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
mov qword [rax + 0x20], r14
push rbp
lea rbp, [rsp - 0x80]
sub rsp, 0x180
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm7
movaps xmmword [rax - 0x38], xmm8
mov rax, qword [0x140089040]
xor rax, rsp
mov qword [rbp + 0x40], rax
xor r14d, r14d
mov sil, r14b
xor eax, eax
mov qword [rbp - 0x80], rax
mov dword [rbp - 0x78], eax
lea eax, [r14 + 1]
xchg byte [0x140146344], al
lea rcx, [rbp]
mov qword [rsp + 0x40], rcx
lea rax, [rbp - 0x80]
mov qword [rsp + 0x48], rax
lea ecx, [r14 + 0x10]
call fcn.140068b70
movups xmm0, xmmword [rsp + 0x40]
movdqu xmmword [rax], xmm0
mov qword [rsp + 0x30], rax
lea rcx, [rbp - 0x68]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r14d
mov r9, rax
lea r8, [0x1400504e0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp - 0x70], rax
test rax, rax
je 0x14005027b
mov al, byte [0x140375399]
test al, al
jne 0x140050243
movdqa xmm8, xmmword [0x14007e790]
mov bl, byte [rsp + 0x38]
mov rdi, qword [rbp - 0x70]
movaps xmm7, xmmword [rbp - 0x70]
jmp 0x140050220
lea rcx, [0x1403641d0]
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
jne 0x14005026f
cmp dword [0x14036421c], 0x7fffffff
je 0x140050259
lea rcx, [rbp - 0x40]
call fcn.140002248
mov rcx, qword [rax]
mov qword [0x140375418], rcx
lea rcx, [0x1403641d0]
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
cmp byte [0x1403754d1], r14b
je 0x140050220
cmp byte [0x14037539b], r14b
je 0x1400501e6
mov ecx, dword [0x14036462c]
test ecx, ecx
je 0x14004ffb1
sub ecx, 1
je 0x14004ff97
cmp ecx, 1
jne 0x14004ffcd
mov byte [0x140364638], cl
jmp 0x14004ffdb
mov ecx, dword [0x140364628]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
setne al
mov byte [0x140364638], al
jmp 0x14004ffd3
mov ecx, dword [0x140364628]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x14004ffcd
cmp byte [0x140364638], r14b
sete al
jmp 0x14004ffa9
mov al, byte [0x140364638]
test al, al
je 0x1400501b8
test sil, sil
jne 0x140050032
cmp byte [0x14037539d], r14b
je 0x140050012
test bl, bl
je 0x140050012
test rdi, rdi
je 0x140050012
cmp qword [0x1403754e0], r14
je 0x140050012
movdqa xmm6, xmm7
movaps xmmword [rsp + 0x40], xmm7
movups xmm0, xmmword [0x1403754e0]
movdqu xmmword [rbp], xmm0
jmp 0x140050037
mov sil, 1
lea rcx, [rbp + 0x20]
call fcn.1400544d0
movups xmm0, xmmword [rbp + 0x20]
movdqu xmmword [rbp], xmm0
movups xmm6, xmmword [rbp + 0x30]
movaps xmmword [rsp + 0x40], xmm6
jmp 0x140050037
movaps xmm6, xmmword [rsp + 0x40]
movq rax, xmm6
test rax, rax
je 0x1400501b8
lea rdx, [rbp - 0x38]
lea rcx, [rsp + 0x40]
call fcn.1400556f4
movss xmm0, dword [rax + 4]
comiss xmm0, dword [0x14007ddd4]
jbe 0x1400501b8
cmp byte [0x1403754a7], r14b
je 0x1400500b9
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x40]
call fcn.140055764
movss xmm0, dword [rbp - 0x60]
andps xmm0, xmm8
movss xmm1, dword [0x14007df48]
comiss xmm0, xmm1
ja 0x1400500b1
movss xmm0, dword [rbp - 0x5c]
andps xmm0, xmm8
comiss xmm0, xmm1
ja 0x1400500b1
movss xmm0, dword [rbp - 0x58]
andps xmm0, xmm8
comiss xmm0, xmm1
mov al, r14b
jbe 0x1400500b3
mov al, 1
mov byte [0x1403754dd], al
mov rax, qword [0x1403754e0]
test rax, rax
je 0x14005017f
cmp byte [0x1403754db], r14b
je 0x140050124
movups xmm0, xmmword [0x1403754e0]
movdqu xmmword [rsp + 0x50], xmm0
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], 8
mov qword [rsp + 0x78], 0xf
mov rax, qword [str.Humanoid]
mov qword [rsp + 0x60], rax
mov byte [rsp + 0x68], r14b
lea r8, [rsp + 0x60]
lea rdx, [rbp - 0x28]
lea rcx, [rsp + 0x50]
call fcn.140055370
mov rax, qword [0x1403754e0]
test rax, rax
je 0x14005017f
cmp byte [0x1403754a5], r14b
je 0x14005017f
lea rdx, [rbp + 0x10]
lea rcx, [0x1403754e0]
call fcn.140055508
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], 8
mov qword [rsp + 0x78], 0xf
mov rax, qword [str.Humanoid]
mov qword [rsp + 0x60], rax
mov byte [rsp + 0x68], r14b
lea r8, [rsp + 0x60]
lea rdx, [rbp - 0x18]
lea rcx, [rbp + 0x10]
call fcn.140055370
test sil, sil
je 0x1400501a8
movsd xmm0, qword [rbp - 0x80]
movsd qword [rbp - 0x50], xmm0
mov eax, dword [rbp - 0x78]
mov dword [rbp - 0x48], eax
movdqa xmmword [rsp + 0x50], xmm6
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x50]
call fcn.14004f2d0
movaps xmm7, xmm6
movaps xmm0, xmmword [rbp]
mov bl, 1
movq rdi, xmm6
jmp 0x1400501de
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movaps xmmword [rsp + 0x50], xmm1
mov sil, r14b
mov bl, r14b
movdqa xmmword [rsp + 0x40], xmm0
movaps xmmword [rsp + 0x50], xmm0
movdqa xmmword [rbp], xmm1
movdqu xmmword [0x1403754e0], xmm0
mov eax, dword [0x1403754bc]
test eax, eax
jne 0x1400501fb
mov qword [rsp + 0x30], 1
jmp 0x140050216
cmp eax, 1
jne 0x140050208
or qword [rsp + 0x30], 0xffffffffffffffff
jmp 0x140050216
cmp eax, 2
jne 0x140050220
mov qword [rsp + 0x30], 5
lea rcx, [rsp + 0x30]
call fcn.14004f0f0
mov al, byte [0x140146345]
test al, al
jne 0x14004ff1c
mov eax, 1
xchg byte [0x140146345], al
mov cl, byte [0x140375399]
test cl, cl
je 0x140050220
mov eax, r14d
xchg byte [0x140146344], al
cmp dword [rbp - 0x68], r14d
je 0x14005028b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
nop
mov dword [0x14036421c], 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 [rbp - 0x68], r14d
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov rcx, qword [rbp + 0x40]
xor rcx, rsp
call fcn.140068b50
lea r11, [rsp + 0x180]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
mov rsp, r11
pop rbp
ret