Function at 0x140011870
Capabilities:
Create thread
Log keystrokes via polling

Disassembly:
mov rax, rsp
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xd8
movaps xmmword [rax - 0x58], xmm6
movaps xmmword [rax - 0x68], xmm7
xor r15d, r15d
xor sil, sil
mov qword [rbp - 0x79], r15
mov dword [rbp - 0x71], r15d
mov eax, 1
xchg byte [0x1400ba0f0], al
lea rcx, [rbp + 0x67]
mov qword [rbp - 0x69], rcx
lea rax, [rbp - 0x79]
mov qword [rbp - 0x61], rax
mov ecx, 0x10
call fcn.14008c680
movups xmm0, xmmword [rbp - 0x69]
movups xmmword [rax], xmm0
mov qword [rbp + 0x6f], rax
lea rcx, [rbp - 0x29]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r15d
mov r9, rax
lea r8, [0x140012040]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp - 0x31], rax
test rax, rax
je 0x140011ca0
movzx eax, byte [0x1401688f0]
test al, al
jne 0x140011c6a
movabs r12, 0x7ffffffffff0bdbf
movabs r13, 0x7fffffffffffffff
movdqa xmm6, xmmword [0x1400a9990]
movss xmm7, dword [0x1400a8fc8]
movzx r14d, byte [rbp + 0x67]
mov rdi, qword [rbp + 0x67]
mov rbx, qword [rbp + 0x67]
nop
movzx eax, byte [0x1400ba0f1]
test al, al
je 0x140011c50
nop
lea rcx, reloc.OLEAUT32.dll_SysReAllocString
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
jne 0x140011c94
cmp dword [0x1400ba14c], 0x7fffffff
je 0x140011c7e
lea rcx, [rbp - 0x11]
call fcn.14000e180
mov rcx, qword [rax]
mov qword [0x1401688f8], rcx
lea rcx, reloc.OLEAUT32.dll_SysReAllocString
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
cmp byte [0x1400ba0f6], 0
je 0x140011c41
cmp byte [0x14016897c], 0
je 0x140011c01
mov ecx, dword [0x1400f5d04]
test ecx, ecx
je 0x1400119e5
sub ecx, 1
je 0x1400119cb
cmp ecx, 1
jne 0x140011a07
mov byte [0x1400f5d10], cl
jmp 0x140011a16
mov ecx, dword [0x1400f5d00]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
setne al
mov byte [0x1400f5d10], al
jmp 0x140011a0e
mov ecx, dword [0x1400f5d00]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x140011a07
cmp byte [0x1400f5d10], 0
sete al
mov byte [0x1400f5d10], al
jmp 0x140011a0e
movzx eax, byte [0x1400f5d10]
test al, al
je 0x140011bde
test sil, sil
jne 0x140011a52
test r14b, r14b
je 0x140011a3a
test rdi, rdi
je 0x140011a3a
mov rcx, qword [0x140168980]
test rcx, rcx
je 0x140011a3a
mov rbx, rdi
mov qword [rbp + 0x67], rcx
jmp 0x140011a62
mov sil, 1
lea rcx, [rbp - 0x21]
call fcn.140017010
mov rax, qword [rbp - 0x21]
mov qword [rbp + 0x67], rax
mov rbx, qword [rbp - 0x19]
test rbx, rbx
je 0x140011bde
mov rcx, qword [0x140168980]
cmp byte [0x140168972], 0
je 0x140011af8
lea rcx, [rbx + 0x160]
call fcn.1400195f0
test rax, rax
jne 0x140011a8b
xorps xmm0, xmm0
xorps xmm1, xmm1
xorps xmm2, xmm2
jmp 0x140011ac5
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x38], 0
lea rcx, [rax + 0x14c]
mov r8d, 0xc
lea rdx, [rsp + 0x30]
call fcn.140012810
movss xmm0, dword [rsp + 0x30]
movss xmm1, dword [rsp + 0x34]
movss xmm2, dword [rsp + 0x38]
andps xmm0, xmm6
movss xmm3, dword [0x1400ba258]
comiss xmm0, xmm3
ja 0x140011ae9
andps xmm1, xmm6
comiss xmm1, xmm3
ja 0x140011ae9
andps xmm2, xmm6
comiss xmm2, xmm3
ja 0x140011ae9
xor al, al
jmp 0x140011aeb
mov al, 1
mov byte [0x14016898d], al
mov rcx, qword [0x140168980]
cmp qword [0x1401689c8], 0x1a8da65a
jne 0x140011b2a
lea rdx, [rbp - 0x59]
lea rcx, [0x140168980]
call fcn.140017540
mov r8, rax
lea rdx, [rbp + 0x7f]
lea rcx, [0x1401689b0]
call fcn.140017a70
jmp 0x140011b3a
add rcx, 0x2a0
call fcn.140019a00
mov qword [rbp + 0x7f], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x59], xmm0
mov qword [rbp - 0x49], 8
mov qword [rbp - 0x41], 0xf
mov rax, qword [str.Humanoid]
mov qword [rbp - 0x59], rax
mov byte [rbp - 0x51], 0
lea r8, [rbp - 0x59]
lea rdx, [rbp - 0x39]
lea rcx, [rbp + 0x7f]
call fcn.140017a70
cmp qword [0x140168980], 0
je 0x140011b9d
mov rcx, qword [rbp - 0x39]
add rcx, 0x18c
call fcn.140019c70
cmp byte [0x14016897f], 0
je 0x140011b9d
comiss xmm7, xmm0
ja 0x140011c41
test sil, sil
je 0x140011bbe
movsd xmm0, qword [rbp - 0x79]
movsd qword [rbp - 0x69], xmm0
mov eax, dword [rbp - 0x71]
mov dword [rbp - 0x61], eax
lea rdx, [rbp - 0x69]
mov rcx, rbx
call fcn.14000e600
mov rdi, rbx
mov rax, qword [rbp + 0x67]
mov qword [0x140168980], rax
mov r14b, 1
lea rcx, [rbp + 0x6f]
call fcn.14000e180
mov rax, qword [rbp + 0x6f]
jmp 0x140011c12
mov qword [0x140168980], r15
mov qword [rbp + 0x67], r15
mov rbx, r15
xor r14b, r14b
xor sil, sil
lea rcx, [rbp + 0x6f]
call fcn.14000e180
mov rax, qword [rbp + 0x6f]
jmp 0x140011c12
lea rcx, [rbp + 0x6f]
call fcn.14000e180
mov rax, qword [rbp + 0x6f]
mov qword [rbp + 0x77], rax
cmp rax, r12
je 0x140011c34
mov ecx, 1
mov edx, 0xff
cmovl ecx, edx
test cl, cl
jns 0x140011c34
add rax, 0xf4240
mov qword [rbp + 0x77], rax
jmp 0x140011c38
mov qword [rbp + 0x77], r13
lea rcx, [rbp + 0x77]
call fcn.14000e2f0
movzx eax, byte [0x1400ba0f1]
test al, al
jne 0x140011950
mov eax, 1
xchg byte [0x1400ba0f1], al
movzx ecx, byte [0x1401688f0]
test cl, cl
je 0x140011940
xchg byte [0x1400ba0f0], r15b
cmp dword [rbp - 0x29], 0
je 0x140011cb0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
nop
mov dword [0x1400ba14c], 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 - 0x29], r15d
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
movaps xmm6, xmmword [rsp + 0xc0]
movaps xmm7, xmmword [rsp + 0xb0]
add rsp, 0xd8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret