Function at 0x1401d4880
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 [0x140415a10]
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_.0
mov qword [rsp + 0x50], r15
lea r12, vtable.Core::Collections::Generic::LinkedList_class_Core::String_.1.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.1401135c0
lea ebx, [r14 + 1]
cmp dword [rsp + 0x70], 2
jge 0x1401d492f
mov rdx, rdi
call fcn.1401d4ec0
mov esi, ebx
jmp 0x1401d4e0c
mov rcx, qword [rsp + 0x60]
add rcx, 0x10
xor r8d, r8d
lea rdx, str.rundll
call fcn.1401fd520
test eax, eax
setns al
test al, al
je 0x1401d4af7
mov rax, qword [rsp + 0x60]
mov rbx, qword [rax]
mov edx, dword [rbx + 0x1c]
mov rcx, rdi
call fcn.1401fcb40
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.1402ba94c
mov edx, dword [rbx + 0x1c]
mov rcx, rdi
call fcn.1401fde50
mov esi, 1
mov r8d, esi
lea rdx, [0x14034f2fc]
mov rcx, rdi
call fcn.1401ff2c0
mov rcx, rdi
test al, al
je 0x1401d49da
lea edx, [rsi + 0x21]
mov r8d, esi
call fcn.1401fd150
test eax, eax
jle 0x1401d4a1b
lea r9d, [rax - 1]
mov r8d, esi
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.1401fed70
nop
mov rdx, rax
mov rcx, rdi
call fcn.1401faf50
nop
jmp 0x1401d4a0a
lea rdx, [0x1403519e4]
call fcn.1401fd2e0
test eax, eax
jle 0x1401d4a1b
mov r9d, eax
xor r8d, r8d
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.1401fed70
nop
mov rdx, rax
mov rcx, rdi
call fcn.1401faf50
nop
cmp dword [rsp + 0x38], 0
jle 0x1401d4a1b
mov rcx, qword [rsp + 0x30]
call fcn.1402b7350
mov rcx, rdi
call fcn.1400d3040
test al, al
jne 0x1401d4aea
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 0x1401d4a8b
mov edx, 0x400
lea rcx, [rbp - 0x30]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea r8, [0x140345f98]
mov edx, 0x400
lea rcx, [rbp - 0x30]
call fcn.1402b9308
mov r8, qword [rdi]
mov edx, 0x400
lea rcx, [rbp - 0x30]
call fcn.1402b9308
lea rax, [rbp - 0x30]
or rbx, 0xffffffffffffffff
inc rbx
cmp word [rax + rbx*2], 0
jne 0x1401d4a93
test ebx, ebx
jle 0x1401d4ad1
mov edx, ebx
mov rcx, rdi
call fcn.1401fcb40
movsxd r9, ebx
mov eax, dword [rdi + 8]
inc eax
movsxd rdx, eax
lea r8, [rbp - 0x30]
mov rcx, qword [rdi]
call fcn.1402ba94c
mov edx, ebx
mov rcx, rdi
call fcn.1401fde50
jmp 0x1401d4e0c
cmp dword [rdi + 0xc], 0
jle 0x1401d4e0c
mov edx, ebx
mov rcx, rdi
call fcn.1401fde50
jmp 0x1401d4e0c
mov rdx, rdi
call fcn.1401d4ec0
jmp 0x1401d4e0c
mov rcx, qword [rsp + 0x60]
add rcx, 0x10
xor r8d, r8d
lea rdx, [0x140363568]
call fcn.1401fce20
test al, al
je 0x1401d4d7c
xor r12b, r12b
xor r15b, r15b
lea rax, [0x140346ce0]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], r14
mov ecx, 0x18
call fcn.1402b6dbc
mov rsi, rax
test rax, rax
je 0x1401d4b59
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 0x1401d4b5c
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 0x1401d4b96
mov ecx, 4
call fcn.1402b6dbc
test rax, rax
je 0x1401d4b8f
mov dword [rax], r14d
mov r14, rax
mov qword [rbp - 0x70], rax
jmp 0x1401d4b93
mov qword [rbp - 0x70], r14
mov dword [r14], ebx
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax]
test al, al
je 0x1401d4d30
nop word [rax + rax]
mov rax, qword [rsi]
mov rcx, rsi
test r12b, r12b
je 0x1401d4c7c
xor r12b, r12b
call qword [rax + 0x10]
mov rbx, rax
mov edx, dword [rax + 0xc]
lea rcx, [rsp + 0x30]
call fcn.1401fcb40
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.1402ba94c
mov edx, dword [rbx + 0xc]
lea rcx, [rsp + 0x30]
call fcn.1401fde50
mov edx, 0x22
mov ebx, 1
mov r8d, ebx
lea rcx, [rsp + 0x30]
call fcn.1401fd150
test eax, eax
jle 0x1401d4ccb
lea r9d, [rax - 1]
mov r8d, ebx
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x30]
call fcn.1401fed70
mov rbx, rax
mov edx, dword [rax + 0xc]
lea rcx, [rsp + 0x30]
call fcn.1401fcb40
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.1402ba94c
mov edx, dword [rbx + 0xc]
lea rcx, [rsp + 0x30]
call fcn.1401fde50
nop
cmp dword [rsp + 0x48], 0
jle 0x1401d4cc6
mov rcx, qword [rsp + 0x40]
call fcn.1402b7350
jmp 0x1401d4cc6
test r15b, r15b
jne 0x1401d4cdd
call qword [rax + 0x10]
mov rcx, rax
xor r8d, r8d
lea rdx, [0x14036355c]
call fcn.1401fce20
test al, al
je 0x1401d4c9f
mov r12b, 1
jmp 0x1401d4ccb
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x10]
mov rcx, rax
xor r8d, r8d
lea rdx, str.start
call fcn.1401fce20
movzx r15d, r15b
test al, al
cmovne r15d, ebx
jmp 0x1401d4ccb
mov ebx, 1
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax]
test al, al
jne 0x1401d4bb0
jmp 0x1401d4d30
cmp dword [rsp + 0x3c], 0
jle 0x1401d4d19
call qword [rax + 0x10]
mov r8, rax
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x40]
call fcn.1400d2ba0
nop
mov rdx, rax
mov rcx, rdi
call fcn.1401faf50
nop
cmp dword [rsp + 0x48], 0
jle 0x1401d4d30
mov rcx, qword [rsp + 0x40]
call fcn.1402b7350
jmp 0x1401d4d30
call qword [rax + 0x10]
mov rdx, rax
mov rcx, rdi
call fcn.1401faf50
mov rdx, rdi
call fcn.1401d4ec0
nop
test r14, r14
je 0x1401d4d58
mov eax, dword [r14]
test eax, eax
jle 0x1401d4d41
dec eax
mov dword [r14], eax
cmp dword [r14], 0
jne 0x1401d4d58
mov rcx, rsi
call fcn.1402150f0
mov rcx, r14
call fcn.1402150f0
nop
cmp dword [rsp + 0x38], 0
jle 0x1401d4d69
mov rcx, qword [rsp + 0x30]
call fcn.1402b7350
lea r15, vtable.Core::Collections::Generic::LinkedList_class_Core::String_.0
lea r12, vtable.Core::Collections::Generic::LinkedList_class_Core::String_.1.0
jmp 0x1401d4e07
mov rcx, qword [rsp + 0x60]
add rcx, 0x10
xor r8d, r8d
lea rdx, str.start
call fcn.1401fce20
test al, al
je 0x1401d4db8
mov rax, qword [rsp + 0x60]
mov rdx, qword [rax]
add rdx, 0x10
mov rcx, rdi
call fcn.1401faf50
mov rdx, rdi
call fcn.1401d4ec0
mov esi, ebx
jmp 0x1401d4e0c
mov rdx, rdi
call fcn.1401d4ec0
mov r8d, ebx
lea rdx, [0x1403635e8]
mov rcx, rdi
call fcn.1401fdbf0
test eax, eax
jle 0x1401d4db4
mov r9d, eax
xor r8d, r8d
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.1401fed70
nop
mov rdx, rax
mov rcx, rdi
call fcn.1401faf50
nop
cmp dword [rsp + 0x48], 0
jle 0x1401d4e07
mov rcx, qword [rsp + 0x40]
call fcn.1402b7350
mov esi, 1
mov r8d, esi
lea rdx, [0x1403635b8]
mov rcx, qword [rsp + 0x78]
call fcn.1401fc8b0
test al, al
je 0x1401d4e2f
mov rdx, rdi
mov rcx, r13
call fcn.1401d04b0
cmp dword [rdi + 0xc], 0
jle 0x1401d4e6f
mov r8b, 1
mov rdx, rdi
mov rcx, qword [r13 + 8]
call fcn.1400f8340
mov rbx, rax
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], r12
lea rcx, [rsp + 0x58]
call fcn.140118ed0
nop
cmp dword [rdi + 8], 0
jle 0x1401d4e6a
mov rcx, qword [rdi]
call fcn.1402b7350
mov rax, rbx
jmp 0x1401d4e94
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], r12
lea rcx, [rsp + 0x58]
call fcn.140118ed0
nop
cmp dword [rdi + 8], 0
jle 0x1401d4e92
mov rcx, qword [rdi]
call fcn.1402b7350
xor eax, eax
mov rcx, qword [rbp + 0x7d0]
xor rcx, rsp
call fcn.1402b6d40
mov rbx, qword [rsp + 0x938]
add rsp, 0x8e0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret