Function at 0x4177a6
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 [0x56ce6c], 0
je 0x4177e2
mov ecx, dword [ebp - 4]
add ecx, 0x69e
push ecx
push 0
push 0x54a3ec
push 0x54a3fc
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 [0x56ce68], 0
je 0x417815
mov ecx, dword [ebp - 4]
add ecx, 0x69e
push ecx
push 0
push 0x54a400
push 0x54a410
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 [0x56ce64], 0
je 0x41784a
mov ecx, dword [ebp - 4]
add ecx, 0x69e
push ecx
push 0
push 0x54a414
push 0x54a420
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 [0x56ce60], 0
je 0x41787f
mov ecx, dword [ebp - 4]
add ecx, 0x69e
push ecx
push 0
push 0x54a424
push 0x54a430
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 [0x56ce58], 0
je 0x4178b4
mov ecx, dword [ebp - 4]
add ecx, 0x69e
push ecx
push 0
push 0x54a434
push 0x54a440
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 [0x56ce5c], 0
je 0x4178e9
mov ecx, dword [ebp - 4]
add ecx, 0x69e
push ecx
push 0
push 0x54a444
push 0x54a450
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.004e8440
add esp, 0xc
cmp dword [0x56ce74], 0
je 0x41795f
cmp dword [0x56c10c], 0
je 0x41795f
mov edx, dword [ebp - 4]
add edx, 0x69e
push edx
push 0
push 0x54a454
push 0x54a464
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x20], eax
mov edx, dword [ebp - 4]
add edx, 0x69e
push edx
push 0xa
mov eax, dword [ebp + 8]
add eax, 0x24
push eax
push 0
push 0x54a468
push 0x54a478
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x2e], 0
cmp dword [0x56ce74], 0
je 0x4179bf
cmp dword [0x56c10c], 0
je 0x4179bf
mov edx, dword [ebp - 4]
add edx, 0x69e
push edx
push 0
push 0x54a47c
push 0x54a490
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x2e], eax
mov edx, dword [ebp - 4]
add edx, 0x69e
push edx
push 0
push 0x54a494
push 0x54a4a8
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 [0x56c108], 2
jne 0x417a4c
mov edx, dword [ebp - 4]
add edx, 0x69e
push edx
push 0
push 0x54a4ac
push 0x54a4b8
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x36], eax
mov edx, dword [ebp - 4]
add edx, 0x69e
push edx
push 0
push 0x54a4bc
push 0x54a4c4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp + 8]
mov word [ecx + 0x3a], ax
mov edx, dword [ebp - 4]
add edx, 0x69e
push edx
push 0
push 0x54a4c8
push 0x54a4d0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp + 8]
mov word [ecx + 0x3c], ax
mov edx, dword [ebp - 4]
add edx, 0x69e
push edx
push 0
push 0x54a4d4
push 0x54a4ec
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0xc], eax
mov edx, dword [ebp - 4]
add edx, 0x69e
push edx
push 0
push 0x54a4f0
push 0x54a504
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x10], eax
mov esp, ebp
pop ebp
ret 4