Function at 0x1400aa4e0
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x80
mov rax, qword [0x1402bb040]
xor rax, rsp
mov qword [rsp + 0x70], rax
movups xmm0, xmmword [rcx + 8]
mov r14, rcx
lea rdx, [rsp + 0x30]
mov rcx, qword gs:[0x30]
xor r15d, r15d
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x30], r15
mov rcx, qword [rcx + 0x40]
call sym.SystemInformer.exe_Ordinal_1531
cmp dword [0x1402bbf68], 0xffffffff
mov eax, dword [0x1402c8d98]
jae 0x1400aa55b
nop
cmp eax, 0x40
jae 0x1400aa55b
lfence
mov rcx, qword gs:[0x30]
mov rbx, qword [rcx + rax*8 + 0x1480]
jmp 0x1400aa569
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
mov rsi, qword [rsp + 0x30]
test rsi, rsi
je 0x1400aa620
mov eax, dword [rbx]
cmp eax, 0x40
jae 0x1400aa58a
mov qword [rbx + rax*8 + 8], rsi
inc dword [rbx]
jmp 0x1400aa620
mov rcx, qword [rbx + 0x210]
mov rdi, qword [0x1402c6140]
test rcx, rcx
jne 0x1400aa5c5
mov edx, 4
mov dword [rbx + 0x20c], 0x40
mov r8d, 0x200
mov rcx, rdi
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov rcx, rax
mov qword [rbx + 0x210], rax
mov eax, dword [rbx + 0x20c]
cmp dword [rbx + 0x208], eax
jne 0x1400aa610
add eax, eax
mov edx, 4
mov r8d, eax
shl r8, 3
mov dword [rbx + 0x20c], eax
test rcx, rcx
je 0x1400aa5fd
mov r9, r8
mov r8, rcx
mov rcx, rdi
call qword [sym.imp.ntdll.dll_RtlReAllocateHeap]
jmp 0x1400aa606
mov rcx, rdi
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov rcx, rax
mov qword [rbx + 0x210], rax
mov eax, dword [rbx + 0x208]
mov qword [rcx + rax*8], rsi
inc dword [rbx + 0x208]
mov rcx, qword [rsp + 0x40]
lea rdx, [rsp + 0x38]
mov qword [rsp + 0x38], r15
call sym.SystemInformer.exe_Ordinal_1531
cmp dword [0x1402bbf68], 0xffffffff
mov eax, dword [0x1402c8d98]
jae 0x1400aa663
cmp eax, 0x40
jae 0x1400aa663
lfence
mov rcx, qword gs:[0x30]
mov rsi, qword [rsp + 0x30]
mov rbx, qword [rcx + rax*8 + 0x1480]
jmp 0x1400aa66e
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
mov rdi, qword [rsp + 0x38]
test rdi, rdi
je 0x1400aa72f
mov eax, dword ds:[rbx]
cmp eax, 0x40
jae 0x1400aa691
mov qword [rbx + rax*8 + 8], rdi
inc dword [rbx]
jmp 0x1400aa72f
mov rcx, qword [rbx + 0x210]
test rcx, rcx
jne 0x1400aa6c9
mov rcx, qword [0x1402c6140]
mov edx, 4
mov r8d, 0x200
mov dword [rbx + 0x20c], 0x40
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov rcx, rax
mov qword [rbx + 0x210], rax
mov eax, dword [rbx + 0x20c]
cmp dword [rbx + 0x208], eax
jne 0x1400aa71f
add eax, eax
mov edx, 4
mov r8d, eax
shl r8, 3
mov dword [rbx + 0x20c], eax
test rcx, rcx
je 0x1400aa708
mov r9, r8
mov r8, rcx
mov rcx, qword [0x1402c6140]
call qword [sym.imp.ntdll.dll_RtlReAllocateHeap]
jmp 0x1400aa715
mov rcx, qword [0x1402c6140]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov rcx, rax
mov qword [rbx + 0x210], rax
mov eax, dword [rbx + 0x208]
mov qword [rcx + rax*8], rdi
inc dword [rbx + 0x208]
test rsi, rsi
je 0x1400aaa17
nop dword [rax + rax]
test rdi, rdi
je 0x1400aaa17
mov r8, qword [rsi]
cmp r8, qword [rdi]
jne 0x1400aaa17
mov rcx, qword [rsi + 8]
mov r9, r8
mov rdx, qword [rdi + 8]
shr r9, 4
test r9, r9
je 0x1400aa799
nop dword [rax]
movdqu xmm0, xmmword [rcx]
movdqu xmm1, xmmword [rdx]
pcmpeqd xmm1, xmm0
pmovmskb eax, xmm1
cmp eax, 0xffff
jne 0x1400aaa17
add rcx, 0x10
add rdx, 0x10
sub r9, 1
jne 0x1400aa770
shr r8, 1
and r8d, 7
je 0x1400aa7c7
sub rdx, rcx
nop word [rax + rax]
movzx eax, word [rcx]
cmp ax, word [rdx + rcx]
jne 0x1400aaa17
add rcx, 2
sub r8, 1
jne 0x1400aa7b0
mov edi, 1
test byte [0x1402be218], dil
jne 0x1400aa865
lock bts qword [0x1402be218], 0x1f
setb al
test al, al
jne 0x1400aa84b
mov rdx, qword [0x1402c5fd0]
mov ecx, 0x40
call sym.SystemInformer.exe_Ordinal_1240
mov edx, edi
mov word [rax], r15w
lock xadd dword [0x1402c5f98], edx
movzx r8d, dl
lea rcx, [0x1402be218]
lea rdx, [0x1400aaa60]
mov byte [rax + 2], r8b
mov qword [rax + 8], rdx
lea rdx, str.PhSvcClient
mov qword [rax + 0x10], rdx
lea rdx, [0x1402ca480]
mov qword [rdx + r8*8], rax
mov dword [rax + 4], r15d
mov qword [0x1402c50c0], rax
call sym.SystemInformer.exe_Ordinal_1386
jmp 0x1400aa865
test byte [0x1402be218], dil
jne 0x1400aa865
xor edx, edx
lea rcx, [0x1402be218]
call sym.SystemInformer.exe_Ordinal_1388
mov rdx, qword [0x1402c50c0]
mov ecx, 0x48
call sym.SystemInformer.exe_Ordinal_1240
mov rbx, rax
mov qword [rax], r15
mov qword [rax + 8], r15
mov qword [rax + 0x30], r15
mov qword [rax + 0x38], r15
mov qword [rax + 0x40], r15
movups xmm0, xmmword [rsp + 0x40]
mov qword [rax + 0x10], 2
mov qword [rax + 0x18], r15
movups xmmword [rax + 0x20], xmm0
lock bts qword [0x1402c50b8], 0
setb al
test al, al
je 0x1400aa8be
lea rcx, [0x1402c50b8]
call sym.SystemInformer.exe_Ordinal_1254
mov rax, qword [0x1402bbe48]
lea rcx, [0x1402bbe40]
mov qword [rbx], rcx
mov rsi, 0xffffffffffffffff
mov qword [rbx + 8], rax
mov rdx, rsi
mov qword [rax], rbx
mov qword [0x1402bbe48], rbx
lock xadd qword [0x1402c50b8], rdx
movzx eax, dl
and al, 6
cmp al, 2
jne 0x1400aa918
lea rax, [rdx - 1]
lea rdx, [rax + 4]
lock cmpxchg qword [0x1402c50b8], rdx
jne 0x1400aa918
lea rcx, [0x1402c50b8]
call fcn.140174ba0
mov rax, qword gs:[0x30]
movzx r9d, dil
mov r8, r14
mov rdx, rbx
mov ecx, dword [rax + 0x40]
lea rax, [rsp + 0x58]
mov dword [r14 + 0x28], ecx
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
mov dword [rsp + 0x58], 0x18
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x68], r15
call qword [sym.imp.ntdll.dll_NtAcceptConnectPort]
lfence
test eax, eax
jns 0x1400aa985
lea rcx, [rbx - 0x10]
lock xadd dword [rcx + 8], esi
cmp esi, edi
jne 0x1400aaa34
lfence
call fcn.140143da0
nop
jmp 0x1400aaa34
mov rax, qword [rsp + 0x50]
mov qword [rbx + 0x30], rax
mov rax, qword [rsp + 0x68]
mov qword [rbx + 0x38], rax
mov rcx, qword [rsp + 0x60]
add rcx, qword [rsp + 0x68]
mov qword [rbx + 0x40], rcx
lock bts qword [rbx + 0x10], 0
setb al
test al, al
jne 0x1400aa9f7
lfence
mov rsi, qword [rbx + 0x18]
test rsi, rsi
je 0x1400aa9ca
xor edx, edx
mov rcx, rsi
call qword [sym.imp.ntdll.dll_NtSetEvent]
mov rax, 0xfffffffffffffffe
lock xadd qword [rbx + 0x10], rax
shr rax, 1
and eax, 0x7fff
cmp rax, rdi
jne 0x1400aa9f7
test rsi, rsi
je 0x1400aa9f7
mov rcx, rsi
call qword [sym.imp.ntdll.dll_NtClose]
mov qword [rbx + 0x18], r15
lock xadd dword [0x1402c50b0], edi
inc edi
cmp edi, 1
jne 0x1400aaa34
mov rcx, qword [0x1402c50c8]
xor edx, edx
call qword [sym.imp.ntdll.dll_NtSetEvent]
jmp 0x1400aaa34
mov qword [rsp + 0x28], r15
lea rcx, [rsp + 0x50]
xor r9d, r9d
mov qword [rsp + 0x20], r15
mov r8, r14
xor edx, edx
call qword [sym.imp.ntdll.dll_NtAcceptConnectPort]
mov rcx, qword ds:[rsp + 0x70]
xor rcx, rsp
call fcn.1401e5e40
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
ret