Function at 0x418085
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 8]
mov dword [eax + 8], 0
cmp dword [0x56e300], 0
je 0x4180c1
mov ecx, dword [ebp - 4]
add ecx, 0x8f5
push ecx
push 0
push 0x54b580
push 0x54b590
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov edx, dword [ebp + 8]
mov dword [edx + 8], eax
mov eax, dword [ebp + 8]
mov dword [eax], 0
cmp dword [0x56e2fc], 0
je 0x4180f4
mov ecx, dword [ebp - 4]
add ecx, 0x8f5
push ecx
push 0
push 0x54b594
push 0x54b5a4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov edx, dword [ebp + 8]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov dword [eax + 4], 0
cmp dword [0x56e2f8], 0
je 0x418129
mov ecx, dword [ebp - 4]
add ecx, 0x8f5
push ecx
push 0
push 0x54b5a8
push 0x54b5b4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov edx, dword [ebp + 8]
mov dword [edx + 4], eax
mov eax, dword [ebp + 8]
mov dword [eax + 0x14], 0
cmp dword [0x56e2f4], 0
je 0x41815e
mov ecx, dword [ebp - 4]
add ecx, 0x8f5
push ecx
push 0
push 0x54b5b8
push 0x54b5c4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov edx, dword [ebp + 8]
mov dword [edx + 0x14], eax
mov eax, dword [ebp + 8]
mov dword [eax + 0x1c], 0
cmp dword [0x56e2ec], 0
je 0x418193
mov ecx, dword [ebp - 4]
add ecx, 0x8f5
push ecx
push 0
push 0x54b5c8
push 0x54b5d4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov edx, dword [ebp + 8]
mov dword [edx + 0x1c], eax
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], 0
cmp dword [0x56e2f0], 0
je 0x4181c8
mov ecx, dword [ebp - 4]
add ecx, 0x8f5
push ecx
push 0
push 0x54b5d8
push 0x54b5e4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov edx, dword [ebp + 8]
mov dword [edx + 0x18], eax
mov eax, dword [ebp + 8]
mov dword [eax + 0x20], 0
push 0xa
push 0
mov ecx, dword [ebp + 8]
add ecx, 0x24
push ecx
call fcn.004e9480
add esp, 0xc
cmp dword [0x56e308], 0
je 0x41823e
cmp dword [0x56d5a4], 0
je 0x41823e
mov edx, dword [ebp - 4]
add edx, 0x8f5
push edx
push 0
push 0x54b5e8
push 0x54b5f8
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x20], eax
mov edx, dword [ebp - 4]
add edx, 0x8f5
push edx
push 0xa
mov eax, dword [ebp + 8]
add eax, 0x24
push eax
push 0
push 0x54b5fc
push 0x54b60c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x2e], 0
cmp dword [0x56e308], 0
je 0x41829e
cmp dword [0x56d5a4], 0
je 0x41829e
mov edx, dword [ebp - 4]
add edx, 0x8f5
push edx
push 0
push 0x54b610
push 0x54b624
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x2e], eax
mov edx, dword [ebp - 4]
add edx, 0x8f5
push edx
push 0
push 0x54b628
push 0x54b63c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x32], eax
mov edx, dword [ebp + 8]
mov dword [edx + 0x36], 0
mov eax, dword [ebp + 8]
mov word [eax + 0x3a], 0
mov ecx, dword [ebp + 8]
mov word [ecx + 0x3c], 0
cmp dword [0x56d5a0], 2
jne 0x41832b
mov edx, dword [ebp - 4]
add edx, 0x8f5
push edx
push 0
push 0x54b640
push 0x54b64c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x36], eax
mov edx, dword [ebp - 4]
add edx, 0x8f5
push edx
push 0
push 0x54b650
push 0x54b658
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp + 8]
mov word [ecx + 0x3a], ax
mov edx, dword [ebp - 4]
add edx, 0x8f5
push edx
push 0
push 0x54b65c
push 0x54b664
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp + 8]
mov word [ecx + 0x3c], ax
mov edx, dword [ebp - 4]
add edx, 0x8f5
push edx
push 0
push 0x54b668
push 0x54b680
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0xc], eax
mov edx, dword [ebp - 4]
add edx, 0x8f5
push edx
push 0
push 0x54b684
push 0x54b698
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x10], eax
mov esp, ebp
pop ebp
ret 4