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

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x7a8]
sub rsp, 0x890
mov rax, qword [0x1800c5470]
xor rax, rsp
mov qword [rbp + 0x780], rax
mov esi, 0x208
lea rcx, [rbp + 0x360]
mov r8d, esi
xor edx, edx
xor ebx, ebx
call sub.msvcrt.dll_memset
mov r15d, 0x104
lea rdx, [rbp + 0x360]
mov r8d, r15d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov r8d, esi
lea rcx, [rbp + 0x150]
xor edx, edx
call sub.msvcrt.dll_memset
lea rax, [rsp + 0x38]
mov qword [rsp + 0x38], rbx
mov edi, 0x20019
mov qword [rsp + 0x20], rax
mov r9d, edi
lea rdx, str.SOFTWAREWow6432NodeMicrosoftWindowsCurrentVersionApp_Paths360safe.exe
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x180010961
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x34]
lea rax, [rbp + 0x150]
mov dword [rsp + 0x34], 1
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.Path
mov dword [rsp + 0x30], esi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movzx ecx, word [rbp + 0x150]
cmp bx, cx
je 0x180010691
lea rcx, [rbp + 0x150]
call qword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
movzx ecx, word [rbp + 0x150]
lea rdx, [rbp + 0x150]
or rax, 0xffffffffffffffff
inc rax
cmp word [rdx + rax*2], bx
jne 0x18001069c
test rax, rax
je 0x180010961
cmp bx, cx
je 0x180010961
mov r8d, eax
lea rdx, [rbp + 0x150]
lea rcx, [rbp + 0x360]
call qword [sym.imp.SHLWAPI.dll_StrCmpNIW]
test eax, eax
jne 0x18001095d
mov r8, rsi
lea rcx, [rsp + 0x40]
xor edx, edx
call sub.msvcrt.dll_memset
lea rax, str.360leakfixer.exe
mov rdx, r15
lea r14, str._s_s
mov qword [rsp + 0x20], rax
mov r8, r14
lea r9, [rbp + 0x150]
lea rcx, [rsp + 0x40]
call fcn.18000d328
test eax, eax
js 0x1800107d8
lea rcx, [rsp + 0x40]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1800107d8
mov r8, rsi
lea rcx, [rsp + 0x40]
xor edx, edx
call sub.msvcrt.dll_memset
lea rax, str.safemonpedrver.dll
mov r8, r14
lea r9, [rbp + 0x150]
mov qword [rsp + 0x20], rax
mov rdx, r15
lea rcx, [rsp + 0x40]
call fcn.18000d328
test eax, eax
jns 0x180010764
mov edi, ebx
jmp 0x180010771
lea rcx, [rsp + 0x40]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov edi, eax
mov r8, rsi
lea rcx, [rsp + 0x40]
xor edx, edx
call sub.msvcrt.dll_memset
lea rax, str.safemonFreeSaaS.tpi
mov r8, r14
lea r9, [rbp + 0x150]
mov qword [rsp + 0x20], rax
mov rdx, r15
lea rcx, [rsp + 0x40]
call fcn.18000d328
test eax, eax
js 0x1800107c7
lea rcx, [rsp + 0x40]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1800107c7
neg edi
sbb eax, eax
and eax, 0x80
lea ebx, [rax + 0x20]
jmp 0x18001095d
neg edi
sbb eax, eax
and eax, 0x80
lea ebx, [rax + 1]
jmp 0x18001095d
mov r8, rsi
lea rcx, [rsp + 0x40]
xor edx, edx
call sub.msvcrt.dll_memset
lea rax, str.hipsver.dll
mov r8, r14
lea r9, [rbp + 0x150]
mov qword [rsp + 0x20], rax
mov rdx, r15
lea rcx, [rsp + 0x40]
call fcn.18000d328
test eax, eax
js 0x18001095d
lea rcx, [rsp + 0x40]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x18001095d
mov r8, rsi
lea rcx, [rsp + 0x40]
xor edx, edx
call sub.msvcrt.dll_memset
lea rax, str.safemon360Cactus.tpi
mov r8, r14
lea r9, [rbp + 0x150]
mov qword [rsp + 0x20], rax
mov rdx, r15
lea rcx, [rsp + 0x40]
call fcn.18000d328
test eax, eax
js 0x180010958
lea rcx, [rsp + 0x40]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x180010958
mov r8, rsi
lea rcx, [rsp + 0x40]
xor edx, edx
call sub.msvcrt.dll_memset
lea rax, [rsp + 0x38]
mov qword [rsp + 0x38], rbx
mov r9d, edi
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.SOFTWAREWow6432NodeMicrosoftWindowsCurrentVersionApp_Paths360sd.exe
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x180010905
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x30]
lea rax, [rsp + 0x40]
mov dword [rsp + 0x30], 1
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.Path
mov dword [rsp + 0x34], esi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp bx, word [rsp + 0x40]
je 0x180010905
lea rcx, [rsp + 0x40]
call qword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
mov r8, rsi
lea rcx, [rbp + 0x570]
xor edx, edx
call sub.msvcrt.dll_memset
lea rax, str.360SkinMgr.exe
mov r8, r14
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov rdx, r15
lea rcx, [rbp + 0x570]
call fcn.18000d328
test eax, eax
js 0x18001094c
lea rcx, [rbp + 0x570]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ebx, eax
neg ebx
sbb eax, eax
and eax, 4
lea ebx, [rax + 6]
jmp 0x18001095d
mov ebx, ILClone
mov eax, ebx
jmp 0x180010963
xor eax, eax
mov rcx, qword [rbp + 0x780]
xor rcx, rsp
call fcn.1800782d0
lea r11, [rsp + 0x890]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret