Function at 0x140028fc0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x210]
sub rsp, 0x310
mov rax, qword [0x14002e008]
xor rax, rsp
mov qword [rbp + 0x200], rax
lea rax, [rsp + 0x50]
xor edi, edi
mov r15, r9
mov r14, rcx
mov dword [rsp + 0x38], r8d
mov dword [rbp - 0x20], 0x41
mov qword [rbp - 0x28], rax
mov word [rsp + 0x50], di
call qword [sym.imp.SHLWAPI.dll_PathIsURLW]
test eax, eax
je 0x140029037
cmp r15, r14
je 0x140029030
mov edx, dword [rsp + 0x38]
mov r8, r14
mov rcx, r15
call fcn.140009608
mov esi, edi
jmp 0x140029113
cmp word [r14], di
je 0x140029149
cmp word [r14], 0x5c
je 0x14002905c
cmp word [r14 + 2], 0x3a
je 0x14002905c
cmp word [r14 + 2], 0x7c
jne 0x140029149
mov ebx, 0x104
lea rcx, [rsp + 0x50]
mov edx, ebx
call fcn.14002940c
mov esi, eax
test eax, eax
js 0x140029113
mov rax, qword [rbp - 0x28]
mov ecx, ebx
neg rax
sbb edx, edx
and edx, dword [rbp - 0x20]
mov dword [rsp + 0x30], edx
lea rdx, [rbp - 0x10]
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov edx, dword [rsp + 0x30]
mov rcx, qword [rbp - 0x28]
lea r8, [rbp - 0x10]
mov r9, r14
call fcn.140011294
mov rcx, qword [rbp - 0x28]
lea r8, [rsp + 0x30]
mov rdx, rcx
xor r9d, r9d
call qword [sym.imp.SHLWAPI.dll_UrlCreateFromPathW]
mov esi, eax
cmp eax, 0x80004003
jne 0x1400290ff
mov edx, dword [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.14002940c
mov esi, eax
test eax, eax
js 0x140029113
mov rcx, qword [rbp - 0x28]
lea r8, [rsp + 0x30]
mov rax, rcx
neg rax
sbb edx, edx
xor r9d, r9d
and edx, dword [rbp - 0x20]
mov dword [rsp + 0x30], edx
mov rdx, rcx
call qword [sym.imp.SHLWAPI.dll_UrlCreateFromPathW]
mov esi, eax
test esi, esi
js 0x140029113
mov edx, dword [rsp + 0x38]
mov r8, qword [rbp - 0x28]
mov rcx, r15
call fcn.140009608
lea rcx, [rsp + 0x50]
call fcn.1400294e0
mov eax, esi
mov rcx, qword [rbp + 0x200]
xor rcx, rsp
call fcn.14002ad70
mov rbx, qword [rsp + 0x358]
add rsp, 0x310
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea rcx, [rsp + 0x50]
mov edx, 0x824
call fcn.14002940c
mov esi, eax
test eax, eax
js 0x140029113
mov rdx, qword [rbp - 0x28]
lea r8, [rsp + 0x30]
mov r9d, 2
mov rax, rdx
neg rax
sbb ecx, ecx
and ecx, dword [rbp - 0x20]
mov dword [rsp + 0x30], ecx
mov rcx, r14
call qword [sym.imp.SHLWAPI.dll_UrlApplySchemeW]
mov esi, eax
cmp eax, 1
jne 0x1400290ff
mov r13, qword [rbp - 0x28]
mov rbx, qword [0x1400025a8]
mov rax, r13
mov rcx, rbx
neg rax
sbb r12d, r12d
and r12d, dword [rbp - 0x20]
call qword [0x140031ba0]
lea rdx, [rsp + 0x40]
lea rcx, [0x140009358]
call rbx
mov esi, eax
test eax, eax
js 0x14002920f
mov edx, r12d
mov r8, r14
mov rcx, r13
call fcn.140009608
mov rdi, qword [rsp + 0x40]
mov rax, qword [rdi]
mov rbx, qword [rax + 0x18]
mov rcx, rbx
call qword [0x140031ba0]
mov r8d, r12d
mov rdx, r13
mov rcx, rdi
call rbx
mov rdi, qword [rsp + 0x40]
mov esi, eax
mov rax, qword [rdi]
mov rbx, qword [rax + 0x10]
mov rcx, rbx
call qword [0x140031ba0]
mov rcx, rdi
call rbx
test esi, esi
js 0x14002921c
cmp esi, 1
jne 0x1400290ff
mov rdx, qword [rbp - 0x28]
lea r8, [rsp + 0x30]
mov r9d, 1
mov rax, rdx
neg rax
sbb ecx, ecx
and ecx, dword [rbp - 0x20]
mov dword [rsp + 0x30], ecx
mov rcx, r14
call qword [sym.imp.SHLWAPI.dll_UrlApplySchemeW]
mov esi, eax
cmp eax, 1
jne 0x1400290ff
mov esi, 0x80041001
jmp 0x140029113