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

Disassembly:
mov eax, 0x46469d
call fcn.00451324
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 0x42a932
mov eax, dword [eax]
movzx ecx, byte [ebp + 0xc]
push ecx
push eax
push str.fs::Action_OpenSaveFile_3135
push str._s__f_s_save_d_
xor ebx, ebx
push ebx
call fcn.0043fb8a
push esi
add edi, 0x28
lea eax, [ebp - 0x2c]
push edi
push eax
call fcn.0041801e
add esp, 0x20
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x14], 0x10
mov eax, dword [ebp - 0x28]
jae 0x42a96a
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x42a9d5
xor esi, esi
push str.__no_file_to_open_save
inc esi
push esi
call fcn.0043fb8a
pop ecx
pop ecx
push 0x470e4a
lea ecx, [ebp - 0x48]
call fcn.0041b5d0
push str.The_file_to_be_opened_saved_could_not_be_found_
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 1
call fcn.0041b5d0
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.00409701
push ebx
push esi
lea ecx, [ebp - 0x64]
call fcn.0041a87c
push ebx
push esi
mov ecx, edi
call fcn.0041a87c
push ebx
push esi
jmp 0x42ab2f
cmp byte [ebp + 0xc], bl
je 0x42aa70
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 0x42a9ff
mov eax, dword [eax]
mov edi, 0x104
push edi
push eax
lea eax, [ebp - 0x168]
push eax
call fcn.0044f6bd
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.004216cf
add esp, 0x20
test eax, eax
je 0x42ab2c
lea eax, [ebp - 0x168]
push eax
push str.__save_to__s
push ebx
call fcn.0043fb8a
mov eax, dword [ebp - 0x28]
add esp, 0xc
cmp dword [ebp - 0x14], 0x10
jae 0x42aa5b
lea eax, [ebp - 0x28]
push 0xb
lea ecx, [ebp - 0x168]
push ecx
push eax
call dword [sym.imp.KERNEL32.DLL_MoveFileExA]
jmp 0x42ab2c
lea eax, [ebp - 0x48]
push eax
call fcn.004215c5
cmp dword [eax + 0x18], 0x10
pop ecx
jb 0x42aa85
mov eax, dword [eax + 4]
jmp 0x42aa88
add eax, 4
cmp dword [ebp - 0x14], 0x10
mov ecx, dword [ebp - 0x28]
jae 0x42aa94
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.0041a87c
cmp edi, 0x20
jbe 0x42aac4
push dword [ebp - 0x10]
lea ecx, [ebp - 0x2c]
call fcn.00420ac3
jmp 0x42ab2c
push edi
push str.__open_fail__err_d
push ebx
call fcn.0043fb8a
add esp, 0xc
push 0x470e4a
lea ecx, [ebp - 0x64]
call fcn.0041b5d0
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.0041b5d0
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.00409701
push ebx
push 1
lea ecx, [ebp - 0x48]
call fcn.0041a87c
push ebx
push 1
mov ecx, edi
mov byte [ebp - 4], bl
call fcn.0041a87c
mov ecx, dword [ebp - 0x10]
push 1
push esi
call fcn.0042a909
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.0041a87c
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8