Function at 0x4086b0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x409718
mov eax, dword fs:[0]
push eax
mov eax, 0x2030
call fcn.00409180
mov eax, dword [0x40c018]
xor eax, ebp
mov dword [ebp - 0x24], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
lea eax, [ebp - 0x2030]
push eax
call fcn.00401670
add esp, 8
mov dword [ebp - 0x2038], eax
mov ecx, dword [ebp - 0x2038]
mov dword [ebp - 0x203c], ecx
mov dword [ebp - 4], 0
push str.update.ini
mov edx, dword [ebp - 0x203c]
push edx
lea eax, [ebp - 0x10]
push eax
call fcn.004024a0
add esp, 0xc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2030]
call fcn.004020e0
lea ecx, [ebp - 0x10]
call fcn.00402640
push eax
push 0
push str.Enable
push str.Notify
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test eax, eax
je 0x408967
lea ecx, [ebp - 0x10]
call fcn.00402640
push eax
push 0
push str.Force
push str.Notify
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x2028]
call fcn.00401fa0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x18]
call fcn.00401fa0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x14]
call fcn.00401fa0
mov byte [ebp - 4], 5
mov dword [ebp - 0x1c], 0x1000
mov word [ebp - 0x2024], 0
push 0x1ffe
push 0
lea ecx, [ebp - 0x2022]
push ecx
call sub.MSVCR80.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x10]
call fcn.00402640
push eax
push 0x1000
lea edx, [ebp - 0x2024]
push edx
push 0x40a58c
push str.Title
push str.Notify
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x2024]
push eax
lea ecx, [ebp - 0x2028]
call fcn.00402150
lea ecx, [ebp - 0x10]
call fcn.00402640
push eax
push 0x1000
lea ecx, [ebp - 0x2024]
push ecx
push 0x40a58c
push str.Info
push str.Notify
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea edx, [ebp - 0x2024]
push edx
lea ecx, [ebp - 0x18]
call fcn.00402150
lea ecx, [ebp - 0x10]
call fcn.00402640
push eax
push 0x1000
lea eax, [ebp - 0x2024]
push eax
push 0x40a58c
push str.NoDeplyFile
push str.Notify
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [ebp - 0x2024]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00402150
cmp dword [ebp - 0x20], 0
je 0x408896
push 0
lea ecx, [ebp - 0x2028]
call fcn.00402640
push eax
lea ecx, [ebp - 0x18]
call fcn.00402640
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x408940
push 1
lea ecx, [ebp - 0x2028]
call fcn.00402640
push eax
lea ecx, [ebp - 0x18]
call fcn.00402640
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 1
je 0x408940
push 0
push 0x80
push 4
push 0
push 1
push 0x40000000
lea ecx, [ebp - 0x14]
call fcn.00402640
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x202c], eax
cmp dword [ebp - 0x202c], 0xffffffff
je 0x4088fb
mov edx, dword [ebp - 0x202c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 0x2031], 0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x14]
call fcn.004020e0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x18]
call fcn.004020e0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2028]
call fcn.004020e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004020e0
mov al, byte [ebp - 0x2031]
jmp 0x408983
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x14]
call fcn.004020e0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x18]
call fcn.004020e0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2028]
call fcn.004020e0
mov byte [ebp - 0x2032], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004020e0
mov al, byte [ebp - 0x2032]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x24]
xor ecx, ebp
call fcn.00406bbc
mov esp, ebp
pop ebp
ret