Function at 0x48f3b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x62c
mov eax, dword [0x53ac84]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push edi
push 0x208
mov dword [ebp - 0x628], eax
xor esi, esi
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.004c49e0
add esp, 0xc
mov dword [ebp - 0x620], esi
lea eax, [ebp - 0x620]
push eax
push 0x20019
push esi
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths360safe.exe
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x48f68d
lea eax, [ebp - 0x62c]
mov dword [ebp - 0x624], 1
push eax
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x62c], 0x208
push eax
lea eax, [ebp - 0x624]
push eax
push esi
push str.Path
push dword [ebp - 0x620]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x620]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov cx, word [ebp - 0x20c]
xor eax, eax
cmp ax, cx
je 0x48f479
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
mov cx, word [ebp - 0x20c]
lea edi, [ebp - 0x20c]
lea edx, [edi + 2]
mov ax, word [edi]
add edi, 2
test ax, ax
jne 0x48f482
sub edi, edx
sar edi, 1
je 0x48f68d
xor eax, eax
cmp ax, cx
je 0x48f68d
cmp dword [ebp + 0xc], eax
je 0x48f4f1
push 0x208
push eax
lea eax, [ebp - 0x61c]
push eax
call fcn.004c49e0
add esp, 0xc
lea eax, [ebp - 0x61c]
push 0x104
push eax
push dword [ebp - 0x628]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push edi
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x61c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpNIW]
test eax, eax
jne 0x48f67b
lea eax, [ebp - 0x20c]
push str.360leakfixer.exe
push eax
call fcn.0048f6a0
add esp, 8
test eax, eax
lea eax, [ebp - 0x20c]
je 0x48f574
push str.safemonpedrver.dll
push eax
call fcn.0048f6a0
add esp, 8
test eax, eax
je 0x48f526
mov esi, 0x80
lea eax, [ebp - 0x20c]
push str.safemonFreeSaaS.tpi
push eax
call fcn.0048f6a0
add esp, 8
test eax, eax
je 0x48f55b
lea eax, [ebp - 0x20c]
push str.safemon_saasver.dll
push eax
call fcn.0048f6a0
add esp, 8
test eax, eax
mov eax, 0x20
jne 0x48f560
mov eax, 1
or esi, eax
pop edi
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c1fe9
mov esp, ebp
pop ebp
ret
push str.hipsver.dll
push eax
call fcn.0048f6a0
add esp, 8
test eax, eax
je 0x48f67b
lea eax, [ebp - 0x20c]
push str.safemon360Cactus.tpi
push eax
call fcn.0048f6a0
add esp, 8
test eax, eax
je 0x48f676
push 0x208
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.004c49e0
add esp, 0xc
mov dword [ebp - 0x620], esi
lea eax, [ebp - 0x620]
push eax
push 0x20019
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths360sd.exe
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x48f644
lea eax, [ebp - 0x628]
mov dword [ebp - 0x624], 1
push eax
lea eax, [ebp - 0x414]
mov dword [ebp - 0x628], 0x208
push eax
lea eax, [ebp - 0x624]
push eax
push 0
push str.Path
push dword [ebp - 0x620]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x620]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
cmp ax, word [ebp - 0x414]
je 0x48f644
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea eax, [ebp - 0x414]
push str.360SkinMgr.exe
push eax
call fcn.0048f6a0
add esp, 8
mov esi, eax
neg esi
sbb esi, esi
and esi, 4
add esi, 6
pop edi
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c1fe9
mov esp, ebp
pop ebp
ret
mov esi, 0x10
pop edi
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c1fe9
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.004c1fe9
mov esp, ebp
pop ebp
ret