Function at 0x44f440
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e9bf4
mov eax, dword fs:[0]
push eax
mov eax, 0x1128
call fcn.0045ea30
mov eax, dword [0x52965c]
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 edi, ecx
mov dword [ebp - 0x10fc], edi
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1128], eax
test eax, eax
je 0x44fada
mov eax, dword [edi]
push edi
call dword [eax + 0x38]
xor ebx, ebx
mov dword [ebp - 0x1130], eax
mov dword [ebp - 0x10f4], ebx
test eax, eax
jle 0x44fad5
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
nop dword [eax]
push 0xc38
lea eax, [ebp - 0x10f0]
push 0
push eax
call fcn.00474bb0
mov eax, dword [edi]
lea ecx, [ebp - 0x10f0]
add esp, 0xc
push ecx
push ebx
push edi
call dword [eax + 0x34]
push 0x104
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00474bb0
push dword [ebp + 0xc]
lea eax, [ebp - 0x218]
push dword [ebp - 0x1128]
push 0x104
push eax
call fcn.004904a1
add esp, 0x1c
lea eax, [ebp - 0x10f0]
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 0x44f542
push str.file__s__is_not_exist
call fcn.00445870
add esp, 8
jmp 0x44fac2
push str.CallOtherProgram__s
call fcn.00445870
add esp, 8
lea eax, [ebp - 0x6c8]
push 0x4f34a8
push eax
call esi
test eax, eax
je 0x44f579
lea eax, [ebp - 0x6c8]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.0045c7d0
add esp, 8
jmp 0x44f588
lea eax, [ebp - 0x218]
push eax
call fcn.0045cab0
add esp, 4
test eax, eax
lea eax, [ebp - 0x218]
push eax
jne 0x44f5ac
lea eax, [ebp - 0x6c8]
push eax
push str.check_sign_fail__signType__s___filepath__s_
call fcn.00445870
add esp, 0xc
jmp 0x44fac2
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
lea ecx, [ebp - 0x1100]
call fcn.00407070
push 0x4f3ce0
lea eax, [ebp - 0xee8]
mov dword [ebp - 4], 0
push eax
call esi
test eax, eax
jne 0x44f617
mov eax, dword [ebp - 0x4c0]
cmp eax, 0xc350
ja 0x44f5e8
test eax, eax
jne 0x44f5f3
mov eax, 0xc350
mov dword [ebp - 0x4c0], eax
push eax
push dword [ebp - 0x4bc]
lea eax, [ebp - 0x8d0]
push 0
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.004246d0
add esp, 0x14
jmp 0x44fa9d
push 0x4fee60
lea eax, [ebp - 0xee8]
push eax
call esi
test eax, eax
jne 0x44fa9d
push str.HpSvc.dll
push dword [ebp - 0x1100]
call fcn.00490d8e
add esp, 8
test eax, eax
jne 0x44f6e8
push str.start_inst
lea ecx, [ebp - 0x1108]
call fcn.00407070
push 0x4fee7c
lea ecx, [ebp - 0x1104]
mov byte [ebp - 4], 1
call fcn.00407070
sub esp, 0x28
mov eax, esp
mov dword [ebp - 0x1124], esp
mov dword [eax + 0x24], 0
push 0
push 0
lea eax, [ebp - 0x1108]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x1104]
push eax
call fcn.00421cb0
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.0041e4e0
mov edx, dword [ebp - 0x1104]
or eax, 0xffffffff
mov byte [ebp - 4], 1
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x44f6c6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x1108]
or eax, 0xffffffff
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x44f6e8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x498]
lea ecx, [ebp - 0xce0]
mov dword [ebp - 0x49c], eax
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x44f700
sub ecx, edx
lea eax, [ebp - 0x498]
sar ecx, 1
push 0x80
push eax
lea eax, [ebp - 0x49c]
lea edi, [ecx + 1]
lea esi, [edi*4]
push esi
push eax
call fcn.0041c530
add esp, 0x10
lea eax, [ebp - 0xce0]
push 0
push 0
push esi
push dword [ebp - 0x49c]
push edi
push eax
push 0
push 3
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
xor ebx, ebx
test eax, eax
sete bl
test eax, eax
jne 0x44f7c2
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x44f7c2
mov ebx, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea eax, [ebp - 0xce0]
push 0
push 0
push 0
push 0
push edi
push eax
push 0
push 3
call ebx
mov esi, eax
lea eax, [ebp - 0x498]
push 0x80
push eax
lea eax, [ebp - 0x49c]
push esi
push eax
call fcn.0041c530
add esp, 0x10
lea eax, [ebp - 0xce0]
push 0
push 0
push esi
push dword [ebp - 0x49c]
push edi
push eax
push 0
push 3
call ebx
mov ebx, eax
neg ebx
sbb ebx, ebx
inc ebx
test ebx, ebx
jne 0x44faf8
push ebx
lea eax, [ebp - 0xad8]
mov byte [ebp - 4], 4
push eax
push dword [ebp - 0x49c]
lea eax, [ebp - 0x218]
push eax
call fcn.00424430
mov eax, dword [ebp - 0x49c]
lea ecx, [ebp - 0x498]
add esp, 0x10
mov byte [ebp - 4], bl
cmp eax, ecx
je 0x44f807
push eax
call fcn.0048faa8
add esp, 4
push str.HpSvc.dll
push dword [ebp - 0x1100]
call fcn.00490d8e
add esp, 8
test eax, eax
jne 0x44fa8b
lea eax, [ebp - 0x4b8]
xor esi, esi
push eax
push str.HpSvc
call fcn.00407610
add esp, 8
lea ecx, [ebp - 0x10f8]
test eax, eax
cmovns esi, dword [ebp - 0x4b4]
call fcn.00404180
push esi
lea eax, [ebp - 0x10f8]
mov byte [ebp - 4], 5
push str.status__lu
push eax
call fcn.004046e0
add esp, 0xc
lea ecx, [ebp - 0x110c]
push 0x4fee7c
call fcn.00407070
sub esp, 0x28
mov eax, esp
mov dword [ebp - 0x1124], esp
mov dword [eax + 0x24], 0
push 0
push 0
lea eax, [ebp - 0x10f8]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0x110c]
push eax
call fcn.00421cb0
mov ecx, eax
mov byte [ebp - 4], 6
call fcn.0041e4e0
mov edx, dword [ebp - 0x110c]
or eax, 0xffffffff
mov byte [ebp - 4], 5
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x44f8cf
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.HpSvc
lea ecx, [ebp - 0x1120]
call fcn.00407070
push 0x200
lea eax, [ebp - 0x418]
mov byte [ebp - 4], 8
push 0
push eax
call fcn.00474bb0
push dword [ebp - 0x1120]
lea eax, [ebp - 0x418]
push str.SYSTEMCurrentControlSetServices_s
push 0xff
push eax
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
add esp, 0x1c
mov dword [ebp - 0x1110], 0
lea eax, [ebp - 0x1110]
push eax
push 0x20219
push 0
lea eax, [ebp - 0x418]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x44f99a
mov esi, dword [ebp - 0x1110]
lea eax, [ebp - 0x112c]
push eax
lea eax, [ebp - 0x1114]
mov dword [ebp - 0x1114], 2
push eax
lea eax, [ebp - 0x1134]
mov dword [ebp - 0x112c], 4
push eax
push 0
push str.Start
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
xor ebx, ebx
cmp dword [ebp - 0x1114], 2
sete bl
test esi, esi
je 0x44f99c
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x44f99c
xor ebx, ebx
test ebx, ebx
mov ecx, str.ar_fail
mov eax, str.ar_ok
cmove eax, ecx
lea ecx, [ebp - 0x111c]
push eax
call fcn.00407070
push 0x4fee7c
lea ecx, [ebp - 0x1118]
mov byte [ebp - 4], 9
call fcn.00407070
sub esp, 0x28
mov eax, esp
mov dword [ebp - 0x1124], esp
mov dword [eax + 0x24], 0
push 0
push 0
lea eax, [ebp - 0x111c]
mov byte [ebp - 4], 0xb
push eax
lea eax, [ebp - 0x1118]
push eax
call fcn.00421cb0
mov ecx, eax
mov byte [ebp - 4], 0xa
call fcn.0041e4e0
mov edx, dword [ebp - 0x1118]
or eax, 0xffffffff
mov byte [ebp - 4], 9
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x44fa25
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x111c]
or eax, 0xffffffff
mov byte [ebp - 4], 8
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x44fa47
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x1120]
or eax, 0xffffffff
mov byte [ebp - 4], 5
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x44fa69
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x10f8]
or eax, 0xffffffff
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x44fa8b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ebx, dword [ebp - 0x10f4]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
mov edi, dword [ebp - 0x10fc]
mov edx, dword [ebp - 0x1100]
or eax, 0xffffffff
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x44fac2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
inc ebx
mov dword [ebp - 0x10f4], ebx
cmp ebx, dword [ebp - 0x1130]
jl 0x44f4b0
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.0045e5d8
mov esp, ebp
pop ebp
ret 8
push 0x80
lea eax, [ebp - 0x498]
push eax
push dword [ebp - 0x49c]
call fcn.0041c5b0
add esp, 0xc
call fcn.0041cae0
int3