Function at 0x18008b4e0
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 [0x180141030]
xor rax, rsp
mov qword [rbp + 0x80], rax
mov rsi, rcx
xor r14d, r14d
cmp edx, 1
jne 0x18008b8e6
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 0x18008b555
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x50]
call fcn.18008b980
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 0x18008b5b7
lea rcx, [r8 - 1]
mov rax, rbx
cmp rcx, rbx
cmovb rax, rcx
add rax, rdx
cmp byte [rax], 0x5c
je 0x18008b5b2
cmp rax, rdx
je 0x18008b5b7
dec rax
cmp byte [rax], 0x5c
jne 0x18008b5a5
sub rax, rdx
jmp 0x18008b5ba
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 0x18008b94c
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.18008b980
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x18008b640
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18008b63b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18008b63b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18011e500
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 [0x18012d970]
movdqu xmmword [rsp + 0x34], xmm0
mov dword [rsp + 0x44], 0x1f32e924
mov dword [rsp + 0x48], 0xb81fd732
mov r8b, 0x1f
mov r9b, 0xb8
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 0x18008b6cd
movzx r9d, byte [rsp + 0x4b]
movzx r8d, byte [rsp + 0x4a]
jmp 0x18008b6a0
mov byte [rsp + rax + 0x34], 0
lea rax, [rsp + 0x34]
inc rbx
cmp byte [rax + rbx], 0
jne 0x18008b6d7
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 0x18008b92f
cmp rdi, rbx
jb 0x18008b92f
ja 0x18008b92f
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, [0x18012cf28]
call fcn.1800c2da0
mov qword [0x180142a10], rax
lea rcx, [0x18012cf08]
call fcn.1800c2da0
mov qword [0x180142a20], rax
lea rcx, [0x18012cf90]
call fcn.1800c2da0
mov qword [0x180142a18], rax
lea rcx, [0x18012ce90]
call fcn.1800c2da0
mov qword [0x180142d30], rax
lea rcx, [0x18012ce78]
call fcn.1800c2da0
mov qword [0x180142d00], rax
lea rcx, [0x18012cec8]
call fcn.1800c2da0
mov qword [0x180142d68], rax
lea rcx, [0x18012cea8]
call fcn.1800c2da0
mov qword [0x180142d40], rax
lea rcx, [0x18012ce40]
call fcn.1800c2da0
mov qword [0x180142d10], rax
lea rcx, [0x18012ce28]
call fcn.1800c2da0
mov qword [0x180142d20], rax
lea rcx, [0x18012ce68]
call fcn.1800c2da0
mov qword [0x180142d60], rax
lea rcx, [0x18012ce58]
call fcn.1800c2da0
mov qword [0x180142d08], rax
lea rcx, [0x18012cf50]
call fcn.1800c2da0
mov qword [0x180142d18], rax
lea rcx, [0x18012cf40]
call fcn.1800c2da0
mov qword [0x180142d48], rax
lea rcx, [0x18012cf78]
call fcn.1800c2da0
mov qword [0x180142d38], rax
lea rcx, [0x18012cf60]
call fcn.1800c2da0
mov qword [0x180142d28], rax
lea rcx, [0x18012cef8]
call fcn.1800c2da0
mov qword [0x180142d58], rax
lea rcx, [0x18012cee8]
call fcn.1800c2da0
mov qword [0x180142d50], rax
mov ecx, 8
call fcn.18011e144
lea rcx, [0x18008ac50]
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, [0x18008baa0]
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 0x18008b91e
cmp dword [rsp + 0x38], 0
je 0x18008b912
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 0x18008b912
lea rcx, [rsp + 0x50]
call fcn.180007620
mov eax, 1
mov rcx, qword [rbp + 0x80]
xor rcx, rsp
call fcn.18011e040
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.18008b960
int3