Function at 0x459290
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bc7a6
mov eax, dword fs:[0]
push eax
sub esp, 0x228
mov eax, dword [0x4e9688]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
xor esi, esi
cmp dword [ebx + 0x10], esi
je 0x4592e0
cmp dword [ebx], esi
je 0x4592d9
cmp dword [ebx + 4], esi
je 0x4592d9
lea eax, [esi + 1]
jmp 0x4596e0
xor eax, eax
jmp 0x4596e0
lea edi, [ebx + 0x20]
push edi
mov dword [ebp - 0x234], edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], esi
cmp dword [ebx + 0x10], esi
je 0x45930c
cmp dword [ebx], esi
je 0x459306
cmp dword [ebx + 4], esi
je 0x459306
mov esi, 1
push edi
jmp 0x4596d8
mov eax, dword [0x4ef36c]
mov edx, dword [eax + 0xc]
mov ecx, 0x4ef36c
call edx
add eax, 0x10
mov dword [ebp - 0x220], eax
push 0x206
lea ecx, [ebp - 0x21a]
xor eax, eax
push esi
mov byte [ebp - 4], 1
push ecx
mov dword [ebp - 0x224], esi
mov word [ebp - 0x21c], ax
call fcn.00497780
mov eax, dword [ebx + 0x1c]
add esp, 0xc
push 0x104
lea edx, [ebp - 0x21c]
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 - 0x21c]
push ecx
call edi
push str.deepscan360base.dll
lea edx, [ebp - 0x21c]
push edx
mov dword [ebp - 0x22c], esi
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x45939c
mov dword [ebp - 0x22c], 1
lea esi, [ebp - 0x21c]
call fcn.00458b50
test eax, eax
je 0x4593ba
mov dword [ebp - 0x224], 1
jmp 0x45947f
push str.....360base.dll
lea eax, [ebp - 0x21c]
push eax
call edi
lea esi, [ebp - 0x21c]
call fcn.00458b50
test eax, eax
je 0x459400
mov edx, esi
lea edi, [ebp - 0x220]
call fcn.00425100
cmp dword [ebp - 0x22c], 0
je 0x459490
mov dword [ebp - 0x224], 1
jmp 0x459490
push 0x208
lea ecx, [ebp - 0x21c]
push 0
push ecx
mov dword [ebp - 0x228], 0x208
mov dword [ebp - 0x230], 1
call fcn.00497780
add esp, 0xc
lea edx, [ebp - 0x228]
push edx
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x230]
push ecx
push str.path
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths360safe.exe
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
cmp word [ebp - 0x21c], 0
je 0x459490
push str.360base.dll
lea edx, [ebp - 0x21c]
push edx
call edi
test eax, eax
je 0x459490
lea esi, [ebp - 0x21c]
call fcn.00458b50
test eax, eax
je 0x459490
lea edx, [ebp - 0x21c]
lea edi, [ebp - 0x220]
call fcn.00425100
mov eax, dword [ebp - 0x220]
mov eax, dword [eax - 0xc]
test eax, eax
je 0x4594f9
lea edi, [ebx + 0x38]
lea eax, [ebp - 0x220]
call fcn.004146d0
mov ecx, dword [ebp - 0x224]
mov esi, dword [edi]
push str.360base.dll
push ecx
mov ecx, ebx
call fcn.00459700
test eax, eax
je 0x4594d4
mov edx, dword [ebp - 0x220]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebx + 0x14], eax
mov eax, dword [ebx + 0x14]
test eax, eax
je 0x4594f9
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.CreateObject
push eax
call esi
mov dword [ebx], eax
mov eax, dword [ebx + 0x14]
push str.InitLibs
push eax
call esi
mov dword [ebx + 8], eax
lea esi, [ebp - 0x220]
mov dword [ebp - 0x224], 0
call fcn.00424ef0
mov eax, dword [ebx + 0x1c]
push 0x104
lea edx, [ebp - 0x21c]
push edx
xor ecx, ecx
push eax
mov word [ebp - 0x21c], cx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov edi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
push str...360conf.dll
lea ecx, [ebp - 0x21c]
push ecx
call edi
lea esi, [ebp - 0x21c]
call fcn.00458b50
mov edx, esi
test eax, eax
je 0x459561
mov dword [ebp - 0x224], 1
jmp 0x459622
push str.....360conf.dll
push edx
call edi
lea esi, [ebp - 0x21c]
call fcn.00458b50
test eax, eax
je 0x4595a1
mov edx, esi
lea edi, [ebp - 0x220]
call fcn.00425100
cmp dword [ebp - 0x22c], 0
je 0x45962d
mov dword [ebp - 0x224], 1
jmp 0x45962d
push 0x208
lea eax, [ebp - 0x21c]
push 0
push eax
mov dword [ebp - 0x230], 0x208
mov dword [ebp - 0x228], 1
call fcn.00497780
add esp, 0xc
lea ecx, [ebp - 0x230]
push ecx
lea edx, [ebp - 0x21c]
push edx
lea eax, [ebp - 0x228]
push eax
push str.path
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths360safe.exe
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
cmp word [ebp - 0x21c], 0
je 0x45962d
push 0x4d0694
lea ecx, [ebp - 0x21c]
push ecx
call edi
test eax, eax
je 0x45962d
lea esi, [ebp - 0x21c]
call fcn.00458b50
test eax, eax
je 0x45962d
mov edx, esi
lea edi, [ebp - 0x220]
call fcn.00425100
mov edx, dword [ebp - 0x220]
cmp dword [edx - 0xc], 0
je 0x459696
lea edi, [ebx + 0x3c]
lea eax, [ebp - 0x220]
call fcn.004146d0
mov eax, dword [ebp - 0x224]
mov esi, dword [edi]
push 0x4d0694
push eax
mov ecx, ebx
call fcn.00459700
test eax, eax
je 0x459670
mov ecx, dword [ebp - 0x220]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebx + 0x18], eax
mov eax, dword [ebx + 0x18]
test eax, eax
je 0x459696
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.CreateObject
push eax
call esi
mov edx, dword [ebx + 0x18]
push str.InitLibs
push edx
mov dword [ebx + 4], eax
call esi
mov dword [ebx + 0xc], eax
cmp dword [ebx], 0
mov esi, 1
mov dword [ebx + 0x10], esi
je 0x4596a9
cmp dword [ebx + 4], 0
jne 0x4596ab
xor esi, esi
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x220]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4596d1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x234]
push ecx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00491281
mov esp, ebp
pop ebp
ret 4