Function at 0x14001aec0
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 [0x1402bf040]
xor rax, rsp
mov qword [rbp + 7], rax
mov rbx, rcx
mov r14, r8
movzx ecx, dx
sub ecx, 9
je 0x14001b60e
sub ecx, 1
je 0x14001b47a
cmp ecx, 1
jne 0x14001b737
xor r15d, r15d
lea rdx, [rbp - 0x69]
mov rcx, rbx
mov qword [rbp - 0x69], r15
call sym.SystemInformer.exe_PhParseCommandLinePart
test rax, rax
je 0x14001b737
lea rcx, [rax - 0x10]
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14001af4f
call fcn.140141ea0
mov r9d, dword [rbx]
mov rdx, qword [rbp - 0x69]
shr r9, 1
cmp rdx, r9
jae 0x14001af7d
mov rax, qword [rbx + 8]
lea r8, [rax + rdx*2]
cmp word [r8], 0x20
jne 0x14001af79
inc rdx
add r8, 2
cmp rdx, r9
jb 0x14001af66
mov qword [rbp - 0x69], rdx
lea rdx, [rbp - 0x69]
mov rcx, rbx
call sym.SystemInformer.exe_PhParseCommandLinePart
mov rsi, rax
test rax, rax
je 0x14001b737
mov rcx, rax
call sym.SystemInformer.exe_PhAutoDereferenceObject
mov r12, qword [rsi]
lea rdi, [rsi + 8]
shr r12, 1
mov rbx, r15
je 0x14001afcc
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 0x14001afb0
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 0x14001b737
mov rcx, qword ds:[rsi]
mov rdx, qword [0x1402ca998]
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 0x14001b04c
mov rcx, qword [rax + 8]
mov r8, rsi
mov rdx, rdi
call fcn.14020af00
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 0x14001b737
lea rdx, [rbp - 9]
lea rcx, [rbp - 0x61]
call qword [sym.imp.ntdll.dll_RtlGUIDFromString]
test eax, eax
js 0x14001b737
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 0x14001b0dc
xorps xmm0, xmm0
pcmpeqw xmm0, xmmword [rdx]
pmovmskb eax, xmm0
shr eax, cl
bsf ecx, eax
je 0x14001b0d8
mov edx, ecx
shr rdx, 1
jmp 0x14001b113
add rdx, 0x10
xorps xmm0, xmm0
pcmpeqw xmm0, xmmword [rdx]
pmovmskb eax, xmm0
bsf ecx, eax
jne 0x14001b105
nop dword [rax]
add rdx, 0x10
movdqa xmm0, xmm1
pcmpeqw xmm0, xmmword [rdx]
pmovmskb eax, xmm0
bsf ecx, eax
je 0x14001b0f0
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 0x14001b149
xorps xmm0, xmm0
pcmpeqw xmm0, xmmword [rsi]
pmovmskb eax, xmm0
shr eax, cl
bsf ecx, eax
je 0x14001b145
mov esi, ecx
shr rsi, 1
jmp 0x14001b183
add rsi, 0x10
xorps xmm0, xmm0
pcmpeqw xmm0, xmmword [rsi]
pmovmskb eax, xmm0
bsf ecx, eax
jne 0x14001b175
nop dword [rax]
add rsi, 0x10
movdqa xmm0, xmm1
pcmpeqw xmm0, xmmword [rsi]
pmovmskb eax, xmm0
bsf ecx, eax
je 0x14001b160
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 [0x1402ca998]
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.14020af00
mov rcx, qword [rdi + 8]
mov r8, rsi
add rcx, qword [rbp - 0x69]
mov rdx, r13
call fcn.14020af00
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 0x14001b2ed
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 [0x1402c0480]
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 0x14001b2d8
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.140168f00
mov ebx, eax
test eax, eax
js 0x14001b29a
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 0x14001b29a
call qword [sym.imp.ntdll.dll_NtClose]
test ebx, ebx
js 0x14001b2d8
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 0x14001b2ce
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 0x14001b739
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 0x14001b328
xorps xmm0, xmm0
pcmpeqw xmm0, xmmword [rdx]
pmovmskb eax, xmm0
shr eax, cl
bsf ecx, eax
je 0x14001b324
mov edx, ecx
shr rdx, 1
jmp 0x14001b363
add rdx, 0x10
xorps xmm0, xmm0
pcmpeqw xmm0, xmmword [rdx]
pmovmskb eax, xmm0
bsf ecx, eax
jne 0x14001b355
nop dword [rax + rax]
add rdx, 0x10
movdqa xmm0, xmm1
pcmpeqw xmm0, xmmword [rdx]
pmovmskb eax, xmm0
bsf ecx, eax
je 0x14001b340
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 0x14001b396
xorps xmm0, xmm0
pcmpeqw xmm0, xmmword [rsi]
pmovmskb eax, xmm0
shr eax, cl
bsf ecx, eax
je 0x14001b392
mov esi, ecx
shr rsi, 1
jmp 0x14001b3d3
add rsi, 0x10
xorps xmm0, xmm0
pcmpeqw xmm0, xmmword [rsi]
pmovmskb eax, xmm0
bsf ecx, eax
jne 0x14001b3c5
nop word [rax + rax]
add rsi, 0x10
movdqa xmm0, xmm1
pcmpeqw xmm0, xmmword [rsi]
pmovmskb eax, xmm0
bsf ecx, eax
je 0x14001b3b0
sub rsi, r12
mov eax, ecx
sar rsi, 1
shr rax, 1
add rsi, rax
mov rdx, qword [0x1402ca998]
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.14020af00
mov rcx, qword ds:[rdi + 8]
mov r8, rsi
add rcx, r13
mov rdx, r12
call fcn.14020af00
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 0x14001b607
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 0x14001b739
xor r15d, r15d
lea rdx, [rbp - 0x69]
mov rcx, rbx
mov qword [rbp - 0x69], r15
call sym.SystemInformer.exe_PhParseCommandLinePart
test rax, rax
je 0x14001b737
lea rcx, [rax - 0x10]
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14001b4ae
call fcn.140141ea0
mov r8, qword [rbx]
mov rcx, qword [rbp - 0x69]
shr r8, 1
cmp rcx, r8
jae 0x14001b4db
mov rax, qword [rbx + 8]
lea rdx, [rax + rcx*2]
cmp word [rdx], 0x20
jne 0x14001b4d7
inc rcx
add rdx, 2
cmp rcx, r8
jb 0x14001b4c5
mov qword [rbp - 0x69], rcx
lea rdx, [rbp - 0x69]
mov rcx, rbx
call sym.SystemInformer.exe_PhParseCommandLinePart
mov rbx, rax
test rax, rax
je 0x14001b737
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 0x14001b737
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 0x14001b54f
call sym.SystemInformer.exe_PhReferenceEmptyString
mov rsi, rax
jmp 0x14001b586
mov rdx, qword [0x1402ca998]
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 0x14001b586
mov rcx, qword [rsi + 8]
mov r8, rdi
mov rdx, r12
call fcn.14020af00
mov rcx, rsi
call sym.SystemInformer.exe_PhAutoDereferenceObject
mov rsi, rax
test rbx, rbx
jne 0x14001b5a2
call sym.SystemInformer.exe_PhReferenceEmptyString
mov rdi, rax
jmp 0x14001b5d9
mov rdx, qword [0x1402ca998]
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 0x14001b5d9
mov rcx, qword [rdi + 8]
mov r8, rbx
mov rdx, r13
call fcn.14020af00
mov rcx, rdi
call sym.SystemInformer.exe_PhAutoDereferenceObject
mov rcx, rsi
mov rbx, rax
call sym.SystemInformer.exe_PhDetermineDosPathNameType
cmp eax, 5
jne 0x14001b600
mov rcx, rsi
call fcn.140139240
mov rsi, rax
mov qword [r14], rsi
mov qword [r14 + 8], rbx
mov al, 1
jmp 0x14001b739
mov r9d, 1
mov qword [rsp + 0x28], r14
lea rax, [0x14001ae60]
xor r15d, r15d
mov qword [r8], r15
lea rdx, [0x1402c04a0]
mov r8d, r9d
mov qword [rsp + 0x20], rax
mov rcx, rbx
call sym.SystemInformer.exe_PhParseCommandLine
mov rdi, qword [r14]
test rdi, rdi
je 0x14001b737
cmp dword [0x1402bff40], 0xffffffff
mov eax, dword [0x1402cdb18]
jae 0x14001b673
cmp eax, 0x40
jae 0x14001b673
lfence
mov rcx, qword gs:[0x30]
mov rbx, qword [rcx + rax*8 + 0x1480]
jmp 0x14001b67e
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
mov eax, dword [rbx]
cmp eax, 0x40
jae 0x14001b693
mov qword [rbx + rax*8 + 8], rdi
mov al, 1
inc dword [rbx]
jmp 0x14001b739
mov rcx, qword [rbx + 0x210]
test rcx, rcx
jne 0x14001b6d0
mov rcx, qword [0x1402caaf0]
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 0x14001b723
add eax, eax
mov edx, 4
mov r9d, eax
shl r9, 3
mov dword [rbx + 0x20c], eax
test rcx, rcx
jne 0x14001b709
mov rcx, qword [0x1402caaf0]
mov r8, r9
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
jmp 0x14001b719
mov r8, rcx
mov rcx, qword [0x1402caaf0]
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 0x14001b739
xor al, al
mov rcx, qword [rbp + 7]
xor rcx, rsp
call fcn.1401e4a20
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