Function at 0x1800032fc
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rbp
push rdi
push r13
push r14
push r15
lea rbp, [rax - 0xb8]
sub rsp, 0x190
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x180014008]
xor rax, rsp
mov qword [rbp + 0x80], rax
mov r15, r8
mov rbx, rdx
mov rcx, rdx
call fcn.180003748
mov edi, eax
and dword [rsp + 0x30], 0
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.18000377c
movsxd r8, dword [rsp + 0x30]
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.1800036bc
nop
mov edx, 0x400000
mov rcx, r15
call fcn.180003910
mov dword [r15 + 0x18], 0x16
mov edx, edi
mov rcx, r15
call fcn.1800039a8
lea r13, [0x1800104f0]
mov qword [rsp + 0x38], r13
mov ecx, 0x25
call fcn.180002e38
mov byte [rsp + 0x68], al
mov ecx, 0x5c
call fcn.180002e38
mov byte [rsp + 0x69], al
xor eax, eax
mov dword [rsp + 0x6a], eax
mov word [rsp + 0x6e], ax
lea rax, [rsp + 0x68]
or r14, 0xffffffffffffffff
mov r8, r14
inc r8
cmp byte [rax + r8], 0
jne 0x1800033ca
lea rdx, [rsp + 0x68]
mov rbx, qword [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.msvcrt.dll_strncmp]
test eax, eax
jne 0x1800034b6
mov edi, 0x104
mov r8d, edi
xor edx, edx
lea rcx, [rsp + 0x70]
call sub.msvcrt.dll_memset
lea rdx, [rsp + 0x70]
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea rax, [rsp + 0x70]
mov rdi, r14
inc rdi
cmp byte [rax + rdi], 0
jne 0x180003418
test rdi, rdi
je 0x180003449
lea rcx, [rdi + 1]
call qword [sym.imp.msvcrt.dll_malloc]
mov rsi, rax
mov r8, rdi
lea rdx, [rsp + 0x70]
mov rcx, rax
call sub.msvcrt.dll_memcpy
mov byte [rsi + rdi], 0
jmp 0x180003453
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x38]
test rbx, rbx
je 0x180003481
mov r8, qword [rsp + 0x48]
test r8, r8
je 0x180003481
xor edx, edx
mov rcx, rbx
call sub.msvcrt.dll_memset
mov rcx, rbx
call qword [sym.imp.msvcrt.dll_free]
and qword [rsp + 0x40], 0
and qword [rsp + 0x48], 0
mov r8, rdi
mov rdx, rsi
lea rcx, [rsp + 0x40]
call fcn.1800036bc
test rsi, rsi
je 0x1800034b1
test rdi, rdi
je 0x1800034b1
mov r8, rdi
xor edx, edx
mov rcx, rsi
call sub.msvcrt.dll_memset
mov rcx, rsi
call qword [sym.imp.msvcrt.dll_free]
mov rbx, qword [rsp + 0x40]
mov rax, r14
inc rax
cmp byte [rbx + rax], 0
jne 0x1800034b9
mov r8d, eax
mov rdx, rbx
mov rcx, r15
call fcn.180003964
mov r8d, 1
lea rdx, [0x18001039c]
mov rcx, r15
call fcn.180003964
lea rax, [0x180010518]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], r15
lea r9, [rsp + 0x50]
xor r8d, r8d
mov rdx, rbx
lea rcx, [rsp + 0x38]
call fcn.180003cd8
nop
test eax, eax
je 0x18000352f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov qword [rsp + 0x20], rbx
xor r9d, r9d
mov r8d, eax
lea edx, [r9 + 0x34]
mov rcx, r15
call fcn.180003a70
jmp 0x180003532
xor r14d, r14d
mov qword [rsp + 0x38], r13
test rbx, rbx
je 0x180003559
mov r8, qword [rsp + 0x48]
test r8, r8
je 0x180003559
xor edx, edx
mov rcx, rbx
call sub.msvcrt.dll_memset
mov rcx, rbx
call qword [sym.imp.msvcrt.dll_free]
mov eax, r14d
mov rcx, qword [rbp + 0x80]
xor rcx, rsp
call fcn.18000e460
lea r11, [rsp + 0x190]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop rdi
pop rbp
ret