Function at 0x4c7fc0
Capabilities:
Check if file exists
Create process on windows
Get common file path
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x5b45c4
mov eax, dword fs:[0]
push eax
sub esp, 0x45c
mov eax, dword [0x615370]
xor eax, esp
mov dword [esp + 0x458], eax
push ebx
mov eax, dword [0x615370]
xor eax, esp
push eax
lea eax, [esp + 0x464]
mov dword fs:[0], eax
mov eax, dword [esp + 0x474]
add eax, 0xfa0a1f08
cmp eax, 7
ja case.0x4c800d.99999994
jmp dword [eax*4 + 0x4c848c]
push 0x208
lea eax, [esp + 0x54]
push 0
push eax
call fcn.0058e300
add esp, 0xc
push 0
push 0
lea ecx, [esp + 0x58]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 5
push 0
lea edx, [esp + 0x58]
push edx
push str.explorer
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov eax, 1
jmp 0x4c8462
mov eax, dword [0x621148]
mov edx, dword [eax + 0xc]
mov ecx, 0x621148
call edx
add eax, 0x10
mov dword [esp + 8], eax
lea ecx, [esp + 8]
mov dword [esp + 0x46c], 0
call fcn.004c84b0
lea eax, [esp + 0x38]
push eax
mov ecx, str._select__
call fcn.00406c20
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 0x1c]
push edx
mov ebx, eax
mov byte [esp + 0x474], 1
call fcn.0040ddd0
push eax
lea eax, [esp + 0x3c]
push eax
mov ebx, 0x5d4acc
mov byte [esp + 0x47c], 2
call fcn.00406330
mov eax, dword [eax]
add esp, 0x10
push 5
push 0
push eax
push str.explorer
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4c80fe
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x46c], 1
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4c8126
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x46c], 0
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4c814e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x46c], 0xffffffff
mov eax, dword [esp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4c8459
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
jmp 0x4c8462
lea ecx, [esp + 8]
push ecx
call fcn.0052fc60
add esp, 4
lea edx, [esp + 0x28]
push edx
mov ecx, str._select__
mov dword [esp + 0x470], 3
call fcn.00406c20
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 0x4c]
push edx
mov ebx, eax
mov byte [esp + 0x474], 4
call fcn.0040ddd0
push eax
lea eax, [esp + 0x2c]
push eax
mov ebx, 0x5d4acc
mov byte [esp + 0x47c], 5
call fcn.00406330
mov eax, dword [eax]
add esp, 0x10
push 5
push 0
push eax
push str.explorer
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4c8218
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x46c], 4
mov eax, dword [esp + 0x48]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4c8240
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x46c], 3
mov eax, dword [esp + 0x28]
jmp 0x4c8132
push 0x208
lea ecx, [esp + 0x25c]
push 0
push ecx
call fcn.0058e300
add esp, 0xc
lea edx, [esp + 0x40]
push edx
lea eax, [esp + 0x25c]
push eax
lea ecx, [esp + 0x18]
push ecx
push 0x5caac0
push str.SoftwareMicrosoftWindowsCurrentVersionApp_Paths360se6.exe
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x28], 1
mov dword [esp + 0x58], 0x208
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x4c8459
lea edx, [esp + 0x258]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je case.0x4c800d.99999994
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x25c]
call fcn.00406c20
lea ecx, [esp + 0x1c]
push ecx
mov ecx, str._select__
mov dword [esp + 0x470], 6
call fcn.00406c20
lea edx, [esp + 8]
push edx
lea ecx, [esp + 0x18]
push ecx
mov ebx, eax
mov byte [esp + 0x474], 7
call fcn.0040ddd0
push eax
lea edx, [esp + 0x58]
push edx
mov ebx, 0x5d4acc
mov byte [esp + 0x47c], 8
call fcn.00406330
mov eax, dword [eax]
add esp, 0x10
push 5
push 0
push eax
push str.explorer
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [esp + 0x4c]
call fcn.004066e0
lea ecx, [esp + 0x14]
call fcn.004066e0
lea ecx, [esp + 0x1c]
call fcn.004066e0
lea ecx, [esp + 8]
call fcn.004066e0
mov eax, 1
jmp 0x4c8462
push 0x208
lea ecx, [esp + 0x54]
push 0
push ecx
call fcn.0058e300
add esp, 0xc
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x34]
push ecx
push 0x5caac0
push 0x5db788
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x44], 1
mov dword [esp + 0x3c], 0x208
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x4c8459
lea edx, [esp + 0x50]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je case.0x4c800d.99999994
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x54]
call fcn.00406c20
lea ecx, [esp + 0x44]
push ecx
mov ecx, str._select__
mov dword [esp + 0x470], 9
call fcn.00406c20
lea edx, [esp + 0xc]
push edx
lea ecx, [esp + 0x40]
push ecx
mov ebx, eax
mov byte [esp + 0x474], 0xa
call fcn.0040ddd0
push eax
lea edx, [esp + 0x40]
push edx
mov ebx, 0x5d4acc
mov byte [esp + 0x47c], 0xb
call fcn.00406330
mov eax, dword [eax]
add esp, 0x10
push 5
push 0
push eax
push str.explorer
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [esp + 0x34]
call fcn.004066e0
lea ecx, [esp + 0x3c]
call fcn.004066e0
lea ecx, [esp + 0x44]
call fcn.004066e0
lea ecx, [esp + 0xc]
call fcn.004066e0
mov eax, 1
jmp 0x4c8462
xor eax, eax
mov ecx, dword [esp + 0x464]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [esp + 0x458]
xor ecx, esp
call fcn.005886fc
add esp, 0x468
ret 4