Function at 0x1801e8780
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 0x1801e87a6
and rax, 0xfffffffffffffffe
jmp 0x1801e87b3
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::IntelSchedulerTraits_.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, 0xc0
mov qword [rsp + 0x78], 0xfffffffffffffffe
mov rdi, r8
mov r14, rdx
mov rbx, rcx
mov qword [rsp + 0x60], rdx
mov r13, rcx
mov qword [rsp + 0x40], rcx
mov rsi, r8
mov qword [rsp + 0x20], r8
mov rax, qword [rcx + 0x68]
mov qword [rsp + 0x58], rax
mov rdx, qword [rcx + 0x70]
mov qword [rsp + 0x118], rdx
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x50], rax
mov rax, qword [rcx + 0x38]
mov qword [rcx + 0x40], rax
mov rcx, qword [rcx + 0xa0]
cmp rax, rcx
jne 0x1801e9545
mov eax, 1
movabs r15, 0xc000000000000000
cmp r14, rcx
cmove rax, r15
mov qword [rsp + 0x110], rax
jmp 0x1801e9589
mov qword [rsp + 0x110], 1
cmp r14, rcx
je 0x1801e9589
mov rax, qword [r14 - 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 0x1801e9589
mov rax, qword [rax]
dec rax
mov qword [rbx + 0x168], rax
mov rsi, 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 rdi, rdi
je 0x1801e95d6
mov rcx, qword [rdi - 0x38]
mov eax, dword [rsp + 0x30]
cmp dword [rcx + 0x70], eax
jne 0x1801e95c3
mov rax, qword [rsp + 0x30]
shr rax, 0x20
cmp word [rcx + 0x74], ax
je 0x1801e95d6
mov rax, qword [rcx + 0x70]
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x30]
call fcn.18035b258
xor r12d, r12d
nop dword [rax]
test rsi, rsi
je 0x1801e99cd
lea r15, [rsi - 0x38]
mov rax, qword [r15]
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 0x1801e97f1
mov rdi, qword [rsp + 0x20]
test byte [rdi - 0xb], 0x10
jne 0x1801e97f6
mov rax, qword [rbx + 0x30]
mov rcx, qword [rax + 0x88]
mov rdi, qword [rsp + 0x48]
cmp rdi, rcx
je 0x1801e9645
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 0x1801e97f1
mov rax, qword [rbx + 0x158]
mov rcx, qword [rsp + 0x20]
test rax, rax
jne 0x1801e967c
lea rax, [rcx - 0x28]
mov qword [rbx + 0x160], rax
mov qword [rax], r12
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 0x1801e96ac
mov rcx, rbx
call fcn.1801e7670
mov rsi, rax
mov qword [rsp + 0x20], rax
test rax, rax
je 0x1801e96b5
jmp 0x1801e95e0
mov rcx, qword [rbx + 0x30]
call fcn.1801ea0c0
mov rdi, qword [rsp + 0x60]
add rdi, 0xffffffffffffffe8
mov r14, qword [rsp + 0x108]
mov r15, qword [rsp + 0x110]
movabs rax, 0xc000000000000000
cmp r15, rax
jne 0x1801e973b
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 + 0x118]
cmp qword [rbx + 0x70], rcx
je 0x1801e9712
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 0x1801e972c
movzx eax, word [rsp + 0x2c]
cmp word [rsp + 0x34], ax
je 0x1801e9736
lea rcx, [rsp + 0x28]
call fcn.18035b258
jmp 0x1801e9a87
mov rax, qword [rbx]
mov rdx, rdi
mov rcx, rbx
call qword [rax + 0x30]
mov rsi, rax
mov qword [rsp + 0x20], rax
test rax, rax
jne 0x1801e9a9a
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 + 0x118]
cmp qword [rbx + 0x70], rcx
je 0x1801e978d
mov rax, qword [rcx]
dec rax
mov qword [rbx + 0x168], rax
mov qword [rbx + 0x70], rcx
mov rcx, qword [r14 - 0x38]
mov eax, dword [rcx + 0x80]
shr rax, 0x12
test al, 1
jne 0x1801e97b2
cmp qword [r14 - 0x18], 1
jne 0x1801e9a67
mov qword [r14 - 0x18], r12
cmp qword [rcx + 0x78], 0
je 0x1801e9a67
mov rdi, qword [rcx + 0x88]
mov rax, qword [rbx + 0xa0]
cmp qword [rbx + 0x40], rax
jne 0x1801e97e3
cmp rcx, qword [rax - 0x38]
jne 0x1801e97e3
mov qword [rcx + 0x78], r12
and qword [rcx + 0x98], 0xfffffffffffffffe
test rdi, rdi
jne 0x1801e9b17
jmp 0x1801e9a67
mov rdi, qword [rsp + 0x20]
mov rsi, r12
mov qword [rsp + 0x38], r12
mov qword [rbx + 0x38], rdi
mov qword [rdi - 0x28], rbx
mov byte [rdi - 0xc], 0
mov rax, qword [r15]
cmp qword [rax + 0x78], 0
jne 0x1801e982e
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 8]
mov rsi, rax
mov qword [rsp + 0x38], rax
test rax, rax
je 0x1801e982e
and byte [rax - 0xb], 0x6f
movzx ecx, byte [rdi - 0xc]
test ecx, ecx
je 0x1801e98f4
sub ecx, 1
je 0x1801e98d8
sub ecx, 2
je 0x1801e98cf
sub ecx, 2
je 0x1801e985b
cmp ecx, 1
je 0x1801e985f
jmp 0x1801e99c3
mov byte [rdi - 0xc], 3
and byte [rdi - 0xb], 0x6f
mov qword [rsp + 0x68], r15
cmp qword [r15 + 0x20], 1
jne 0x1801e9875
mov qword [r15 + 0x20], r12
jmp 0x1801e989b
mov rax, 0xffffffffffffffff
lock xadd qword [r15 + 0x20], rax
mov rsi, qword [rsp + 0x38]
cmp rax, 1
jg 0x1801e99c3
mov rdi, qword [rsp + 0x20]
mov r15, qword [rsp + 0x68]
cmp byte [r15 + 0x2c], 6
jne 0x1801e98bd
lea r9, [rbx + 0x90]
xor r8d, r8d
mov rdx, rdi
mov rcx, qword [rbx + 0x30]
call fcn.1801f7580
jmp 0x1801e99c3
test rsi, rsi
jne 0x1801e98e0
mov rsi, rdi
mov qword [rsp + 0x38], rdi
jmp 0x1801e99c3
and byte [rdi - 0xb], 0x6f
jmp 0x1801e99c3
mov byte [rdi - 0xc], 3
and byte [rdi - 0xb], 0x6f
lea r8, [rdi - 8]
mov rdx, rdi
mov rcx, rbx
call fcn.1801e7110
jmp 0x1801e99c3
mov r14, qword [rdi - 0x20]
mov qword [rsp + 0x70], r14
mov rax, qword [rdi]
xor edx, edx
mov rcx, rdi
call qword [rax]
test r14, r14
je 0x1801e9978
cmp qword [r14 - 0x18], 1
jne 0x1801e9919
mov qword [r14 - 0x18], r12
jmp 0x1801e993b
mov rax, 0xffffffffffffffff
lock xadd qword [r14 - 0x18], rax
mov rdi, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x38]
cmp rax, 1
jg 0x1801e9978
mov r14, qword [rsp + 0x70]
cmp byte [r14 - 0xc], 6
jne 0x1801e995a
lea r9, [rbx + 0x90]
xor r8d, r8d
mov rdx, r14
mov rcx, qword [rbx + 0x30]
call fcn.1801f7580
jmp 0x1801e9978
test rsi, rsi
jne 0x1801e9969
mov rsi, r14
mov qword [rsp + 0x38], r14
jmp 0x1801e9978
lea r8, [r14 - 8]
mov rdx, r14
mov rcx, rbx
call fcn.1801e7110
mov qword [rsp + 0x80], r15
mov byte [r15 + 0x2c], 4
mov rax, qword [r15 + 8]
cmp rax, rbx
jne 0x1801e99a2
mov rax, qword [rbx + 0x98]
mov qword [r15 + 0x30], rax
mov qword [rbx + 0x98], rdi
jmp 0x1801e99c3
test rax, rax
je 0x1801e99b9
cmp rax, 0x1000
jb 0x1801e99c3
mov rdx, rdi
call fcn.1801e6cc0
jmp 0x1801e99c3
lea rcx, [rdi - 0x40]
call qword [case.0x1801f7166.0]
mov qword [rsp + 0x20], rsi
jmp 0x1801e95e0
mov r14, qword [rsp + 0x108]
lea rdi, [r14 - 0x18]
mov r15, qword [rsp + 0x110]
cmp qword [rdi], r15
jne 0x1801e99fd
mov rax, qword [case.0x1801e63e9.2]
test rax, rax
je 0x1801e99f8
mov rcx, rdi
call rax
nop
jmp 0x1801e9758
mov rax, qword [rbx + 0x28]
cmp qword [rax + 8], 0
je 0x1801e96ce
mov rcx, rbx
call fcn.1801e7c80
mov rsi, rax
mov qword [rsp + 0x20], rax
test rax, rax
je 0x1801e96ce
mov rax, qword [rax - 0x38]
mov qword [rsp + 0x88], rax
lea rcx, [rax + 0x70]
mov qword [rsp + 0x90], rcx
mov eax, dword [rsp + 0x30]
cmp dword [rcx], eax
jne 0x1801e9a50
movzx eax, word [rsp + 0x34]
cmp word [rcx + 4], ax
je 0x1801e9a62
mov rax, qword [rcx]
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x30]
call fcn.18035b258
jmp 0x1801e95e0
mov eax, dword [rsp + 0x28]
cmp dword [rsp + 0x30], eax
jne 0x1801e9a7d
movzx eax, word [rsp + 0x2c]
cmp word [rsp + 0x34], ax
je 0x1801e9a87
lea rcx, [rsp + 0x28]
call fcn.18035b258
add rsp, 0xc0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
mov rax, qword [rax - 0x38]
mov qword [rsp + 0x98], rax
lea rcx, [rax + 0x70]
mov qword [rsp + 0xa0], rcx
jmp 0x1801e9a3d
lea rcx, [rsp + 0x28]
call fcn.1801e6750
mov rcx, rdi
call fcn.1801e6660
int3