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

Disassembly:
mov eax, 0x45ab75
call fcn.004485c4
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 0x424ffb
mov eax, dword [eax]
movzx ecx, byte [ebp + 0xc]
push ecx
push eax
push str.fs::Action_OpenSaveFile_2827
push str._s__f_s_save_d_
xor ebx, ebx
push ebx
call fcn.00437bbc
push esi
add edi, 0x28
lea eax, [ebp - 0x2c]
push edi
push eax
call fcn.00415459
add esp, 0x20
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x14], 0x10
mov eax, dword [ebp - 0x28]
jae 0x425033
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x42509e
xor esi, esi
push str.__no_file_to_open_save
inc esi
push esi
call fcn.00437bbc
pop ecx
pop ecx
push 0x465cf2
lea ecx, [ebp - 0x48]
call fcn.00418739
push str.The_file_to_be_opened_saved_could_not_be_found_
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 1
call fcn.00418739
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.00407c9a
push ebx
push esi
lea ecx, [ebp - 0x64]
call fcn.00417a85
push ebx
push esi
mov ecx, edi
call fcn.00417a85
push ebx
push esi
jmp 0x4251f8
cmp byte [ebp + 0xc], bl
je 0x425139
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 0x4250c8
mov eax, dword [eax]
mov edi, 0x104
push edi
push eax
lea eax, [ebp - 0x168]
push eax
call fcn.0044680d
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.0041cdb4
add esp, 0x20
test eax, eax
je 0x4251f5
lea eax, [ebp - 0x168]
push eax
push str.__save_to__s
push ebx
call fcn.00437bbc
mov eax, dword [ebp - 0x28]
add esp, 0xc
cmp dword [ebp - 0x14], 0x10
jae 0x425124
lea eax, [ebp - 0x28]
push 0xb
lea ecx, [ebp - 0x168]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
jmp 0x4251f5
lea eax, [ebp - 0x48]
push eax
call fcn.0041ccbe
cmp dword [eax + 0x18], 0x10
pop ecx
jb 0x42514e
mov eax, dword [eax + 4]
jmp 0x425151
add eax, 4
cmp dword [ebp - 0x14], 0x10
mov ecx, dword [ebp - 0x28]
jae 0x42515d
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.00417a85
cmp edi, 0x20
jbe 0x42518d
push dword [ebp - 0x10]
lea ecx, [ebp - 0x2c]
call fcn.0041c353
jmp 0x4251f5
push edi
push str.__open_fail__err_d
push ebx
call fcn.00437bbc
add esp, 0xc
push 0x465cf2
lea ecx, [ebp - 0x64]
call fcn.00418739
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.00418739
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.00407c9a
push ebx
push 1
lea ecx, [ebp - 0x48]
call fcn.00417a85
push ebx
push 1
mov ecx, edi
mov byte [ebp - 4], bl
call fcn.00417a85
mov ecx, dword [ebp - 0x10]
push 1
push esi
call fcn.00424fd2
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.00417a85
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8