Function at 0x14001aea0
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 0x14001b5ee
sub ecx, 1
je 0x14001b45a
cmp ecx, 1
jne 0x14001b717
xor r15d, r15d
lea rdx, [rbp - 0x69]
mov rcx, rbx
mov qword [rbp - 0x69], r15
call sym.SystemInformer.exe_PhParseCommandLinePart
test rax, rax
je 0x14001b717
lea rcx, [rax - 0x10]
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14001af2f
call fcn.140141ca0
mov r9d, dword [rbx]
mov rdx, qword [rbp - 0x69]
shr r9, 1
cmp rdx, r9
jae 0x14001af5d
mov rax, qword [rbx + 8]
lea r8, [rax + rdx*2]
cmp word [r8], 0x20
jne 0x14001af59
inc rdx
add r8, 2
cmp rdx, r9
jb 0x14001af46
mov qword [rbp - 0x69], rdx
lea rdx, [rbp - 0x69]
mov rcx, rbx
call sym.SystemInformer.exe_PhParseCommandLinePart
mov rsi, rax
test rax, rax
je 0x14001b717
mov rcx, rax
call sym.SystemInformer.exe_PhAutoDereferenceObject
mov r12, qword [rsi]
lea rdi, [rsi + 8]
shr r12, 1
mov rbx, r15
je 0x14001afac
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 0x14001af90
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 0x14001b717
mov ecx, dword ds:[rsi]
mov rdx, qword [0x1402ca978]
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 0x14001b02c
mov rcx, qword [rax + 8]
mov r8, rsi
mov rdx, rdi
call fcn.14020a640
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 0x14001b717
lea rdx, [rbp - 9]
lea rcx, [rbp - 0x61]
call qword [sym.imp.ntdll.dll_RtlGUIDFromString]
test eax, eax
js 0x14001b717
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 0x14001b0bc
xorps xmm0, xmm0
pcmpeqw xmm0, xmmword [rdx]
pmovmskb eax, xmm0
shr eax, cl
bsf ecx, eax
je 0x14001b0b8
mov edx, ecx
shr rdx, 1
jmp 0x14001b0f3
add rdx, 0x10
xorps xmm0, xmm0
pcmpeqw xmm0, xmmword [rdx]
pmovmskb eax, xmm0
bsf ecx, eax
jne 0x14001b0e5
nop dword [rax]
add rdx, 0x10
movdqa xmm0, xmm1
pcmpeqw xmm0, xmmword [rdx]
pmovmskb eax, xmm0
bsf ecx, eax
je 0x14001b0d0
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 0x14001b129
xorps xmm0, xmm0
pcmpeqw xmm0, xmmword [rsi]
pmovmskb eax, xmm0
shr eax, cl
bsf ecx, eax
je 0x14001b125
mov esi, ecx
shr rsi, 1
jmp 0x14001b163
add rsi, 0x10
xorps xmm0, xmm0
pcmpeqw xmm0, xmmword [rsi]
pmovmskb eax, xmm0
bsf ecx, eax
jne 0x14001b155
nop dword [rax]
add rsi, 0x10
movdqa xmm0, xmm1
pcmpeqw xmm0, xmmword [rsi]
pmovmskb eax, xmm0
bsf ecx, eax
je 0x14001b140
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 [0x1402ca978]
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.14020a640
mov rcx, qword [rdi + 8]
mov r8, rsi
add rcx, qword [rbp - 0x69]
mov rdx, r13
call fcn.14020a640
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 0x14001b2cd
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 0x14001b2b8
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.140168740
mov ebx, eax
test eax, eax
js 0x14001b27a
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 0x14001b27a
call qword [sym.imp.ntdll.dll_NtClose]
test ebx, ebx
js 0x14001b2b8
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 0x14001b2ae
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 0x14001b719
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 0x14001b308
xorps xmm0, xmm0
pcmpeqw xmm0, xmmword [rdx]
pmovmskb eax, xmm0
shr eax, cl
bsf ecx, eax
je 0x14001b304
mov edx, ecx
shr rdx, 1
jmp 0x14001b343
add rdx, 0x10
xorps xmm0, xmm0
pcmpeqw xmm0, xmmword [rdx]
pmovmskb eax, xmm0
bsf ecx, eax
jne 0x14001b335
nop dword [rax + rax]
add rdx, 0x10
movdqa xmm0, xmm1
pcmpeqw xmm0, xmmword [rdx]
pmovmskb eax, xmm0
bsf ecx, eax
je 0x14001b320
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 0x14001b376
xorps xmm0, xmm0
pcmpeqw xmm0, xmmword [rsi]
pmovmskb eax, xmm0
shr eax, cl
bsf ecx, eax
je 0x14001b372
mov esi, ecx
shr rsi, 1
jmp 0x14001b3b3
add rsi, 0x10
xorps xmm0, xmm0
pcmpeqw xmm0, xmmword [rsi]
pmovmskb eax, xmm0
bsf ecx, eax
jne 0x14001b3a5
nop word [rax + rax]
add rsi, 0x10
movdqa xmm0, xmm1
pcmpeqw xmm0, xmmword [rsi]
pmovmskb eax, xmm0
bsf ecx, eax
je 0x14001b390
sub rsi, r12
mov eax, ecx
sar rsi, 1
shr rax, 1
add rsi, rax
mov rdx, qword [0x1402ca978]
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.14020a640
mov rcx, qword ds:[rdi + 8]
mov r8, rsi
add rcx, r13
mov rdx, r12
call fcn.14020a640
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 0x14001b5e7
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 0x14001b719
xor r15d, r15d
lea rdx, [rbp - 0x69]
mov rcx, rbx
mov qword [rbp - 0x69], r15
call sym.SystemInformer.exe_PhParseCommandLinePart
test rax, rax
je 0x14001b717
lea rcx, [rax - 0x10]
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14001b48e
call fcn.140141ca0
mov r8, qword [rbx]
mov rcx, qword [rbp - 0x69]
shr r8, 1
cmp rcx, r8
jae 0x14001b4bb
mov rax, qword [rbx + 8]
lea rdx, [rax + rcx*2]
cmp word [rdx], 0x20
jne 0x14001b4b7
inc rcx
add rdx, 2
cmp rcx, r8
jb 0x14001b4a5
mov qword [rbp - 0x69], rcx
lea rdx, [rbp - 0x69]
mov rcx, rbx
call sym.SystemInformer.exe_PhParseCommandLinePart
mov rbx, rax
test rax, rax
je 0x14001b717
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 0x14001b717
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 0x14001b52f
call sym.SystemInformer.exe_PhReferenceEmptyString
mov rsi, rax
jmp 0x14001b566
mov rdx, qword [0x1402ca978]
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 0x14001b566
mov rcx, qword [rsi + 8]
mov r8, rdi
mov rdx, r12
call fcn.14020a640
mov rcx, rsi
call sym.SystemInformer.exe_PhAutoDereferenceObject
mov rsi, rax
test rbx, rbx
jne 0x14001b582
call sym.SystemInformer.exe_PhReferenceEmptyString
mov rdi, rax
jmp 0x14001b5b9
mov rdx, qword [0x1402ca978]
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 [rbx + rax], r15w
test r13, r13
je 0x14001b5b9
mov rcx, qword [rdi + 8]
mov r8, rbx
mov rdx, r13
call fcn.14020a640
mov rcx, rdi
call sym.SystemInformer.exe_PhAutoDereferenceObject
mov rcx, rsi
mov rbx, rax
call sym.SystemInformer.exe_PhDetermineDosPathNameType
cmp eax, 5
jne 0x14001b5e0
mov rcx, rsi
call fcn.1401390e0
mov rsi, rax
mov qword [r14], rsi
mov qword [r14 + 8], rbx
mov al, 1
jmp 0x14001b719
mov r9d, 1
mov qword [rsp + 0x28], r14
lea rax, [0x14001ae40]
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 0x14001b717
cmp dword [0x1402bff40], 0xffffffff
mov eax, dword [0x1402cdaf8]
jae 0x14001b653
cmp eax, 0x40
jae 0x14001b653
lfence
mov rcx, qword gs:[0x30]
mov rbx, qword [rcx + rax*8 + 0x1480]
jmp 0x14001b65e
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
mov eax, dword [rbx]
cmp eax, 0x40
jae 0x14001b673
mov qword [rbx + rax*8 + 8], rdi
mov al, 1
inc dword [rbx]
jmp 0x14001b719
mov rcx, qword [rbx + 0x210]
test rcx, rcx
jne 0x14001b6b0
mov rcx, qword [0x1402caad0]
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 0x14001b703
add eax, eax
mov edx, 4
mov r9d, eax
shl r9, 3
mov dword [rbx + 0x20c], eax
test rcx, rcx
jne 0x14001b6e9
mov rcx, qword [0x1402caad0]
mov r8, r9
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
jmp 0x14001b6f9
mov r8, rcx
mov rcx, qword [0x1402caad0]
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 0x14001b719
xor al, al
mov rcx, qword [rbp + 7]
xor rcx, rsp
call fcn.1401e4160
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