Function at 0x47644b
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x4990af
call fcn.00497cb0
sub esp, 0x9e4
push ebx
push esi
push edi
mov edi, ecx
cmp dword [edi + 0x1c], 0x10
mov esi, edx
jb 0x47646d
mov eax, dword [edi + 8]
jmp 0x476470
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.00402f79
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 0x4764d9
mov eax, dword [edi + 0x2c]
jmp 0x4764dc
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 0x476535
lea eax, [ebp - 0x9f0]
push eax
lea ecx, [ebp - 0x34]
call fcn.00483361
and dword [ebp - 4], 0
push eax
lea ecx, [esi + 0x24]
call fcn.00402f39
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.004835c3
inc dword [ebp + 0xc]
jmp 0x4764b5
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.00402f79
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 0x476571
mov eax, dword [edi + 0x2c]
jmp 0x476574
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 0x476644
movsx eax, byte [ebp - 0x9f0]
push eax
call dword [sym.imp.MSVCR71.dll_toupper]
pop ecx
lea ecx, [ebp - 0x34]
call fcn.00483344
lea eax, [ebp - 0x9f0]
push eax
mov dword [ebp - 4], 1
call sub.MSVCR71.dll_strlen
cmp eax, 2
pop ecx
jbe 0x476630
cmp byte [ebp - 0x9f0], 0x41
je 0x4765e6
cmp byte [ebp - 0x9f0], 0x44
jne 0x476630
cmp byte [ebp - 0x9ef], 0x7c
jne 0x476630
mov eax, dword [ebp - 0x34]
push 0x4a7ce8
lea ecx, [ebp - 0x34]
call dword [eax + 8]
cmp byte [ebp - 0x9f0], 0x44
jne 0x476614
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.00402f39
inc dword [ebp + 0xc]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.004835c3
jmp 0x476550
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.00402f79
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 0x476685
mov eax, dword [edi + 0x2c]
jmp 0x476688
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 0x476721
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 0x4766e8
lea eax, [ebp - 0x9f0]
push eax
call sub.MSVCR71.dll_strlen
mov byte [eax + esi], 0
cmp byte [ebp - 0x9f0], 0
pop ecx
jne 0x4766bb
lea eax, [ebp - 0x9f0]
push eax
lea ecx, [ebp - 0x90]
call fcn.00483361
mov dword [ebp - 4], 2
mov ecx, dword [ebp + 8]
push eax
call fcn.00402f39
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x90]
call fcn.004835c3
inc dword [ebp + 0xc]
jmp 0x476664
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8