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

Disassembly:
push 0xffffffffffffffff
push 0x1002b466
mov eax, dword fs:[0]
push eax
sub esp, 0x228
mov eax, dword [0x100331b0]
xor eax, esp
mov dword [esp + 0x220], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100331b0]
xor eax, esp
push eax
lea eax, [esp + 0x23c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x24c]
xor ebx, ebx
cmp dword [ebp + 0x10], ebx
je 0x100112a2
cmp dword [ebp], ebx
je 0x1001129b
cmp dword [ebp + 4], ebx
je 0x1001129b
lea eax, [ebx + 1]
jmp 0x100116ab
xor eax, eax
jmp 0x100116ab
lea esi, [ebp + 0x20]
xor eax, eax
mov dword [esp + 0x24], eax
cmp esi, ebx
je 0x100112bc
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [esp + 0x24], esi
mov eax, esi
mov dword [esp + 0x244], ebx
cmp dword [ebp + 0x10], ebx
je 0x100112e7
cmp dword [ebp], ebx
je 0x100112de
cmp dword [ebp + 4], ebx
je 0x100112de
mov esi, 1
cmp eax, ebx
jmp 0x100116a0
xor esi, esi
cmp eax, ebx
jmp 0x100116a0
mov eax, dword [0x100347ec]
mov edx, dword [eax + 0xc]
mov ecx, 0x100347ec
call edx
add eax, 0x10
mov dword [esp + 0x18], eax
push 0x206
lea ecx, [esp + 0x32]
xor eax, eax
push ebx
mov byte [esp + 0x24c], 1
push ecx
mov word [esp + 0x38], ax
call fcn.1001cf30
mov eax, dword [ebp + 0x1c]
add esp, 0xc
push 0x104
lea edx, [esp + 0x30]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
push str...360base.dll
lea ecx, [esp + 0x30]
push ecx
call esi
push str.deepscan360base.dll
lea edx, [esp + 0x30]
push edx
mov dword [esp + 0x28], ebx
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x10011365
mov dword [esp + 0x20], 1
mov eax, dword [0x1003537c]
cmp eax, ebx
jne 0x10011378
call fcn.10010f20
mov dword [0x1003537c], eax
mov ecx, dword [eax + 0x140]
cmp ecx, ebx
je 0x1001138a
mov eax, dword [eax + 0x88]
jmp 0x1001138c
xor eax, eax
cmp eax, ebx
je 0x10011399
lea ecx, [esp + 0x2c]
push ecx
call eax
jmp 0x100113a4
lea edx, [esp + 0x2c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, ebx
je 0x100113b2
mov ebx, 1
jmp 0x10011457
push str.....360base.dll
lea eax, [esp + 0x30]
push eax
call esi
lea esi, [esp + 0x2c]
call fcn.10011030
test eax, eax
je 0x100113e8
mov edx, esi
lea edi, [esp + 0x18]
call fcn.1000be10
cmp dword [esp + 0x20], 0
je 0x10011464
mov ebx, 1
jmp 0x10011464
push 0x208
lea ecx, [esp + 0x30]
push ebx
push ecx
mov dword [esp + 0x28], 0x208
mov dword [esp + 0x34], 1
call fcn.1001cf30
add esp, 0xc
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x30]
push ecx
push str.path
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths360safe.exe
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
cmp word [esp + 0x2c], bx
je 0x10011464
push str.360base.dll
lea edx, [esp + 0x30]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
je 0x10011464
lea esi, [esp + 0x2c]
call fcn.10011030
test eax, eax
je 0x10011464
lea edx, [esp + 0x2c]
lea edi, [esp + 0x18]
call fcn.1000be10
mov eax, dword [esp + 0x18]
mov eax, dword [eax - 0xc]
test eax, eax
je 0x100114c2
lea edi, [ebp + 0x38]
lea eax, [esp + 0x18]
call fcn.100019d0
mov edx, dword [edi]
push ebx
mov edi, str.360base.dll
mov ecx, ebp
call fcn.100116e0
test eax, eax
je 0x1001149c
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp + 0x14], eax
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x100114c2
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.CreateObject
push eax
call esi
mov edx, dword [ebp + 0x14]
push str.InitLibs
push edx
mov dword [ebp], eax
call esi
mov dword [ebp + 8], eax
lea esi, [esp + 0x18]
mov dword [esp + 0x1c], 0
call fcn.10001dd0
mov edx, dword [ebp + 0x1c]
push 0x104
lea ecx, [esp + 0x30]
push ecx
xor eax, eax
push edx
mov word [esp + 0x38], ax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov edi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
push str...360conf.dll
lea eax, [esp + 0x30]
push eax
call edi
mov eax, dword [0x1003537c]
test eax, eax
jne 0x10011513
call fcn.10010f20
mov dword [0x1003537c], eax
mov ecx, dword [eax + 0x140]
test ecx, ecx
je 0x10011525
mov eax, dword [eax + 0x88]
jmp 0x10011527
xor eax, eax
test eax, eax
je 0x10011534
lea ecx, [esp + 0x2c]
push ecx
call eax
jmp 0x1001153f
lea edx, [esp + 0x2c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10011550
mov dword [esp + 0x1c], 1
jmp 0x100115f6
push str.....360conf.dll
lea eax, [esp + 0x30]
push eax
call edi
lea esi, [esp + 0x2c]
call fcn.10011030
test eax, eax
je 0x10011589
mov edx, esi
lea edi, [esp + 0x18]
call fcn.1000be10
cmp dword [esp + 0x20], 0
je 0x10011603
mov dword [esp + 0x1c], 1
jmp 0x10011603
push 0x208
lea ecx, [esp + 0x30]
push 0
push ecx
mov dword [esp + 0x34], 0x208
mov dword [esp + 0x2c], 1
call fcn.1001cf30
add esp, 0xc
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x28]
push ecx
push str.path
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths360safe.exe
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
cmp word [esp + 0x2c], 0
je 0x10011603
push str.360conf.dll
lea edx, [esp + 0x30]
push edx
call edi
test eax, eax
je 0x10011603
lea esi, [esp + 0x2c]
call fcn.10011030
test eax, eax
je 0x10011603
lea edx, [esp + 0x2c]
lea edi, [esp + 0x18]
call fcn.1000be10
mov ebx, dword [esp + 0x18]
cmp dword [ebx - 0xc], 0
je 0x10011660
lea edi, [ebp + 0x3c]
lea eax, [esp + 0x18]
call fcn.100019d0
mov eax, dword [esp + 0x1c]
mov edx, dword [edi]
push eax
mov edi, str.360conf.dll
mov ecx, ebp
call fcn.100116e0
test eax, eax
je 0x1001163a
push ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp + 0x18], eax
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x10011660
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.CreateObject
push eax
call esi
mov ecx, dword [ebp + 0x14]
push str.InitLibs
push ecx
mov dword [ebp + 4], eax
call esi
mov dword [ebp + 0xc], eax
cmp dword [ebp], 0
mov esi, 1
mov dword [ebp + 0x10], esi
je 0x10011674
cmp dword [ebp + 4], 0
jne 0x10011676
xor esi, esi
lea eax, [ebx - 0x10]
mov byte [esp + 0x244], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x1001169a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x24]
test eax, eax
je 0x100116a9
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, esi
mov ecx, dword [esp + 0x23c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x220]
xor ecx, esp
call fcn.1001b630
add esp, 0x234
ret 4