Function at 0x559110
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.004e5c71
mov ecx, dword [ebp - 0xc]
cmp dword [ecx + 0x78], 0
je 0x55913d
push str.File_open_dialog
mov ecx, dword [ebp + 8]
call fcn.004dd594
jmp 0x55914a
push str.File_save_dialog
mov ecx, dword [ebp + 8]
call fcn.004dd594
mov ecx, dword [ebp - 0xc]
call fcn.004e549c
mov edx, dword [eax + 4]
push edx
push str._nm_ofn.hwndOwner_
mov ecx, dword [ebp + 8]
call fcn.004dd594
mov ecx, eax
call fcn.004dcc61
mov ecx, dword [ebp - 0xc]
call fcn.004e549c
mov eax, dword [eax + 0x18]
push eax
push str._nm_ofn.nFilterIndex_
mov ecx, dword [ebp + 8]
call fcn.004dd594
mov ecx, eax
call fcn.004e24fe
mov ecx, dword [ebp - 0xc]
call fcn.004e549c
mov ecx, dword [eax + 0x1c]
push ecx
push str._nm_ofn.lpstrFile_
mov ecx, dword [ebp + 8]
call fcn.004dd594
mov ecx, eax
call fcn.004e6725
mov ecx, dword [ebp - 0xc]
call fcn.004e549c
mov edx, dword [eax + 0x20]
push edx
push str._nm_ofn.nMaxFile_
mov ecx, dword [ebp + 8]
call fcn.004dd594
mov ecx, eax
call fcn.004e24fe
mov ecx, dword [ebp - 0xc]
call fcn.004e549c
mov eax, dword [eax + 0x24]
push eax
push str._nm_ofn.lpstrFileTitle_
mov ecx, dword [ebp + 8]
call fcn.004dd594
mov ecx, eax
call fcn.004e6725
mov ecx, dword [ebp - 0xc]
call fcn.004e549c
mov ecx, dword [eax + 0x28]
push ecx
push str._nm_ofn.nMaxFileTitle_
mov ecx, dword [ebp + 8]
call fcn.004dd594
mov ecx, eax
call fcn.004e24fe
mov ecx, dword [ebp - 0xc]
call fcn.004e549c
mov edx, dword [eax + 0x30]
push edx
push str._nm_ofn.lpstrTitle_
mov ecx, dword [ebp + 8]
call fcn.004dd594
mov ecx, eax
call fcn.004e6725
push str._nm_ofn.Flags_
mov ecx, dword [ebp + 8]
call fcn.004dd594
mov ecx, dword [ebp - 0xc]
call fcn.004e549c
mov eax, dword [eax + 0x34]
push eax
mov ecx, dword [ebp + 8]
call fcn.004dfc31
mov ecx, dword [ebp - 0xc]
call fcn.004e549c
mov ecx, dword [eax + 0x3c]
push ecx
push str._nm_ofn.lpstrDefExt_
mov ecx, dword [ebp + 8]
call fcn.004dd594
mov ecx, eax
call fcn.004e6725
mov ecx, dword [ebp - 0xc]
call fcn.004e549c
mov dx, word [eax + 0x38]
push edx
push str._nm_ofn.nFileOffset_
mov ecx, dword [ebp + 8]
call fcn.004dd594
mov ecx, eax
call fcn.004e21b6
mov ecx, dword [ebp - 0xc]
call fcn.004e549c
mov ax, word [eax + 0x3a]
push eax
push str._nm_ofn.nFileExtension_
mov ecx, dword [ebp + 8]
call fcn.004dd594
mov ecx, eax
call fcn.004e21b6
push str._nm_ofn.lpstrFilter_
mov ecx, dword [ebp + 8]
call fcn.004dd594
mov ecx, dword [ebp - 0xc]
call fcn.004e549c
mov ecx, dword [eax + 0xc]
mov dword [ebp - 4], ecx
mov dword [ebp - 8], 0x6e1d68
cmp dword [ebp - 4], 0
je 0x55930c
mov edx, dword [ebp - 4]
movzx eax, word [edx]
test eax, eax
je 0x55930c
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 4]
push edx
mov ecx, dword [ebp + 8]
call fcn.004e6725
mov ecx, eax
call fcn.004e6725
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 4]
lea edx, [ecx + eax*2 + 2]
mov dword [ebp - 4], edx
jmp 0x5592cf
cmp dword [ebp - 4], 0
je 0x55931e
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp + 8]
call fcn.004e6725
push str._nm_ofn.lpstrCustomFilter_
mov ecx, dword [ebp + 8]
call fcn.004dd594
mov ecx, dword [ebp - 0xc]
call fcn.004e549c
mov ecx, dword [eax + 0x10]
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0
je 0x559376
mov edx, dword [ebp - 4]
movzx eax, word [edx]
test eax, eax
je 0x559376
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 4]
push edx
mov ecx, dword [ebp + 8]
call fcn.004e6725
mov ecx, eax
call fcn.004e6725
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 4]
lea edx, [ecx + eax*2 + 2]
mov dword [ebp - 4], edx
jmp 0x559339
cmp dword [ebp - 4], 0
je 0x559388
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp + 8]
call fcn.004e6725
mov ecx, dword [ebp - 0xc]
call fcn.004e549c
cmp dword [eax + 0x44], 0x4db7ad
jne 0x5593a8
push 0x6e1d88
mov ecx, dword [ebp + 8]
call fcn.004dd594
jmp 0x5593b5
push 0x6e1dbc
mov ecx, dword [ebp + 8]
call fcn.004dd594
push 0x6e1df0
mov ecx, dword [ebp + 8]
call fcn.004dd594
mov esp, ebp
pop ebp
ret 4