Function at 0x1400b61e0
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 0x1400b551c
mov rdx, rbx
mov rcx, qword [rcx + 8]
call fcn.140080de0
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 [0x140336660]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1400b5406
cmp qword [rax], rbx
je 0x1400b54fc
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x1400b53f4
lea rax, [rsp + 0x58]
mov qword [rbp - 0x70], rax
lea rdx, [rsp + 0x58]
mov ecx, 0x68
call fcn.140022380
mov rbx, rax
xor edi, edi
mov qword [rax + 0x20], rdi
lea rax, [fcn.1400b63b0]
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.140025180
mov qword [rbp - 0x60], rdi
mov qword [rbp - 0x68], rdi
test al, al
je 0x1400b54f7
mov rax, qword [rsi]
mov qword [rsp + 0x40], rax
mov ecx, dword [0x140336660]
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 [0x140336660]
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.1400b63b0
nop
lea rcx, [rsp + 0x20]
call fcn.140024f40
nop
mov rdx, qword [rsp + 0x50]
mov ecx, dword [0x140336660]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
jmp 0x1400b55a3
cmp qword [rax + 8], 0
je 0x1400b5406
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x58]
call fcn.1400b67a0
nop
jmp 0x1400b55a3
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, [0x1402c41e8]
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.1400b61e0
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 0x1400b6239
mov r8, qword [rcx + 0x18]
add r8, r10
mov qword [rcx + 0x18], r8
mov ecx, dword [rdx]
test ecx, ecx
jne 0x1400b6210
test r10, r10
je 0x1400b6224
cmp r8, qword [rbx + 0x10]
jae 0x1400b6224
xor edi, edi
mov eax, 0x10000
test ecx, ecx
cmovne eax, edi
je 0x1400b6245
lea rcx, [rbx + 0x28]
xor r9d, r9d
add rsp, 0xa8
pop rdi
pop rbx
jmp 0x1400b5370
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.140022380
mov rcx, qword [rsi + 0x18]
mov r10, rax
test rcx, rcx
je 0x1400b62e1
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.1400b69b0
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 0x1400b633f
test rbp, rbp
jne 0x1400b633f
mov dl, 1
jmp 0x1400b6341
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.140072180
lea rcx, [rsp + 0x78]
mov qword [rsp + 0x88], rdi
mov qword [rsp + 0x80], rdi
call fcn.1400b6f70
mov r13, qword [rsp + 0xa0]
mov rsi, qword [rsp + 0xd0]
mov rbp, qword [rsp + 0xc8]
add rsp, 0xa8
pop rdi
pop rbx
ret