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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52d437
mov eax, dword fs:[0]
push eax
sub esp, 0x238
mov eax, dword [0x56f28c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x244], ecx
mov eax, dword [ebp - 0x244]
cmp dword [eax + 8], 0
je 0x4e3380
mov ecx, dword [ebp - 0x244]
xor eax, eax
cmp dword [ecx], 0
setne al
jmp 0x4e3692
mov edx, dword [ebp - 0x244]
add edx, 0x14
push edx
lea ecx, [ebp - 0x224]
call fcn.004e3bf0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x244]
cmp dword [eax + 8], 0
je 0x4e33d9
mov ecx, dword [ebp - 0x244]
xor edx, edx
cmp dword [ecx], 0
setne dl
mov dword [ebp - 0x23c], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x224]
call fcn.004e3c30
mov eax, dword [ebp - 0x23c]
jmp 0x4e3692
mov dword [ebp - 0x22c], 0
lea ecx, [ebp - 0x228]
call fcn.004457d0
mov byte [ebp - 4], 1
mov dword [ebp - 0x230], 0
xor eax, eax
mov word [ebp - 0x21c], ax
push 0x206
push 0
lea ecx, [ebp - 0x21a]
push ecx
call fcn.00500270
add esp, 0xc
push 0x104
lea edx, [ebp - 0x21c]
push edx
mov eax, dword [ebp - 0x244]
mov ecx, dword [eax + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push str...360base.dll
lea edx, [ebp - 0x21c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov dword [ebp - 0x220], 0
push str.deepscan360base.dll
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x4e3473
mov dword [ebp - 0x220], 1
lea ecx, [ebp - 0x21c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4e34a5
mov dword [ebp - 0x230], 1
lea edx, [ebp - 0x21c]
push edx
lea ecx, [ebp - 0x228]
call fcn.00427f80
jmp 0x4e358a
push str.....360base.dll
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea ecx, [ebp - 0x21c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4e34f2
lea edx, [ebp - 0x21c]
push edx
lea ecx, [ebp - 0x228]
call fcn.00427f80
cmp dword [ebp - 0x220], 0
je 0x4e34ed
mov dword [ebp - 0x230], 1
jmp 0x4e358a
mov dword [ebp - 0x238], 0x208
mov dword [ebp - 0x234], 1
push 0x208
push 0
lea eax, [ebp - 0x21c]
push eax
call fcn.00500270
add esp, 0xc
lea ecx, [ebp - 0x238]
push ecx
lea edx, [ebp - 0x21c]
push edx
lea eax, [ebp - 0x234]
push eax
push str.path
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths360safe.exe
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
movzx ecx, word [ebp - 0x21c]
test ecx, ecx
je 0x4e358a
push 0x542478
lea edx, [ebp - 0x21c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
je 0x4e358a
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4e358a
lea ecx, [ebp - 0x21c]
push ecx
lea ecx, [ebp - 0x228]
call fcn.00427f80
lea ecx, [ebp - 0x228]
call fcn.00445980
movzx edx, al
test edx, edx
jne 0x4e364a
lea eax, [ebp - 0x228]
push eax
mov ecx, dword [ebp - 0x244]
add ecx, 0x2c
call fcn.00418990
cmp dword [ebp - 0x22c], 0
jne 0x4e35e8
push str.360base.dll
mov ecx, dword [ebp - 0x230]
push ecx
mov ecx, dword [ebp - 0x244]
add ecx, 0x2c
call fcn.0046ade0
push eax
mov ecx, dword [ebp - 0x244]
call fcn.004e36b0
test eax, eax
je 0x4e3603
lea ecx, [ebp - 0x228]
call fcn.0046ade0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edx, dword [ebp - 0x244]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 0x244]
cmp dword [eax + 0xc], 0
je 0x4e364a
push str.CreateObject
mov ecx, dword [ebp - 0x244]
mov edx, dword [ecx + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x244]
mov dword [ecx], eax
push str.InitLibs
mov edx, dword [ebp - 0x244]
mov eax, dword [edx + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x244]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x244]
mov dword [edx + 8], 1
mov eax, dword [ebp - 0x244]
xor ecx, ecx
cmp dword [eax], 0
setne cl
mov dword [ebp - 0x240], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x228]
call fcn.004458f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x224]
call fcn.004e3c30
mov eax, dword [ebp - 0x240]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ffa01
mov esp, ebp
pop ebp
ret