Function at 0x14009a870
Capabilities:
Get thread local storage value

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x78]
sub rsp, 0x170
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rdi
mov rax, qword [0x1403284b0]
xor rax, rsp
mov qword [rbp + 0x60], rax
mov r10, rdx
mov rbx, qword [rcx]
test rbx, rbx
je 0x14009aaed
xor edi, edi
cmp byte [rbx + 8], dil
je 0x14009a991
mov r9, qword [rdx]
mov qword [rsp + 0x50], r9
mov r8, qword [rdx + 8]
mov qword [rsp + 0x58], r8
movups xmm2, xmmword [rdx + 0x10]
movaps xmmword [rsp + 0x60], xmm2
movups xmm1, xmmword [rdx + 0x20]
mov qword [rdx + 0x20], rdi
mov qword [rdx + 0x28], reloc.WS2_32.dll_ntohs
mov byte [rdx + 0x10], dil
mov edx, dword [rdx + 0x30]
mov dword [rbp - 0x80], edx
mov rcx, qword [r10 + 0x38]
mov qword [rbp - 0x78], rcx
movups xmm3, xmmword [r10 + 0x40]
movaps xmmword [rbp - 0x70], xmm3
movups xmm0, xmmword [r10 + 0x50]
movaps xmmword [rbp - 0x60], xmm0
movups xmm0, xmmword [r10 + 0x60]
movaps xmmword [rbp - 0x50], xmm0
mov rax, qword [r10 + 0x70]
mov qword [rbp - 0x40], rax
movups xmm0, xmmword [r10 + 0x50]
movaps xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x20], r9
mov qword [rbp - 0x18], r8
movaps xmmword [rbp - 0x10], xmm2
movaps xmmword [rbp], xmm1
movdqa xmm0, xmmword [0x1402d5c70]
movdqa xmmword [rsp + 0x70], xmm0
mov byte [rsp + 0x60], dil
mov dword [rbp + 0x10], edx
mov qword [rbp + 0x18], rcx
movaps xmmword [rbp + 0x20], xmm3
movups xmm1, xmmword [r10 + 0x50]
movaps xmmword [rbp + 0x30], xmm1
movups xmm0, xmmword [r10 + 0x60]
movaps xmmword [rbp + 0x40], xmm0
mov qword [rbp + 0x50], rax
lea r8, [rbp - 0x30]
lea rdx, [rbp - 0x68]
movq rcx, xmm3
call fcn.14009b600
nop
lea rcx, [rbp - 0x10]
call fcn.1400355e0
nop
lea rcx, [rsp + 0x60]
call fcn.1400355e0
jmp 0x14009aacc
mov rax, qword [rdx]
mov qword [rsp + 0x50], rax
mov rax, qword [rdx + 8]
mov qword [rsp + 0x58], rax
movups xmm0, xmmword [rdx + 0x10]
movups xmmword [rsp + 0x60], xmm0
movups xmm1, xmmword [rdx + 0x20]
movups xmmword [rsp + 0x70], xmm1
mov qword [rdx + 0x20], rdi
mov qword [rdx + 0x28], reloc.WS2_32.dll_ntohs
mov byte [rdx + 0x10], dil
mov eax, dword [rdx + 0x30]
mov dword [rbp - 0x80], eax
mov rax, qword [rdx + 0x38]
mov qword [rbp - 0x78], rax
movups xmm0, xmmword [rdx + 0x40]
movups xmmword [rbp - 0x70], xmm0
movups xmm1, xmmword [rdx + 0x50]
movups xmmword [rbp - 0x60], xmm1
movups xmm0, xmmword [rdx + 0x60]
movups xmmword [rbp - 0x50], xmm0
mov rax, qword [rdx + 0x70]
mov qword [rbp - 0x40], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rax
mov ecx, dword [0x140336628]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14009aa13
mov rdx, qword [rax + 8]
jmp 0x14009aa16
mov rdx, rdi
mov r8d, 0x88
call fcn.140056980
mov rdx, rax
lea rax, [0x14009abb0]
mov qword [rdx], rax
mov rcx, qword [rsp + 0x50]
mov qword [rdx + 8], rcx
mov rcx, qword [rsp + 0x58]
mov qword [rdx + 0x10], rcx
mov qword [rdx + 0x28], rdi
mov qword [rdx + 0x30], rdi
movups xmm0, xmmword [rsp + 0x60]
movups xmmword [rdx + 0x18], xmm0
movups xmm1, xmmword [rsp + 0x70]
movups xmmword [rdx + 0x28], xmm1
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x78], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x60], 0
mov eax, dword [rbp - 0x80]
mov dword [rdx + 0x38], eax
mov rax, qword [rbp - 0x78]
mov qword [rdx + 0x40], rax
movups xmm0, xmmword [rbp - 0x70]
movups xmmword [rdx + 0x48], xmm0
movups xmm1, xmmword [rbp - 0x60]
movups xmmword [rdx + 0x58], xmm1
movups xmm0, xmmword [rbp - 0x50]
movups xmmword [rdx + 0x68], xmm0
mov rax, qword [rbp - 0x40]
mov qword [rdx + 0x78], rax
mov qword [rsp + 0x20], rdx
lea rcx, [rsp + 0x60]
call fcn.1400355e0
nop
mov rax, qword [rbx]
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [rax + 0x28]
nop
mov rax, qword [rsp + 0x20]
test rax, rax
je 0x14009aacc
xor edx, edx
mov rcx, rax
call qword [rax]
nop
mov rcx, qword [rbp + 0x60]
xor rcx, rsp
call fcn.1402225a0
lea r11, [rsp + 0x170]
mov rbx, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
lea rcx, [rsp + 0x38]
call fcn.140023e60
nop
lea rcx, [rsp + 0x38]
call fcn.14003b290
int3