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

Disassembly:
push 0xffffffffffffffff
push 0x44ea96
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x110
push ebp
push esi
push edi
mov ebp, dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x1c]
mov dword [esp + 0x14], 1
rep stosd dword es:[edi], eax
mov eax, dword [0x457050]
mov ecx, str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths360Desktop.exe
test ecx, ecx
mov dword [esp + 0x18], 0x80
mov dword [esp + 0x10], eax
je 0x42aa58
mov edx, ecx
shr edx, 0x10
jne 0x42aa1b
xor eax, eax
mov ax, cx
lea ecx, [esp + 0x10]
push eax
call fcn.004076c0
jmp 0x42aa58
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths360Desktop.exe
call ebp
mov esi, eax
test esi, esi
je 0x42aa58
push esi
lea ecx, [esp + 0x14]
call fcn.00403d10
test eax, eax
je 0x42aa58
lea ecx, [esi + esi]
lea edx, [esi + esi + 2]
cmp edx, ecx
jb 0x42aa58
mov edi, dword [esp + 0x10]
mov eax, ecx
mov esi, str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths360Desktop.exe
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [0x457050]
mov edx, 0x45d500
test edx, edx
mov dword [esp + 0x124], 0
mov dword [esp + 0xc], ecx
je 0x42aacd
mov eax, edx
shr eax, 0x10
jne 0x42aa90
xor eax, eax
mov ecx, edx
mov ax, cx
lea ecx, [esp + 0xc]
push eax
call fcn.004076c0
jmp 0x42aacd
push 0x45d500
call ebp
mov esi, eax
test esi, esi
je 0x42aacd
push esi
lea ecx, [esp + 0x10]
call fcn.00403d10
test eax, eax
je 0x42aacd
lea ecx, [esi + esi]
lea edx, [esi + esi + 2]
cmp edx, ecx
jb 0x42aacd
mov edi, dword [esp + 0xc]
mov eax, ecx
mov esi, 0x45d500
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x18]
lea edx, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x18]
push edx
mov edx, dword [esp + 0x18]
push eax
push ecx
push edx
push reloc.OLEAUT32.dll_SysReAllocString
mov byte [esp + 0x13c], 1
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
cmp dword [esp + 0x14], 1
jne 0x42abf0
cmp word [esp + 0x1c], 0
je 0x42abf0
mov eax, dword [esp + 0x18]
test eax, eax
jbe 0x42abf0
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42aba2
lea ecx, [esp + 0x1c]
push ecx
call fcn.00417ba0
add esp, 4
test eax, eax
je 0x42aba2
mov eax, dword [esp + 0xc]
mov ecx, dword [0x457054]
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x42ab6d
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x42ab6d
mov eax, dword [esp + 0xc]
add eax, 0xfffffff4
push eax
call fcn.0042d34c
add esp, 4
mov eax, dword [esp + 0x10]
mov edx, dword [0x457054]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x42ab98
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x42ab98
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call fcn.0042d34c
add esp, 4
mov eax, 1
jmp 0x42ac4e
mov eax, dword [esp + 0xc]
mov edx, dword [0x457054]
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x42abd3
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x42abd3
mov edx, dword [esp + 0xc]
add edx, 0xfffffff4
push edx
call fcn.0042d34c
add esp, 4
mov eax, dword [esp + 0x10]
mov edx, dword [0x457054]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x42ac4c
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x42ac4c
jmp 0x42ac3c
mov eax, dword [esp + 0xc]
mov edx, dword [0x457054]
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x42ac21
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x42ac21
mov edx, dword [esp + 0xc]
add edx, 0xfffffff4
push edx
call fcn.0042d34c
add esp, 4
mov eax, dword [esp + 0x10]
mov edx, dword [0x457054]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x42ac4c
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x42ac4c
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call fcn.0042d34c
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x11c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x11c
ret