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

Disassembly:
mov eax, 0x465f6f
call fcn.00452ab4
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 0x42b907
mov eax, dword [eax]
movzx ecx, byte [ebp + 0xc]
push ecx
push eax
push str.fs::Action_OpenSaveFile_3308
push str._s__f_s_save_d_
xor ebx, ebx
push ebx
call fcn.004418d2
push esi
add edi, 0x28
lea eax, [ebp - 0x2c]
push edi
push eax
call fcn.00418bb5
add esp, 0x20
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x14], 0x10
mov eax, dword [ebp - 0x28]
jae 0x42b93f
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x42b9aa
xor esi, esi
push str.__no_file_to_open_save
inc esi
push esi
call fcn.004418d2
pop ecx
pop ecx
push 0x472e5a
lea ecx, [ebp - 0x48]
call fcn.0041c1c2
push str.The_file_to_be_opened_saved_could_not_be_found_
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 1
call fcn.0041c1c2
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.00409d02
push ebx
push esi
lea ecx, [ebp - 0x64]
call fcn.0041b413
push ebx
push esi
mov ecx, edi
call fcn.0041b413
push ebx
push esi
jmp 0x42bb04
cmp byte [ebp + 0xc], bl
je 0x42ba45
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 0x42b9d4
mov eax, dword [eax]
mov edi, 0x104
push edi
push eax
lea eax, [ebp - 0x168]
push eax
call fcn.00450fd7
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.00422480
add esp, 0x20
test eax, eax
je 0x42bb01
lea eax, [ebp - 0x168]
push eax
push str.__save_to__s
push ebx
call fcn.004418d2
mov eax, dword [ebp - 0x28]
add esp, 0xc
cmp dword [ebp - 0x14], 0x10
jae 0x42ba30
lea eax, [ebp - 0x28]
push 0xb
lea ecx, [ebp - 0x168]
push ecx
push eax
call dword [sym.imp.KERNEL32.DLL_MoveFileExA]
jmp 0x42bb01
lea eax, [ebp - 0x48]
push eax
call fcn.00422376
cmp dword [eax + 0x18], 0x10
pop ecx
jb 0x42ba5a
mov eax, dword [eax + 4]
jmp 0x42ba5d
add eax, 4
cmp dword [ebp - 0x14], 0x10
mov ecx, dword [ebp - 0x28]
jae 0x42ba69
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.0041b413
cmp edi, 0x20
jbe 0x42ba99
push dword [ebp - 0x10]
lea ecx, [ebp - 0x2c]
call fcn.00421874
jmp 0x42bb01
push edi
push str.__open_fail__err_d
push ebx
call fcn.004418d2
add esp, 0xc
push 0x472e5a
lea ecx, [ebp - 0x64]
call fcn.0041c1c2
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.0041c1c2
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.00409d02
push ebx
push 1
lea ecx, [ebp - 0x48]
call fcn.0041b413
push ebx
push 1
mov ecx, edi
mov byte [ebp - 4], bl
call fcn.0041b413
mov ecx, dword [ebp - 0x10]
push 1
push esi
call fcn.0042b8de
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.0041b413
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8