Function at 0x10000d0f4
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x290
mov rax, qword [0x100014100]
xor rax, rsp
mov qword [rsp + 0x280], rax
xor r14d, r14d
mov rbx, rcx
mov ebp, r14d
mov edi, r14d
mov dword [rsp + 0x44], r14d
mov dword [rsp + 0x40], r14d
cmp rcx, r14
je 0x10000d3a4
cmp r14w, word [rcx]
je 0x10000d3a4
call fcn.10000dd6c
cmp eax, r14d
jne 0x10000d17c
lea r8, [0x100004990]
lea rcx, [0x1000152b8]
mov r9, rbx
mov edx, 0x2000000
call fcn.10000c95c
lea ecx, [r14 + 3]
jmp 0x10000d3c1
mov r15d, 1
lea r8, [rsp + 0x44]
lea rcx, [0x100004a18]
mov edx, r15d
call fcn.10000e31c
lea r8, [rsp + 0x40]
lea rcx, [0x100004a40]
mov edx, r15d
mov r12d, eax
call fcn.10000e31c
mov r13d, eax
mov ecx, ebp
add ebp, r15d
cmp ecx, r14d
jbe 0x10000d1e9
call sub.KERNEL32.dll_GetLastError
lea r8, [0x100004a70]
lea rcx, [0x1000152b8]
mov r9, rbx
mov edx, 0x4000000
mov dword [rsp + 0x20], eax
call fcn.10000c95c
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
xor edx, edx
lea rcx, [rsp + 0x4c]
lea r8d, [rdx + 0x1c]
call sub.msvcrt.dll_memset
lea r9, [rsp + 0x48]
lea r8, [0x10000d054]
lea rdx, [0x10000cf18]
mov rcx, rbx
mov dword [rsp + 0x48], r14d
mov dword [rsp + 0x4c], r14d
mov dword [rsp + 0x50], r14d
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x58], r14
mov dword [rsp + 0x20], r15d
call fcn.10000cb60
mov rcx, rbx
mov esi, eax
call fcn.10000dc44
cmp eax, r14d
jne 0x10000d256
add dword [rsp + 0x4c], r15d
cmp dword [rsp + 0x48], r14d
jne 0x10000d256
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x48], eax
cmp dword [rsp + 0x4c], r14d
jbe 0x10000d30c
lea rcx, [rsp + 0x74]
xor edx, edx
mov r8d, 0x204
mov dword [rsp + 0x70], r14d
call sub.msvcrt.dll_memset
lea rdx, [rsp + 0x70]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
cmp eax, r14d
jne 0x10000d298
movzx ecx, r14w
mov word [rsp + 0x70], cx
jmp 0x10000d29d
mov cx, word [rsp + 0x70]
mov r9d, dword [rsp + 0x4c]
cmp r14w, cx
lea rdx, [0x100004848]
lea rax, [rsp + 0x70]
lea rcx, [0x100004488]
lea r8, [0x100004870]
cmove rax, rdx
lea rdx, [0x100004864]
cmp r9d, r15d
mov qword [rsp + 0x38], rax
mov eax, dword [rsp + 0x48]
cmovne rcx, rdx
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rcx
lea rcx, [0x1000152b8]
mov edx, 0x4000000
call fcn.10000c95c
mov ecx, dword [rsp + 0x48]
cmp ecx, r14d
je 0x10000d309
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov esi, r14d
cmp esi, r15d
je 0x10000d316
cmp edi, r14d
jne 0x10000d31d
call sub.KERNEL32.dll_GetLastError
mov edi, eax
cmp esi, r14d
jne 0x10000d35e
cmp ebp, 3
jae 0x10000d33b
cmp edi, 0x4c7
je 0x10000d33b
cmp edi, 0x800704c7
jne 0x10000d1b0
lea r8, [0x100004af0]
lea rcx, [0x1000152b8]
mov r9, rbx
mov edx, 0x2000000
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], ebp
call fcn.10000c95c
cmp r12d, r15d
jne 0x10000d37b
cmp dword [rsp + 0x44], r14d
jne 0x10000d37b
lea rcx, [0x100004a18]
xor r8d, r8d
xor edx, edx
call fcn.10000e31c
cmp r13d, r15d
jne 0x10000d398
cmp dword [rsp + 0x40], r14d
jne 0x10000d398
lea rcx, [0x100004a40]
xor r8d, r8d
xor edx, edx
call fcn.10000e31c
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, esi
jmp 0x10000d3c9
lea r8, [0x100004940]
lea rcx, [0x1000152b8]
mov edx, 0x2000000
call fcn.10000c95c
mov ecx, 0x57
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.10000f390
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret