Function at 0x4085e0
Capabilities:
Check if file exists
Create process on windows
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41b03c
mov eax, dword fs:[0]
push eax
mov eax, 0x24d8
call fcn.00414b40
mov eax, dword [0x422084]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
sub esp, 0x1c
mov esi, esp
xor edi, edi
xor ecx, ecx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], edi
mov word [esi], cx
mov ecx, eax
mov dword [ebp - 0x2488], esp
lea ebx, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
cmp dx, di
jne 0x408636
sub ecx, ebx
sar ecx, 1
push ecx
call fcn.00406ce0
lea ecx, [ebp - 0x2484]
call fcn.00407f40
mov ecx, esp
mov dword [ebp - 0x2488], esp
mov dword [ebp - 4], edi
push edi
lea eax, [ebp - 0x2484]
mov esi, 7
xor edx, edx
push eax
mov dword [ecx + 0x14], esi
mov dword [ecx + 0x10], edi
or eax, 0xffffffff
mov word [ecx], dx
call fcn.00406960
lea ecx, [ebp - 0x244c]
call fcn.00407f40
add esp, 0x1c
mov byte [ebp - 4], 1
cmp dword [ebp - 0x2474], edi
je 0x4089fe
cmp dword [ebp - 0x243c], edi
je 0x4089fe
lea ecx, [ebp - 0x2430]
call fcn.00408490
push str._report.exe
lea ecx, [ebp - 0x2484]
push ecx
lea edx, [ebp - 0x2468]
push edx
mov byte [ebp - 4], 2
call fcn.00406720
add esp, 0xc
push 0x7fe
lea ecx, [ebp - 0x2412]
xor eax, eax
push edi
mov byte [ebp - 4], 3
push ecx
mov word [ebp - 0x2414], ax
call fcn.004107d0
add esp, 0xc
push 0x7fe
lea eax, [ebp - 0x1812]
xor edx, edx
push edi
push eax
mov word [ebp - 0x1814], dx
call fcn.004107d0
add esp, 0xc
push 0x7fe
lea edx, [ebp - 0x1012]
xor ecx, ecx
push edi
push edx
mov word [ebp - 0x1014], cx
call fcn.004107d0
add esp, 0xc
push 0x7fe
lea ecx, [ebp - 0x812]
xor eax, eax
push edi
push ecx
mov word [ebp - 0x814], ax
call fcn.004107d0
add esp, 0xc
lea ebx, [esi + 1]
cmp dword [ebp - 0x2420], edi
jbe 0x408851
mov eax, dword [ebp - 0x2430]
cmp dword [ebp - 0x241c], ebx
jae 0x408774
lea eax, [ebp - 0x2430]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x408851
mov eax, dword [ebp - 0x2430]
cmp dword [ebp - 0x241c], ebx
jae 0x408797
lea eax, [ebp - 0x2430]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push eax
push 0x400
lea edx, [ebp - 0x2414]
push edx
push 0x41e888
push 0x41ea60
push str.conf
call esi
mov eax, dword [ebp - 0x2430]
cmp dword [ebp - 0x241c], ebx
jae 0x4087cf
lea eax, [ebp - 0x2430]
push eax
push 0x400
lea eax, [ebp - 0x1814]
push eax
push 0x41e888
push str.Version
push str.conf
call esi
mov eax, dword [ebp - 0x2430]
cmp dword [ebp - 0x241c], ebx
jae 0x408801
lea eax, [ebp - 0x2430]
push eax
push 0x400
lea ecx, [ebp - 0x814]
push ecx
push 0x41e888
push str.LastSecondDir
push str.conf
call esi
mov eax, dword [ebp - 0x2430]
cmp dword [ebp - 0x241c], ebx
jae 0x408833
lea eax, [ebp - 0x2430]
push eax
push 0x400
lea edx, [ebp - 0x1014]
push edx
push 0x41e888
push str.InstallDir
push str.conf
call esi
mov eax, dword [ebp - 0x2468]
cmp dword [ebp - 0x2454], ebx
jae 0x408865
lea eax, [ebp - 0x2468]
lea ecx, [ebp - 0x2414]
push ecx
lea edx, [ebp - 0x1814]
push edx
push eax
lea eax, [ebp - 0x1c14]
push str._s_pv_ver_sch_sopuninstall
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x14
push 0x44
lea ecx, [ebp - 0x24e4]
push edi
push ecx
call fcn.004107d0
add esp, 0xc
lea edx, [ebp - 0x2498]
push edx
lea eax, [ebp - 0x24e4]
push eax
push edi
push edi
push edi
push 1
push edi
push edi
lea ecx, [ebp - 0x1c14]
push ecx
push edi
mov dword [ebp - 0x24e4], 0x44
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov eax, dword [ebp - 0x2498]
cmp eax, edi
je 0x4088db
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
sub esp, 0x1c
mov esi, esp
mov ebx, 7
xor edx, edx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x10], edi
lea eax, [ebp - 0x1014]
mov word [esi], dx
mov dword [ebp - 0x2488], esp
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x408900
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x1014]
call fcn.00406ce0
call fcn.00408550
mov esi, esp
xor eax, eax
mov dword [esi + 0x14], ebx
mov dword [esi + 0x10], edi
mov word [esi], ax
lea eax, [ebp - 0x814]
mov dword [ebp - 0x2488], esp
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x408940
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x814]
call fcn.00406ce0
call fcn.00408550
mov ebx, esp
mov dword [ebp - 0x2488], esp
call fcn.00408330
call fcn.00408550
mov esi, 8
add esp, 0x1c
cmp dword [ebp - 0x2454], esi
jb 0x408991
mov ecx, dword [ebp - 0x2468]
push ecx
call fcn.0040b23d
add esp, 4
xor edx, edx
mov ebx, 7
mov dword [ebp - 0x2454], ebx
mov dword [ebp - 0x2458], edi
mov word [ebp - 0x2468], dx
cmp dword [ebp - 0x241c], esi
jb 0x4089c2
mov eax, dword [ebp - 0x2430]
push eax
call fcn.0040b23d
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x241c], ebx
mov dword [ebp - 0x2420], edi
mov word [ebp - 0x2430], cx
cmp dword [ebp - 0x2438], esi
jb 0x4089ee
mov edx, dword [ebp - 0x244c]
push edx
call fcn.0040b23d
add esp, 4
xor eax, eax
cmp dword [ebp - 0x2470], esi
mov dword [ebp - 0x2438], ebx
jmp 0x408a28
mov ebx, 8
cmp dword [ebp - 0x2438], ebx
jb 0x408a1a
mov edx, dword [ebp - 0x244c]
push edx
call fcn.0040b23d
add esp, 4
xor eax, eax
cmp dword [ebp - 0x2470], ebx
mov dword [ebp - 0x2438], esi
mov word [ebp - 0x244c], ax
mov dword [ebp - 0x243c], edi
jb 0x408a46
mov ecx, dword [ebp - 0x2484]
push ecx
call fcn.0040b23d
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0040b177
mov esp, ebp
pop ebp
ret