Function at 0x1400328a4
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xb0
mov qword [rbp - 0x59], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov rax, qword [0x1401d3050]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov rdi, r8
mov rsi, rdx
mov r14, rcx
xor r15d, r15d
mov ecx, dword [0x1401d5470]
cmp byte [0x1401d5474], r15b
je 0x1400328f6
call qword [sym.imp.KERNEL32.dll_FlsGetValue]
jmp 0x1400328fc
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14003291b
mov edx, reloc.OLEAUT32.dll_SafeArrayGetDim
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
inc qword [rdx + rcx]
jmp 0x140032a9f
mov ecx, dword [0x1401d5480]
cmp byte [0x1401d5484], r15b
je 0x140032932
call qword [sym.imp.KERNEL32.dll_FlsGetValue]
jmp 0x140032938
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
jne 0x1400329c5
lea ecx, [rax + 0x28]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbx, rax
test rax, rax
je 0x140032ac2
mov qword [rbp - 0x51], rax
mov qword [rax], r15
mov qword [rax + 8], r15
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], r15
mov qword [rax + 0x20], r15
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetDim
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
test rax, rax
jne 0x140032987
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xbad_alloc_void_]
int3
mov qword [rbx], rax
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x49], xmm0
movdqu xmmword [rax], xmm0
mov rax, qword [rbx]
mov qword [rax], rbx
mov rdx, rbx
mov ecx, dword [0x1401d5480]
cmp byte [0x1401d5484], r15b
je 0x1400329b6
call qword [sym.imp.KERNEL32.dll_FlsSetValue]
jmp 0x1400329bc
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x1400329c5
lea ecx, [rax + 7]
int 0x29
lea rdx, [0x1401348e0]
test rsi, rsi
cmovne rdx, rsi
movdqa xmm0, xmmword [0x14017f2c0]
movdqu xmmword [rbp - 0x29], xmm0
mov word [rbp - 0x39], r15w
or r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], r15w
jne 0x1400329e9
lea rcx, [rbp - 0x39]
call fcn.14001c6b0
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x140032a0d
lock inc dword [rcx + 8]
mov rcx, qword [rdi + 8]
mov rax, qword [rdi]
mov qword [rbp - 0x19], rax
mov qword [rbp - 0x11], rcx
movups xmm0, xmmword [rbp - 0x39]
movaps xmmword [rbp - 9], xmm0
movups xmm1, xmmword [rbp - 0x29]
movaps xmmword [rbp + 7], xmm1
movdqa xmm0, xmmword [0x14017f2c0]
movdqu xmmword [rbp - 0x29], xmm0
mov word [rbp - 0x39], r15w
movsd xmm0, qword [r14]
movsd qword [rbp + 0x17], xmm0
mov eax, dword [r14 + 8]
mov dword [rbp + 0x1f], eax
lea rdx, [rbp - 0x19]
mov rcx, rbx
call fcn.140032ac8
lea rcx, [rbp - 0x19]
call fcn.140032c14
mov rax, qword [rbp - 0x21]
cmp rax, 8
jb 0x140032a9f
mov rcx, qword [rbp - 0x39]
mov rdx, rcx
lea rax, [rax*2 + 2]
cmp rax, 0x1000
jb 0x140032a99
mov rcx, qword [rcx - 8]
sub rdx, rcx
lea rax, [rdx - 8]
cmp rax, 0x1f
jbe 0x140032a99
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.140118d00
mov rbx, qword [rsp + 0xe0]
add rsp, 0xb0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call fcn.1400ecb00
int3