Function at 0x40f1c0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x10618
call fcn.00467dc0
mov eax, dword [0x4cd724]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor eax, eax
mov word [ebp - 0x10008], ax
push 0xfff8
push 0
lea ecx, [ebp - 0x10006]
push ecx
call fcn.004677c0
add esp, 0xc
mov dword [ebp - 0x1000c], 0
mov edx, dword [ebp + 8]
push edx
push 0x7ffd
lea eax, [ebp - 0x10008]
push eax
push 0x4ae3bc
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionW]
test eax, eax
jbe 0x40f55d
xor ecx, ecx
mov word [ebp - 0x10410], cx
push 0x1fe
push 0
lea edx, [ebp - 0x1040e]
push edx
call fcn.004677c0
add esp, 0xc
xor eax, eax
mov word [ebp - 0x10210], ax
push 0x1fe
push 0
lea ecx, [ebp - 0x1020e]
push ecx
call fcn.004677c0
add esp, 0xc
xor edx, edx
mov word [ebp - 0x10618], dx
push 0x206
push 0
lea eax, [ebp - 0x10616]
push eax
call fcn.004677c0
add esp, 0xc
lea ecx, [ebp - 0x10008]
mov dword [ebp - 0x10010], ecx
mov edx, dword [ebp - 0x10010]
movzx eax, word [edx]
test eax, eax
je 0x40f55d
push 0x3d
push 0x100
lea ecx, [ebp - 0x10410]
push ecx
push 0x104
lea edx, [ebp - 0x10618]
push edx
mov eax, dword [ebp - 0x10010]
push eax
call fcn.0040e880
add esp, 0x18
mov ecx, dword [ebp + 8]
push ecx
push 0x100
lea edx, [ebp - 0x10210]
push edx
push 0x4ae3d0
push 0x4ae3d4
lea eax, [ebp - 0x10410]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
jbe 0x40f539
mov ecx, dword [ebp - 0x1000c]
add ecx, 1
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.0040ff00
mov edx, dword [ebp + 8]
push edx
push 0x100
mov eax, dword [ebp - 0x1000c]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.0040ff70
add eax, 0x200
push eax
lea ecx, [ebp - 0x10210]
push ecx
push 0x4ae3e0
lea edx, [ebp - 0x10410]
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x10210]
push eax
push 0x100
mov ecx, dword [ebp - 0x1000c]
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.0040ff70
push eax
call fcn.0046a10d
add esp, 0xc
mov edx, dword [ebp + 8]
push edx
push 0xffffffffffffffff
push 0x4ae3f8
lea eax, [ebp - 0x10410]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov esi, eax
mov ecx, dword [ebp - 0x1000c]
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.0040ff70
mov dword [eax + 0x61c], esi
mov edx, dword [ebp + 8]
push edx
push 0xffffffffffffffff
push 0x4ae414
lea eax, [ebp - 0x10410]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov esi, eax
mov ecx, dword [ebp - 0x1000c]
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.0040ff70
mov dword [eax + 0x620], esi
mov edx, dword [ebp + 8]
push edx
push 0xffffffffffffffff
push 0x4ae430
lea eax, [ebp - 0x10410]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov esi, eax
mov ecx, dword [ebp - 0x1000c]
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.0040ff70
mov dword [eax + 0x614], esi
mov edx, dword [ebp + 8]
push edx
push 0xffffffffffffffff
push 0x4ae450
lea eax, [ebp - 0x10410]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov esi, eax
mov ecx, dword [ebp - 0x1000c]
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.0040ff70
mov dword [eax + 0x618], esi
mov edx, dword [ebp + 8]
push edx
push 0x100
mov eax, dword [ebp - 0x1000c]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.0040ff70
add eax, 0x400
push eax
push 0x4ae470
push 0x4ae474
lea ecx, [ebp - 0x10410]
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov edx, dword [ebp + 8]
push edx
push 0xa
mov eax, dword [ebp - 0x1000c]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.0040ff70
add eax, 0x600
push eax
push 0x4ae498
push 0x4ae49c
lea ecx, [ebp - 0x10410]
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov edx, dword [ebp - 0x1000c]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.0040ff70
add eax, 0x600
push eax
mov eax, dword [ebp - 0x1000c]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.0040ff70
add eax, 0x400
push eax
mov ecx, dword [ebp - 0x1000c]
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.0040ff70
mov edx, dword [eax + 0x618]
push edx
mov eax, dword [ebp - 0x1000c]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.0040ff70
mov ecx, dword [eax + 0x614]
push ecx
mov edx, dword [ebp - 0x1000c]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.0040ff70
mov eax, dword [eax + 0x620]
push eax
mov ecx, dword [ebp - 0x1000c]
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.0040ff70
mov edx, dword [eax + 0x61c]
push edx
mov eax, dword [ebp - 0x1000c]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.0040ff70
add eax, 0x200
push eax
push str.InitPlatforms____Description:__s___Platform:__d._d___SP:_d._d____s_cond:__s
call fcn.00456a00
add esp, 0x20
mov ecx, dword [ebp - 0x1000c]
add ecx, 1
mov dword [ebp - 0x1000c], ecx
mov edx, dword [ebp - 0x10010]
push edx
call fcn.00467f58
add esp, 4
mov ecx, dword [ebp - 0x10010]
lea edx, [ecx + eax*2 + 2]
mov dword [ebp - 0x10010], edx
jmp 0x40f28d
mov eax, dword [ebp - 0x1000c]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004677af
mov esp, ebp
pop ebp
ret