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

Disassembly:
push ebp
sub esp, 0x5a0
lea ebp, [esp - 4]
mov eax, dword [0x4f2be0]
xor eax, ebp
mov dword [ebp + 0x5a0], eax
push 0x1c
mov eax, 0x4b22d4
call fcn.00475a5f
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 + 0x1c0]
push eax
call fcn.004028fb
push 0xc8
lea eax, [ebp + 0x4d8]
push ebx
push eax
call fcn.00474a10
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 + 0x1c4]
push eax
call fcn.004028fb
mov ecx, esi
call fcn.0045e91a
mov edi, eax
cmp edi, ebx
je 0x46040a
xor eax, eax
push 0x206
mov word [ebp + 0x208], ax
lea eax, [ebp + 0x20a]
push ebx
push eax
call fcn.00474a10
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.00474a10
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 + 0x64]
lea eax, [ebp + 0x410]
lea ecx, [esi + 0x1c8]
push eax
call fcn.004028fb
mov edi, 0x208
push edi
lea eax, [ebp]
push ebx
push eax
mov dword [ebp - 0x24], 1
call fcn.00474a10
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp]
push eax
lea eax, [ebp - 0x24]
push eax
push 0x4d251c
push 0x4d2528
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x20], edi
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x46052b
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x14]
call fcn.00402675
push str._safemon360tray.exe
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 4], ebx
call fcn.00403a89
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 0x4604df
push str.hipsver.dll
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00403a89
add esp, 0xc
push dword [eax]
mov dword [ebp - 4], 2
mov dword [ebp - 0x10], 3
call edi
test eax, eax
je 0x4604df
push str.360ver.dll
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00403a89
add esp, 0xc
push dword [eax]
mov dword [ebp - 0x10], 7
call edi
test eax, eax
jne 0x4604df
xor ebx, ebx
inc ebx
mov dword [esi + 0x1cc], ebx
mov ebx, dword [ebp - 0x10]
test bl, 4
je 0x4604fb
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
and ebx, 0xfffffffb
call fcn.004029d4
test bl, 2
je 0x46050e
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
and ebx, 0xfffffffd
call fcn.004029d4
test bl, 1
je 0x46051e
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
call fcn.004029d4
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.004029d4
jmp 0x460531
mov dword [esi + 0x1cc], 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.00474a8a
add ebp, 0x5a4
leave
ret