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

Disassembly:
push 0xffffffffffffffff
push 0x481053
mov eax, dword fs:[0]
push eax
mov eax, 0x1a30
call fcn.00462bf0
mov eax, dword [0x4a60f8]
xor eax, esp
mov dword [esp + 0x1a2c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a60f8]
xor eax, esp
push eax
lea eax, [esp + 0x1a44]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x1a54]
mov eax, dword [0x4a4014]
mov esi, ecx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x18], eax
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esi + 8]
mov dword [esp + 0x1a50], 0
call fcn.0043fd40
push str.Bin360DesktopSwitch.exe
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x24]
push eax
call fcn.0041d3e0
mov ecx, dword [esi + 8]
mov byte [esp + 0x1a4c], 1
test ecx, ecx
je 0x41efb2
call fcn.0043ec40
test eax, eax
je 0x41efb2
mov ecx, dword [eax]
mov edx, dword [ecx + 0x48]
push eax
call edx
test eax, eax
je 0x41efb2
push str.Bin360DesktopSwitch64.exe
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x2c]
push ecx
mov edi, 1
call fcn.0041d3e0
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x1a50], 2
call fcn.0041be30
mov eax, dword [esp + 0x24]
lea edx, [eax - 0xc]
mov byte [esp + 0x1a4c], 1
cmp edx, dword [0x4a4010]
je 0x41ef51
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x41ef51
mov eax, dword [esp + 0x24]
add eax, 0xfffffff4
push eax
call fcn.00462471
add esp, 4
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x41ef63
call fcn.0043ec90
mov esi, eax
test esi, esi
jne 0x41efb6
mov eax, dword [esp + 0x1c]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x4a4010]
je 0x41ef90
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x41ef90
mov edx, dword [esp + 0x1c]
add edx, 0xfffffff4
push edx
call fcn.00462471
add esp, 4
mov eax, dword [esp + 0x18]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x4a4010]
je 0x41f398
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
jmp 0x41f384
xor edi, edi
jmp 0x41ef51
mov ecx, dword [esp + 0x1c]
mov eax, dword [esi]
mov edx, dword [eax + 0x10]
push ecx
push esi
call edx
mov eax, dword [0x4a4014]
mov dword [esp + 0x24], eax
push str._unloaddtswitcher
lea ecx, [esp + 0x28]
mov byte [esp + 0x1a50], 3
call fcn.0041be90
mov eax, dword [esp + 0x24]
mov ecx, dword [esi]
push 1
xor edx, edx
push 0x1388
push 0
test edi, edi
sete dl
push 1
push edx
mov edx, dword [esp + 0x30]
push 5
push eax
mov eax, dword [ecx + 0x78]
push edx
push esi
call eax
push str.BinSetupUtilDT.exe
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x34]
push edx
call fcn.0041d3e0
mov ecx, dword [esp + 0x2c]
mov eax, dword [esi]
mov edx, dword [eax + 0x24]
push 0
push 1
push 1
push 0
push str._UninstFromSP
push ecx
push esi
mov byte [esp + 0x1a68], 4
call edx
mov ebp, dword [esp + 0x1a58]
test ebp, ebp
je 0x41f058
mov eax, dword [esp + 0x18]
push eax
mov ecx, ebx
call fcn.00446620
jmp 0x41f065
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00444840
add esp, 4
push 0x800
lea edx, [esp + 0x103c]
push 0
push edx
call fcn.00461950
push 0x800
lea eax, [esp + 0x48]
push 0
push eax
call fcn.00461950
add esp, 0x18
push 1
push 0x1a
lea ecx, [esp + 0x1040]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov ebx, dword [sym.imp.SHLWAPI.dll_PathCombineW]
push str.360Notify
lea edx, [esp + 0x103c]
push edx
lea eax, [esp + 0x40]
push eax
call ebx
lea ecx, [esp + 0x38]
push ecx
lea ecx, [esp + 0x34]
call fcn.0041d2c0
push str.Bin360seNotify.exe
push str.Bin360seNotify.exe
mov byte [esp + 0x1a54], 5
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
lea ecx, [esp + 0x38]
call fcn.0041b440
mov edi, dword [esp + 0x30]
lea eax, [esp + 0x34]
push eax
push 1
push 1
push 0
push str._Uninstall:360Desktop
mov dword [esp + 0x48], 0xffffffff
mov edx, dword [esi]
mov ecx, dword [edx + 0x24]
push edi
push esi
call ecx
test eax, eax
je 0x41f1e6
cmp dword [esp + 0x34], 0
jne 0x41f1e6
mov edx, dword [esi]
mov eax, dword [edx + 0x10]
push edi
push esi
call eax
lea ecx, [esp + 0x38]
push ecx
lea ecx, [esp + 0x24]
call fcn.0041d2c0
push str.Bin360weibo.exe
lea ecx, [esp + 0x24]
mov byte [esp + 0x1a50], 6
call fcn.0041b7c0
mov eax, dword [esp + 0x20]
mov edx, dword [esi]
mov ecx, dword [edx + 0x10]
push eax
push esi
call ecx
cmp dword [0x4a9468], 0
lea edx, [esp + 0x38]
lea ecx, [esp + 0x14]
push edx
jne 0x41f19e
call fcn.0041d2c0
push str.Bin
lea ecx, [esp + 0x18]
mov byte [esp + 0x1a50], 7
call fcn.0041b7c0
test ebp, ebp
je 0x41f1bf
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x28]
push eax
call fcn.00446620
jmp 0x41f1cc
call fcn.0041d2c0
mov byte [esp + 0x1a4c], 8
test ebp, ebp
je 0x41f1bf
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x28]
push eax
call fcn.00446620
jmp 0x41f1cc
mov ecx, dword [esp + 0x14]
push ecx
call fcn.00444840
add esp, 4
lea ecx, [esp + 0x14]
call fcn.0041b2e0
lea ecx, [esp + 0x20]
mov byte [esp + 0x1a4c], 5
call fcn.0041b2e0
xor edx, edx
push 0x206
push edx
lea eax, [esp + 0x1842]
push eax
mov word [esp + 0x1844], dx
call fcn.00461950
add esp, 0xc
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x183c]
push edx
lea eax, [esp + 0x1c]
push eax
push str.PathSub
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths360GameBox.exe
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x40], 0x104
mov dword [esp + 0x2c], 1
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x41f2cf
cmp dword [esp + 0x28], eax
jbe 0x41f2cf
push 0x800
push eax
lea ecx, [esp + 0x840]
push ecx
call fcn.00461950
add esp, 0xc
push str.Uninstall.exe
lea edx, [esp + 0x183c]
push edx
lea eax, [esp + 0x840]
push eax
call ebx
cmp dword [0x4a9468], 0
mov dword [esp + 0x20], 0
je 0x41f2af
mov ecx, dword [esi]
mov ecx, dword [ecx + 0x24]
lea edx, [esp + 0x20]
push edx
push 0
push 0
push 0
push str._S__delconf__zm
lea eax, [esp + 0x84c]
push eax
push esi
call ecx
jmp 0x41f2cf
mov edx, dword [esi]
mov edx, dword [edx + 0x24]
lea eax, [esp + 0x20]
push eax
push 0
push 0
push 0
push str._S__zm
lea ecx, [esp + 0x84c]
push ecx
push esi
call edx
lea eax, [edi - 0xc]
cmp eax, dword [0x4a4010]
je 0x41f2f5
lea esi, [edi - 0xc]
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
push esi
call edi
test eax, eax
jg 0x41f2fb
push esi
call fcn.00462471
add esp, 4
jmp 0x41f2fb
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
mov eax, dword [esp + 0x2c]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x4a4010]
je 0x41f324
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x41f324
mov edx, dword [esp + 0x2c]
add edx, 0xfffffff4
push edx
call fcn.00462471
add esp, 4
mov esi, dword [esp + 0x24]
lea eax, [esi - 0xc]
cmp eax, dword [0x4a4010]
je 0x41f346
add esi, 0xfffffff4
push esi
call edi
test eax, eax
jg 0x41f346
push esi
call fcn.00462471
add esp, 4
mov eax, dword [esp + 0x1c]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x4a4010]
je 0x41f36f
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x41f36f
mov edx, dword [esp + 0x1c]
add edx, 0xfffffff4
push edx
call fcn.00462471
add esp, 4
mov eax, dword [esp + 0x18]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x4a4010]
je 0x41f398
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x41f398
mov edx, dword [esp + 0x18]
add edx, 0xfffffff4
push edx
call fcn.00462471
add esp, 4
mov ecx, dword [esp + 0x1a44]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1a2c]
xor ecx, esp
call fcn.00461932
add esp, 0x1a3c
ret 8