Function at 0x18010d400
Capabilities:
Get thread local storage value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0xf0
xor r14d, r14d
mov rbp, rcx
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x40], r14
mov rbx, r14
mov rcx, r14
mov rdi, r14
mov r8, r14
mov qword [rax - 0x68], r14
mov dword [rax - 0x60], r14d
mov qword [rax + 0x18], rbx
mov qword [rax - 0x90], rcx
mov dword [rax - 0x5c], r14d
mov qword [rax - 0x38], r14
test dl, dl
je 0x18010d487
lea ecx, [r14 + 0x10]
call sub.msvcrt.dll_void____ptr64___cdecl_operator_new_unsigned_long_long_unsigned___int64__
mov rdi, rax
test rax, rax
je 0x18010d58a
mov rax, qword [rbp + 8]
mov qword [rdi], rbp
mov qword [rdi + 8], rax
mov rcx, qword [rsp + 0x88]
mov r8, qword [rsp + 0x40]
mov eax, dword [rbp + 0x90]
and eax, 0xc3
test eax, 0xffffff3c
jne 0x18010d4da
mov rdx, qword [rbp + 0x98]
lea rcx, [rsp + 0x130]
mov r9, rdi
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x30]
mov r8d, eax
call fcn.18006d680
mov rbx, qword [rsp + 0x130]
test eax, eax
jns 0x18010d5be
mov rcx, qword [rsp + 0x88]
mov r8, qword [rsp + 0x40]
test r8, r8
je 0x18010d4f5
mov rax, qword [r8]
mov rcx, r8
call qword [rax + 0x10]
mov qword [rsp + 0x40], r14
mov rcx, qword [rsp + 0x88]
test rcx, rcx
je 0x18010d50d
dec dword [rcx + 0x20]
cmp dword [rcx + 0x20], r14d
jne 0x18010d50d
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
mov rcx, qword [rsp + 0xb0]
mov qword [rsp + 0x88], r14
call sub.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_
mov rsi, qword [rsp + 0xe0]
mov qword [rsp + 0xb0], r14
test rsi, rsi
je 0x18010d547
mov rcx, rsi
call fcn.18006cc30
mov rcx, rsi
call sub.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_
mov rcx, rdi
mov qword [rsp + 0xe0], r14
mov byte [rbp + 0x469], 1
call sub.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_
test rbx, rbx
je 0x18010d56c
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x10]
xor eax, eax
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
mov rdi, r14
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x18010d5a2
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rsp + 0x40], r14
mov rcx, qword [rsp + 0x88]
test rcx, rcx
je 0x18010d50d
dec dword [rcx + 0x20]
cmp dword [rcx + 0x20], ebx
jmp 0x18010d501
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x20]
mov ecx, dword [0x18025e63c]
mov r12, rax
test ecx, ecx
js 0x18010d732
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x18010d732
mov rcx, qword [rax + 0x40]
mov r8d, 1
mov edx, r12d
call fcn.180243b70
mov r13, rax
test rax, rax
je 0x18010d732
mov rdx, qword [rbx]
mov rcx, rbx
call qword [rdx + 0x18]
mov r8, r12
mov rcx, r13
mov rdx, rax
call sub.msvcrt.dll_memcpy
mov r11, qword [rbx]
mov rcx, rbx
call qword [r11 + 0x10]
mov ecx, 0x70
mov rbx, r14
call fcn.180071960
mov rsi, rax
test rax, rax
je 0x18010d58d
mov dword [rax + 8], 7
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], r14
mov dword [rax + 0x20], 1
lea rax, [0x1800419d8]
mov qword [rsi], rax
mov rcx, qword [rbp + 0x430]
mov qword [rsi + 0x28], rcx
mov rdx, qword [rbp + 0x438]
mov rcx, rdi
mov qword [rsi + 0x30], rdx
mov rax, qword [rbp + 0x440]
mov qword [rsi + 0x38], rax
mov rax, qword [rbp + 0x448]
mov qword [rsi + 0x40], rax
mov rax, qword [rbp + 0x450]
mov qword [rsi + 0x48], rax
mov rax, qword [rbp + 0x458]
mov qword [rsi + 0x50], rax
mov rax, qword [rbp + 0x460]
mov qword [rsi + 0x60], r13
mov qword [rsi + 0x58], rax
mov dword [rsi + 0x68], r12d
call sub.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x18010d6d1
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rsp + 0x40], r14
mov rcx, qword [rsp + 0x88]
test rcx, rcx
je 0x18010d6f0
dec dword [rcx + 0x20]
cmp dword [rcx + 0x20], ebx
jne 0x18010d6f0
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
mov rcx, qword [rsp + 0xb0]
mov qword [rsp + 0x88], r14
call sub.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_
mov rbx, qword [rsp + 0xe0]
mov qword [rsp + 0xb0], r14
test rbx, rbx
je 0x18010d72a
mov rcx, rbx
call fcn.18006cc30
mov rcx, rbx
call sub.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_
mov rax, rsi
jmp 0x18010d56e
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x18010d4ed
mov rax, qword [rcx]
jmp 0x18010d4e5