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

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
mov qword [rbp - 0x19], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], r14
mov rdi, rcx
mov ecx, dword [0x1403bc778]
cmp byte [0x1403bc77c], 0
je 0x14002772d
call qword [sym.imp.KERNEL32.dll_FlsGetValue]
jmp 0x140027733
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
jne 0x1400279a8
mov ecx, dword [0x1403bc768]
cmp byte [0x1403bc76c], al
je 0x140027752
call qword [sym.imp.KERNEL32.dll_FlsGetValue]
jmp 0x140027758
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, 1
test rax, rax
je 0x1400278ea
mov rcx, qword [rdi]
lea rax, [0x140295388]
mov qword [rbp + 0x37], rax
and qword [rbp + 0x3f], 0
mov word [rbp + 0x47], 0x101
mov qword [rbp + 0x4f], rcx
mov rax, qword [rcx]
lea rdx, [rbp + 0x37]
mov rax, qword [rax]
call qword [case.0x14002a211.0]
cmp byte [rbp + 0x47], 0
je 0x1400279a8
lea rcx, [rbp + 0xf]
call fcn.1400289b4
nop
lea rdx, [rbp + 0xf]
lea rcx, [rbp + 0x1f]
call fcn.14001c724
nop
mov rcx, qword [rdi]
mov rax, qword [rcx]
lea rdx, [rbp + 0x1f]
mov rax, qword [rax]
call qword [case.0x14002a211.0]
xorps xmm0, xmm0
movdqu xmmword [rbp - 1], xmm0
mov r8, qword [rbp + 0x17]
mov rdx, qword [rbp + 0xf]
test r8, r8
je 0x1400277e2
lock add dword [r8 + 8], ebx
lea rcx, [rbp - 1]
call fcn.14025dfc0
nop
mov r9, qword [rdi + 0x20]
mov rax, qword [rdi + 0x18]
mov rdx, qword [rdi + 0x10]
mov rcx, qword [rdi + 8]
lea r8, [rbp - 1]
mov qword [rsp + 0x20], r8
mov r9, qword [r9]
mov r8b, byte [rax]
mov edx, dword [rdx]
mov ecx, dword [rcx]
call fcn.140027a44
nop
or edi, 0xffffffff
mov rcx, qword [rbp + 7]
test rcx, rcx
je 0x14002785c
mov eax, edi
lock xadd dword [rcx + 8], eax
add eax, edi
jne 0x14002785c
mov rbx, qword [rbp + 7]
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [case.0x14002a211.0]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
add eax, edi
jne 0x14002785c
mov rcx, qword [rbp + 7]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14002a211.0]
nop
mov rbx, qword [rbp + 0x2f]
test rbx, rbx
je 0x14002789b
mov eax, edi
lock xadd dword [rbx + 8], eax
add eax, edi
jne 0x14002789b
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [case.0x14002a211.0]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
add eax, edi
jne 0x14002789b
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 8]
call qword [case.0x14002a211.0]
nop
mov rbx, qword [rbp + 0x17]
test rbx, rbx
je 0x1400279a8
mov eax, edi
lock xadd dword [rbx + 8], eax
add eax, edi
jne 0x1400279a8
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [case.0x14002a211.0]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
add eax, edi
jne 0x1400279a8
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 8]
call qword [case.0x14002a211.0]
jmp 0x1400279a8
lea rax, [0x1403bc768]
mov qword [rbp - 0x11], rax
and dword [rbp - 9], 0
mov r14d, 7
mov ecx, dword [0x1403bc768]
mov rdx, rbx
cmp byte [0x1403bc76c], 0
je 0x140027919
call qword [sym.imp.KERNEL32.dll_FlsSetValue]
jmp 0x14002791f
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
setne al
test al, al
jne 0x14002792d
mov rcx, r14
int 0x29
lock xadd dword [rbp - 9], ebx
mov r10, qword [rdi + 0x20]
mov r9, qword [rdi + 0x18]
mov r8, qword [rdi + 0x10]
mov rdx, qword [rdi + 8]
mov rcx, qword [rdi + 0x28]
add rcx, 8
mov rax, qword [rdi]
mov qword [rsp + 0x28], rax
mov rax, qword [r10]
mov qword [rsp + 0x20], rax
mov r9b, byte [r9]
mov r8d, dword [r8]
mov edx, dword [rdx]
call fcn.140025540
mov rcx, qword [rdi + 0x28]
call fcn.140027c64
nop
or edi, 0xffffffff
mov eax, dword [rbp - 9]
test eax, eax
je 0x1400279a8
mov eax, edi
lock xadd dword [rbp - 9], eax
mov rcx, qword [rbp - 0x11]
xor edx, edx
cmp byte [rcx + 4], dl
mov ecx, dword [rcx]
je 0x140027997
call qword [sym.imp.KERNEL32.dll_FlsSetValue]
jmp 0x14002799d
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x140027974
mov rcx, r14
int 0x29
jmp 0x140027974
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov r14, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret