Function at 0x140027ba0
Capabilities:
Create thread
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x14015d040]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rsi, rcx
xor r15d, r15d
mov rax, qword [rcx]
mov rbx, qword [rax]
mov rbx, qword [rbx + 8]
mov rbx, qword [rbx]
lea r14, [0x140167490]
cmp byte [rbx + 0x19], r15b
jne 0x140027dd6
mov ecx, 0x25a8
mov r13d, 0x18c0
movabs r12, 0x7fffffffffffffff
nop dword [rax]
movzx eax, word [rbx + 0x20]
cmp ax, 0x12
je 0x140027d7f
cmp ax, 0x20
je 0x140027d7f
cmp ax, r13w
je 0x140027d7f
cmp ax, cx
je 0x140027d7f
cmp byte [rbx + 0x22], 0
jbe 0x140027d7f
mov qword [rbp - 0x30], r14
mov rcx, r14
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
jne 0x140027de7
cmp dword [0x1401674dc], 0x7fffffff
je 0x140027dfe
mov rax, qword [rsi + 8]
movsxd rdi, dword [rax]
lea rcx, [rbp - 0x20]
call fcn.140005a00
mov rax, qword [rbp - 0x20]
mov qword [rbp - 0x40], rax
test rdi, rdi
jle 0x140027cae
imul rcx, rdi, 0xf4240
imul rdx, rdi, 0xf4240
mov r8, r12
sub r8, rdx
cmp rax, r8
jge 0x140027caa
lea rdx, [rcx + rax]
mov qword [rbp - 0x40], rdx
jmp 0x140027cae
mov qword [rbp - 0x40], r12
lea rcx, [rbp - 0x40]
call fcn.14002dce0
mov rax, qword [rsi + 0x10]
cmp dword [rax], 5
jle 0x140027cc7
mov rax, qword [rsi + 8]
mov dword [rax], r15d
cmp byte [0x140166a20], 0
je 0x140027df3
mov rdx, qword [0x140167a98]
cmp byte [rdx + 0x1d0], 0
je 0x140027df3
mov dword [rbp - 0x50], 0x8c9e8e90
mov word [rbp - 0x4c], 0x100
mov rcx, r15
nop dword [rax + rax]
lea eax, [rcx - 0x2b]
xor byte [rbp + rcx - 0x50], al
inc rcx
cmp rcx, 4
jb 0x140027d00
mov byte [rbp - 0x4b], 0
lea rcx, [rbp - 0x50]
mov rax, 0xffffffffffffffff
nop
inc rax
cmp byte [rcx + rax], 0
jne 0x140027d20
lea rcx, [rdx + 0x140]
cmp qword [rdx + 0x158], 0xf
jbe 0x140027d41
mov rcx, qword [rdx + 0x140]
mov r8, qword [rdx + 0x150]
cmp r8, rax
jne 0x140027d5e
lea rdx, [rbp - 0x50]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x140027df3
movzx edx, byte [rbx + 0x22]
movzx ecx, word [rbx + 0x20]
call fcn.140006f20
mov rax, qword [rsi + 0x10]
inc dword [rax]
mov rcx, r14
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
mov ecx, 0x25a8
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
je 0x140027dab
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x140027da6
cmp rbx, qword [rax + 0x10]
jne 0x140027da6
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x140027d93
mov rbx, rax
jmp 0x140027dcc
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
jne 0x140027dcc
nop word [rax + rax]
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x140027dc0
cmp byte [rbx + 0x19], 0
je 0x140027c10
mov qword [rbp - 0x30], r14
mov rcx, r14
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
je 0x140027e0a
mov ecx, 5
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov rcx, r14
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
jmp 0x140027dd6
mov dword [0x1401674dc], 0x7ffffffe
jmp 0x140027e1f
mov eax, dword [0x1401674dc]
cmp eax, 0x7fffffff
jne 0x140027e2b
dec eax
mov dword [0x1401674dc], eax
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov byte [0x140166a20], 0
mov ecx, 1
call fcn.14010ee60
mov qword [rbp - 0x20], rax
lea rcx, [rbp - 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r15d
mov r9, rax
lea r8, [0x14002e6a0]
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 0x140027eca
cmp dword [rbp - 0x38], 0
je 0x140027ebe
movaps xmm0, xmmword [rbp - 0x40]
movdqa xmmword [rbp - 0x20], xmm0
lea rcx, [rbp - 0x20]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x140027ebe
mov rcx, r14
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.14010ee40
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rbp - 0x38], r15d
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3