Function at 0x445300
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4beccc
mov eax, dword fs:[0]
push eax
mov eax, 0x117c
call fcn.004a7ca0
mov eax, dword [0x4e9688]
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 [0x4ef60c]
mov ebx, dword [0x4ef604]
push 0x4f1b68
call fcn.0042d920
push str.Kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x445368
push str.GetNamedPipeClientProcessId
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4f120c], eax
cmp dword [0x4f1210], 0
jne 0x44537b
call fcn.00444e10
mov dword [0x4f1210], eax
call fcn.00445700
call fcn.00445770
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.00444d30
xor edi, edi
mov dword [ebp - 4], edi
mov eax, dword [ebp - 0x1168]
call fcn.00424110
test eax, eax
je 0x4453dc
mov eax, dword [ebp - 0x1168]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp eax, edi
je 0x4453dc
push str.Initialize
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, edi
je 0x4453dc
call eax
cmp ebx, 1
jle 0x44559c
mov ecx, dword [esi + 4]
movzx eax, word [ecx]
cmp ax, 0x2d
je 0x4453fb
cmp ax, 0x2f
jne 0x44559c
add ecx, 2
push ecx
push str.install
call fcn.00491c26
add esp, 8
test eax, eax
jne 0x44553e
call fcn.00427620
lea ecx, [ebp - 0x1164]
push ecx
mov ecx, 0x4c4348
call fcn.00424e40
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 0x445504
push 0x208
lea ecx, [ebp - 0x21a]
push edi
push ecx
mov word [ebp - 0x21c], ax
call fcn.00497780
push 0x208
lea edx, [ebp - 0x21c]
push edi
push edx
mov dword [ebp - 0x1178], 0x208
call fcn.00497780
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 str.Path
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4454f7
mov eax, dword [ebp - 0x1174]
xor ecx, ecx
sub eax, 1
mov word [ebp - 0x14], cx
jne 0x4454f7
lea edx, [ebp - 0x116c]
push edx
lea ecx, [ebp - 0x21c]
call fcn.00424e40
lea edi, [ebp - 0x1164]
mov byte [ebp - 4], 2
call fcn.004146d0
lea ecx, [ebp - 0x116c]
mov byte [ebp - 4], 1
call fcn.00406270
xor edi, edi
mov eax, dword [ebp - 0x1170]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x1164]
call fcn.0040f7a0
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 0x445681
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x445681
mov ecx, dword [esi + 4]
add ecx, 2
push ecx
push str.remove
call fcn.00491c26
add esp, 8
test eax, eax
je 0x445681
mov edx, dword [esi + 4]
add edx, 2
push edx
push str.repair
call fcn.00491c26
add esp, 8
test eax, eax
jne 0x445681
mov eax, dword [ebp - 0x116c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.00445250
lea ecx, [ebp - 0x1168]
mov esi, eax
call fcn.00406270
mov eax, esi
jmp 0x4456cd
mov dword [ebp - 0x1164], edi
call fcn.0042c400
test eax, eax
je 0x4455d4
mov eax, dword [0x4f26d0]
cmp eax, edi
je 0x4455c2
lea ecx, [ebp - 0x1164]
push ecx
push 0x4cfa38
call eax
mov eax, dword [ebp - 0x1164]
cmp eax, edi
je 0x4455d4
mov edx, dword [eax]
push eax
mov eax, dword [edx + 0xc]
call eax
mov byte [ebp - 4], 3
mov ecx, dword [0x4f24c0]
mov edx, dword [0x4f24bc]
mov eax, dword [0x4f24b8]
push ecx
mov ecx, dword [0x4f24c4]
push edx
push eax
mov eax, dword [0x4f24c8]
push 0x4f1f78
call fcn.00403cd0
lea ecx, [ebp - 0x1160]
push ecx
call fcn.0044a170
mov eax, dword [ebp - 0x115c]
lea ecx, [ebp - 0x1188]
lea edx, [ebp - 0x1160]
push ecx
mov dword [0x4f1668], edx
mov dword [ebp - 0x1188], eax
mov dword [ebp - 0x1184], 0x454540
mov dword [ebp - 0x1180], edi
mov dword [ebp - 0x117c], edi
call dword [sym.imp.ADVAPI32.dll_StartServiceCtrlDispatcherW]
call fcn.004040d0
call fcn.00404120
lea ecx, [ebp - 0x1160]
call fcn.0044a580
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x1164]
cmp eax, edi
je 0x445681
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 0x4456a2
push str.OnExiting
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, edi
je 0x4456a2
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 0x4456cb
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.00491281
mov esp, ebp
pop ebp
ret