Function at 0x41be60
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe7c
push ebx
push esi
push edi
mov edi, 0x4b2a74
push dword [ebp + 8]
call fcn.00404568
pop ecx
mov ebx, 0x2710
push ebx
call fcn.004a78f4
pop ecx
mov esi, eax
push dword [ebp + 0xc]
push ebx
push esi
lea eax, [edi + 8]
push eax
push 0
push edi
call sub.KERNEL32.dll_GetPrivateProfileStringA
test eax, eax
jne 0x41bea9
push esi
call fcn.004a789c
pop ecx
jmp 0x41c0ff
lea edx, [ebx - 2]
cmp eax, edx
jne 0x41bec7
push esi
call fcn.004a789c
pop ecx
lea ecx, [ebx + ebx*2]
mov ebx, ecx
push ebx
call fcn.004a78f4
pop ecx
mov esi, eax
jmp 0x41be88
mov ebx, esi
lea eax, [edi + 9]
push eax
call fcn.0049af74
pop ecx
push eax
lea edx, [edi + 9]
push edx
push ebx
call fcn.0049b1d0
add esp, 0xc
test eax, eax
jne 0x41c0dd
xor ecx, ecx
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
lea edx, [edi + 0xc]
push edx
lea ecx, [edi + 9]
push ecx
call fcn.0049af74
pop ecx
add eax, ebx
push eax
call fcn.004a0114
add esp, 0xc
dec eax
jne 0x41c0dd
push dword [ebp + 0xc]
push 0xfa
lea eax, [ebp - 0x118]
push eax
lea edx, [edi + 8]
push edx
push ebx
push edi
call sub.KERNEL32.dll_GetPrivateProfileStringA
test eax, eax
je 0x41c0dd
xor ecx, ecx
lea eax, [ebp - 0x118]
mov dword [ebp - 0x1c], ecx
push 0x2c
push eax
call fcn.0049b079
add esp, 8
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x41bf6c
mov edx, dword [ebp - 0x18]
mov byte [edx], 0
inc dword [ebp - 0x18]
push 0x2c
push dword [ebp - 0x18]
call fcn.0049b079
add esp, 8
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x41bf7b
mov ecx, dword [ebp - 0x1c]
mov byte [ecx], 0
inc dword [ebp - 0x1c]
lea eax, [ebp - 0x14]
push eax
lea edx, [ebp - 0x10]
push edx
lea ecx, [ebp - 0xc]
push ecx
lea eax, [ebp - 8]
push eax
lea edx, [edi + 0xf]
push edx
lea ecx, [ebp - 0x118]
push ecx
call fcn.004a0114
add esp, 0x18
cmp eax, 4
jne 0x41c0dd
cmp dword [ebp - 8], 0xff
ja 0x41c0dd
cmp dword [ebp - 0xc], 0xff
ja 0x41c0dd
cmp dword [ebp - 0x10], 0xff
ja 0x41c0dd
cmp dword [ebp - 0x14], 0xff
ja 0x41c0dd
mov eax, dword [ebp - 4]
lea edx, [edi + 0xf]
mov dword [ebp - 0x184], eax
lea ecx, [ebp - 0x17c]
mov byte [ebp - 0x168], 0
mov byte [ebp - 0x12c], 0
push dword [ebp - 0x14]
push dword [ebp - 0x10]
push dword [ebp - 0xc]
push dword [ebp - 8]
push edx
push ecx
call fcn.004a00a0
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
shl edx, 0x10
mov ecx, dword [ebp - 0x10]
shl eax, 0x18
add esp, 0x18
shl ecx, 8
or eax, edx
or eax, ecx
or eax, dword [ebp - 0x14]
mov dword [ebp - 0x180], eax
cmp dword [ebp - 0x18], 0
je 0x41c05e
push 0x3b
lea eax, [ebp - 0x168]
push dword [ebp - 0x18]
push eax
call fcn.0049b180
add esp, 0xc
lea edx, [ebp - 0x168]
mov byte [ebp - 0x12d], 0
push edx
call fcn.00454478
pop ecx
cmp dword [ebp - 0x1c], 0
je 0x41c0cb
lea ecx, [ebp - 0x14]
push ecx
lea eax, [ebp - 0x10]
push eax
lea edx, [ebp - 0xc]
push edx
lea ecx, [ebp - 8]
push ecx
lea eax, [edi + 0xf]
push eax
push dword [ebp - 0x1c]
call fcn.004a0114
add esp, 0x18
cmp eax, 4
jne 0x41c0cb
cmp dword [ebp - 8], 0xff
ja 0x41c0cb
cmp dword [ebp - 0xc], 0xff
ja 0x41c0cb
cmp dword [ebp - 0x10], 0xff
ja 0x41c0cb
cmp dword [ebp - 0x14], 0xff
ja 0x41c0cb
push dword [ebp - 0x14]
push dword [ebp - 0x10]
push dword [ebp - 0xc]
push dword [ebp - 8]
lea edx, [edi + 0xf]
push edx
lea ecx, [ebp - 0x12c]
push ecx
call fcn.004a00a0
add esp, 0x18
lea eax, [ebp - 0x184]
push eax
push dword [ebp + 8]
call fcn.004042e4
add esp, 8
push 0
push ebx
call fcn.0049b079
add esp, 8
mov ebx, eax
test eax, eax
je 0x41c0f8
inc ebx
cmp byte [ebx], 0
jne 0x41bec9
push esi
call fcn.004a789c
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret