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

Disassembly:
push 0xffffffffffffffff
push 0x458e56
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 [0x463058]
mov ecx, str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths360Desktop.exe
test ecx, ecx
mov dword [esp + 0x18], 0x80
mov dword [esp + 0x10], eax
je 0x4349c8
mov edx, ecx
shr edx, 0x10
jne 0x43498b
xor eax, eax
mov ax, cx
lea ecx, [esp + 0x10]
push eax
call fcn.00406f90
jmp 0x4349c8
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths360Desktop.exe
call ebp
mov esi, eax
test esi, esi
je 0x4349c8
push esi
lea ecx, [esp + 0x14]
call fcn.00403db0
test eax, eax
je 0x4349c8
lea ecx, [esi + esi]
lea edx, [esi + esi + 2]
cmp edx, ecx
jb 0x4349c8
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 [0x463058]
mov edx, 0x469720
test edx, edx
mov dword [esp + 0x124], 0
mov dword [esp + 0xc], ecx
je 0x434a3d
mov eax, edx
shr eax, 0x10
jne 0x434a00
xor eax, eax
mov ecx, edx
mov ax, cx
lea ecx, [esp + 0xc]
push eax
call fcn.00406f90
jmp 0x434a3d
push 0x469720
call ebp
mov esi, eax
test esi, esi
je 0x434a3d
push esi
lea ecx, [esp + 0x10]
call fcn.00403db0
test eax, eax
je 0x434a3d
lea ecx, [esi + esi]
lea edx, [esi + esi + 2]
cmp edx, ecx
jb 0x434a3d
mov edi, dword [esp + 0xc]
mov eax, ecx
mov esi, 0x469720
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 0x434b60
cmp word [esp + 0x1c], 0
je 0x434b60
mov eax, dword [esp + 0x18]
test eax, eax
jbe 0x434b60
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x434b12
lea ecx, [esp + 0x1c]
push ecx
call fcn.0041f460
add esp, 4
test eax, eax
je 0x434b12
mov eax, dword [esp + 0xc]
mov ecx, dword [0x46305c]
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x434add
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x434add
mov eax, dword [esp + 0xc]
add eax, 0xfffffff4
push eax
call fcn.0043733c
add esp, 4
mov eax, dword [esp + 0x10]
mov edx, dword [0x46305c]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x434b08
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x434b08
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call fcn.0043733c
add esp, 4
mov eax, 1
jmp 0x434bbe
mov eax, dword [esp + 0xc]
mov edx, dword [0x46305c]
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x434b43
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x434b43
mov edx, dword [esp + 0xc]
add edx, 0xfffffff4
push edx
call fcn.0043733c
add esp, 4
mov eax, dword [esp + 0x10]
mov edx, dword [0x46305c]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x434bbc
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x434bbc
jmp 0x434bac
mov eax, dword [esp + 0xc]
mov edx, dword [0x46305c]
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x434b91
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x434b91
mov edx, dword [esp + 0xc]
add edx, 0xfffffff4
push edx
call fcn.0043733c
add esp, 4
mov eax, dword [esp + 0x10]
mov edx, dword [0x46305c]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x434bbc
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x434bbc
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call fcn.0043733c
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