Function at 0x140007250
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x130]
sub rsp, 0x230
mov rax, qword [0x14009d2d0]
xor rax, rsp
mov qword [rbp + 0x120], rax
movzx r15d, dl
mov rdi, rcx
call fcn.140006ef0
mov ebx, eax
test eax, eax
jne 0x14000764f
xor r14b, r14b
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
xor r12d, r12d
mov dword [rsp + 0x44], r12d
mov qword [rsp + 0x50], r12
mov dword [rsp + 0x58], r12d
mov qword [rsp + 0x60], r12
lea r9d, [rbx + 1]
lea r8, str.SOFTWAREMcAfeeAPPolicy
lea rcx, [rsp + 0x50]
call fcn.14000dab0
test eax, eax
je 0x1400072ec
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140007418
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x140007418
mov dword [rsp + 0x40], 4
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x44]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.DefaultApplied
mov rsi, qword [rsp + 0x50]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x140007345
cmp dword [rsp + 0x40], r12d
jne 0x140007345
test rsi, rsi
je 0x140007418
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x140007418
test rsi, rsi
je 0x140007353
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [rsp + 0x44], r12d
jne 0x140007418
mov rdx, qword [rdi + 0x30]
lea rcx, [rsp + 0x70]
call fcn.1400137c0
nop
mov dl, 1
lea rcx, [rsp + 0x70]
call fcn.140014c40
mov ebx, eax
test eax, eax
js 0x14000740e
lea r8, [rdi + 0x50]
lea rdx, [rdi + 0x40]
lea rcx, [rsp + 0x70]
call fcn.1400193a0
mov ebx, eax
test eax, eax
js 0x14000740e
mov r14b, 1
mov dword [rsp + 0x44], 1
lea rax, [rsp + 0x44]
mov qword [rsp + 0x20], rax
lea r8, str.DefaultApplied
lea rdx, str.SOFTWAREMcAfeeAPPolicy
call fcn.140009840
mov dword [rsp + 0x40], eax
test eax, eax
je 0x14000740e
mov ecx, 5
call fcn.14002bb50
test eax, eax
je 0x14000740e
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, str.Write_DllApplied_failed__error_d
mov qword [rsp + 0x20], rax
mov r9d, 0x21f
lea r8, str.CAccessProtectionHandler::LoadPolicy
lea rdx, str.E:BTc1fd866d_3751_4c72_a231_f6b223727ef9_vscore_srcMcAPExeAccessProtectionHandler.cpp
mov ecx, 5
call fcn.140001f30
nop
lea rcx, [rsp + 0x70]
call fcn.140013bc0
mov qword [rsp + 0x50], r12
mov dword [rsp + 0x58], r12d
mov qword [rsp + 0x60], r12
mov r9d, 1
lea r8, str.SOFTWAREMcAfeeAPPolicy
lea rcx, [rsp + 0x50]
call fcn.14000dab0
test eax, eax
je 0x14000745b
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14000758a
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x14000758a
mov dword [rsp + 0x40], 4
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x44]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.AAC_Rules_Applied
mov rsi, qword [rsp + 0x50]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x1400074b4
cmp dword [rsp + 0x40], 0
jne 0x1400074b4
test rsi, rsi
je 0x14000758a
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x14000758a
test rsi, rsi
je 0x1400074c2
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [rsp + 0x44], 0
jne 0x14000758a
mov rdx, qword [rdi + 0x30]
lea rcx, [rsp + 0x70]
call fcn.1400137c0
nop
xor edx, edx
lea rcx, [rsp + 0x70]
call fcn.140014c40
mov ebx, eax
test eax, eax
js 0x140007580
lea rdx, [rdi + 0x40]
lea r8, [0x140077130]
lea rcx, [rsp + 0x70]
call fcn.1400193a0
mov ebx, eax
test eax, eax
js 0x140007580
mov r14b, 1
mov dword [rsp + 0x44], 1
lea rax, [rsp + 0x44]
mov qword [rsp + 0x20], rax
lea r8, str.AAC_Rules_Applied
lea rdx, str.SOFTWAREMcAfeeAPPolicy
call fcn.140009840
mov dword [rsp + 0x40], eax
test eax, eax
je 0x140007580
mov ecx, 5
call fcn.14002bb50
test eax, eax
je 0x140007580
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, str.Write_RuleApplied_failed__error_d
mov qword [rsp + 0x20], rax
mov r9d, 0x234
lea r8, str.CAccessProtectionHandler::LoadPolicy
lea rdx, str.E:BTc1fd866d_3751_4c72_a231_f6b223727ef9_vscore_srcMcAPExeAccessProtectionHandler.cpp
mov ecx, 5
call fcn.140001f30
nop
lea rcx, [rsp + 0x70]
call fcn.140013bc0
test r14b, r14b
jne 0x140007599
cmp byte [rdi + 0x60], r14b
jne 0x140007647
mov rdx, qword [rdi + 0x30]
lea rcx, [rsp + 0x70]
call fcn.1400137c0
nop
lea rdx, [rdi + 0x40]
mov r9b, 1
lea rcx, [rsp + 0x70]
call fcn.140019c70
cmp byte [0x1400a0fd8], 0
je 0x140007630
mov dword [rsp + 0x40], r12d
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea r8, str.SPPolicyApplied
lea rdx, str.SOFTWAREMcAfeeVirusScanInstallSettings
call fcn.140009840
mov dword [rsp + 0x48], eax
test eax, eax
je 0x14000763d
mov ecx, 5
call fcn.14002bb50
test eax, eax
je 0x140007635
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
lea rax, str.Write_SPPolicyApplied_failed__error_d
mov qword [rsp + 0x20], rax
mov r9d, 0x247
lea r8, str.CAccessProtectionHandler::LoadPolicy
lea rdx, str.E:BTc1fd866d_3751_4c72_a231_f6b223727ef9_vscore_srcMcAPExeAccessProtectionHandler.cpp
mov ecx, 5
call fcn.140001f30
jmp 0x140007635
test r15b, r15b
jne 0x14000763d
mov dl, 1
call fcn.1400077a0
nop
lea rcx, [rsp + 0x70]
call fcn.140013bc0
call qword [sym.imp.ole32.dll_CoUninitialize]
mov eax, ebx
mov rcx, qword [rbp + 0x120]
xor rcx, rsp
call fcn.140043760
lea r11, [rsp + 0x230]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret