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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x9a0]
sub rsp, 0xaa0
mov rax, qword [rdx + 8]
mov rdi, rcx
mov byte [rsp + 0x41], 1
lea rcx, [0x14022e9e0]
mov byte [rsp + 0x40], 1
nop
mov r15, r9
mov r14, rdx
nop
cmp rax, rcx
jne 0x140032963
lea rax, [rsp + 0x40]
mov r8d, 0x200000
lea r9, [rsp + 0x41]
mov qword [rsp + 0x20], rax
mov rdx, r15
xor ecx, ecx
call fcn.140079760
mov rsi, rax
jmp 0x140033081
mov r12, qword [rdx + 8]
nop
nop
cmp r12, rcx
jne 0x1400329a3
mov eax, dword [rdx]
mov r9d, 0x200000
mov dword [rsp + 0x30], eax
mov r8, r15
lea rax, [rsp + 0x40]
xor edx, edx
mov qword [rsp + 0x28], rax
mov rcx, rdi
lea rax, [rsp + 0x41]
mov qword [rsp + 0x20], rax
call fcn.14007f450
mov rsi, rax
jmp 0x140033081
xor r13d, r13d
test rdi, rdi
jne 0x140032cec
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x14057b280]
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 0x140032cd3
mov ecx, 0xa50
call fcn.140030980
mov rsi, rax
test rax, rax
je 0x1400330a5
xorps xmm0, xmm0
mov byte [rax], r13b
xor eax, eax
mov word [rsp + 0x50], r13w
xor edx, edx
mov dword [rbp + 0x12], eax
mov r8d, 0xb0
mov word [rbp + 0x16], ax
lea rcx, [rbp + 0x50]
mov qword [rbp + 0x20], rax
mov byte [rbp + 0x28], al
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x60], r13
mov qword [rsp + 0x68], r13
mov qword [rsp + 0x70], r13
mov qword [rsp + 0x78], r13
mov qword [rbp - 0x80], r13
mov qword [rbp - 0x78], r13
mov qword [rbp - 0x70], r13
mov qword [rbp - 0x68], r13
mov qword [rbp - 0x60], r13
mov qword [rbp - 0x58], r13
mov qword [rbp - 0x50], r13
mov qword [rbp - 0x48], r13
mov qword [rbp - 0x40], r13
mov qword [rbp - 0x38], r13
mov qword [rbp - 0x30], r13
mov qword [rbp - 0x28], r13
mov qword [rbp - 0x20], r13
mov dword [rbp - 0x18], 0x3e8
mov dword [rbp - 0x14], 0x3e8
mov word [rbp - 0x10], 0xffff
movups xmmword [rbp - 0xe], xmm0
mov qword [rbp + 0x18], r13
movups xmmword [rbp + 2], xmm0
mov qword [rbp + 0x30], r13
mov qword [rbp + 0x38], r13
mov qword [rbp + 0x40], r13
mov qword [rbp + 0x48], r13
call fcn.1401e1df0
mov qword [rbp + 0x100], 1
mov qword [rbp + 0x108], r13
mov qword [rbp + 0x110], 1
mov qword [rbp + 0x118], r13
mov qword [rbp + 0x120], 1
mov qword [rbp + 0x128], r13
mov qword [rbp + 0x130], 1
mov qword [rbp + 0x138], r13
mov qword [rbp + 0x140], 1
mov qword [rbp + 0x148], r13
mov qword [rbp + 0x150], 1
mov qword [rbp + 0x158], r13
mov qword [rbp + 0x160], 1
mov qword [rbp + 0x168], r13
mov qword [rbp + 0x170], 1
mov qword [rbp + 0x178], r13
mov qword [rbp + 0x180], 1
mov qword [rbp + 0x188], r13
mov qword [rbp + 0x190], 1
mov qword [rbp + 0x198], r13
mov qword [rbp + 0x1a0], 1
mov qword [rbp + 0x1a8], r13
mov qword [rbp + 0x1b0], 1
mov qword [rbp + 0x1b8], r13
mov qword [rbp + 0x1c0], 1
mov qword [rbp + 0x1c8], r13
mov qword [rbp + 0x1d0], 1
mov qword [rbp + 0x1d8], r13
mov qword [rbp + 0x1e0], 1
mov qword [rbp + 0x1e8], r13
mov qword [rbp + 0x1f0], 1
mov qword [rbp + 0x1f8], r13
mov qword [rbp + 0x200], 1
mov qword [rbp + 0x208], r13
mov qword [rbp + 0x210], 1
mov qword [rbp + 0x218], r13
mov qword [rbp + 0x220], 1
mov qword [rbp + 0x228], r13
mov qword [rbp + 0x230], 1
mov qword [rbp + 0x238], r13
mov qword [rbp + 0x240], 1
xor eax, eax
mov qword [rbp + 0x248], r13
xor edx, edx
mov dword [rbp + 0x281], eax
mov r8d, 0x6d8
mov word [rbp + 0x285], ax
lea rcx, [rbp + 0x2b0]
mov byte [rbp + 0x287], al
mov qword [rbp + 0x250], 1
mov qword [rbp + 0x258], r13
mov qword [rbp + 0x260], 1
mov qword [rbp + 0x268], r13
mov qword [rbp + 0x270], 1
mov qword [rbp + 0x278], r13
mov byte [rbp + 0x280], 6
mov qword [rbp + 0x288], r13
mov qword [rbp + 0x290], r13
mov qword [rbp + 0x298], r13
mov qword [rbp + 0x2a0], r13
mov qword [rbp + 0x2a8], r13
call fcn.1401e1df0
lea rcx, [rsi + 8]
mov qword [rbp + 0x988], r13
lea rdx, [rsp + 0x50]
mov byte [rbp + 0x990], r13b
mov r8d, 0xa48
call fcn.1401e1740
mov ecx, dword [0x14057b280]
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x1400330b7
lea rcx, [rsi + 8]
cmp byte [rcx + 0x330], r13b
je 0x140032cef
xor edx, edx
call fcn.140030fa0
mov rcx, rax
jmp 0x140032cef
mov rcx, rdi
inc byte [rcx + 1]
cmp byte [rcx + 0x330], r13b
jne 0x140032d00
call fcn.140031b60
mov eax, dword [r14]
mov r9d, 0x200000
mov dword [rsp + 0x30], eax
mov r8, r15
lea rax, [rsp + 0x40]
xor edx, edx
mov qword [rsp + 0x28], rax
mov rcx, r12
lea rax, [rsp + 0x41]
mov qword [rsp + 0x20], rax
call qword [r12]
mov rsi, rax
test rdi, rdi
jne 0x140033073
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x14057b280]
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 0x140033059
mov ecx, 0xa50
call fcn.140030980
mov rdi, rax
test rax, rax
je 0x1400330a5
xorps xmm0, xmm0
mov byte [rax], r13b
xor eax, eax
mov word [rsp + 0x50], r13w
xor edx, edx
mov dword [rbp + 0x12], eax
mov r8d, 0xb0
mov word [rbp + 0x16], ax
lea rcx, [rbp + 0x50]
mov qword [rbp + 0x20], rax
mov byte [rbp + 0x28], al
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x60], r13
mov qword [rsp + 0x68], r13
mov qword [rsp + 0x70], r13
mov qword [rsp + 0x78], r13
mov qword [rbp - 0x80], r13
mov qword [rbp - 0x78], r13
mov qword [rbp - 0x70], r13
mov qword [rbp - 0x68], r13
mov qword [rbp - 0x60], r13
mov qword [rbp - 0x58], r13
mov qword [rbp - 0x50], r13
mov qword [rbp - 0x48], r13
mov qword [rbp - 0x40], r13
mov qword [rbp - 0x38], r13
mov qword [rbp - 0x30], r13
mov qword [rbp - 0x28], r13
mov qword [rbp - 0x20], r13
mov dword [rbp - 0x18], 0x3e8
mov dword [rbp - 0x14], 0x3e8
mov word [rbp - 0x10], 0xffff
movups xmmword [rbp - 0xe], xmm0
mov qword [rbp + 0x18], r13
movups xmmword [rbp + 2], xmm0
mov qword [rbp + 0x30], r13
mov qword [rbp + 0x38], r13
mov qword [rbp + 0x40], r13
mov qword [rbp + 0x48], r13
call fcn.1401e1df0
mov qword [rbp + 0x100], 1
mov qword [rbp + 0x108], r13
mov qword [rbp + 0x110], 1
mov qword [rbp + 0x118], r13
mov qword [rbp + 0x120], 1
mov qword [rbp + 0x128], r13
mov qword [rbp + 0x130], 1
mov qword [rbp + 0x138], r13
mov qword [rbp + 0x140], 1
mov qword [rbp + 0x148], r13
mov qword [rbp + 0x150], 1
mov qword [rbp + 0x158], r13
mov qword [rbp + 0x160], 1
mov qword [rbp + 0x168], r13
mov qword [rbp + 0x170], 1
mov qword [rbp + 0x178], r13
mov qword [rbp + 0x180], 1
mov qword [rbp + 0x188], r13
mov qword [rbp + 0x190], 1
mov qword [rbp + 0x198], r13
mov qword [rbp + 0x1a0], 1
mov qword [rbp + 0x1a8], r13
mov qword [rbp + 0x1b0], 1
mov qword [rbp + 0x1b8], r13
mov qword [rbp + 0x1c0], 1
mov qword [rbp + 0x1c8], r13
mov qword [rbp + 0x1d0], 1
mov qword [rbp + 0x1d8], r13
mov qword [rbp + 0x1e0], 1
mov qword [rbp + 0x1e8], r13
mov qword [rbp + 0x1f0], 1
mov qword [rbp + 0x1f8], r13
mov qword [rbp + 0x200], 1
mov qword [rbp + 0x208], r13
mov qword [rbp + 0x210], 1
mov qword [rbp + 0x218], r13
mov qword [rbp + 0x220], 1
mov qword [rbp + 0x228], r13
mov qword [rbp + 0x230], 1
mov qword [rbp + 0x238], r13
mov qword [rbp + 0x240], 1
xor eax, eax
mov qword [rbp + 0x248], r13
xor edx, edx
mov dword [rbp + 0x281], eax
mov r8d, 0x6d8
mov word [rbp + 0x285], ax
lea rcx, [rbp + 0x2b0]
mov byte [rbp + 0x287], al
mov qword [rbp + 0x250], 1
mov qword [rbp + 0x258], r13
mov qword [rbp + 0x260], 1
mov qword [rbp + 0x268], r13
mov qword [rbp + 0x270], 1
mov qword [rbp + 0x278], r13
mov byte [rbp + 0x280], 6
mov qword [rbp + 0x288], r13
mov qword [rbp + 0x290], r13
mov qword [rbp + 0x298], r13
mov qword [rbp + 0x2a0], r13
mov qword [rbp + 0x2a8], r13
call fcn.1401e1df0
lea rcx, [rdi + 8]
mov qword [rbp + 0x988], r13
lea rdx, [rsp + 0x50]
mov byte [rbp + 0x990], r13b
mov r8d, 0xa48
call fcn.1401e1740
mov ecx, dword [0x14057b280]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x1400330b7
add rdi, 8
cmp byte [rdi + 0x330], r13b
je 0x140033073
xor edx, edx
mov rcx, rdi
call fcn.140030fa0
mov rdi, rax
sub byte [rdi + 1], 1
jne 0x140033081
mov rcx, rdi
call fcn.140031b60
lea r11, [rsp + 0xaa0]
mov rax, rsi
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
lea rcx, str._jemalloc_:_Error_allocating_TSD_n
call fcn.14002ee10
call fcn.1401f5dec
int3
lea rcx, str._jemalloc_:_Error_setting_TSD_n
call fcn.14002ee10
call fcn.1401f5dec
int3