Function at 0x14008c1cc
Capabilities:
Create thread

Disassembly:
mov rax, rsp
push rbp
push r13
push r15
lea rbp, [rax - 0x1b8]
sub rsp, 0x2a0
mov qword [rbp - 0x28], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
mov rdi, rcx
lea r15, [0x1400167c0]
mov qword [rsp + 0x30], r15
lea r12, [0x140016820]
mov qword [rsp + 0x38], r12
lea r13, [0x1400167a8]
mov qword [rsp + 0x40], r13
mov dword [rsp + 0x48], 0x122
mov dword [rsp + 0x4c], 1
mov dword [rsp + 0x50], 0xff
xor esi, esi
mov dword [rbp - 0x30], 0x1000000
xor edx, edx
lea r8d, [rsi + 0x78]
lea rcx, [rsp + 0x58]
call sub.msvcrt.dll_memset
xor r8d, r8d
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x20]
call fcn.140052e50
nop
cmp qword [rdi + 0x10], rsi
jne 0x14008c46d
cmp dword [rdi + 0x1c], 1
jne 0x14008c46d
lea rax, [rdi + 0x18]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 4
mov r9, rdi
lea r8, [0x14008d2a0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.msvcrt.dll__beginthreadex]
test rax, rax
jne 0x14008c398
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x40], r13
mov dword [rsp + 0x48], 0x13a
lea ebx, [rsi + 0xb]
mov dword [rsp + 0x4c], ebx
mov edi, 0xff
mov dword [rsp + 0x50], edi
mov dword [rbp - 0x30], 0x1000000
xor edx, edx
lea r8d, [rsi + 0x78]
lea rcx, [rsp + 0x58]
call sub.msvcrt.dll_memset
call qword [sym.imp.msvcrt.dll__errno]
mov r9d, dword [rax]
lea r8, [0x140016860]
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x20]
call fcn.1400510b0
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x40], r13
mov dword [rsp + 0x48], 0x13b
mov dword [rsp + 0x4c], ebx
mov dword [rsp + 0x50], edi
mov dword [rbp - 0x30], 0x1000000
xor edx, edx
lea r8d, [rsi + 0x78]
lea rcx, [rsp + 0x58]
call sub.msvcrt.dll_memset
xor r8d, r8d
lea rdx, [rbp + 0x50]
lea rcx, [rsp + 0x30]
call fcn.1400ff820
mov rbx, rax
call qword [sym.imp.msvcrt.dll__errno]
mov r8d, dword [rax]
lea rdx, [rbp + 0xf8]
mov rcx, rbx
call fcn.1400ff820
mov r9d, 1
mov r8, rax
mov edx, 0x3008
lea rcx, [rbp - 0x20]
call fcn.14004a830
lea rcx, [rbp + 0x50]
call fcn.1400ff75c
lea rcx, [rsp + 0x30]
call fcn.1400ff75c
mov eax, 0x8007000e
jmp 0x14008c4ca
cmp rax, 0xffffffffffffffff
jne 0x14008c449
call qword [sym.imp.msvcrt.dll__errno]
mov ebx, reloc.VssTrace.DLL_Ordinal_11
cmp dword [rax], ebx
je 0x14008c38e
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x40], r13
mov dword [rsp + 0x48], 0x147
mov dword [rsp + 0x4c], ebx
mov edi, 0xff
mov dword [rsp + 0x50], edi
mov dword [rbp - 0x30], 0x1000000
xor edx, edx
lea r8d, [rbx + 0x6d]
lea rcx, [rsp + 0x58]
call sub.msvcrt.dll_memset
call qword [sym.imp.msvcrt.dll__errno]
mov r9d, dword [rax]
lea r8, [0x140016860]
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x20]
call fcn.1400510b0
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x40], r13
mov dword [rsp + 0x48], 0x148
mov dword [rsp + 0x4c], ebx
mov dword [rsp + 0x50], edi
mov dword [rbp - 0x30], 0x1000000
xor edx, edx
lea r8d, [rbx + 0x6d]
lea rcx, [rsp + 0x58]
call sub.msvcrt.dll_memset
or r8d, 0xffffffff
jmp 0x14008c33b
mov qword [rdi + 0x10], rax
mov rax, qword [rdi]
mov rbx, qword [rax]
mov rcx, rbx
call qword [fcn.14005e6a0]
mov rcx, rdi
call rbx
mov byte [rdi + 8], al
mov dword [rdi + 0x1c], 2
jmp 0x14008c4cc
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x40], r13
mov dword [rsp + 0x48], 0x127
mov ebx, reloc.VssTrace.DLL_Ordinal_11
mov dword [rsp + 0x4c], ebx
mov dword [rsp + 0x50], 0xff
mov dword [rbp - 0x30], 0x1000000
xor edx, edx
lea r8d, [rbx + 0x6d]
lea rcx, [rsp + 0x58]
call sub.msvcrt.dll_memset
mov r9d, dword [rdi + 0x1c]
lea r8, [0x140016800]
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x20]
call fcn.1400510b0
mov eax, 0x8000ffff
mov esi, eax
lea rcx, [rbp - 0x20]
call fcn.140050f50
mov eax, esi
lea r11, [rsp + 0x2a0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r13
pop rbp
ret