Function at 0x4163b0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x434661
mov eax, dword fs:[0]
push eax
sub esp, 0xc88
mov eax, dword [0x455070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov word [ebp - 0xc40], ax
push 0x206
push 0
lea ecx, [ebp - 0xc3e]
push ecx
call sub.MSVCR110.dll_memset
add esp, 0xc
push 0x104
lea edx, [ebp - 0xc40]
push edx
call dword [sym.imp.iImportLib.dll_int___cdecl_elex::os::ISAFE_GetOSVersionDescW_wchar_t___unsigned_long_int_]
add esp, 8
lea eax, [ebp - 0xc40]
push eax
push str.OutPutBasicInfo__Os_info:__s_
call dword [sym.imp.iImportLib.dll_ISAFE_WriteProgramLogNoMask]
add esp, 8
mov dword [ebp - 0xc44], 0
push 0x440b98
lea ecx, [ebp - 0xc74]
call fcn.004065b0
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp - 0xc90], eax
mov ecx, dword [ebp - 0xc90]
mov dword [ebp - 0xc94], ecx
lea edx, [ebp - 0xc74]
push edx
lea eax, [ebp - 0xc44]
push eax
lea ecx, [ebp - 0xc94]
push ecx
call dword [sym.imp.iImportLib.dll_bool___cdecl_elex::func::GetParentProcessInfoEx_unsigned_long_int_const___unsigned_long_int___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t____]
add esp, 0xc
lea ecx, [ebp - 0xc74]
call fcn.004059f0
push eax
mov edx, dword [ebp - 0xc44]
push edx
push str.OutPutBasicInfo__Parent_process_info:__d___s_
call dword [sym.imp.iImportLib.dll_ISAFE_WriteProgramLogNoMask]
add esp, 0xc
mov eax, dword [ebp - 0xc44]
mov dword [ebp - 0xc90], eax
mov dword [ebp - 0xc44], 0
call fcn.0040ba00
mov ecx, eax
call fcn.00403bc0
push eax
lea ecx, [ebp - 0xc8c]
call fcn.004065b0
mov byte [ebp - 4], 1
xor ecx, ecx
mov word [ebp - 0x218], cx
push 0x206
push 0
lea edx, [ebp - 0x216]
push edx
call sub.MSVCR110.dll_memset
add esp, 0xc
push 0x440b9c
lea ecx, [ebp - 0xc8c]
call fcn.004059f0
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
xor ecx, ecx
mov word [ebp - 0xa38], cx
push 0x206
push 0
lea edx, [ebp - 0xa36]
push edx
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 0x41655a
push 0x104
lea ecx, [ebp - 0xa38]
push ecx
lea edx, [ebp - 0x218]
push edx
call fcn.00406730
mov ecx, eax
call fcn.0041fe00
push str.Null
lea ecx, [ebp - 0xc5c]
call fcn.004065b0
mov byte [ebp - 4], 2
movzx eax, byte [0x457222]
test eax, eax
je 0x41658b
push 0x440c10
lea ecx, [ebp - 0xc5c]
call fcn.004033a0
jmp 0x4165e0
movzx ecx, byte [0x457221]
test ecx, ecx
je 0x4165a8
push str.Uninstallation
lea ecx, [ebp - 0xc5c]
call fcn.004033a0
jmp 0x4165e0
movzx edx, byte [0x457223]
test edx, edx
je 0x4165c5
push str.Installation
lea ecx, [ebp - 0xc5c]
call fcn.004033a0
jmp 0x4165e0
movzx eax, byte [0x457220]
test eax, eax
je 0x4165e0
push str.Upgrade
lea ecx, [ebp - 0xc5c]
call fcn.004033a0
lea ecx, [ebp - 0xc5c]
call fcn.004059f0
push eax
push str.OutPutBasicInfo__This_is_a_process_for:__s_
call dword [sym.imp.iImportLib.dll_ISAFE_WriteProgramLogNoMask]
add esp, 8
mov ecx, dword [ebp + 8]
push ecx
push str.OutPutBasicInfo__Cmdline:__s_
call dword [sym.imp.iImportLib.dll_ISAFE_WriteProgramLogNoMask]
add esp, 8
lea edx, [ebp - 0xa38]
push edx
push str.OutPutBasicInfo__Current_version:__s_
call dword [sym.imp.iImportLib.dll_ISAFE_WriteProgramLogNoMask]
add esp, 8
movzx eax, byte [0x457220]
test eax, eax
je 0x4166ff
xor ecx, ecx
mov word [ebp - 0x830], cx
push 0x206
push 0
lea edx, [ebp - 0x82e]
push edx
call sub.MSVCR110.dll_memset
add esp, 0xc
push 0x104
lea eax, [ebp - 0x830]
push eax
call fcn.0040aa40
add esp, 8
xor ecx, ecx
mov word [ebp - 0x420], cx
push 0x206
push 0
lea edx, [ebp - 0x41e]
push edx
call sub.MSVCR110.dll_memset
add esp, 0xc
push 0x440d5c
lea eax, [ebp - 0x830]
push eax
lea ecx, [ebp - 0x420]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
xor edx, edx
mov word [ebp - 0x628], dx
push 0x206
push 0
lea eax, [ebp - 0x626]
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x420]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4166ea
push 0x104
lea edx, [ebp - 0x628]
push edx
lea eax, [ebp - 0x420]
push eax
call fcn.00406730
mov ecx, eax
call fcn.0041fe00
lea ecx, [ebp - 0x628]
push ecx
push str.OutPutBasicInfo__Installed_version:__s_
call dword [sym.imp.iImportLib.dll_ISAFE_WriteProgramLogNoMask]
add esp, 8
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xc5c]
call fcn.00405b70
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xc8c]
call fcn.00405b70
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xc74]
call fcn.00405b70
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004314a6
mov esp, ebp
pop ebp
ret