Function at 0x458e60
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53c351
mov eax, dword fs:[0]
push eax
sub esp, 0xef0
mov eax, dword [0x596634]
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 0x459125
mov eax, dword [esi]
push esi
call dword [eax + 0x40]
xor edi, edi
mov dword [ebp - 0xefc], eax
test eax, eax
jle 0x459120
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
nop dword [eax]
push 0xc38
lea eax, [ebp - 0xef0]
push 0
push eax
call fcn.004dcfa0
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.004dcfa0
push dword [ebp + 0xc]
lea eax, [ebp - 0x218]
push dword [ebp - 0xef8]
push 0x104
push eax
call fcn.00507b54
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 0x458f52
push str.file__s__is_not_exist
call fcn.00456fb0
add esp, 8
jmp 0x459113
push str.CallOtherProgram__s
call fcn.00456fb0
add esp, 8
lea eax, [ebp - 0x4c8]
push 0x54ea3c
push eax
call ebx
test eax, eax
je 0x458f89
lea eax, [ebp - 0x4c8]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.004743f0
add esp, 8
jmp 0x458f98
lea eax, [ebp - 0x218]
push eax
call fcn.00474780
add esp, 4
test eax, eax
lea eax, [ebp - 0x218]
push eax
jne 0x458fbc
lea eax, [ebp - 0x4c8]
push eax
push str.check_sign_fail__signType__s___filepath__s_
call fcn.00456fb0
add esp, 0xc
jmp 0x459113
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
lea ecx, [ebp - 0xef4]
call fcn.004155f0
push 0x54f454
lea eax, [ebp - 0xce8]
mov dword [ebp - 4], 0
push eax
call ebx
test eax, eax
jne 0x459027
mov eax, dword [ebp - 0x2c0]
cmp eax, 0xc350
ja 0x458ff8
test eax, eax
jne 0x459003
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.00430ee0
add esp, 0x14
jmp 0x4590ee
push 0x559230
lea eax, [ebp - 0xce8]
push eax
call ebx
test eax, eax
jne 0x4590ee
push str.HpSvc.dll
push dword [ebp - 0xef4]
call fcn.00507b5f
add esp, 8
test eax, eax
jne 0x459071
cmp byte [esi + 0x60], al
jne 0x4590be
lea eax, [ebp - 0xae0]
push eax
lea ecx, [ebp - 0x29c]
call fcn.004303b0
mov byte [ebp - 4], 1
jmp 0x459087
lea eax, [ebp - 0xae0]
push eax
lea ecx, [ebp - 0x29c]
call fcn.004303b0
mov byte [ebp - 4], 2
push 0
lea ecx, [ebp - 0x8d8]
push ecx
push dword [eax]
lea eax, [ebp - 0x218]
push eax
call fcn.00430e30
mov eax, dword [ebp - 0x29c]
lea ecx, [ebp - 0x298]
add esp, 0x10
mov byte [ebp - 4], 0
cmp eax, ecx
je 0x4590be
push eax
call fcn.00507cd4
add esp, 4
push str.HpSvc.dll
push dword [ebp - 0xef4]
call fcn.00507b5f
add esp, 8
test eax, eax
jne 0x4590ee
cmp byte [esi + 0x60], al
jne 0x4590ee
lea eax, [ebp - 0x2b8]
push eax
push str.HpSvc
call fcn.00465e00
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 0x459113
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
inc edi
cmp edi, dword [ebp - 0xefc]
jl 0x458ec0
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.00496d46
mov esp, ebp
pop ebp
ret 8