Function at 0x475e3c
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x498e2f
call fcn.00497a30
sub esp, 0x9e4
push ebx
push esi
push edi
mov edi, ecx
cmp dword [edi + 0x1c], 0x10
mov esi, edx
jb 0x475e5e
mov eax, dword [edi + 8]
jmp 0x475e61
lea eax, [edi + 8]
push dword [ebp + 0xc]
mov ebx, dword [sym.imp.MSVCR71.dll_sprintf]
push eax
push str.GROUP
lea eax, [ebp - 0x1f0]
push str._s_s_d
push eax
call ebx
mov eax, dword [esi]
add esp, 0x14
push edi
mov ecx, esi
call dword [eax + 0xc]
mov eax, dword [esi + 0x2c]
mov ecx, dword [esi + 0x28]
push eax
push ecx
lea edx, [esi + 0x24]
lea eax, [ebp - 0x10]
push eax
mov ecx, edx
mov dword [ebp + 0xc], 1
call fcn.00402f3b
push dword [ebp + 0xc]
lea eax, [ebp - 0x50]
push str.Access
push str._s_d
push eax
call ebx
mov edi, dword [ebp + 8]
add esp, 0x10
cmp dword [edi + 0x40], 0x10
jb 0x475eca
mov eax, dword [edi + 0x2c]
jmp 0x475ecd
lea eax, [edi + 0x2c]
push eax
push 0x800
lea eax, [ebp - 0x9f0]
push eax
push 0x4a4630
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x1f0]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp byte [ebp - 0x9f0], 0
je 0x475f26
lea eax, [ebp - 0x9f0]
push eax
lea ecx, [ebp - 0x34]
call fcn.00483141
and dword [ebp - 4], 0
push eax
lea ecx, [esi + 0x24]
call fcn.00402efb
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.004833a3
inc dword [ebp + 0xc]
jmp 0x475ea6
mov eax, dword [esi + 0x3c]
mov edx, dword [esi + 0x38]
push eax
push edx
lea eax, [ebp + 8]
lea ecx, [esi + 0x34]
push eax
mov dword [ebp + 0xc], 1
call fcn.00402f3b
push dword [ebp + 0xc]
lea eax, [ebp - 0x50]
push str.IPAccess
push str._s_d
push eax
call ebx
add esp, 0x10
cmp dword [edi + 0x40], 0x10
jb 0x475f62
mov eax, dword [edi + 0x2c]
jmp 0x475f65
lea eax, [edi + 0x2c]
push eax
push 0x800
lea eax, [ebp - 0x9f0]
push eax
push 0x4a4630
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x1f0]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp byte [ebp - 0x9f0], 0
je 0x476035
movsx eax, byte [ebp - 0x9f0]
push eax
call dword [sym.imp.MSVCR71.dll_toupper]
pop ecx
lea ecx, [ebp - 0x34]
call fcn.00483124
lea eax, [ebp - 0x9f0]
push eax
mov dword [ebp - 4], 1
call sub.MSVCR71.dll_strlen
cmp eax, 2
pop ecx
jbe 0x476021
cmp byte [ebp - 0x9f0], 0x41
je 0x475fd7
cmp byte [ebp - 0x9f0], 0x44
jne 0x476021
cmp byte [ebp - 0x9ef], 0x7c
jne 0x476021
mov eax, dword [ebp - 0x34]
push 0x4a7ce8
lea ecx, [ebp - 0x34]
call dword [eax + 8]
cmp byte [ebp - 0x9f0], 0x44
jne 0x476005
mov eax, dword [ebp - 0x34]
push 0x4a773c
lea ecx, [ebp - 0x34]
call dword [eax + 8]
lea eax, [ebp - 0x9ee]
push eax
mov eax, dword [ebp - 0x34]
lea ecx, [ebp - 0x34]
call dword [eax + 0x14]
lea eax, [ebp - 0x34]
push eax
lea ecx, [esi + 0x34]
call fcn.00402efb
inc dword [ebp + 0xc]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.004833a3
jmp 0x475f41
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
push eax
add esi, 0x44
push ecx
lea eax, [ebp - 0x10]
push eax
mov ecx, esi
mov dword [ebp + 0xc], 1
mov dword [ebp + 8], esi
call fcn.00402f3b
push dword [ebp + 0xc]
lea eax, [ebp - 0x6c]
push str.Note
push str._s_d
push eax
call ebx
add esp, 0x10
cmp dword [edi + 0x40], 0x10
jb 0x476076
mov eax, dword [edi + 0x2c]
jmp 0x476079
lea eax, [edi + 0x2c]
push eax
push 0x800
lea eax, [ebp - 0x9f0]
push eax
push 0x4a4630
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x1f0]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp byte [ebp - 0x9f0], 0
je 0x476112
lea esi, [ebp - 0x9f0]
dec esi
lea eax, [ebp - 0x9f0]
push eax
call sub.MSVCR71.dll_strlen
cmp byte [eax + esi], 0x20
pop ecx
jne 0x4760d9
lea eax, [ebp - 0x9f0]
push eax
call sub.MSVCR71.dll_strlen
mov byte [eax + esi], 0
cmp byte [ebp - 0x9f0], 0
pop ecx
jne 0x4760ac
lea eax, [ebp - 0x9f0]
push eax
lea ecx, [ebp - 0x90]
call fcn.00483141
mov dword [ebp - 4], 2
mov ecx, dword [ebp + 8]
push eax
call fcn.00402efb
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x90]
call fcn.004833a3
inc dword [ebp + 0xc]
jmp 0x476055
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8