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

Disassembly:
push 0xffffffffffffffff
push 0x4810a6
mov eax, dword fs:[0]
push eax
mov eax, 0x222c
call fcn.00462bf0
mov eax, dword [0x4a60f8]
xor eax, esp
mov dword [esp + 0x2228], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a60f8]
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 0x41f603
lea eax, [esp + 0x3c]
push eax
call fcn.00461950
push 0x800
lea ecx, [esp + 0x1044]
push ebx
push ecx
call fcn.00461950
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 0x489d9c
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.00446620
push 0x800
lea eax, [esp + 0x1838]
push ebx
push eax
call fcn.00461950
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.00446620
push 0x800
lea ecx, [esp + 0x838]
push ebx
push ecx
call fcn.00461950
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.00446620
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 0x41f7dd
cmp dword [esp + 0x18], ebx
jbe 0x41f7dd
mov edx, dword [0x4a4014]
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.0041d3c0
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x204a]
push edx
mov word [esp + 0x204c], cx
call fcn.00461950
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.00446620
lea ecx, [edi - 0xc]
mov dword [esp + 0x2248], 0xffffffff
cmp ecx, dword [0x4a4010]
je 0x41f5f4
add edi, 0xfffffff4
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x41f5f4
push edi
call fcn.00462471
add esp, 4
cmp ebx, dword [esp + 0x18]
jb 0x41f53f
jmp 0x41f7dd
lea edx, [esp + 0x3c]
push edx
call fcn.00461950
push 0x800
lea eax, [esp + 0x844]
push ebx
push eax
call fcn.00461950
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 0x489d9c
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.00446ab0
push 0x800
lea edx, [esp + 0x1838]
push ebx
push edx
call fcn.00461950
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.00446ab0
push 0x800
lea eax, [esp + 0x1038]
push ebx
push eax
call fcn.00461950
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.00446ab0
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 0x41f7dd
cmp dword [esp + 0x14], ebx
jbe 0x41f7dd
mov ecx, dword [0x4a4014]
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.0041d3c0
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x204a]
push ecx
mov word [esp + 0x204c], ax
call fcn.00461950
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.00446ab0
lea eax, [edi - 0xc]
mov dword [esp + 0x2248], 0xffffffff
cmp eax, dword [0x4a4010]
je 0x41f7d3
add edi, 0xfffffff4
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x41f7d3
push edi
call fcn.00462471
add esp, 4
cmp ebx, dword [esp + 0x14]
jb 0x41f71d
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.00461932
add esp, 0x2238
ret 8