Function at 0x4d7130
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0xc]
call fcn.00487330
mov ecx, dword [ebp - 0xc]
cmp dword [ecx + 0x78], 0
je 0x4d715d
push str.File_open_dialog
mov ecx, dword [ebp + 8]
call fcn.004c6870
jmp 0x4d716a
push str.File_save_dialog
mov ecx, dword [ebp + 8]
call fcn.004c6870
mov ecx, dword [ebp - 0xc]
call fcn.004d5e30
mov edx, dword [eax + 4]
push edx
push str._nm_ofn.hwndOwner_
mov ecx, dword [ebp + 8]
call fcn.004c6870
mov ecx, eax
call fcn.004c65f0
mov ecx, dword [ebp - 0xc]
call fcn.004d5e30
mov eax, dword [eax + 0x18]
push eax
push str._nm_ofn.nFilterIndex_
mov ecx, dword [ebp + 8]
call fcn.004c6870
mov ecx, eax
call fcn.004c6270
mov ecx, dword [ebp - 0xc]
call fcn.004d5e30
mov ecx, dword [eax + 0x1c]
push ecx
push str._nm_ofn.lpstrFile_
mov ecx, dword [ebp + 8]
call fcn.004c6870
mov ecx, eax
call fcn.004c5f40
mov ecx, dword [ebp - 0xc]
call fcn.004d5e30
mov edx, dword [eax + 0x20]
push edx
push str._nm_ofn.nMaxFile_
mov ecx, dword [ebp + 8]
call fcn.004c6870
mov ecx, eax
call fcn.004c6270
mov ecx, dword [ebp - 0xc]
call fcn.004d5e30
mov eax, dword [eax + 0x24]
push eax
push str._nm_ofn.lpstrFileTitle_
mov ecx, dword [ebp + 8]
call fcn.004c6870
mov ecx, eax
call fcn.004c5f40
mov ecx, dword [ebp - 0xc]
call fcn.004d5e30
mov ecx, dword [eax + 0x28]
push ecx
push str._nm_ofn.nMaxFileTitle_
mov ecx, dword [ebp + 8]
call fcn.004c6870
mov ecx, eax
call fcn.004c6270
mov ecx, dword [ebp - 0xc]
call fcn.004d5e30
mov edx, dword [eax + 0x30]
push edx
push str._nm_ofn.lpstrTitle_
mov ecx, dword [ebp + 8]
call fcn.004c6870
mov ecx, eax
call fcn.004c5f40
push str._nm_ofn.Flags_
mov ecx, dword [ebp + 8]
call fcn.004c6870
mov ecx, dword [ebp - 0xc]
call fcn.004d5e30
mov eax, dword [eax + 0x34]
push eax
mov ecx, dword [ebp + 8]
call fcn.004c63b0
mov ecx, dword [ebp - 0xc]
call fcn.004d5e30
mov ecx, dword [eax + 0x3c]
push ecx
push str._nm_ofn.lpstrDefExt_
mov ecx, dword [ebp + 8]
call fcn.004c6870
mov ecx, eax
call fcn.004c5f40
mov ecx, dword [ebp - 0xc]
call fcn.004d5e30
mov dx, word [eax + 0x38]
push edx
push str._nm_ofn.nFileOffset_
mov ecx, dword [ebp + 8]
call fcn.004c6870
mov ecx, eax
call fcn.004c6130
mov ecx, dword [ebp - 0xc]
call fcn.004d5e30
mov ax, word [eax + 0x3a]
push eax
push str._nm_ofn.nFileExtension_
mov ecx, dword [ebp + 8]
call fcn.004c6870
mov ecx, eax
call fcn.004c6130
push str._nm_ofn.lpstrFilter_
mov ecx, dword [ebp + 8]
call fcn.004c6870
mov ecx, dword [ebp - 0xc]
call fcn.004d5e30
mov ecx, dword [eax + 0xc]
mov dword [ebp - 4], ecx
mov dword [ebp - 8], 0x5e91e0
cmp dword [ebp - 4], 0
je 0x4d732c
mov edx, dword [ebp - 4]
movzx eax, word [edx]
test eax, eax
je 0x4d732c
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 4]
push edx
mov ecx, dword [ebp + 8]
call fcn.004c5f40
mov ecx, eax
call fcn.004c5f40
mov eax, dword [ebp - 4]
push eax
call dword [0x6e0074]
mov ecx, dword [ebp - 4]
lea edx, [ecx + eax*2 + 2]
mov dword [ebp - 4], edx
jmp 0x4d72ef
cmp dword [ebp - 4], 0
je 0x4d733e
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp + 8]
call fcn.004c5f40
push str._nm_ofn.lpstrCustomFilter_
mov ecx, dword [ebp + 8]
call fcn.004c6870
mov ecx, dword [ebp - 0xc]
call fcn.004d5e30
mov ecx, dword [eax + 0x10]
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0
je 0x4d7396
mov edx, dword [ebp - 4]
movzx eax, word [edx]
test eax, eax
je 0x4d7396
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 4]
push edx
mov ecx, dword [ebp + 8]
call fcn.004c5f40
mov ecx, eax
call fcn.004c5f40
mov eax, dword [ebp - 4]
push eax
call dword [0x6e0074]
mov ecx, dword [ebp - 4]
lea edx, [ecx + eax*2 + 2]
mov dword [ebp - 4], edx
jmp 0x4d7359
cmp dword [ebp - 4], 0
je 0x4d73a8
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp + 8]
call fcn.004c5f40
mov ecx, dword [ebp - 0xc]
call fcn.004d5e30
cmp dword [eax + 0x44], 0x4d7860
jne 0x4d73c8
push 0x5e9200
mov ecx, dword [ebp + 8]
call fcn.004c6870
jmp 0x4d73d5
push 0x5e9234
mov ecx, dword [ebp + 8]
call fcn.004c6870
push 0x5e9268
mov ecx, dword [ebp + 8]
call fcn.004c6870
mov esp, ebp
pop ebp
ret 4