Function at 0x420130
Capabilities:
Get common file path
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x47e726
mov eax, dword fs:[0]
push eax
mov eax, 0x222c
call fcn.00462620
mov eax, dword [0x4a30f8]
xor eax, esp
mov dword [esp + 0x2228], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a30f8]
xor eax, esp
push eax
lea eax, [esp + 0x2240]
mov dword fs:[0], eax
mov esi, dword [esp + 0x2250]
xor ebx, ebx
push 0x800
push ebx
cmp dword [esp + 0x225c], ebx
je 0x420363
lea eax, [esp + 0x3c]
push eax
call fcn.00461880
push 0x800
lea ecx, [esp + 0x1044]
push ebx
push ecx
call fcn.00461880
add esp, 0x18
push 1
push 0x1a
lea edx, [esp + 0x3c]
push edx
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov edi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
push 0x486d44
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x103c]
push ecx
call edi
lea edx, [esp + 0x1034]
push edx
mov ecx, esi
call fcn.00447180
push 0x800
lea eax, [esp + 0x1838]
push ebx
push eax
call fcn.00461880
add esp, 0xc
push str.360CloudDesk
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x183c]
push edx
call edi
lea eax, [esp + 0x1834]
push eax
mov ecx, esi
call fcn.00447180
push 0x800
lea ecx, [esp + 0x838]
push ebx
push ecx
call fcn.00461880
add esp, 0xc
push str.360CloudDeskCache
lea edx, [esp + 0x38]
push edx
lea eax, [esp + 0x83c]
push eax
call edi
lea ecx, [esp + 0x834]
push ecx
mov ecx, esi
call fcn.00447180
mov ebp, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov eax, 4
lea edx, [esp + 0x30]
push edx
mov dword [esp + 0x34], eax
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x30]
push ecx
push str.appinstallcount
push str.SOFTWARE360desktop
push SysReAllocString
mov dword [esp + 0x30], ebx
call ebp
cmp eax, ebx
jne 0x42053d
cmp dword [esp + 0x18], ebx
jbe 0x42053d
mov edx, dword [0x4a1014]
mov dword [esp + 0x14], edx
inc ebx
push ebx
lea eax, [esp + 0x18]
push str.appinstall_d
push eax
mov dword [esp + 0x2254], 0
call fcn.0041dfb0
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x204a]
push edx
mov word [esp + 0x204c], cx
call fcn.00461880
mov edi, dword [esp + 0x2c]
add esp, 0x18
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x2038]
push ecx
lea edx, [esp + 0x28]
push edx
push edi
push str.SOFTWARE360desktop
push SysReAllocString
mov dword [esp + 0x38], 1
mov dword [esp + 0x34], 0x103
call ebp
lea eax, [esp + 0x2034]
push eax
mov ecx, esi
call fcn.00447180
lea ecx, [edi - 0xc]
mov dword [esp + 0x2248], 0xffffffff
cmp ecx, dword [0x4a1010]
je 0x420354
add edi, 0xfffffff4
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x420354
push edi
call fcn.00461ef0
add esp, 4
cmp ebx, dword [esp + 0x18]
jb 0x42029f
jmp 0x42053d
lea edx, [esp + 0x3c]
push edx
call fcn.00461880
push 0x800
lea eax, [esp + 0x844]
push ebx
push eax
call fcn.00461880
add esp, 0x18
push 1
push 0x1a
lea ecx, [esp + 0x3c]
push ecx
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov edi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
push 0x486d44
lea edx, [esp + 0x38]
push edx
lea eax, [esp + 0x83c]
push eax
call edi
push ebx
push ebx
lea ecx, [esp + 0x83c]
push ecx
mov ecx, esi
call fcn.00447620
push 0x800
lea edx, [esp + 0x1838]
push ebx
push edx
call fcn.00461880
add esp, 0xc
push str.360CloudDesk
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x183c]
push ecx
call edi
push ebx
push ebx
lea edx, [esp + 0x183c]
push edx
mov ecx, esi
call fcn.00447620
push 0x800
lea eax, [esp + 0x1038]
push ebx
push eax
call fcn.00461880
add esp, 0xc
push str.360CloudDeskCache
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x103c]
push edx
call edi
push ebx
push ebx
lea eax, [esp + 0x103c]
push eax
mov ecx, esi
call fcn.00447620
mov ebp, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov eax, 4
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x18]
push edx
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], eax
lea eax, [esp + 0x24]
push eax
push str.appinstallcount
push str.SOFTWARE360desktop
push SysReAllocString
mov dword [esp + 0x2c], ebx
call ebp
cmp eax, ebx
jne 0x42053d
cmp dword [esp + 0x14], ebx
jbe 0x42053d
mov ecx, dword [0x4a1014]
mov dword [esp + 0x18], ecx
inc ebx
push ebx
lea edx, [esp + 0x1c]
push str.appinstall_d
mov edi, 1
push edx
mov dword [esp + 0x2254], edi
call fcn.0041dfb0
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x204a]
push ecx
mov word [esp + 0x204c], ax
call fcn.00461880
add esp, 0x18
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x2038]
push eax
lea ecx, [esp + 0x34]
push ecx
mov dword [esp + 0x38], edi
mov edi, dword [esp + 0x24]
push edi
push str.SOFTWARE360desktop
push SysReAllocString
mov dword [esp + 0x3c], 0x103
call ebp
push 0
push 0
lea edx, [esp + 0x203c]
push edx
mov ecx, esi
call fcn.00447620
lea eax, [edi - 0xc]
mov dword [esp + 0x2248], 0xffffffff
cmp eax, dword [0x4a1010]
je 0x420533
add edi, 0xfffffff4
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x420533
push edi
call fcn.00461ef0
add esp, 4
cmp ebx, dword [esp + 0x14]
jb 0x42047d
mov ecx, dword [esp + 0x2240]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2228]
xor ecx, esp
call fcn.00461862
add esp, 0x2238
ret 8