Function at 0x4ac570
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x7d0
push ebx
push ebp
mov ebp, dword [esp + 0x7e0]
test ebp, ebp
push esi
mov ebx, edx
mov esi, ecx
je 0x4ac5a7
mov ecx, dword [esp + 0x7e8]
test ecx, ecx
jle 0x4ac5a7
mov edx, ecx
push edi
shr ecx, 2
xor eax, eax
mov edi, ebp
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
pop edi
test esi, esi
je 0x4ac6c0
mov edx, 0x3e7
lea ecx, [esp + 0x3f4]
call fcn.0041e210
lea edx, [esp + 0x3f4]
mov eax, esi
sub edx, esi
jmp 0x4ac5d0
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x4ac5d0
mov edx, 0xf
lea ecx, [esp + 0x3f4]
call fcn.00518d60
mov al, byte [esp + 0x3f4]
test al, al
je 0x4ac814
lea eax, [esp + 0x3f4]
push 0x5b
push eax
call fcn.00563730
add esp, 8
test eax, eax
je 0x4ac629
lea ecx, [esp + 0x3f4]
push 0x5b
push ecx
mov byte [eax], 0x7e
call fcn.00563730
add esp, 8
test eax, eax
jne 0x4ac610
lea edx, [esp + 0x3f4]
push 0x5d
push edx
call fcn.00563730
add esp, 8
test eax, eax
je 0x4ac659
nop
mov byte [eax], 0x7e
lea eax, [esp + 0x3f4]
push 0x5d
push eax
call fcn.00563730
add esp, 8
test eax, eax
jne 0x4ac640
lea ecx, [esp + 0x3f4]
push 0xa
push ecx
call fcn.00563730
add esp, 8
test eax, eax
je 0x4ac689
nop
lea edx, [esp + 0x3f4]
push 0xa
push edx
mov byte [eax], 0x7e
call fcn.00563730
add esp, 8
test eax, eax
jne 0x4ac670
lea eax, [esp + 0x3f4]
push 0xd
push eax
call fcn.00563730
add esp, 8
test eax, eax
je 0x4ac6b9
nop
lea ecx, [esp + 0x3f4]
push 0xd
push ecx
mov byte [eax], 0x7e
call fcn.00563730
add esp, 8
test eax, eax
jne 0x4ac6a0
lea esi, [esp + 0x3f4]
test ebx, ebx
je 0x4ac7ea
mov edx, 0x3e7
lea ecx, [esp + 0xc]
call fcn.0041e210
lea edx, [esp + 0xc]
mov eax, ebx
sub edx, ebx
mov edi, edi
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x4ac6e0
mov edx, 0xf
lea ecx, [esp + 0xc]
call fcn.00518d60
mov al, byte [esp + 0xc]
test al, al
je 0x4ac814
lea edx, [esp + 0xc]
push 0x5b
push edx
call fcn.00563730
add esp, 8
test eax, eax
je 0x4ac72d
mov byte [eax], 0x7e
lea eax, [esp + 0xc]
push 0x5b
push eax
call fcn.00563730
add esp, 8
test eax, eax
jne 0x4ac717
lea ecx, [esp + 0xc]
push 0x5d
push ecx
call fcn.00563730
add esp, 8
test eax, eax
je 0x4ac756
lea edx, [esp + 0xc]
push 0x5d
push edx
mov byte [eax], 0x7e
call fcn.00563730
add esp, 8
test eax, eax
jne 0x4ac740
lea eax, [esp + 0xc]
push 0xa
push eax
call fcn.00563730
add esp, 8
test eax, eax
je 0x4ac786
lea esp, [esp]
lea ecx, [esp + 0xc]
push 0xa
push ecx
mov byte [eax], 0x7e
call fcn.00563730
add esp, 8
test eax, eax
jne 0x4ac770
lea edx, [esp + 0xc]
push 0xd
push edx
call fcn.00563730
add esp, 8
test eax, eax
je 0x4ac7b6
lea esp, [esp]
mov byte [eax], 0x7e
lea eax, [esp + 0xc]
push 0xd
push eax
call fcn.00563730
add esp, 8
test eax, eax
jne 0x4ac7a0
lea ecx, [esp + 0xc]
push 0x3d
push ecx
call fcn.00563730
add esp, 8
test eax, eax
je 0x4ac7e6
lea esp, [esp]
lea edx, [esp + 0xc]
push 0x3d
push edx
mov byte [eax], 0x7e
call fcn.00563730
add esp, 8
test eax, eax
jne 0x4ac7d0
lea ebx, [esp + 0xc]
mov eax, dword [esp + 0x7e0]
test eax, eax
jne 0x4ac7fa
mov eax, 0x574b10
mov ecx, dword [esp + 0x7ec]
mov edx, dword [esp + 0x7e8]
push ecx
push edx
push ebp
push eax
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
pop esi
pop ebp
pop ebx
add esp, 0x7d0
ret 0x10