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

Disassembly:
mov eax, 0x4659ff
call fcn.00452544
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 0x42b39b
mov eax, dword [eax]
movzx ecx, byte [ebp + 0xc]
push ecx
push eax
push str.fs::Action_OpenSaveFile_3289
push str._s__f_s_save_d_
xor ebx, ebx
push ebx
call fcn.00441366
push esi
add edi, 0x28
lea eax, [ebp - 0x2c]
push edi
push eax
call fcn.004187fe
add esp, 0x20
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x14], 0x10
mov eax, dword [ebp - 0x28]
jae 0x42b3d3
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x42b43e
xor esi, esi
push str.__no_file_to_open_save
inc esi
push esi
call fcn.00441366
pop ecx
pop ecx
push 0x471e5a
lea ecx, [ebp - 0x48]
call fcn.0041be0b
push str.The_file_to_be_opened_saved_could_not_be_found_
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 1
call fcn.0041be0b
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.0041b05c
push ebx
push esi
mov ecx, edi
call fcn.0041b05c
push ebx
push esi
jmp 0x42b598
cmp byte [ebp + 0xc], bl
je 0x42b4d9
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 0x42b468
mov eax, dword [eax]
mov edi, 0x104
push edi
push eax
lea eax, [ebp - 0x168]
push eax
call fcn.00450a67
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.004220c9
add esp, 0x20
test eax, eax
je 0x42b595
lea eax, [ebp - 0x168]
push eax
push str.__save_to__s
push ebx
call fcn.00441366
mov eax, dword [ebp - 0x28]
add esp, 0xc
cmp dword [ebp - 0x14], 0x10
jae 0x42b4c4
lea eax, [ebp - 0x28]
push 0xb
lea ecx, [ebp - 0x168]
push ecx
push eax
call dword [sym.imp.KERNEL32.DLL_MoveFileExA]
jmp 0x42b595
lea eax, [ebp - 0x48]
push eax
call fcn.00421fbf
cmp dword [eax + 0x18], 0x10
pop ecx
jb 0x42b4ee
mov eax, dword [eax + 4]
jmp 0x42b4f1
add eax, 4
cmp dword [ebp - 0x14], 0x10
mov ecx, dword [ebp - 0x28]
jae 0x42b4fd
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.0041b05c
cmp edi, 0x20
jbe 0x42b52d
push dword [ebp - 0x10]
lea ecx, [ebp - 0x2c]
call fcn.004214bd
jmp 0x42b595
push edi
push str.__open_fail__err_d
push ebx
call fcn.00441366
add esp, 0xc
push 0x471e5a
lea ecx, [ebp - 0x64]
call fcn.0041be0b
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.0041be0b
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.0041b05c
push ebx
push 1
mov ecx, edi
mov byte [ebp - 4], bl
call fcn.0041b05c
mov ecx, dword [ebp - 0x10]
push 1
push esi
call fcn.0042b372
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.0041b05c
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8