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

Disassembly:
push 0xffffffffffffffff
push 0x44e85b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x418
push ebx
push ebp
push esi
lea edx, [esp + 0x14]
push edi
mov ebp, ecx
push edx
lea edx, [esp + 0x24]
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x24]
push edx
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 0x4c]
mov ecx, dword [ebp + 0x48]
lea edx, [esp + 0x1c]
mov esi, 1
push edx
push eax
mov eax, dword [ebp + 0x54]
push ecx
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0x80
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
cmp dword [esp + 0x14], esi
jne 0x426cc1
cmp word [esp + 0x20], 0
je 0x426cc1
mov eax, dword [esp + 0x18]
test eax, eax
jbe 0x426cc1
mov ecx, dword [0x457050]
lea edx, [esp + 0x20]
test edx, edx
mov dword [esp + 0x10], ecx
je 0x426c62
lea eax, [esp + 0x20]
shr eax, 0x10
jne 0x426c22
xor eax, eax
lea ecx, [esp + 0x20]
mov ax, cx
lea ecx, [esp + 0x10]
push eax
call fcn.004076c0
jmp 0x426c62
lea edx, [esp + 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
test esi, esi
je 0x426c62
push esi
lea ecx, [esp + 0x14]
call fcn.00403d10
test eax, eax
je 0x426c62
lea ecx, [esi + esi]
lea eax, [esi + esi + 2]
cmp eax, ecx
jb 0x426c62
mov edi, dword [esp + 0x10]
mov edx, ecx
lea esi, [esp + 0x20]
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 [ebp + 0x50]
mov ecx, dword [esp + 0x10]
mov ebx, dword [sym.imp.SHLWAPI.dll_PathCombineW]
push eax
lea edx, [esp + 0x24]
push ecx
push edx
mov dword [esp + 0x43c], 0
call ebx
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x426cdc
mov eax, dword [esp + 0x10]
mov edx, dword [0x457054]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x426cc1
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x426cc1
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call fcn.0042d34c
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x428]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x424
ret
mov edx, dword [esp + 0x10]
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
lea esi, [ebp + 0x40]
mov dword [ebp + 0x5c], 1
mov eax, dword [esi]
cmp eax, edx
je 0x426d36
mov ecx, dword [eax - 0xc]
test ecx, ecx
jge 0x426d0a
mov ecx, dword [0x457054]
add eax, 0xfffffff4
cmp eax, ecx
jne 0x426d11
mov eax, dword [edx - 0xc]
test eax, eax
jge 0x426d1f
mov eax, dword [edx - 8]
push edx
push eax
mov ecx, esi
call fcn.00403d70
jmp 0x426d32
mov ecx, esi
call fcn.00403e30
mov eax, dword [esp + 0x10]
mov dword [esi], eax
add eax, 0xfffffff4
push eax
call edi
mov edx, dword [esp + 0x10]
mov eax, dword [ebp + 0x44]
lea esi, [ebp + 0x44]
cmp eax, edx
je 0x426d80
mov ecx, dword [eax - 0xc]
test ecx, ecx
jge 0x426d54
mov ecx, dword [0x457054]
add eax, 0xfffffff4
cmp eax, ecx
jne 0x426d5b
mov eax, dword [edx - 0xc]
test eax, eax
jge 0x426d69
mov ecx, dword [edx - 8]
push edx
push ecx
mov ecx, esi
call fcn.00403d70
jmp 0x426d7c
mov ecx, esi
call fcn.00403e30
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 + 0x122]
mov word [esp + 0x120], 0
rep stosd dword es:[edi], eax
push str.360ver.dll
push edx
lea edx, [esp + 0x330]
push edx
stosw word es:[edi], ax
call ebx
lea eax, [esp + 0x328]
push eax
call fcn.00425ae0
add esp, 4
test eax, eax
je 0x426e71
lea ecx, [esp + 0x328]
push ecx
call fcn.00438760
mov esi, eax
test esi, esi
je 0x426e71
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.Get360SafeVersion
push esi
call ebx
push str.IsBetaVersion
push esi
mov edi, eax
call ebx
mov ebx, eax
test edi, edi
mov dword [esp + 0x1c], ebx
je 0x426e66
lea edx, [esp + 0x120]
push 0x104
push edx
call edi
add esp, 8
test eax, eax
jne 0x426e66
mov eax, str.0.0.0.0
lea edi, [ebp + 0x58]
test eax, eax
jne 0x426e23
xor esi, esi
jmp 0x426e30
push str.0.0.0.0
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
push esi
mov ecx, edi
call fcn.0040ca70
test eax, eax
je 0x426e66
mov edx, dword [edi]
lea ebx, [esi + esi]
push ebx
lea ecx, [esi + esi + 2]
push str.0.0.0.0
push ecx
push edx
call fcn.00402e60
mov eax, dword [edi]
add esp, 0x10
mov dword [eax - 8], esi
mov ecx, dword [edi]
mov word [ebx + ecx], 0
mov ebx, dword [esp + 0x1c]
test ebx, ebx
je 0x426e8a
call ebx
mov dword [ebp + 0x64], eax
jmp 0x426e8a
lea edx, [esp + 0x120]
push 0x104
lea eax, [esp + 0x24]
push edx
push eax
mov ecx, ebp
call fcn.00426f20
lea ecx, [esp + 0x120]
lea edi, [ebp + 0x58]
test ecx, ecx
jne 0x426e9c
xor esi, esi
jmp 0x426eac
lea edx, [esp + 0x120]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
push esi
mov ecx, edi
call fcn.0040ca70
test eax, eax
je 0x426ee1
mov edx, dword [edi]
lea ebp, [esi + esi]
lea eax, [esp + 0x120]
push ebp
lea ecx, [esi + esi + 2]
push eax
push ecx
push edx
call fcn.00402e60
mov eax, dword [edi]
add esp, 0x10
mov dword [eax - 8], esi
mov ecx, dword [edi]
mov word [ecx + ebp], 0
mov eax, dword [esp + 0x10]
mov ecx, dword [0x457054]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x426f10
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x426f10
mov eax, dword [esp + 0x10]
add eax, 0xfffffff4
push eax
call fcn.0042d34c
add esp, 4
mov eax, 1
jmp 0x426cc3