Function at 0x45f450
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x495d0c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x120
push ebx
push esi
push edi
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x98], 0x2d
mov dword [ebp - 0x9c], 0
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x70]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x45f4b1
push 0x40
push str.Information
push str.Trying_to_build_Table_a_socond_time
call fcn.004019d0
mov ecx, eax
call sub.MFC42.DLL_CWnd::MessageBoxA
push 0
push 0xffffffffffffffff
call sub.WINDCS32.dll_Ordinal_69
push eax
push str._s_syseditrec.ini
lea edx, [ebp - 0x94]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x94]
push eax
push 0
push str.GopNrDisplayMode
push str.Version3
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 0x10]
mov word [ecx + 0xc4c], ax
lea edx, [ebp - 0x94]
push edx
push 4
mov eax, dword [ebp - 0x10]
add eax, 0xc4e
push eax
push 0x49ecd8
push str.TextForSB
push str.Version3
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [ebp - 0x94]
push ecx
push 4
mov edx, dword [ebp - 0x10]
add edx, 0xc52
push edx
push 0x49ecc8
push str.TextForPB
push str.Version3
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x94]
push eax
push 4
mov ecx, dword [ebp - 0x10]
add ecx, 0xc56
push ecx
push 0x49ecb8
push str.TextForFC
push str.Version3
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edx, [ebp - 0x94]
push edx
push 0x7b
push str.SETPWIDTH
push str.WINDOW
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebp - 0x9c], eax
cmp dword [ebp - 0x9c], 0x190
jle 0x45f5a1
mov dword [ebp - 0xd0], 0x190
jmp 0x45f5ad
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0xd0], eax
cmp dword [ebp - 0xd0], 0x64
jge 0x45f5c2
mov dword [ebp - 0xd4], 0x64
jmp 0x45f5f2
cmp dword [ebp - 0x9c], 0x190
jle 0x45f5da
mov dword [ebp - 0xd8], 0x190
jmp 0x45f5e6
mov ecx, dword [ebp - 0x9c]
mov dword [ebp - 0xd8], ecx
mov edx, dword [ebp - 0xd8]
mov dword [ebp - 0xd4], edx
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0x9c], eax
mov ecx, dword [ebp - 0x10]
movsx edx, word [ecx + 0xc4c]
mov dword [ebp - 0xdc], edx
cmp dword [ebp - 0xdc], 1
je 0x45f622
cmp dword [ebp - 0xdc], 2
je 0x45f62e
jmp 0x45f638
mov dword [ebp - 0x98], 0x3c
jmp 0x45f638
mov dword [ebp - 0x98], 0x5a
lea ecx, [ebp - 0xb0]
call fcn.00488700
mov dword [ebp - 4], 0
mov dword [ebp - 0xb4], 1
push 0
push 2
push 3
push 0
push 0x28
mov eax, dword [0x4aa24c]
mov ecx, dword [eax + 0x48]
push ecx
lea ecx, [ebp - 0xb0]
call fcn.00488840
mov dword [ebp - 0xb4], eax
cmp dword [ebp - 0xb4], 0
je 0x45f6b4
push 0
push 2
push 0xc
push 0
mov edx, dword [ebp - 0x98]
push edx
mov eax, dword [0x4aa24c]
mov ecx, dword [eax + 0x20]
push ecx
lea ecx, [ebp - 0xb0]
call fcn.00488840
test eax, eax
je 0x45f6b4
mov dword [ebp - 0xe0], 1
jmp 0x45f6be
mov dword [ebp - 0xe0], 0
mov edx, dword [ebp - 0xe0]
mov dword [ebp - 0xb4], edx
cmp dword [ebp - 0xb4], 0
je 0x45f704
push 0
push 0
push 0x19
push 1
push 0x8c
mov eax, dword [0x4aa24c]
mov ecx, dword [eax + 0x5c]
push ecx
lea ecx, [ebp - 0xb0]
call fcn.00488840
test eax, eax
je 0x45f704
mov dword [ebp - 0xe4], 1
jmp 0x45f70e
mov dword [ebp - 0xe4], 0
mov edx, dword [ebp - 0xe4]
mov dword [ebp - 0xb4], edx
cmp dword [ebp - 0xb4], 0
je 0x45f751
push 0
push 1
push 0x23
push 1
push 0x7b
mov eax, dword [0x4aa24c]
mov ecx, dword [eax + 0x60]
push ecx
lea ecx, [ebp - 0xb0]
call fcn.00488840
test eax, eax
je 0x45f751
mov dword [ebp - 0xe8], 1
jmp 0x45f75b
mov dword [ebp - 0xe8], 0
mov edx, dword [ebp - 0xe8]
mov dword [ebp - 0xb4], edx
mov dword [ebp - 0x14], 0
jmp 0x45f779
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xd
jge 0x45f80a
cmp dword [ebp - 0xb4], 0
je 0x45f80a
mov ecx, dword [ebp - 0x14]
add ecx, 1
push ecx
mov edx, dword [0x4aa24c]
mov eax, dword [edx + 0x64]
push eax
push 0x49844c
lea ecx, [ebp - 0x94]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
cmp dword [ebp - 0xb4], 0
je 0x45f7ef
push 0
push 1
push 0x23
push 1
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0xc48]
push eax
lea ecx, [ebp - 0x94]
push ecx
lea ecx, [ebp - 0xb0]
call fcn.00488840
test eax, eax
je 0x45f7ef
mov dword [ebp - 0xec], 1
jmp 0x45f7f9
mov dword [ebp - 0xec], 0
mov edx, dword [ebp - 0xec]
mov dword [ebp - 0xb4], edx
jmp 0x45f770
cmp dword [ebp - 0xb4], 0
jne 0x45f83d
push 0x30
push str.Error_creating_view
push str.Error_creating_rup_list_view__aborting_
call fcn.004019d0
mov ecx, eax
call sub.MFC42.DLL_CWnd::MessageBoxA
push 0
push 0
push 0x10
call fcn.004019d0
mov ecx, eax
call fcn.0040da20
lea ecx, [ebp - 0xc4]
call fcn.0040d550
lea eax, [ebp - 0xc4]
push eax
mov ecx, dword [ebp - 0x10]
call fcn.0040dad0
mov ecx, dword [ebp - 0x10]
push ecx
push 0x10
push str.Arial
push 0x81
lea ecx, [ebp - 0xc4]
call fcn.0040d5f0
push eax
push 0x29a
push 6
lea edx, [ebp - 0xb0]
push edx
mov ecx, dword [ebp - 0x10]
add ecx, 0x50
call fcn.0046e950
test eax, eax
jne 0x45f8b4
mov dword [ebp - 0xc8], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb0]
call fcn.00488770
mov eax, dword [ebp - 0xc8]
jmp 0x45f8fa
push 3
mov ecx, dword [ebp - 0x10]
add ecx, 0x50
call fcn.00484450
push 1
mov ecx, dword [ebp - 0x10]
add ecx, 0x50
call fcn.004844e0
mov eax, dword [ebp - 0x10]
mov byte [eax + 0xc46], 1
mov dword [ebp - 0xcc], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb0]
call fcn.00488770
mov eax, dword [ebp - 0xcc]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret