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

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xb0
mov qword [rbp + 0x2f], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov rsi, rcx
mov ecx, dword [0x1403c5938]
cmp byte [0x1403c593c], 0
je 0x140143b9d
call qword [sym.imp.KERNEL32.dll_FlsGetValue]
jmp 0x140143ba4
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
nop
test rax, rax
jne 0x140143d59
mov ecx, dword [0x1403c5928]
cmp byte [0x1403c592c], al
je 0x140143bc3
call qword [sym.imp.KERNEL32.dll_FlsGetValue]
jmp 0x140143bca
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
nop
mov edi, 1
test rax, rax
je 0x140143d72
mov rcx, qword [rsi]
lea rax, [0x1402bd828]
mov qword [rbp - 9], rax
and qword [rbp - 1], 0
mov word [rbp + 7], 0x101
mov qword [rbp + 0xf], rcx
mov rax, qword [rcx]
lea rdx, [rbp - 9]
mov rax, qword [rax]
call qword [case.0x140118f85.0]
cmp byte [rbp + 7], 0
je 0x140143d59
lea rcx, [rbp - 0x39]
call fcn.140145734
lea rax, [0x1402b5e28]
mov qword [rbp + 0x17], rax
mov rbx, qword [rbp - 0x31]
test rbx, rbx
je 0x140143c38
nop dword [rax]
lock add dword [rbx + 8], edi
mov rbx, qword [rbp - 0x31]
mov rax, qword [rbp - 0x39]
mov qword [rbp + 0x1f], rax
mov qword [rbp + 0x27], rbx
test rax, rax
je 0x140143e15
mov rcx, qword [rsi]
mov rax, qword [rcx]
lea rdx, [rbp + 0x17]
mov rax, qword [rax]
call qword [case.0x140118f85.0]
test rbx, rbx
je 0x140143c6d
lock add dword [rbx + 8], edi
mov rbx, qword [rbp - 0x31]
movaps xmm0, xmmword [rbp - 0x39]
movdqa xmmword [rbp - 0x19], xmm0
mov rax, qword [rsi + 0x10]
lea r8, [rbp - 0x19]
mov rdx, qword [rax]
mov rcx, qword [rsi + 8]
call fcn.1401440f4
nop
or edi, 0xffffffff
mov rcx, qword [rbp - 0x11]
test rcx, rcx
je 0x140143cd6
mov eax, edi
lock xadd dword [rcx + 8], eax
add eax, edi
jne 0x140143cd2
mov rbx, qword [rbp - 0x11]
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [case.0x140118f85.0]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
add eax, edi
jne 0x140143cd2
mov rcx, qword [rbp - 0x11]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140118f85.0]
nop
mov rbx, qword [rbp - 0x31]
mov rsi, qword [rbp + 0x27]
test rsi, rsi
je 0x140143d19
mov eax, edi
lock xadd dword [rsi + 8], eax
add eax, edi
jne 0x140143d15
mov rax, qword [rsi]
mov rcx, rsi
mov rax, qword [rax]
call qword [case.0x140118f85.0]
mov eax, edi
lock xadd dword [rsi + 0xc], eax
add eax, edi
jne 0x140143d15
mov rax, qword [rsi]
mov rcx, rsi
mov rax, qword [rax + 8]
call qword [case.0x140118f85.0]
nop
mov rbx, qword [rbp - 0x31]
test rbx, rbx
je 0x140143d59
mov eax, edi
lock xadd dword [rbx + 8], eax
add eax, edi
jne 0x140143d59
mov rbx, qword [rbp - 0x31]
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [case.0x140118f85.0]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
add eax, edi
jne 0x140143d59
mov rcx, qword [rbp - 0x31]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140118f85.0]
nop
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
lea rax, [0x1403c5928]
mov qword [rbp - 0x29], rax
and dword [rbp - 0x21], 0
mov ebx, 7
mov ecx, dword [0x1403c5928]
mov rdx, rdi
cmp byte [0x1403c592c], 0
je 0x140143da0
call qword [sym.imp.KERNEL32.dll_FlsSetValue]
jmp 0x140143da7
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
test eax, eax
jne 0x140143db0
mov rcx, rbx
int 0x29
lock xadd dword [rbp - 0x21], edi
mov r8, qword [rsi + 0x10]
mov rcx, qword [rsi + 0x18]
add rcx, 8
mov r9, qword [rsi]
mov r8, qword [r8]
mov rdx, qword [rsi + 8]
call fcn.140141e20
mov rcx, qword [rsi + 0x18]
call fcn.140144570
or edi, 0xffffffff
mov eax, dword [rbp - 0x21]
test eax, eax
je 0x140143d59
mov eax, edi
lock xadd dword [rbp - 0x21], eax
mov rcx, qword [rbp - 0x29]
xor edx, edx
cmp byte [rcx + 4], dl
mov ecx, dword [rcx]
je 0x140143e03
call qword [sym.imp.KERNEL32.dll_FlsSetValue]
jmp 0x140143e0a
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
test eax, eax
jne 0x140143ddc
mov rcx, rbx
int 0x29
jmp 0x140143ddc
lea rdx, str.StructuredTraceCopier_requires_non_null_IStructuredTrace_to_receive_the_copy.
lea rcx, [rbp + 0x37]
call fcn.140017220
lea rdx, [0x14033b958]
lea rcx, [rbp + 0x37]
call fcn.1402395b8
nop
jmp 0x140143e38
nop
nop
nop
nop
nop
nop
nop
nop
mov r11, rsp
mov byte [r11 + 0x18], r8b
mov dword [rsp + 0x10], edx
sub rsp, 0x48
lea rax, [r11 + 0x10]
mov qword [r11 - 0x28], rcx
mov qword [r11 - 0x20], rax
lea rcx, [r11 + 8]
lea rax, [r11 + 0x18]
mov qword [r11 - 0x18], rax
lea rax, [r11 - 0x28]
mov qword [r11 + 8], rax
call fcn.140145278
add rsp, 0x48
ret