Function at 0x1800860b0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x90]
sub rsp, 0x190
mov rax, qword [0x18013c030]
xor rax, rsp
mov qword [rbp + 0x80], rax
mov rsi, rcx
xor r14d, r14d
cmp edx, 1
jne 0x1800864b6
call qword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
mov r8d, SerializeElements<ATL::CStringT<wchar_t,StrTraitMFC_DLL<wchar_t,ATL::ChTraitsCRT<wchar_t>
lea rdx, [rbp - 0x80]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], r14
lea rax, [rbp - 0x80]
mov rbx, 0xffffffffffffffff
mov r8, rbx
inc r8
cmp byte [rax + r8], r14b
jne 0x180086125
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x50]
call fcn.180086550
nop
lea rdx, [rsp + 0x50]
cmp qword [rsp + 0x68], 0x10
setae r10b
mov r9, qword [rsp + 0x50]
cmovae rdx, r9
mov r8, qword [rsp + 0x60]
test r8, r8
je 0x180086187
lea rcx, [r8 - 1]
mov rax, rbx
cmp rcx, rbx
cmovb rax, rcx
add rax, rdx
cmp byte [rax], 0x5c
je 0x180086182
cmp rax, rdx
je 0x180086187
dec rax
cmp byte [rax], 0x5c
jne 0x180086175
sub rax, rdx
jmp 0x18008618a
mov rax, rbx
inc eax
movsxd rcx, eax
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x48], r14
cmp r8, rcx
jb 0x18008651c
mov rax, r8
sub rax, rcx
cmp rax, r8
cmovb r8, rax
lea rdx, [rsp + 0x50]
test r10b, r10b
cmovne rdx, r9
add rdx, rcx
lea rcx, [rsp + 0x30]
call fcn.180086550
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x180086210
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18008620b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18008620b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180118cd0
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rsp + 0x50], xmm0
movups xmm1, xmmword [rsp + 0x40]
movups xmmword [rsp + 0x60], xmm1
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x48], 0xf
mov byte [rsp + 0x30], 0
lea rcx, [rsp + 0x30]
call fcn.180007620
mov dword [rsp + 0x30], 0x15
movdqa xmm0, xmmword [0x1801286b0]
movdqu xmmword [rsp + 0x34], xmm0
mov dword [rsp + 0x44], 0x15306b1e
mov dword [rsp + 0x48], 0xf4594d30
mov r8b, 0x59
mov r9b, 0xf4
mov edx, r14d
mov eax, edx
lea rcx, [rsp + 0x34]
add rcx, rax
movzx eax, byte [rcx]
sub al, r9b
xor al, r8b
mov byte [rcx], al
inc edx
mov eax, dword [rsp + 0x30]
cmp edx, eax
jae 0x18008629d
movzx r9d, byte [rsp + 0x4b]
movzx r8d, byte [rsp + 0x4a]
jmp 0x180086270
mov byte [rsp + rax + 0x34], 0
lea rax, [rsp + 0x34]
inc rbx
cmp byte [rax + rbx], 0
jne 0x1800862a7
lea rcx, [rsp + 0x50]
cmp qword [rsp + 0x68], 0x10
cmovae rcx, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x60]
mov r8, rdi
cmp rbx, rdi
cmovb r8, rbx
lea rdx, [rsp + 0x34]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1800864ff
cmp rdi, rbx
jb 0x1800864ff
ja 0x1800864ff
xor edx, edx
mov r8d, SerializeElements<ATL::CStringT<wchar_t,StrTraitMFC_DLL<wchar_t,ATL::ChTraitsCRT<wchar_t>
lea rcx, [rbp - 0x80]
call sub.VCRUNTIME140.dll_memset
lea rcx, [0x180127f40]
call fcn.1800bd910
mov qword [0x18013d9d8], rax
lea rcx, [0x180127f80]
call fcn.1800bd910
mov qword [0x18013d9e0], rax
lea rcx, [0x180127f68]
call fcn.1800bd910
mov qword [0x18013d9e8], rax
lea rcx, [0x180127e80]
call fcn.1800bd910
mov qword [0x18013dcf8], rax
lea rcx, [0x180127e30]
call fcn.1800bd910
mov qword [0x18013dcc8], rax
lea rcx, [0x180127e10]
call fcn.1800bd910
mov qword [0x18013dd30], rax
lea rcx, [0x180127e60]
call fcn.1800bd910
mov qword [0x18013dd08], rax
lea rcx, [0x180127e48]
call fcn.1800bd910
mov qword [0x18013dcd8], rax
lea rcx, [0x180127f08]
call fcn.1800bd910
mov qword [0x18013dce8], rax
lea rcx, [0x180127ef8]
call fcn.1800bd910
mov qword [0x18013dd28], rax
lea rcx, [0x180127f30]
call fcn.1800bd910
mov qword [0x18013dcd0], rax
lea rcx, [0x180127f20]
call fcn.1800bd910
mov qword [0x18013dce0], rax
lea rcx, [0x180127ec0]
call fcn.1800bd910
mov qword [0x18013dd10], rax
lea rcx, [0x180127ea8]
call fcn.1800bd910
mov qword [0x18013dd00], rax
lea rcx, [0x180127ee0]
call fcn.1800bd910
mov qword [0x18013dcf0], rax
lea rcx, [0x180127ed0]
call fcn.1800bd910
mov qword [0x18013dd20], rax
lea rcx, [0x180127f58]
call fcn.1800bd910
mov qword [0x18013dd18], rax
mov ecx, 8
call fcn.180118914
lea rcx, [0x180085810]
mov qword [rax], rcx
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r14d
mov r9, rax
lea r8, [0x180086670]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x30], rax
test rax, rax
je 0x1800864ee
cmp dword [rsp + 0x38], 0
je 0x1800864e2
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x70], xmm0
lea rcx, [rsp + 0x70]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x1800864e2
lea rcx, [rsp + 0x50]
call fcn.180007620
mov eax, 1
mov rcx, qword [rbp + 0x80]
xor rcx, rsp
call fcn.180118810
lea r11, [rsp + 0x190]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rsp + 0x38], r14d
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
xor edx, edx
mov r8d, SerializeElements<ATL::CStringT<wchar_t,StrTraitMFC_DLL<wchar_t,ATL::ChTraitsCRT<wchar_t>
lea rcx, [rbp - 0x80]
call sub.VCRUNTIME140.dll_memset
xor edx, edx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeLibraryAndExitThread]
call fcn.180086530
int3