Function at 0x402470
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x3ec
mov eax, dword [0x5bd254]
xor eax, esp
mov dword [esp + 0x3e8], eax
mov eax, dword [esp + 0x3f0]
mov ecx, dword [esp + 0x3f8]
push esi
mov dword [esp + 8], eax
mov eax, dword [esp + 0x400]
push edi
mov dword [esp + 0x34], ecx
xor edi, edi
cmp eax, 6
mov ecx, 1
mov dword [esp + 8], ecx
mov dword [esp + 0x10], edi
je 0x4024c0
cmp eax, 7
mov dword [esp + 0x14], edi
jne 0x4024c4
mov dword [esp + 0x14], ecx
push edi
call sym.convertifd.exe_VDebugMasterMask
add esp, 4
call sym.convertifd.exe_IpStackPrepare
mov esi, dword [sym.imp.USER32.dll_SetMessageQueue]
push 0x20
call esi
test eax, eax
jne 0x4024e8
push 0x20
call esi
test eax, eax
je 0x4024e0
push ebx
push ebp
push 0x4d8
push edi
push sym.convertifd.exe_i_prompt
call fcn.00511e90
push 0x2cc
push edi
push sym.convertifd.exe_i_window
call fcn.00511e90
push 0x548
push edi
push sym.convertifd.exe_i_control
call fcn.00511e90
push 0x31c
push edi
push sym.convertifd.exe_i_ifd
call fcn.00511e90
push 0x31c
push edi
push sym.convertifd.exe_i_tmpifd
call fcn.00511e90
mov ebp, dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
add esp, 0x3c
push 0x104
xor eax, eax
lea edx, [esp + 0x2f8]
push edx
push edi
mov dword [sym.convertifd.exe_ExtAttr], eax
mov dword [0x6a2f04], eax
mov dword [0x6a2f08], eax
mov dword [0x6a2f0c], eax
call ebp
lea eax, [esp + 0x2f4]
push eax
call sym.convertifd.exe_UtStripName
lea ecx, [esp + 0x2f8]
push ecx
call sym.convertifd.exe_UtStripName
lea edx, [esp + 0x2fc]
push edx
call sym.convertifd.exe_UtTerminatePath
lea eax, [esp + 0x300]
add esp, 0xc
add eax, 0xffffffff
lea ecx, [ecx]
mov cl, byte [eax + 1]
add eax, 1
test cl, cl
jne 0x4025a0
mov ecx, dword [str.FormDesigner.ini]
mov edx, dword [0x580e2c]
mov dword [eax], ecx
mov ecx, dword [0x580e30]
mov dword [eax + 4], edx
mov edx, dword [0x580e34]
mov dword [eax + 8], ecx
mov cl, byte [0x580e38]
mov dword [eax + 0xc], edx
lea edx, [esp + 0x2f4]
push edx
push 0x20
mov byte [eax + 0x10], cl
lea eax, [esp + 0x70]
push eax
push 0x580e24
push 0x580e18
push 0x580e18
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [esp + 0x68]
push 0x580e14
push ecx
call fcn.0051e073
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
add esp, 8
test eax, eax
je 0x4026aa
push 0x104
lea edx, [esp + 0xf0]
push edx
push edi
call ebp
lea eax, [esp + 0xec]
push eax
call sym.convertifd.exe_UtStripExt
lea eax, [esp + 0x6c]
add esp, 4
mov ecx, eax
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x402640
lea edi, [esp + 0xec]
sub eax, ecx
mov esi, ecx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x402657
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
lea eax, [esp + 0xec]
rep movsb byte es:[edi], byte [esi]
add eax, 0xffffffff
lea esp, [esp]
mov cl, byte [eax + 1]
add eax, 1
test cl, cl
jne 0x402680
mov ecx, dword [str..dll]
mov dl, byte [0x580e10]
mov dword [eax], ecx
mov byte [eax + 4], dl
lea eax, [esp + 0xec]
push eax
call ebx
mov dword [0x6a1464], eax
cmp dword [0x6a1464], 0
jne 0x402723
push 0x104
lea ecx, [esp + 0xf0]
push ecx
push 0
call ebp
lea edx, [esp + 0xec]
push edx
call sym.convertifd.exe_UtStripName
lea eax, [esp + 0xf0]
push eax
call sym.convertifd.exe_UtTerminatePath
lea eax, [esp + 0xf4]
add esp, 8
add eax, 0xffffffff
jmp 0x4026f0
mov cl, byte [eax + 1]
add eax, 1
test cl, cl
jne 0x4026f0
mov ecx, dword [str.JfBrand.dll]
mov edx, dword [0x580e04]
mov dword [eax], ecx
mov ecx, dword [0x580e08]
mov dword [eax + 4], edx
lea edx, [esp + 0xec]
push edx
mov dword [eax + 8], ecx
call ebx
mov dword [0x6a1464], eax
mov eax, dword [esp + 0x3c]
push eax
call sym.convertifd.exe_DesignCommandLine
add esp, 4
test eax, eax
je 0x402db3
push str.FIND_FEATURES
call fcn.00401180
add esp, 4
test eax, eax
je 0x402db3
mov eax, dword [esp + 0x14]
xor ecx, ecx
cmp dword [0x6a2a40], 3
push eax
sete cl
push 1
push 1
mov dword [0x6a2a48], 0
mov dword [0x6a124c], eax
mov dword [0x6a13cc], eax
lea ecx, [ecx + ecx + 1]
push ecx
call sym.convertifd.exe_JfInitRegAccess
test eax, eax
jne 0x402db3
xor edi, edi
push edi
push str.DebugMask
mov ebx, 1
push 0x580950
mov dword [0x6a2918], ebx
mov dword [0x6a2914], edi
call sym.convertifd.exe_GetJetFormIniInt
push eax
call sym.convertifd.exe_VDebugMasterMask
add esp, 4
push ebx
push str.BatchXFTMode
push 0x580950
mov dword [sym.convertifd.exe_i_dbg_nest], edi
call sym.convertifd.exe_GetJetFormIniInt
mov esi, eax
call sym.convertifd.exe_IpBatchXFTMode
test eax, eax
jne 0x4027e6
cmp esi, edi
je 0x4027e6
push 0x580cbb
call sym.convertifd.exe_IpBatchXFTFile
add esp, 4
call sym.convertifd.exe_IpBatchXFTMode
test eax, eax
je 0x4027fe
mov dword [esp + 0x40c], 7
mov dword [esp + 0x1c], ebx
push 0x104
lea edx, [esp + 0x1f4]
push edx
push 0x580ca4
push str.LiteMode
push 0x580950
call sym.convertifd.exe_GetJetFormIniStr
movsx eax, byte [esp + 0x1f0]
push eax
call fcn.00511e5d
xor ecx, ecx
cmp eax, 0x59
sete cl
push edi
mov dword [0x6a29f8], ecx
call sym.convertifd.exe_IsAsianDBCSEnv
add esp, 8
test eax, eax
push 0x104
je 0x40285c
lea edx, [esp + 0x1f4]
push edx
push 0x580dd4
jmp 0x402869
lea eax, [esp + 0x1f4]
push eax
push 0x580dd0
push 0x580dbc
push 0x580950
call sym.convertifd.exe_GetJetFormIniStr
lea ecx, [esp + 0x1f0]
push ecx
call sym.convertifd.exe_InitSymbolSetConversion
add esp, 4
push 0x104
lea edx, [esp + 0x1f4]
push edx
push str..jetkeys.ini
push str.JetKeysFileName
push 0x580950
call sym.convertifd.exe_GetJetFormIniStr
push ebx
push ebx
push ebx
lea eax, [esp + 0x1fc]
push section..text
push eax
call sym.convertifd.exe_CV_Initialize
push 0xa5
call sym.convertifd.exe_IpGMessage
add esp, 0x18
mov edx, 0x600b00
mov cl, byte [eax]
mov byte [edx], cl
add eax, ebx
add edx, ebx
test cl, cl
jne 0x4028d0
call fcn.00401060
test eax, eax
je 0x402db3
mov ecx, dword [esp + 0x14]
push ecx
call sym.convertifd.exe_IprintInit
add esp, 4
test eax, eax
je 0x402db3
push 0
call sym.convertifd.exe_IpInit
add esp, 4
test eax, eax
je 0x402db3
call dword [sym.imp.COMCTL32.dll_InitCommonControls]
call sym.convertifd.exe_CfPartialInit
mov edx, dword [esp + 0x14]
push 0
push edx
push 0
push 0
push Ordinal_3
push Ordinal_3
push Ordinal_3
push Ordinal_3
push 0x3cf0000
push 0x600b00
push 0x600b00
push 0x200
call dword [sym.imp.USER32.dll_CreateWindowExA]
test eax, eax
je 0x402db3
mov edi, ebx
push edi
mov dword [0x6a13e0], eax
mov dword [sym.convertifd.exe_i_window], eax
call sym.convertifd.exe_IpWait
mov eax, dword [sym.convertifd.exe_i_window]
add esp, 4
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov esi, dword [sym.imp.GDI32.dll_GetDeviceCaps]
push 0x58
push eax
mov dword [0x6a11a4], eax
mov dword [0x6a13c0], eax
call esi
cmp eax, 0x60
jne 0x4029ad
mov ecx, dword [0x6a11a4]
push 0x5a
push ecx
call esi
cmp eax, 0x48
jne 0x4029ad
mov dword [0x6a13e8], edi
mov eax, dword [0x6a2a40]
cmp eax, edi
jne 0x4029c2
mov dword [0x6a2a48], 0xc00
jmp 0x402a00
cmp eax, 3
jne 0x4029d3
mov dword [0x6a2a48], 0x80
jmp 0x402a00
push 0xa
lea edx, [esp + 0x60]
push edx
push 0x580d98
push 0x580d90
push 0x580950
call sym.convertifd.exe_GetJetFormIniStr
lea eax, [esp + 0x5c]
push eax
call fcn.00511d2f
add esp, 4
mov dword [0x6a2a48], eax
call sym.convertifd.exe_MakeTitle
mov ecx, dword [sym.convertifd.exe_i_window]
push 0x64
push 0xc9
push ecx
call sym.convertifd.exe_DebugSetup
mov esi, dword [esp + 0x1c]
test esi, esi
jne 0x402a2b
cmp dword [0x6a2968], esi
lea eax, [esi + 3]
jne 0x402a32
mov eax, dword [esp + 0x40c]
mov edx, dword [sym.convertifd.exe_i_window]
push eax
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [sym.convertifd.exe_i_window]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
test esi, esi
jne 0x402a6d
cmp dword [0x6a2a40], edi
push edi
jne 0x402a60
push str.StartJav
jmp 0x402a65
push str.StartBit
call sym.convertifd.exe_ShowStartUpDlg
add esp, 8
call sym.convertifd.exe_CreateDrawWindow
test eax, eax
je 0x402db3
mov ecx, dword [0x6a11b0]
mov edx, dword [0x6a11a4]
push ecx
push edx
call dword [sym.imp.GDI32.dll_SetBkColor]
mov eax, dword [esp + 0x14]
push 0x600b00
push eax
call sym.convertifd.exe_JfLoadAccelerators
push 0
mov dword [0x6a13c4], eax
call sym.convertifd.exe_IpInitAfterWindow
add esp, 0xc
test eax, eax
je 0x402db3
push 1
call sym.convertifd.exe_IpMenuInit
call sym.convertifd.exe_LockEntitySegments
push str.JF_DEBUG
call fcn.00511bc6
add esp, 8
test eax, eax
je 0x402add
mov ecx, dword [sym.convertifd.exe_i_window]
push ecx
call sym.convertifd.exe_DebugControl
call sym.convertifd.exe_DesignInit
push 0
call sym.convertifd.exe_IpWait
push 0
push 0x18
call sym.convertifd.exe_IpCursor
call sym.convertifd.exe_UnlockEntitySegments
push 0x580cbb
call sym.convertifd.exe_StatusMessage
mov eax, dword [0x6a29f0]
mov esi, dword [sym.imp.USER32.dll_PostMessageA]
add esp, 0x10
test eax, eax
je 0x402b1f
push 0
push 1
push 0x400
push eax
call esi
call sym.convertifd.exe_CleanupPalette
mov edx, dword [sym.convertifd.exe_i_window]
push 0
push 0x25d2
push 0x111
push edx
call esi
push 0
push 0
push 0
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
je 0x402db3
mov ebp, dword [sym.imp.USER32.dll_PeekMessageA]
jmp 0x402b60
mov eax, dword [0x6a2938]
test eax, eax
je 0x402b7d
lea ecx, [esp + 0x20]
push ecx
push eax
call dword [sym.imp.USER32.dll_IsDialogMessageA]
test eax, eax
jne 0x402d9a
mov eax, dword [0x6a2bbc]
test eax, eax
je 0x402b9a
lea edx, [esp + 0x20]
push edx
push eax
call dword [sym.imp.USER32.dll_IsDialogMessageA]
test eax, eax
jne 0x402d9a
mov eax, dword [0x6a29bc]
test eax, eax
je 0x402bb7
lea ecx, [esp + 0x20]
push ecx
push eax
call dword [sym.imp.USER32.dll_IsDialogMessageA]
test eax, eax
jne 0x402d9a
lea edx, [esp + 0x20]
push edx
call sym.convertifd.exe_IsJetFormModeless
add esp, 4
test eax, eax
jne 0x402d9a
mov eax, dword [esp + 0x24]
mov ebx, 0x102
cmp eax, ebx
jne 0x402c67
cmp dword [0x6a26a0], 0
je 0x402d68
mov eax, dword [esp + 0x28]
push eax
call fcn.00401130
add esp, 4
test eax, eax
je 0x402d68
nop
push 1
push ebx
push pe_nt_image_headers32
push 0
lea ecx, [esp + 0x50]
push ecx
call ebp
test eax, eax
je 0x402c63
lea edx, [esp + 0x40]
push edx
call dword [sym.imp.USER32.dll_TranslateMessage]
cmp dword [esp + 0x44], ebx
jne 0x402c52
cmp dword [esp + 0x48], 0
je 0x402c52
mov cl, byte [esp + 0x28]
mov eax, dword [0x6a2910]
mov byte [eax + 0x6a28dc], cl
add dword [0x6a2910], 1
mov ecx, 7
lea esi, [esp + 0x40]
lea edi, [esp + 0x20]
rep movsd dword es:[edi], dword [esi]
mov edx, dword [esp + 0x28]
push edx
call fcn.00401130
add esp, 4
test eax, eax
jne 0x402c00
mov eax, dword [esp + 0x24]
cmp eax, 0x201
mov ecx, dword [esp + 0x20]
mov edx, dword [0x6a13e0]
je 0x402c8a
cmp eax, 0x204
je 0x402c8a
cmp eax, 0x207
jne 0x402e85
cmp ecx, edx
jne 0x402e85
mov esi, dword [esp + 0x34]
mov edi, dword [esp + 0x38]
xor ebx, ebx
push ebx
call dword [sym.imp.USER32.dll_GetDoubleClickTime]
push eax
mov eax, dword [sym.convertifd.exe_i_window]
push 1
push eax
call dword [sym.imp.USER32.dll_SetTimer]
mov eax, dword [esp + 0x24]
push ebx
add eax, 2
push eax
push eax
push ebx
lea ecx, [esp + 0x50]
push ecx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x2c], ebx
call ebp
test eax, eax
jne 0x402d41
push 1
push 0x113
push 0x113
push ebx
lea edx, [esp + 0x50]
push edx
call ebp
test eax, eax
jne 0x402d5a
push ebx
push 0x200
push 0x200
push ebx
lea eax, [esp + 0x50]
push eax
call ebp
test eax, eax
je 0x402d2b
mov ecx, dword [0x6a1bac]
mov eax, esi
sub eax, dword [esp + 0x54]
cdq
xor eax, edx
sub eax, edx
cmp eax, ecx
jge 0x402e69
mov eax, edi
sub eax, dword [esp + 0x58]
cdq
xor eax, edx
sub eax, edx
cmp eax, ecx
jge 0x402e69
mov eax, dword [esp + 0x24]
push ebx
add eax, 2
push eax
push eax
push ebx
lea ecx, [esp + 0x50]
push ecx
call ebp
test eax, eax
je 0x402cd0
mov edx, dword [sym.convertifd.exe_i_window]
push 1
push edx
call dword [sym.imp.USER32.dll_KillTimer]
mov dword [esp + 0x10], 1
jmp 0x402d9a
mov eax, dword [sym.convertifd.exe_i_window]
push 1
push eax
call dword [sym.imp.USER32.dll_KillTimer]
mov eax, dword [0x6a13c4]
mov ecx, dword [sym.convertifd.exe_i_window]
lea edx, [esp + 0x20]
push edx
push eax
push ecx
call dword [sym.imp.USER32.dll_TranslateAcceleratorA]
test eax, eax
jne 0x402d9a
lea edx, [esp + 0x20]
push edx
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
push 0
push 0
push 0
lea ecx, [esp + 0x2c]
push ecx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
jne 0x402b60
cmp dword [0x6a2cec], 0
pop ebp
pop ebx
je 0x402dcb
push sym.convertifd.exe_i_ifd
call sym.convertifd.exe_CloseIFD
add esp, 4
mov esi, dword [0x6a29a0]
test esi, esi
je 0x402e38
lea edx, [esp + 0x80]
mov eax, esi
sub edx, esi
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x402de0
push esi
call sym.convertifd.exe_IpFree
lea edx, [esp + 0x84]
push edx
mov dword [0x6a29a0], 0
call fcn.00511b16
lea eax, [esp + 0x88]
push eax
call sym.convertifd.exe_UtStripExt
lea ecx, [esp + 0x8c]
push 0x580d68
push ecx
call sym.convertifd.exe_UtAddExt
lea edx, [esp + 0x94]
push edx
call fcn.00511b16
add esp, 0x18
call sym.convertifd.exe_GmFreeAllTables
call sym.convertifd.exe_ProcessMallocLogFile
call sym.convertifd.exe_CloseMallocLogFile
call sym.convertifd.exe_IpShowStackUsage
mov ecx, dword [esp + 0x3f0]
mov eax, dword [esp + 0x20]
pop edi
pop esi
xor ecx, esp
call fcn.00511a80
add esp, 0x3ec
ret 0x10
mov ecx, dword [sym.convertifd.exe_i_window]
push 1
push ecx
call dword [sym.imp.USER32.dll_KillTimer]
mov dword [esp + 0x18], 1
jmp 0x402d68
cmp eax, 0x202
je 0x402e9a
cmp eax, 0x205
je 0x402e9a
cmp eax, 0x208
jne 0x402eb6
cmp ecx, edx
jne 0x402eb6
cmp dword [esp + 0x10], 0
jne 0x402d9a
mov dword [esp + 0x10], 1
jmp 0x402d68
cmp eax, 0x203
je 0x402ecf
cmp eax, 0x206
je 0x402ecf
cmp eax, 0x209
jne 0x402d68
cmp ecx, edx
jne 0x402d68
cmp dword [esp + 0x18], 0
mov dword [esp + 0x10], 1
je 0x402d68
mov dword [esp + 0x18], 0
jmp 0x402d9a