Function at 0x1401dc6f0
Capabilities:
Get common file path

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x900]
sub rsp, 0xa00
mov qword [rbp + 0xe0], 0xfffffffffffffffe
mov qword [rsp + 0xa58], rbx
mov rax, qword [0x1403eaa10]
xor rax, rsp
mov qword [rbp + 0x8f0], rax
mov qword [rbp + 0x10], r8
mov rdi, rdx
mov rsi, rcx
mov qword [rbp + 0x80], rcx
mov edx, 0x400
lea rcx, [rbp + 0xf0]
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.1401e9030
mov eax, dword [rsp + 0x48]
inc eax
movsxd rdx, eax
lea r9d, [r12 + 6]
lea r8, [0x140332a70]
mov rcx, qword [rsp + 0x40]
call fcn.14029b4d8
lea edx, [r12 + 6]
lea rcx, [rsp + 0x40]
call fcn.1401ea290
nop
mov qword [rsp + 0x58], r12
lea edx, [r12 + 6]
lea rcx, [rsp + 0x50]
call fcn.1401e9030
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.14029b4d8
lea edx, [r12 + 6]
lea rcx, [rsp + 0x50]
call fcn.1401ea290
nop
lea rax, [rbp + 0xf0]
or rbx, 0xffffffffffffffff
inc rbx
cmp word [rax + rbx*2], 0
jne 0x1401dc7e6
mov qword [rsp + 0x38], r12
lea r14, [0x140323de0]
test ebx, ebx
jne 0x1401dc807
mov qword [rsp + 0x30], r14
jmp 0x1401dc830
mov edx, ebx
lea rcx, [rsp + 0x30]
call fcn.1401e9030
movsxd r9, ebx
mov eax, dword [rsp + 0x38]
inc eax
movsxd rdx, eax
lea r8, [rbp + 0xf0]
mov rcx, qword [rsp + 0x30]
call fcn.14029b4d8
mov edx, ebx
lea rcx, [rsp + 0x30]
call fcn.1401ea290
nop
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x38]
call fcn.1400d1690
nop
lea r8, [rsp + 0x40]
mov rdx, rax
lea rcx, [rbp - 0x60]
call fcn.1400d1690
nop
cmp dword [rbp - 0x30], 0
jle 0x1401dc873
mov rcx, qword [rbp - 0x38]
call fcn.140298600
nop
cmp dword [rsp + 0x38], 0
jle 0x1401dc885
mov rcx, qword [rsp + 0x30]
call fcn.140298600
nop
cmp dword [rsp + 0x58], 0
jle 0x1401dc897
mov rcx, qword [rsp + 0x50]
call fcn.140298600
nop
cmp dword [rsp + 0x48], 0
jle 0x1401dc8a8
mov rcx, qword [rsp + 0x40]
call fcn.140298600
lea rdx, [rbp - 0x60]
mov rcx, qword [rsi + 8]
call fcn.1400fa9f0
mov rbx, rax
test rax, rax
je 0x1401dd0ec
lea rax, vtable.Core::DateTime.0
mov qword [rbp + 0xc8], rax
mov qword [rbp + 0xd0], r12
mov dword [rbp + 0xd8], 1
mov r10, qword [rbx]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0xc8]
lea r8, [rbp - 0x28]
lea rdx, [rbp - 0x60]
mov rcx, rbx
call qword [r10 + 0x28]
test al, al
jne 0x1401dc91c
mov rdx, qword [rbp - 0x60]
lea rcx, str.GetFileInfo___failed_on__s_r_n
call fcn.14029a88c
jmp 0x1401dd0ec
mov ecx, dword [rbp - 0x28]
call fcn.140298640
mov rsi, rax
mov qword [rbp + 0x78], rax
test rax, rax
je 0x1401dd0ec
mov r9, qword [rbx]
xor r8d, r8d
lea rdx, [rbp - 0x60]
mov rcx, rbx
call qword [r9 + 0x30]
mov rbx, rax
test rax, rax
jne 0x1401dc962
mov rdx, qword [rbp - 0x60]
lea rcx, str.OpenDataStream___failed_on__s_r_n
call fcn.14029a88c
jmp 0x1401dd0e3
mov rax, qword [rax]
lea r9, [rbp - 0x50]
mov r8d, dword [rbp - 0x28]
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.14029806c
mov r15, rax
test rax, rax
je 0x1401dc9ac
mov eax, dword [rbp - 0x50]
lea rcx, vtable.RegParser.0
mov qword [r15], rcx
mov qword [r15 + 8], rsi
mov qword [r15 + 0x10], rax
jmp 0x1401dc9af
mov r15, r12
lea rax, vtable.Core::SharedPtr_class_RegParser_.0
mov qword [rbp + 0xa0], rax
mov qword [rbp + 0xa8], r15
mov rbx, r12
mov qword [rbp - 0x48], rbx
mov qword [rbp + 0xb0], rbx
test r15, r15
je 0x1401dca0d
mov ecx, 4
call fcn.14029806c
mov rbx, rax
mov qword [rbp - 0x48], rax
test rax, rax
je 0x1401dc9f9
mov dword [rax], r12d
mov qword [rbp + 0xb0], rax
jmp 0x1401dca07
mov rbx, r12
mov qword [rbp - 0x48], rbx
mov qword [rbp + 0xb0], rbx
mov dword [rbx], 1
lea rax, vtable.Core::Collections::Generic::LinkedList_class_Core::String_.1.0
mov qword [rbp + 0x50], rax
lea rax, vtable.Core::Collections::Generic::LinkedList_class_Core::String_.0
mov qword [rbp + 0x58], rax
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x60], xmm0
mov dword [rbp + 0x70], r12d
mov r8, qword [rdi]
lea rdx, str._sServices
lea rcx, [rbp + 0x28]
call fcn.1401e94c0
nop
lea r8, [rbp - 0x40]
lea rdx, [rbp + 0x28]
mov rcx, r15
call fcn.140143860
test al, al
je 0x1401dcaab
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x70], r12
mov ebx, r12d
mov rdi, qword [rbp - 0x40]
nop dword [rax + rax]
lea r9, [rsp + 0x68]
mov r8d, ebx
mov rdx, rdi
mov rcx, r15
call fcn.140143c90
inc ebx
test al, al
je 0x1401dca9a
lea rdx, [rsp + 0x68]
lea rcx, [rbp + 0x58]
mov rax, qword [rbp + 0x58]
call qword [rax]
jmp 0x1401dca70
cmp dword [rsp + 0x70], 0
jle 0x1401dcaab
mov rcx, qword [rsp + 0x68]
call fcn.140298600
mov ecx, 0x18
call fcn.14029806c
mov r14, rax
test rax, rax
je 0x1401dcad5
lea rax, vtable.Core::Collections::Generic::LinkedList_class_Core::String_::Enumerator_class_Core::String_.0
mov qword [r14], rax
lea rax, [rbp + 0x50]
mov qword [r14 + 8], rax
mov qword [r14 + 0x10], r12
jmp 0x1401dcad8
mov r14, r12
lea rax, vtable.Core::SharedPtr_class_Core::Collections::Generic::IEnumerator_class_Core::String__.0
mov qword [rbp + 0x88], rax
mov qword [rbp + 0x90], r14
mov r13, r12
mov qword [rbp + 0x98], r12
test r14, r14
je 0x1401dcb2c
mov ecx, 4
call fcn.14029806c
mov r13, rax
test rax, rax
je 0x1401dcb1a
mov dword [rax], r12d
mov qword [rbp + 0x98], rax
jmp 0x1401dcb24
mov r13, r12
mov qword [rbp + 0x98], r12
mov dword [r13], 1
mov rax, qword [r14]
mov rcx, r14
call qword [rax]
test al, al
je 0x1401dd056
xor esi, esi
nop
mov rax, qword [r14]
mov rcx, r14
call qword [rax + 0x10]
mov r9, qword [rax]
mov r8, qword [rbp + 0x28]
lea rdx, str._s_s_
lea rcx, [rbp - 0x20]
call fcn.1401e94c0
nop
lea r12, [0x140323de0]
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x58], 0
mov qword [rbp - 0x68], 0
mov edx, 5
lea rcx, [rbp - 0x70]
call fcn.1401e9030
mov eax, dword [rbp - 0x68]
inc eax
movsxd rdx, eax
mov r9d, 5
lea r8, str.Start
mov rcx, qword [rbp - 0x70]
call fcn.14029b4d8
mov edx, 5
lea rcx, [rbp - 0x70]
call fcn.1401ea290
nop
mov rdi, qword [rbp - 0x20]
test rdi, rdi
jne 0x1401dcbcb
mov ebx, esi
mov qword [rsp + 0x48], rdi
jmp 0x1401dcbe7
or rbx, 0xffffffffffffffff
nop
inc rbx
cmp word [rdi + rbx*2], 0
jne 0x1401dcbd0
mov qword [rsp + 0x48], 0
test ebx, ebx
jne 0x1401dcbee
mov qword [rsp + 0x40], r12
jmp 0x1401dcc13
mov edx, ebx
lea rcx, [rsp + 0x40]
call fcn.1401e9030
movsxd r9, ebx
mov eax, dword [rsp + 0x48]
inc eax
movsxd rdx, eax
mov r8, rdi
mov rcx, qword [rsp + 0x40]
call fcn.14029b4d8
mov edx, ebx
lea rcx, [rsp + 0x40]
call fcn.1401ea290
nop
lea r8, [rbp - 0x40]
lea rdx, [rsp + 0x40]
mov rcx, r15
call fcn.140143860
test al, al
sete bl
cmp dword [rsp + 0x48], 0
jle 0x1401dcc47
mov rcx, qword [rsp + 0x40]
call fcn.140298600
test bl, bl
je 0x1401dcc4f
xor al, al
jmp 0x1401dcc64
lea r9, [rsp + 0x50]
lea r8, [rbp - 0x70]
mov rdx, qword [rbp - 0x40]
mov rcx, r15
call fcn.1401436f0
test al, al
sete bl
cmp dword [rbp - 0x68], 0
jle 0x1401dcc78
mov rcx, qword [rbp - 0x70]
call fcn.140298600
test bl, bl
jne 0x1401dcfbf
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x1401dcfc4
or rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], 0
jne 0x1401dcc92
test rax, rax
je 0x1401dcfc4
cmp dword [rsp + 0x5c], 0
jle 0x1401dcff1
movzx ecx, word [rcx]
call fcn.14029c35c
test eax, eax
je 0x1401dcfbf
mov rcx, qword [rsp + 0x50]
call fcn.140298c78
mov edx, eax
call fcn.1401dd130
mov r12, rax
mov rdx, qword [r14]
mov rcx, r14
call qword [rdx + 0x10]
mov rsi, rax
mov rdi, qword [rbp + 0x10]
mov rdi, qword [rdi]
mov rbx, qword [rdi + 8]
cmp byte [rbx + 0x19], 0
jne 0x1401dcd13
mov rdx, qword [rsi]
mov rcx, qword [rbx + 0x20]
call fcn.14029848c
test eax, eax
jns 0x1401dcd07
mov rbx, qword [rbx + 0x10]
jmp 0x1401dcd0d
mov rdi, rbx
mov rbx, qword [rbx]
cmp byte [rbx + 0x19], 0
je 0x1401dccf1
mov rbx, qword [rbp + 0x10]
cmp rdi, qword [rbx]
je 0x1401dcd36
mov rdx, qword [rdi + 0x20]
mov rcx, qword [rsi]
call fcn.14029848c
test eax, eax
js 0x1401dcd36
mov qword [rbp + 0x48], rdi
lea rax, [rbp + 0x48]
jmp 0x1401dcd41
mov rax, qword [rbx]
mov qword [rbp + 0x38], rax
lea rax, [rbp + 0x38]
mov rax, qword [rax]
xor esi, esi
cmp rax, qword [rbx]
jne 0x1401dcfbf
lea rax, [0x140323de0]
mov qword [rbp - 0x80], rax
mov qword [rbp - 0x78], rsi
mov qword [rsp + 0x70], rsi
lea edx, [rsi + 9]
lea rcx, [rsp + 0x68]
call fcn.1401e9030
mov eax, dword [rsp + 0x70]
inc eax
movsxd rdx, eax
lea r9d, [rsi + 9]
lea r8, str.ImagePath
mov rcx, qword [rsp + 0x68]
call fcn.14029b4d8
lea edx, [rsi + 9]
lea rcx, [rsp + 0x68]
call fcn.1401ea290
nop
mov rdi, qword [rbp - 0x20]
test rdi, rdi
jne 0x1401dcdae
mov ebx, esi
mov qword [rsp + 0x38], rsi
jmp 0x1401dcdc5
or rbx, 0xffffffffffffffff
inc rbx
cmp word [rdi + rbx*2], 0
jne 0x1401dcdb2
mov qword [rsp + 0x38], rsi
test ebx, ebx
jne 0x1401dcdd3
lea rax, [0x140323de0]
mov qword [rsp + 0x30], rax
jmp 0x1401dcdf8
mov edx, ebx
lea rcx, [rsp + 0x30]
call fcn.1401e9030
movsxd r9, ebx
mov eax, dword [rsp + 0x38]
inc eax
movsxd rdx, eax
mov r8, rdi
mov rcx, qword [rsp + 0x30]
call fcn.14029b4d8
mov edx, ebx
lea rcx, [rsp + 0x30]
call fcn.1401ea290
nop
lea r8, [rbp + 0x40]
lea rdx, [rsp + 0x30]
mov rcx, r15
call fcn.140143860
test al, al
sete bl
cmp dword [rsp + 0x38], 0
jle 0x1401dce2c
mov rcx, qword [rsp + 0x30]
call fcn.140298600
test bl, bl
je 0x1401dce34
xor al, al
jmp 0x1401dce49
lea r9, [rbp - 0x80]
lea r8, [rsp + 0x68]
mov rdx, qword [rbp + 0x40]
mov rcx, r15
call fcn.1401436f0
test al, al
sete bl
cmp dword [rsp + 0x70], 0
jle 0x1401dce5f
mov rcx, qword [rsp + 0x68]
call fcn.140298600
test bl, bl
je 0x1401dced2
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 + 0xb8]
call fcn.1401e88a0
mov rbx, rax
mov edx, dword [rax + 0xc]
lea rcx, [rbp - 0x80]
call fcn.1401e9030
movsxd r9, dword [rbx + 0xc]
mov ecx, dword [rbp - 0x78]
inc ecx
movsxd rdx, ecx
mov r8, qword [rbx]
mov rcx, qword [rbp - 0x80]
call fcn.14029b4d8
mov edx, dword [rbx + 0xc]
lea rcx, [rbp - 0x80]
call fcn.1401ea290
nop
cmp dword [rbp + 0xc0], 0
jle 0x1401dced2
mov rcx, qword [rbp + 0xb8]
call fcn.140298600
cmp dword [rbp - 0x74], 0
je 0x1401dcee1
lea rcx, [rbp - 0x80]
call fcn.1401db7f0
mov r8, qword [rbp - 0x20]
lea rdx, str.HKLMSYSTEM_s
lea rcx, [rbp + 0x18]
call fcn.1401e94c0
nop
mov rdx, qword [rbp + 0x18]
lea rcx, str.Cloaked_Registry_Key__r_n_tPath_s_r_n
call fcn.14029a88c
movaps xmm0, xmmword [rbp - 0x80]
movdqa xmmword [rbp - 0x10], xmm0
lea rdx, [rbp - 0x10]
lea rcx, str._tImagePath_s_r_n
call fcn.14029a88c
mov r8b, 1
lea rdx, [rbp - 0x80]
mov rax, qword [rbp + 0x80]
mov rcx, qword [rax + 8]
call fcn.1400f9eb0
mov rbx, rax
test rax, rax
je 0x1401dcfa0
movabs rax, 0x200000200
or qword [rbx + 0x40], rax
lea rdx, [rbp + 0x18]
mov rcx, rbx
call fcn.1400ed120
mov rdx, qword [r14]
mov rcx, r14
call qword [rdx + 0x10]
mov r8, rax
mov edx, 8
mov rcx, rbx
call fcn.14000b7c0
mov rdx, r12
lea rcx, [rbp - 0x38]
call fcn.1401e6fd0
nop
lea r8, [rbp - 0x38]
mov edx, 9
mov rcx, rbx
call fcn.14000b7c0
nop
cmp dword [rbp - 0x30], 0
jle 0x1401dcfa0
mov rcx, qword [rbp - 0x38]
call fcn.140298600
nop
cmp dword [rbp + 0x20], 0
jle 0x1401dcfb0
mov rcx, qword [rbp + 0x18]
call fcn.140298600
nop
cmp dword [rbp - 0x78], 0
jle 0x1401dcfbf
mov rcx, qword [rbp - 0x80]
call fcn.140298600
mov rcx, qword [rsp + 0x50]
cmp dword [rsp + 0x58], 0
jle 0x1401dcfd1
call fcn.140298600
nop
cmp dword [rbp - 0x18], 0
jle 0x1401dcfe0
mov rcx, qword [rbp - 0x20]
call fcn.140298600
mov rax, qword [r14]
mov rcx, r14
call qword [rax]
test al, al
je 0x1401dd052
jmp 0x1401dcb40
lea rcx, [rbp - 0x10]
call fcn.1401e6d00
nop
lea rax, vtable.Core::IndexOutOfRangeException.0
mov qword [rbp - 0x10], rax
mov edx, 0x2a
lea rcx, [rbp - 8]
call fcn.1401e9030
mov eax, dword [rbp]
inc eax
movsxd rdx, eax
mov r9d, 0x2a
lea r8, str.Index_was_outside_the_bounds_of_the_array.
mov rcx, qword [rbp - 8]
call fcn.14029b4d8
mov edx, 0x2a
lea rcx, [rbp - 8]
call fcn.1401ea290
nop
lea rdx, [0x1403e2d68]
lea rcx, [rbp - 0x10]
call fcn.14029f768
nop
mov rsi, qword [rbp + 0x78]
test r13, r13
je 0x1401dd081
mov eax, dword [r13]
test eax, eax
jle 0x1401dd069
dec eax
mov dword [r13], eax
cmp dword [r13], 0
jne 0x1401dd081
mov rcx, r14
call fcn.1402012c0
mov rcx, r13
call fcn.1402012c0
nop
cmp dword [rbp + 0x30], 0
jle 0x1401dd091
mov rcx, qword [rbp + 0x28]
call fcn.140298600
nop
lea rax, vtable.Core::Collections::Generic::LinkedList_class_Core::String_.1.0
mov qword [rbp + 0x50], rax
lea rax, vtable.Core::Collections::Generic::LinkedList_class_Core::String_.0
mov qword [rbp + 0x58], rax
lea rcx, [rbp + 0x58]
call fcn.140119c60
nop
mov rbx, qword [rbp - 0x48]
test rbx, rbx
je 0x1401dd0e3
mov eax, dword [rbx]
test eax, eax
jle 0x1401dd0c4
dec eax
mov dword [rbx], eax
cmp dword [rbx], 0
jne 0x1401dd0e3
test r15, r15
je 0x1401dd0db
mov rax, qword [r15]
mov edx, 1
mov rcx, r15
call qword [rax]
mov rcx, rbx
call fcn.1402012c0
mov rcx, rsi
call fcn.140298600
nop
cmp dword [rbp - 0x58], 0
jle 0x1401dd0fb
mov rcx, qword [rbp - 0x60]
call fcn.140298600
xor al, al
mov rcx, qword [rbp + 0x8f0]
xor rcx, rsp
call fcn.140297ff0
mov rbx, qword [rsp + 0xa58]
add rsp, 0xa00
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret