Function at 0x1800140c0
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 [0x1801b8080]
xor rax, rsp
mov qword [rsp + 0x190], rax
mov rdi, rcx
mov eax, 1
xchg dword [0x1801c1718], eax
test eax, eax
jne 0x180014333
mov rax, qword [rcx + 8]
test rax, rax
jne 0x18001417d
lea ecx, [rax + 8]
call fcn.1800ece44
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.18010bfb0
mov dword [rsp + 0x70], 0x114
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [rsp + 0x74]
mov dword [0x1801be998], eax
mov eax, dword [rsp + 0x78]
mov dword [0x1801be978], eax
mov eax, dword [rsp + 0x7c]
mov dword [0x1801be97c], eax
call fcn.18009abe0
mov rax, qword [rdi + 8]
test rax, rax
je 0x180014333
call fcn.180032af0
mov rsi, rax
mov qword [0x1801c09b0], rax
test rax, rax
je 0x180014335
mov rcx, qword [rdi + 8]
mov rax, qword [rcx]
call qword [rax]
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x1801be99c], eax
mov edx, 0xc8
lea rcx, [0x1801344a0]
call fcn.180134e60
mov r9b, 1
lea r8, [0x180009930]
mov rdx, rsi
lea rcx, [rdi + 0x10]
call fcn.1801342e0
test al, al
je 0x1800141f7
lea rcx, [rdi + 0x10]
call fcn.180134240
mov qword [0x1801be990], rax
lea rcx, [rdi + 0x10]
call fcn.1801343d0
lea rcx, [rsi - 8]
call fcn.180134580
lea rdx, [rsi - 0x18]
mov r9b, 1
lea r8, [0x180009590]
lea rcx, [rdi + 0x78]
call fcn.1801342e0
lea rcx, [rdi + 0x78]
call fcn.180134240
mov qword [0x1801be980], rax
lea rcx, [rdi + 0x78]
call fcn.1801343d0
mov rax, qword [0x1801be980]
test rax, rax
je 0x180014260
mov qword [rsp + 0x30], rax
mov r9b, 1
lea r8, [0x180009550]
lea rdx, [rsp + 0x30]
lea rcx, [rdi + 0x38]
call fcn.180134c10
lea rcx, [rdi + 0x38]
call fcn.180134bd0
mov qword [0x1801be9a0], rax
xor eax, eax
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], eax
mov r9, rdi
lea r8, [0x180013fb0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
call fcn.1800150f0
test al, al
je 0x180014327
call fcn.180032b60
test rax, rax
je 0x180014327
mov r9b, 1
lea r8, [0x18000a390]
mov rdx, rax
lea rcx, [rdi + 0xa0]
call fcn.1801342e0
test al, al
je 0x180014327
lea rcx, [rdi + 0xa0]
call fcn.180134240
mov qword [0x1801be988], rax
mov rcx, qword [rdi + 8]
test rcx, rcx
jne 0x1800142e1
lea rcx, [rdi + 0xa0]
call fcn.180134260
jmp 0x180014327
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, [0x18000a640]
mov qword [rsp + 0x58], rax
mov rax, qword [rcx]
lea rdx, [rsp + 0x38]
call qword [rax + 8]
test al, al
je 0x1800142d3
mov rax, qword [rsp + 0x50]
mov qword [0x1801be970], 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.1800ece20
lea r11, [rsp + 0x1a0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret