Function at 0x41cf4f
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov dword [ebp - 0x3c], ecx
mov eax, dword [ebp - 0x3c]
add eax, 0x8f5
push eax
push 0x64
push 0x51ad3c
push 0x51ad48
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp + 8]
mov byte [ecx], al
mov edx, dword [ebp - 0x3c]
add edx, 0x8f5
push edx
push 0x14
push 0x51ad4c
push 0x51ad58
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp + 8]
mov byte [ecx + 1], al
mov edx, dword [ebp - 0x3c]
add edx, 0x8f5
push edx
push 0
push 0x51ad5c
push 0x51ad68
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp + 8]
mov byte [ecx + 2], al
mov edx, dword [ebp - 0x3c]
add edx, 0x8f5
push edx
push 0
push 0x51ad6c
push 0x51ad78
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp + 8]
mov byte [ecx + 3], al
mov edx, dword [ebp - 0x3c]
add edx, 0x8f5
push edx
push 1
push 0x51ad7c
push 0x51ad84
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp + 8]
mov byte [ecx + 6], al
mov edx, dword [ebp - 0x3c]
add edx, 0x8f5
push edx
push 1
push 0x51ad88
push 0x51ad94
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp + 8]
mov byte [ecx + 7], al
mov edx, dword [ebp - 0x3c]
add edx, 0x8f5
push edx
push 1
push 0x51ad98
push 0x51ada0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp + 8]
mov byte [ecx + 8], al
mov edx, dword [ebp - 0x3c]
add edx, 0x8f5
push edx
push 1
push 0x51ada4
push 0x51adb0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp + 8]
mov byte [ecx + 0xd], al
mov edx, dword [ebp + 8]
mov byte [edx + 5], 0
mov eax, dword [ebp + 8]
mov byte [eax + 4], 0
cmp dword [0x53bf40], 0
je 0x41d0c0
mov ecx, dword [ebp - 0x3c]
add ecx, 0x8f5
push ecx
push 0
push 0x51adb4
push 0x51adc4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov edx, dword [ebp + 8]
mov byte [edx + 4], al
mov eax, dword [ebp - 0x3c]
add eax, 0x8f5
push eax
push 0
push 0x51adc8
push 0x51add8
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp + 8]
mov byte [ecx + 5], al
mov edx, dword [ebp + 8]
mov byte [edx + 0xb], 0
mov eax, dword [ebp - 0x3c]
add eax, 0x8f5
push eax
push 0
push 0x51addc
push 0x51ade8
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp + 8]
mov byte [ecx + 0xb], al
mov edx, dword [ebp + 8]
mov byte [edx + 0xe], 0
cmp dword [0x53b44c], 0
je 0x41d119
mov eax, dword [ebp - 0x3c]
add eax, 0x8f5
push eax
push 0
push 0x51adec
push 0x51ae00
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp + 8]
mov byte [ecx + 0xe], al
mov edx, dword [ebp + 8]
mov byte [edx + 0xf], 0
cmp dword [0x53b44c], 0
je 0x41d14a
mov eax, dword [ebp - 0x3c]
add eax, 0x8f5
push eax
push 0
push 0x51ae04
push 0x51ae1c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp + 8]
mov byte [ecx + 0xf], al
mov edx, dword [ebp + 8]
mov byte [edx + 0x10], 0
cmp dword [0x53b44c], 0
je 0x41d17b
mov eax, dword [ebp - 0x3c]
add eax, 0x8f5
push eax
push 0
push 0x51ae20
push 0x51ae34
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp + 8]
mov byte [ecx + 0x10], al
mov edx, dword [ebp + 8]
mov byte [edx + 0x11], 0
cmp dword [0x53b44c], 0
je 0x41d1ac
mov eax, dword [ebp - 0x3c]
add eax, 0x8f5
push eax
push 0
push 0x51ae38
push 0x51ae48
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp + 8]
mov byte [ecx + 0x11], al
mov edx, dword [ebp + 8]
xor eax, eax
mov al, byte [edx + 6]
test eax, eax
jne 0x41d1bf
mov ecx, dword [ebp + 8]
mov byte [ecx + 7], 0
mov edx, dword [ebp + 8]
xor eax, eax
mov al, byte [edx + 7]
test eax, eax
jne 0x41d1d2
mov ecx, dword [ebp + 8]
mov byte [ecx + 8], 0
mov edx, dword [ebp + 8]
mov byte [edx + 0x17], 0
mov eax, dword [ebp + 8]
mov byte [eax + 0x1a], 0
mov ecx, dword [ebp - 0x3c]
add ecx, 0x8f5
push ecx
push 0
push 0x51ae4c
push 0x51ae58
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov edx, dword [ebp + 8]
mov byte [edx + 0x1a], al
mov eax, dword [ebp - 0x3c]
add eax, 0x8f5
push eax
push 0
push 0x51ae5c
push 0x51ae68
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp + 8]
mov byte [ecx + 0x1b], al
mov edx, dword [ebp - 0x3c]
add edx, 0x8f5
push edx
push 0
push 0x51ae6c
push 0x51ae74
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp + 8]
mov byte [ecx + 0x16], al
mov edx, dword [ebp + 8]
mov byte [edx + 0x18], 7
mov eax, dword [ebp + 8]
mov byte [eax + 0x19], 1
mov ecx, dword [ebp + 8]
mov byte [ecx + 0x1c], 0
mov edx, dword [ebp - 0x3c]
add edx, 0x8f5
push edx
push 0
push 0x51ae78
push 0x51ae88
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp + 8]
mov byte [ecx + 0x1c], al
mov edx, dword [ebp - 0x3c]
add edx, 0x8f5
push edx
push 0x10
push 0x51ae8c
push 0x51ae9c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp + 8]
mov word [ecx + 0x1e], ax
mov edx, dword [ebp - 0x3c]
add edx, 0x8f5
push edx
push 0x10
push 0x51aea0
push 0x51aeb0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp + 8]
mov word [ecx + 0x20], ax
mov edx, dword [ebp - 0x3c]
add edx, 0x8f5
push edx
push 0x10
push 0x51aeb4
push 0x51aec4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp + 8]
mov word [ecx + 0x22], ax
mov edx, dword [ebp - 0x3c]
add edx, 0x8f5
push edx
push 0x10
push 0x51aec8
push 0x51aed4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp + 8]
mov word [ecx + 0x24], ax
mov edx, dword [ebp + 8]
mov byte [edx + 0x1d], 0
mov eax, dword [ebp + 8]
mov word [eax + 0x28], 0
cmp dword [0x53bf44], 0
je 0x41d365
mov ecx, dword [ebp - 0x3c]
add ecx, 0x8f5
push ecx
push 0
push 0x51aed8
push 0x51aee8
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov edx, dword [ebp + 8]
mov byte [edx + 0x1d], al
mov eax, dword [ebp - 0x3c]
add eax, 0x8f5
push eax
push 0
push 0x51aeec
push 0x51aef8
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp + 8]
mov word [ecx + 0x28], ax
mov edx, dword [ebp - 0x3c]
add edx, 0x8f5
push edx
push 0
push 0x51aefc
push 0x51af10
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp + 8]
mov byte [ecx + 0xa], al
mov edx, dword [ebp - 0x3c]
add edx, 0x8f5
push edx
push 0
push 0x51af14
push 0x51af20
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp + 8]
mov word [ecx + 0x26], ax
mov edx, dword [ebp + 8]
xor eax, eax
mov ax, word [edx + 0x26]
test eax, eax
jne 0x41d3be
mov ecx, dword [ebp + 8]
mov byte [ecx + 0xa], 0
mov edx, dword [ebp + 8]
mov byte [edx + 0x2a], 0
cmp dword [0x53bf4c], 0
je 0x41d45d
mov eax, dword [ebp - 0x3c]
add eax, 0x8f5
push eax
push 0
push 0x51af24
push 0x51af34
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp + 8]
mov byte [ecx + 0x2a], al
mov dword [ebp - 0x38], 0
jmp 0x41d405
mov edx, dword [ebp - 0x38]
add edx, 1
mov dword [ebp - 0x38], edx
cmp dword [ebp - 0x38], 3
jge 0x41d45d
push 0x32
push 0
lea eax, [ebp - 0x34]
push eax
call fcn.004b9030
add esp, 0xc
mov ecx, dword [ebp - 0x38]
push ecx
push 0x51af38
lea edx, [ebp - 0x34]
push edx
call fcn.004b953d
add esp, 0xc
mov eax, dword [ebp - 0x3c]
add eax, 0x8f5
push eax
mov ecx, dword [ebp - 0x38]
add ecx, 1
imul ecx, ecx, 0xa
push ecx
lea edx, [ebp - 0x34]
push edx
push 0x51af44
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0x38]
mov byte [ecx + 0x2b], al
jmp 0x41d3fc
mov esp, ebp
pop ebp
ret 4