Function at 0x492f30
Capabilities:
Read .ini file

Disassembly:
push ebp
lea eax, [ecx + 4]
mov ebp, esp
push edi
push esi
push ebx
mov ebx, ecx
sub esp, 0x1fc
mov dword [ecx], 0
mov ecx, eax
mov dword [ebp - 0x1d8], eax
mov eax, dword [ebx + 0xc]
mov dword [esp], eax
call fcn.00549220
lea eax, [ebx + 8]
mov dword [ebx + 0xc], 0
mov dword [ebx + 0x10], eax
sub esp, 4
mov dword [ebx + 0x14], eax
mov eax, dword [ebp + 8]
mov dword [ebx + 0x18], 0
mov eax, dword [eax + 4]
test eax, eax
jne 0x492f90
lea esp, [ebp - 0xc]
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret 4
mov eax, dword [ebp + 8]
mov dword [esp + 4], 0
mov eax, dword [eax]
mov dword [esp], eax
call dword [sym.imp.msvcrt.dll__access]
cmp eax, 0xffffffff
je 0x492f7e
xor eax, eax
lea edi, [ebp - 0x118]
mov ecx, 0x40
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [esp + 0x10], 0x100
mov dword [esp + 8], 0xc8267c
mov dword [esp + 0x14], eax
lea eax, [ebp - 0x118]
mov dword [esp + 0xc], eax
mov eax, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov dword [esp + 4], str.Count
mov dword [esp], str.SkipVersion
mov dword [ebp - 0x1d0], eax
call eax
lea eax, [ebp - 0x118]
sub esp, 0x18
mov dword [esp], eax
call sub.msvcrt.dll_atoi
mov dword [ebx], eax
test eax, eax
jle 0x4935f1
lea eax, [ebp - 0x1b8]
lea esi, [ebp - 0x140]
mov dword [ebp - 0x1bc], 0
mov dword [ebp - 0x1c0], eax
lea eax, [ebp - 0x1a0]
mov dword [ebp - 0x1a8], eax
lea eax, [ebp - 0x188]
mov dword [ebp - 0x190], eax
lea eax, [ebp - 0x170]
mov byte [ebp - 0x1b8], 0
mov dword [ebp - 0x1a4], 0
mov byte [ebp - 0x1a0], 0
mov dword [ebp - 0x18c], 0
mov byte [ebp - 0x188], 0
mov dword [ebp - 0x178], eax
mov dword [ebp - 0x174], 0
mov byte [ebp - 0x170], 0
mov dword [ebp - 0x1cc], 1
jmp 0x4934a3
mov dword [ebp - 0x1bc], edi
mov edi, dword [ebp - 0x1d4]
mov ecx, dword [ebp - 0x1b8]
mov dword [ebp - 0x1c0], edx
mov dword [ebp - 0x1b8], edi
test eax, eax
je 0x493584
mov dword [ebp - 0x148], eax
mov dword [ebp - 0x140], ecx
mov dword [ebp - 0x144], 0
mov byte [eax], 0
mov eax, dword [ebp - 0x148]
cmp eax, esi
je 0x4930f1
mov dword [esp], eax
call sub.libstdc_6.dll_operator_delete_void_
mov eax, dword [ebp - 0x160]
lea edi, [ebp - 0x158]
cmp eax, edi
je 0x493109
mov dword [esp], eax
call sub.libstdc_6.dll_operator_delete_void_
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [esp + 0x10], 0x100
mov dword [esp + 8], 0xc8267e
mov dword [esp + 0x14], eax
lea eax, [ebp - 0x118]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x1c0]
mov dword [esp], str.SkipVersion
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x1d0]
call eax
sub esp, 0x18
lea edx, [ebp - 0x118]
mov ecx, dword [edx]
add edx, 4
lea eax, [ecx - 0x1010101]
not ecx
and eax, ecx
and eax, 0x80808080
je 0x49314e
mov ecx, eax
mov dword [esp], 0
shr ecx, 0x10
test eax, 0x8080
cmove eax, ecx
lea ecx, [edx + 2]
cmove edx, ecx
mov ecx, eax
add cl, al
lea eax, [ebp - 0x118]
lea ecx, [ebp - 0x190]
sbb edx, 3
mov dword [esp + 8], eax
sub edx, eax
mov eax, dword [ebp - 0x18c]
mov dword [esp + 0xc], edx
mov dword [esp + 4], eax
call fcn.004e3d40
mov eax, dword [ebp - 0x18c]
sub esp, 0x10
test eax, eax
je 0x49348e
mov edx, dword [ebp - 0x190]
mov byte [esp + 8], 0
lea ecx, [ebp - 0x148]
mov dword [ebp - 0x148], esi
add eax, edx
mov dword [esp], edx
mov dword [esp + 4], eax
call fcn.00546660
mov eax, dword [ebp - 0x1cc]
sub esp, 0xc
mov ecx, dword [ebp - 0x1d8]
mov dword [ebp - 0x130], eax
lea eax, [ebp - 0x148]
mov dword [esp], eax
call fcn.00548f00
mov eax, dword [ebp - 0x148]
sub esp, 4
cmp eax, esi
je 0x493218
mov dword [esp], eax
call sub.libstdc_6.dll_operator_delete_void_
mov eax, dword [ebp - 0x1cc]
mov dword [esp + 0xc], 0xc82673
mov dword [esp + 8], 0x10
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x160]
mov dword [esp + 4], 0x492770
mov dword [esp], eax
call fcn.0053cb70
mov dword [esp + 0xc], 2
lea ecx, [ebp - 0x160]
mov dword [esp + 8], 0xc82679
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.004e3d40
mov dword [ebp - 0x148], esi
mov ecx, dword [eax]
lea edx, [eax + 8]
sub esp, 0x10
cmp ecx, edx
je 0x4936a2
mov dword [ebp - 0x148], ecx
mov ecx, dword [eax + 8]
mov dword [ebp - 0x140], ecx
mov ecx, dword [eax + 4]
mov dword [ebp - 0x144], ecx
mov dword [eax], edx
mov dword [eax + 4], 0
mov byte [eax + 8], 0
mov edx, dword [ebp - 0x148]
mov eax, dword [ebp - 0x1a8]
cmp edx, esi
je 0x493680
mov ecx, dword [ebp - 0x140]
mov dword [ebp - 0x1d4], ecx
mov ecx, dword [ebp - 0x144]
mov dword [ebp - 0x1dc], ecx
lea ecx, [ebp - 0x1a0]
cmp eax, ecx
je 0x493650
mov dword [ebp - 0x1a8], edx
mov edx, dword [ebp - 0x1dc]
mov ecx, dword [ebp - 0x1a0]
mov dword [ebp - 0x1a4], edx
mov edx, dword [ebp - 0x1d4]
mov dword [ebp - 0x1a0], edx
test eax, eax
je 0x49366e
mov dword [ebp - 0x148], eax
mov dword [ebp - 0x140], ecx
mov dword [ebp - 0x144], 0
mov byte [eax], 0
mov eax, dword [ebp - 0x148]
cmp eax, esi
je 0x49333e
mov dword [esp], eax
call sub.libstdc_6.dll_operator_delete_void_
mov eax, dword [ebp - 0x160]
cmp eax, edi
je 0x493350
mov dword [esp], eax
call sub.libstdc_6.dll_operator_delete_void_
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [esp + 0x10], 0x100
mov dword [esp + 8], 0xc8267e
mov dword [esp + 0x14], eax
lea eax, [ebp - 0x118]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x1a8]
mov dword [esp], str.SkipVersion
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x1d0]
call eax
sub esp, 0x18
lea edx, [ebp - 0x118]
mov ecx, dword [edx]
add edx, 4
lea eax, [ecx - 0x1010101]
not ecx
and eax, ecx
and eax, 0x80808080
je 0x493395
mov ecx, eax
mov dword [esp], 0
shr ecx, 0x10
test eax, 0x8080
cmove eax, ecx
lea ecx, [edx + 2]
cmove edx, ecx
mov ecx, eax
add cl, al
lea eax, [ebp - 0x118]
lea ecx, [ebp - 0x178]
sbb edx, 3
mov dword [esp + 8], eax
sub edx, eax
mov eax, dword [ebp - 0x174]
mov dword [esp + 0xc], edx
mov dword [esp + 4], eax
call fcn.004e3d40
mov eax, dword [ebp - 0x190]
mov edx, dword [ebp - 0x18c]
sub esp, 0x10
lea ecx, [ebp - 0x148]
mov byte [esp + 8], 0
add edx, eax
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [ebp - 0x148], esi
call fcn.00546660
mov eax, dword [ebp - 0x178]
mov edx, dword [ebp - 0x174]
sub esp, 0xc
lea edi, [ebp - 0x128]
mov byte [esp + 8], 0
lea ecx, [ebp - 0x130]
add edx, eax
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [ebp - 0x130], edi
call fcn.00546660
sub esp, 0xc
lea eax, [ebp - 0x148]
lea ecx, [ebx + 0x1c]
mov dword [esp], eax
call fcn.00548690
mov eax, dword [ebp - 0x130]
sub esp, 4
cmp eax, edi
je 0x49347c
mov dword [esp], eax
call sub.libstdc_6.dll_operator_delete_void_
mov eax, dword [ebp - 0x148]
cmp eax, esi
je 0x49348e
mov dword [esp], eax
call sub.libstdc_6.dll_operator_delete_void_
add dword [ebp - 0x1cc], 1
mov eax, dword [ebp - 0x1cc]
cmp dword [ebx], eax
jl 0x493591
mov eax, dword [ebp - 0x1cc]
mov dword [esp + 0xc], 0xc82673
mov dword [esp + 8], 0x10
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x160]
mov dword [esp + 4], 0x492770
mov dword [esp], eax
call fcn.0053cb70
mov dword [esp + 0xc], 2
lea ecx, [ebp - 0x160]
mov dword [esp + 8], 0xc82676
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.004e3d40
mov dword [ebp - 0x148], esi
mov ecx, dword [eax]
lea edx, [eax + 8]
sub esp, 0x10
cmp ecx, edx
je 0x493622
mov dword [ebp - 0x148], ecx
mov ecx, dword [eax + 8]
mov dword [ebp - 0x140], ecx
mov ecx, dword [eax + 4]
mov dword [ebp - 0x144], ecx
mov dword [eax], edx
mov dword [eax + 4], 0
mov byte [eax + 8], 0
mov edx, dword [ebp - 0x148]
mov eax, dword [ebp - 0x1c0]
cmp edx, esi
je 0x493600
mov ecx, dword [ebp - 0x140]
mov edi, dword [ebp - 0x144]
mov dword [ebp - 0x1d4], ecx
lea ecx, [ebp - 0x1b8]
cmp eax, ecx
jne 0x4930a0
mov eax, dword [ebp - 0x1d4]
mov dword [ebp - 0x1c0], edx
mov dword [ebp - 0x1bc], edi
mov dword [ebp - 0x1b8], eax
mov dword [ebp - 0x148], esi
mov eax, esi
jmp 0x4930d2
mov eax, dword [ebp - 0x178]
lea edi, [ebp - 0x170]
cmp eax, edi
je 0x4935a9
mov dword [esp], eax
call sub.libstdc_6.dll_operator_delete_void_
mov eax, dword [ebp - 0x190]
lea edi, [ebp - 0x188]
cmp eax, edi
je 0x4935c1
mov dword [esp], eax
call sub.libstdc_6.dll_operator_delete_void_
mov eax, dword [ebp - 0x1a8]
lea edi, [ebp - 0x1a0]
cmp eax, edi
je 0x4935d9
mov dword [esp], eax
call sub.libstdc_6.dll_operator_delete_void_
mov eax, dword [ebp - 0x1c0]
lea edi, [ebp - 0x1b8]
cmp eax, edi
je 0x4935f1
mov dword [esp], eax
call sub.libstdc_6.dll_operator_delete_void_
lea esp, [ebp - 0xc]
mov eax, 1
pop ebx
pop esi
pop edi
pop ebp
ret 4
lea eax, [ebp - 0x148]
lea ecx, [ebp - 0x1c0]
mov dword [esp], eax
call fcn.004e3cf0
mov eax, dword [ebp - 0x148]
sub esp, 4
jmp 0x4930d2
mov ecx, dword [eax + 8]
mov dword [ebp - 0x140], ecx
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x13c], ecx
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x138], ecx
mov ecx, dword [eax + 0x14]
mov dword [ebp - 0x134], ecx
jmp 0x493522
mov eax, dword [ebp - 0x1dc]
mov dword [ebp - 0x1a8], edx
mov dword [ebp - 0x1a4], eax
mov eax, dword [ebp - 0x1d4]
mov dword [ebp - 0x1a0], eax
mov dword [ebp - 0x148], esi
mov eax, esi
jmp 0x49331f
lea eax, [ebp - 0x148]
lea ecx, [ebp - 0x1a8]
mov dword [esp], eax
call fcn.004e3cf0
mov eax, dword [ebp - 0x148]
sub esp, 4
jmp 0x49331f
mov ecx, dword [eax + 8]
mov dword [ebp - 0x140], ecx
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x13c], ecx
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x138], ecx
mov ecx, dword [eax + 0x14]
mov dword [ebp - 0x134], ecx
jmp 0x493297