Function at 0x4f8288
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov eax, dword [ebp + 8]
lea esi, [ebp - 4]
mov ebx, 0x555704
test eax, eax
jne 0x4f8415
xor eax, eax
mov dword [0x5296c8], eax
mov dword [0x5296c4], eax
mov dword [0x5296c0], eax
mov dword [0x5296bc], eax
xor edx, edx
mov dword [0x5296d8], edx
mov dword [0x5296d4], edx
mov dword [0x5296d0], edx
mov dword [0x5296cc], edx
push 0x52ffb0
push 0x3e7
push ebx
push 0x53768a
push 0x537681
push 0x537679
call sub.KERNEL32.dll_GetPrivateProfileStringA
cmp byte [ebx], 0
je 0x4f856b
mov dword [esi], ebx
push ebx
call fcn.005183dc
pop ecx
add eax, dword [esi]
mov ebx, eax
cmp ebx, dword [esi]
jbe 0x4f831d
push 0xa
push esi
push dword [esi]
call fcn.00522b98
add esp, 0xc
mov dword [0x5296bc], eax
cmp dword [esi], 0
je 0x4f833e
cmp ebx, dword [esi]
jbe 0x4f833e
inc dword [esi]
cmp ebx, dword [esi]
jbe 0x4f833e
push 0xa
push esi
push dword [esi]
call fcn.00522b98
add esp, 0xc
mov dword [0x5296c0], eax
cmp dword [esi], 0
je 0x4f835f
cmp ebx, dword [esi]
jbe 0x4f835f
inc dword [esi]
cmp ebx, dword [esi]
jbe 0x4f835f
push 0xa
push esi
push dword [esi]
call fcn.00522b98
add esp, 0xc
mov dword [0x5296c8], eax
cmp dword [esi], 0
je 0x4f8380
cmp ebx, dword [esi]
jbe 0x4f8380
inc dword [esi]
cmp ebx, dword [esi]
jbe 0x4f8380
push 0xa
push esi
push dword [esi]
call fcn.00522b98
add esp, 0xc
mov dword [0x5296c4], eax
cmp dword [esi], 0
je 0x4f83a1
cmp ebx, dword [esi]
jbe 0x4f83a1
inc dword [esi]
cmp ebx, dword [esi]
jbe 0x4f83a1
push 0xa
push esi
push dword [esi]
call fcn.00522b98
add esp, 0xc
mov dword [0x5296cc], eax
cmp dword [esi], 0
je 0x4f83c2
cmp ebx, dword [esi]
jbe 0x4f83c2
inc dword [esi]
cmp ebx, dword [esi]
jbe 0x4f83c2
push 0xa
push esi
push dword [esi]
call fcn.00522b98
add esp, 0xc
mov dword [0x5296d4], eax
cmp dword [esi], 0
je 0x4f83e3
cmp ebx, dword [esi]
jbe 0x4f83e3
inc dword [esi]
cmp ebx, dword [esi]
jbe 0x4f83e3
push 0xa
push esi
push dword [esi]
call fcn.00522b98
add esp, 0xc
mov dword [0x5296d0], eax
cmp dword [esi], 0
je 0x4f856b
cmp ebx, dword [esi]
jbe 0x4f856b
inc dword [esi]
cmp ebx, dword [esi]
jbe 0x4f856b
push 0xa
push esi
push dword [esi]
call fcn.00522b98
add esp, 0xc
mov dword [0x5296d8], eax
jmp 0x4f856b
push eax
call fcn.004f9c59
mov edi, eax
test edi, edi
je 0x4f856b
cmp byte [edi + 0x638], 1
jne 0x4f856b
push 0x52ffb0
push 0x3e7
push ebx
push 0x537696
lea eax, [edi + 4]
push eax
push 0x53768e
call sub.KERNEL32.dll_GetPrivateProfileStringA
cmp byte [ebx], 0
je 0x4f856b
mov dword [esi], ebx
push ebx
call fcn.005183dc
pop ecx
add eax, dword [esi]
mov ebx, eax
cmp ebx, dword [esi]
jbe 0x4f847d
push 0xa
push esi
push dword [esi]
call fcn.00522b98
add esp, 0xc
mov dword [edi + 0x7f0], eax
cmp dword [esi], 0
je 0x4f849f
cmp ebx, dword [esi]
jbe 0x4f849f
inc dword [esi]
cmp ebx, dword [esi]
jbe 0x4f849f
push 0xa
push esi
push dword [esi]
call fcn.00522b98
add esp, 0xc
mov dword [edi + 0x7f4], eax
cmp dword [esi], 0
je 0x4f84c1
cmp ebx, dword [esi]
jbe 0x4f84c1
inc dword [esi]
cmp ebx, dword [esi]
jbe 0x4f84c1
push 0xa
push esi
push dword [esi]
call fcn.00522b98
add esp, 0xc
mov dword [edi + 0x7f8], eax
cmp dword [esi], 0
je 0x4f84e3
cmp ebx, dword [esi]
jbe 0x4f84e3
inc dword [esi]
cmp ebx, dword [esi]
jbe 0x4f84e3
push 0xa
push esi
push dword [esi]
call fcn.00522b98
add esp, 0xc
mov dword [edi + 0x7fc], eax
cmp dword [esi], 0
je 0x4f8505
cmp ebx, dword [esi]
jbe 0x4f8505
inc dword [esi]
cmp ebx, dword [esi]
jbe 0x4f8505
push 0xa
push esi
push dword [esi]
call fcn.00522b98
add esp, 0xc
mov dword [edi + 0x800], eax
cmp dword [esi], 0
je 0x4f8527
cmp ebx, dword [esi]
jbe 0x4f8527
inc dword [esi]
cmp ebx, dword [esi]
jbe 0x4f8527
push 0xa
push esi
push dword [esi]
call fcn.00522b98
add esp, 0xc
mov dword [edi + 0x804], eax
cmp dword [esi], 0
je 0x4f8549
cmp ebx, dword [esi]
jbe 0x4f8549
inc dword [esi]
cmp ebx, dword [esi]
jbe 0x4f8549
push 0xa
push esi
push dword [esi]
call fcn.00522b98
add esp, 0xc
mov dword [edi + 0x808], eax
cmp dword [esi], 0
je 0x4f856b
cmp ebx, dword [esi]
jbe 0x4f856b
inc dword [esi]
cmp ebx, dword [esi]
jbe 0x4f856b
push 0xa
push esi
push dword [esi]
call fcn.00522b98
add esp, 0xc
mov dword [edi + 0x80c], eax
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 4