Function at 0x1400b2250
Capabilities:
Allocate thread local storage

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x98
movaps xmmword [rsp + 0x80], xmm6
mov rbx, rdx
mov rdi, rcx
mov rax, qword [0x1401c6028]
xor rax, rsp
mov qword [rsp + 0x78], rax
lea rsi, [rcx + 0x40]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x1400b22cc
cmp byte [rdi + 0x1470], 0
je 0x1400b22dd
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140152280
mov rcx, rsi
movaps xmm6, xmmword [rsp + 0x80]
add rsp, 0x98
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
jmp qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov rcx, rsi
call fcn.1400b4580
cmp byte [rdi + 0x1470], 0
jne 0x1400b229a
call fcn.1400849b0
cmp byte [rbx + 2], 1
sete byte [rdi + 4]
sete al
cmp byte [rbx + 3], 1
sete dl
cmp qword [0x1401c8590], 0xffffffffffffffff
setne cl
and cl, dl
mov byte [rdi + 0x10], cl
cmp byte [rbx + 0x18], 1
sete byte [rdi + 0x11]
cmp byte [rbx + 4], 1
sete byte [rdi + 0x12]
jne 0x1400b247b
movabs r15, 0xaaaaaaaaaaaaaaaa
mov rax, qword [rbx + 0x10]
mov qword [rdi + 0x1938], rax
mov rax, qword [rbx + 8]
mov qword [rdi + 0x1930], rax
lea r12, [rdi + 0x1940]
mov rax, qword [rbx + 0x10]
mov qword [rdi + 0x1948], rax
mov r13, qword [rbx + 8]
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x30], r13
mov byte [rsp + 0x38], 1
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x70], r15
lea rcx, [rsp + 0x70]
mov edx, 8
call fcn.140129a90
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x70], r15
lea rcx, [rsp + 0x70]
mov edx, 8
call fcn.140129a90
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x50], rax
call fcn.1400e4b00
mov rdx, r13
shl rdx, 4
mov rcx, rax
xor r8d, r8d
call fcn.1400260d0
test r13, r13
je 0x1400b2626
mov r14, rax
lea rbp, [rsp + 0x58]
cmp byte [rdi + 0x19c0], 0
je 0x1400b23dc
mov byte [rdi + 0x19c0], 0
mov qword [rdi + 0x1978], r12
mov qword [rdi + 0x1980], r13
mov byte [rdi + 0x1988], 1
xorps xmm6, xmm6
movaps xmmword [rdi + 0x1990], xmm6
mov qword [rdi + 0x19a0], 0
mov qword [rsp + 0x70], r15
lea rcx, [rsp + 0x70]
mov edx, 8
call fcn.140129a90
mov rax, qword [rsp + 0x70]
mov qword [rdi + 0x1998], rax
mov qword [rsp + 0x70], r15
lea rcx, [rsp + 0x70]
mov edx, 8
call fcn.140129a90
mov rax, qword [rsp + 0x70]
mov qword [rdi + 0x19a0], rax
mov qword [rdi + 0x19a8], r14
movaps xmmword [rdi + 0x19b0], xmm6
movups xmmword [rbp], xmm6
mov qword [rbp + 0x10], 0
mov byte [rdi + 0x19c0], 1
lea rcx, [rsp + 0x28]
call fcn.1400f9b50
movzx eax, byte [rdi + 4]
movzx ecx, byte [rdi + 0x10]
jmp 0x1400b2488
cmp byte [rdi + 0x19c0], 0
jne 0x1400b2629
test cl, cl
je 0x1400b249d
test al, al
jne 0x1400b2623
mov dword [rdi + 0x14], 0
jmp 0x1400b24b7
mov dword [rdi + 0x14], 0
test al, al
je 0x1400b24b7
mov qword [rdi + 8], 4
mov dword [rdi + 0x14], 4
cmp byte [rbx + 1], 0
setne byte [rdi]
xorps xmm0, xmm0
movaps xmmword [rdi + 0x1450], xmm0
movaps xmmword [rdi + 0x1460], xmm0
lea rax, [0x1401ae077]
mov qword [rdi + 0x1448], rax
mov rax, rdi
not rax
mov qword [rdi + 0x1920], rax
lea r14, [rdi + 0x48]
mov edx, 0x10
xor r15d, r15d
lea r12, [0x14019a338]
nop dword [rax]
mov rcx, r14
call fcn.1400e39a0
mov rdx, qword [r12 + r15*8 + 8]
inc r15
add r14, 0x28
cmp rdx, 1
jne 0x1400b2500
cmp r15, 0x7f
ja 0x1400b2551
dec r15
nop word cs:[rax + rax]
mov rcx, r14
mov edx, 1
call fcn.1400e39a0
mov qword [r14], 0
inc r15
add r14, 0x28
cmp r15, 0x7f
jb 0x1400b2530
lea rcx, [0x1401c8620]
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x1400b256d
cmp byte [0x1401d8508], 0
je 0x1400b2582
jmp 0x1400b25c0
lea rcx, [0x1401c8620]
call fcn.1400b4580
cmp byte [0x1401d8508], 0
jne 0x1400b25c0
cmp qword [0x1401de190], 0
jne 0x1400b262c
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x1400b262f
mov dword [0x1401d84b0], eax
mov dword [0x1401de198], eax
lea rax, [0x1400b3340]
mov qword [0x1401de190], rax
mov byte [0x1401d8508], 1
lea rcx, [0x1401c8620]
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
cmp byte [rbx], 1
sete byte [rdi + 3]
jne 0x1400b25de
mov rcx, rdi
call fcn.1400b35b0
mov byte [rdi + 0x1470], 1
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov cl, 1
xor eax, eax
lock cmpxchg byte [0x1401d84ac], cl
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140152280
movaps xmm6, xmmword [rsp + 0x80]
add rsp, 0x98
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
int3
int3
int3
int3
int3