Function at 0x629b40
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.0052b951
mov ecx, dword [ebp - 0xc]
cmp dword [ecx + 0x78], 0
je 0x629b6d
push str.File_open_dialog
mov ecx, dword [ebp + 8]
call fcn.00522f36
jmp 0x629b7a
push str.File_save_dialog
mov ecx, dword [ebp + 8]
call fcn.00522f36
mov ecx, dword [ebp - 0xc]
call fcn.0052b177
mov edx, dword [eax + 4]
push edx
push str._nm_ofn.hwndOwner_
mov ecx, dword [ebp + 8]
call fcn.00522f36
mov ecx, eax
call fcn.0052277f
mov ecx, dword [ebp - 0xc]
call fcn.0052b177
mov eax, dword [eax + 0x18]
push eax
push str._nm_ofn.nFilterIndex_
mov ecx, dword [ebp + 8]
call fcn.00522f36
mov ecx, eax
call fcn.005280ee
mov ecx, dword [ebp - 0xc]
call fcn.0052b177
mov ecx, dword [eax + 0x1c]
push ecx
push str._nm_ofn.lpstrFile_
mov ecx, dword [ebp + 8]
call fcn.00522f36
mov ecx, eax
call fcn.0052c43c
mov ecx, dword [ebp - 0xc]
call fcn.0052b177
mov edx, dword [eax + 0x20]
push edx
push str._nm_ofn.nMaxFile_
mov ecx, dword [ebp + 8]
call fcn.00522f36
mov ecx, eax
call fcn.005280ee
mov ecx, dword [ebp - 0xc]
call fcn.0052b177
mov eax, dword [eax + 0x24]
push eax
push str._nm_ofn.lpstrFileTitle_
mov ecx, dword [ebp + 8]
call fcn.00522f36
mov ecx, eax
call fcn.0052c43c
mov ecx, dword [ebp - 0xc]
call fcn.0052b177
mov ecx, dword [eax + 0x28]
push ecx
push str._nm_ofn.nMaxFileTitle_
mov ecx, dword [ebp + 8]
call fcn.00522f36
mov ecx, eax
call fcn.005280ee
mov ecx, dword [ebp - 0xc]
call fcn.0052b177
mov edx, dword [eax + 0x30]
push edx
push str._nm_ofn.lpstrTitle_
mov ecx, dword [ebp + 8]
call fcn.00522f36
mov ecx, eax
call fcn.0052c43c
push str._nm_ofn.Flags_
mov ecx, dword [ebp + 8]
call fcn.00522f36
mov ecx, dword [ebp - 0xc]
call fcn.0052b177
mov eax, dword [eax + 0x34]
push eax
mov ecx, dword [ebp + 8]
call fcn.005256eb
mov ecx, dword [ebp - 0xc]
call fcn.0052b177
mov ecx, dword [eax + 0x3c]
push ecx
push str._nm_ofn.lpstrDefExt_
mov ecx, dword [ebp + 8]
call fcn.00522f36
mov ecx, eax
call fcn.0052c43c
mov ecx, dword [ebp - 0xc]
call fcn.0052b177
mov dx, word [eax + 0x38]
push edx
push str._nm_ofn.nFileOffset_
mov ecx, dword [ebp + 8]
call fcn.00522f36
mov ecx, eax
call fcn.00527d6f
mov ecx, dword [ebp - 0xc]
call fcn.0052b177
mov ax, word [eax + 0x3a]
push eax
push str._nm_ofn.nFileExtension_
mov ecx, dword [ebp + 8]
call fcn.00522f36
mov ecx, eax
call fcn.00527d6f
push str._nm_ofn.lpstrFilter_
mov ecx, dword [ebp + 8]
call fcn.00522f36
mov ecx, dword [ebp - 0xc]
call fcn.0052b177
mov ecx, dword [eax + 0xc]
mov dword [ebp - 4], ecx
mov dword [ebp - 8], 0x7c68e0
cmp dword [ebp - 4], 0
je 0x629d3c
mov edx, dword [ebp - 4]
movzx eax, word [edx]
test eax, eax
je 0x629d3c
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 4]
push edx
mov ecx, dword [ebp + 8]
call fcn.0052c43c
mov ecx, eax
call fcn.0052c43c
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 0x629cff
cmp dword [ebp - 4], 0
je 0x629d4e
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp + 8]
call fcn.0052c43c
push str._nm_ofn.lpstrCustomFilter_
mov ecx, dword [ebp + 8]
call fcn.00522f36
mov ecx, dword [ebp - 0xc]
call fcn.0052b177
mov ecx, dword [eax + 0x10]
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0
je 0x629da6
mov edx, dword [ebp - 4]
movzx eax, word [edx]
test eax, eax
je 0x629da6
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 4]
push edx
mov ecx, dword [ebp + 8]
call fcn.0052c43c
mov ecx, eax
call fcn.0052c43c
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 0x629d69
cmp dword [ebp - 4], 0
je 0x629db8
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp + 8]
call fcn.0052c43c
mov ecx, dword [ebp - 0xc]
call fcn.0052b177
cmp dword [eax + 0x44], 0x5217b7
jne 0x629dd8
push 0x7c6900
mov ecx, dword [ebp + 8]
call fcn.00522f36
jmp 0x629de5
push 0x7c6934
mov ecx, dword [ebp + 8]
call fcn.00522f36
push 0x7c6968
mov ecx, dword [ebp + 8]
call fcn.00522f36
mov esp, ebp
pop ebp
ret 4