Function at 0x180014320
Capabilities:
Allocate thread local storage
Create thread

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x1a0
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x1801bc080]
xor rax, rsp
mov qword [rsp + 0x190], rax
mov rdi, rcx
mov eax, 1
xchg dword [0x1801c5758], eax
test eax, eax
jne 0x180014593
mov rax, qword [rcx + 8]
test rax, rax
jne 0x1800143dd
lea ecx, [rax + 8]
call fcn.1800ef564
mov qword [rsp + 0x30], rax
lea rcx, vtable.RCMinHookApiHook.0
mov qword [rax], rcx
mov qword [rdi + 8], rax
xor edx, edx
mov r8d, 0x114
lea rcx, [rsp + 0x70]
call fcn.18010e6d0
mov dword [rsp + 0x70], 0x114
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [rsp + 0x74]
mov dword [0x1801c29d8], eax
mov eax, dword [rsp + 0x78]
mov dword [0x1801c29b8], eax
mov eax, dword [rsp + 0x7c]
mov dword [0x1801c29bc], eax
call fcn.18009d2f0
mov rax, qword [rdi + 8]
test rax, rax
je 0x180014593
call fcn.180032ec0
mov rsi, rax
mov qword [0x1801c49f0], rax
test rax, rax
je 0x180014595
mov rcx, qword [rdi + 8]
mov rax, qword [rcx]
call qword [rax]
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x1801c29dc], eax
mov edx, 0xc8
lea rcx, [0x180136bc0]
call fcn.180137580
mov r9b, 1
lea r8, [0x1800099a0]
mov rdx, rsi
lea rcx, [rdi + 0x10]
call fcn.180136a00
test al, al
je 0x180014457
lea rcx, [rdi + 0x10]
call fcn.180136960
mov qword [0x1801c29d0], rax
lea rcx, [rdi + 0x10]
call fcn.180136af0
lea rcx, [rsi - 8]
call fcn.180136ca0
lea rdx, [rsi - 0x18]
mov r9b, 1
lea r8, [0x180009600]
lea rcx, [rdi + 0x78]
call fcn.180136a00
lea rcx, [rdi + 0x78]
call fcn.180136960
mov qword [0x1801c29c0], rax
lea rcx, [rdi + 0x78]
call fcn.180136af0
mov rax, qword [0x1801c29c0]
test rax, rax
je 0x1800144c0
mov qword [rsp + 0x30], rax
mov r9b, 1
lea r8, [0x1800095c0]
lea rdx, [rsp + 0x30]
lea rcx, [rdi + 0x38]
call fcn.180137330
lea rcx, [rdi + 0x38]
call fcn.1801372f0
mov qword [0x1801c29e0], rax
xor eax, eax
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], eax
mov r9, rdi
lea r8, [0x180014210]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
call fcn.180015350
test al, al
je 0x180014587
call fcn.180032f30
test rax, rax
je 0x180014587
mov r9b, 1
lea r8, [0x18000a400]
mov rdx, rax
lea rcx, [rdi + 0xa0]
call fcn.180136a00
test al, al
je 0x180014587
lea rcx, [rdi + 0xa0]
call fcn.180136960
mov qword [0x1801c29c8], rax
mov rcx, qword [rdi + 8]
test rcx, rcx
jne 0x180014541
lea rcx, [rdi + 0xa0]
call fcn.180136980
jmp 0x180014587
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
mov byte [rsp + 0x60], 0
mov rax, qword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], rax
lea rax, [0x18000a6b0]
mov qword [rsp + 0x58], rax
mov rax, qword [rcx]
lea rdx, [rsp + 0x38]
call qword [rax + 8]
test al, al
je 0x180014533
mov rax, qword [rsp + 0x50]
mov qword [0x1801c29b0], rax
mov rcx, qword [rdi + 8]
mov rax, qword [rcx]
mov dl, 1
call qword [rax + 0x18]
mov al, 1
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.1800ef540
lea r11, [rsp + 0x1a0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret