Function at 0x14007a780
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 r12
push r13
push r14
push r15
lea rbp, [rax - 0x78]
sub rsp, 0x150
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
mov rax, qword [0x1400bd040]
xor rax, rsp
mov qword [rbp + 0x20], rax
xor r14d, r14d
xor r15b, r15b
xor eax, eax
mov qword [rbp - 0x10], rax
mov dword [rbp - 8], eax
mov eax, 1
xchg byte [0x1400be4c8], al
lea rcx, [rbp - 0x20]
mov qword [rbp - 0x80], rcx
lea rax, [rbp - 0x10]
mov qword [rbp - 0x78], rax
mov ecx, 0x10
call fcn.14008b6c0
movups xmm0, xmmword [rbp - 0x80]
movups xmmword [rax], xmm0
mov qword [rbp - 0x18], rax
lea rcx, [rbp + 8]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r14d
mov r9, rax
lea r8, [0x14007ad60]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp], rax
test rax, rax
je 0x14007ac91
movzx eax, byte [0x140162695]
test al, al
jne 0x14007ac5b
movabs r13, 0x7fffffffffffffff
movss xmm6, dword [0x1400ac760]
movss xmm7, dword [0x1400abe08]
movzx esi, byte [rsp + 0x38]
mov rdi, qword [rbp - 0x18]
mov rbx, qword [rbp - 0x18]
nop dword [rax]
movzx eax, byte [0x1400be4c9]
test al, al
je 0x14007ac41
nop
lea rcx, [0x140161160]
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
jne 0x14007ac85
cmp dword [0x1401611ac], 0x7fffffff
je 0x14007ac6f
lea rcx, [rbp - 0x38]
call fcn.140065580
mov rcx, qword [rax]
mov qword [0x140162760], rcx
lea rcx, [0x140161160]
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
cmp byte [0x14016280f], 0
je 0x14007ac32
cmp byte [0x1401627d5], 0
je 0x14007ab7d
mov ecx, dword [0x14016135c]
test ecx, ecx
je 0x14007a905
sub ecx, 1
je 0x14007a8eb
cmp ecx, 1
jne 0x14007a927
mov byte [0x140161368], cl
jmp 0x14007a936
mov ecx, dword [0x140161358]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
setne al
mov byte [0x140161368], al
jmp 0x14007a92e
mov ecx, dword [0x140161358]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x14007a927
cmp byte [0x140161368], 0
sete al
mov byte [0x140161368], al
jmp 0x14007a92e
movzx eax, byte [0x140161368]
test al, al
je 0x14007ab69
test r15b, r15b
jne 0x14007a97b
cmp byte [0x1401627d4], r15b
je 0x14007a963
test sil, sil
je 0x14007a963
test rdi, rdi
je 0x14007a963
mov rax, qword [0x1401627f8]
test rax, rax
je 0x14007a963
mov rbx, rdi
mov qword [rbp - 0x20], rax
jmp 0x14007a984
mov r15b, 1
lea rcx, [rbp + 0x10]
call fcn.14007d920
mov rax, qword [rbp + 0x10]
mov qword [rbp - 0x20], rax
mov rbx, qword [rbp + 0x18]
test rbx, rbx
je 0x14007ab69
xor r12d, r12d
mov qword [rsp + 0x60], r12
mov dword [rsp + 0x68], r12d
lea rcx, [rbx + 0x150]
call fcn.14007eb10
test rax, rax
jne 0x14007a9af
movsd xmm0, qword [rsp + 0x60]
mov dword [rsp + 0x78], r12d
jmp 0x14007a9e9
xor ecx, ecx
mov qword [rsp + 0x50], rcx
mov dword [rsp + 0x58], ecx
lea rcx, [rax + 0x140]
mov r8d, 0xc
lea rdx, [rsp + 0x50]
call fcn.14007c160
movsd xmm0, qword [rsp + 0x50]
movsd qword [rsp + 0x60], xmm0
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x68], eax
mov dword [rsp + 0x78], eax
movsd qword [rsp + 0x70], xmm0
movss xmm0, dword [rsp + 0x74]
comiss xmm0, xmm7
jbe 0x14007ab69
cmp byte [0x1401627d7], r12b
je 0x14007aa83
lea rcx, [rbx + 0x150]
call fcn.14007eb10
test rax, rax
jne 0x14007aa23
xorps xmm2, xmm2
xorps xmm1, xmm1
xorps xmm0, xmm0
jmp 0x14007aa57
xor ecx, ecx
mov qword [rsp + 0x40], rcx
mov dword [rsp + 0x48], ecx
lea rcx, [rax + 0x14c]
mov r8d, 0xc
lea rdx, [rsp + 0x40]
call fcn.14007c160
movss xmm2, dword [rsp + 0x40]
movss xmm1, dword [rsp + 0x44]
movss xmm0, dword [rsp + 0x48]
andps xmm2, xmm6
movss xmm3, dword [0x1400abfd8]
comiss xmm2, xmm3
ja 0x14007aa7b
andps xmm1, xmm6
comiss xmm1, xmm3
ja 0x14007aa7b
andps xmm0, xmm6
comiss xmm0, xmm3
ja 0x14007aa7b
xor al, al
jmp 0x14007aa7d
mov al, 1
mov byte [0x1401627a7], al
mov rcx, qword [0x1401627f8]
test rcx, rcx
je 0x14007ab35
cmp byte [0x140162804], r12b
je 0x14007aadf
mov qword [rsp + 0x30], rcx
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], r14
mov qword [rbp - 0x58], r14
mov r8d, 8
lea rdx, str.Humanoid
lea rcx, [rbp - 0x70]
call fcn.140002d00
lea r8, [rbp - 0x70]
lea rdx, [rbp - 0x30]
lea rcx, [rsp + 0x30]
call fcn.14007e4f0
mov rcx, qword [0x1401627f8]
test rcx, rcx
je 0x14007ab35
cmp byte [0x14016280b], r12b
je 0x14007ab35
add rcx, 0x298
call fcn.14007ecb0
mov qword [rsp + 0x30], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], r14
mov qword [rbp - 0x58], r14
mov r8d, 8
lea rdx, str.Humanoid
lea rcx, [rbp - 0x70]
call fcn.140002d00
lea r8, [rbp - 0x70]
lea rdx, [rbp - 0x28]
lea rcx, [rsp + 0x30]
call fcn.14007e4f0
test r15b, r15b
je 0x14007ab56
movsd xmm0, qword [rbp - 0x10]
movsd qword [rbp - 0x80], xmm0
mov eax, dword [rbp - 8]
mov dword [rbp - 0x78], eax
lea rdx, [rbp - 0x80]
mov rcx, rbx
call fcn.140079ac0
mov rdi, rbx
mov rax, qword [rbp - 0x20]
mov qword [0x1401627f8], rax
mov sil, 1
jmp 0x14007ab7d
xor sil, sil
xor r15b, r15b
mov rbx, r14
mov qword [rbp - 0x20], r14
mov qword [0x1401627f8], r14
mov eax, dword [0x140161228]
test eax, eax
jne 0x14007abc6
lea rcx, [rbp - 0x50]
call fcn.140065580
mov rax, qword [rbp - 0x50]
mov qword [rsp + 0x30], rax
movabs r12, 0x7ffffffffff0bdbf
cmp rax, r12
je 0x14007ac23
mov ecx, 1
mov edx, 0xff
cmovl ecx, edx
test cl, cl
jns 0x14007ac23
add rax, 0xf4240
mov qword [rsp + 0x30], rax
jmp 0x14007ac28
cmp eax, 1
jne 0x14007abdf
lea rcx, [rbp - 0x48]
call fcn.140065580
mov rax, qword [rbp - 0x48]
mov qword [rsp + 0x30], rax
jmp 0x14007ac28
cmp eax, 2
jne 0x14007ac32
lea rcx, [rbp - 0x18]
call fcn.140065580
mov rax, qword [rbp - 0x18]
mov qword [rsp + 0x30], rax
movabs r12, 0x7fffffffffb3b4bf
cmp rax, r12
je 0x14007ac23
mov ecx, 1
mov edx, 0xff
cmovl ecx, edx
test cl, cl
jns 0x14007ac23
add rax, 0x4c4b40
mov qword [rsp + 0x30], rax
jmp 0x14007ac28
mov qword [rsp + 0x30], r13
lea rcx, [rsp + 0x30]
call fcn.140072950
movzx eax, byte [0x1400be4c9]
test al, al
jne 0x14007a870
mov eax, 1
xchg byte [0x1400be4c9], al
movzx ecx, byte [0x140162695]
test cl, cl
je 0x14007a860
xchg byte [0x1400be4c8], r14b
cmp dword [rbp + 8], 0
je 0x14007aca1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
nop
mov dword [0x1401611ac], 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 + 8], 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.14008b6a0
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret