Function at 0x140019060
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, 0xe0
movaps xmmword [rsp + 0xd0], xmm6
mov rax, qword [0x1402b5020]
xor rax, rsp
mov qword [rbp + 0xf], rax
mov rbx, rcx
mov r15, r8
movzx ecx, dx
sub ecx, 9
je 0x1400197e5
sub ecx, 1
je 0x14001963a
cmp ecx, 1
jne 0x140019906
xor r14d, r14d
lea rdx, [rsp + 0x30]
mov rcx, rbx
mov qword [rsp + 0x30], r14
call sym.SystemInformer.exe_PhParseCommandLinePart
test rax, rax
je 0x140019906
lea rcx, [rax - 0x10]
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1400190f1
call fcn.14013d2a0
mov r9d, dword ds:[rbx]
mov rdx, qword [rsp + 0x30]
shr r9, 1
cmp rdx, r9
jae 0x14001912a
mov rax, qword [rbx + 8]
lea r8, [rax + rdx*2]
nop dword [rax]
cmp word [r8], 0x20
jne 0x140019125
inc rdx
add r8, 2
cmp rdx, r9
jb 0x140019110
mov qword [rsp + 0x30], rdx
lea rdx, [rsp + 0x30]
mov rcx, rbx
call sym.SystemInformer.exe_PhParseCommandLinePart
mov rsi, rax
test rax, rax
je 0x140019906
mov rcx, rax
call sym.SystemInformer.exe_PhAutoDereferenceObject
mov r12, qword ds:[rsi]
lea rdi, [rsi + 8]
shr r12, 1
mov rbx, r14
je 0x14001917e
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 0x140019162
lea rax, str._PROCESSID:
mov qword ds:[rbp - 0x51], 0x16
xor r8d, r8d
mov qword [rbp - 0x49], rax
lea rdx, [rbp - 0x51]
mov rcx, rsi
call sym.SystemInformer.exe_PhFindStringInStringRef
cmp rax, 0xffffffffffffffff
je 0x140019906
mov ecx, dword [rsi]
mov rdx, qword [0x1402bfcf8]
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 [rcx + rsi], r14w
test rdi, rdi
je 0x140019205
mov rcx, qword ds:[rax + 8]
mov r8, rsi
mov rdx, rdi
call fcn.1401e3aa0
mov rcx, rbx
call sym.SystemInformer.exe_PhAutoDereferenceObject
mov r12, rax
movzx ecx, word [rax]
mov word [rbp - 0x71], cx
add cx, 2
cmp qword [rax], 0xfffe
mov word [rbp - 0x6f], cx
mov rcx, qword [rax + 8]
mov qword [rbp - 0x69], rcx
ja 0x140019906
lea rdx, ds:[rbp - 1]
lea rcx, [rbp - 0x71]
call qword [sym.imp.ntdll.dll_RtlGUIDFromString]
test eax, eax
js 0x140019906
movups xmm0, xmmword [rbp - 1]
lea r8, str.CLSID_
mov qword [r15 + 0x10], r14
mov rdx, r8
mov qword [r15 + 0x18], r14
and rdx, 0xfffffffffffffff1
mov rcx, r8
xorps xmm6, xmm6
movups xmmword [r15], xmm0
mov r13, qword [r12 + 8]
and ecx, 0xf
je 0x140019299
xorps xmm0, xmm0
pcmpeqw xmm0, xmmword [rdx]
pmovmskb eax, xmm0
shr eax, cl
bsf ecx, eax
je 0x140019295
mov edx, ecx
shr rdx, 1
jmp 0x1400192d3
add rdx, 0x10
xorps xmm0, xmm0
pcmpeqw xmm0, xmmword [rdx]
pmovmskb eax, xmm0
bsf ecx, eax
jne 0x1400192c5
nop dword [rax]
add rdx, 0x10
movdqa xmm0, xmm6
pcmpeqw xmm0, xmmword [rdx]
pmovmskb eax, xmm0
bsf ecx, eax
je 0x1400192b0
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 [rsp + 0x30], rdx
mov ecx, r13d
and ecx, 0xf
je 0x140019308
movdqa xmm0, xmm6
pcmpeqw xmm0, xmmword [rsi]
pmovmskb eax, xmm0
shr eax, cl
bsf ecx, eax
je 0x140019304
mov esi, ecx
shr rsi, 1
jmp 0x140019343
add rsi, 0x10
movdqa xmm0, xmm6
pcmpeqw xmm0, xmmword [rsi]
pmovmskb eax, xmm0
bsf ecx, eax
jne 0x140019335
nop dword [rax]
add rsi, 0x10
movdqa xmm0, xmm6
pcmpeqw xmm0, xmmword [rsi]
pmovmskb eax, xmm0
bsf ecx, eax
je 0x140019320
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 [0x1402bfcf8]
lea rcx, [rbx + 0x12]
call sym.SystemInformer.exe_PhCreateObject
mov r8, qword ds:[rsp + 0x30]
lea rdx, str.CLSID_
mov rdi, rax
lea rcx, [rax + 0x10]
mov qword [rax], rbx
mov qword [rax + 8], rcx
mov word [rcx + rbx], r14w
mov rcx, qword [rax + 8]
call fcn.1401e3aa0
mov rcx, qword [rdi + 8]
mov r8, rsi
add rcx, qword [rsp + 0x30]
mov rdx, r13
call fcn.1401e3aa0
mov rcx, rdi
call sym.SystemInformer.exe_PhAutoDereferenceObject
mov r9, rax
mov dword [rsp + 0x20], r14d
mov edx, 0x20019
lea rcx, [rbp - 0x11]
mov r8, 0xfffffffffffffff9
call sym.SystemInformer.exe_PhOpenKey
test eax, eax
js 0x1400194ad
mov rcx, qword [rbp - 0x11]
xor edx, edx
call sym.SystemInformer.exe_PhQueryRegistryString
mov rcx, rax
call sym.SystemInformer.exe_PhAutoDereferenceObject
mov qword [r15 + 0x10], rax
mov rcx, qword [0x1402b6410]
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 0x140019498
mov rcx, qword [rbp - 0x11]
lea rax, [rbp - 0x79]
lea r9, [rbp - 0x41]
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, [rbp - 0x61]
call fcn.1401608a0
test eax, eax
js 0x140019498
lea r8, [rbp - 0x41]
mov edx, 0x20019
lea rcx, [rbp - 9]
call qword [sym.imp.ntdll.dll_NtOpenKey]
mov rcx, qword [rbp - 0x79]
mov ebx, eax
test rcx, rcx
je 0x140019458
call qword [sym.imp.ntdll.dll_NtClose]
test ebx, ebx
js 0x140019498
mov rcx, qword [rbp - 9]
xor edx, edx
call sym.SystemInformer.exe_PhQueryRegistryString
mov rcx, rax
call sym.SystemInformer.exe_PhAutoDereferenceObject
mov rcx, rax
mov qword [r15 + 0x18], rax
call sym.SystemInformer.exe_PhExpandEnvironmentStrings
mov rcx, rax
call sym.SystemInformer.exe_PhAutoDereferenceObject
test rax, rax
je 0x14001948e
mov qword [r15 + 0x18], rax
mov rcx, qword [rbp - 9]
call qword [sym.imp.ntdll.dll_NtClose]
mov rcx, qword ds:[rbp - 0x11]
call qword [sym.imp.ntdll.dll_NtClose]
mov al, 1
jmp 0x140019908
mov r12, qword [r12 + 8]
lea r8, str.AppID_
mov rdx, r8
mov rcx, r8
and rdx, 0xfffffffffffffff1
and ecx, 0xf
je 0x1400194e6
movdqa xmm0, xmm6
pcmpeqw xmm0, xmmword [rdx]
pmovmskb eax, xmm0
shr eax, cl
bsf ecx, eax
je 0x1400194e2
mov edx, ecx
shr rdx, 1
jmp 0x140019523
add rdx, 0x10
movdqa xmm0, xmm6
pcmpeqw xmm0, xmmword [rdx]
pmovmskb eax, xmm0
bsf ecx, eax
jne 0x140019515
nop word [rax + rax]
add rdx, 0x10
movdqa xmm0, xmm6
pcmpeqw xmm0, xmmword [rdx]
pmovmskb eax, xmm0
bsf ecx, eax
je 0x140019500
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
and ecx, 0xf
je 0x140019554
movdqa xmm0, xmm6
pcmpeqw xmm0, xmmword [rsi]
pmovmskb eax, xmm0
shr eax, cl
bsf ecx, eax
je 0x140019550
mov esi, ecx
shr rsi, 1
jmp 0x140019593
add rsi, 0x10
movdqa xmm0, xmm6
pcmpeqw xmm0, xmmword [rsi]
pmovmskb eax, xmm0
bsf ecx, eax
jne 0x140019585
nop word [rax + rax]
add rsi, 0x10
movdqa xmm0, xmm6
pcmpeqw xmm0, xmmword [rsi]
pmovmskb eax, xmm0
bsf ecx, eax
je 0x140019570
sub rsi, r12
mov eax, ecx
sar rsi, 1
shr rax, 1
add rsi, rax
mov rdx, qword [0x1402bfcf8]
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 [rcx + rbx], r14w
mov rcx, qword [rax + 8]
call fcn.1401e3aa0
mov rcx, qword ds:[rdi + 8]
mov r8, rsi
add rcx, r13
mov rdx, r12
call fcn.1401e3aa0
mov rcx, rdi
call sym.SystemInformer.exe_PhAutoDereferenceObject
mov r9, rax
mov dword [rsp + 0x20], r14d
mov edx, 0x20019
lea rcx, [rbp - 0x11]
mov r8, 0xfffffffffffffff9
call sym.SystemInformer.exe_PhOpenKey
test eax, eax
js 0x1400197dc
mov rcx, qword [rbp - 0x11]
xor edx, edx
call sym.SystemInformer.exe_PhQueryRegistryString
mov rcx, rax
call sym.SystemInformer.exe_PhAutoDereferenceObject
mov rcx, qword [rbp - 0x11]
mov qword [r15 + 0x10], rax
call qword [sym.imp.ntdll.dll_NtClose]
mov al, 1
jmp 0x140019908
xor r14d, r14d
lea rdx, [rsp + 0x30]
mov rcx, rbx
mov qword [rsp + 0x30], r14
call sym.SystemInformer.exe_PhParseCommandLinePart
test rax, rax
je 0x140019906
lea rcx, [rax - 0x10]
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140019670
call fcn.14013d2a0
mov r8, qword ds:[rbx]
mov rcx, qword [rsp + 0x30]
shr r8, 1
cmp rcx, r8
jae 0x1400196aa
mov rax, qword [rbx + 8]
lea rdx, [rax + rcx*2]
nop dword [rax]
cmp word [rdx], 0x20
jne 0x1400196a5
inc rcx
add rdx, 2
cmp rcx, r8
jb 0x140019690
mov qword [rsp + 0x30], rcx
lea rdx, [rsp + 0x30]
mov rcx, rbx
call sym.SystemInformer.exe_PhParseCommandLinePart
mov rbx, rax
test rax, rax
je 0x140019906
mov rcx, rax
call sym.SystemInformer.exe_PhAutoDereferenceObject
movups xmm6, xmmword ds:[rbx]
mov edx, 0x2c
xor r8d, r8d
mov rcx, rbx
call sym.SystemInformer.exe_PhFindLastCharInStringRef
cmp rax, 0xffffffffffffffff
je 0x140019906
lea rdi, [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 0x140019724
call sym.SystemInformer.exe_PhReferenceEmptyString
mov rsi, rax
jmp 0x14001975b
mov rdx, qword [0x1402bfcf8]
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 [rax + rdi], r14w
test r12, r12
je 0x14001975b
mov rcx, qword [rsi + 8]
mov r8, rdi
mov rdx, r12
call fcn.1401e3aa0
mov rcx, rsi
call sym.SystemInformer.exe_PhAutoDereferenceObject
mov rsi, rax
test rbx, rbx
jne 0x140019777
call sym.SystemInformer.exe_PhReferenceEmptyString
mov rdi, rax
jmp 0x1400197ae
mov rdx, qword [0x1402bfcf8]
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], r14w
test r13, r13
je 0x1400197ae
mov rcx, qword [rdi + 8]
mov r8, rbx
mov rdx, r13
call fcn.1401e3aa0
mov rcx, rdi
call sym.SystemInformer.exe_PhAutoDereferenceObject
mov rcx, rsi
mov rbx, rax
call sym.SystemInformer.exe_PhDetermineDosPathNameType
cmp eax, 5
jne 0x1400197d5
mov rcx, rsi
call fcn.1401346a0
mov rsi, rax
mov qword [r15], rsi
mov qword [r15 + 8], rbx
mov al, 1
jmp 0x140019908
mov r9d, 1
mov qword [rsp + 0x28], r15
lea rax, [0x140019000]
xor r14d, r14d
mov qword [r8], r14
lea rdx, [0x1402b6430]
mov r8d, r9d
mov qword [rsp + 0x20], rax
mov rcx, rbx
call sym.SystemInformer.exe_PhParseCommandLine
mov rsi, qword ds:[r15]
test rsi, rsi
je 0x140019906
mov eax, dword [0x1402c2bec]
lfence
cmp eax, 0x40
jae 0x14001984d
mov rcx, qword gs:[0x30]
mov rbx, qword [rcx + rax*8 + 0x1480]
mov rdi, rbx
jmp 0x14001985b
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
mov rdi, rax
mov eax, dword ds:[rbx]
cmp eax, 0x40
jae 0x140019873
mov qword [rbx + rax*8 + 8], rsi
mov al, 1
inc dword [rbx]
jmp 0x140019908
mov rcx, qword [rbx + 0x210]
test rcx, rcx
jne 0x1400198b2
lea edx, ds:[rcx + 4]
mov r8d, 0x200
mov rcx, qword [0x1402bfe50]
lea rdi, [rbx + 0x20c]
mov dword [rdi], 0x40
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov rcx, rax
mov qword [rbx + 0x210], rax
jmp 0x1400198b9
add rdi, 0x20c
mov eax, dword ds:[rdi]
cmp dword [rbx + 0x208], eax
jne 0x1400198f2
add eax, eax
mov r8, rcx
mov rcx, qword [0x1402bfe50]
mov edx, 4
mov r9d, eax
shl r9, 3
mov dword [rdi], eax
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], rsi
mov al, 1
inc dword [rbx + 0x208]
jmp 0x140019908
xor al, al
mov rcx, qword [rbp + 0xf]
xor rcx, rsp
call fcn.1401dd6a0
mov rbx, qword [rsp + 0x128]
movaps xmm6, xmmword [rsp + 0xd0]
add rsp, 0xe0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret