Function at 0x41c67c
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe7c
push ebx
push esi
push edi
mov edi, 0x4b0f1c
mov eax, dword [ebp + 8]
push eax
call fcn.00404738
pop ecx
mov ebx, 0x2710
push ebx
call fcn.004a4fc0
pop ecx
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
push ebx
push esi
lea edx, [edi + 8]
push edx
push 0
push edi
call sub.KERNEL32.dll_GetPrivateProfileStringA
test eax, eax
jne 0x41c6c7
push esi
call fcn.004a4f68
pop ecx
jmp 0x41c92a
lea ecx, [ebx - 2]
cmp eax, ecx
jne 0x41c6e5
push esi
call fcn.004a4f68
pop ecx
lea eax, [ebx + ebx*2]
mov ebx, eax
push ebx
call fcn.004a4fc0
pop ecx
mov esi, eax
jmp 0x41c6a5
mov ebx, esi
lea eax, [edi + 9]
push eax
call fcn.004987e8
pop ecx
push eax
lea edx, [edi + 9]
push edx
push ebx
call fcn.00498a44
add esp, 0xc
test eax, eax
jne 0x41c908
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.004987e8
pop ecx
add eax, ebx
push eax
call fcn.0049d988
add esp, 0xc
dec eax
jne 0x41c908
mov eax, dword [ebp + 0xc]
lea edx, [ebp - 0x118]
push eax
push 0xfa
push edx
lea ecx, [edi + 8]
push ecx
push ebx
push edi
call sub.KERNEL32.dll_GetPrivateProfileStringA
test eax, eax
je 0x41c908
xor eax, eax
lea edx, [ebp - 0x118]
mov dword [ebp - 0x1c], eax
push 0x2c
push edx
call fcn.004988ed
add esp, 8
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x41c78c
mov ecx, dword [ebp - 0x18]
mov byte [ecx], 0
inc dword [ebp - 0x18]
push 0x2c
mov eax, dword [ebp - 0x18]
push eax
call fcn.004988ed
add esp, 8
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x41c79b
mov edx, dword [ebp - 0x1c]
mov byte [edx], 0
inc dword [ebp - 0x1c]
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
lea edx, [ebp - 0x118]
push edx
call fcn.0049d988
add esp, 0x18
cmp eax, 4
jne 0x41c908
cmp dword [ebp - 8], 0xff
ja 0x41c908
cmp dword [ebp - 0xc], 0xff
ja 0x41c908
cmp dword [ebp - 0x10], 0xff
ja 0x41c908
cmp dword [ebp - 0x14], 0xff
ja 0x41c908
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x184], ecx
mov byte [ebp - 0x168], 0
mov byte [ebp - 0x12c], 0
mov eax, dword [ebp - 0x14]
push eax
mov edx, dword [ebp - 0x10]
push edx
lea edx, [edi + 0xf]
mov ecx, dword [ebp - 0xc]
push ecx
lea ecx, [ebp - 0x17c]
mov eax, dword [ebp - 8]
push eax
push edx
push ecx
call fcn.0049d914
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 0x41c883
push 0x3b
mov eax, dword [ebp - 0x18]
push eax
lea edx, [ebp - 0x168]
push edx
call fcn.004989f4
add esp, 0xc
lea ecx, [ebp - 0x168]
mov byte [ebp - 0x12d], 0
push ecx
call fcn.00454ca4
pop ecx
cmp dword [ebp - 0x1c], 0
je 0x41c8f5
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
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.0049d988
add esp, 0x18
cmp eax, 4
jne 0x41c8f5
cmp dword [ebp - 8], 0xff
ja 0x41c8f5
cmp dword [ebp - 0xc], 0xff
ja 0x41c8f5
cmp dword [ebp - 0x10], 0xff
ja 0x41c8f5
cmp dword [ebp - 0x14], 0xff
ja 0x41c8f5
mov eax, dword [ebp - 0x14]
push eax
mov edx, dword [ebp - 0x10]
push edx
lea edx, [edi + 0xf]
mov ecx, dword [ebp - 0xc]
push ecx
lea ecx, [ebp - 0x12c]
mov eax, dword [ebp - 8]
push eax
push edx
push ecx
call fcn.0049d914
add esp, 0x18
lea eax, [ebp - 0x184]
push eax
mov edx, dword [ebp + 8]
push edx
call fcn.004044b0
add esp, 8
push 0
push ebx
call fcn.004988ed
add esp, 8
mov ebx, eax
test eax, eax
je 0x41c923
inc ebx
cmp byte [ebx], 0
jne 0x41c6e7
push esi
call fcn.004a4f68
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret