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

Disassembly:
push 0xffffffffffffffff
push 0x44eccb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x414
push ebx
push ebp
push esi
lea edx, [esp + 0x10]
push edi
mov ebx, ecx
push edx
lea edx, [esp + 0x20]
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x20]
push edx
rep stosd dword es:[edi], eax
mov eax, dword [ebx + 0x4c]
mov ecx, dword [ebx + 0x48]
lea edx, [esp + 0x20]
mov esi, 1
push edx
push eax
mov eax, dword [ebx + 0x54]
push ecx
push eax
mov dword [esp + 0x30], esi
mov dword [esp + 0x2c], 0x80
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
cmp dword [esp + 0x18], esi
jne 0x427111
cmp word [esp + 0x1c], 0
je 0x427111
mov eax, dword [esp + 0x14]
test eax, eax
jbe 0x427111
mov ecx, dword [0x458050]
lea edx, [esp + 0x1c]
test edx, edx
mov dword [esp + 0x10], ecx
je 0x4270b2
lea eax, [esp + 0x1c]
shr eax, 0x10
jne 0x427072
xor eax, eax
lea ecx, [esp + 0x1c]
mov ax, cx
lea ecx, [esp + 0x10]
push eax
call fcn.004076b0
jmp 0x4270b2
lea edx, [esp + 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
test esi, esi
je 0x4270b2
push esi
lea ecx, [esp + 0x14]
call fcn.00403db0
test eax, eax
je 0x4270b2
lea ecx, [esi + esi]
lea eax, [esi + esi + 2]
cmp eax, ecx
jb 0x4270b2
mov edi, dword [esp + 0x10]
mov edx, ecx
lea esi, [esp + 0x1c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebx + 0x50]
mov ecx, dword [esp + 0x10]
mov ebp, dword [sym.imp.SHLWAPI.dll_PathCombineW]
push eax
lea edx, [esp + 0x20]
push ecx
push edx
mov dword [esp + 0x438], 0
call ebp
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42712c
mov eax, dword [esp + 0x10]
mov edx, dword [0x458054]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x427111
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x427111
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call fcn.0042d78e
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x424]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x420
ret
mov edx, dword [esp + 0x10]
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
lea esi, [ebx + 0x40]
mov dword [ebx + 0x5c], 1
mov eax, dword [esi]
cmp eax, edx
je 0x427186
mov ecx, dword [eax - 0xc]
test ecx, ecx
jge 0x42715a
mov ecx, dword [0x458054]
add eax, 0xfffffff4
cmp eax, ecx
jne 0x427161
mov eax, dword [edx - 0xc]
test eax, eax
jge 0x42716f
mov eax, dword [edx - 8]
push edx
push eax
mov ecx, esi
call fcn.00403e10
jmp 0x427182
mov ecx, esi
call fcn.00403ed0
mov eax, dword [esp + 0x10]
mov dword [esi], eax
add eax, 0xfffffff4
push eax
call edi
mov edx, dword [esp + 0x10]
mov eax, dword [ebx + 0x44]
lea esi, [ebx + 0x44]
cmp eax, edx
je 0x4271d0
mov ecx, dword [eax - 0xc]
test ecx, ecx
jge 0x4271a4
mov ecx, dword [0x458054]
add eax, 0xfffffff4
cmp eax, ecx
jne 0x4271ab
mov eax, dword [edx - 0xc]
test eax, eax
jge 0x4271b9
mov ecx, dword [edx - 8]
push edx
push ecx
mov ecx, esi
call fcn.00403e10
jmp 0x4271cc
mov ecx, esi
call fcn.00403ed0
mov eax, dword [esp + 0x10]
mov dword [esi], eax
add eax, 0xfffffff4
push eax
call edi
mov edx, dword [esp + 0x10]
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x21e]
mov word [esp + 0x21c], 0
rep stosd dword es:[edi], eax
push str.360ver.dll
push edx
lea edx, [esp + 0x124]
push edx
stosw word es:[edi], ax
call ebp
push 0
lea eax, [esp + 0x120]
push 1
push eax
call fcn.00418020
test eax, eax
jne 0x42725b
push 1
call fcn.00438730
lea ecx, [esp + 0x120]
push eax
push ecx
call fcn.004389c0
add esp, 0xc
lea edx, [esp + 0x21c]
push 0x104
lea eax, [esp + 0x20]
push edx
push eax
mov ecx, ebx
call fcn.00427360
lea ecx, [esp + 0x21c]
lea edi, [ebx + 0x58]
test ecx, ecx
jne 0x4272d9
xor esi, esi
jmp 0x4272e9
lea edx, [esp + 0x11c]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x427229
mov ebp, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.Get360SafeVersion
push esi
call ebp
push str.IsBetaVersion
push esi
mov edi, eax
call ebp
test edi, edi
mov ebp, eax
je 0x4272c7
lea eax, [esp + 0x21c]
push 0x104
push eax
call edi
add esp, 8
test eax, eax
jne 0x4272c7
mov ecx, str.0.0.0.0
lea esi, [ebx + 0x58]
test ecx, ecx
je 0x4272ba
push str.0.0.0.0
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push str.0.0.0.0
push eax
mov ecx, esi
call fcn.00403e10
test ebp, ebp
je 0x427242
call ebp
mov dword [ebx + 0x64], eax
jmp 0x427242
lea edx, [esp + 0x21c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
push esi
mov ecx, edi
call fcn.0040ca60
test eax, eax
je 0x42731e
mov edx, dword [edi]
lea ebx, [esi + esi]
lea eax, [esp + 0x21c]
push ebx
lea ecx, [esi + esi + 2]
push eax
push ecx
push edx
call fcn.00402e50
mov eax, dword [edi]
add esp, 0x10
mov dword [eax - 8], esi
mov ecx, dword [edi]
mov word [ecx + ebx], 0
mov eax, dword [esp + 0x10]
mov ecx, dword [0x458054]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x42734d
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x42734d
mov eax, dword [esp + 0x10]
add eax, 0xfffffff4
push eax
call fcn.0042d78e
add esp, 4
mov eax, 1
jmp 0x427113