Function at 0x1401001e0
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x3e0]
sub rsp, 0x4e0
mov rax, qword [0x14048a080]
xor rax, rsp
mov qword [rbp + 0x3d0], rax
mov rdi, rdx
xor r15d, r15d
mov rcx, qword [rdx + 0x158]
mov qword [rbp + 0x198], rcx
mov rax, qword [rdx + 0x168]
mov qword [rbp + 0x1a8], rax
mov rax, qword [rcx + 8]
add rdx, 0x148
lea rcx, [rbp + 0x188]
call rax
nop
mov rax, qword [rdi + 0x170]
mov qword [rbp + 0x1b0], rax
mov rcx, qword [rdi + 0xb0]
mov qword [rbp + 0x168], rcx
mov rax, qword [rdi + 0xc0]
mov qword [rbp + 0x178], rax
mov rax, qword [rcx + 8]
lea rdx, [rdi + 0xa0]
lea rcx, [rbp + 0x158]
call rax
nop
mov rax, qword [rdi + 0xc8]
mov qword [rbp + 0x180], rax
lea rcx, [rdi + 0x10]
lea rdx, [rbp + 0x1b8]
call fcn.1400f4c20
nop
mov rax, qword [rbp + 0x168]
mov rdx, qword [rax]
lea rcx, [rbp + 0x158]
call rdx
nop
mov rax, qword [rbp + 0x198]
mov rdx, qword [rax]
lea rcx, [rbp + 0x188]
call rdx
nop
mov rdx, rdi
lea rcx, [rbp + 0x220]
call fcn.1400fecd0
movups xmm0, xmmword [rdi + 0x190]
movaps xmmword [rbp + 0x3b0], xmm0
movsd xmm1, qword [rdi + 0x1a0]
movsd qword [rbp + 0x3c0], xmm1
mov rax, qword [rbp + 0x1e0]
mov rbx, qword [rax + 0x20]
mov rax, qword [rbp + 0x1c8]
mov rdx, qword [rax + 0x18]
lea rcx, [rbp + 0x1b8]
call rdx
lea r8, [0x1403f7ec8]
mov rdx, rax
lea rcx, [rsp + 0x50]
call rbx
nop
mov rcx, qword [rsp + 0x60]
mov qword [rbp + 0x138], rcx
mov rax, qword [rsp + 0x70]
mov qword [rbp + 0x148], rax
lea rax, fcn.140009110
mov qword [rsp + 0x60], rax
lea rax, [0x1404048f8]
mov qword [rsp + 0x70], rax
mov rax, qword [rcx + 0x10]
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x128]
call rax
mov qword [rsp + 0x68], r15
mov rax, qword [rsp + 0x78]
mov qword [rbp + 0x150], rax
lea rax, [0x140403eb0]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x60]
mov rdx, qword [rax]
lea rax, [fcn.140009110]
cmp rdx, rax
je 0x1401003a8
lea rcx, [rsp + 0x50]
call rdx
nop
lea r8, [rbp + 0x128]
lea rdx, [rbp + 0x1e8]
call fcn.1400fdc50
mov r14, rax
mov rcx, qword [rax + 0x20]
mov rax, qword [rcx + 0x18]
mov esi, 0xffffffff
test rax, rax
je 0x1401003f7
lea rcx, [0x140109e00]
mov qword [rsp + 0x40], rcx
lea rcx, [rbp + 0x220]
mov qword [rsp + 0x48], rcx
lea rdx, [rsp + 0x40]
mov rcx, r14
call rax
jmp 0x1401004f9
mov r12, qword [rcx + 0x10]
lea rdx, [rbp + 0x220]
lea rcx, [rbp - 0x80]
call fcn.1400fecd0
movaps xmm0, xmmword [rbp + 0x3b0]
movups xmmword [rbp + 0x110], xmm0
movsd xmm1, qword [rbp + 0x3c0]
movsd qword [rbp + 0x120], xmm1
lea rax, [rbp - 0x80]
mov qword [rsp + 0x40], rax
mov ecx, dword [0x140ddf5a4]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140100447
mov r15, qword [rax + 8]
mov r8d, 0x1b8
mov rdx, r15
call fcn.140100af0
mov rdi, rax
lea rdx, [rbp - 0x80]
lea rcx, [rax + 8]
call fcn.1400fecd0
movups xmm0, xmmword [rbp + 0x110]
movups xmmword [rdi + 0x198], xmm0
movsd xmm1, qword [rbp + 0x120]
movsd qword [rdi + 0x1a8], xmm1
lea rax, [0x14010b350]
mov qword [rdi], rax
mov qword [rsp + 0x30], rdi
cmp byte [rbp + 0xc0], 0
je 0x1401004b6
mov rax, qword [rbp + 0xd8]
mov rdx, qword [rax]
lea rcx, [rbp + 0xc8]
call rdx
nop
mov byte [rbp + 0xc0], 0
mov rcx, qword [rbp + 0x60]
test rcx, rcx
je 0x1401004d1
mov eax, esi
lock xadd dword [rcx + 0xc], eax
cmp eax, 1
jne 0x1401004d1
mov rax, qword [rcx]
call qword [rax + select]
lea rcx, [rbp - 0x78]
call fcn.1400f0e80
nop
lea rdx, [rsp + 0x30]
mov rcx, r14
call r12
nop
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x1401004f9
mov rax, qword [rcx]
xor edx, edx
call rax
nop
mov rax, qword [rbp + 0x1f8]
mov rdx, qword [rax]
lea rcx, [rbp + 0x1e8]
call rdx
nop
mov rax, qword [rbp + 0x138]
mov rdx, qword [rax]
lea rcx, [rbp + 0x128]
call rdx
nop
cmp byte [rbp + 0x360], 0
je 0x140100545
mov rax, qword [rbp + 0x378]
mov rdx, qword [rax]
lea rcx, [rbp + 0x368]
call rdx
nop
mov byte [rbp + 0x360], 0
mov rcx, qword [rbp + 0x300]
test rcx, rcx
je 0x140100561
lock xadd dword [rcx + 0xc], esi
cmp esi, 1
jne 0x140100561
mov rax, qword [rcx]
call qword [rax + select]
lea rcx, [rbp + 0x228]
call fcn.1400f0e80
nop
mov rax, qword [rbp + 0x1c8]
mov rdx, qword [rax]
lea rcx, [rbp + 0x1b8]
call rdx
nop
mov rcx, qword [rbp + 0x3d0]
xor rcx, rsp
call fcn.14028bc60
lea r11, [rsp + 0x4e0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret