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

Disassembly:
push ebp
sub esp, 0x248
lea ebp, [esp - 4]
mov eax, dword [0x4ed820]
xor eax, ebp
mov dword [ebp + 0x248], eax
push 0x28
mov eax, 0x4ad95b
call fcn.004711ef
mov eax, ecx
xor edi, edi
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x1c], eax
mov dword [eax + 0x1cc], edi
xor eax, eax
push 0x206
mov word [ebp], ax
xor esi, esi
lea eax, [ebp + 2]
push edi
inc esi
push eax
mov dword [ebp - 0x24], esi
call fcn.004701a0
add esp, 0xc
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp]
push eax
lea eax, [ebp - 0x24]
push eax
push 0x4cd5ec
push 0x4cd5f8
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x2c], 0x208
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x45ea09
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x14]
call fcn.004025d8
mov ebx, str._safemon360tray.exe
push ebx
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 4], edi
call fcn.004039cd
add esp, 0xc
push dword [eax]
mov dword [ebp - 0x10], esi
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov byte [ebp - 4], 1
call esi
mov edi, str.hipsver.dll
test eax, eax
je 0x45e8e4
push ebx
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.004039cd
push 3
pop ebx
push dword [eax]
mov dword [ebp - 4], 2
mov dword [ebp - 0x10], ebx
call fcn.00450bea
add esp, 0x10
test eax, eax
je 0x45e8e4
push edi
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004039cd
add esp, 0xc
push dword [eax]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x10], 7
call esi
test eax, eax
je 0x45e8e4
push edi
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.004039cd
push dword [eax]
mov dword [ebp - 4], 4
mov dword [ebp - 0x10], 0xf
call fcn.00450bea
add esp, 0x10
test eax, eax
je 0x45e8e4
push str.360ver.dll
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.004039cd
add esp, 0xc
push dword [eax]
mov dword [ebp - 0x10], 0x1f
call esi
test eax, eax
jne 0x45e8e4
xor bl, bl
jmp 0x45e8e6
mov bl, 1
test byte [ebp - 0x10], 0x10
je 0x45e8fb
mov ecx, dword [ebp - 0x20]
and dword [ebp - 0x10], 0xffffffef
add ecx, 0xfffffff0
call fcn.0040290e
test byte [ebp - 0x10], 8
je 0x45e910
mov ecx, dword [ebp - 0x34]
and dword [ebp - 0x10], 0xfffffff7
add ecx, 0xfffffff0
call fcn.0040290e
test byte [ebp - 0x10], 4
je 0x45e925
mov ecx, dword [ebp - 0x28]
and dword [ebp - 0x10], 0xfffffffb
add ecx, 0xfffffff0
call fcn.0040290e
test byte [ebp - 0x10], 2
je 0x45e93a
mov ecx, dword [ebp - 0x30]
and dword [ebp - 0x10], 0xfffffffd
add ecx, 0xfffffff0
call fcn.0040290e
and dword [ebp - 4], 0
test byte [ebp - 0x10], 1
je 0x45e94f
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.0040290e
test bl, bl
jne 0x45e9fe
mov ecx, dword [ebp - 0x1c]
call fcn.0045bfe0
mov esi, eax
test esi, esi
je 0x45e9fe
xor eax, eax
push 0x3e
push eax
mov word [ebp + 0x208], ax
lea eax, [ebp + 0x20a]
push eax
call fcn.004701a0
push edi
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.004039cd
add esp, 0x18
mov eax, dword [eax]
mov ecx, dword [esi]
push 0x20
lea edx, [ebp + 0x208]
push edx
push eax
push esi
mov byte [ebp - 4], 5
call dword [ecx + 0x60]
mov ecx, dword [ebp - 0x18]
mov ebx, eax
neg ebx
sbb bl, bl
add ecx, 0xfffffff0
inc bl
mov byte [ebp - 4], 0
call fcn.0040290e
test bl, bl
jne 0x45e9fe
lea eax, [ebp + 0x208]
push str.7.8.0.1002
push eax
call fcn.00446a3c
pop ecx
pop ecx
test eax, eax
jl 0x45e9fe
lea eax, [ebp + 0x208]
push str.7.8.0.9999
push eax
call fcn.00446a3c
pop ecx
pop ecx
test eax, eax
jg 0x45e9fe
mov eax, dword [ebp - 0x1c]
mov dword [eax + 0x1cc], 1
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.0040290e
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x248]
xor ecx, ebp
call fcn.0047021a
add ebp, 0x24c
leave
ret