Function at 0x446040
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bf83c
mov eax, dword fs:[0]
push eax
mov eax, 0x117c
call fcn.004a87d0
mov eax, dword [0x4ea688]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [0x4f066c]
mov ebx, dword [0x4f0664]
push 0x4f2bd0
call fcn.0042e3a0
push str.Kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4460a8
push str.GetNamedPipeClientProcessId
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4f226c], eax
cmp dword [0x4f2270], 0
jne 0x4460bb
call fcn.00445b50
mov dword [0x4f2270], eax
call fcn.00446440
call fcn.004464b0
push str.GlobalSYS_WTD00510
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
lea edi, [ebp - 0x1168]
mov dword [ebp - 0x116c], eax
call fcn.00445a70
xor edi, edi
mov dword [ebp - 4], edi
mov eax, dword [ebp - 0x1168]
call fcn.00424a20
test eax, eax
je 0x44611c
mov eax, dword [ebp - 0x1168]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp eax, edi
je 0x44611c
push str.Initialize
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, edi
je 0x44611c
call eax
cmp ebx, 1
jle 0x4462dc
mov ecx, dword [esi + 4]
movzx eax, word [ecx]
cmp ax, 0x2d
je 0x44613b
cmp ax, 0x2f
jne 0x4462dc
add ecx, 2
push ecx
push str.install
call fcn.00492756
add esp, 8
test eax, eax
jne 0x44627e
call fcn.00427f30
lea ecx, [ebp - 0x1164]
push ecx
mov ecx, 0x4c561c
call fcn.00425750
lea edx, [ebp - 0x1170]
push edx
push 1
push edi
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths360safe.exe
push reloc.OLEAUT32.dll_SysReAllocString
mov byte [ebp - 4], 1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x446244
push 0x208
lea ecx, [ebp - 0x21a]
push edi
push ecx
mov word [ebp - 0x21c], ax
call fcn.004982c0
push 0x208
lea edx, [ebp - 0x21c]
push edi
push edx
mov dword [ebp - 0x1178], 0x208
call fcn.004982c0
add esp, 0x18
lea eax, [ebp - 0x1178]
push eax
mov eax, dword [ebp - 0x1170]
lea ecx, [ebp - 0x21c]
push ecx
lea edx, [ebp - 0x1174]
push edx
push edi
push 0x4ce6b4
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x446237
mov eax, dword [ebp - 0x1174]
xor ecx, ecx
sub eax, 1
mov word [ebp - 0x14], cx
jne 0x446237
lea edx, [ebp - 0x116c]
push edx
lea ecx, [ebp - 0x21c]
call fcn.00425750
lea edi, [ebp - 0x1164]
mov byte [ebp - 4], 2
call fcn.00414fb0
lea ecx, [ebp - 0x116c]
mov byte [ebp - 4], 1
call fcn.004064a0
xor edi, edi
mov eax, dword [ebp - 0x1170]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x1164]
call fcn.00410070
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x1164]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4463c1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x4463c1
mov ecx, dword [esi + 4]
add ecx, 2
push ecx
push str.remove
call fcn.00492756
add esp, 8
test eax, eax
je 0x4463c1
mov edx, dword [esi + 4]
add edx, 2
push edx
push str.repair
call fcn.00492756
add esp, 8
test eax, eax
jne 0x4463c1
mov eax, dword [ebp - 0x116c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.00445f90
lea ecx, [ebp - 0x1168]
mov esi, eax
call fcn.004064a0
mov eax, esi
jmp 0x44640d
mov dword [ebp - 0x1164], edi
call fcn.0042ce90
test eax, eax
je 0x446314
mov eax, dword [0x4f3738]
cmp eax, edi
je 0x446302
lea ecx, [ebp - 0x1164]
push ecx
push 0x4d0e88
call eax
mov eax, dword [ebp - 0x1164]
cmp eax, edi
je 0x446314
mov edx, dword [eax]
push eax
mov eax, dword [edx + 0xc]
call eax
mov byte [ebp - 4], 3
mov ecx, dword [0x4f3528]
mov edx, dword [0x4f3524]
mov eax, dword [0x4f3520]
push ecx
mov ecx, dword [0x4f352c]
push edx
push eax
mov eax, dword [0x4f3530]
push 0x4f2fe0
call fcn.00403d50
lea ecx, [ebp - 0x1160]
push ecx
call fcn.0044ae20
mov eax, dword [ebp - 0x115c]
lea ecx, [ebp - 0x1188]
lea edx, [ebp - 0x1160]
push ecx
mov dword [0x4f26c8], edx
mov dword [ebp - 0x1188], eax
mov dword [ebp - 0x1184], 0x4553f0
mov dword [ebp - 0x1180], edi
mov dword [ebp - 0x117c], edi
call dword [sym.imp.ADVAPI32.dll_StartServiceCtrlDispatcherW]
call fcn.00404150
call fcn.004041a0
lea ecx, [ebp - 0x1160]
call fcn.0044b230
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x1164]
cmp eax, edi
je 0x4463c1
mov edx, dword [eax]
push eax
mov eax, dword [edx + 0x10]
call eax
mov eax, dword [ebp - 0x1164]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
push str.CrashReport.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp eax, edi
je 0x4463e2
push str.OnExiting
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, edi
je 0x4463e2
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x1168]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44640b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00491db1
mov esp, ebp
pop ebp
ret