Function at 0x18000fae0
Capabilities:
Allocate thread local storage

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
lea r13, [0x18011c260]
mov qword [rsp + 0x60], r13
xor ebp, ebp
mov qword [0x18011c260], rbp
mov qword [0x18011c268], rbp
lea ecx, [rbp + 0x30]
call fcn.18008a528
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [0x18011c260], rax
xorps xmm0, xmm0
movdqa xmmword [0x18011c270], xmm0
mov dword [0x18011c280], ebp
mov qword [0x18011c288], rbp
mov qword [0x18011c290], rbp
lea ecx, [rbp + 0x38]
call fcn.18008a528
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [0x18011c288], rax
mov dword [0x18011c298], ebp
mov qword [0x18011c2a0], rbp
mov qword [0x18011c2a8], rbp
lea ecx, [rbp + 0x30]
call fcn.18008a528
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [0x18011c2a0], rax
mov qword [0x18011c2b8], rbp
mov qword [0x18011c2c0], rbp
lea ecx, [rbp + 0x60]
call fcn.18008a528
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [0x18011c2b8], rax
mov qword [0x18011c2c8], rbp
mov qword [0x18011c2d0], rbp
mov byte [0x18011c2d8], bpl
xorps xmm0, xmm0
movdqa xmmword [0x18011c2e0], xmm0
mov qword [0x18011c2f0], rbp
mov dword [0x18011c2f8], ebp
mov byte [0x18011c2fc], bpl
mov qword [0x18011c300], rbp
mov qword [0x18011c308], rbp
mov qword [0x18011c310], rbp
lea ecx, [rbp + 0x30]
call fcn.18008a528
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [0x18011c308], rax
mov dword [0x18011c318], ebp
mov qword [0x18011c328], rbp
mov qword [0x18011c330], rbp
mov ecx, 0xa8
call fcn.18008a528
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [0x18011c328], rax
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexA]
mov qword [0x18011c338], rax
call fcn.1800187c0
mov rcx, rax
call fcn.180095040
call fcn.180095014
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, qword [0x180102440]
mulsd xmm0, qword [0x180102410]
cvttsd2si eax, xmm0
mov ecx, 1
sub ecx, eax
mov dword [0x18011c280], ecx
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexA]
mov qword [0x18011c270], rax
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexA]
mov qword [0x18011c278], rax
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexA]
mov qword [0x18011c2f0], rax
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x18011c298], eax
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexA]
mov qword [0x18011c2b0], rax
lea ecx, [rbp + 0x40]
call fcn.18008a528
mov r15, rax
mov qword [rsp + 0x68], rax
mov qword [rax], rbp
mov qword [rax + 8], rbp
lea ecx, [rbp + 0x18]
call fcn.18008a528
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [r15], rax
mov qword [r15 + 0x10], rbp
mov qword [r15 + 0x18], rbp
mov qword [r15 + 0x20], rbp
mov dword [r15 + 0x28], 0x400
mov r8d, 0xc00
mov qword [r15 + 0x2c], r8
mov rsi, qword [r15 + 0x18]
mov rcx, rsi
sar rcx, 4
cmp rcx, r8
jbe 0x18000fdd3
mov r12d, 0xc000
mov edi, r12d
cmp r12, rsi
je 0x18000fdcd
nop word [rax + rax]
mov rcx, qword [rdi]
mov rax, qword [rcx + 8]
mov qword [rax], rbp
mov rcx, qword [rcx]
test rcx, rcx
je 0x18000fdb7
mov rbx, qword [rcx]
mov edx, 0x18
call fcn.18008a564
mov rcx, rbx
test rbx, rbx
jne 0x18000fda2
mov edx, 0x18
mov rcx, qword [rdi]
call fcn.18008a564
add rdi, 0x10
cmp rdi, rsi
jne 0x18000fd90
mov qword [r15 + 0x18], r12
jmp 0x18000fe02
jae 0x18000fe02
mov rax, rbp
sar rax, 4
cmp rax, r8
jae 0x18000fdef
mov rdx, r8
lea rcx, [r15 + 0x10]
call fcn.180016fd0
jmp 0x18000fe02
sub r8, rcx
mov rdx, rsi
lea rcx, [r15 + 0x10]
call fcn.180016ad0
mov qword [r15 + 0x18], rax
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexA]
mov qword [r15 + 0x38], rax
mov qword [0x18011c2d0], r15
mov rax, r13
mov rbx, qword [rsp + 0x70]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret