Function at 0x18006fc70
Capabilities:
Allocate thread local storage

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x80
mov rax, qword [0x1800c37a8]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rbp, r9
mov r14d, r8d
mov rsi, rdx
mov rdi, rcx
xor ebx, ebx
mov qword [rsp + 0x40], rbx
mov r15d, ILFindLastID
mov qword [rsp + 0x48], r15
mov byte [rsp + 0x30], bl
lea eax, [r8 - 5]
mov dword [rsp + 0x24], eax
cmp r8d, eax
jbe 0x18006fea6
movzx r13d, byte [rsp + 0x20]
mov r12d, dword [rsp + 0x24]
nop dword [rax]
nop dword [rax + rax]
mov eax, r14d
sub eax, 0x94
je 0x18006fe35
sub eax, 1
je 0x18006fda1
sub eax, 1
je 0x18006fd39
sub eax, 4
je 0x18006fd31
cmp eax, 1
jne 0x18006fe93
mov r8, rbp
mov edx, 0x11a
mov rcx, rdi
call fcn.180027690
lea r8, [rbp + 0x20]
lea rcx, [rdi + 0x30]
mov edx, 0x11a
call fcn.180027690
jmp 0x18006fe93
mov dword [rdi + 0x60], ebx
jmp 0x18006fe93
mov r13b, 1
mov ecx, 0x20
call fcn.1800a103c
mov rbx, rax
mov qword [rsp + 0x28], rax
test rax, rax
je 0x18006fd87
mov qword [rax + 0x10], 0
mov qword [rax + 0x18], r15
mov byte [rax], 0
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rdi + r8], 0
jne 0x18006fd70
mov rdx, rdi
mov rcx, rax
call fcn.18001d7f0
jmp 0x18006fd89
xor ebx, ebx
movups xmm0, xmmword [rbx]
movups xmmword [rsp + 0x30], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rsp + 0x40], xmm1
xor ebx, ebx
jmp 0x18006fe93
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov r12d, eax
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], r15
mov byte [rsp + 0x50], 0
mov r8, 0xffffffffffffffff
inc r8
cmp byte [r8 + rbp], 0
jne 0x18006fdc0
mov rdx, rbp
lea rcx, [rsp + 0x50]
call fcn.18001d7f0
nop
lea r8, [rsp + 0x50]
mov edx, 0x7a
lea rcx, [rsp + 0x30]
call fcn.1800595f0
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x18006fe2a
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18006fe25
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18006fedd
call fcn.1800a1078
cmp r12d, 0xffffffff
jne 0x18006fe93
xor r13b, r13b
jmp 0x18006fe93
mov r9d, 0x11e
mov r8, rsi
lea rdx, [rsp + 0x30]
xor ecx, ecx
call fcn.18003bff0
test r13b, r13b
je 0x18006fe58
mov ecx, r12d
call qword [sym.imp.KERNEL32.dll_TlsFree]
mov rcx, qword [rsi + 0x10]
mov rdx, qword [rsi + 0x18]
cmp rcx, rdx
jae 0x18006fe81
lea rax, [rcx + 1]
mov qword [rsi + 0x10], rax
mov rax, rsi
cmp rdx, 0x10
jb 0x18006fe79
mov rax, qword [rsi]
mov word [rax + rcx], 0xa
jmp 0x18006fe93
mov r9b, 0xa
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, rsi
call fcn.180002a40
dec r14d
cmp r14d, dword [rsp + 0x24]
ja 0x18006fce0
mov r15, qword [rsp + 0x48]
cmp r15, 0x10
jb 0x18006fee9
lea rdx, [r15 + 1]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18006fee4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18006fee4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.1800a1078
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1800a1820
mov rbx, qword [rsp + 0xd0]
add rsp, 0x80
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret