Function at 0x180060730
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x90]
sub rsp, 0x190
movaps xmmword [rsp + 0x180], xmm6
mov rax, qword [0x1800c31c0]
xor rax, rsp
mov qword [rbp + 0x78], rax
mov r15d, r9d
mov rbx, r8
mov r12, rdx
mov r14, rcx
xor r13d, r13d
mov dword [rcx + 0x30], r9d
cmp r9d, 1
je 0x18006079d
add rcx, 8
mov rdx, rbx
call fcn.180067370
cmp dword [r12], r13d
jne 0x1800609c9
test rbx, rbx
je 0x1800609c9
mov rsi, qword [r14 + 8]
mov rcx, rsi
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::gptr_void_const___ptr64]
mov rbx, rax
mov rcx, rsi
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
mov rdi, rax
sub rdi, rbx
mov rcx, rsi
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::gptr_void_const___ptr64]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rdi
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x60], xmm0
mov qword [rbp - 0x80], r13
mov qword [rbp - 0x60], r13
lea rax, [rsp + 0x60]
mov qword [rbp - 0x78], rax
lea rcx, [rsp + 0x60]
mov qword [rbp - 0x70], rcx
lea rax, [rsp + 0x70]
mov qword [rbp - 0x68], rax
nop dword [rax]
movups xmm0, xmmword [rcx]
movups xmmword [rsp + 0x70], xmm0
cmp qword [rcx + 8], r13
jne 0x18006081c
add rcx, 0x10
lea rax, [rsp + 0x70]
cmp rcx, rax
jne 0x180060800
mov qword [rbp - 0x70], rcx
mov r8, qword [r14 + 0x38]
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x10]
call fcn.18005fdc0
xorps xmm1, xmm1
mov qword [rbp - 0x80], r13
mov rsi, r13
lea rax, [rsp + 0x60]
mov qword [rbp - 0x78], rax
lea rcx, [rsp + 0x60]
lea rax, [rsp + 0x70]
mov qword [rbp - 0x68], rax
nop dword [rax]
nop word [rax + rax]
add rsi, qword [rcx + 8]
add rcx, 0x10
lea rax, [rsp + 0x70]
cmp rcx, rax
jne 0x180060860
mov qword [rbp - 0x70], rcx
mov qword [rbp - 0x60], rsi
movaps xmmword [rbp - 0x50], xmm1
movups xmm0, xmmword [rbp - 0x80]
movaps xmmword [rbp - 0x40], xmm0
movups xmm1, xmmword [rbp - 0x70]
movaps xmmword [rbp - 0x30], xmm1
movsd xmm0, qword [rbp - 0x60]
movsd qword [rbp - 0x20], xmm0
movups xmm1, xmmword [rbp - 0x10]
movaps xmmword [rsp + 0x70], xmm1
movups xmm0, xmmword [rbp]
movaps xmmword [rbp - 0x80], xmm0
movups xmm1, xmmword [rbp + 0x10]
movaps xmmword [rbp - 0x70], xmm1
movsd xmm0, qword [rbp + 0x20]
movsd qword [rbp - 0x60], xmm0
lea r9, [r14 + 0x10]
mov rax, qword [r9 + 0x10]
cmp qword [r9 + 0x18], 0xf
jbe 0x1800608d2
add rax, qword [r9]
mov r9, qword [r9]
jmp 0x1800608d5
add rax, r9
mov qword [rsp + 0x20], rax
lea r8, [rbp - 0x50]
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x10]
call fcn.180058240
mov r13, qword [rbp + 0x20]
cmp r13, rsi
je 0x180060911
cmp byte [rbp + 0x28], 0
je 0x180060911
mov rcx, qword [r14 + 0x20]
add rcx, r13
mov qword [r14 + 0x38], rcx
xor r13d, r13d
mov edi, r13d
jmp 0x1800609b7
mov rbx, qword [r14 + 8]
mov rcx, rbx
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::gptr_void_const___ptr64]
mov rdi, rax
mov rcx, rbx
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
sub rax, rdi
mov rdi, qword [r14 + 8]
cmp rax, qword [rdi + 0x68]
jne 0x180060947
mov qword [r14 + 0x38], 0xffffffffffffffff
xor r13d, r13d
mov edi, r13d
jmp 0x1800609b7
cmp r13, rsi
cmovne rsi, r13
mov qword [r14 + 0x38], rsi
mov rsi, qword [rdi + 0x68]
mov rcx, rdi
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
sub rsi, rax
mov rcx, rdi
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::gptr_void_const___ptr64]
add rsi, rax
mov rdi, qword [r14 + 8]
mov rbx, qword [rdi + 0x80]
sub rbx, qword [rdi + 0x70]
mov rcx, rdi
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
sub rbx, rax
mov rcx, rdi
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::gptr_void_const___ptr64]
add rax, rbx
mov edi, 0x200
cmp rax, rdi
cmova rdi, rax
mov eax, 0x10000
cmp rsi, rax
cmovb rax, rsi
cmp rax, rdi
cmovb rdi, rax
xor r13d, r13d
test r15d, r15d
jne 0x180060b14
test rdi, rdi
jne 0x180060b14
cmp qword [r14 + 0x38], 0xffffffffffffffff
jne 0x1800609e9
call fcn.180046b80
mov dword [rsp + 0x40], 3
mov qword [rsp + 0x48], rax
movaps xmm6, xmmword [rsp + 0x40]
jmp 0x1800609ee
movups xmm6, xmmword [r12]
cmp dword [r12], 0
jne 0x1800609ff
mov rbx, qword [r14 + 0x38]
cmp rbx, 0xffffffffffffffff
jne 0x180060a02
mov rbx, r13
lea rdx, [r14 + 0x50]
lea rcx, [rbp - 0x10]
call fcn.180058f30
movaps xmmword [rbp + 0x50], xmm6
mov qword [rbp + 0x60], rbx
mov rsi, qword [r14 + 0x40]
mov rbx, qword [r14 + 0x48]
mov ecx, dword [0x1800c7fa4]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x180060a3e
cmp qword [rax], rbx
je 0x180060a5e
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x180060a30
lea rax, [rbp - 0x10]
mov qword [rsp + 0x40], rax
mov ecx, dword [0x1800c7f90]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x180060aa0
mov rdx, qword [rax + 8]
jmp 0x180060aa3
cmp qword [rax + 8], 0
je 0x180060a3e
nop
lea rax, [rbp - 0x50]
mov qword [rsp + 0x40], rax
mov qword [rbp - 0x18], r13
mov rcx, qword [rbp + 0x38]
test rcx, rcx
je 0x180060a89
mov rax, qword [rcx]
lea rdx, [rbp - 0x50]
call qword [rax]
mov qword [rbp - 0x18], rax
mov r9, qword [rbp + 0x60]
lea r8, [rbp + 0x50]
lea rdx, [rbp - 0x50]
mov rcx, qword [rbp + 0x40]
call qword [rbp - 0x10]
nop
nop
jmp 0x180060b09
mov rdx, r13
mov r9d, 8
mov r8d, 0xb8
movzx ecx, byte [rsp + 0x30]
call fcn.1800478d0
mov rbx, rax
mov qword [rax + 0x20], r13
lea rax, [0x18006acb0]
mov qword [rbx + 0x28], rax
mov qword [rbx], r13
mov qword [rbx + 8], r13
mov qword [rbx + 0x10], 0
mov qword [rbx + 0x18], r13
mov dword [rbx + 0x30], r13d
lea rcx, [rbx + 0x38]
lea rdx, [rbp - 0x10]
call fcn.180059610
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x48], r13
mov r8, rbx
lea rdx, [r14 + 0x48]
mov rcx, rsi
call fcn.18006cbe0
nop
lea rcx, [rbp - 8]
call fcn.18005ea70
jmp 0x180060b6a
mov rbx, qword [r14 + 8]
mov rdx, rdi
mov rcx, rbx
call fcn.180086880
mov rcx, rbx
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rdi
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
mov rax, qword [r14]
lea r8, [rax + 0x68]
lea rdx, [rax + 8]
mov rcx, qword [rax]
add rcx, 0x28
mov qword [rsp + 0x28], r8
mov qword [rsp + 0x20], r14
xor r9d, r9d
lea r8, [rsp + 0x40]
call fcn.180052fb0
mov rcx, qword [rbp + 0x78]
xor rcx, rsp
call fcn.180097330
mov rbx, qword [rsp + 0x1e8]
movaps xmm6, xmmword [rsp + 0x180]
add rsp, 0x190
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret