Function at 0x140007c9c
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], r13
push rbp
lea rbp, [rax - 0x98]
sub rsp, 0x190
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm7
mov rax, qword [0x140124040]
xor rax, rsp
mov qword [rbp + 0x60], rax
xor esi, esi
mov dil, sil
xor eax, eax
mov qword [rbp - 0x80], rax
mov dword [rbp - 0x78], eax
lea eax, [rsi + 1]
xchg byte [0x1401240f0], al
lea r13d, [rsi + 8]
mov ecx, r13d
call fcn.1400db790
lea rcx, [rbp + 0x20]
mov qword [rax], rcx
mov qword [rsp + 0x30], rax
lea rcx, [rbp - 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], esi
mov r9, rax
lea r8, [0x140008610]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp - 0x40], rax
test rax, rax
je 0x140008111
lea rax, [rbp + 0x10]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x48], rax
lea ecx, [rsi + 0x10]
call fcn.1400db790
movups xmm0, xmmword [rsp + 0x40]
movdqu xmmword [rax], xmm0
mov qword [rsp + 0x30], rax
lea rcx, [rbp - 0x48]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], esi
mov r9, rax
lea r8, [0x14000863c]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp - 0x50], rax
test rax, rax
je 0x140008102
mov al, byte [0x140221a90]
test al, al
jne 0x1400080c0
movdqa xmm7, xmmword [0x140110d40]
mov bl, byte [rsp + 0x38]
jmp 0x14000809d
lea rcx, [0x140124100]
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
jne 0x1400080ea
cmp dword [0x14012414c], 0x7fffffff
je 0x1400080d4
lea rcx, [rbp - 0x30]
call fcn.1400020d8
mov rcx, qword [rax]
mov qword [0x140221a98], rcx
lea rcx, [0x140124100]
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
cmp byte [0x140221b2f], sil
je 0x14000809d
cmp byte [0x140221b26], sil
je 0x140008063
mov ecx, dword [0x140210afc]
test ecx, ecx
je 0x140007e3b
sub ecx, 1
je 0x140007e21
cmp ecx, 1
jne 0x140007e57
mov byte [0x140210b08], cl
jmp 0x140007e65
mov ecx, dword [0x140210af8]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
setne al
mov byte [0x140210b08], al
jmp 0x140007e5d
mov ecx, dword [0x140210af8]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x140007e57
cmp byte [0x140210b08], sil
sete al
jmp 0x140007e33
mov al, byte [0x140210b08]
test al, al
je 0x140008035
test dil, dil
jne 0x140007ebd
cmp byte [0x140221b7d], sil
je 0x140007e9d
test bl, bl
je 0x140007e9d
cmp qword [rbp + 0x20], rsi
je 0x140007e9d
cmp qword [0x140221b68], rsi
je 0x140007e9d
movaps xmm6, xmmword [rbp + 0x20]
movaps xmmword [rsp + 0x40], xmm6
movups xmm0, xmmword [0x140221b68]
movdqu xmmword [rbp + 0x10], xmm0
jmp 0x140007ec2
mov dil, 1
lea rcx, [rbp + 0x40]
call fcn.14000be78
movups xmm0, xmmword [rbp + 0x40]
movdqu xmmword [rbp + 0x10], xmm0
movups xmm6, xmmword [rbp + 0x50]
movaps xmmword [rsp + 0x40], xmm6
jmp 0x140007ec2
movaps xmm6, xmmword [rsp + 0x40]
movq rax, xmm6
test rax, rax
je 0x140008035
lea rdx, [rbp - 0x28]
lea rcx, [rsp + 0x40]
call fcn.14000cfa8
movss xmm0, dword [rax + 4]
comiss xmm0, dword [0x14011076c]
jbe 0x140008035
cmp byte [0x140221b24], sil
je 0x140007f41
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x40]
call fcn.14000d0ec
movss xmm0, dword [rbp - 0x70]
andps xmm0, xmm7
movss xmm1, dword [0x140124240]
comiss xmm0, xmm1
ja 0x140007f39
movss xmm0, dword [rbp - 0x6c]
andps xmm0, xmm7
comiss xmm0, xmm1
ja 0x140007f39
movss xmm0, dword [rbp - 0x68]
andps xmm0, xmm7
comiss xmm0, xmm1
mov al, sil
jbe 0x140007f3b
mov al, 1
mov byte [0x140221b7c], al
mov rax, qword [0x140221b68]
test rax, rax
je 0x140007fff
cmp byte [0x140221b2e], sil
je 0x140007fa8
movups xmm0, xmmword [0x140221b68]
movdqu xmmword [rsp + 0x50], xmm0
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r13
mov qword [rsp + 0x78], 0xf
mov rax, qword [str.Humanoid]
mov qword [rsp + 0x60], rax
mov byte [rsp + 0x68], sil
lea r8, [rsp + 0x60]
lea rdx, [rbp - 0x18]
lea rcx, [rsp + 0x50]
call fcn.14000cd18
mov rax, qword [0x140221b68]
test rax, rax
je 0x140007fff
cmp byte [0x140221b2c], sil
je 0x140007fff
lea rdx, [rbp + 0x30]
lea rcx, [0x140221b68]
call fcn.14000cee0
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r13
mov qword [rsp + 0x78], 0xf
mov rax, qword [str.Humanoid]
mov qword [rsp + 0x60], rax
mov byte [rsp + 0x68], sil
lea r8, [rsp + 0x60]
lea rdx, [rbp - 8]
lea rcx, [rbp + 0x30]
call fcn.14000cd18
test dil, dil
je 0x140008028
movsd xmm0, qword [rbp - 0x80]
movsd qword [rbp - 0x60], xmm0
mov eax, dword [rbp - 0x78]
mov dword [rbp - 0x58], eax
movdqa xmmword [rsp + 0x50], xmm6
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x50]
call fcn.140006dc0
movdqa xmmword [rbp + 0x20], xmm6
movaps xmm0, xmmword [rbp + 0x10]
mov bl, 1
jmp 0x14000805b
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movaps xmmword [rsp + 0x50], xmm1
mov dil, sil
mov bl, sil
movdqa xmmword [rsp + 0x40], xmm0
movaps xmmword [rsp + 0x50], xmm0
movdqa xmmword [rbp + 0x10], xmm1
movdqu xmmword [0x140221b68], xmm0
mov eax, dword [0x140221b28]
test eax, eax
jne 0x140008078
mov qword [rsp + 0x30], 1
jmp 0x140008093
cmp eax, 1
jne 0x140008085
or qword [rsp + 0x30], 0xffffffffffffffff
jmp 0x140008093
cmp eax, 2
jne 0x14000809d
mov qword [rsp + 0x30], 5
lea rcx, [rsp + 0x30]
call fcn.140006b60
mov al, byte [0x1401240f1]
test al, al
jne 0x140007da6
mov eax, 1
xchg byte [0x1401240f1], al
mov cl, byte [0x140221a90]
test cl, cl
je 0x14000809d
mov eax, esi
xchg byte [0x1401240f0], al
cmp dword [rbp - 0x48], esi
je 0x1400080f6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
nop
mov dword [0x14012414c], 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
cmp dword [rbp - 0x38], esi
je 0x140008120
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
nop
mov dword [rbp - 0x48], esi
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rbp - 0x38], esi
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov rcx, qword [rbp + 0x60]
xor rcx, rsp
call fcn.1400db770
lea r11, [rsp + 0x190]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r13, qword [r11 + 0x28]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop rbp
ret