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

Disassembly:
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x980]
sub rsp, 0xa80
mov r14, qword [rdx + 8]
lea rax, [0x140229960]
nop
mov r15, r9
mov r12, r8
mov r13, rdx
mov rdi, rcx
nop
cmp r14, rax
jne 0x140060bbb
mov rdx, r9
mov rcx, r8
call fcn.14007f210
jmp 0x1400612b6
cmp qword [r14 + 0x10], 0
je 0x1400612b6
mov qword [rsp + 0xab0], rbx
mov qword [rsp + 0xab8], rsi
xor esi, esi
test rdi, rdi
jne 0x140060f22
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x140577180]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, ebx
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_SetLastError]
test rsi, rsi
jne 0x140060f09
mov ecx, 0xa50
call fcn.1400306e0
mov rsi, rax
test rax, rax
je 0x1400612cf
xor ebx, ebx
mov byte [rax], dil
xor eax, eax
mov word [rsp + 0x30], di
xorps xmm0, xmm0
mov dword [rbp - 0xe], eax
xor edx, edx
mov word [rbp - 0xa], ax
mov r8d, 0xb0
mov qword [rbp], rax
lea rcx, [rbp + 0x30]
mov byte [rbp + 8], al
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x78], rbx
mov qword [rbp - 0x80], rbx
mov qword [rbp - 0x78], rbx
mov qword [rbp - 0x70], rbx
mov qword [rbp - 0x68], rbx
mov qword [rbp - 0x60], rbx
mov qword [rbp - 0x58], rbx
mov qword [rbp - 0x50], rbx
mov qword [rbp - 0x48], rbx
mov qword [rbp - 0x40], rbx
mov dword [rbp - 0x38], 0x3e8
mov dword [rbp - 0x34], 0x3e8
mov word [rbp - 0x30], 0xffff
movups xmmword [rbp - 0x2e], xmm0
mov qword [rbp - 8], rbx
movups xmmword [rbp - 0x1e], xmm0
mov qword [rbp + 0x10], rbx
mov qword [rbp + 0x18], rbx
mov qword [rbp + 0x20], rbx
mov qword [rbp + 0x28], rbx
call fcn.1401e1b90
mov qword [rbp + 0xe0], 1
mov qword [rbp + 0xe8], rbx
mov qword [rbp + 0xf0], 1
mov qword [rbp + 0xf8], rbx
mov qword [rbp + 0x100], 1
mov qword [rbp + 0x108], rbx
mov qword [rbp + 0x110], 1
mov qword [rbp + 0x118], rbx
mov qword [rbp + 0x120], 1
mov qword [rbp + 0x128], rbx
mov qword [rbp + 0x130], 1
mov qword [rbp + 0x138], rbx
mov qword [rbp + 0x140], 1
mov qword [rbp + 0x148], rbx
mov qword [rbp + 0x150], 1
mov qword [rbp + 0x158], rbx
mov qword [rbp + 0x160], 1
mov qword [rbp + 0x168], rbx
mov qword [rbp + 0x170], 1
mov qword [rbp + 0x178], rbx
mov qword [rbp + 0x180], 1
mov qword [rbp + 0x188], rbx
mov qword [rbp + 0x190], 1
mov qword [rbp + 0x198], rbx
mov qword [rbp + 0x1a0], 1
mov qword [rbp + 0x1a8], rbx
mov qword [rbp + 0x1b0], 1
mov qword [rbp + 0x1b8], rbx
mov qword [rbp + 0x1c0], 1
mov qword [rbp + 0x1c8], rbx
mov qword [rbp + 0x1d0], 1
mov qword [rbp + 0x1d8], rbx
mov qword [rbp + 0x1e0], 1
mov qword [rbp + 0x1e8], rbx
mov qword [rbp + 0x1f0], 1
mov qword [rbp + 0x1f8], rbx
mov qword [rbp + 0x200], 1
mov qword [rbp + 0x208], rbx
mov qword [rbp + 0x210], 1
mov qword [rbp + 0x218], rbx
xor eax, eax
mov qword [rbp + 0x220], 1
xor edx, edx
mov dword [rbp + 0x261], eax
mov r8d, 0x6d8
mov word [rbp + 0x265], ax
lea rcx, [rbp + 0x290]
mov byte [rbp + 0x267], al
mov qword [rbp + 0x228], rbx
mov qword [rbp + 0x230], 1
mov qword [rbp + 0x238], rbx
mov qword [rbp + 0x240], 1
mov qword [rbp + 0x248], rbx
mov qword [rbp + 0x250], 1
mov qword [rbp + 0x258], rbx
mov byte [rbp + 0x260], 6
mov qword [rbp + 0x268], rbx
mov qword [rbp + 0x270], rbx
mov qword [rbp + 0x278], rbx
mov qword [rbp + 0x280], rbx
mov qword [rbp + 0x288], rbx
call fcn.1401e1b90
lea rcx, [rsi + 8]
mov qword [rbp + 0x968], rbx
lea rdx, [rsp + 0x30]
mov byte [rbp + 0x970], bl
mov r8d, 0xa48
call fcn.1401e14e0
mov ecx, dword [0x140577180]
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x1400612e1
lea rcx, [rsi + 8]
cmp byte [rcx + 0x330], 0
je 0x140060f20
xor edx, edx
call fcn.140030d00
mov rcx, rax
xor esi, esi
inc byte [rcx + 1]
cmp byte [rcx + 0x330], 0
jne 0x140060f33
call fcn.1400318c0
mov eax, dword [r13]
mov r8, r15
movzx r9d, byte [rbp + 0x9d0]
mov rdx, r12
mov rcx, r14
mov dword [rsp + 0x20], eax
call qword [r14 + reloc.WS2_32.dll_recv]
test rdi, rdi
jne 0x140061298
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x140577180]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, ebx
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_SetLastError]
test rdi, rdi
jne 0x14006127e
mov ecx, 0xa50
call fcn.1400306e0
mov rdi, rax
test rax, rax
je 0x1400612cf
xorps xmm0, xmm0
mov byte [rax], 0
xor eax, eax
mov word [rsp + 0x30], 0
xor edx, edx
mov dword [rbp - 0xe], eax
mov r8d, 0xb0
mov word [rbp - 0xa], ax
lea rcx, [rbp + 0x30]
mov qword [rbp], rax
mov byte [rbp + 8], al
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x78], rsi
mov qword [rbp - 0x80], rsi
mov qword [rbp - 0x78], rsi
mov qword [rbp - 0x70], rsi
mov qword [rbp - 0x68], rsi
mov qword [rbp - 0x60], rsi
mov qword [rbp - 0x58], rsi
mov qword [rbp - 0x50], rsi
mov qword [rbp - 0x48], rsi
mov qword [rbp - 0x40], rsi
mov dword [rbp - 0x38], 0x3e8
mov dword [rbp - 0x34], 0x3e8
mov word [rbp - 0x30], 0xffff
movups xmmword [rbp - 0x2e], xmm0
mov qword [rbp - 8], rsi
movups xmmword [rbp - 0x1e], xmm0
mov qword [rbp + 0x10], rsi
mov qword [rbp + 0x18], rsi
mov qword [rbp + 0x20], rsi
mov qword [rbp + 0x28], rsi
call fcn.1401e1b90
mov qword [rbp + 0xe0], 1
mov qword [rbp + 0xe8], rsi
mov qword [rbp + 0xf0], 1
mov qword [rbp + 0xf8], rsi
mov qword [rbp + 0x100], 1
mov qword [rbp + 0x108], rsi
mov qword [rbp + 0x110], 1
mov qword [rbp + 0x118], rsi
mov qword [rbp + 0x120], 1
mov qword [rbp + 0x128], rsi
mov qword [rbp + 0x130], 1
mov qword [rbp + 0x138], rsi
mov qword [rbp + 0x140], 1
mov qword [rbp + 0x148], rsi
mov qword [rbp + 0x150], 1
mov qword [rbp + 0x158], rsi
mov qword [rbp + 0x160], 1
mov qword [rbp + 0x168], rsi
mov qword [rbp + 0x170], 1
mov qword [rbp + 0x178], rsi
mov qword [rbp + 0x180], 1
mov qword [rbp + 0x188], rsi
mov qword [rbp + 0x190], 1
mov qword [rbp + 0x198], rsi
mov qword [rbp + 0x1a0], 1
mov qword [rbp + 0x1a8], rsi
mov qword [rbp + 0x1b0], 1
mov qword [rbp + 0x1b8], rsi
mov qword [rbp + 0x1c0], 1
mov qword [rbp + 0x1c8], rsi
mov qword [rbp + 0x1d0], 1
mov qword [rbp + 0x1d8], rsi
mov qword [rbp + 0x1e0], 1
mov qword [rbp + 0x1e8], rsi
mov qword [rbp + 0x1f0], 1
mov qword [rbp + 0x1f8], rsi
mov qword [rbp + 0x200], 1
mov qword [rbp + 0x208], rsi
mov qword [rbp + 0x210], 1
mov qword [rbp + 0x218], rsi
mov qword [rbp + 0x220], 1
xor eax, eax
mov qword [rbp + 0x228], rsi
xor edx, edx
mov dword [rbp + 0x261], eax
mov r8d, 0x6d8
mov word [rbp + 0x265], ax
lea rcx, [rbp + 0x290]
mov byte [rbp + 0x267], al
mov qword [rbp + 0x230], 1
mov qword [rbp + 0x238], rsi
mov qword [rbp + 0x240], 1
mov qword [rbp + 0x248], rsi
mov qword [rbp + 0x250], 1
mov qword [rbp + 0x258], rsi
mov byte [rbp + 0x260], 6
mov qword [rbp + 0x268], rsi
mov qword [rbp + 0x270], rsi
mov qword [rbp + 0x278], rsi
mov qword [rbp + 0x280], rsi
mov qword [rbp + 0x288], rsi
call fcn.1401e1b90
lea rcx, [rdi + 8]
mov qword [rbp + 0x968], rsi
lea rdx, [rsp + 0x30]
mov byte [rbp + 0x970], 0
mov r8d, 0xa48
call fcn.1401e14e0
mov ecx, dword [0x140577180]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x1400612e1
add rdi, 8
cmp byte [rdi + 0x330], 0
je 0x140061298
xor edx, edx
mov rcx, rdi
call fcn.140030d00
mov rdi, rax
sub byte [rdi + 1], 1
jne 0x1400612a6
mov rcx, rdi
call fcn.1400318c0
mov rbx, qword [rsp + 0xab0]
mov rsi, qword [rsp + 0xab8]
mov rdi, qword [rsp + 0xac0]
add rsp, 0xa80
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
lea rcx, str._jemalloc_:_Error_allocating_TSD_n
call fcn.14002eb70
call fcn.1401f3454
int3
lea rcx, str._jemalloc_:_Error_setting_TSD_n
call fcn.14002eb70
call fcn.1401f3454
int3