Function at 0x4bc420
Capabilities:
Get common file path

Disassembly:
sub esp, 0xb00
mov eax, dword [0x5bd254]
xor eax, esp
mov dword [esp + 0xafc], eax
push ebx
mov ebx, dword [esp + 0xb0c]
push ebp
mov ebp, dword [esp + 0xb0c]
push esi
mov esi, dword [esp + 0xb18]
push edi
mov edi, dword [esp + 0xb20]
push edi
push esi
push ebx
push ebp
mov dword [0x6a1278], ebp
call sym.convertifd.exe_IpQHelp
add esp, 0x10
test eax, eax
jne 0x4bcb32
mov eax, ebx
sub eax, 0x4e
je 0x4bcb3c
sub eax, 0xc2
je 0x4bc72d
sub eax, 1
jne case.0x4bc4f1.8927
movzx eax, si
cmp eax, 0x4bb
jg 0x4bc4dc
je 0x4bc4b5
sub eax, 0x491
cmp eax, 0x19
ja case.0x4bc4f1.8927
movzx eax, byte [eax + 0x4bd058]
jmp dword [eax*4 + 0x4bd050]
shr esi, 0x10
cmp esi, 1
jne case.0x4bc4f1.8927
push 0
push ebp
push 0x468
push ebp
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
jmp case.0x4bc4f1.8927
sub eax, 0x22db
cmp eax, 0x1e
ja case.0x4bc4f1.8927
movzx ecx, byte [eax + 0x4bd084]
jmp dword [ecx*4 + 0x4bd074]
shr esi, 0x10
cmp esi, 0x300
jne case.0x4bc4f1.8927
jmp case.0x4bc4f1.8953
push 0x4e1
call sym.convertifd.exe_IpGMessage
add esp, 4
lea edx, [esp + 0x800]
xor ebx, ebx
nop
mov cl, byte [eax]
mov byte [edx], cl
add eax, 1
add edx, 1
test cl, cl
jne 0x4bc520
lea eax, [esp + 0x800]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4bc538
sub eax, edx
push 0x1792
mov esi, eax
call sym.convertifd.exe_IpGMessage
push eax
lea edx, [esp + esi + 0x808]
push str..exe_s.
push edx
call fcn.005135ca
lea eax, [esp + 0x810]
push 0x7c
push eax
call fcn.00513950
add esp, 0x18
cmp eax, ebx
je 0x4bc58c
mov byte [eax], bl
add eax, 1
push 0x7c
push eax
call fcn.00513950
add esp, 8
cmp eax, ebx
jne 0x4bc578
push 0x104
lea ecx, [esp + 0x908]
push ecx
mov byte [esp + 0x4fc], bl
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0x14
push 0x1798
call sym.convertifd.exe_IpGMessage
add esp, 4
push eax
lea edx, [esp + 0x4e8]
push edx
call fcn.00513780
push 0x4c
lea eax, [esp + 0x30]
push ebx
push eax
mov dword [esp + 0x48c], 0x657865
call fcn.00511e90
lea eax, [esp + 0x91c]
lea ecx, [esp + 0x818]
lea edx, [esp + 0x50c]
mov dword [esp + 0x64], eax
add esp, 0x18
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x3c], edx
lea eax, [esp + 0x20]
lea ecx, [esp + 0x4e0]
lea edx, [esp + 0x474]
push eax
mov dword [esp + 0x24], 0x4c
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x3c], 1
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x44], 0x104
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x54], ecx
mov dword [esp + 0x60], edx
mov dword [esp + 0x58], 0x8180c
call dword [sym.imp.comdlg32.dll_GetOpenFileNameA]
cmp eax, ebx
jne 0x4bc667
call dword [sym.imp.comdlg32.dll_CommDlgExtendedError]
jmp case.0x4bc4f1.8927
cmp eax, 1
jne 0x4bc713
push 0x104
lea ecx, [esp + 0xa0c]
push ebx
push ecx
call fcn.00511e90
movzx edx, word [esp + 0x64]
mov eax, dword [esp + 0x48]
sub edx, 1
push edx
push eax
lea ecx, [esp + 0xa1c]
push ecx
call fcn.00513780
mov edx, dword [esp + 0x54]
push 0x2e
push edx
call fcn.00516c60
mov esi, eax
add esp, 0x20
cmp esi, ebx
je 0x4bc6c7
push str..exe
push esi
call fcn.0051e073
add esp, 8
test eax, eax
jne 0x4bc6c7
mov byte [esi], bl
lea eax, [esp + 0x904]
push eax
lea ecx, [esp + 0xa0c]
push ecx
call fcn.0051e073
mov edi, dword [esp + 0x44]
add esp, 8
test eax, eax
jne 0x4bc700
lea eax, [esp + 0x904]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4bc6f1
sub eax, edx
lea esi, [eax + edi + 1]
cmp byte [esi], bl
jne 0x4bc706
mov esi, edi
push esi
push 0x22f9
push ebp
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
push ebx
push ebp
push 0x468
push ebp
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
jmp case.0x4bc4f1.8927
mov edi, ebp
call fcn.004b9500
push 5
lea edx, [esp + 0x470]
push edx
push 0x152
call sym.convertifd.exe_IpGMessage
add esp, 4
push eax
push str.NewlineChar
push 0x580950
call sym.convertifd.exe_GetJetFormIniStr
mov edi, dword [sym.imp.USER32.dll_SetDlgItemTextA]
lea eax, [esp + 0x46c]
push eax
push 0x22de
push ebp
call edi
push 5
lea ecx, [esp + 0x470]
push ecx
push 0x154
call sym.convertifd.exe_IpGMessage
add esp, 4
push eax
push str.FieldChar
push 0x580950
call sym.convertifd.exe_GetJetFormIniStr
lea edx, [esp + 0x46c]
push edx
push 0x22dd
push ebp
call edi
push 5
lea eax, [esp + 0x470]
push eax
push 0x153
call sym.convertifd.exe_IpGMessage
add esp, 4
push eax
push str.PrefixChar
push 0x580950
call sym.convertifd.exe_GetJetFormIniStr
lea ecx, [esp + 0x46c]
push ecx
push 0x22dc
push ebp
call edi
push 5
lea edx, [esp + 0x470]
push edx
push 0x580dd4
push str.UsePrinterTrayNumbers
push 0x582edc
call sym.convertifd.exe_GetJetFormIniStr
lea eax, [esp + 0x46c]
push eax
call sym.convertifd.exe_YesNoCheck
mov esi, dword [sym.imp.USER32.dll_CheckDlgButton]
add esp, 4
push eax
push 0x491
push ebp
call esi
push 0x104
lea ecx, [esp + 0x5fc]
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea edx, [esp + 0x5f8]
push edx
lea eax, [esp + 0x700]
push str._sNotepad.exe
push eax
call fcn.005135ca
add esp, 0xc
push 0x104
lea ecx, [esp + 0x4f8]
push ecx
lea edx, [esp + 0x704]
push edx
push str.ReportProgram
push 0x580950
call sym.convertifd.exe_GetJetFormIniStr
lea eax, [esp + 0x4f4]
push 0x2e
push eax
call fcn.00516c60
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x4bc89c
push str..exe
push ebx
call fcn.0051e073
add esp, 8
test eax, eax
jne 0x4bc89c
mov byte [ebx], al
xor eax, eax
mov edi, edi
mov cl, byte [esp + eax + 0x4f4]
mov byte [esp + eax + 0x6fc], cl
add eax, 1
test cl, cl
jne 0x4bc8a0
lea ecx, [esp + 0x6fc]
push 0x5c
push ecx
call fcn.00516c60
add esp, 8
test eax, eax
je 0x4bc8ce
mov byte [eax], 0
lea edx, [esp + 0x5f8]
push edx
lea eax, [esp + 0x700]
push eax
lea ebx, [esp + 0x4fc]
call fcn.0051e073
add esp, 8
test eax, eax
jne 0x4bc912
lea eax, [esp + 0x5f8]
lea edx, [eax + 1]
jmp 0x4bc900
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4bc900
sub eax, edx
lea ebx, [esp + eax + 0x4f5]
push ebx
push 0x22f9
push ebp
call edi
push 5
lea ecx, [esp + 0x470]
push ecx
push 0x580cbb
push str.Ticket01
push 0x584198
call sym.convertifd.exe_GetJetFormIniStr
xor eax, eax
cmp byte [esp + 0x46c], al
setne al
push eax
push 0x496
push ebp
mov dword [0x607314], eax
call esi
push 5
lea edx, [esp + 0x470]
push edx
push 0x580dd4
push str.AllowSdfFiles
push 0x580950
call sym.convertifd.exe_GetJetFormIniStr
lea eax, [esp + 0x46c]
push eax
call sym.convertifd.exe_YesNoCheck
add esp, 4
push eax
push 0x497
push ebp
call esi
mov eax, dword [0x6a29f4]
push eax
push 0x4aa
push ebp
mov dword [0x607374], eax
call esi
lea ecx, [esp + 0x6c]
push 6
push ecx
call sym.convertifd.exe_CV_GetPrtNameList
mov ebx, eax
lea edx, [esp + 0x74]
push ebx
push edx
call sym.convertifd.exe_CV_SortSymbolSetList
add esp, 0x10
push 4
lea eax, [esp + 0x20]
push eax
push 0x580dd0
push str.FilterSymbolSets
push 0x580950
call sym.convertifd.exe_GetJetFormIniStr
movsx ecx, byte [esp + 0x1c]
push ecx
call fcn.00511e5d
mov edi, dword [sym.imp.USER32.dll_SendDlgItemMessageA]
xor edx, edx
add esp, 4
cmp eax, 0x4e
setne dl
test ebx, ebx
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], edx
jle 0x4bcb0b
mov esi, dword [esp + 0x10]
jmp 0x4bca10
mov eax, dword [esp + esi*4 + 0x6c]
cmp eax, 7
je 0x4bcafc
cmp eax, 0xff
je 0x4bcafc
cmp eax, 6
je 0x4bcafc
call sym.convertifd.exe_CV_GetSystemInputSymbolSet
cmp dword [esp + esi*4 + 0x6c], eax
je 0x4bcafc
cmp dword [esp + 0x14], 0
je 0x4bca6e
call sym.convertifd.exe_CV_GetSystemInputSymbolSet
push eax
call sym.convertifd.exe_CV_IsDBSymSet
add esp, 4
test eax, eax
jne 0x4bca6e
mov eax, dword [esp + esi*4 + 0x6c]
push eax
call sym.convertifd.exe_CV_IsDBSymSet
add esp, 4
test eax, eax
jne 0x4bcafc
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + ecx*4 + 0x6c]
push edx
call sym.convertifd.exe_CV_GetSymName
add esp, 4
push eax
push 0
push 0x180
push 0x4bb
push ebp
call edi
mov esi, eax
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + eax*4 + 0x6c]
push ecx
push esi
push 0x19a
push 0x4bb
push ebp
call edi
mov edx, dword [esp + 0x10]
mov eax, dword [esp + edx*4 + 0x6c]
push eax
lea ecx, [esp + 0x480]
push str.JfSymbolSet__d
push ecx
call fcn.005135ca
add esp, 0xc
push 4
lea edx, [esp + 0x1c]
push edx
push 0x580cbb
lea eax, [esp + 0x488]
push eax
push str.Windows_Fonts
call sym.convertifd.exe_GetJetFormIniStr
test eax, eax
je 0x4bcaf8
push esi
push 1
push 0x185
push 0x4bb
push ebp
call edi
mov esi, dword [esp + 0x10]
add esi, 1
cmp esi, ebx
mov dword [esp + 0x10], esi
jl 0x4bca10
push 0
push 0
push 0x197
push 0x4bb
push ebp
call edi
push 0
push ebp
push 0x46d
push ebp
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, 1
jmp 0x4bd032
mov edi, dword [edi + 8]
cmp edi, 0xffffff35
je 0x4bd025
cmp edi, 0xffffff36
je 0x4bcb74
cmp edi, 0xffffff37
jne case.0x4bc4f1.8927
push 0
push 0
push ebp
call dword [sym.imp.USER32.dll_SetWindowLongA]
mov eax, 1
jmp 0x4bd032
mov ebx, dword [sym.imp.USER32.dll_GetDlgItemTextA]
push 0x104
lea ecx, [esp + 0x4f8]
push ecx
push 0x22f9
push ebp
call ebx
lea edx, [esp + 0x4f4]
push 0x2e
push edx
call fcn.00516c60
add esp, 8
test eax, eax
jne 0x4bcbcb
lea eax, [esp + 0x4f4]
add eax, 0xffffffff
nop
mov cl, byte [eax + 1]
add eax, 1
test cl, cl
jne 0x4bcbb0
mov ecx, dword [str..exe]
mov dl, byte [0x5841ec]
mov dword [eax], ecx
mov byte [eax + 4], dl
push 0x104
lea eax, [esp + 0x5fc]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea ecx, [esp + 0x4f4]
push 0x5c
push ecx
call fcn.00513950
add esp, 8
test eax, eax
je 0x4bcbfe
lea edx, [esp + 0x4f4]
push edx
jmp 0x4bcc62
lea edi, [esp + 0x5f8]
add edi, 0xffffffff
mov al, byte [edi + 1]
add edi, 1
test al, al
jne 0x4bcc08
mov ax, word [0x581fdc]
mov word [edi], ax
lea eax, [esp + 0x4f4]
mov edx, eax
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4bcc24
lea edi, [esp + 0x5f8]
sub eax, edx
add edi, 0xffffffff
lea esp, [esp]
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x4bcc40
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x5f8]
push ecx
push str.ReportProgram
push 0x580950
call sym.convertifd.exe_WriteJetFormIniStr
push 5
lea edx, [esp + 0x470]
push edx
push 0x22de
push ebp
call ebx
lea eax, [esp + 0x46c]
push eax
push str.NewlineChar
push 0x580950
call sym.convertifd.exe_WriteJetFormIniStr
mov al, byte [esp + 0x46c]
mov ecx, dword [0x6a1184]
push 5
lea edx, [esp + 0x470]
push edx
push 0x22dd
mov byte [0x6a1bf8], al
push ebp
mov byte [ecx + 0x98], al
call ebx
lea eax, [esp + 0x46c]
push eax
push str.FieldChar
push 0x580950
call sym.convertifd.exe_WriteJetFormIniStr
mov al, byte [esp + 0x46c]
mov ecx, dword [0x6a1184]
push 5
lea edx, [esp + 0x470]
push edx
push 0x22dc
mov byte [0x6a1bfa], al
push ebp
mov byte [ecx + 0x9a], al
call ebx
lea eax, [esp + 0x46c]
push eax
push str.PrefixChar
push 0x580950
call sym.convertifd.exe_WriteJetFormIniStr
mov al, byte [esp + 0x46c]
mov ecx, dword [0x6a1184]
mov edi, dword [sym.imp.USER32.dll_IsDlgButtonChecked]
push 0x491
mov byte [0x6a1bf9], al
push ebp
mov byte [ecx + 0x99], al
call edi
push eax
call sym.convertifd.exe_CheckYesNo
add esp, 4
push eax
push str.UsePrinterTrayNumbers
push 0x582edc
call sym.convertifd.exe_WriteJetFormIniStr
push 0x4aa
push ebp
call edi
mov esi, eax
push esi
call sym.convertifd.exe_CheckYesNo
add esp, 4
push eax
push str.DictionaryActive
push 0x580950
call sym.convertifd.exe_WriteJetFormIniStr
test esi, esi
jne 0x4bcd8f
call sym.convertifd.exe_DestroyDictionaryModeless
mov dword [0x6a29f4], esi
jmp 0x4bcdac
mov dword [0x6a29f4], 0
call sym.convertifd.exe_FdInitialize
test eax, eax
mov dword [0x6a29f4], eax
je 0x4bcdac
call sym.convertifd.exe_CreateDictionaryModeless
push 0x497
push ebp
call edi
mov esi, eax
push esi
call sym.convertifd.exe_CheckYesNo
add esp, 4
push eax
push str.AllowSdfFiles
push 0x580950
call sym.convertifd.exe_WriteJetFormIniStr
test esi, esi
jne 0x4bcdd8
call sym.convertifd.exe_UnloadSchema
push 0x496
push ebp
call edi
mov esi, eax
mov eax, dword [0x607314]
neg esi
sbb esi, esi
neg esi
cmp esi, eax
je 0x4bcf07
test eax, eax
push 1
push 0xffffea2a
jne 0x4bce75
call sym.convertifd.exe_IpGMessage
add esp, 4
push eax
lea edx, [esp + 0x484]
push edx
call fcn.005135ca
push 0xffffea2c
call sym.convertifd.exe_IpGMessage
add esp, 0x10
push eax
lea eax, [esp + 0x480]
push eax
push 0x584198
call sym.convertifd.exe_WriteJetFormIniStr
push 2
push 0xffffea2a
call sym.convertifd.exe_IpGMessage
add esp, 4
push eax
lea ecx, [esp + 0x484]
push ecx
call fcn.005135ca
push 0xffffea2b
call sym.convertifd.exe_IpGMessage
add esp, 0x10
push eax
lea edx, [esp + 0x480]
push edx
push 0x584198
call sym.convertifd.exe_WriteJetFormIniStr
jmp 0x4bced2
call sym.convertifd.exe_IpGMessage
add esp, 4
push eax
lea eax, [esp + 0x484]
push eax
call fcn.005135ca
add esp, 0xc
lea ecx, [esp + 0x47c]
push ecx
push 0x584198
call sym.convertifd.exe_DeleteJetFormRegValue
push 2
push 0xffffea2a
call sym.convertifd.exe_IpGMessage
add esp, 4
push eax
lea edx, [esp + 0x484]
push edx
call fcn.005135ca
add esp, 0xc
lea eax, [esp + 0x47c]
push eax
push 0x584198
call sym.convertifd.exe_DeleteJetFormRegValue
mov ecx, dword [0x6a13cc]
push 0x580d2c
push ecx
call sym.convertifd.exe_IpLoadMenu
mov edx, dword [sym.convertifd.exe_i_window]
push eax
push edx
call sym.convertifd.exe_IpSetMenu
lea eax, [esp + 0x28]
push eax
push 0x580d2c
push sym.convertifd.exe_DesignCcEvent
call sym.convertifd.exe_CcInitialize
add esp, 0x1c
mov edi, dword [sym.imp.USER32.dll_SendDlgItemMessageA]
xor ebx, ebx
push ebx
push ebx
push 0x18b
push 0x4bb
push ebp
mov dword [0x607314], esi
call edi
xor esi, esi
test eax, eax
mov dword [esp + 0x10], eax
jle 0x4bd002
push 0
push esi
push 0x199
push 0x4bb
push ebp
call edi
push eax
lea ecx, [esp + 0x480]
push str.JfSymbolSet__d
push ecx
call fcn.005135ca
add esp, 0xc
push 0
push esi
push 0x187
push 0x4bb
push ebp
call edi
push 4
lea edx, [esp + 0x18]
push edx
push 0x580cbb
test eax, eax
lea eax, [esp + 0x488]
push eax
push str.Windows_Fonts
je 0x4bcfaa
call sym.convertifd.exe_GetJetFormIniStr
test eax, eax
jne 0x4bcfca
push 0x580cbb
lea ecx, [esp + 0x480]
push ecx
push str.Windows_Fonts
lea ebx, [eax + 1]
call sym.convertifd.exe_WriteJetFormIniStr
jmp 0x4bcfca
call sym.convertifd.exe_GetJetFormIniStr
test eax, eax
je 0x4bcfca
lea ecx, [esp + 0x47c]
push ecx
push str.Windows_Fonts
mov ebx, 1
call sym.convertifd.exe_DeleteJetFormRegValue
add esi, 1
cmp esi, dword [esp + 0x10]
jl 0x4bcf32
test ebx, ebx
je 0x4bd002
mov edx, dword [0x6a1184]
mov eax, dword [edx + 0x70]
cmp dword [eax + 0x48], 6
jne 0x4bd002
push 1
push 0
push 1
push str.Windows.icf
call sym.convertifd.exe_ChangeConfiguration
add esp, 0x10
call sym.convertifd.exe_FreeSymbolsetList
push 0
push 0
push ebp
call dword [sym.imp.USER32.dll_SetWindowLongA]
push 0
push ebp
push 0x46d
push ebp
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
jmp case.0x4bc4f1.8927
push 0
push 0
push ebp
call dword [sym.imp.USER32.dll_SetWindowLongA]
xor eax, eax
mov ecx, dword [esp + 0xb0c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00511a80
add esp, 0xb00
ret 0x10