Function at 0x1800d8370
Capabilities:
Get thread local storage value

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
push rdi
sub rsp, 0xb0
xor ebx, ebx
mov byte [rax - 0xf], 1
mov byte [rax - 0x4f], 1
mov qword [rsp + 0x30], rbx
mov byte [rax - 0x2f], 1
mov qword [rax - 0x80], rbx
mov qword [rax - 0x78], rbx
mov byte [rax - 0x70], bl
mov byte [rax - 0x6f], 1
mov qword [rax - 0x28], rbx
mov qword [rax - 0x20], rbx
mov qword [rax - 0x18], rbx
mov byte [rax - 0x10], bl
mov qword [rax - 0x68], rbx
mov qword [rax - 0x60], rbx
mov qword [rax - 0x58], rbx
mov byte [rax - 0x50], bl
mov qword [rax - 0x48], rbx
mov qword [rax - 0x40], rbx
mov qword [rax - 0x38], rbx
mov byte [rax - 0x30], bl
lea rax, [rsp + 0x30]
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x90]
lea rdx, [rsp + 0x70]
mov rdi, rcx
mov qword [rsp + 0x20], rax
call fcn.1800d7e50
mov esi, eax
test eax, eax
js 0x1800d85a5
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0xc0], rbp
mov ebp, ebx
test rax, rax
je 0x1800d8467
mov rcx, rbx
nop word [rax + rax]
cmp rcx, rax
jae 0x1800d8430
mov rax, qword [rsp + 0x70]
lea rcx, [rax + rcx*8]
jmp 0x1800d8433
mov rcx, rbx
mov rcx, qword [rcx]
mov eax, dword [rcx + 0x10]
mov r8d, dword [rcx + 0x38]
mov edx, dword [rcx + 0x28]
mov rcx, qword [rdi + 0x19718]
shr rax, 7
and eax, 1
mov r9d, eax
call fcn.1800f4b80
mov rax, qword [rsp + 0x80]
inc ebp
mov ecx, ebp
cmp rcx, rax
jb 0x1800d8420
mov r8d, dword [rsp + 0x60]
mov rdx, qword [rsp + 0x50]
lea rcx, [0x18019cf30]
mov r9, rdi
call fcn.1801a7da0
mov r8d, dword [rsp + 0xa0]
mov rdx, qword [rsp + 0x90]
lea rcx, [0x18019cf30]
mov r9, rdi
call fcn.1801a7da0
mov r8d, dword [rsp + 0x40]
mov rdx, qword [rsp + 0x30]
lea rcx, [0x18019cf30]
mov r9, rdi
call fcn.1801a7da0
mov rax, qword [rsp + 0x60]
mov ebp, ebx
test rax, rax
je 0x1800d8504
mov rcx, rbx
cmp rcx, rax
jae 0x1800d84d7
mov rax, qword [rsp + 0x50]
lea rdx, [rax + rcx*8]
jmp 0x1800d84da
mov rdx, rbx
mov rax, qword [rdi]
mov rdx, qword [rdx]
mov rcx, rdi
call qword [rax + 0xd8]
mov esi, eax
test eax, eax
jns 0x1800d84f6
or dword [rdi + 0xd228], 1
mov rax, qword [rsp + 0x60]
inc ebp
mov ecx, ebp
cmp rcx, rax
jb 0x1800d84c7
mov rax, qword [rsp + 0xa0]
mov ebp, ebx
test rax, rax
je 0x1800d8555
mov rcx, rbx
cmp rcx, rax
jae 0x1800d8529
mov rax, qword [rsp + 0x90]
lea rdx, [rax + rcx*8]
jmp 0x1800d852c
mov rdx, rbx
mov rdx, qword [rdx]
mov rcx, rdi
call fcn.1800e3c80
mov esi, eax
test eax, eax
jns 0x1800d8544
or dword [rdi + 0xd228], 1
mov rax, qword [rsp + 0xa0]
inc ebp
mov ecx, ebp
cmp rcx, rax
jb 0x1800d8516
mov rax, qword [rsp + 0x40]
mov ebp, ebx
test rax, rax
je 0x1800d859d
mov rcx, rbx
cmp rcx, rax
jae 0x1800d8574
mov rax, qword [rsp + 0x30]
lea rdx, [rax + rcx*8]
jmp 0x1800d8577
mov rdx, rbx
mov rdx, qword [rdx]
mov rcx, rdi
call fcn.1800e3f50
mov esi, eax
test eax, eax
jns 0x1800d858f
or dword [rdi + 0xd228], 1
mov rax, qword [rsp + 0x40]
inc ebp
mov ecx, ebp
cmp rcx, rax
jb 0x1800d8564
mov rbp, qword [rsp + 0xc0]
mov qword [rsp + 0x80], rbx
cmp byte [rsp + 0x88], bl
je 0x1800d85ea
mov rdi, qword [rsp + 0x70]
test rdi, rdi
je 0x1800d85e3
mov ecx, dword [0x18025e63c]
test ecx, ecx
jns 0x1800d85cf
mov rax, rbx
jmp 0x1800d85d5
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rcx, qword [rax]
mov r8, rdi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov byte [rsp + 0x88], bl
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x78], rbx
mov qword [rsp + 0x40], rbx
cmp byte [rsp + 0x48], bl
je 0x1800d8630
mov rdi, qword [rsp + 0x30]
test rdi, rdi
je 0x1800d862c
mov ecx, dword [0x18025e63c]
test ecx, ecx
jns 0x1800d8618
mov rax, rbx
jmp 0x1800d861e
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rcx, qword [rax]
mov r8, rdi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov byte [rsp + 0x48], bl
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x60], rbx
cmp byte [rsp + 0x68], bl
je 0x1800d8676
mov rdi, qword [rsp + 0x50]
test rdi, rdi
je 0x1800d8672
mov ecx, dword [0x18025e63c]
test ecx, ecx
jns 0x1800d865e
mov rax, rbx
jmp 0x1800d8664
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rcx, qword [rax]
mov r8, rdi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov byte [rsp + 0x68], bl
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0xa0], rbx
cmp byte [rsp + 0xa8], bl
je 0x1800d86bf
mov rdi, qword [rsp + 0x90]
test rdi, rdi
je 0x1800d86bf
mov ecx, dword [0x18025e63c]
test ecx, ecx
js 0x1800d86b1
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
mov rcx, qword [rbx]
mov r8, rdi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
lea r11, [rsp + 0xb0]
mov eax, esi
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret