Function at 0x40f9d8
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x4bd6e4
call fcn.00483820
sub esp, 0x1c4
push ebx
push esi
mov esi, ecx
xor ebx, ebx
and byte [ebp - 0x1d0], bl
and byte [ebp - 0x78], bl
mov eax, dword [esi + 0x1c]
push edi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], ebx
push dword [eax + 0x1c]
mov dword [ebp - 0x30], ebx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
lea eax, [esi + 0x1a8]
lea ecx, [ebp - 0x10]
push eax
call fcn.0049b574
mov edi, 0x4f1070
mov dword [ebp - 4], ebx
push edi
push dword [ebp - 0x10]
call fcn.0048383f
pop ecx
test eax, eax
pop ecx
jne 0x40fa41
push dword [esi + 0x90]
lea ecx, [ebp - 0x10]
call fcn.0049b93c
push dword [ebp - 0x10]
mov esi, 0x4e9e74
push 0xffffffffffffffff
push str.Active_File_Index
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push 1
mov dword [ebp - 0x50], eax
pop eax
mov dword [0x4f1450], eax
mov dword [0x4f144c], eax
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x78]
push 0xa
push eax
push ebx
call fcn.0048501a
add esp, 0xc
lea ecx, [ebp - 0x14]
push str.Open_File
call fcn.0049b86d
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 1
push ecx
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0049ba48
push dword [ebp - 0x10]
mov eax, dword [eax]
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [ebp - 0x1d0]
push 0x105
push ecx
push edi
push eax
push esi
call ebx
lea ecx, [ebp - 0x1c]
call fcn.0049b7ff
and byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.0049b7ff
lea eax, [ebp - 0x1d0]
lea ecx, [ebp - 0x18]
push eax
call fcn.0049b86d
push edi
mov byte [ebp - 4], 2
push dword [ebp - 0x18]
call fcn.0048383f
pop ecx
test eax, eax
pop ecx
je 0x40fd35
push str.FTP::
push dword [ebp - 0x18]
call fcn.00484860
pop ecx
test eax, eax
pop ecx
je 0x40fb0e
cmp dword [0x4f145c], 0
je 0x40fc6f
mov ecx, dword [ebp - 0x28]
push dword [ebp - 0x18]
mov eax, dword [ecx]
call dword [eax + 0x7c]
test eax, eax
mov dword [ebp - 0x14], eax
je 0x40fc6f
mov ecx, dword [ebp - 0x20]
dec ecx
cmp ecx, dword [ebp - 0x50]
jne 0x40fb30
mov dword [ebp - 0x30], eax
push str.Open_File_Pos
lea ecx, [ebp - 0x34]
call fcn.0049b86d
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 3
push ecx
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.0049ba48
push dword [ebp - 0x10]
mov eax, dword [eax]
lea ecx, [ebp - 0x9c]
push 0x21
push ecx
push edi
push eax
push esi
call ebx
lea ecx, [ebp - 0x44]
call fcn.0049b7ff
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 2
call fcn.0049b7ff
lea eax, [ebp - 0x9c]
push eax
call fcn.00484505
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x54], eax
mov dword [esp], str.Open_File_Line
call fcn.0049b86d
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 4
push ecx
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0049ba48
push dword [ebp - 0x10]
mov eax, dword [eax]
lea ecx, [ebp - 0x9c]
push 0x21
push ecx
push edi
push eax
push esi
call ebx
lea ecx, [ebp - 0x40]
call fcn.0049b7ff
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 2
call fcn.0049b7ff
lea eax, [ebp - 0x9c]
push eax
call fcn.00484505
pop ecx
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx]
call dword [eax + 0x60]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x48], eax
lea edx, [ebp - 0x48]
mov eax, dword [ecx]
push edx
call dword [eax + 0x64]
push dword [ebp - 0x24]
mov ecx, eax
mov dword [ebp - 0x14], ecx
push dword [ebp - 0x54]
call fcn.0043bd41
push str.Open_File_Window_Pos
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x24], 1
call fcn.0049b86d
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 5
push ecx
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0049ba48
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 7
call fcn.0049b7ff
push dword [ebp - 0x10]
lea eax, [ebp - 0xc8]
push dword [ebp - 0x1c]
push esi
push eax
call fcn.004063a4
test eax, eax
je 0x40fc63
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0xc8]
push eax
call fcn.00499421
mov ecx, eax
call fcn.00498880
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call fcn.0049b7ff
mov eax, dword [ebp - 0x20]
inc dword [ebp - 0x20]
lea ecx, [ebp - 0x78]
push 0xa
push ecx
push eax
call fcn.0048501a
add esp, 0xc
lea ecx, [ebp - 0x2c]
push str.Open_File
call fcn.0049b86d
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 8
push ecx
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.0049ba48
push dword [ebp - 0x10]
mov eax, dword [eax]
lea ecx, [ebp - 0x1d0]
push 0x105
push ecx
push edi
push eax
push esi
call ebx
lea ecx, [ebp - 0x3c]
call fcn.0049b7ff
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.0049b7ff
lea eax, [ebp - 0x1d0]
lea ecx, [ebp - 0x18]
push eax
call fcn.0049b93c
push edi
push dword [ebp - 0x18]
call fcn.0048383f
pop ecx
test eax, eax
pop ecx
jne 0x40faee
mov edi, dword [ebp - 0x30]
xor ebx, ebx
cmp edi, ebx
je 0x40fd37
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x60]
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x2c], eax
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0x64]
cmp eax, ebx
je 0x40fd37
mov ecx, eax
call fcn.00499421
mov edi, dword [ebp - 0x28]
push ebx
push dword [eax + 0x1c]
mov ecx, dword [edi + 0x1c]
push 0x222
push dword [ecx + 0xbc]
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x40fd3a
xor ebx, ebx
mov edi, dword [ebp - 0x28]
push dword [ebp - 0x10]
push 0xffffffffffffffff
push str.Active_File_Display_Mode
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov esi, eax
cmp esi, 0xffffffff
je 0x40fd70
mov ecx, dword [edi + 0x1c]
push ebx
call fcn.004afeab
test eax, eax
je 0x40fd70
mov ecx, dword [edi + 0x1c]
push esi
push ebx
call fcn.004afeab
mov ecx, eax
call fcn.0049af5e
mov dword [0x4f144c], ebx
mov dword [0x4f1450], ebx
mov eax, dword [edi + 0x1c]
mov dword [eax + 0x165e], 1
mov ecx, dword [edi + 0x1c]
add ecx, 0x158a
call fcn.00405c4f
and byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.0049b7ff
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0049b7ff
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x24]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret