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

Disassembly:
push ebp
sub esp, 0x5a0
lea ebp, [esp - 4]
mov eax, dword [0x4ed820]
xor eax, ebp
mov dword [ebp + 0x5a0], eax
push 0x1c
mov eax, 0x4ad84f
call fcn.004711ef
mov esi, ecx
push 0x64
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov eax, dword [esi + 0x14]
mov ecx, dword [eax]
lea edx, [ebp + 0x4d8]
push edx
push eax
call dword [ecx + 0x3c]
lea eax, [ebp + 0x4d8]
lea ecx, [esi + 0x1bc]
push eax
call fcn.0040285e
push 0xc8
lea eax, [ebp + 0x4d8]
push ebx
push eax
call fcn.004701a0
mov eax, dword [esi + 0x14]
mov ecx, dword [eax]
add esp, 0xc
push 0x64
lea edx, [ebp + 0x4d8]
push edx
push eax
call dword [ecx + 0x40]
lea eax, [ebp + 0x4d8]
lea ecx, [esi + 0x1c0]
push eax
call fcn.0040285e
mov ecx, esi
call fcn.0045bfe0
mov edi, eax
cmp edi, ebx
je 0x45e2bd
xor eax, eax
push 0x206
mov word [ebp + 0x208], ax
lea eax, [ebp + 0x20a]
push ebx
push eax
call fcn.004701a0
add esp, 0xc
push 0x103
lea eax, [ebp + 0x208]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xor eax, eax
push 0xc6
mov word [ebp + 0x410], ax
lea eax, [ebp + 0x412]
push ebx
push eax
call fcn.004701a0
mov eax, dword [edi]
add esp, 0xc
push 0x63
lea ecx, [ebp + 0x410]
push ecx
lea ecx, [ebp + 0x208]
push ecx
push edi
call dword [eax + 0x60]
lea eax, [ebp + 0x410]
lea ecx, [esi + 0x1c4]
push eax
call fcn.0040285e
mov edi, 0x208
push edi
lea eax, [ebp]
push ebx
push eax
mov dword [ebp - 0x24], 1
call fcn.004701a0
add esp, 0xc
lea eax, [ebp - 0x20]
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 - 0x20], edi
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x45e3de
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x14]
call fcn.004025d8
push str._safemon360tray.exe
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 4], ebx
call fcn.004039cd
add esp, 0xc
push dword [eax]
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov byte [ebp - 4], 1
mov dword [ebp - 0x10], 1
call edi
test eax, eax
je 0x45e392
push str.hipsver.dll
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.004039cd
add esp, 0xc
push dword [eax]
mov dword [ebp - 4], 2
mov dword [ebp - 0x10], 3
call edi
test eax, eax
je 0x45e392
push str.360ver.dll
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.004039cd
add esp, 0xc
push dword [eax]
mov dword [ebp - 0x10], 7
call edi
test eax, eax
jne 0x45e392
xor ebx, ebx
inc ebx
mov dword [esi + 0x1c8], ebx
mov ebx, dword [ebp - 0x10]
test bl, 4
je 0x45e3ae
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
and ebx, 0xfffffffb
call fcn.0040290e
test bl, 2
je 0x45e3c1
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
and ebx, 0xfffffffd
call fcn.0040290e
test bl, 1
je 0x45e3d1
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
call fcn.0040290e
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.0040290e
jmp 0x45e3e4
mov dword [esi + 0x1c8], ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x5a0]
xor ecx, ebp
call fcn.0047021a
add ebp, 0x5a4
leave
ret