Function at 0x4276fd
Capabilities:
Check if file exists
Create process on windows
Move file

Disassembly:
mov eax, 0x45da9c
call fcn.0044b154
sub esp, 0x15c
push ebx
push esi
mov esi, dword [ebp + 8]
cmp dword [esi + 0x18], 0x10
push edi
mov edi, ecx
lea eax, [esi + 4]
mov dword [ebp - 0x10], edi
mov dword [ebp + 8], eax
jb 0x427726
mov eax, dword [eax]
movzx ecx, byte [ebp + 0xc]
push ecx
push eax
push str.fs::Action_OpenSaveFile_2888
push str._s__f_s_save_d_
xor ebx, ebx
push ebx
call fcn.0043a6e3
push esi
add edi, 0x28
lea eax, [ebp - 0x2c]
push edi
push eax
call fcn.00416a8f
add esp, 0x20
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x14], 0x10
mov eax, dword [ebp - 0x28]
jae 0x42775e
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x4277c9
xor esi, esi
push str.__no_file_to_open_save
inc esi
push esi
call fcn.0043a6e3
pop ecx
pop ecx
push 0x468d4a
lea ecx, [ebp - 0x48]
call fcn.00419fe3
push str.The_file_to_be_opened_saved_could_not_be_found_
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 1
call fcn.00419fe3
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x64]
push eax
push 0x30
mov byte [ebp - 4], 2
mov ecx, dword [ecx]
lea edi, [ebp - 0x48]
pop eax
call fcn.00408d63
push ebx
push esi
lea ecx, [ebp - 0x64]
call fcn.004192fd
push ebx
push esi
mov ecx, edi
call fcn.004192fd
push ebx
push esi
jmp 0x427923
cmp byte [ebp + 0xc], bl
je 0x427864
xor eax, eax
cmp dword [esi + 0x18], 0x10
push 0x40
mov byte [ebp - 0x168], bl
pop ecx
lea edi, [ebp - 0x167]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [ebp + 8]
jb 0x4277f3
mov eax, dword [eax]
mov edi, 0x104
push edi
push eax
lea eax, [ebp - 0x168]
push eax
call fcn.0044948d
push 1
push str.All_files__._
push edi
lea eax, [ebp - 0x168]
push eax
push ebx
mov edi, str.Save_as...
mov byte [ebp - 0x65], bl
call fcn.0041ef81
add esp, 0x20
test eax, eax
je 0x427920
lea eax, [ebp - 0x168]
push eax
push str.__save_to__s
push ebx
call fcn.0043a6e3
mov eax, dword [ebp - 0x28]
add esp, 0xc
cmp dword [ebp - 0x14], 0x10
jae 0x42784f
lea eax, [ebp - 0x28]
push 0xb
lea ecx, [ebp - 0x168]
push ecx
push eax
call dword [sym.imp.KERNEL32.DLL_MoveFileExA]
jmp 0x427920
lea eax, [ebp - 0x48]
push eax
call fcn.0041ee8b
cmp dword [eax + 0x18], 0x10
pop ecx
jb 0x427879
mov eax, dword [eax + 4]
jmp 0x42787c
add eax, 4
cmp dword [ebp - 0x14], 0x10
mov ecx, dword [ebp - 0x28]
jae 0x427888
lea ecx, [ebp - 0x28]
push 1
push eax
push ebx
push ecx
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
push ebx
push 1
lea ecx, [ebp - 0x48]
mov edi, eax
call fcn.004192fd
cmp edi, 0x20
jbe 0x4278b8
push dword [ebp - 0x10]
lea ecx, [ebp - 0x2c]
call fcn.0041e4f2
jmp 0x427920
push edi
push str.__open_fail__err_d
push ebx
call fcn.0043a6e3
add esp, 0xc
push 0x468d4a
lea ecx, [ebp - 0x64]
call fcn.00419fe3
push str.A_program_associated_with_this_file_extension_could_not_be_found._n_nPlease_click_to__Save_As_.
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 3
call fcn.00419fe3
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x48]
push eax
push 0x40
mov byte [ebp - 4], 4
mov ecx, dword [ecx]
lea edi, [ebp - 0x64]
pop eax
call fcn.00408d63
push ebx
push 1
lea ecx, [ebp - 0x48]
call fcn.004192fd
push ebx
push 1
mov ecx, edi
mov byte [ebp - 4], bl
call fcn.004192fd
mov ecx, dword [ebp - 0x10]
push 1
push esi
call fcn.004276fd
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.004192fd
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8