Function at 0x1400f92c0
Capabilities:
Get common file path

Disassembly:
mov dword [rsp + 8], ecx
push rsi
push rdi
sub rsp, 0x298
lea rax, [rsp + 0x98]
lea rcx, str.Aegina
mov rdi, rax
mov rsi, rcx
mov ecx, 0xe
rep movsb byte [rdi], byte [rsi]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0xc8]
call fcn.1400face0
mov byte [rsp + 0x20], 0x5d
movzx eax, byte [rsp + 0x20]
mov byte [rsp + 0x50], al
cmp byte [rsp + 0x50], 8
je 0x1400f9315
jmp 0x1400f936c
movzx eax, byte [rsp + 0x20]
mov byte [rsp + 0x54], al
cmp byte [rsp + 0x54], 0x55
je 0x1400f9327
jmp 0x1400f935e
mov dword [rsp + 0x2b0], 0x841c
movsx eax, byte [rsp + 0x20]
add eax, 2
mov byte [rsp + 0x20], al
lea r8, [rsp + 0xe0]
lea rdx, [rsp + 0xc8]
lea rcx, [rsp + 0x20]
call sub.gdiplus.dll_GdiplusStartup
mov dword [rsp + 0x38], eax
jmp 0x1400f936a
movsx eax, byte [rsp + 0x20]
sub eax, 0x12
mov byte [rsp + 0x20], al
jmp 0x1400f93e5
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0x48], eax
cmp dword [rsp + 0x48], 0
je 0x1400f9387
cmp dword [rsp + 0x48], 0x66b3
je 0x1400f93c7
jmp 0x1400f93d6
movzx eax, byte [rsp + 0x20]
mov byte [rsp + 0x58], al
cmp byte [rsp + 0x58], 0x35
je 0x1400f9399
jmp 0x1400f93b3
mov ecx, dword [rsp + 0x38]
call fcn.1400f92c0
mov ecx, 0xf1
call qword [sym.imp.KERNEL32.dll_AttachConsole]
mov dword [rsp + 0x60], eax
jmp 0x1400f93c5
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0x64], eax
mov eax, 0x23d
mov word [rsp + 0x24], ax
jmp 0x1400f93d6
movzx eax, word [rsp + 0x24]
and eax, 0x4ba
mov word [rsp + 0x24], ax
lea rax, [rsp + 0x20]
mov qword [rsp + 0x30], rax
mov byte [rsp + 0x28], 0x70
movzx eax, byte [rsp + 0x28]
mov byte [rsp + 0x4c], al
cmp byte [rsp + 0x4c], 0x70
je 0x1400f93fe
cmp byte [rsp + 0x4c], 0xbf
je 0x1400f9428
jmp 0x1400f9462
movzx eax, word [rsp + 0x24]
mov word [rsp + 0x2c], ax
mov rax, qword [rsp + 0x30]
movsx eax, byte [rax]
imul eax, eax, 0x3c
movsx ecx, byte [rsp + 0x20]
cmp eax, ecx
jg 0x1400f9426
mov cx, 0xb9
call fcn.1400fa180
nop
jmp 0x1400f9462
movsx eax, byte [rsp + 0x20]
or eax, 5
mov rcx, qword [rsp + 0x30]
mov byte [rcx], al
lea r9, [rsp + 0x88]
mov r8d, 0xe4
lea rdx, [rsp + 0xc8]
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.KERNEL32.dll_PeekConsoleInputW]
mov dword [rsp + 0x80], eax
movzx eax, word [rsp + 0x24]
cdq
mov ecx, 0x4d7
idiv ecx
movzx ecx, word [rsp + 0x2c]
cmp eax, ecx
jne 0x1400f949c
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0x2b0], eax
mov rax, qword [rsp + 0x30]
movzx r8d, byte [rax]
movzx edx, word [rsp + 0x2c]
movzx ecx, byte [rsp + 0x20]
call fcn.1400f90e0
nop
mov dword [rsp + 0x3c], 0x7ea2
movsx eax, byte [rsp + 0x20]
xor eax, 0x16
mov rcx, qword [rsp + 0x30]
movsx ecx, byte [rcx]
cmp eax, ecx
je 0x1400f960a
movabs rax, 0x7bb695e9b0a37d
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x90], rax
movabs rax, 0x7bb695e9b0a37d
cmp qword [rsp + 0x90], rax
je 0x1400f94f1
jmp 0x1400f95cf
lea rax, [rsp + 0x78]
mov qword [rsp + 0xa8], rax
movzx eax, word [rsp + 0x2c]
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0x23d
je 0x1400f958a
cmp dword [rsp + 0x44], 0xfbf
je 0x1400f9520
jmp 0x1400f95cd
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax]
mov byte [rsp + 0x5c], al
cmp byte [rsp + 0x5c], 0x62
je 0x1400f9535
jmp 0x1400f9558
lea rcx, [rsp + 0x1f0]
call qword [sym.imp.COMDLG32.dll_GetSaveFileNameW]
mov dword [rsp + 0x60], eax
movsx eax, byte [rsp + 0x20]
sub eax, 0x5f
mov rcx, qword [rsp + 0x30]
mov byte [rcx], al
jmp 0x1400f9588
movzx eax, word [rsp + 0x24]
sub eax, 0x172
mov word [rsp + 0x2c], ax
lea rcx, [rsp + 0x170]
call qword [sym.imp.COMDLG32.dll_PageSetupDlgW]
mov dword [rsp + 0x68], eax
movsx eax, byte [rsp + 0x20]
add eax, 0x69
mov rcx, qword [rsp + 0x30]
mov byte [rcx], al
jmp 0x1400f95cd
mov eax, 0x19e
mov word [rsp + 0x40], ax
lea rax, [rsp + 0x28]
mov qword [rsp + 0xb0], rax
movzx eax, word [rsp + 0x40]
mov word [rsp + 0x70], ax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0xb8], rax
lea rax, [rsp + 0x3c]
mov qword [rsp + 0xc0], rax
mov eax, dword [rsp + 0x64]
mov dword [rsp + 0x6c], eax
jmp 0x1400f95da
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0x2b0], eax
lea rcx, [rsp + 0xf0]
call qword [sym.imp.COMDLG32.dll_PrintDlgW]
mov dword [rsp + 0x68], eax
mov eax, dword [rsp + 0x3c]
and eax, 0x4426
mov dword [rsp + 0x3c], eax
movsx eax, byte [rsp + 0x20]
add eax, 0xf
mov rcx, qword [rsp + 0x30]
mov byte [rcx], al
jmp 0x1400f9632
cmp dword [rsp + 0x3c], 0x3939
jge 0x1400f9632
mov rax, qword [rsp + 0x30]
movsx eax, byte [rax]
add eax, 0x6d
mov byte [rsp + 0x20], al
movsx eax, byte [rsp + 0x20]
sub eax, 0x54
mov rcx, qword [rsp + 0x30]
mov byte [rcx], al
movzx eax, word [rsp + 0x2c]
shl eax, 8
mov word [rsp + 0x24], ax
lea rdx, [rsp + 0x98]
mov ecx, 0x66
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov dword [rsp + 0x6c], eax
movsx eax, byte [rsp + 0x20]
sar eax, 7
mov rcx, qword [rsp + 0x30]
mov byte [rcx], al
mov rax, qword [rsp + 0x30]
movzx edx, byte [rax]
movzx ecx, word [rsp + 0x24]
call fcn.1400fa6b0
mov eax, 0xe4
add rsp, 0x298
pop rdi
pop rsi
ret