Function at 0x42dbc0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x10614
call fcn.00469cb0
mov eax, dword [0x4a86f0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov dword [ebp - 0x10610], eax
xor eax, eax
push 0xfff8
push eax
mov word [ebp - 0x10608], ax
lea eax, [ebp - 0x10606]
push eax
call fcn.0046a330
add esp, 0xc
lea eax, [ebp - 0x10608]
xor esi, esi
mov dword [ebp - 0x10614], esi
push ebx
push 0x7ffd
push eax
push str.Platforms
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionW]
test eax, eax
je 0x42defb
push edi
xor eax, eax
push 0x1fe
push eax
mov word [ebp - 0x204], ax
lea eax, [ebp - 0x202]
push eax
call fcn.0046a330
xor eax, eax
push 0x1fe
push eax
mov word [ebp - 0x404], ax
lea eax, [ebp - 0x402]
push eax
call fcn.0046a330
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x60c], ax
lea eax, [ebp - 0x60a]
push eax
call fcn.0046a330
add esp, 0x24
lea edi, [ebp - 0x10608]
cmp word [ebp - 0x10608], si
je 0x42dee8
mov dword [ebp - 0x1060c], esi
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
nop
push 0x3d
push 0x100
lea eax, [ebp - 0x204]
push eax
push 0x104
lea eax, [ebp - 0x60c]
push eax
push edi
call fcn.0042e3e0
add esp, 0x18
lea eax, [ebp - 0x404]
push ebx
push 0x100
push eax
push 0x487854
push str.Name
lea eax, [ebp - 0x204]
push eax
call esi
test eax, eax
je 0x42deae
mov eax, dword [ebp - 0x10614]
mov ecx, dword [ebp - 0x10610]
inc eax
push eax
mov dword [ebp - 0x10614], eax
call fcn.00430020
mov eax, dword [ebp - 0x10610]
mov ecx, dword [ebp - 0x1060c]
push ebx
push 0x100
mov eax, dword [eax]
add ecx, 0x200
add eax, ecx
push eax
lea eax, [ebp - 0x404]
push eax
push str.Description
lea eax, [ebp - 0x204]
push eax
call esi
mov esi, dword [ebp - 0x10610]
lea eax, [ebp - 0x404]
push eax
push 0x100
mov eax, dword [esi]
add eax, dword [ebp - 0x1060c]
push eax
call fcn.0046befa
mov esi, dword [esi]
lea eax, [ebp - 0x204]
add esi, dword [ebp - 0x1060c]
add esp, 0xc
push ebx
push 0xffffffffffffffff
push str.MajorVersion
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [esi + 0x61c], eax
mov eax, dword [ebp - 0x10610]
push ebx
push 0xffffffffffffffff
push str.MinorVersion
mov esi, dword [eax]
lea eax, [ebp - 0x204]
add esi, dword [ebp - 0x1060c]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [esi + 0x620], eax
mov eax, dword [ebp - 0x10610]
push ebx
push 0xffffffffffffffff
push str.SPMajorVersion
mov esi, dword [eax]
lea eax, [ebp - 0x204]
add esi, dword [ebp - 0x1060c]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [esi + 0x614], eax
mov eax, dword [ebp - 0x10610]
push ebx
push 0xffffffffffffffff
push str.SPMinorVersion
mov esi, dword [eax]
lea eax, [ebp - 0x204]
add esi, dword [ebp - 0x1060c]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [ebp - 0x1060c]
mov dword [esi + 0x618], eax
add ecx, 0x400
mov eax, dword [ebp - 0x10610]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push ebx
push 0x100
mov eax, dword [eax]
add eax, ecx
push eax
push 0x487854
push str.ProcArchitecture
lea eax, [ebp - 0x204]
push eax
call esi
mov eax, dword [ebp - 0x10610]
mov ecx, dword [ebp - 0x1060c]
push ebx
push 0xa
mov eax, dword [eax]
add ecx, 0x600
add eax, ecx
push eax
push 0x487854
push str.ValueCond
lea eax, [ebp - 0x204]
push eax
call esi
mov ecx, dword [ebp - 0x10610]
mov eax, dword [ecx]
mov ecx, dword [ebp - 0x1060c]
add ecx, eax
lea eax, [ecx + 0x600]
push eax
lea eax, [ecx + 0x400]
push eax
push dword [ecx + 0x618]
lea eax, [ecx + 0x200]
push dword [ecx + 0x614]
push dword [ecx + 0x620]
push dword [ecx + 0x61c]
push eax
push str.InitPlatforms____Description:__s___Platform:__d._d___SP:_d._d____s_cond:__s
call fcn.0045f4c0
add esp, 0x20
add dword [ebp - 0x1060c], 0x624
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42deb3
sub ecx, edx
sar ecx, 1
lea edi, [edi + ecx*2]
add edi, 2
cmp word [edi], ax
jne 0x42dca0
mov eax, dword [ebp - 0x10614]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046984a
mov esp, ebp
pop ebp
ret
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046984a
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046984a
mov esp, ebp
pop ebp
ret