Function at 0x41a518
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
push 0x51b93c
mov eax, dword [ebp + 8]
imul eax, eax, 0x138c
mov ecx, dword [0x53a2a0]
lea edx, [ecx + eax + 0x1aa]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x41a832
push 0x104
lea eax, [ebp - 0x10c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x5c
lea ecx, [ebp - 0x10c]
push ecx
call fcn.004d03c0
add esp, 8
mov dword [ebp - 4], eax
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
mov byte [eax], 0
call fcn.0044e6ae
cmp eax, 5
jl 0x41a5b6
push 0x5396f4
lea ecx, [ebp - 0x10c]
push ecx
call fcn.004cf9b0
add esp, 8
push 0x51b944
lea edx, [ebp - 0x10c]
push edx
call fcn.004cf9c0
add esp, 8
jmp 0x41a5ca
push 0x51b950
lea eax, [ebp - 0x10c]
push eax
call fcn.004cf9c0
add esp, 8
push 0x51b95c
mov ecx, dword [ebp + 8]
imul ecx, ecx, 0x138c
mov edx, dword [0x53a2a0]
lea eax, [edx + ecx + 0x181]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x41a655
lea ecx, [ebp - 0x10c]
push ecx
push 0
push 0x51b968
push 0x51b974
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x41a619
mov dword [ebp - 8], 4
mov edx, dword [ebp + 8]
add edx, dword [ebp - 8]
imul edx, edx, 0x138c
mov eax, dword [0x53a2a0]
lea ecx, [eax + edx + 0x181]
push ecx
mov edx, dword [ebp + 8]
imul edx, edx, 0x138c
mov eax, dword [0x53a2a0]
lea ecx, [eax + edx + 0x24e]
push ecx
call fcn.004cf9b0
add esp, 8
jmp 0x41a832
push 0x51b980
mov edx, dword [ebp + 8]
imul edx, edx, 0x138c
mov eax, dword [0x53a2a0]
lea ecx, [eax + edx + 0x181]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x41a6e1
lea edx, [ebp - 0x10c]
push edx
push 0
push 0x51b98c
push 0x51b994
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x41a6a3
mov dword [ebp - 8], 1
mov eax, dword [ebp + 8]
add eax, dword [ebp - 8]
imul eax, eax, 0x138c
mov ecx, dword [0x53a2a0]
lea edx, [ecx + eax + 0x181]
push edx
mov eax, dword [ebp + 8]
imul eax, eax, 0x138c
mov ecx, dword [0x53a2a0]
lea edx, [ecx + eax + 0x24e]
push edx
call fcn.004cf9b0
add esp, 8
jmp 0x41a832
push 0x51b9a0
mov eax, dword [ebp + 8]
imul eax, eax, 0x138c
mov ecx, dword [0x53a2a0]
lea edx, [ecx + eax + 0x181]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x41a7a6
lea eax, [ebp - 0x10c]
push eax
push 0
push 0x51b9ac
push 0x51b9b4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x41a768
mov ecx, dword [ebp + 8]
add ecx, 1
imul ecx, ecx, 0x138c
mov edx, dword [0x53a2a0]
lea eax, [edx + ecx + 0x181]
push eax
mov ecx, dword [ebp + 8]
imul ecx, ecx, 0x138c
mov edx, dword [0x53a2a0]
lea eax, [edx + ecx + 0x24e]
push eax
call fcn.004cf9b0
add esp, 8
jmp 0x41a7a1
mov ecx, dword [ebp + 8]
add ecx, 2
imul ecx, ecx, 0x138c
mov edx, dword [0x53a2a0]
lea eax, [edx + ecx + 0x181]
push eax
mov ecx, dword [ebp + 8]
imul ecx, ecx, 0x138c
mov edx, dword [0x53a2a0]
lea eax, [edx + ecx + 0x24e]
push eax
call fcn.004cf9b0
add esp, 8
jmp 0x41a832
push 0x51b9c0
mov ecx, dword [ebp + 8]
imul ecx, ecx, 0x138c
mov edx, dword [0x53a2a0]
lea eax, [edx + ecx + 0x181]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x41a832
lea ecx, [ebp - 0x10c]
push ecx
push 0
push 0x51b9cc
push 0x51b9d8
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x41a7f5
mov dword [ebp - 8], 0
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 8]
lea ecx, [eax + edx + 1]
imul ecx, ecx, 0x138c
mov edx, dword [0x53a2a0]
lea eax, [edx + ecx + 0x181]
push eax
mov ecx, dword [ebp + 8]
imul ecx, ecx, 0x138c
mov edx, dword [0x53a2a0]
lea eax, [edx + ecx + 0x24e]
push eax
call fcn.004cf9b0
add esp, 8
mov esp, ebp
pop ebp
ret