Function at 0x458d70
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53cdd1
mov eax, dword fs:[0]
push eax
sub esp, 0xef0
mov eax, dword [0x597644]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0xef8], eax
test eax, eax
je 0x459035
mov eax, dword [esi]
push esi
call dword [eax + 0x40]
xor edi, edi
mov dword [ebp - 0xefc], eax
test eax, eax
jle 0x459030
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
nop dword [eax]
push 0xc38
lea eax, [ebp - 0xef0]
push 0
push eax
call fcn.004dda00
mov eax, dword [esi]
lea ecx, [ebp - 0xef0]
add esp, 0xc
push ecx
push edi
push esi
call dword [eax + 0x3c]
push 0x104
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004dda00
push dword [ebp + 0xc]
lea eax, [ebp - 0x218]
push dword [ebp - 0xef8]
push 0x104
push eax
call fcn.005085b4
add esp, 0x1c
lea eax, [ebp - 0xef0]
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
lea eax, [ebp - 0x218]
push eax
jne 0x458e62
push str.file__s__is_not_exist
call fcn.00456ec0
add esp, 8
jmp 0x459023
push str.CallOtherProgram__s
call fcn.00456ec0
add esp, 8
lea eax, [ebp - 0x4c8]
push 0x54fa2c
push eax
call ebx
test eax, eax
je 0x458e99
lea eax, [ebp - 0x4c8]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.00475890
add esp, 8
jmp 0x458ea8
lea eax, [ebp - 0x218]
push eax
call fcn.00475cd0
add esp, 4
test eax, eax
lea eax, [ebp - 0x218]
push eax
jne 0x458ecc
lea eax, [ebp - 0x4c8]
push eax
push str.check_sign_fail__signType__s___filepath__s_
call fcn.00456ec0
add esp, 0xc
jmp 0x459023
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
lea ecx, [ebp - 0xef4]
call fcn.00415430
push 0x550444
lea eax, [ebp - 0xce8]
mov dword [ebp - 4], 0
push eax
call ebx
test eax, eax
jne 0x458f37
mov eax, dword [ebp - 0x2c0]
cmp eax, 0xc350
ja 0x458f08
test eax, eax
jne 0x458f13
mov eax, 0xc350
mov dword [ebp - 0x2c0], eax
push eax
push dword [ebp - 0x2bc]
lea eax, [ebp - 0x6d0]
push 0
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.00430d60
add esp, 0x14
jmp 0x458ffe
push 0x55a300
lea eax, [ebp - 0xce8]
push eax
call ebx
test eax, eax
jne 0x458ffe
push str.HpSvc.dll
push dword [ebp - 0xef4]
call fcn.005085bf
add esp, 8
test eax, eax
jne 0x458f81
cmp byte [esi + 0x60], al
jne 0x458fce
lea eax, [ebp - 0xae0]
push eax
lea ecx, [ebp - 0x29c]
call fcn.00430230
mov byte [ebp - 4], 1
jmp 0x458f97
lea eax, [ebp - 0xae0]
push eax
lea ecx, [ebp - 0x29c]
call fcn.00430230
mov byte [ebp - 4], 2
push 0
lea ecx, [ebp - 0x8d8]
push ecx
push dword [eax]
lea eax, [ebp - 0x218]
push eax
call fcn.00430cb0
mov eax, dword [ebp - 0x29c]
lea ecx, [ebp - 0x298]
add esp, 0x10
mov byte [ebp - 4], 0
cmp eax, ecx
je 0x458fce
push eax
call fcn.00508734
add esp, 4
push str.HpSvc.dll
push dword [ebp - 0xef4]
call fcn.005085bf
add esp, 8
test eax, eax
jne 0x458ffe
cmp byte [esi + 0x60], al
jne 0x458ffe
lea eax, [ebp - 0x2b8]
push eax
push str.HpSvc
call fcn.004669a0
add esp, 8
mov edx, dword [ebp - 0xef4]
or eax, 0xffffffff
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x459023
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
inc edi
cmp edi, dword [ebp - 0xefc]
jl 0x458dd0
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004982ff
mov esp, ebp
pop ebp
ret 8