Function at 0x494a60
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50e4ed
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x55f43c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2c], ecx
mov ecx, dword [ebp - 0x2c]
call sub.mfc100.dll_Ordinal_9475
push 0x52fa07
lea ecx, [ebp - 0x20]
call dword [sym.imp.mfc100.dll_Ordinal_310]
mov dword [ebp - 4], 0
push 0x52fa08
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc100.dll_Ordinal_310]
mov byte [ebp - 4], 1
call fcn.004b82c0
lea eax, [ebp - 0x20]
push eax
call fcn.004b8540
add esp, 4
push 0x52fa0c
lea ecx, [ebp - 0x20]
push ecx
lea edx, [ebp - 0x24]
push edx
call fcn.0042c5c0
add esp, 0xc
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x34]
push ecx
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc100.dll_Ordinal_1313]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
call dword [sym.imp.mfc100.dll_Ordinal_901]
push 0x52fa09
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc100.dll_Ordinal_310]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
push 0x14
push 0x14
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc100.dll_Ordinal_4498]
push eax
push 0x52fa0a
push 0x52fa2c
push 0x52fa34
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0xffffffffffffffff
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc100.dll_Ordinal_11439]
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
push 0
push 0x479
mov ecx, dword [ebp - 0x2c]
call sub.mfc100.dll_Ordinal_4785
mov ecx, eax
call fcn.0048ccd0
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
push 0
push 0x52fa50
push 0x52fa5c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x494ba9
mov edx, dword [ebp - 0x2c]
mov dword [edx + 0x94], 0
jmp 0x494bb6
mov eax, dword [ebp - 0x2c]
mov dword [eax + 0x94], 1
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
push 0
push 0x52fa78
push 0x52fa84
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x494bea
mov ecx, dword [ebp - 0x2c]
mov dword [ecx + 0x98], 0
jmp 0x494bf7
mov edx, dword [ebp - 0x2c]
mov dword [edx + 0x98], 1
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
push 0
push 0x52faa0
push 0x52faac
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x494c2b
mov eax, dword [ebp - 0x2c]
mov dword [eax + 0x9c], 0
jmp 0x494c38
mov ecx, dword [ebp - 0x2c]
mov dword [ecx + 0x9c], 1
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
push 0
push 0x52fac8
push 0x52fad4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x494c6c
mov edx, dword [ebp - 0x2c]
mov dword [edx + 0xa0], 0
jmp 0x494c79
mov eax, dword [ebp - 0x2c]
mov dword [eax + 0xa0], 1
push 0x52fa0b
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc100.dll_Ordinal_310]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
push 0x14
push 0x14
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc100.dll_Ordinal_4498]
push eax
push 0x52fa2a
push 0x52faf0
push 0x52faf4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0xffffffffffffffff
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc100.dll_Ordinal_11439]
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
call dword [sym.imp.MSVCR100.dll_atof]
add esp, 4
mov ecx, dword [ebp - 0x2c]
fstp dword [ecx + 0xd4]
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
push 0
push 0x52fb10
push 0x52fb20
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov edx, dword [ebp - 0x2c]
mov dword [edx + 0xa4], eax
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
push 0
push 0x52fb3c
push 0x52fb4c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 0x2c]
mov dword [ecx + 0xb0], eax
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
push 0
push 0x52fb68
push 0x52fb78
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov edx, dword [ebp - 0x2c]
mov dword [edx + 0xbc], eax
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
push 0
push 0x52fb94
push 0x52fba4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 0x2c]
mov dword [ecx + 0xc8], eax
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
push 0
push 0x52fbc0
push 0x52fbd0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov edx, dword [ebp - 0x2c]
mov dword [edx + 0xa8], eax
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
push 0
push 0x52fbec
push 0x52fbfc
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 0x2c]
mov dword [ecx + 0xb4], eax
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
push 0
push 0x52fc18
push 0x52fc28
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov edx, dword [ebp - 0x2c]
mov dword [edx + 0xc0], eax
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
push 0
push 0x52fc44
push 0x52fc54
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 0x2c]
mov dword [ecx + 0xcc], eax
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
push 0
push 0x52fc70
push 0x52fc80
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov edx, dword [ebp - 0x2c]
mov dword [edx + 0xac], eax
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
push 0
push 0x52fc9c
push 0x52fcac
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 0x2c]
mov dword [ecx + 0xb8], eax
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
push 0
push 0x52fcc8
push 0x52fcd8
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov edx, dword [ebp - 0x2c]
mov dword [edx + 0xc4], eax
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
push 0
push 0x52fcf4
push 0x52fd04
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 0x2c]
mov dword [ecx + 0xd0], eax
mov edx, dword [ebp - 0x2c]
cmp dword [edx + 0x94], 0
je 0x494eeb
push 1
push 0x480
mov ecx, dword [ebp - 0x2c]
call sub.mfc100.dll_Ordinal_4785
mov ecx, eax
call sub.mfc100.dll_Ordinal_3970
push 1
push 0x487
mov ecx, dword [ebp - 0x2c]
call sub.mfc100.dll_Ordinal_4785
mov ecx, eax
call sub.mfc100.dll_Ordinal_3970
push 1
push 0x47f
mov ecx, dword [ebp - 0x2c]
call sub.mfc100.dll_Ordinal_4785
mov ecx, eax
call sub.mfc100.dll_Ordinal_3970
jmp 0x494f2d
push 0
push 0x480
mov ecx, dword [ebp - 0x2c]
call sub.mfc100.dll_Ordinal_4785
mov ecx, eax
call sub.mfc100.dll_Ordinal_3970
push 0
push 0x487
mov ecx, dword [ebp - 0x2c]
call sub.mfc100.dll_Ordinal_4785
mov ecx, eax
call sub.mfc100.dll_Ordinal_3970
push 0
push 0x47f
mov ecx, dword [ebp - 0x2c]
call sub.mfc100.dll_Ordinal_4785
mov ecx, eax
call sub.mfc100.dll_Ordinal_3970
mov eax, dword [ebp - 0x2c]
cmp dword [eax + 0x98], 0
je 0x494f7d
push 1
push 0x482
mov ecx, dword [ebp - 0x2c]
call sub.mfc100.dll_Ordinal_4785
mov ecx, eax
call sub.mfc100.dll_Ordinal_3970
push 1
push 0x488
mov ecx, dword [ebp - 0x2c]
call sub.mfc100.dll_Ordinal_4785
mov ecx, eax
call sub.mfc100.dll_Ordinal_3970
push 1
push 0x481
mov ecx, dword [ebp - 0x2c]
call sub.mfc100.dll_Ordinal_4785
mov ecx, eax
call sub.mfc100.dll_Ordinal_3970
jmp 0x494fbf
push 0
push 0x482
mov ecx, dword [ebp - 0x2c]
call sub.mfc100.dll_Ordinal_4785
mov ecx, eax
call sub.mfc100.dll_Ordinal_3970
push 0
push 0x488
mov ecx, dword [ebp - 0x2c]
call sub.mfc100.dll_Ordinal_4785
mov ecx, eax
call sub.mfc100.dll_Ordinal_3970
push 0
push 0x481
mov ecx, dword [ebp - 0x2c]
call sub.mfc100.dll_Ordinal_4785
mov ecx, eax
call sub.mfc100.dll_Ordinal_3970
mov ecx, dword [ebp - 0x2c]
cmp dword [ecx + 0x9c], 0
je 0x49500f
push 1
push 0x484
mov ecx, dword [ebp - 0x2c]
call sub.mfc100.dll_Ordinal_4785
mov ecx, eax
call sub.mfc100.dll_Ordinal_3970
push 1
push 0x489
mov ecx, dword [ebp - 0x2c]
call sub.mfc100.dll_Ordinal_4785
mov ecx, eax
call sub.mfc100.dll_Ordinal_3970
push 1
push 0x483
mov ecx, dword [ebp - 0x2c]
call sub.mfc100.dll_Ordinal_4785
mov ecx, eax
call sub.mfc100.dll_Ordinal_3970
jmp 0x495051
push 0
push 0x484
mov ecx, dword [ebp - 0x2c]
call sub.mfc100.dll_Ordinal_4785
mov ecx, eax
call sub.mfc100.dll_Ordinal_3970
push 0
push 0x489
mov ecx, dword [ebp - 0x2c]
call sub.mfc100.dll_Ordinal_4785
mov ecx, eax
call sub.mfc100.dll_Ordinal_3970
push 0
push 0x483
mov ecx, dword [ebp - 0x2c]
call sub.mfc100.dll_Ordinal_4785
mov ecx, eax
call sub.mfc100.dll_Ordinal_3970
mov edx, dword [ebp - 0x2c]
cmp dword [edx + 0xa0], 0
je 0x4950a1
push 1
push 0x486
mov ecx, dword [ebp - 0x2c]
call sub.mfc100.dll_Ordinal_4785
mov ecx, eax
call sub.mfc100.dll_Ordinal_3970
push 1
push 0x48a
mov ecx, dword [ebp - 0x2c]
call sub.mfc100.dll_Ordinal_4785
mov ecx, eax
call sub.mfc100.dll_Ordinal_3970
push 1
push 0x485
mov ecx, dword [ebp - 0x2c]
call sub.mfc100.dll_Ordinal_4785
mov ecx, eax
call sub.mfc100.dll_Ordinal_3970
jmp 0x4950e3
push 0
push 0x486
mov ecx, dword [ebp - 0x2c]
call sub.mfc100.dll_Ordinal_4785
mov ecx, eax
call sub.mfc100.dll_Ordinal_3970
push 0
push 0x48a
mov ecx, dword [ebp - 0x2c]
call sub.mfc100.dll_Ordinal_4785
mov ecx, eax
call sub.mfc100.dll_Ordinal_3970
push 0
push 0x485
mov ecx, dword [ebp - 0x2c]
call sub.mfc100.dll_Ordinal_4785
mov ecx, eax
call sub.mfc100.dll_Ordinal_3970
push 0
mov ecx, dword [ebp - 0x2c]
call sub.mfc100.dll_Ordinal_13219
mov dword [ebp - 0x28], 1
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc100.dll_Ordinal_901]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc100.dll_Ordinal_901]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc100.dll_Ordinal_901]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call dword [sym.imp.mfc100.dll_Ordinal_901]
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret