Function at 0x14001aa10
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], r9
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x530]
sub rsp, 0x630
mov r15, r9
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
xor r13d, r13d
mov r12, qword [rbp + 0x5b0]
mov byte [r12], r13b
lea rcx, [rbp - 0x60]
call fcn.1400179d8
nop
lea rax, [0x14005a430]
mov qword [rbp - 0x60], rax
mov qword [rbp + 0x260], r13
mov qword [rbp + 0x268], r13
lea rax, [rbp + 0x270]
mov qword [rbp + 0x5b0], rax
lea rax, [rbp + 0x270]
mov qword [rbp + 0x570], rax
lea rcx, [rbp + 0x270]
call fcn.140002ca8
nop
lea rcx, [rbp + 0x280]
call fcn.140002ca8
nop
lea rax, [rbp + 0x290]
mov qword [rbp + 0x570], rax
lea rcx, [rbp + 0x290]
call fcn.140002ca8
nop
lea rcx, [rbp + 0x2a0]
call fcn.140002ca8
nop
mov r14d, 0x80004005
mov dword [rbp + 0x2b0], r14d
mov byte [rbp + 0x2b4], r13b
lea rax, [0x14005a340]
mov qword [rbp - 0x60], rax
mov qword [rbp + 0x2f8], r13
lea rcx, [rbp + 0x300]
call fcn.140002ca8
mov qword [rbp + 0x310], r13
mov qword [rbp + 0x318], r13
mov qword [rbp + 0x2b8], rbx
mov qword [rbp + 0x2c8], rdi
mov qword [rbp + 0x2d0], rsi
mov rbx, qword [rbp + 0x5a0]
mov al, byte [rbx + 0x4b]
lea edi, [r13 + 1]
mov r13, qword [rbp + 0x590]
xor esi, esi
test al, al
jne 0x14001ad4f
lea r15, [rbx + 0x18]
mov rdx, r15
lea rcx, [rsp + 0x40]
call fcn.140002da8
nop
cmp dword [rsp + 0x48], esi
jne 0x14001ab91
mov dword [rsp + 0x48], esi
mov rax, qword [rsp + 0x40]
mov word [rax], si
mov word [rbp + 0x320], si
lea rdx, [rbp + 0x320]
mov ecx, 0x105
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea rdx, [rbp + 0x320]
lea rcx, [rsp + 0x40]
call fcn.140002de4
cmp byte [rbp + 0x5a8], sil
je 0x14001acf6
mov qword [rsp + 0x58], rsi
lea rax, [0x14005a3c0]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x60], rsi
lea rcx, [rsp + 0x70]
call fcn.140002ca8
nop
lea rcx, [rbp - 0x80]
call fcn.140002ca8
mov word [rbp - 0x70], si
mov word [rbp - 0x64], 1
lea rcx, [rsp + 0x30]
call fcn.140002ca8
nop
lea r8, [rsp + 0x30]
mov rsi, qword [rsp + 0x40]
mov rdx, rsi
xor ecx, ecx
call fcn.1400056a4
test al, al
jne 0x14001ac17
mov r9d, 0x10
lea r8, str.7_Zip_Zstandard
lea rdx, str.Incorrect_output_directory_path
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
mov byte [r12], dil
jmp 0x14001ac96
lea rcx, [rsp + 0x30]
call fcn.1400050cc
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x70]
call fcn.140002e78
mov eax, dword [rbx + 0xc]
mov dword [rbp - 0x68], eax
mov al, byte [rbx + 5]
mov byte [rbp - 0x6f], al
mov eax, dword [rbx + 8]
mov dword [rbp - 0x6c], eax
mov al, byte [rbx + 4]
mov byte [rbp - 0x70], al
movzx eax, word [rbx]
mov word [rbp - 0x64], ax
cmp dword [r13 + 8], edi
jne 0x14001ac65
mov rax, qword [r13]
mov rdx, qword [rax]
lea rcx, [rbp - 0x80]
call fcn.140002e78
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea r9, [0x14000628c]
xor r8d, r8d
mov edx, 0xd48
mov rcx, qword [0x140065df8]
call qword [sym.imp.USER32.dll_DialogBoxParamW]
cmp rax, rdi
je 0x14001acb6
mov r14d, 0x80004004
mov rcx, qword [rsp + 0x30]
call fcn.14003d378
nop
mov rcx, qword [rbp - 0x80]
call fcn.14003d378
mov rcx, qword [rsp + 0x70]
call fcn.14003d378
jmp 0x14001ad2c
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x40]
call fcn.140002e78
mov eax, dword [rbp - 0x68]
mov dword [rbx + 0xc], eax
mov eax, dword [rbp - 0x6c]
mov dword [rbx + 8], eax
movzx eax, word [rbp - 0x64]
mov word [rbx], ax
mov rcx, qword [rsp + 0x30]
call fcn.14003d378
nop
mov rcx, qword [rbp - 0x80]
call fcn.14003d378
mov rcx, qword [rsp + 0x70]
call fcn.14003d378
mov r8, r15
mov rsi, qword [rsp + 0x40]
mov rdx, rsi
xor ecx, ecx
call fcn.1400056a4
test al, al
jne 0x14001ad34
mov r9d, 0x10
lea r8, str.7_Zip_Zstandard
lea rdx, str.Incorrect_output_directory_path
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
mov byte [r12], dil
mov rcx, rsi
jmp 0x14001ae8b
mov rcx, r15
call fcn.1400050cc
nop
mov rcx, rsi
call fcn.14003d378
mov al, byte [rbx + 0x4b]
mov r15, qword [rbp + 0x588]
neg al
sbb edx, edx
and edx, 2
add edx, 0xce4
lea rcx, [rsp + 0x30]
call fcn.140005f28
nop
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0x300]
call fcn.140002e78
mov rsi, qword [rbp + 0x5b8]
mov qword [rbp + 0x2c0], rsi
lea rax, [rbp - 0x60]
mov qword [rsi + 0x80], rax
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + VariantCopy]
mov rcx, qword [rbp + 0x2f8]
test rcx, rcx
je 0x14001adac
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rbp + 0x2f8], rsi
mov rcx, qword [rbp + 0x2c0]
call fcn.140015e74
xor esi, esi
mov byte [rbp + 0x250], sil
mov qword [rbp + 0x2d8], r15
mov qword [rbp + 0x2e0], r13
mov rax, qword [rbp + 0x598]
mov qword [rbp + 0x2e8], rax
mov qword [rbp + 0x2f0], rbx
mov dword [rbp + 0x254], edi
mov qword [rbp + 0x5b0], rsi
lea r8, [rbp - 0x60]
lea rdx, [0x140019f3c]
lea rcx, [rbp + 0x5b0]
call fcn.14002c720
mov r14d, eax
test eax, eax
je 0x14001ae34
mov rcx, qword [rbp + 0x5b0]
test rcx, rcx
je 0x14001ae86
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x14001ae86
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x14001ae86
lea r8, [rbp + 0x5b0]
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x60]
call fcn.14001912c
nop
mov rcx, qword [rbp + 0x5b0]
test rcx, rcx
je 0x14001ae66
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x14001ae66
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp byte [rbp + 0x2b4], sil
je 0x14001ae78
cmp byte [rbp + 0x253], sil
jne 0x14001ae7b
mov dil, sil
mov byte [r12], dil
mov r14d, dword [rbp + 0x2b0]
mov rcx, qword [rsp + 0x30]
call fcn.14003d378
nop
lea rcx, [rbp - 0x60]
call fcn.14001aeb8
mov eax, r14d
mov rbx, qword [rsp + 0x678]
add rsp, 0x630
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret