Function at 0x45b262
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
sub esp, 0x410
lea ebp, [esp - 4]
mov eax, dword [0x5466b0]
xor eax, ebp
mov dword [ebp + 0x410], eax
push 0x14
mov eax, 0x4fbdd4
call fcn.004d2f7d
mov eax, dword [ebp + 0x41c]
xor ebx, ebx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x420]
mov dword [ebp - 0x1c], ebx
test byte [0x550260], 1
mov dword [ebp - 0x10], eax
jne 0x45b2c2
or dword [0x550260], 1
mov ecx, 0x55025c
call fcn.00408850
push 0x50bad7
call fcn.004cb9f4
pop ecx
mov eax, dword [0x55025c]
cmp dword [eax - 0xc], ebx
jne 0x45b4ca
xor eax, eax
mov esi, 0x206
push esi
mov word [ebp], ax
lea eax, [ebp + 2]
push ebx
push eax
call fcn.004d7710
add esp, 0xc
lea eax, [ebp - 0x18]
push eax
push 0x20019
push ebx
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths360safe.exe
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x18], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x45b341
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp]
push eax
lea eax, [ebp - 0x1c]
push eax
push ebx
push str.Path
push dword [ebp - 0x18]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edx, [ebp]
mov edi, 0x55025c
call fcn.004085a0
mov eax, dword [0x55025c]
cmp dword [eax - 0xc], ebx
jne 0x45b4ca
xor eax, eax
push esi
mov word [ebp + 0x208], ax
lea eax, [ebp + 0x20a]
push ebx
push eax
call fcn.004d7710
add esp, 0xc
push 0x104
lea eax, [ebp + 0x208]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov edi, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp + 0x208]
push eax
call edi
lea eax, [ebp + 0x208]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
cmp eax, ebx
je 0x45b4ca
mov edx, str.SoftMgr
mov ecx, eax
mov si, word [ecx]
cmp si, word [edx]
jne 0x45b3cd
cmp si, bx
je 0x45b3c9
mov si, word [ecx + 2]
cmp si, word [edx + 2]
jne 0x45b3cd
add ecx, 4
add edx, 4
cmp si, bx
jne 0x45b3a7
xor ecx, ecx
jmp 0x45b3d2
sbb ecx, ecx
sbb ecx, 0xffffffff
cmp ecx, ebx
jne 0x45b3f4
lea eax, [ebp + 0x208]
push eax
call edi
lea edx, [ebp + 0x208]
mov edi, 0x55025c
call fcn.004085a0
jmp 0x45b4ca
mov ebx, str.360Safe
mov edx, ebx
mov ecx, eax
mov si, word [ecx]
cmp si, word [edx]
jne 0x45b423
test si, si
je 0x45b41f
mov si, word [ecx + 2]
cmp si, word [edx + 2]
jne 0x45b423
add ecx, 4
add edx, 4
test si, si
jne 0x45b3fd
xor ecx, ecx
jmp 0x45b428
sbb ecx, ecx
sbb ecx, 0xffffffff
test ecx, ecx
je 0x45b4b8
mov ecx, 0x51b0bc
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x45b45b
test dx, dx
je 0x45b457
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x45b45b
add eax, 4
add ecx, 4
test dx, dx
jne 0x45b435
xor eax, eax
jmp 0x45b460
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
lea eax, [ebp + 0x208]
push eax
jne 0x45b478
call edi
lea eax, [ebp + 0x208]
push eax
call edi
jmp 0x45b4b8
call edi
lea eax, [ebp + 0x208]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov ecx, ebx
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x45b4af
test dx, dx
je 0x45b4ab
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x45b4af
add eax, 4
add ecx, 4
test dx, dx
jne 0x45b489
xor eax, eax
jmp 0x45b4b4
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x45b4c8
lea edx, [ebp + 0x208]
mov edi, 0x55025c
call fcn.004085a0
xor ebx, ebx
mov ecx, dword [ebp - 0x10]
cmp ecx, ebx
je 0x45b4f9
lea eax, [ebp - 0x10]
push eax
call fcn.004085e0
mov edi, dword [ebp - 0x14]
push 0x55025c
lea esi, [ebp - 0x10]
mov dword [ebp - 4], ebx
call fcn.0045b9bd
pop ecx
mov ecx, esi
call fcn.004087f0
mov eax, edi
jmp 0x45b510
mov eax, dword [0x55025c]
add eax, 0xfffffff0
call fcn.00408780
mov ecx, eax
mov eax, dword [ebp - 0x14]
add ecx, 0x10
mov dword [eax], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x410]
xor ecx, ebp
call fcn.004cb38b
add ebp, 0x414
leave
ret