Function at 0x140055c40
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 - 0x990]
sub rsp, 0xa90
mov r15, qword [rdx + 8]
lea rax, [0x14028e180]
nop
mov r12, r9
mov r13, r8
mov r14, rdx
mov rdi, rcx
nop
cmp r15, rax
jne 0x140055cbd
mov eax, dword [rdx]
mov r8, r12
mov r9, qword [rbp + 0x9e0]
mov rdx, r13
mov dword [rsp + 0x30], eax
mov rax, qword [rbp + 0x9f0]
mov qword [rsp + 0x28], rax
mov rax, qword [rbp + 0x9e8]
mov qword [rsp + 0x20], rax
call fcn.14007a100
mov rsi, rax
jmp 0x14005639e
test rdi, rdi
jne 0x140056003
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x1405f78c0]
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 0x140055fec
mov ecx, 0xa50
call fcn.140026730
mov rsi, rax
test rax, rax
je 0x1400563c2
xor ebx, ebx
mov byte [rax], dil
xor eax, eax
mov word [rsp + 0x40], di
xorps xmm0, xmm0
mov dword [rbp + 2], eax
xor edx, edx
mov word [rbp + 6], ax
mov r8d, 0xb0
mov qword [rbp + 0x10], rax
lea rcx, [rbp + 0x40]
mov byte [rbp + 0x18], al
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 qword [rbp - 0x38], rbx
mov qword [rbp - 0x30], rbx
mov dword [rbp - 0x28], 0x3e8
mov dword [rbp - 0x24], 0x3e8
mov word [rbp - 0x20], 0xffff
movups xmmword [rbp - 0x1e], xmm0
mov qword [rbp + 8], rbx
movups xmmword [rbp - 0xe], xmm0
mov qword [rbp + 0x20], rbx
mov qword [rbp + 0x28], rbx
mov qword [rbp + 0x30], rbx
mov qword [rbp + 0x38], rbx
call fcn.14027e650
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
mov qword [rbp + 0x220], 1
mov qword [rbp + 0x228], rbx
xor eax, eax
mov qword [rbp + 0x230], 1
xor edx, edx
mov dword [rbp + 0x271], eax
mov r8d, 0x6d8
mov word [rbp + 0x275], ax
lea rcx, [rbp + 0x2a0]
mov byte [rbp + 0x277], al
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 qword [rbp + 0x260], 1
mov qword [rbp + 0x268], rbx
mov byte [rbp + 0x270], 6
mov qword [rbp + 0x278], rbx
mov qword [rbp + 0x280], rbx
mov qword [rbp + 0x288], rbx
mov qword [rbp + 0x290], rbx
mov qword [rbp + 0x298], rbx
call fcn.14027e650
lea rcx, [rsi + 8]
mov qword [rbp + 0x978], rbx
lea rdx, [rsp + 0x40]
mov byte [rbp + 0x980], bl
mov r8d, 0xa48
call fcn.14027dfb0
mov ecx, dword [0x1405f78c0]
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x1400563d4
lea rcx, [rsi + 8]
cmp byte [rcx + 0x330], 0
je 0x140056003
xor edx, edx
call fcn.140026d50
mov rcx, rax
inc byte [rcx + 1]
cmp byte [rcx + 0x330], 0
jne 0x140056014
call fcn.140027910
mov eax, dword [r14]
mov r8, r12
mov r9, qword [rbp + 0x9e0]
mov rdx, r13
mov dword [rsp + 0x30], eax
mov rcx, r15
mov rax, qword [rbp + 0x9f0]
mov qword [rsp + 0x28], rax
mov rax, qword [rbp + 0x9e8]
mov qword [rsp + 0x20], rax
call qword [r15]
mov rsi, rax
test rdi, rdi
jne 0x140056390
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x1405f78c0]
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 0x140056376
mov ecx, 0xa50
call fcn.140026730
mov rdi, rax
test rax, rax
je 0x1400563c2
xor ebx, ebx
mov byte [rax], 0
xor eax, eax
mov word [rsp + 0x40], 0
xorps xmm0, xmm0
mov dword [rbp + 2], eax
xor edx, edx
mov word [rbp + 6], ax
mov r8d, 0xb0
mov qword [rbp + 0x10], rax
lea rcx, [rbp + 0x40]
mov byte [rbp + 0x18], al
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 qword [rbp - 0x38], rbx
mov qword [rbp - 0x30], rbx
mov dword [rbp - 0x28], 0x3e8
mov dword [rbp - 0x24], 0x3e8
mov word [rbp - 0x20], 0xffff
movups xmmword [rbp - 0x1e], xmm0
mov qword [rbp + 8], rbx
movups xmmword [rbp - 0xe], xmm0
mov qword [rbp + 0x20], rbx
mov qword [rbp + 0x28], rbx
mov qword [rbp + 0x30], rbx
mov qword [rbp + 0x38], rbx
call fcn.14027e650
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
mov qword [rbp + 0x220], 1
mov qword [rbp + 0x228], rbx
xor eax, eax
mov qword [rbp + 0x230], 1
xor edx, edx
mov dword [rbp + 0x271], eax
mov r8d, 0x6d8
mov word [rbp + 0x275], ax
lea rcx, [rbp + 0x2a0]
mov byte [rbp + 0x277], al
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 qword [rbp + 0x260], 1
mov qword [rbp + 0x268], rbx
mov byte [rbp + 0x270], 6
mov qword [rbp + 0x278], rbx
mov qword [rbp + 0x280], rbx
mov qword [rbp + 0x288], rbx
mov qword [rbp + 0x290], rbx
mov qword [rbp + 0x298], rbx
call fcn.14027e650
lea rcx, [rdi + 8]
mov qword [rbp + 0x978], rbx
lea rdx, [rsp + 0x40]
mov byte [rbp + 0x980], bl
mov r8d, 0xa48
call fcn.14027dfb0
mov ecx, dword [0x1405f78c0]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x1400563d4
add rdi, 8
cmp byte [rdi + 0x330], 0
je 0x140056390
xor edx, edx
mov rcx, rdi
call fcn.140026d50
mov rdi, rax
sub byte [rdi + 1], 1
jne 0x14005639e
mov rcx, rdi
call fcn.140027910
lea r11, [rsp + 0xa90]
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.140024be0
call fcn.14025c5b0
int3
lea rcx, str._jemalloc_:_Error_setting_TSD_n
call fcn.140024be0
call fcn.14025c5b0
int3