Function at 0x494270
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50e454
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x55f43c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x28], ecx
mov ecx, dword [ebp - 0x28]
call sub.mfc100.dll_Ordinal_9475
push 0x52f673
lea ecx, [ebp - 0x1c]
call dword [sym.imp.mfc100.dll_Ordinal_310]
mov dword [ebp - 4], 0
push 0x52f674
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc100.dll_Ordinal_310]
mov byte [ebp - 4], 1
call fcn.004b82c0
lea eax, [ebp - 0x1c]
push eax
call fcn.004b8540
add esp, 4
push 0x52f678
lea ecx, [ebp - 0x1c]
push ecx
lea edx, [ebp - 0x20]
push edx
call fcn.0042c5c0
add esp, 0xc
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc100.dll_Ordinal_1313]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call dword [sym.imp.mfc100.dll_Ordinal_901]
push 0x52f675
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 0x52f676
push 0x52f698
push 0x52f6a0
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 0x47a
mov ecx, dword [ebp - 0x28]
call sub.mfc100.dll_Ordinal_4785
mov ecx, eax
call fcn.0048ccd0
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
push 0xffffffffffffffff
push 0x52f6bc
push 0x52f6c8
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x4943b9
mov edx, dword [ebp - 0x28]
mov dword [edx + 0x94], 0
jmp 0x4943c6
mov eax, dword [ebp - 0x28]
mov dword [eax + 0x94], 1
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
push 0xffffffffffffffff
push 0x52f6e4
push 0x52f6f0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x4943fa
mov ecx, dword [ebp - 0x28]
mov dword [ecx + 0x98], 0
jmp 0x494407
mov edx, dword [ebp - 0x28]
mov dword [edx + 0x98], 1
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
push 0xffffffffffffffff
push 0x52f70c
push 0x52f718
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x49443b
mov eax, dword [ebp - 0x28]
mov dword [eax + 0x9c], 0
jmp 0x494448
mov ecx, dword [ebp - 0x28]
mov dword [ecx + 0x9c], 1
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
push 0xffffffffffffffff
push 0x52f734
push 0x52f740
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x49447c
mov edx, dword [ebp - 0x28]
mov dword [edx + 0xa0], 0
jmp 0x494489
mov eax, dword [ebp - 0x28]
mov dword [eax + 0xa0], 1
push 0
mov ecx, dword [ebp - 0x28]
call sub.mfc100.dll_Ordinal_13219
mov dword [ebp - 0x24], 1
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 - 0x1c]
call dword [sym.imp.mfc100.dll_Ordinal_901]
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret