Function at 0x140008b88
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, [rsp - 0x70]
sub rsp, 0x170
movaps xmmword [rax - 0x28], xmm6
movaps xmmword [rax - 0x38], xmm7
mov rax, qword [0x140135040]
xor rax, rsp
mov qword [rbp + 0x40], rax
xor r14d, r14d
mov dil, r14b
mov bl, r14b
xor eax, eax
mov qword [rbp - 0x18], rax
mov dword [rbp - 0x10], eax
lea r15d, [r14 + 1]
mov eax, r15d
xchg byte [0x1401350f0], al
lea rcx, [rbp]
mov qword [rsp + 0x40], rcx
lea rax, [rbp - 0x18]
mov qword [rsp + 0x48], rax
lea ecx, [r14 + 0x10]
call fcn.1400ea770
movups xmm0, xmmword [rsp + 0x40]
movdqu xmmword [rax], xmm0
mov qword [rsp + 0x30], rax
lea rcx, [rbp - 0x78]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r14d
mov r9, rax
lea r8, [0x14000903c]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp - 0x80], rax
test rax, rax
je 0x140008f85
mov al, byte [0x14020a5e0]
test al, al
jne 0x140008f4d
movss xmm7, dword [0x140121380]
mov rsi, qword [rbp - 0x80]
movaps xmm6, xmmword [rbp - 0x80]
jmp 0x140008f2c
lea rcx, [0x140135100]
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
jne 0x140008f79
cmp dword [0x14013514c], 0x7fffffff
je 0x140008f63
lea rcx, [rbp - 0x50]
call fcn.140007d90
mov rcx, qword [rax]
mov qword [0x14020a5e8], rcx
lea rcx, [0x140135100]
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
cmp byte [0x1401350fb], r14b
je 0x140008f1d
cmp byte [0x14020a64f], r14b
je 0x140008f0b
mov ecx, dword [0x14019769c]
test ecx, ecx
je 0x140008cee
sub ecx, 1
je 0x140008cd4
cmp ecx, 1
jne 0x140008d0b
mov byte [0x1401976a8], r15b
jmp 0x140008d19
mov ecx, dword [0x140197698]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
setne al
mov byte [0x1401976a8], al
jmp 0x140008d11
mov ecx, dword [0x140197698]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test r15b, al
je 0x140008d0b
cmp byte [0x1401976a8], r14b
sete al
jmp 0x140008ce6
mov al, byte [0x1401976a8]
test al, al
je 0x140008edd
test dil, dil
jne 0x140008d5e
test bl, bl
je 0x140008d3f
test rsi, rsi
je 0x140008d3f
cmp qword [0x14020a668], r14
je 0x140008d3f
movdqa xmmword [rsp + 0x40], xmm6
movups xmm0, xmmword [0x14020a668]
jmp 0x140008d59
mov dil, r15b
lea rcx, [rbp + 0x20]
call fcn.14000da68
movups xmm0, xmmword [rbp + 0x20]
movups xmm1, xmmword [rbp + 0x30]
movdqu xmmword [rsp + 0x40], xmm1
movdqu xmmword [rbp], xmm0
cmp qword [rsp + 0x40], r14
je 0x140008edd
lea rdx, [rbp - 0x48]
lea rcx, [rsp + 0x40]
call fcn.14000e6ac
movss xmm0, dword [rax + 4]
comiss xmm0, dword [0x140120cbc]
jbe 0x140008edd
cmp byte [0x14020a64e], r14b
je 0x140008ddb
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x40]
call fcn.14000e7e8
movss xmm0, dword [rbp - 0x70]
andps xmm0, xmm7
movss xmm1, dword [0x140135260]
comiss xmm0, xmm1
ja 0x140008dd2
movss xmm0, dword [rbp - 0x6c]
andps xmm0, xmm7
comiss xmm0, xmm1
ja 0x140008dd2
movss xmm0, dword [rbp - 0x68]
andps xmm0, xmm7
comiss xmm0, xmm1
mov al, r14b
jbe 0x140008dd5
mov al, r15b
mov byte [0x14020a67a], al
mov rax, qword [0x14020a668]
test rax, rax
je 0x140008ea1
cmp byte [0x14020a656], r14b
je 0x140008e46
movups xmm0, xmmword [0x14020a668]
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 - 0x38]
lea rcx, [rsp + 0x50]
call fcn.14000e41c
mov rax, qword [0x14020a668]
test rax, rax
je 0x140008ea1
cmp byte [0x14020a655], r14b
je 0x140008ea1
lea rdx, [rbp + 0x10]
lea rcx, [0x14020a668]
call fcn.14000e5e4
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, [rbp + 0x10]
call fcn.14000e41c
movaps xmm6, xmmword [rsp + 0x40]
test dil, dil
je 0x140008ecf
movsd xmm0, qword [rbp - 0x18]
movsd qword [rbp - 0x60], xmm0
mov eax, dword [rbp - 0x10]
mov dword [rbp - 0x58], eax
movdqa xmmword [rsp + 0x50], xmm6
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x50]
call fcn.140008000
movaps xmm0, xmmword [rbp]
mov bl, r15b
movq rsi, xmm6
jmp 0x140008f03
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movaps xmmword [rsp + 0x50], xmm1
mov dil, r14b
mov bl, r14b
movdqa xmmword [rsp + 0x40], xmm0
movaps xmmword [rsp + 0x50], xmm0
movdqa xmmword [rbp], xmm1
movdqu xmmword [0x14020a668], xmm0
cmp dword [0x140135248], r15d
jne 0x140008f1d
cmp byte [0x1401350fc], r14b
jne 0x140008f2c
mov qword [rsp + 0x30], r15
lea rcx, [rsp + 0x30]
call fcn.140007e54
mov al, byte [0x1401350f1]
test al, al
jne 0x140008c58
mov eax, r15d
xchg byte [0x1401350f1], al
mov cl, byte [0x14020a5e0]
test cl, cl
je 0x140008f2c
mov eax, r14d
xchg byte [0x1401350f0], al
cmp dword [rbp - 0x78], r14d
je 0x140008f95
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
nop
mov dword [0x14013514c], 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 - 0x78], 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.1400ea750
lea r11, [rsp + 0x170]
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