Function at 0x40afa0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6268e7
mov eax, dword fs:[0]
push eax
sub esp, 0x2b0
mov eax, dword [0x6b278c]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2b0], ecx
call fcn.00412530
mov ecx, eax
call fcn.0040c9c0
cmp eax, 0x10
je 0x40b037
call fcn.00412530
mov ecx, eax
call fcn.0040c9c0
cmp eax, 0xe
je 0x40b037
call fcn.00412530
mov ecx, eax
call fcn.0040c9c0
cmp eax, 0x11
je 0x40b037
call fcn.00412530
mov ecx, eax
call fcn.0040c9c0
cmp eax, 0x15
je 0x40b037
call fcn.00412530
mov ecx, eax
call fcn.0040c9c0
cmp eax, 0x16
je 0x40b037
call fcn.00412530
mov ecx, eax
call fcn.0040c9c0
cmp eax, 0xf
jne 0x40b041
mov eax, 1
jmp 0x40b309
mov ecx, dword [ebp - 0x2b0]
add ecx, 0x104
call fcn.0040e5d0
push eax
push 0
push 0x63b024
push 0x63b048
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x40b2d4
mov ecx, dword [ebp - 0x2b0]
add ecx, 0x4ac
call fcn.0040e5d0
push eax
push 0
push str.FirstInstallTime
push 0x63b07c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x40b0c6
mov ecx, dword [ebp - 0x2b0]
add ecx, 0x104
call fcn.0040e5d0
push eax
push 0
push 0x63b08c
push 0x63b0a4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x40b0f3
mov ecx, dword [ebp - 0x2b0]
add ecx, 0x104
call fcn.0040e5d0
push eax
push 0
push str.InstallTime
push 0x63b0cc
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x40b2d4
push 0
lea eax, [ebp - 0x38]
push eax
call fcn.00412530
mov ecx, eax
call fcn.0040c7b0
mov dword [ebp - 4], 0
push 0x63b0dc
lea ecx, [ebp - 0x38]
call fcn.0040e5d0
push eax
lea ecx, [ebp - 0x54]
push ecx
call fcn.00412530
mov ecx, eax
call fcn.00409f50
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x54]
call fcn.0040e5d0
push eax
call fcn.005b50e1
add esp, 4
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x40b2b9
xor edx, edx
mov word [ebp - 0x7c], dx
xor eax, eax
mov dword [ebp - 0x7a], eax
mov dword [ebp - 0x76], eax
mov dword [ebp - 0x72], eax
mov dword [ebp - 0x6e], eax
mov dword [ebp - 0x6a], eax
mov dword [ebp - 0x66], eax
mov dword [ebp - 0x62], eax
mov dword [ebp - 0x5e], eax
mov dword [ebp - 0x5a], eax
mov word [ebp - 0x56], ax
push 0
call fcn.0040b330
add esp, 4
push edx
push eax
push 0x63b0f8
lea ecx, [ebp - 0x7c]
push ecx
call fcn.005b50ec
add esp, 0x10
lea edx, [ebp - 0x7c]
push edx
push str.InstallTimeEx
lea ecx, [ebp - 0x38]
call fcn.0040e5d0
push eax
call fcn.00412530
mov ecx, eax
call fcn.00409e00
push 0x63b120
call fcn.004560b0
add esp, 4
xor eax, eax
mov word [ebp - 0x284], ax
push 0x206
push 0
lea ecx, [ebp - 0x282]
push ecx
call fcn.005b4de0
add esp, 0xc
mov ecx, dword [ebp - 0x2b0]
add ecx, 0x104
call fcn.0040e5d0
push eax
push str.UseVestigeFile:__s_
lea edx, [ebp - 0x284]
push edx
call fcn.005b50ec
add esp, 0xc
call fcn.00412590
lea eax, [ebp - 0x284]
push eax
lea ecx, [ebp - 0x2a8]
call fcn.0040e4b0
mov byte [ebp - 4], 2
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x288], esp
push 0x63b11c
call fcn.0040e3a0
mov dword [ebp - 0x2b4], eax
mov ecx, dword [ebp - 0x2b4]
mov dword [ebp - 0x2b8], ecx
mov byte [ebp - 4], 3
sub esp, 0x1c
mov edx, esp
mov dword [ebp - 0x28c], esp
lea eax, [ebp - 0x2a8]
push eax
push edx
call fcn.0043a030
add esp, 8
mov dword [ebp - 0x2bc], eax
mov byte [ebp - 4], 2
call fcn.005207c0
add esp, 0x38
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2a8]
call fcn.0040e530
mov dword [ebp - 0x2ac], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x54]
call fcn.0040e530
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.0040e530
mov eax, dword [ebp - 0x2ac]
jmp 0x40b309
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x54]
call fcn.0040e530
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.0040e530
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.00434dc0
add esp, 4
mov dword [ebp - 0x18], eax
call fcn.00434900
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x18]
cmp edx, dword [ebp - 0x10]
jl 0x40b304
push 0x63b1ac
call fcn.00455d80
add esp, 4
xor eax, eax
jmp 0x40b309
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.005b4b30
mov esp, ebp
pop ebp
ret