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

Disassembly:
push ebp
sub esp, 0x5a0
lea ebp, [esp - 4]
mov eax, dword [0x4f3bd0]
xor eax, ebp
mov dword [ebp + 0x5a0], eax
push 0x1c
mov eax, 0x4b2c49
call fcn.004764b0
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.00402894
push 0xc8
lea eax, [ebp + 0x4d8]
push ebx
push eax
call fcn.00475410
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.00402894
mov ecx, esi
call fcn.0045ec1e
mov edi, eax
cmp edi, ebx
je 0x460798
xor eax, eax
push 0x206
mov word [ebp + 0x208], ax
lea eax, [ebp + 0x20a]
push ebx
push eax
call fcn.00475410
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.00475410
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.00402894
mov edi, 0x208
push edi
lea eax, [ebp]
push ebx
push eax
mov dword [ebp - 0x24], 1
call fcn.00475410
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp]
push eax
lea eax, [ebp - 0x24]
push eax
push 0x4d288c
push 0x4d2898
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x20], edi
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x4608b9
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x14]
call fcn.0040260e
push str._safemon360tray.exe
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 4], ebx
call fcn.00403a22
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 0x46086d
push str.hipsver.dll
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00403a22
add esp, 0xc
push dword [eax]
mov dword [ebp - 4], 2
mov dword [ebp - 0x10], 3
call edi
test eax, eax
je 0x46086d
push str.360ver.dll
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00403a22
add esp, 0xc
push dword [eax]
mov dword [ebp - 0x10], 7
call edi
test eax, eax
jne 0x46086d
xor ebx, ebx
inc ebx
mov dword [esi + 0x1cc], ebx
mov ebx, dword [ebp - 0x10]
test bl, 4
je 0x460889
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
and ebx, 0xfffffffb
call fcn.00402963
test bl, 2
je 0x46089c
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
and ebx, 0xfffffffd
call fcn.00402963
test bl, 1
je 0x4608ac
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
call fcn.00402963
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00402963
jmp 0x4608bf
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.0047548a
add ebp, 0x5a4
leave
ret