Function at 0x4759a8
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x498e5a
call fcn.00497a30
sub esp, 0x9d4
push esi
mov esi, ecx
push edi
lea ecx, [ebp - 0x40]
call fcn.00483124
xor eax, eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 1
cmp dword [esi + 0x1c], 0x10
jb 0x4759e1
mov esi, dword [esi + 8]
jmp 0x4759e4
add esi, 8
push dword [ebp + 0xc]
lea eax, [ebp - 0x1e0]
push esi
mov esi, dword [sym.imp.MSVCR71.dll_sprintf]
push 0x4a7d00
push str._s_s_d
push eax
call esi
add esp, 0x14
mov dword [ebp + 0xc], 1
mov edi, 0x4a773c
push dword [ebp + 0xc]
lea eax, [ebp - 0x5c]
push str.IPAccess
push str._s_d
push eax
call esi
add esp, 0x10
cmp dword [ebx + 0x40], 0x10
jb 0x475a31
mov eax, dword [ebx + 0x2c]
jmp 0x475a34
lea eax, [ebx + 0x2c]
push eax
push 0x800
lea eax, [ebp - 0x9e0]
push eax
push 0x4a4630
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x1e0]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp byte [ebp - 0x9e0], 0
je 0x475ae5
movsx eax, byte [ebp - 0x9e0]
push eax
call dword [sym.imp.MSVCR71.dll_toupper]
lea eax, [ebp - 0x9e0]
push eax
call sub.MSVCR71.dll_strlen
cmp eax, 2
pop ecx
pop ecx
jbe 0x475add
cmp byte [ebp - 0x9e0], 0x41
je 0x475a97
cmp byte [ebp - 0x9e0], 0x44
jne 0x475add
cmp byte [ebp - 0x9df], 0x7c
jne 0x475add
mov eax, dword [ebp - 0x40]
push 0x4a7ce8
lea ecx, [ebp - 0x40]
call dword [eax + 8]
cmp byte [ebp - 0x9e0], 0x44
jne 0x475ac1
mov eax, dword [ebp - 0x40]
push edi
lea ecx, [ebp - 0x40]
call dword [eax + 8]
lea eax, [ebp - 0x9de]
push eax
mov eax, dword [ebp - 0x40]
lea ecx, [ebp - 0x40]
call dword [eax + 0x14]
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00402efb
inc dword [ebp + 0xc]
jmp 0x475a10
mov eax, dword [ebp + 8]
mov ecx, eax
add eax, 4
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
lea eax, [ebp - 0x5c]
push edi
push eax
call fcn.0041ad74
add esp, 0xc
push eax
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 2
call fcn.00483164
lea eax, [ebp - 0x80]
mov byte [ebp - 4], 3
push eax
mov eax, dword [ebp - 0x40]
lea ecx, [ebp - 0x40]
call dword [eax + 0xc]
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 2
call fcn.004833a3
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 1
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea eax, [ebp - 0x40]
push eax
push dword [ebp - 0x18]
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00403006
lea ecx, [ebp - 0x1c]
call fcn.00402ee5
xor edi, edi
inc edi
cmp eax, edi
jne 0x475b74
mov eax, dword [ebp - 0x40]
push str.A...
lea ecx, [ebp - 0x40]
call dword [eax + 8]
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00402efb
lea ecx, [ebp - 0x1c]
mov dword [ebp + 0xc], edi
call fcn.00402ee5
cmp eax, edi
jb 0x475be5
mov edi, dword [ebp - 0x18]
add edi, 8
push dword [ebp + 0xc]
lea eax, [ebp - 0x9e0]
push str.IPAccess
push str._s_d
push eax
call esi
add esp, 0x10
cmp dword [ebx + 0x40], 0x10
jb 0x475bad
mov ecx, dword [ebx + 0x2c]
jmp 0x475bb0
lea ecx, [ebx + 0x2c]
cmp dword [edi + 0x14], 0x10
jb 0x475bba
mov eax, dword [edi]
jmp 0x475bbc
mov eax, edi
push ecx
push eax
lea eax, [ebp - 0x9e0]
push eax
lea eax, [ebp - 0x1e0]
push eax
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
inc dword [ebp + 0xc]
lea ecx, [ebp - 0x1c]
add edi, 0x24
call fcn.00402ee5
cmp dword [ebp + 0xc], eax
jbe 0x475b89
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0
call fcn.00403093
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.004833a3
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 8