Function at 0x4faf90
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x594ccc]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x10], 0
je 0x4fafdc
cmp dword [esi], 0
je 0x4fafcb
cmp dword [esi + 4], 0
je 0x4fafcb
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0051d23b
mov esp, ebp
pop ebp
ret
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0051d23b
mov esp, ebp
pop ebp
ret
push edi
lea edi, [esi + 0x20]
xor eax, eax
mov dword [ebp - 0x214], eax
test edi, edi
je 0x4faffb
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 0x214], edi
mov eax, edi
cmp dword [esi + 0x10], 0
je 0x4fb01d
cmp dword [esi], 0
je 0x4fb016
cmp dword [esi + 4], 0
je 0x4fb016
mov esi, 1
jmp 0x4fb3e9
xor esi, esi
jmp 0x4fb3e9
mov eax, dword [0x599458]
mov edx, dword [eax + 0xc]
push ebx
mov ecx, 0x599458
call edx
add eax, 0x10
mov dword [ebp - 0x210], eax
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x20a]
push ecx
xor ebx, ebx
mov word [ebp - 0x20c], ax
call fcn.0051d250
mov eax, dword [esi + 0x1c]
add esp, 0xc
push 0x104
lea edx, [ebp - 0x20c]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov edi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
push str...360base.dll
lea ecx, [ebp - 0x20c]
push ecx
call edi
push str.deepscan360base.dll
lea edx, [ebp - 0x20c]
push edx
mov dword [ebp - 0x220], ebx
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x4fb0a6
mov dword [ebp - 0x220], 1
lea eax, [ebp - 0x20c]
push eax
call fcn.004f9d50
test eax, eax
je 0x4fb0c7
lea ecx, [ebp - 0x20c]
mov ebx, 1
push ecx
jmp 0x4fb193
push str.....360base.dll
lea edx, [ebp - 0x20c]
push edx
call edi
lea eax, [ebp - 0x20c]
push eax
call fcn.004f9d50
test eax, eax
je 0x4fb10d
lea ecx, [ebp - 0x20c]
push ecx
lea ecx, [ebp - 0x210]
call fcn.00459660
cmp dword [ebp - 0x220], ebx
je 0x4fb19e
mov ebx, 1
jmp 0x4fb19e
push 0x208
lea edx, [ebp - 0x20c]
push 0
push edx
mov dword [ebp - 0x21c], 0x208
mov dword [ebp - 0x218], 1
call fcn.0051d250
add esp, 0xc
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x20c]
push ecx
lea edx, [ebp - 0x218]
push edx
push 0x565380
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths360safe.exe
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
cmp word [ebp - 0x20c], bx
je 0x4fb19e
push 0x564cd8
lea eax, [ebp - 0x20c]
push eax
call edi
test eax, eax
je 0x4fb19e
lea ecx, [ebp - 0x20c]
push ecx
call fcn.004f9d50
test eax, eax
je 0x4fb19e
lea edx, [ebp - 0x20c]
push edx
lea ecx, [ebp - 0x210]
call fcn.00459660
mov eax, dword [ebp - 0x210]
cmp dword [eax - 0xc], 0
je 0x4fb204
lea ecx, [ebp - 0x210]
lea edi, [esi + 0x38]
push ecx
mov ecx, edi
call fcn.0044f5c0
mov edi, dword [edi]
push 0x564cd8
push ebx
push edi
mov ecx, esi
call fcn.004f3860
test eax, eax
je 0x4fb1df
mov edx, dword [ebp - 0x210]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esi + 0x14], eax
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4fb204
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.CreateObject
push eax
call edi
mov dword [esi], eax
mov eax, dword [esi + 0x14]
push str.InitLibs
push eax
call edi
mov dword [esi + 8], eax
lea ecx, [ebp - 0x210]
xor ebx, ebx
call fcn.004392b0
mov eax, dword [esi + 0x1c]
push 0x104
lea edx, [ebp - 0x20c]
push edx
xor ecx, ecx
push eax
mov word [ebp - 0x20c], cx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov edi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
push str...360conf.dll
lea ecx, [ebp - 0x20c]
push ecx
call edi
lea edx, [ebp - 0x20c]
push edx
call fcn.004f9d50
test eax, eax
je 0x4fb265
lea eax, [ebp - 0x20c]
mov ebx, 1
push eax
jmp 0x4fb333
push 0x56e080
lea ecx, [ebp - 0x20c]
push ecx
call edi
lea edx, [ebp - 0x20c]
push edx
call fcn.004f9d50
test eax, eax
je 0x4fb2ac
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x210]
call fcn.00459660
cmp dword [ebp - 0x220], 0
je 0x4fb33e
mov ebx, 1
jmp 0x4fb33e
push 0x208
lea ecx, [ebp - 0x20c]
push 0
push ecx
mov dword [ebp - 0x218], 0x208
mov dword [ebp - 0x21c], 1
call fcn.0051d250
add esp, 0xc
lea edx, [ebp - 0x218]
push edx
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x21c]
push ecx
push 0x565380
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths360safe.exe
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
cmp word [ebp - 0x20c], 0
je 0x4fb33e
push str.360conf.dll
lea edx, [ebp - 0x20c]
push edx
call edi
test eax, eax
je 0x4fb33e
lea eax, [ebp - 0x20c]
push eax
call fcn.004f9d50
test eax, eax
je 0x4fb33e
lea ecx, [ebp - 0x20c]
push ecx
lea ecx, [ebp - 0x210]
call fcn.00459660
mov edx, dword [ebp - 0x210]
cmp dword [edx - 0xc], 0
je 0x4fb3a5
lea eax, [ebp - 0x210]
lea edi, [esi + 0x3c]
push eax
mov ecx, edi
call fcn.0044f5c0
mov edi, dword [edi]
push str.360conf.dll
push ebx
push edi
mov ecx, esi
call fcn.004f3860
test eax, eax
je 0x4fb37f
mov ecx, dword [ebp - 0x210]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esi + 0x18], eax
mov eax, dword [esi + 0x18]
test eax, eax
je 0x4fb3a5
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.CreateObject
push eax
call edi
mov edx, dword [esi + 0x18]
push str.InitLibs
push edx
mov dword [esi + 4], eax
call edi
mov dword [esi + 0xc], eax
cmp dword [esi], 0
mov dword [esi + 0x10], 1
pop ebx
je 0x4fb3bf
cmp dword [esi + 4], 0
je 0x4fb3bf
mov esi, 1
jmp 0x4fb3c1
xor esi, esi
mov eax, dword [ebp - 0x210]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4fb3e3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x214]
test eax, eax
je 0x4fb3f4
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0051d23b
mov esp, ebp
pop ebp
ret