Function at 0x1401d5ea0
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 [0x140418a10]
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.140114840
lea ebx, [r14 + 1]
cmp dword [rsp + 0x70], 2
jge 0x1401d5f4f
mov rdx, rdi
call fcn.1401d64e0
mov esi, ebx
jmp 0x1401d642c
mov rcx, qword [rsp + 0x60]
add rcx, 0x10
xor r8d, r8d
lea rdx, str.rundll
call fcn.1401ffc40
test eax, eax
setns al
test al, al
je 0x1401d6117
mov rax, qword [rsp + 0x60]
mov rbx, qword [rax]
mov edx, dword [rbx + 0x1c]
mov rcx, rdi
call fcn.1401ff260
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.1402bd21c
mov edx, dword [rbx + 0x1c]
mov rcx, rdi
call fcn.140200570
mov esi, 1
mov r8d, esi
lea rdx, [0x1403512cc]
mov rcx, rdi
call fcn.1402019e0
mov rcx, rdi
test al, al
je 0x1401d5ffa
lea edx, [rsi + 0x21]
mov r8d, esi
call fcn.1401ff870
test eax, eax
jle 0x1401d603b
lea r9d, [rax - 1]
mov r8d, esi
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.140201490
nop
mov rdx, rax
mov rcx, rdi
call fcn.1401fd670
nop
jmp 0x1401d602a
lea rdx, [0x140353a8c]
call fcn.1401ffa00
test eax, eax
jle 0x1401d603b
mov r9d, eax
xor r8d, r8d
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.140201490
nop
mov rdx, rax
mov rcx, rdi
call fcn.1401fd670
nop
cmp dword [rsp + 0x38], 0
jle 0x1401d603b
mov rcx, qword [rsp + 0x30]
call fcn.1402b9c20
mov rcx, rdi
call fcn.1400d3070
test al, al
jne 0x1401d610a
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 0x1401d60ab
mov edx, 0x400
lea rcx, [rbp - 0x30]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea r8, [0x140347f58]
mov edx, 0x400
lea rcx, [rbp - 0x30]
call fcn.1402bbbd8
mov r8, qword [rdi]
mov edx, 0x400
lea rcx, [rbp - 0x30]
call fcn.1402bbbd8
lea rax, [rbp - 0x30]
or rbx, 0xffffffffffffffff
inc rbx
cmp word [rax + rbx*2], 0
jne 0x1401d60b3
test ebx, ebx
jle 0x1401d60f1
mov edx, ebx
mov rcx, rdi
call fcn.1401ff260
movsxd r9, ebx
mov eax, dword [rdi + 8]
inc eax
movsxd rdx, eax
lea r8, [rbp - 0x30]
mov rcx, qword [rdi]
call fcn.1402bd21c
mov edx, ebx
mov rcx, rdi
call fcn.140200570
jmp 0x1401d642c
cmp dword [rdi + 0xc], 0
jle 0x1401d642c
mov edx, ebx
mov rcx, rdi
call fcn.140200570
jmp 0x1401d642c
mov rdx, rdi
call fcn.1401d64e0
jmp 0x1401d642c
mov rcx, qword [rsp + 0x60]
add rcx, 0x10
xor r8d, r8d
lea rdx, [0x140365890]
call fcn.1401ff540
test al, al
je 0x1401d639c
xor r12b, r12b
xor r15b, r15b
lea rax, [0x140348ca0]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], r14
mov ecx, 0x18
call fcn.1402b968c
mov rsi, rax
test rax, rax
je 0x1401d6179
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 0x1401d617c
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 0x1401d61b6
mov ecx, 4
call fcn.1402b968c
test rax, rax
je 0x1401d61af
mov dword [rax], r14d
mov r14, rax
mov qword [rbp - 0x70], rax
jmp 0x1401d61b3
mov qword [rbp - 0x70], r14
mov dword [r14], ebx
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax]
test al, al
je 0x1401d6350
nop word [rax + rax]
mov rax, qword [rsi]
mov rcx, rsi
test r12b, r12b
je 0x1401d629c
xor r12b, r12b
call qword [rax + 0x10]
mov rbx, rax
mov edx, dword [rax + 0xc]
lea rcx, [rsp + 0x30]
call fcn.1401ff260
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.1402bd21c
mov edx, dword [rbx + 0xc]
lea rcx, [rsp + 0x30]
call fcn.140200570
mov edx, 0x22
mov ebx, 1
mov r8d, ebx
lea rcx, [rsp + 0x30]
call fcn.1401ff870
test eax, eax
jle 0x1401d62eb
lea r9d, [rax - 1]
mov r8d, ebx
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x30]
call fcn.140201490
mov rbx, rax
mov edx, dword [rax + 0xc]
lea rcx, [rsp + 0x30]
call fcn.1401ff260
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.1402bd21c
mov edx, dword [rbx + 0xc]
lea rcx, [rsp + 0x30]
call fcn.140200570
nop
cmp dword [rsp + 0x48], 0
jle 0x1401d62e6
mov rcx, qword [rsp + 0x40]
call fcn.1402b9c20
jmp 0x1401d62e6
test r15b, r15b
jne 0x1401d62fd
call qword [rax + 0x10]
mov rcx, rax
xor r8d, r8d
lea rdx, [0x140365884]
call fcn.1401ff540
test al, al
je 0x1401d62bf
mov r12b, 1
jmp 0x1401d62eb
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x10]
mov rcx, rax
xor r8d, r8d
lea rdx, str.start
call fcn.1401ff540
movzx r15d, r15b
test al, al
cmovne r15d, ebx
jmp 0x1401d62eb
mov ebx, 1
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax]
test al, al
jne 0x1401d61d0
jmp 0x1401d6350
cmp dword [rsp + 0x3c], 0
jle 0x1401d6339
call qword [rax + 0x10]
mov r8, rax
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x40]
call fcn.1400d2bd0
nop
mov rdx, rax
mov rcx, rdi
call fcn.1401fd670
nop
cmp dword [rsp + 0x48], 0
jle 0x1401d6350
mov rcx, qword [rsp + 0x40]
call fcn.1402b9c20
jmp 0x1401d6350
call qword [rax + 0x10]
mov rdx, rax
mov rcx, rdi
call fcn.1401fd670
mov rdx, rdi
call fcn.1401d64e0
nop
test r14, r14
je 0x1401d6378
mov eax, dword [r14]
test eax, eax
jle 0x1401d6361
dec eax
mov dword [r14], eax
cmp dword [r14], 0
jne 0x1401d6378
mov rcx, rsi
call fcn.1402177e0
mov rcx, r14
call fcn.1402177e0
nop
cmp dword [rsp + 0x38], 0
jle 0x1401d6389
mov rcx, qword [rsp + 0x30]
call fcn.1402b9c20
lea r15, vtable.Core::Collections::Generic::LinkedList_class_Core::String_.1.0
lea r12, vtable.Core::Collections::Generic::LinkedList_class_Core::String_.0
jmp 0x1401d6427
mov rcx, qword [rsp + 0x60]
add rcx, 0x10
xor r8d, r8d
lea rdx, str.start
call fcn.1401ff540
test al, al
je 0x1401d63d8
mov rax, qword [rsp + 0x60]
mov rdx, qword [rax]
add rdx, 0x10
mov rcx, rdi
call fcn.1401fd670
mov rdx, rdi
call fcn.1401d64e0
mov esi, ebx
jmp 0x1401d642c
mov rdx, rdi
call fcn.1401d64e0
mov r8d, ebx
lea rdx, [0x140365920]
mov rcx, rdi
call fcn.140200310
test eax, eax
jle 0x1401d63d4
mov r9d, eax
xor r8d, r8d
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.140201490
nop
mov rdx, rax
mov rcx, rdi
call fcn.1401fd670
nop
cmp dword [rsp + 0x48], 0
jle 0x1401d6427
mov rcx, qword [rsp + 0x40]
call fcn.1402b9c20
mov esi, 1
mov r8d, esi
lea rdx, [0x1403658f0]
mov rcx, qword [rsp + 0x78]
call fcn.1401fefd0
test al, al
je 0x1401d644f
mov rdx, rdi
mov rcx, r13
call fcn.1401d1ad0
cmp dword [rdi + 0xc], 0
jle 0x1401d648f
mov r8b, 1
mov rdx, rdi
mov rcx, qword [r13 + 8]
call fcn.1400f92f0
mov rbx, rax
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], r12
lea rcx, [rsp + 0x58]
call fcn.14011a150
nop
cmp dword [rdi + 8], 0
jle 0x1401d648a
mov rcx, qword [rdi]
call fcn.1402b9c20
mov rax, rbx
jmp 0x1401d64b4
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], r12
lea rcx, [rsp + 0x58]
call fcn.14011a150
nop
cmp dword [rdi + 8], 0
jle 0x1401d64b2
mov rcx, qword [rdi]
call fcn.1402b9c20
xor eax, eax
mov rcx, qword [rbp + 0x7d0]
xor rcx, rsp
call fcn.1402b9610
mov rbx, qword [rsp + 0x938]
add rsp, 0x8e0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret