Function at 0x4b1f10
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 0x4b1f47
mov ecx, dword [esp + 0x7e8]
test ecx, ecx
jle 0x4b1f47
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 0x4b2060
mov edx, 0x3e7
lea ecx, [esp + 0x3f4]
call fcn.0041ef30
lea edx, [esp + 0x3f4]
mov eax, esi
sub edx, esi
jmp 0x4b1f70
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x4b1f70
mov edx, 0xf
lea ecx, [esp + 0x3f4]
call fcn.00524b30
mov al, byte [esp + 0x3f4]
test al, al
je 0x4b21b4
lea eax, [esp + 0x3f4]
push 0x5b
push eax
call fcn.00570260
add esp, 8
test eax, eax
je 0x4b1fc9
lea ecx, [esp + 0x3f4]
push 0x5b
push ecx
mov byte [eax], 0x7e
call fcn.00570260
add esp, 8
test eax, eax
jne 0x4b1fb0
lea edx, [esp + 0x3f4]
push 0x5d
push edx
call fcn.00570260
add esp, 8
test eax, eax
je 0x4b1ff9
nop
mov byte [eax], 0x7e
lea eax, [esp + 0x3f4]
push 0x5d
push eax
call fcn.00570260
add esp, 8
test eax, eax
jne 0x4b1fe0
lea ecx, [esp + 0x3f4]
push 0xa
push ecx
call fcn.00570260
add esp, 8
test eax, eax
je 0x4b2029
nop
lea edx, [esp + 0x3f4]
push 0xa
push edx
mov byte [eax], 0x7e
call fcn.00570260
add esp, 8
test eax, eax
jne 0x4b2010
lea eax, [esp + 0x3f4]
push 0xd
push eax
call fcn.00570260
add esp, 8
test eax, eax
je 0x4b2059
nop
lea ecx, [esp + 0x3f4]
push 0xd
push ecx
mov byte [eax], 0x7e
call fcn.00570260
add esp, 8
test eax, eax
jne 0x4b2040
lea esi, [esp + 0x3f4]
test ebx, ebx
je 0x4b218a
mov edx, 0x3e7
lea ecx, [esp + 0xc]
call fcn.0041ef30
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 0x4b2080
mov edx, 0xf
lea ecx, [esp + 0xc]
call fcn.00524b30
mov al, byte [esp + 0xc]
test al, al
je 0x4b21b4
lea edx, [esp + 0xc]
push 0x5b
push edx
call fcn.00570260
add esp, 8
test eax, eax
je 0x4b20cd
mov byte [eax], 0x7e
lea eax, [esp + 0xc]
push 0x5b
push eax
call fcn.00570260
add esp, 8
test eax, eax
jne 0x4b20b7
lea ecx, [esp + 0xc]
push 0x5d
push ecx
call fcn.00570260
add esp, 8
test eax, eax
je 0x4b20f6
lea edx, [esp + 0xc]
push 0x5d
push edx
mov byte [eax], 0x7e
call fcn.00570260
add esp, 8
test eax, eax
jne 0x4b20e0
lea eax, [esp + 0xc]
push 0xa
push eax
call fcn.00570260
add esp, 8
test eax, eax
je 0x4b2126
lea esp, [esp]
lea ecx, [esp + 0xc]
push 0xa
push ecx
mov byte [eax], 0x7e
call fcn.00570260
add esp, 8
test eax, eax
jne 0x4b2110
lea edx, [esp + 0xc]
push 0xd
push edx
call fcn.00570260
add esp, 8
test eax, eax
je 0x4b2156
lea esp, [esp]
mov byte [eax], 0x7e
lea eax, [esp + 0xc]
push 0xd
push eax
call fcn.00570260
add esp, 8
test eax, eax
jne 0x4b2140
lea ecx, [esp + 0xc]
push 0x3d
push ecx
call fcn.00570260
add esp, 8
test eax, eax
je 0x4b2186
lea esp, [esp]
lea edx, [esp + 0xc]
push 0x3d
push edx
mov byte [eax], 0x7e
call fcn.00570260
add esp, 8
test eax, eax
jne 0x4b2170
lea ebx, [esp + 0xc]
mov eax, dword [esp + 0x7e0]
test eax, eax
jne 0x4b219a
mov eax, 0x583b74
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