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

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x28]
sub rsp, 0x120
mov qword [rbp - 0x78], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
mov rbx, r8
mov rdi, rdx
mov r11, rcx
cmp r9d, 1
je 0x1400b3cec
mov rdx, rbx
mov rcx, qword [rcx + 8]
call fcn.1400810f0
movups xmm0, xmmword [r11 + 0x28]
movups xmmword [rsp + 0x58], xmm0
movsd xmm1, qword [r11 + 0x38]
movsd qword [rsp + 0x68], xmm1
movups xmm0, xmmword [rdi]
movups xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], rbx
lea rsi, [r11 + 0x20]
mov r14, qword [r11 + 0x18]
mov rbx, qword [rsi]
mov ecx, dword [0x140338560]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1400b3bd6
cmp qword [rax], rbx
je 0x1400b3ccc
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x1400b3bc4
lea rax, [rsp + 0x58]
mov qword [rbp - 0x70], rax
lea rdx, [rsp + 0x58]
mov ecx, 0x68
call fcn.140022520
mov rbx, rax
xor edi, edi
mov qword [rax + 0x20], rdi
lea rax, [fcn.1400b5540]
mov qword [rbx + 0x28], rax
mov qword [rbx], rdi
mov qword [rbx + 8], rdi
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], rdi
mov dword [rbx + 0x30], edi
movups xmm0, xmmword [rsp + 0x58]
movups xmmword [rbx + 0x38], xmm0
movsd xmm1, qword [rsp + 0x68]
movsd qword [rbx + 0x48], xmm1
movups xmm0, xmmword [rsp + 0x70]
movups xmmword [rbx + 0x50], xmm0
mov rax, qword [rbp - 0x80]
mov qword [rbx + 0x60], rax
mov r8, rbx
mov rdx, rsi
mov rcx, r14
call fcn.140025320
mov qword [rbp - 0x60], rdi
mov qword [rbp - 0x68], rdi
test al, al
je 0x1400b3cc7
mov rax, qword [rsi]
mov qword [rsp + 0x40], rax
mov ecx, dword [0x140338560]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0x40]
mov ecx, dword [0x140338560]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
mov rcx, qword [r14 + 0x28]
mov qword [rsp + 0x20], rcx
mov rax, qword [rsi]
mov qword [rsp + 0x28], rax
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rbx
call fcn.1400b5540
nop
lea rcx, [rsp + 0x20]
call fcn.1400250e0
nop
mov rdx, qword [rsp + 0x50]
mov ecx, dword [0x140338560]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
jmp 0x1400b3d73
cmp qword [rax + 8], 0
je 0x1400b3bd6
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x58]
call fcn.1400b6200
nop
jmp 0x1400b3d73
mov r8, qword [rcx + 8]
mov rax, qword [r8 + 0x38]
mov rdx, qword [rax]
mov qword [rsp + 0x30], rdx
mov rax, qword [r8 + 0x40]
mov rcx, qword [rax]
sub rcx, rdx
mov qword [rsp + 0x38], rcx
xor edi, edi
mov dword [rsp + 0x20], edi
mov byte [rsp + 0x24], dil
lea rax, [0x1402c28e8]
mov qword [rsp + 0x28], rax
mov rax, qword [r11]
mov qword [rbp - 0x58], rax
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x40], rdi
mov dword [rbp - 0x38], edi
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], r8
movups xmm0, xmmword [r11 + 0x18]
movups xmmword [rbp - 0x18], xmm0
movups xmm1, xmmword [r11 + 0x28]
movups xmmword [rbp - 8], xmm1
movsd xmm0, qword [r11 + 0x38]
movsd qword [rbp + 8], xmm0
lea r9d, [rdi + 1]
xor r8d, r8d
lea rdx, [rsp + 0x20]
lea rcx, [rbp - 0x58]
call fcn.1400b5120
lea r11, [rsp + 0x120]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
push rbx
push rdi
sub rsp, 0xa8
mov dword [rcx + 0x20], r9d
mov r10, r8
mov rbx, rcx
cmp r9d, 1
je 0x1400b5179
mov r8, qword [rcx + 0x18]
add r8, r10
mov qword [rcx + 0x18], r8
mov ecx, dword [rdx]
test ecx, ecx
jne 0x1400b5150
test r10, r10
je 0x1400b5164
cmp r8, qword [rbx + 0x10]
jae 0x1400b5164
xor edi, edi
mov eax, 0x10000
test ecx, ecx
cmovne eax, edi
je 0x1400b5185
lea rcx, [rbx + 0x28]
xor r9d, r9d
add rsp, 0xa8
pop rdi
pop rbx
jmp 0x1400b3b40
xor edi, edi
mov eax, 0x10000
cmp dword [rdx], edi
cmovne eax, edi
mov rcx, qword [rbx + 0x18]
lea rdx, [rbx + 0x50]
mov qword [rsp + 0xc8], rbp
mov rbp, qword [rbx + 0x10]
cmp rcx, rbp
mov qword [rsp + 0xd0], rsi
mov qword [rsp + 0xd8], r12
cmovae rcx, rbp
mov qword [rsp + 0xa0], r13
sub rbp, rcx
mov qword [rsp + 0x98], r14
cmp rbp, rax
mov qword [rsp + 0x90], r15
mov r15, qword [rbx + 8]
cmovae rbp, rax
mov qword [rsp + 0x78], rbx
mov rax, qword [rbx]
add r15, rcx
mov ecx, 0xd0
mov qword [rsp + 0x40], r15
mov r14, rbp
mov qword [rsp + 0x48], rbp
mov r13, qword [rax]
lea r12, [rax + 0x68]
lea rsi, [rax + 8]
call fcn.140022520
mov rcx, qword [rsi + 0x18]
mov r10, rax
test rcx, rcx
je 0x1400b5221
lock inc dword [rcx + 0xc]
mov rcx, qword [rsi + 0x18]
mov r14, qword [rsp + 0x48]
mov r15, qword [rsp + 0x40]
mov rax, qword [rsi + 0x10]
lea r8, [rsp + 0x40]
mov qword [rsp + 0x58], rcx
lea rdx, [rsp + 0x50]
mov rcx, r10
mov qword [rsp + 0x50], rax
mov r9, rbx
mov qword [rsp + 0x20], r12
call fcn.1400b5c30
test byte [rsi + 8], 0x10
mov r12, qword [rsp + 0xd8]
mov qword [rsp + 0x68], r15
mov r15, qword [rsp + 0x90]
mov dword [rsp + 0x60], r14d
mov qword [rsp + 0x70], r14
mov r14, qword [rsp + 0x98]
je 0x1400b527f
test rbp, rbp
jne 0x1400b527f
mov dl, 1
jmp 0x1400b5281
xor edx, edx
mov qword [rsp + 0x30], rax
lea rcx, [r13 + 0x28]
mov byte [rsp + 0x28], dl
lea r8, [rsp + 0x60]
mov rdx, rsi
mov dword [rsp + 0x20], edi
mov r9d, 1
call fcn.1400720a0
lea rcx, [rsp + 0x78]
mov qword [rsp + 0x88], rdi
mov qword [rsp + 0x80], rdi
call fcn.1400b5e70
mov r13, qword [rsp + 0xa0]
mov rsi, qword [rsp + 0xd0]
mov rbp, qword [rsp + 0xc8]
add rsp, 0xa8
pop rdi
pop rbx
ret