Function at 0x402420
Capabilities:
Get common file path
Read .ini file

Disassembly:
sub esp, 0x58c
push ebx
push ebp
push esi
push edi
push 0x44d0c0
mov ebx, ecx
call fcn.00436550
mov esi, dword [esp + 0x5a4]
add esp, 4
lea eax, [esp + 0x298]
push eax
push 0x104
mov dword [esp + 0x18], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov ebp, dword [sym.imp.USER32.dll_wsprintfA]
push esi
lea ecx, [esp + 0x29c]
push ecx
lea edx, [esp + 0xd4]
push 0x44d0c4
push edx
call ebp
push esi
lea eax, [esp + 0x2ac]
push eax
lea ecx, [esp + 0x4b0]
push 0x44d0d4
push ecx
call ebp
push 0x44d0e4
call fcn.00436550
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
add esp, 0x24
lea edx, [esp + 0xcc]
push edx
push 0xf
lea eax, [esp + 0xc0]
push eax
push 0x44d0e8
push 0x44d0f0
push 0x44d0fc
call edi
push 0x44d108
lea ecx, [esp + 0xbc]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x402511
lea edx, [esp + 0xcc]
push edx
push 0
push 0x44d110
push 0x44d11c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov esi, eax
push esi
lea eax, [esp + 0x29c]
push eax
lea ecx, [esp + 0xd4]
push 0x44d128
push ecx
call ebp
add esp, 0x10
push 0x467980
push 0xff
push 0x466a30
push str.Properties_for_Port
push str.PROPERTIESFOR
push 0x44d15c
call edi
lea edx, [esi + 1]
push edx
push 0x466a30
lea eax, [esp + 0x1d8]
push 0x44d164
push eax
call ebp
push esi
push 0x4668f8
lea edx, [esp + 0xe4]
push edx
lea ecx, [esp + 0xe8]
push str.3_s_s_d
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], 0x4668f8
mov dword [esp + 0x3c], esi
call fcn.00436550
mov ecx, dword [esp + 0x30]
mov edx, dword [ebx + 0x2c]
add esp, 0x20
push 0x467980
xor eax, eax
push 0xff
cmp ecx, edx
push 0x466a30
setge al
push 0x44d178
push 0x44d184
push 0x44d18c
mov dword [esp + 0x38], eax
call edi
mov edx, dword [0x467978]
push 0x467980
push 0xff
lea ecx, [esp + 0x3a4]
push ecx
push 0x44d1b4
push 0x44d1c4
lea eax, [esp + 0x28]
xor esi, esi
push 0x44d1cc
mov dword [esp + 0x70], 0x30
mov dword [esp + 0x74], 0xc
mov dword [esp + 0x78], edx
mov dword [esp + 0x7c], 0x44d198
mov dword [esp + 0x88], 0x42f8b0
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], esi
mov dword [esp + 0x84], 0x466a30
mov dword [esp + 0x80], 0x44d1ac
call edi
mov eax, dword [0x467978]
lea edx, [esp + 0x498]
lea ecx, [esp + 0x39c]
mov dword [esp + 0x90], eax
mov dword [esp + 0xa4], edx
mov edx, dword [ebx + 0x32c]
mov dword [esp + 0x30], eax
lea eax, [esp + 0x1d0]
mov dword [esp + 0x9c], ecx
mov dword [esp + 0x88], 0x30
mov dword [esp + 0x8c], 0xc
mov dword [esp + 0x94], str.IDD_COMMANDS
mov dword [esp + 0xa0], 0x4304f0
mov dword [esp + 0xa8], esi
mov dword [esp + 0x98], 0x44d1e8
mov dword [esp + 0x24], 0x34
mov dword [esp + 0x28], 0x8c
mov dword [esp + 0x2c], edx
mov dword [esp + 0x34], 0x44d1f8
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], 2
mov dword [esp + 0x40], esi
lea ecx, [esp + 0x58]
push 0x44d200
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], esi
call fcn.00436550
add esp, 4
lea edx, [esp + 0x24]
push edx
call dword [sym.imp.COMCTL32.dll_PropertySheetA]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp edi, esi
je 0x40277f
cmp edi, 0xffffffff
jne 0x402738
push eax
lea eax, [esp + 0x238]
push str.Error_number_is_d.You_must_update_Your_InternetExplorer_Version_
push eax
call ebp
add esp, 0xc
push esi
push str.Only_for_WIN95
lea ecx, [esp + 0x23c]
push ecx
push esi
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58c
ret 4
cmp edi, 1
jne 0x40277f
push str.Restart_Program____nFor_Changes_To_Take_Place
push 0x44d28c
push 0x44d294
call fcn.0040d190
mov edx, dword [ebx + 0x32c]
add esp, 0xc
push 0x40
push 0x44d29c
push 0x466a30
push edx
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, dword [esp + 0x10]
cmp eax, dword [ebx + 0x2c]
jge 0x40277f
mov ecx, dword [ebx + eax*4 + 0x30]
call fcn.00425550
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58c
ret 4