Function at 0x1401f5db0
Capabilities:
Get common file path

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x910]
sub rsp, 0xa10
mov qword [rbp + 0xf8], 0xfffffffffffffffe
mov qword [rsp + 0xa68], rbx
mov rax, qword [0x14041da10]
xor rax, rsp
mov qword [rbp + 0x900], rax
mov qword [rbp + 8], r8
mov rdi, rdx
mov rsi, rcx
mov qword [rbp + 0x50], rcx
mov edx, 0x400
lea rcx, [rbp + 0x100]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
xor r12d, r12d
mov qword [rsp + 0x48], r12
lea edx, [r12 + 6]
lea rcx, [rsp + 0x40]
call fcn.1402028a0
mov eax, dword [rsp + 0x48]
inc eax
movsxd rdx, eax
lea r9d, [r12 + 6]
lea r8, [0x14035cc90]
mov rcx, qword [rsp + 0x40]
call fcn.1402c06dc
lea edx, [r12 + 6]
lea rcx, [rsp + 0x40]
call fcn.140203bb0
nop
mov qword [rsp + 0x58], r12
lea edx, [r12 + 6]
lea rcx, [rsp + 0x50]
call fcn.1402028a0
mov eax, dword [rsp + 0x58]
inc eax
movsxd rdx, eax
lea r9d, [r12 + 6]
lea r8, str.CONFIG
mov rcx, qword [rsp + 0x50]
call fcn.1402c06dc
lea edx, [r12 + 6]
lea rcx, [rsp + 0x50]
call fcn.140203bb0
nop
lea rax, [rbp + 0x100]
or rbx, 0xffffffffffffffff
inc rbx
cmp word [rax + rbx*2], 0
jne 0x1401f5ea3
mov qword [rsp + 0x38], r12
lea r14, [0x14034d1a0]
test ebx, ebx
jne 0x1401f5ec4
mov qword [rsp + 0x30], r14
jmp 0x1401f5eed
mov edx, ebx
lea rcx, [rsp + 0x30]
call fcn.1402028a0
movsxd r9, ebx
mov eax, dword [rsp + 0x38]
inc eax
movsxd rdx, eax
lea r8, [rbp + 0x100]
mov rcx, qword [rsp + 0x30]
call fcn.1402c06dc
mov edx, ebx
lea rcx, [rsp + 0x30]
call fcn.140203bb0
nop
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x30]
call fcn.1400d4050
nop
lea r8, [rsp + 0x40]
mov rdx, rax
lea rcx, [rbp - 0x58]
call fcn.1400d4050
nop
cmp dword [rbp - 0x28], 0
jle 0x1401f5f30
mov rcx, qword [rbp - 0x30]
call fcn.1402bd0e0
nop
cmp dword [rsp + 0x38], 0
jle 0x1401f5f42
mov rcx, qword [rsp + 0x30]
call fcn.1402bd0e0
nop
cmp dword [rsp + 0x58], 0
jle 0x1401f5f54
mov rcx, qword [rsp + 0x50]
call fcn.1402bd0e0
nop
cmp dword [rsp + 0x48], 0
jle 0x1401f5f65
mov rcx, qword [rsp + 0x40]
call fcn.1402bd0e0
lea rdx, [rbp - 0x58]
mov rcx, qword [rsi + 8]
call fcn.1400fb230
mov rbx, rax
test rax, rax
je 0x1401f6850
lea rax, vtable.Core::DateTime.0
mov qword [rbp + 0xe0], rax
mov qword [rbp + 0xe8], r12
mov dword [rbp + 0xf0], 1
mov r10, qword [rbx]
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0xe0]
lea r8, [rbp]
lea rdx, [rbp - 0x58]
mov rcx, rbx
call qword [r10 + 0x28]
test al, al
jne 0x1401f5fd9
mov rdx, qword [rbp - 0x58]
lea rcx, str.GetFileInfo___failed_on__s_r_n
call fcn.1402bf424
jmp 0x1401f6850
mov ecx, dword [rbp]
call fcn.1402bd120
mov rsi, rax
mov qword [rbp + 0x48], rax
test rax, rax
je 0x1401f6850
mov r9, qword [rbx]
xor r8d, r8d
lea rdx, [rbp - 0x58]
mov rcx, rbx
call qword [r9 + 0x30]
mov rbx, rax
test rax, rax
jne 0x1401f601f
mov rdx, qword [rbp - 0x58]
lea rcx, str.OpenDataStream___failed_on__s_r_n
call fcn.1402bf424
jmp 0x1401f6847
mov rax, qword [rax]
lea r9, [rbp - 0x40]
mov r8d, dword [rbp]
mov rdx, rsi
mov rcx, rbx
call qword [rax + 8]
mov rax, qword [rbx]
mov edx, 1
mov rcx, rbx
call qword [rax]
mov ecx, 0x18
call fcn.1402bcb4c
mov r15, rax
test rax, rax
je 0x1401f6069
mov eax, dword [rbp - 0x40]
lea rcx, vtable.RegParser.0
mov qword [r15], rcx
mov qword [r15 + 8], rsi
mov qword [r15 + 0x10], rax
jmp 0x1401f606c
mov r15, r12
lea rax, vtable.Core::SharedPtr_class_RegParser_.0
mov qword [rbp + 0x90], rax
mov qword [rbp + 0x98], r15
mov rbx, r12
mov qword [rbp - 0x48], rbx
mov qword [rbp + 0xa0], rbx
test r15, r15
je 0x1401f60ca
mov ecx, 4
call fcn.1402bcb4c
mov rbx, rax
mov qword [rbp - 0x48], rax
test rax, rax
je 0x1401f60b6
mov dword [rax], r12d
mov qword [rbp + 0xa0], rax
jmp 0x1401f60c4
mov rbx, r12
mov qword [rbp - 0x48], rbx
mov qword [rbp + 0xa0], rbx
mov dword [rbx], 1
lea rax, vtable.Core::Collections::Generic::LinkedList_class_Core::String_.1.0
mov qword [rbp + 0x68], rax
lea rax, vtable.Core::Collections::Generic::LinkedList_class_Core::String_.0
mov qword [rbp + 0x70], rax
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x78], xmm0
mov dword [rbp + 0x88], r12d
mov r8, qword [rdi]
lea rdx, str._sServices
lea rcx, [rbp + 0x20]
call fcn.140202d40
nop
lea r8, [rbp - 0x38]
lea rdx, [rbp + 0x20]
mov rcx, r15
call fcn.140152ae0
test al, al
je 0x1401f616a
mov qword [rsp + 0x78], r14
mov qword [rbp - 0x80], r12
mov ebx, r12d
mov rdi, qword [rbp - 0x38]
nop word [rax + rax]
lea r9, [rsp + 0x78]
mov r8d, ebx
mov rdx, rdi
mov rcx, r15
call fcn.140152f10
inc ebx
test al, al
je 0x1401f615a
lea rdx, [rsp + 0x78]
lea rcx, [rbp + 0x70]
mov rax, qword [rbp + 0x70]
call qword [rax]
jmp 0x1401f6130
cmp dword [rbp - 0x80], 0
jle 0x1401f616a
mov rcx, qword [rsp + 0x78]
call fcn.1402bd0e0
mov ecx, 0x18
call fcn.1402bcb4c
mov r14, rax
test rax, rax
je 0x1401f6194
lea rax, vtable.Core::Collections::Generic::LinkedList_class_Core::String_::Enumerator_class_Core::String_.0
mov qword [r14], rax
lea rax, [rbp + 0x68]
mov qword [r14 + 8], rax
mov qword [r14 + 0x10], r12
jmp 0x1401f6197
mov r14, r12
lea rax, vtable.Core::SharedPtr_class_Core::Collections::Generic::IEnumerator_class_Core::String__.0
mov qword [rbp + 0xa8], rax
mov qword [rbp + 0xb0], r14
mov r13, r12
mov qword [rbp + 0xb8], r12
test r14, r14
je 0x1401f61eb
mov ecx, 4
call fcn.1402bcb4c
mov r13, rax
test rax, rax
je 0x1401f61d9
mov dword [rax], r12d
mov qword [rbp + 0xb8], rax
jmp 0x1401f61e3
mov r13, r12
mov qword [rbp + 0xb8], r12
mov dword [r13], 1
mov rax, qword [r14]
mov rcx, r14
call qword [rax]
test al, al
je 0x1401f67ba
xor esi, esi
nop dword [rax]
mov rax, qword [r14]
mov rcx, r14
call qword [rax + 0x10]
mov r9, qword [rax]
mov r8, qword [rbp + 0x20]
lea rdx, str._s_s_
lea rcx, [rsp + 0x78]
call fcn.140202d40
nop
lea r12, [0x14034d1a0]
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x58], 0
mov qword [rbp - 0x60], 0
mov edx, 5
lea rcx, [rbp - 0x68]
call fcn.1402028a0
mov eax, dword [rbp - 0x60]
inc eax
movsxd rdx, eax
mov r9d, 5
lea r8, str.Start
mov rcx, qword [rbp - 0x68]
call fcn.1402c06dc
mov edx, 5
lea rcx, [rbp - 0x68]
call fcn.140203bb0
nop
mov rdi, qword [rsp + 0x78]
test rdi, rdi
jne 0x1401f628d
mov ebx, esi
mov qword [rsp + 0x48], rdi
jmp 0x1401f62a8
or rbx, 0xffffffffffffffff
inc rbx
cmp word [rdi + rbx*2], 0
jne 0x1401f6291
mov qword [rsp + 0x48], 0
test ebx, ebx
jne 0x1401f62af
mov qword [rsp + 0x40], r12
jmp 0x1401f62d4
mov edx, ebx
lea rcx, [rsp + 0x40]
call fcn.1402028a0
movsxd r9, ebx
mov eax, dword [rsp + 0x48]
inc eax
movsxd rdx, eax
mov r8, rdi
mov rcx, qword [rsp + 0x40]
call fcn.1402c06dc
mov edx, ebx
lea rcx, [rsp + 0x40]
call fcn.140203bb0
nop
lea r8, [rbp - 0x38]
lea rdx, [rsp + 0x40]
mov rcx, r15
call fcn.140152ae0
test al, al
sete bl
cmp dword [rsp + 0x48], 0
jle 0x1401f6308
mov rcx, qword [rsp + 0x40]
call fcn.1402bd0e0
test bl, bl
je 0x1401f6310
xor al, al
jmp 0x1401f6325
lea r9, [rsp + 0x50]
lea r8, [rbp - 0x68]
mov rdx, qword [rbp - 0x38]
mov rcx, r15
call fcn.140152970
test al, al
sete bl
cmp dword [rbp - 0x60], 0
jle 0x1401f6339
mov rcx, qword [rbp - 0x68]
call fcn.1402bd0e0
test bl, bl
jne 0x1401f6722
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x1401f6727
or rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], 0
jne 0x1401f6353
test rax, rax
je 0x1401f6727
cmp dword [rsp + 0x5c], 0
jle 0x1401f6755
movzx ecx, word [rcx]
call fcn.1402c1a70
test eax, eax
je 0x1401f6722
mov rcx, qword [rsp + 0x50]
call fcn.1402bd758
mov edx, eax
call fcn.1401f6890
mov r12, rax
mov rdx, qword [r14]
mov rcx, r14
call qword [rdx + 0x10]
mov rsi, rax
mov rdi, qword [rbp + 8]
mov rdi, qword [rdi]
mov rbx, qword [rdi + 8]
cmp byte [rbx + 0x19], 0
jne 0x1401f63d4
mov rdx, qword [rsi]
mov rcx, qword [rbx + 0x20]
call fcn.1402bcf6c
test eax, eax
jns 0x1401f63c8
mov rbx, qword [rbx + 0x10]
jmp 0x1401f63ce
mov rdi, rbx
mov rbx, qword [rbx]
cmp byte [rbx + 0x19], 0
je 0x1401f63b2
mov rbx, qword [rbp + 8]
cmp rdi, qword [rbx]
je 0x1401f63f7
mov rdx, qword [rdi + 0x20]
mov rcx, qword [rsi]
call fcn.1402bcf6c
test eax, eax
js 0x1401f63f7
mov qword [rbp + 0x40], rdi
lea rax, [rbp + 0x40]
jmp 0x1401f6402
mov rax, qword [rbx]
mov qword [rbp + 0x60], rax
lea rax, [rbp + 0x60]
mov rax, qword [rax]
xor esi, esi
cmp rax, qword [rbx]
jne 0x1401f6722
lea rax, [0x14034d1a0]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rsi
mov qword [rbp - 0x70], rsi
lea edx, [rsi + 9]
lea rcx, [rbp - 0x78]
call fcn.1402028a0
mov eax, dword [rbp - 0x70]
inc eax
movsxd rdx, eax
lea r9d, [rsi + 9]
lea r8, str.ImagePath
mov rcx, qword [rbp - 0x78]
call fcn.1402c06dc
lea edx, [rsi + 9]
lea rcx, [rbp - 0x78]
call fcn.140203bb0
nop
mov rdi, qword [rsp + 0x78]
test rdi, rdi
jne 0x1401f646d
mov ebx, esi
mov qword [rsp + 0x38], rsi
jmp 0x1401f6484
or rbx, 0xffffffffffffffff
inc rbx
cmp word [rdi + rbx*2], 0
jne 0x1401f6471
mov qword [rsp + 0x38], rsi
test ebx, ebx
jne 0x1401f6492
lea rdi, [0x14034d1a0]
mov qword [rsp + 0x30], rdi
jmp 0x1401f64be
mov edx, ebx
lea rcx, [rsp + 0x30]
call fcn.1402028a0
movsxd r9, ebx
mov eax, dword [rsp + 0x38]
inc eax
movsxd rdx, eax
mov r8, rdi
mov rcx, qword [rsp + 0x30]
call fcn.1402c06dc
lea rdi, [0x14034d1a0]
mov edx, ebx
lea rcx, [rsp + 0x30]
call fcn.140203bb0
nop
lea r8, [rbp + 0x58]
lea rdx, [rsp + 0x30]
mov rcx, r15
call fcn.140152ae0
test al, al
sete bl
cmp dword [rsp + 0x38], 0
jle 0x1401f64f2
mov rcx, qword [rsp + 0x30]
call fcn.1402bd0e0
test bl, bl
je 0x1401f64fa
xor al, al
jmp 0x1401f650f
lea r9, [rsp + 0x60]
lea r8, [rbp - 0x78]
mov rdx, qword [rbp + 0x58]
mov rcx, r15
call fcn.140152970
test al, al
sete bl
cmp dword [rbp - 0x70], 0
jle 0x1401f6523
mov rcx, qword [rbp - 0x78]
call fcn.1402bd0e0
test bl, bl
je 0x1401f659a
mov rax, qword [r14]
mov rcx, r14
call qword [rax + 0x10]
mov r8, rax
lea r9, str..sys
lea rdx, str.system32drivers_
lea rcx, [rbp + 0xc0]
call fcn.140202110
mov rbx, rax
mov edx, dword [rax + 0xc]
lea rcx, [rsp + 0x60]
call fcn.1402028a0
movsxd r9, dword [rbx + 0xc]
mov ecx, dword [rsp + 0x68]
inc ecx
movsxd rdx, ecx
mov r8, qword [rbx]
mov rcx, qword [rsp + 0x60]
call fcn.1402c06dc
mov edx, dword [rbx + 0xc]
lea rcx, [rsp + 0x60]
call fcn.140203bb0
nop
cmp dword [rbp + 0xc8], 0
jle 0x1401f659a
mov rcx, qword [rbp + 0xc0]
call fcn.1402bd0e0
cmp dword [rsp + 0x6c], 0
je 0x1401f65ab
lea rcx, [rsp + 0x60]
call fcn.1401f4eb0
mov qword [rbp + 0xd0], rdi
mov qword [rbp + 0xd8], rsi
mov r8d, 1
lea rdx, [0x140353fac]
lea rcx, [rsp + 0x78]
call fcn.140203950
test eax, eax
jle 0x1401f6642
mov r8d, 1
lea rdx, str.svchost.exe
lea rcx, [rsp + 0x60]
call fcn.140202610
test al, al
jne 0x1401f660a
mov r8d, 1
lea rdx, str.CredentialEnrollmentManager.exe
lea rcx, [rsp + 0x60]
call fcn.140202610
test al, al
je 0x1401f6642
mov r8, qword [rsp + 0x78]
lea rdx, str.HKLMSYSTEM_s
lea rcx, [rbp + 0x30]
call fcn.140202d40
mov rdx, qword [rbp + 0x30]
lea rcx, str.Cloaked_Registry_Key__we_ignore_this_one__r_n_tPath_s_r_n
call fcn.1402bf424
cmp dword [rbp + 0x38], 0
jle 0x1401f6711
mov rcx, qword [rbp + 0x30]
jmp 0x1401f670b
mov r8, qword [rsp + 0x78]
lea rdx, str.HKLMSYSTEM_s
lea rcx, [rbp + 0x10]
call fcn.140202d40
nop
mov rdx, qword [rbp + 0x10]
lea rcx, str.Cloaked_Registry_Key__r_n_tPath_s_r_n
call fcn.1402bf424
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rbp - 0x20], xmm0
lea rdx, [rbp - 0x20]
lea rcx, str._tImagePath_s_r_n
call fcn.1402bf424
mov r8b, 1
lea rdx, [rsp + 0x60]
mov rax, qword [rbp + 0x50]
mov rcx, qword [rax + 8]
call fcn.1400fa8d0
mov rbx, rax
test rax, rax
je 0x1401f6701
movabs rax, 0x200000200
or qword [rbx + 0x40], rax
lea rdx, [rbp + 0x10]
mov rcx, rbx
call fcn.1400edab0
mov rdx, qword [r14]
mov rcx, r14
call qword [rdx + 0x10]
mov r8, rax
mov edx, 8
mov rcx, rbx
call fcn.14000b8f0
mov rdx, r12
lea rcx, [rbp - 0x30]
call fcn.140200840
nop
lea r8, [rbp - 0x30]
mov edx, 9
mov rcx, rbx
call fcn.14000b8f0
nop
cmp dword [rbp - 0x28], 0
jle 0x1401f6701
mov rcx, qword [rbp - 0x30]
call fcn.1402bd0e0
nop
cmp dword [rbp + 0x18], 0
jle 0x1401f6711
mov rcx, qword [rbp + 0x10]
call fcn.1402bd0e0
nop
cmp dword [rsp + 0x68], 0
jle 0x1401f6722
mov rcx, qword [rsp + 0x60]
call fcn.1402bd0e0
mov rcx, qword [rsp + 0x50]
cmp dword [rsp + 0x58], 0
jle 0x1401f6734
call fcn.1402bd0e0
nop
cmp dword [rbp - 0x80], 0
jle 0x1401f6744
mov rcx, qword [rsp + 0x78]
call fcn.1402bd0e0
mov rax, qword [r14]
mov rcx, r14
call qword [rax]
test al, al
je 0x1401f67b6
jmp 0x1401f6200
lea rcx, [rbp - 0x20]
call fcn.140200570
nop
lea rax, vtable.Core::IndexOutOfRangeException.0
mov qword [rbp - 0x20], rax
mov edx, 0x2a
lea rcx, [rbp - 0x18]
call fcn.1402028a0
mov eax, dword [rbp - 0x10]
inc eax
movsxd rdx, eax
mov r9d, 0x2a
lea r8, str.Index_was_outside_the_bounds_of_the_array.
mov rcx, qword [rbp - 0x18]
call fcn.1402c06dc
mov edx, 0x2a
lea rcx, [rbp - 0x18]
call fcn.140203bb0
nop
lea rdx, [0x140415de0]
lea rcx, [rbp - 0x20]
call fcn.1402c4a18
nop
mov rsi, qword [rbp + 0x48]
test r13, r13
je 0x1401f67e5
mov eax, dword [r13]
test eax, eax
jle 0x1401f67cd
dec eax
mov dword [r13], eax
cmp dword [r13], 0
jne 0x1401f67e5
mov rcx, r14
call fcn.14021ae20
mov rcx, r13
call fcn.14021ae20
nop
cmp dword [rbp + 0x28], 0
jle 0x1401f67f5
mov rcx, qword [rbp + 0x20]
call fcn.1402bd0e0
nop
lea rax, vtable.Core::Collections::Generic::LinkedList_class_Core::String_.1.0
mov qword [rbp + 0x68], rax
lea rax, vtable.Core::Collections::Generic::LinkedList_class_Core::String_.0
mov qword [rbp + 0x70], rax
lea rcx, [rbp + 0x70]
call fcn.14011bb40
nop
mov rbx, qword [rbp - 0x48]
test rbx, rbx
je 0x1401f6847
mov eax, dword [rbx]
test eax, eax
jle 0x1401f6828
dec eax
mov dword [rbx], eax
cmp dword [rbx], 0
jne 0x1401f6847
test r15, r15
je 0x1401f683f
mov rax, qword [r15]
mov edx, 1
mov rcx, r15
call qword [rax]
mov rcx, rbx
call fcn.14021ae20
mov rcx, rsi
call fcn.1402bd0e0
nop
cmp dword [rbp - 0x50], 0
jle 0x1401f685f
mov rcx, qword [rbp - 0x58]
call fcn.1402bd0e0
xor al, al
mov rcx, qword [rbp + 0x900]
xor rcx, rsp
call fcn.1402bcad0
mov rbx, qword [rsp + 0xa68]
add rsp, 0xa10
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret