Function at 0x1401d80a0
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 [0x14041da10]
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.140116230
lea ebx, [r14 + 1]
cmp dword [rsp + 0x70], 2
jge 0x1401d814f
mov rdx, rdi
call fcn.1401d86e0
mov esi, ebx
jmp 0x1401d862c
mov rcx, qword [rsp + 0x60]
add rcx, 0x10
xor r8d, r8d
lea rdx, str.rundll
call fcn.140203280
test eax, eax
setns al
test al, al
je 0x1401d8317
mov rax, qword [rsp + 0x60]
mov rbx, qword [rax]
mov edx, dword [rbx + 0x1c]
mov rcx, rdi
call fcn.1402028a0
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.1402c06dc
mov edx, dword [rbx + 0x1c]
mov rcx, rdi
call fcn.140203bb0
mov esi, 1
mov r8d, esi
lea rdx, [0x140355194]
mov rcx, rdi
call fcn.140205020
mov rcx, rdi
test al, al
je 0x1401d81fa
lea edx, [rsi + 0x21]
mov r8d, esi
call fcn.140202eb0
test eax, eax
jle 0x1401d823b
lea r9d, [rax - 1]
mov r8d, esi
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.140204ad0
nop
mov rdx, rax
mov rcx, rdi
call fcn.140200cb0
nop
jmp 0x1401d822a
lea rdx, [0x14035803c]
call fcn.140203040
test eax, eax
jle 0x1401d823b
mov r9d, eax
xor r8d, r8d
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.140204ad0
nop
mov rdx, rax
mov rcx, rdi
call fcn.140200cb0
nop
cmp dword [rsp + 0x38], 0
jle 0x1401d823b
mov rcx, qword [rsp + 0x30]
call fcn.1402bd0e0
mov rcx, rdi
call fcn.1400d44f0
test al, al
jne 0x1401d830a
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 0x1401d82ab
mov edx, 0x400
lea rcx, [rbp - 0x30]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea r8, [0x14034c088]
mov edx, 0x400
lea rcx, [rbp - 0x30]
call fcn.1402bf098
mov r8, qword [rdi]
mov edx, 0x400
lea rcx, [rbp - 0x30]
call fcn.1402bf098
lea rax, [rbp - 0x30]
or rbx, 0xffffffffffffffff
inc rbx
cmp word [rax + rbx*2], 0
jne 0x1401d82b3
test ebx, ebx
jle 0x1401d82f1
mov edx, ebx
mov rcx, rdi
call fcn.1402028a0
movsxd r9, ebx
mov eax, dword [rdi + 8]
inc eax
movsxd rdx, eax
lea r8, [rbp - 0x30]
mov rcx, qword [rdi]
call fcn.1402c06dc
mov edx, ebx
mov rcx, rdi
call fcn.140203bb0
jmp 0x1401d862c
cmp dword [rdi + 0xc], 0
jle 0x1401d862c
mov edx, ebx
mov rcx, rdi
call fcn.140203bb0
jmp 0x1401d862c
mov rdx, rdi
call fcn.1401d86e0
jmp 0x1401d862c
mov rcx, qword [rsp + 0x60]
add rcx, 0x10
xor r8d, r8d
lea rdx, [0x140369f98]
call fcn.140202b80
test al, al
je 0x1401d859c
xor r12b, r12b
xor r15b, r15b
lea rax, [0x14034d1a0]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], r14
mov ecx, 0x18
call fcn.1402bcb4c
mov rsi, rax
test rax, rax
je 0x1401d8379
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 0x1401d837c
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 0x1401d83b6
mov ecx, 4
call fcn.1402bcb4c
test rax, rax
je 0x1401d83af
mov dword [rax], r14d
mov r14, rax
mov qword [rbp - 0x70], rax
jmp 0x1401d83b3
mov qword [rbp - 0x70], r14
mov dword [r14], ebx
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax]
test al, al
je 0x1401d8550
nop word [rax + rax]
mov rax, qword [rsi]
mov rcx, rsi
test r12b, r12b
je 0x1401d849c
xor r12b, r12b
call qword [rax + 0x10]
mov rbx, rax
mov edx, dword [rax + 0xc]
lea rcx, [rsp + 0x30]
call fcn.1402028a0
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.1402c06dc
mov edx, dword [rbx + 0xc]
lea rcx, [rsp + 0x30]
call fcn.140203bb0
mov edx, 0x22
mov ebx, 1
mov r8d, ebx
lea rcx, [rsp + 0x30]
call fcn.140202eb0
test eax, eax
jle 0x1401d84eb
lea r9d, [rax - 1]
mov r8d, ebx
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x30]
call fcn.140204ad0
mov rbx, rax
mov edx, dword [rax + 0xc]
lea rcx, [rsp + 0x30]
call fcn.1402028a0
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.1402c06dc
mov edx, dword [rbx + 0xc]
lea rcx, [rsp + 0x30]
call fcn.140203bb0
nop
cmp dword [rsp + 0x48], 0
jle 0x1401d84e6
mov rcx, qword [rsp + 0x40]
call fcn.1402bd0e0
jmp 0x1401d84e6
test r15b, r15b
jne 0x1401d84fd
call qword [rax + 0x10]
mov rcx, rax
xor r8d, r8d
lea rdx, [0x140369f8c]
call fcn.140202b80
test al, al
je 0x1401d84bf
mov r12b, 1
jmp 0x1401d84eb
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x10]
mov rcx, rax
xor r8d, r8d
lea rdx, str.start
call fcn.140202b80
movzx r15d, r15b
test al, al
cmovne r15d, ebx
jmp 0x1401d84eb
mov ebx, 1
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax]
test al, al
jne 0x1401d83d0
jmp 0x1401d8550
cmp dword [rsp + 0x3c], 0
jle 0x1401d8539
call qword [rax + 0x10]
mov r8, rax
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x40]
call fcn.1400d4050
nop
mov rdx, rax
mov rcx, rdi
call fcn.140200cb0
nop
cmp dword [rsp + 0x48], 0
jle 0x1401d8550
mov rcx, qword [rsp + 0x40]
call fcn.1402bd0e0
jmp 0x1401d8550
call qword [rax + 0x10]
mov rdx, rax
mov rcx, rdi
call fcn.140200cb0
mov rdx, rdi
call fcn.1401d86e0
nop
test r14, r14
je 0x1401d8578
mov eax, dword [r14]
test eax, eax
jle 0x1401d8561
dec eax
mov dword [r14], eax
cmp dword [r14], 0
jne 0x1401d8578
mov rcx, rsi
call fcn.14021ae20
mov rcx, r14
call fcn.14021ae20
nop
cmp dword [rsp + 0x38], 0
jle 0x1401d8589
mov rcx, qword [rsp + 0x30]
call fcn.1402bd0e0
lea r15, vtable.Core::Collections::Generic::LinkedList_class_Core::String_.1.0
lea r12, vtable.Core::Collections::Generic::LinkedList_class_Core::String_.0
jmp 0x1401d8627
mov rcx, qword [rsp + 0x60]
add rcx, 0x10
xor r8d, r8d
lea rdx, str.start
call fcn.140202b80
test al, al
je 0x1401d85d8
mov rax, qword [rsp + 0x60]
mov rdx, qword [rax]
add rdx, 0x10
mov rcx, rdi
call fcn.140200cb0
mov rdx, rdi
call fcn.1401d86e0
mov esi, ebx
jmp 0x1401d862c
mov rdx, rdi
call fcn.1401d86e0
mov r8d, ebx
lea rdx, [0x14036a018]
mov rcx, rdi
call fcn.140203950
test eax, eax
jle 0x1401d85d4
mov r9d, eax
xor r8d, r8d
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.140204ad0
nop
mov rdx, rax
mov rcx, rdi
call fcn.140200cb0
nop
cmp dword [rsp + 0x48], 0
jle 0x1401d8627
mov rcx, qword [rsp + 0x40]
call fcn.1402bd0e0
mov esi, 1
mov r8d, esi
lea rdx, [0x140369fe8]
mov rcx, qword [rsp + 0x78]
call fcn.140202610
test al, al
je 0x1401d864f
mov rdx, rdi
mov rcx, r13
call fcn.1401d3cd0
cmp dword [rdi + 0xc], 0
jle 0x1401d868f
mov r8b, 1
mov rdx, rdi
mov rcx, qword [r13 + 8]
call fcn.1400fa8d0
mov rbx, rax
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], r12
lea rcx, [rsp + 0x58]
call fcn.14011bb40
nop
cmp dword [rdi + 8], 0
jle 0x1401d868a
mov rcx, qword [rdi]
call fcn.1402bd0e0
mov rax, rbx
jmp 0x1401d86b4
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], r12
lea rcx, [rsp + 0x58]
call fcn.14011bb40
nop
cmp dword [rdi + 8], 0
jle 0x1401d86b2
mov rcx, qword [rdi]
call fcn.1402bd0e0
xor eax, eax
mov rcx, qword [rbp + 0x7d0]
xor rcx, rsp
call fcn.1402bcad0
mov rbx, qword [rsp + 0x938]
add rsp, 0x8e0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret