Function at 0x1801e8860
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov ecx, dword [0x18067c294]
mov rbx, r8
mov rdi, rdx
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test al, 1
je 0x1801e8886
and rax, 0xfffffffffffffffe
jmp 0x1801e8893
mov r8b, 1
mov ecx, 0xffffffff
call fcn.18019ac20
mov r8, rbx
mov rdx, rdi
mov rcx, rax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp method.tbb::internal::custom_scheduler_struct_tbb::internal::DefaultSchedulerTraits_.virtual_40
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xb0
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov rsi, r8
mov r12, rdx
mov rbx, rcx
mov qword [rsp + 0x60], rdx
mov r13, rcx
mov qword [rsp + 0x40], rcx
mov rax, qword [0x1806702c8]
test rax, rax
je 0x1801e8911
lea rcx, [rdx - 0x18]
mov r9d, 2
lea r8, str.TBB_Scheduler
lea rdx, str._Constant
call rax
mov rdi, rsi
mov qword [rsp + 0x20], rsi
mov rax, qword [rbx + 0x68]
mov qword [rsp + 0x58], rax
mov rdx, qword [rbx + 0x70]
mov qword [rsp + 0x38], rdx
mov rax, qword [rbx + 0x40]
mov qword [rsp + 0x50], rax
mov rax, qword [rbx + 0x38]
mov qword [rbx + 0x40], rax
mov rcx, qword [rbx + 0xa0]
cmp rax, rcx
jne 0x1801e8968
mov eax, 1
movabs r14, 0xc000000000000000
cmp r12, rcx
cmove rax, r14
mov qword [rsp + 0x108], rax
jmp 0x1801e89ad
mov qword [rsp + 0x108], 1
cmp r12, rcx
je 0x1801e89ad
mov rax, qword [r12 - 0x38]
add rax, 0xa0
mov qword [rbx + 0x68], rax
mov rax, qword [rbx + 0x30]
add rax, 0x108
mov qword [rbx + 0x70], rax
cmp rax, rdx
je 0x1801e89ad
mov rax, qword [rax]
dec rax
mov qword [rbx + 0x168], rax
mov rdi, qword [rsp + 0x20]
lea rcx, [rsp + 0x28]
call fcn.18035b250
and dword [rsp + 0x28], 0xffffffc0
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
test rsi, rsi
je 0x1801e89fa
mov rcx, qword [rsi - 0x38]
mov eax, dword [rsp + 0x30]
cmp dword [rcx + 0x70], eax
jne 0x1801e89e7
mov rax, qword [rsp + 0x30]
shr rax, 0x20
cmp word [rcx + 0x74], ax
je 0x1801e89fa
mov rax, qword [rcx + 0x70]
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x30]
call fcn.18035b258
xor r15d, r15d
nop dword [rax]
test rdi, rdi
je 0x1801e8da8
lea r14, [rdi - 0x38]
mov rax, qword [r14]
mov rcx, qword [rax + 0xa0]
mov qword [rsp + 0x48], rcx
mov rax, qword [rbx + 0x68]
mov rcx, qword [rax]
cmp qword [rsp + 0x48], rcx
je 0x1801e8c06
mov rsi, qword [rsp + 0x20]
test byte [rsi - 0xb], 0x10
jne 0x1801e8c0b
mov rax, qword [rbx + 0x30]
mov rcx, qword [rax + 0x88]
mov rdi, qword [rsp + 0x48]
cmp rdi, rcx
je 0x1801e8a65
mov r8, rdi
mov rdx, qword [rbx + 0x30]
mov rcx, qword [rbx + 0x88]
call fcn.1801ebac0
mov rcx, rbx
call fcn.1801e66f0
cmp rdi, rax
jge 0x1801e8c06
mov rax, qword [rbx + 0x158]
mov rcx, qword [rsp + 0x20]
test rax, rax
jne 0x1801e8a9c
lea rax, [rcx - 0x28]
mov qword [rbx + 0x160], rax
mov qword [rax], r15
mov rax, qword [r13 + 0x158]
mov qword [rcx - 0x28], rax
mov qword [rbx + 0x158], rcx
mov rax, qword [rbx + 0x28]
cmp qword [rax + 8], 0
je 0x1801e8acc
mov rcx, rbx
call fcn.1801e7670
mov rdi, rax
mov qword [rsp + 0x20], rax
test rax, rax
je 0x1801e8ad5
jmp 0x1801e8a00
mov rcx, qword [rbx + 0x30]
call fcn.1801ea0c0
mov rsi, qword [rsp + 0x60]
add rsi, 0xffffffffffffffe8
mov r14, qword [rsp + 0x108]
movabs rax, 0xc000000000000000
cmp r14, rax
jne 0x1801e8b50
mov rax, qword [rbx + 0x40]
mov qword [rbx + 0x38], rax
mov rax, qword [rsp + 0x50]
mov qword [rbx + 0x40], rax
mov rax, qword [rsp + 0x58]
mov qword [rbx + 0x68], rax
mov rcx, qword [rsp + 0x38]
cmp qword [rbx + 0x70], rcx
je 0x1801e8b27
mov rax, qword [rcx]
dec rax
mov qword [rbx + 0x168], rax
mov qword [rbx + 0x70], rcx
mov eax, dword [rsp + 0x28]
cmp dword [rsp + 0x30], eax
jne 0x1801e8b41
movzx eax, word [rsp + 0x2c]
cmp word [rsp + 0x34], ax
je 0x1801e8b4b
lea rcx, [rsp + 0x28]
call fcn.18035b258
jmp 0x1801e8e5b
mov rax, qword [rbx]
mov rdx, rsi
mov rcx, rbx
call qword [rax + 0x30]
mov rdi, rax
mov qword [rsp + 0x20], rax
test rax, rax
jne 0x1801e8e6e
mov rax, qword [rbx + 0x40]
mov qword [rbx + 0x38], rax
mov rax, qword [rsp + 0x50]
mov qword [rbx + 0x40], rax
mov rax, qword [rsp + 0x58]
mov qword [rbx + 0x68], rax
mov rcx, qword [rsp + 0x38]
cmp qword [rbx + 0x70], rcx
je 0x1801e8b9f
mov rax, qword [rcx]
dec rax
mov qword [rbx + 0x168], rax
mov qword [rbx + 0x70], rcx
mov rcx, qword [r12 - 0x38]
mov eax, dword [rcx + 0x80]
shr rax, 0x12
test al, 1
jne 0x1801e8bc7
cmp qword [r12 - 0x18], 1
jne 0x1801e8e3b
mov qword [r12 - 0x18], r15
cmp qword [rcx + 0x78], 0
je 0x1801e8e3b
mov rdi, qword [rcx + 0x88]
mov rax, qword [rbx + 0xa0]
cmp qword [rbx + 0x40], rax
jne 0x1801e8bf8
cmp rcx, qword [rax - 0x38]
jne 0x1801e8bf8
mov qword [rcx + 0x78], r15
and qword [rcx + 0x98], 0xfffffffffffffffe
test rdi, rdi
jne 0x1801e8f1b
jmp 0x1801e8e3b
mov rsi, qword [rsp + 0x20]
mov rdi, r15
mov qword [rsp + 0x100], r15
mov qword [rbx + 0x38], rsi
mov qword [rsi - 0x28], rbx
mov byte [rsi - 0xc], 0
mov rcx, qword [r14]
cmp qword [rcx + 0x78], 0
jne 0x1801e8c70
mov rax, qword [0x1806702d8]
test rax, rax
je 0x1801e8c3e
mov rcx, qword [rcx + 0x20]
call rax
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 8]
mov rdi, rax
mov qword [rsp + 0x100], rax
mov rax, qword [0x1806702d0]
test rax, rax
je 0x1801e8c67
mov rcx, qword [r14]
mov rcx, qword [rcx + 0x20]
call rax
test rdi, rdi
je 0x1801e8c70
and byte [rdi - 0xb], 0x6f
movzx ecx, byte [rsi - 0xc]
test ecx, ecx
je 0x1801e8d60
sub ecx, 1
je 0x1801e8d47
sub ecx, 2
je 0x1801e8d41
sub ecx, 2
je 0x1801e8c9d
cmp ecx, 1
je 0x1801e8ca1
jmp 0x1801e8d9e
mov byte [rsi - 0xc], 3
and byte [rsi - 0xb], 0x6f
mov qword [rsp + 0x68], r14
mov rax, qword [case.0x1801e63e9.1]
lea rdi, [r14 + 0x20]
test rax, rax
je 0x1801e8cbf
mov rcx, rdi
call rax
mov rax, 0xffffffffffffffff
lock xadd qword [rdi], rax
cmp rax, 1
jg 0x1801e8d05
mov rax, qword [case.0x1801e63e9.2]
test rax, rax
je 0x1801e8ce2
mov rcx, rdi
call rax
mov rax, qword [rsp + 0x68]
cmp byte [rax + 0x2c], 6
jne 0x1801e8d12
lea r9, [rbx + 0x90]
xor r8d, r8d
mov rdx, qword [rsp + 0x20]
mov rcx, qword [rbx + 0x30]
call fcn.1801f7580
mov rdi, qword [rsp + 0x100]
jmp 0x1801e8d9e
mov rdi, qword [rsp + 0x100]
test rdi, rdi
jne 0x1801e8d2e
mov rdi, qword [rsp + 0x20]
mov qword [rsp + 0x100], rdi
jmp 0x1801e8d9e
mov rdx, qword [rsp + 0x20]
lea r8, [rdx - 8]
mov rcx, rbx
call fcn.1801e7110
jmp 0x1801e8d9e
and byte [rsi - 0xb], 0x6f
jmp 0x1801e8d9e
mov byte [rsi - 0xc], 3
and byte [rsi - 0xb], 0x6f
lea r8, [rsi - 8]
mov rdx, rsi
mov rcx, rbx
call fcn.1801e7110
jmp 0x1801e8d9e
mov r14, qword [rsi - 0x20]
mov qword [rsp + 0x78], r14
mov rax, qword [rsi]
xor edx, edx
mov rcx, rsi
call qword [rax]
test r14, r14
je 0x1801e8d93
lea r8, [rsp + 0x100]
mov rdx, r14
mov rcx, rbx
call fcn.1801ea1e0
mov rdi, qword [rsp + 0x100]
mov rdx, rsi
mov rcx, rbx
call fcn.1801ea110
mov qword [rsp + 0x20], rdi
jmp 0x1801e8a00
lea rsi, [r12 - 0x18]
mov r14, qword [rsp + 0x108]
cmp qword [rsi], r14
jne 0x1801e8dd1
mov rax, qword [case.0x1801e63e9.2]
test rax, rax
je 0x1801e8dcc
mov rcx, rsi
call rax
nop
jmp 0x1801e8b6d
mov rax, qword [rbx + 0x28]
cmp qword [rax + 8], 0
je 0x1801e8ae6
mov rcx, rbx
call fcn.1801e7c80
mov rdi, rax
mov qword [rsp + 0x20], rax
test rax, rax
je 0x1801e8ae6
mov rax, qword [rax - 0x38]
mov qword [rsp + 0x80], rax
lea rcx, [rax + 0x70]
mov qword [rsp + 0x88], rcx
mov eax, dword [rsp + 0x30]
cmp dword [rcx], eax
jne 0x1801e8e24
movzx eax, word [rsp + 0x34]
cmp word [rcx + 4], ax
je 0x1801e8e36
mov rax, qword [rcx]
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x30]
call fcn.18035b258
jmp 0x1801e8a00
mov eax, dword [rsp + 0x28]
cmp dword [rsp + 0x30], eax
jne 0x1801e8e51
movzx eax, word [rsp + 0x2c]
cmp word [rsp + 0x34], ax
je 0x1801e8e5b
lea rcx, [rsp + 0x28]
call fcn.18035b258
add rsp, 0xb0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
mov rax, qword [rax - 0x38]
mov qword [rsp + 0x90], rax
lea rcx, [rax + 0x70]
mov qword [rsp + 0x98], rcx
jmp 0x1801e8e11
lea rcx, [rsp + 0x28]
call fcn.1801e6750
mov rcx, rdi
call fcn.1801e6660
int3