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

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0xb8]
sub rsp, 0x190
mov qword [rbp - 0x10], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rdi
mov rax, qword [0x1401d3050]
xor rax, rsp
mov qword [rbp + 0x80], rax
mov r13, rcx
xor r15d, r15d
mov ecx, dword [0x1401d5480]
cmp byte [0x1401d5484], r15b
je 0x140032d74
call qword [sym.imp.KERNEL32.dll_FlsGetValue]
jmp 0x140032d7a
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, rax
test rax, rax
je 0x1400331d1
lea rax, [0x1401d5470]
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x28], r15d
mov ebx, 7
lea edx, [rbx - 6]
mov ecx, dword [0x1401d5470]
cmp byte [0x1401d5474], r15b
je 0x140032db6
call qword [sym.imp.KERNEL32.dll_FlsSetValue]
jmp 0x140032dbc
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x140032dc5
mov rcx, rbx
int 0x29
mov eax, 1
lock xadd dword [rsp + 0x28], eax
mov rax, qword [rdi + 0x20]
lea r14, [0x14012d318]
mov qword [rbp - 0x50], r14
lea rcx, str.cTracesDeferred
mov qword [rbp - 0x48], rcx
mov qword [rbp - 0x40], rax
mov word [rbp - 0x38], r15w
lea rax, [rbp - 0x50]
mov qword [rsp + 0x48], rax
lea rax, [0x14012d268]
mov qword [rbp - 0x80], rax
lea rax, [rsp + 0x48]
mov qword [rbp - 0x78], rax
lea rax, [rsp + 0x50]
mov qword [rbp - 0x70], rax
mov dword [rsp + 0x30], 0x71e418
mov dword [rsp + 0x34], 0x8a
mov byte [rsp + 0x38], 0x64
mov eax, 2
mov word [rsp + 0x3a], ax
lea r9, [rbp - 0x80]
lea r8, str.The_following_traces_were_triggered_while_servicing_this_threads_previous_trace.
lea rdx, [rsp + 0x30]
lea rcx, [r13 + 8]
call fcn.14002ef50
cmp qword [rdi + 0x20], r15
je 0x1400330f4
mov rax, qword [rdi]
test rax, rax
jne 0x140032e68
mov rax, r15
jmp 0x140032e6b
mov rax, qword [rax]
mov rcx, qword [rax + 0x10]
dec rcx
and rcx, qword [rdi + 0x18]
mov rax, qword [rax + 8]
mov rbx, qword [rax + rcx*8]
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x140032e8f
lock inc dword [rcx + 8]
mov rcx, qword [rbx + 8]
mov rax, qword [rbx]
mov qword [rbp + 0x20], rax
mov qword [rbp + 0x28], rcx
lea rdx, [rbx + 0x10]
mov qword [rbp + 0x40], r15
mov qword [rbp + 0x48], r15
lea rcx, [rbp + 0x30]
call fcn.14002218c
movsd xmm0, qword [rbx + 0x30]
movsd qword [rbp + 0x50], xmm0
mov eax, dword [rbx + 0x38]
mov dword [rbp + 0x58], eax
mov rcx, qword [rdi + 0x10]
dec rcx
and rcx, qword [rdi + 0x18]
mov rax, qword [rdi + 8]
mov rcx, qword [rax + rcx*8]
call fcn.140032c14
sub qword [rdi + 0x20], 1
jne 0x140032ee4
mov qword [rdi + 0x18], r15
jmp 0x140032ee8
inc qword [rdi + 0x18]
mov rbx, qword [rbp + 0x28]
test rbx, rbx
je 0x140032ef9
lock inc dword [rbx + 8]
mov rbx, qword [rbp + 0x28]
test rbx, rbx
je 0x140032f45
or eax, 0xffffffff
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x140032f41
mov rbx, qword [rbp + 0x28]
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [case.0x140007d11.0]
or eax, 0xffffffff
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x140032f41
mov rbx, qword [rbp + 0x28]
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 8]
call qword [case.0x140007d11.0]
jmp 0x140032f45
mov rbx, qword [rbp + 0x28]
mov r14, qword [rbp + 0x20]
test r14, r14
jne 0x140032fdc
mov qword [rbp + 0x70], r15
mov qword [rbp + 0x78], r15
lea rdx, [rbp + 0x30]
lea rcx, [rbp + 0x60]
call fcn.14002218c
nop
lea r8, [rbp + 0x60]
cmp qword [rbp + 0x78], 8
cmovae r8, qword [rbp + 0x60]
movsd xmm0, qword [rbp + 0x50]
movsd qword [rsp + 0x58], xmm0
mov eax, dword [rbp + 0x58]
mov dword [rsp + 0x60], eax
lea rdx, [rsp + 0x58]
lea rcx, [r13 + 8]
call fcn.14002ee10
nop
mov rax, qword [rbp + 0x78]
cmp rax, 8
jb 0x1400330d5
lea rax, [rax*2 + 2]
mov rcx, qword [rbp + 0x60]
mov rdx, rcx
cmp rax, 0x1000
jb 0x140032fd1
mov rcx, qword [rcx - 8]
sub rdx, rcx
lea rax, [rdx - 8]
cmp rax, 0x1f
ja 0x1400331b2
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x1400330d5
test rbx, rbx
je 0x140032fed
lock inc dword [rbx + 8]
mov rbx, qword [rbp + 0x28]
mov r14, qword [rbp + 0x20]
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x78], rbx
and qword [rbp + 8], 0
and qword [rbp + 0x10], 0
lea rdx, [rbp + 0x30]
lea rcx, [rbp - 8]
call fcn.14002218c
lea r8, [rbp - 8]
cmp qword [rbp + 0x10], 8
cmovae r8, qword [rbp - 8]
movsd xmm0, qword [rbp + 0x50]
movsd qword [rsp + 0x64], xmm0
mov eax, dword [rbp + 0x58]
mov dword [rsp + 0x6c], eax
mov r9, r14
lea rdx, [rsp + 0x64]
lea rcx, [r13 + 8]
call fcn.14002ef50
mov rax, qword [rbp + 0x10]
cmp rax, 8
jb 0x14003307b
lea rax, [rax*2 + 2]
mov rcx, qword [rbp - 8]
mov rdx, rcx
cmp rax, 0x1000
jb 0x140033075
mov rcx, qword [rcx - 8]
sub rdx, rcx
lea rax, [rdx - 8]
cmp rax, 0x1f
ja 0x1400331b9
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
xor r15d, r15d
mov qword [rbp + 8], r15
mov qword [rbp + 0x10], 7
mov word [rbp - 8], r15w
test rbx, rbx
je 0x1400330d5
or eax, 0xffffffff
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x1400330d5
mov rbx, qword [rsp + 0x78]
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [case.0x140007d11.0]
or eax, 0xffffffff
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x1400330d5
mov rcx, qword [rsp + 0x78]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140007d11.0]
nop
lea rcx, [rbp + 0x20]
call fcn.140032c14
cmp qword [rdi + 0x20], r15
jne 0x140032e5b
mov ebx, 7
lea r14, [0x14012d318]
mov edx, reloc.OLEAUT32.dll_SafeArrayGetDim
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov rax, qword [rdx + rcx]
test rax, rax
je 0x140033184
mov qword [rbp - 0x30], r14
lea rcx, str.cTracesDiscarded
mov qword [rbp - 0x28], rcx
mov qword [rbp - 0x20], rax
mov word [rbp - 0x18], r15w
lea rax, [rbp - 0x30]
mov qword [rsp + 0x50], rax
lea rax, [0x14012d268]
mov qword [rbp - 0x68], rax
lea rax, [rsp + 0x50]
mov qword [rbp - 0x60], rax
lea rax, [rsp + 0x58]
mov qword [rbp - 0x58], rax
mov dword [rsp + 0x3c], 0x71e419
mov dword [rsp + 0x40], 0x8a
mov byte [rsp + 0x44], 0x32
mov eax, 2
mov word [rsp + 0x46], ax
lea r9, [rbp - 0x68]
lea r8, str.Traces_triggered_while_servicing_this_threads_previous_deferred_traces_were_discarded.
lea rdx, [rsp + 0x3c]
lea rcx, [r13 + 8]
call fcn.14002ef50
call fcn.140033200
nop
mov eax, dword [rsp + 0x28]
test eax, eax
je 0x1400331d1
or eax, 0xffffffff
lock xadd dword [rsp + 0x28], eax
mov rcx, qword [rsp + 0x20]
xor edx, edx
cmp byte [rcx + 4], r15b
mov ecx, dword [rcx]
je 0x1400331c0
call qword [sym.imp.KERNEL32.dll_FlsSetValue]
jmp 0x1400331c6
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 qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x14003318a
mov rcx, rbx
int 0x29
jmp 0x14003318a
mov rcx, qword [rbp + 0x80]
xor rcx, rsp
call fcn.140118d00
lea r11, [rsp + 0x190]
mov rbx, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret