Function at 0x1401631e0
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x60]
sub rsp, 0x160
mov r10, r8
mov rsi, rdx
mov rbx, rcx
xor r15d, r15d
mov dword [rcx + 0x28], r9d
mov r8, qword [rcx + 0x20]
mov rdx, qword [rdx + 0x10]
mov rcx, rdx
and ecx, 1
cmp r9d, 1
je 0x14016337d
lea rdi, [r8 + r10]
mov qword [rbx + 0x20], rdi
test rcx, rcx
je 0x140163238
cmp rdx, 1
jne 0x14016323d
cmp dword [rsi], r15d
jne 0x14016323d
test r10, r10
je 0x140163263
cmp rdi, qword [rbx + 0x18]
jae 0x140163263
test rcx, rcx
je 0x140163253
cmp rdx, 1
jne 0x140163263
cmp dword [rsi], r15d
jne 0x140163263
cmp rdi, qword [rbx]
jae 0x140163263
mov r9d, 0x10000
jmp 0x14016339b
mov rax, qword [rbx + 0x40]
mov qword [rsp + 0x50], rax
lea rdx, [rbx + 0x48]
lea rcx, [rsp + 0x58]
call fcn.1401540d0
movups xmm0, xmmword [rsi]
movups xmmword [rbp - 0x48], xmm0
movsd xmm1, qword [rsi + 0x10]
movsd qword [rbp - 0x38], xmm1
mov qword [rbp - 0x30], rdi
mov r14, qword [rbx + 0x30]
lea rsi, [rbx + 0x38]
mov rbx, qword [rsi]
mov ecx, dword [0x1404dc78c]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1401632be
nop dword [rax + rax]
cmp qword [rax], rbx
je 0x1401632df
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x1401632b0
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov rdi, qword [rsp + 0x50]
cmp byte [rdi + 0x400], 0
jne 0x1401632fa
mov byte [rdi + 0x400], 1
jmp 0x140163307
cmp qword [rax + 8], 0
je 0x1401632be
nop
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x50]
call fcn.14013e5e0
nop
nop
jmp 0x140163373
mov ecx, 0xc8
call fcn.140382738
mov rdi, rax
mov qword [rdi + 0x20], r15
lea rax, [0x140177420]
mov qword [rdi + 0x28], rax
mov qword [rdi], r15
mov qword [rdi + 8], r15
mov qword [rdi + 0x10], r15
mov qword [rdi + 0x18], r15
mov dword [rdi + 0x30], r15d
lea rdx, [rsp + 0x50]
lea rcx, [rdi + 0x38]
call fcn.140155ec0
movups xmm0, xmmword [rbp - 0x48]
movups xmmword [rdi + 0xa0], xmm0
movsd xmm1, qword [rbp - 0x38]
movsd qword [rdi + 0xb0], xmm1
mov rax, qword [rbp - 0x30]
mov qword [rdi + 0xb8], rax
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], r15
mov r8, rdi
mov rdx, rsi
mov rcx, r14
call fcn.14017e120
nop
lea rcx, [rsp + 0x60]
jmp 0x140163467
test rcx, rcx
je 0x14016338d
cmp rdx, 1
jne 0x140163398
cmp dword [rsi], r15d
jne 0x140163398
cmp r8, qword [rbx]
mov r9d, 0x10000
jb 0x14016339b
mov r9, r15
mov rax, qword [rbx + 8]
mov rdx, qword [rbx + 0x20]
mov r8, qword [rbx + 0x18]
cmp rdx, r8
cmovae rdx, r8
sub r8, rdx
add rdx, qword [rbx + 0x10]
mov qword [rsp + 0x20], rdx
cmp r8, r9
cmovae r8, r9
mov qword [rsp + 0x28], r8
lea rdx, [rax + 0xa8]
lea rcx, [rax + 8]
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x58], rdx
movups xmm0, xmmword [rsp + 0x20]
movaps xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r15
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
mov qword [rbp - 0x78], r15
mov qword [rbp - 0x70], r15
mov rcx, qword [rbx]
mov qword [rbp - 0x68], rcx
mov qword [rbp - 0x60], rax
movups xmm0, xmmword [rbx + 0x10]
movups xmmword [rbp - 0x58], xmm0
movsd xmm1, qword [rbx + 0x20]
movsd qword [rbp - 0x48], xmm1
mov eax, dword [rbx + 0x28]
mov dword [rbp - 0x40], eax
movups xmm0, xmmword [rbx + 0x30]
movups xmmword [rbp - 0x38], xmm0
lea rdx, [rbx + 0x40]
lea rcx, [rbp - 0x28]
call fcn.140155ec0
nop
xorps xmm0, xmm0
mov qword [rbp + 0x50], r15
movaps xmmword [rsp + 0x20], xmm0
movsd xmm0, qword [rbp + 0x50]
movsd qword [rsp + 0x30], xmm0
mov r9d, 1
xor r8d, r8d
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x50]
call fcn.140161590
nop
lea rcx, [rbp - 0x18]
call fcn.14015da70
mov rbx, qword [rsp + 0x1a0]
add rsp, 0x160
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret