Function at 0x4029b0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x443281
mov eax, dword fs:[0]
push eax
sub esp, 0xc88
mov eax, dword [0x467060]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xc94], ecx
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x830], ax
lea eax, [ebp - 0x82e]
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x830]
call fcn.004206e0
mov edi, dword [sym.imp.isafepxy.dll_ISAFE_WriteProgramLogNoMask]
lea eax, [ebp - 0x830]
push eax
push str.OutPutBasicInfo__Os_info:__s_
call edi
add esp, 8
xor eax, eax
push eax
push 0x44acac
lea ecx, [ebp - 0xc70]
mov dword [ebp - 0xc8c], 0
mov dword [ebp - 0xc5c], 7
mov dword [ebp - 0xc60], 0
mov word [ebp - 0xc70], ax
call fcn.00405570
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp - 0xc90], eax
lea eax, [ebp - 0xc70]
push eax
lea edx, [ebp - 0xc8c]
lea ecx, [ebp - 0xc90]
call fcn.0041c550
mov esi, dword [ebp - 0xc8c]
add esp, 4
cmp dword [ebp - 0xc5c], 8
lea eax, [ebp - 0xc70]
cmovae eax, dword [ebp - 0xc70]
push eax
push esi
push str.OutPutBasicInfo__Parent_process_info:__d___s_
call edi
add esp, 0xc
lea eax, [ebp - 0xc70]
push eax
lea edx, [ebp - 0xc8c]
lea ecx, [ebp - 0xc90]
mov dword [ebp - 0xc8c], 0
mov dword [ebp - 0xc90], esi
call fcn.0041c550
add esp, 4
cmp dword [ebp - 0xc5c], 8
lea eax, [ebp - 0xc70]
cmovae eax, dword [ebp - 0xc70]
push eax
push dword [ebp - 0xc8c]
push str.OutPutBasicInfo__Grandparent_process_info:__d___s_
call edi
mov eax, dword [0x469f00]
add esp, 0xc
test al, 1
jne 0x402b1d
or eax, 1
push 0x4486c0
mov dword [0x469f00], eax
call fcn.00441527
add esp, 4
xor eax, eax
mov dword [ebp - 0xc74], 7
mov dword [ebp - 0xc78], 0
mov word [ebp - 0xc88], ax
cmp word [0x469af0], ax
jne 0x402b47
xor ecx, ecx
jmp 0x402b5f
mov ecx, 0x469af0
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x402b50
sub ecx, edx
sar ecx, 1
push ecx
push 0x469af0
lea ecx, [ebp - 0xc88]
call fcn.00405570
xor eax, eax
push 0x206
mov byte [ebp - 4], 1
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call sub.MSVCR110.dll_memset
mov esi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
add esp, 0xc
cmp dword [ebp - 0xc74], 8
lea eax, [ebp - 0xc88]
cmovae eax, dword [ebp - 0xc88]
push str.main
push eax
lea eax, [ebp - 0x218]
push eax
call esi
xor eax, eax
push 0x206
push eax
mov word [ebp - 0xc40], ax
lea eax, [ebp - 0xc3e]
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x402c20
mov eax, dword [0x469f0c]
test al, 1
jne 0x402c08
or eax, 1
push 0x4486e0
mov dword [0x469f0c], eax
call fcn.00441527
add esp, 4
push 0x104
lea eax, [ebp - 0xc40]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.00432c10
push 4
xor eax, eax
push str.Null
lea ecx, [ebp - 0xc58]
mov dword [ebp - 0xc44], 7
mov dword [ebp - 0xc48], 0
mov word [ebp - 0xc58], ax
call fcn.00405570
mov byte [ebp - 4], 2
cmp byte [0x469f1a], 0
je 0x402c70
push 0xe
push str.Uninstallation
lea ecx, [ebp - 0xc58]
call fcn.00405570
jmp 0x402cc3
cmp byte [0x469f19], 0
je 0x402c8d
push 0xe
push str.Uninstallation
lea ecx, [ebp - 0xc58]
call fcn.00405570
jmp 0x402cc3
cmp byte [0x469f1b], 0
je 0x402caa
push 0xc
push str.Installation
lea ecx, [ebp - 0xc58]
call fcn.00405570
jmp 0x402cc3
cmp byte [0x469f18], 0
je 0x402cc3
push str.Upgrade
lea ecx, [ebp - 0xc58]
call fcn.00403d40
cmp dword [ebp - 0xc44], 8
lea eax, [ebp - 0xc58]
cmovae eax, dword [ebp - 0xc58]
push eax
push str.OutPutBasicInfo__This_is_a_process_for:__s_
call edi
push dword [ebp - 0xc94]
push str.OutPutBasicInfo__Cmdline:__s_
call edi
lea eax, [ebp - 0xc40]
push eax
push str.OutPutBasicInfo__Current_version:__s_
call edi
add esp, 0x18
cmp byte [0x469f18], 0
je 0x402ddc
xor eax, eax
push 0x206
push eax
mov word [ebp - 0xa38], ax
lea eax, [ebp - 0xa36]
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
lea ecx, [ebp - 0xa38]
call fcn.0040a8b0
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x420], ax
lea eax, [ebp - 0x41e]
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
lea eax, [ebp - 0xa38]
push str.main
push eax
lea eax, [ebp - 0x420]
push eax
call esi
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x628], ax
lea eax, [ebp - 0x626]
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x402dcb
mov eax, dword [0x469f0c]
test al, 1
jne 0x402db3
or eax, 1
push 0x4486e0
mov dword [0x469f0c], eax
call fcn.00441527
add esp, 4
push 0x104
lea eax, [ebp - 0x628]
push eax
lea eax, [ebp - 0x420]
push eax
call fcn.00432c10
lea eax, [ebp - 0x628]
push eax
push str.OutPutBasicInfo__Installed_version:__s_
call edi
add esp, 8
cmp dword [ebp - 0xc44], 8
mov esi, dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
jb 0x402df6
push dword [ebp - 0xc58]
call esi
add esp, 4
xor eax, eax
cmp dword [ebp - 0xc74], 8
mov dword [ebp - 0xc44], 7
mov dword [ebp - 0xc48], 0
mov word [ebp - 0xc58], ax
jb 0x402e27
push dword [ebp - 0xc88]
call esi
add esp, 4
xor eax, eax
cmp dword [ebp - 0xc5c], 8
mov dword [ebp - 0xc74], 7
mov dword [ebp - 0xc78], 0
mov word [ebp - 0xc88], ax
jb 0x402e58
push dword [ebp - 0xc70]
call esi
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004413e6
mov esp, ebp
pop ebp
ret