Function at 0x140007d90
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 - 0x168]
sub rsp, 0x260
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm7
mov rax, qword [0x140124040]
xor rax, rsp
mov qword [rbp + 0x130], rax
xor esi, esi
mov dil, sil
xor eax, eax
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x58], eax
lea eax, [rsi + 1]
xchg byte [0x1401240e0], al
lea r13d, [rsi + 8]
mov ecx, r13d
call fcn.1400dbf30
lea rcx, [rbp + 0xf0]
mov qword [rax], rcx
mov qword [rbp - 0x80], rax
lea rcx, [rbp - 0x28]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], esi
mov r9, rax
lea r8, [0x140008750]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp - 0x30], rax
test rax, rax
je 0x140008261
lea rax, [rbp + 0xe0]
mov qword [rsp + 0x70], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x78], rax
lea ecx, [rsi + 0x10]
call fcn.1400dbf30
movups xmm0, xmmword [rsp + 0x70]
movdqu xmmword [rax], xmm0
mov qword [rbp + 0x20], rax
lea rcx, [rbp - 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], esi
mov r9, rax
lea r8, [0x14000877c]
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 0x140008252
mov al, byte [0x1402219d0]
test al, al
jne 0x140008210
movss xmm7, dword [0x140110cb0]
mov bl, byte [rsp + 0x30]
jmp 0x1400081ed
lea rcx, [0x140221c50]
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
jne 0x14000823a
cmp dword [0x140221c9c], 0x7fffffff
je 0x140008224
lea rcx, [rbp + 0x28]
call fcn.1400020f8
mov rcx, qword [rax]
mov qword [0x1402219d8], rcx
lea rcx, [0x140221c50]
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
cmp byte [0x140221a7e], sil
je 0x1400081ed
cmp byte [0x140221a79], sil
je 0x14000819e
mov ecx, dword [0x140210a3c]
test ecx, ecx
je 0x140007f39
sub ecx, 1
je 0x140007f1f
cmp ecx, 1
jne 0x140007f55
mov byte [0x140210a48], cl
jmp 0x140007f63
mov ecx, dword [0x140210a38]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
setne al
mov byte [0x140210a48], al
jmp 0x140007f5b
mov ecx, dword [0x140210a38]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x140007f55
cmp byte [0x140210a48], sil
sete al
jmp 0x140007f31
mov al, byte [0x140210a48]
test al, al
je 0x140008167
test dil, dil
jne 0x140007fd0
cmp byte [0x140221abc], sil
je 0x140007fa4
test bl, bl
je 0x140007fa4
cmp qword [rbp + 0xf0], rsi
je 0x140007fa4
cmp qword [0x140221aa8], rsi
je 0x140007fa4
movaps xmm6, xmmword [rbp + 0xf0]
movaps xmmword [rsp + 0x40], xmm6
movups xmm0, xmmword [0x140221aa8]
movdqu xmmword [rbp + 0xe0], xmm0
jmp 0x140007fd5
mov dil, 1
lea rcx, [rbp + 0x110]
call fcn.14000c218
movups xmm0, xmmword [rbp + 0x110]
movdqu xmmword [rbp + 0xe0], xmm0
movups xmm6, xmmword [rbp + 0x120]
movaps xmmword [rsp + 0x40], xmm6
jmp 0x140007fd5
movaps xmm6, xmmword [rsp + 0x40]
movq rax, xmm6
test rax, rax
je 0x14000814a
lea rdx, [rbp + 0x50]
lea rcx, [rsp + 0x40]
call fcn.14000d2d8
movss xmm0, dword [rax + 4]
comiss xmm0, dword [0x1401106bc]
jbe 0x14000814a
cmp byte [0x140221a5f], sil
je 0x140008058
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x40]
call fcn.14000d41c
movss xmm0, dword [rsp + 0x60]
andps xmm0, xmm7
movss xmm1, dword [0x1401241c8]
comiss xmm0, xmm1
ja 0x140008050
movss xmm0, dword [rsp + 0x64]
andps xmm0, xmm7
comiss xmm0, xmm1
ja 0x140008050
movss xmm0, dword [rsp + 0x68]
andps xmm0, xmm7
comiss xmm0, xmm1
mov al, sil
jbe 0x140008052
mov al, 1
mov byte [0x140221aa3], al
mov rax, qword [0x140221aa8]
test rax, rax
je 0x14000810e
cmp byte [0x140221a7d], sil
je 0x1400080b7
movups xmm0, xmmword [0x140221aa8]
movdqu xmmword [rbp + 0x30], xmm0
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x10], r13
mov qword [rbp - 8], 0xf
mov rax, qword [str.Humanoid]
mov qword [rbp - 0x20], rax
mov byte [rbp - 0x18], sil
lea r8, [rbp - 0x20]
lea rdx, [rbp + 0x60]
lea rcx, [rbp + 0x30]
call fcn.14000d054
mov rax, qword [0x140221aa8]
test rax, rax
je 0x14000810e
cmp byte [0x140221a7b], sil
je 0x14000810e
lea rdx, [rbp + 0x100]
lea rcx, [0x140221aa8]
call fcn.14000d21c
xorps xmm0, xmm0
movups xmmword [rbp], xmm0
mov qword [rbp + 0x10], r13
mov qword [rbp + 0x18], 0xf
mov rax, qword [str.Humanoid]
mov qword [rbp], rax
mov byte [rbp + 8], sil
lea r8, [rbp]
lea rdx, [rbp + 0x70]
lea rcx, [rbp + 0x100]
call fcn.14000d054
test dil, dil
je 0x140008137
movsd xmm0, qword [rsp + 0x50]
movsd qword [rbp - 0x50], xmm0
mov eax, dword [rsp + 0x58]
mov dword [rbp - 0x48], eax
movdqa xmmword [rbp + 0x40], xmm6
lea rdx, [rbp - 0x50]
lea rcx, [rbp + 0x40]
call fcn.140006ee0
movdqa xmmword [rbp + 0xf0], xmm6
movaps xmm0, xmmword [rbp + 0xe0]
mov bl, 1
jmp 0x140008196
xorps xmm0, xmm0
movups xmmword [rbp + 0x80], xmm0
xorps xmm1, xmm1
movaps xmmword [rbp + 0x90], xmm1
movaps xmmword [rbp + 0xa0], xmm0
jmp 0x140008182
xorps xmm0, xmm0
movups xmmword [rbp + 0xb0], xmm0
xorps xmm1, xmm1
movaps xmmword [rbp + 0xc0], xmm1
movaps xmmword [rbp + 0xd0], xmm0
mov dil, sil
mov bl, sil
movdqa xmmword [rsp + 0x40], xmm0
movdqa xmmword [rbp + 0xe0], xmm1
movdqu xmmword [0x140221aa8], xmm0
mov eax, dword [0x140221a64]
test eax, eax
jne 0x1400081b6
mov qword [rbp - 0x78], 1
lea rcx, [rbp - 0x78]
jmp 0x1400081e8
cmp eax, 1
jne 0x1400081d7
lea rcx, [rbp - 0x70]
call fcn.1400020f8
mov rax, qword [rbp - 0x70]
mov qword [rbp - 0x68], rax
lea rcx, [rbp - 0x68]
call fcn.1400029e4
jmp 0x1400081ed
cmp eax, 2
jne 0x1400081ed
mov qword [rbp - 0x60], 5
lea rcx, [rbp - 0x60]
call fcn.140006d84
mov al, byte [0x1401240e1]
test al, al
jne 0x140007ea4
mov eax, 1
xchg byte [0x1401240e1], al
mov cl, byte [0x1402219d0]
test cl, cl
je 0x1400081ed
mov eax, esi
xchg byte [0x1401240e0], al
cmp dword [rbp - 0x38], esi
je 0x140008246
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
nop
mov dword [0x140221c9c], 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 - 0x28], esi
je 0x140008270
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
nop
mov dword [rbp - 0x38], esi
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rbp - 0x28], esi
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov rcx, qword [rbp + 0x130]
xor rcx, rsp
call fcn.1400dbf10
lea r11, [rsp + 0x260]
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