Function at 0x14001af20
Capabilities:
Get thread local storage value

Disassembly:
mov qword ss:[rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xc0
movaps xmmword [rsp + 0xb0], xmm6
mov rax, qword [0x1402c0040]
xor rax, rsp
mov qword [rbp + 7], rax
mov rbx, rcx
mov r14, r8
movzx ecx, dx
sub ecx, 9
je 0x14001b66e
sub ecx, 1
je 0x14001b4da
cmp ecx, 1
jne 0x14001b797
xor r15d, r15d
lea rdx, [rbp - 0x69]
mov rcx, rbx
mov qword [rbp - 0x69], r15
call sym.SystemInformer.exe_PhParseCommandLinePart
test rax, rax
je 0x14001b797
lea rcx, [rax - 0x10]
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14001afaf
call fcn.140142200
mov r9d, dword [rbx]
mov rdx, qword [rbp - 0x69]
shr r9, 1
cmp rdx, r9
jae 0x14001afdd
mov rax, qword [rbx + 8]
lea r8, [rax + rdx*2]
cmp word [r8], 0x20
jne 0x14001afd9
inc rdx
add r8, 2
cmp rdx, r9
jb 0x14001afc6
mov qword [rbp - 0x69], rdx
lea rdx, [rbp - 0x69]
mov rcx, rbx
call sym.SystemInformer.exe_PhParseCommandLinePart
mov rsi, rax
test rax, rax
je 0x14001b797
mov rcx, rax
call sym.SystemInformer.exe_PhAutoDereferenceObject
mov r12, qword [rsi]
lea rdi, [rsi + 8]
shr r12, 1
mov rbx, r15
je 0x14001b02c
nop dword [rax]
mov rax, qword [rdi]
movzx ecx, word [rax + rbx*2]
call qword [sym.imp.ntdll.dll_RtlUpcaseUnicodeChar]
mov rcx, qword [rdi]
mov word [rcx + rbx*2], ax
inc rbx
cmp rbx, r12
jb 0x14001b010
lea rax, str._PROCESSID:
mov qword [rbp - 0x61], 0x16
xor r8d, r8d
mov qword [rbp - 0x59], rax
lea rdx, [rbp - 0x61]
mov rcx, rsi
call sym.SystemInformer.exe_PhFindStringInStringRef
cmp rax, 0xffffffffffffffff
je 0x14001b797
mov rcx, qword ds:[rsi]
mov rdx, qword [0x1402cb8c0]
shr rcx, 1
sub rcx, rax
add rax, 0xb
lea rsi, [rcx*2 - 0x16]
mov rcx, qword [rdi]
lea rdi, [rcx + rax*2]
lea rcx, [rsi + 0x12]
call sym.SystemInformer.exe_PhCreateObject
mov rbx, rax
mov qword [rax], rsi
lea rcx, [rax + 0x10]
mov qword [rax + 8], rcx
mov word [rsi + rcx], r15w
test rdi, rdi
je 0x14001b0ac
mov rcx, qword [rax + 8]
mov r8, rsi
mov rdx, rdi
call fcn.14020be40
mov rcx, rbx
call sym.SystemInformer.exe_PhAutoDereferenceObject
mov r12, rax
movzx ecx, word [rax]
mov word [rbp - 0x61], cx
add cx, 2
cmp qword [rax], 0xfffe
mov word [rbp - 0x5f], cx
mov rcx, qword [rax + 8]
mov qword [rbp - 0x59], rcx
ja 0x14001b797
lea rdx, [rbp - 9]
lea rcx, [rbp - 0x61]
call qword [sym.imp.ntdll.dll_RtlGUIDFromString]
test eax, eax
js 0x14001b797
movups xmm0, xmmword [rbp - 9]
lea r8, str.CLSID_
mov qword [r14 + 0x10], r15
mov rdx, r8
mov qword [r14 + 0x18], r15
and rdx, 0xfffffffffffffff1
mov rcx, r8
xorps xmm1, xmm1
movups xmmword [r14], xmm0
mov r13, qword [r12 + 8]
and ecx, 0xf
je 0x14001b13c
xorps xmm0, xmm0
pcmpeqw xmm0, xmmword [rdx]
pmovmskb eax, xmm0
shr eax, cl
bsf ecx, eax
je 0x14001b138
mov edx, ecx
shr rdx, 1
jmp 0x14001b173
add rdx, 0x10
xorps xmm0, xmm0
pcmpeqw xmm0, xmmword [rdx]
pmovmskb eax, xmm0
bsf ecx, eax
jne 0x14001b165
nop dword [rax]
add rdx, 0x10
movdqa xmm0, xmm1
pcmpeqw xmm0, xmmword [rdx]
pmovmskb eax, xmm0
bsf ecx, eax
je 0x14001b150
sub rdx, r8
mov eax, ecx
sar rdx, 1
shr rax, 1
add rdx, rax
add rdx, rdx
mov rsi, r13
and rsi, 0xfffffffffffffff1
mov qword [rbp - 0x69], rdx
mov ecx, r13d
xorps xmm1, xmm1
and ecx, 0xf
je 0x14001b1a9
xorps xmm0, xmm0
pcmpeqw xmm0, xmmword [rsi]
pmovmskb eax, xmm0
shr eax, cl
bsf ecx, eax
je 0x14001b1a5
mov esi, ecx
shr rsi, 1
jmp 0x14001b1e3
add rsi, 0x10
xorps xmm0, xmm0
pcmpeqw xmm0, xmmword [rsi]
pmovmskb eax, xmm0
bsf ecx, eax
jne 0x14001b1d5
nop dword [rax]
add rsi, 0x10
movdqa xmm0, xmm1
pcmpeqw xmm0, xmmword [rsi]
pmovmskb eax, xmm0
bsf ecx, eax
je 0x14001b1c0
sub rsi, r13
mov eax, ecx
sar rsi, 1
shr rax, 1
add rsi, rax
add rsi, rsi
lea rbx, [rsi + rdx]
mov rdx, qword [0x1402cb8c0]
lea rcx, [rbx + 0x12]
call sym.SystemInformer.exe_PhCreateObject
mov r8, qword ds:[rbp - 0x69]
lea rdx, str.CLSID_
mov rdi, rax
lea rcx, [rax + 0x10]
mov qword [rax], rbx
mov qword [rax + 8], rcx
mov word [rbx + rcx], r15w
mov rcx, qword [rax + 8]
call fcn.14020be40
mov rcx, qword [rdi + 8]
mov r8, rsi
add rcx, qword [rbp - 0x69]
mov rdx, r13
call fcn.14020be40
mov rcx, rdi
call sym.SystemInformer.exe_PhAutoDereferenceObject
mov r9, rax
mov dword [rsp + 0x20], r15d
mov edx, 0x20019
lea rcx, [rbp - 0x19]
mov r8, 0xfffffffffffffff9
call sym.SystemInformer.exe_PhOpenKey
test eax, eax
js 0x14001b34d
mov rcx, qword [rbp - 0x19]
xor edx, edx
call sym.SystemInformer.exe_PhQueryRegistryString
mov rcx, rax
call sym.SystemInformer.exe_PhAutoDereferenceObject
mov qword [r14 + 0x10], rax
mov rcx, qword [0x1402c1480]
mov word [rbp - 0x61], cx
lea eax, [rcx + 2]
mov word [rbp - 0x5f], ax
mov rax, qword [str.InprocServer32]
mov qword [rbp - 0x59], rax
cmp rcx, 0xfffe
ja 0x14001b338
mov rcx, qword [rbp - 0x19]
lea rax, [rbp - 0x69]
lea r9, [rbp - 0x49]
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, [rbp - 0x61]
call fcn.140169b80
mov ebx, eax
test eax, eax
js 0x14001b2fa
lea r8, [rbp - 0x49]
mov edx, 0x20019
lea rcx, [rbp - 0x11]
call qword [sym.imp.ntdll.dll_NtOpenKey]
mov rcx, qword [rbp - 0x69]
mov ebx, eax
test rcx, rcx
je 0x14001b2fa
call qword [sym.imp.ntdll.dll_NtClose]
test ebx, ebx
js 0x14001b338
mov rcx, qword [rbp - 0x11]
xor edx, edx
call sym.SystemInformer.exe_PhQueryRegistryString
mov rcx, rax
call sym.SystemInformer.exe_PhAutoDereferenceObject
mov rcx, rax
mov qword [r14 + 0x18], rax
call sym.SystemInformer.exe_PhExpandEnvironmentStrings
mov rcx, rax
call sym.SystemInformer.exe_PhAutoDereferenceObject
test rax, rax
je 0x14001b32e
mov qword [r14 + 0x18], rax
mov rcx, qword [rbp - 0x11]
call qword [sym.imp.ntdll.dll_NtClose]
mov rcx, qword ds:[rbp - 0x19]
call qword [sym.imp.ntdll.dll_NtClose]
mov al, 1
jmp 0x14001b799
mov r12, qword [r12 + 8]
lea r8, str.AppID_
mov rdx, r8
mov rcx, r8
and rdx, 0xfffffffffffffff1
xorps xmm1, xmm1
and ecx, 0xf
je 0x14001b388
xorps xmm0, xmm0
pcmpeqw xmm0, xmmword [rdx]
pmovmskb eax, xmm0
shr eax, cl
bsf ecx, eax
je 0x14001b384
mov edx, ecx
shr rdx, 1
jmp 0x14001b3c3
add rdx, 0x10
xorps xmm0, xmm0
pcmpeqw xmm0, xmmword [rdx]
pmovmskb eax, xmm0
bsf ecx, eax
jne 0x14001b3b5
nop dword [rax + rax]
add rdx, 0x10
movdqa xmm0, xmm1
pcmpeqw xmm0, xmmword [rdx]
pmovmskb eax, xmm0
bsf ecx, eax
je 0x14001b3a0
sub rdx, r8
mov eax, ecx
sar rdx, 1
shr rax, 1
add rdx, rax
mov rsi, r12
lea r13, [rdx + rdx]
and rsi, 0xfffffffffffffff1
mov ecx, r12d
xorps xmm1, xmm1
and ecx, 0xf
je 0x14001b3f6
xorps xmm0, xmm0
pcmpeqw xmm0, xmmword [rsi]
pmovmskb eax, xmm0
shr eax, cl
bsf ecx, eax
je 0x14001b3f2
mov esi, ecx
shr rsi, 1
jmp 0x14001b433
add rsi, 0x10
xorps xmm0, xmm0
pcmpeqw xmm0, xmmword [rsi]
pmovmskb eax, xmm0
bsf ecx, eax
jne 0x14001b425
nop word [rax + rax]
add rsi, 0x10
movdqa xmm0, xmm1
pcmpeqw xmm0, xmmword [rsi]
pmovmskb eax, xmm0
bsf ecx, eax
je 0x14001b410
sub rsi, r12
mov eax, ecx
sar rsi, 1
shr rax, 1
add rsi, rax
mov rdx, qword [0x1402cb8c0]
add rsi, rsi
lea rbx, [rsi + r13]
lea rcx, [rbx + 0x12]
call sym.SystemInformer.exe_PhCreateObject
mov r8, r13
lea rdx, str.AppID_
mov rdi, rax
lea rcx, [rax + 0x10]
mov qword [rax], rbx
mov qword [rax + 8], rcx
mov word [rbx + rcx], r15w
mov rcx, qword [rax + 8]
call fcn.14020be40
mov rcx, qword ds:[rdi + 8]
mov r8, rsi
add rcx, r13
mov rdx, r12
call fcn.14020be40
mov rcx, rdi
call sym.SystemInformer.exe_PhAutoDereferenceObject
mov r9, rax
mov dword [rsp + 0x20], r15d
mov edx, 0x20019
lea rcx, [rbp - 0x19]
mov r8, 0xfffffffffffffff9
call sym.SystemInformer.exe_PhOpenKey
test eax, eax
js 0x14001b667
mov rcx, qword [rbp - 0x19]
xor edx, edx
call sym.SystemInformer.exe_PhQueryRegistryString
mov rcx, rax
call sym.SystemInformer.exe_PhAutoDereferenceObject
mov rcx, qword [rbp - 0x19]
mov qword [r14 + 0x10], rax
call qword [sym.imp.ntdll.dll_NtClose]
mov al, 1
jmp 0x14001b799
xor r15d, r15d
lea rdx, [rbp - 0x69]
mov rcx, rbx
mov qword [rbp - 0x69], r15
call sym.SystemInformer.exe_PhParseCommandLinePart
test rax, rax
je 0x14001b797
lea rcx, [rax - 0x10]
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14001b50e
call fcn.140142200
mov r8, qword [rbx]
mov rcx, qword [rbp - 0x69]
shr r8, 1
cmp rcx, r8
jae 0x14001b53b
mov rax, qword [rbx + 8]
lea rdx, [rax + rcx*2]
cmp word [rdx], 0x20
jne 0x14001b537
inc rcx
add rdx, 2
cmp rcx, r8
jb 0x14001b525
mov qword [rbp - 0x69], rcx
lea rdx, [rbp - 0x69]
mov rcx, rbx
call sym.SystemInformer.exe_PhParseCommandLinePart
mov rbx, rax
test rax, rax
je 0x14001b797
mov rcx, rax
call sym.SystemInformer.exe_PhAutoDereferenceObject
movups xmm6, xmmword [rbx]
mov edx, 0x2c
xor r8d, r8d
mov rcx, rbx
call sym.SystemInformer.exe_PhFindLastCharInStringRef
cmp rax, 0xffffffffffffffff
je 0x14001b797
lea rdi, ds:[rax + rax]
movdqa xmm0, xmm6
psrldq xmm0, 8
movq rbx, xmm6
sub rbx, rdi
movq r12, xmm0
sub rbx, 2
lea r13, [r12 + 2]
add r13, rdi
test rdi, rdi
jne 0x14001b5af
call sym.SystemInformer.exe_PhReferenceEmptyString
mov rsi, rax
jmp 0x14001b5e6
mov rdx, qword [0x1402cb8c0]
lea rcx, [rdi + 0x12]
call sym.SystemInformer.exe_PhCreateObject
mov rsi, rax
mov qword [rax], rdi
add rax, 0x10
mov qword [rsi + 8], rax
mov word [rdi + rax], r15w
test r12, r12
je 0x14001b5e6
mov rcx, qword [rsi + 8]
mov r8, rdi
mov rdx, r12
call fcn.14020be40
mov rcx, rsi
call sym.SystemInformer.exe_PhAutoDereferenceObject
mov rsi, rax
test rbx, rbx
jne 0x14001b602
call sym.SystemInformer.exe_PhReferenceEmptyString
mov rdi, rax
jmp 0x14001b639
mov rdx, qword [0x1402cb8c0]
lea rcx, [rbx + 0x12]
call sym.SystemInformer.exe_PhCreateObject
mov rdi, rax
mov qword [rax], rbx
add rax, 0x10
mov qword [rdi + 8], rax
mov word [rax + rbx], r15w
test r13, r13
je 0x14001b639
mov rcx, qword [rdi + 8]
mov r8, rbx
mov rdx, r13
call fcn.14020be40
mov rcx, rdi
call sym.SystemInformer.exe_PhAutoDereferenceObject
mov rcx, rsi
mov rbx, rax
call sym.SystemInformer.exe_PhDetermineDosPathNameType
cmp eax, 5
jne 0x14001b660
mov rcx, rsi
call fcn.1401395a0
mov rsi, rax
mov qword [r14], rsi
mov qword [r14 + 8], rbx
mov al, 1
jmp 0x14001b799
mov r9d, 1
mov qword [rsp + 0x28], r14
lea rax, [0x14001aec0]
xor r15d, r15d
mov qword [r8], r15
lea rdx, [0x1402c14a0]
mov r8d, r9d
mov qword [rsp + 0x20], rax
mov rcx, rbx
call sym.SystemInformer.exe_PhParseCommandLine
mov rdi, qword [r14]
test rdi, rdi
je 0x14001b797
cmp dword [0x1402c0f40], 0xffffffff
mov eax, dword [0x1402cea48]
jae 0x14001b6d3
cmp eax, 0x40
jae 0x14001b6d3
lfence
mov rcx, qword gs:[0x30]
mov rbx, qword [rcx + rax*8 + 0x1480]
jmp 0x14001b6de
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
mov eax, dword [rbx]
cmp eax, 0x40
jae 0x14001b6f3
mov qword [rbx + rax*8 + 8], rdi
mov al, 1
inc dword [rbx]
jmp 0x14001b799
mov rcx, qword [rbx + 0x210]
test rcx, rcx
jne 0x14001b730
mov rcx, qword [0x1402cba10]
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 0x14001b783
add eax, eax
mov edx, 4
mov r9d, eax
shl r9, 3
mov dword [rbx + 0x20c], eax
test rcx, rcx
jne 0x14001b769
mov rcx, qword [0x1402cba10]
mov r8, r9
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
jmp 0x14001b779
mov r8, rcx
mov rcx, qword [0x1402cba10]
call qword [sym.imp.ntdll.dll_RtlReAllocateHeap]
mov rcx, rax
mov qword [rbx + 0x210], rax
mov eax, dword [rbx + 0x208]
mov qword [rcx + rax*8], rdi
mov al, 1
inc dword [rbx + 0x208]
jmp 0x14001b799
xor al, al
mov rcx, qword [rbp + 7]
xor rcx, rsp
call fcn.1401e5e20
mov rbx, qword [rsp + 0x108]
movaps xmm6, xmmword [rsp + 0xb0]
add rsp, 0xc0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret