Function at 0x1401c3080
Capabilities:
Get common file path

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x7e0]
sub rsp, 0x8e0
mov qword [rbp - 0x68], 0xfffffffffffffffe
mov qword [rsp + 0x938], rbx
mov rax, qword [0x1403eaa10]
xor rax, rsp
mov qword [rbp + 0x7d0], rax
mov qword [rsp + 0x78], r8
mov rdi, rdx
mov r13, rcx
mov qword [rbp - 0x60], rdx
lea rax, vtable.Core::Collection_class_Core::String_.0
mov qword [rbp - 0x58], rax
xor r14d, r14d
mov dword [rbp - 0x50], r14d
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x48], xmm0
lea r15, vtable.Core::Collections::Generic::LinkedList_class_Core::String_.1.0
mov qword [rsp + 0x50], r15
lea r12, vtable.Core::Collections::Generic::LinkedList_class_Core::String_.0
mov qword [rsp + 0x58], r12
movdqu xmmword [rsp + 0x60], xmm0
mov dword [rsp + 0x70], r14d
lea rdx, [rsp + 0x50]
mov rcx, rdi
call fcn.140114300
lea ebx, [r14 + 1]
cmp dword [rsp + 0x70], 2
jge 0x1401c312f
mov rdx, rdi
call fcn.1401c36c0
mov esi, ebx
jmp 0x1401c360c
mov rcx, qword [rsp + 0x60]
add rcx, 0x10
xor r8d, r8d
lea rdx, str.rundll
call fcn.1401e9960
test eax, eax
setns al
test al, al
je 0x1401c32f7
mov rax, qword [rsp + 0x60]
mov rbx, qword [rax]
mov edx, dword [rbx + 0x1c]
mov rcx, rdi
call fcn.1401e9030
movsxd r9, dword [rbx + 0x1c]
mov eax, dword [rdi + 8]
inc eax
movsxd rdx, eax
mov r8, qword [rbx + 0x10]
mov rcx, qword [rdi]
call fcn.14029b4d8
mov edx, dword [rbx + 0x1c]
mov rcx, rdi
call fcn.1401ea290
mov esi, 1
mov r8d, esi
lea rdx, [0x14032c0d4]
mov rcx, rdi
call fcn.1401eb700
mov rcx, rdi
test al, al
je 0x1401c31da
lea edx, [rsi + 0x21]
mov r8d, esi
call fcn.1401e9590
test eax, eax
jle 0x1401c321b
lea r9d, [rax - 1]
mov r8d, esi
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.1401eb1b0
nop
mov rdx, rax
mov rcx, rdi
call fcn.1401e7440
nop
jmp 0x1401c320a
lea rdx, [0x14032dda4]
call fcn.1401e9720
test eax, eax
jle 0x1401c321b
mov r9d, eax
xor r8d, r8d
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.1401eb1b0
nop
mov rdx, rax
mov rcx, rdi
call fcn.1401e7440
nop
cmp dword [rsp + 0x38], 0
jle 0x1401c321b
mov rcx, qword [rsp + 0x30]
call fcn.140298600
mov rcx, rdi
call fcn.1400d1b30
test al, al
jne 0x1401c32ea
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x30]
mov qword [rsp + 0x20], rax
mov r9d, 0x400
xor r8d, r8d
mov rdx, qword [rdi]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SearchPathW]
test eax, eax
jne 0x1401c328b
mov edx, 0x400
lea rcx, [rbp - 0x30]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea r8, [0x1403232c8]
mov edx, 0x400
lea rcx, [rbp - 0x30]
call fcn.14029a500
mov r8, qword [rdi]
mov edx, 0x400
lea rcx, [rbp - 0x30]
call fcn.14029a500
lea rax, [rbp - 0x30]
or rbx, 0xffffffffffffffff
inc rbx
cmp word [rax + rbx*2], 0
jne 0x1401c3293
test ebx, ebx
jle 0x1401c32d1
mov edx, ebx
mov rcx, rdi
call fcn.1401e9030
movsxd r9, ebx
mov eax, dword [rdi + 8]
inc eax
movsxd rdx, eax
lea r8, [rbp - 0x30]
mov rcx, qword [rdi]
call fcn.14029b4d8
mov edx, ebx
mov rcx, rdi
call fcn.1401ea290
jmp 0x1401c360c
cmp dword [rdi + 0xc], 0
jle 0x1401c360c
mov edx, ebx
mov rcx, rdi
call fcn.1401ea290
jmp 0x1401c360c
mov rdx, rdi
call fcn.1401c36c0
jmp 0x1401c360c
mov rcx, qword [rsp + 0x60]
add rcx, 0x10
xor r8d, r8d
lea rdx, [0x14033ed40]
call fcn.1401e9310
test al, al
je 0x1401c357c
xor r12b, r12b
xor r15b, r15b
lea rax, [0x140323de0]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], r14
mov ecx, 0x18
call fcn.14029806c
mov rsi, rax
test rax, rax
je 0x1401c3359
lea rax, vtable.Core::Collections::Generic::LinkedList_class_Core::String_::Enumerator_class_Core::String_.0
mov qword [rsi], rax
lea rax, [rsp + 0x50]
mov qword [rsi + 8], rax
mov qword [rsi + 0x10], r14
jmp 0x1401c335c
mov rsi, r14
lea rax, vtable.Core::SharedPtr_class_Core::Collections::Generic::IEnumerator_class_Core::String__.0
mov qword [rbp - 0x80], rax
mov qword [rbp - 0x78], rsi
mov qword [rbp - 0x70], r14
test rsi, rsi
je 0x1401c3396
mov ecx, 4
call fcn.14029806c
test rax, rax
je 0x1401c338f
mov dword [rax], r14d
mov r14, rax
mov qword [rbp - 0x70], rax
jmp 0x1401c3393
mov qword [rbp - 0x70], r14
mov dword [r14], ebx
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax]
test al, al
je 0x1401c3530
nop word [rax + rax]
mov rax, qword [rsi]
mov rcx, rsi
test r12b, r12b
je 0x1401c347c
xor r12b, r12b
call qword [rax + 0x10]
mov rbx, rax
mov edx, dword [rax + 0xc]
lea rcx, [rsp + 0x30]
call fcn.1401e9030
movsxd r9, dword [rbx + 0xc]
mov ecx, dword [rsp + 0x38]
inc ecx
movsxd rdx, ecx
mov r8, qword [rbx]
mov rcx, qword [rsp + 0x30]
call fcn.14029b4d8
mov edx, dword [rbx + 0xc]
lea rcx, [rsp + 0x30]
call fcn.1401ea290
mov edx, 0x22
mov ebx, 1
mov r8d, ebx
lea rcx, [rsp + 0x30]
call fcn.1401e9590
test eax, eax
jle 0x1401c34cb
lea r9d, [rax - 1]
mov r8d, ebx
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x30]
call fcn.1401eb1b0
mov rbx, rax
mov edx, dword [rax + 0xc]
lea rcx, [rsp + 0x30]
call fcn.1401e9030
movsxd r9, dword [rbx + 0xc]
mov ecx, dword [rsp + 0x38]
inc ecx
movsxd rdx, ecx
mov r8, qword [rbx]
mov rcx, qword [rsp + 0x30]
call fcn.14029b4d8
mov edx, dword [rbx + 0xc]
lea rcx, [rsp + 0x30]
call fcn.1401ea290
nop
cmp dword [rsp + 0x48], 0
jle 0x1401c34c6
mov rcx, qword [rsp + 0x40]
call fcn.140298600
jmp 0x1401c34c6
test r15b, r15b
jne 0x1401c34dd
call qword [rax + 0x10]
mov rcx, rax
xor r8d, r8d
lea rdx, [0x14033ed34]
call fcn.1401e9310
test al, al
je 0x1401c349f
mov r12b, 1
jmp 0x1401c34cb
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x10]
mov rcx, rax
xor r8d, r8d
lea rdx, str.start
call fcn.1401e9310
movzx r15d, r15b
test al, al
cmovne r15d, ebx
jmp 0x1401c34cb
mov ebx, 1
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax]
test al, al
jne 0x1401c33b0
jmp 0x1401c3530
cmp dword [rsp + 0x3c], 0
jle 0x1401c3519
call qword [rax + 0x10]
mov r8, rax
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x40]
call fcn.1400d1690
nop
mov rdx, rax
mov rcx, rdi
call fcn.1401e7440
nop
cmp dword [rsp + 0x48], 0
jle 0x1401c3530
mov rcx, qword [rsp + 0x40]
call fcn.140298600
jmp 0x1401c3530
call qword [rax + 0x10]
mov rdx, rax
mov rcx, rdi
call fcn.1401e7440
mov rdx, rdi
call fcn.1401c36c0
nop
test r14, r14
je 0x1401c3558
mov eax, dword [r14]
test eax, eax
jle 0x1401c3541
dec eax
mov dword [r14], eax
cmp dword [r14], 0
jne 0x1401c3558
mov rcx, rsi
call fcn.1402012c0
mov rcx, r14
call fcn.1402012c0
nop
cmp dword [rsp + 0x38], 0
jle 0x1401c3569
mov rcx, qword [rsp + 0x30]
call fcn.140298600
lea r15, vtable.Core::Collections::Generic::LinkedList_class_Core::String_.1.0
lea r12, vtable.Core::Collections::Generic::LinkedList_class_Core::String_.0
jmp 0x1401c3607
mov rcx, qword [rsp + 0x60]
add rcx, 0x10
xor r8d, r8d
lea rdx, str.start
call fcn.1401e9310
test al, al
je 0x1401c35b8
mov rax, qword [rsp + 0x60]
mov rdx, qword [rax]
add rdx, 0x10
mov rcx, rdi
call fcn.1401e7440
mov rdx, rdi
call fcn.1401c36c0
mov esi, ebx
jmp 0x1401c360c
mov rdx, rdi
call fcn.1401c36c0
mov r8d, ebx
lea rdx, [0x14033edc0]
mov rcx, rdi
call fcn.1401ea030
test eax, eax
jle 0x1401c35b4
mov r9d, eax
xor r8d, r8d
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.1401eb1b0
nop
mov rdx, rax
mov rcx, rdi
call fcn.1401e7440
nop
cmp dword [rsp + 0x48], 0
jle 0x1401c3607
mov rcx, qword [rsp + 0x40]
call fcn.140298600
mov esi, 1
mov r8d, esi
lea rdx, [0x14033ed90]
mov rcx, qword [rsp + 0x78]
call fcn.1401e8da0
test al, al
je 0x1401c362f
mov rdx, rdi
mov rcx, r13
call fcn.1401c05b0
cmp dword [rdi + 0xc], 0
jle 0x1401c366f
mov r8b, 1
mov rdx, rdi
mov rcx, qword [r13 + 8]
call fcn.1400f9eb0
mov rbx, rax
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], r12
lea rcx, [rsp + 0x58]
call fcn.140119c60
nop
cmp dword [rdi + 8], 0
jle 0x1401c366a
mov rcx, qword [rdi]
call fcn.140298600
mov rax, rbx
jmp 0x1401c3694
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], r12
lea rcx, [rsp + 0x58]
call fcn.140119c60
nop
cmp dword [rdi + 8], 0
jle 0x1401c3692
mov rcx, qword [rdi]
call fcn.140298600
xor eax, eax
mov rcx, qword [rbp + 0x7d0]
xor rcx, rsp
call fcn.140297ff0
mov rbx, qword [rsp + 0x938]
add rsp, 0x8e0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret