Function at 0x140002b50
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xf0
mov rax, qword [0x14000c040]
xor rax, rsp
mov qword [rbp + 0x47], rax
lea rdx, str.MAPSReporting
lea rcx, [rbp - 0x29]
call fcn.1400040d0
nop
lea rdx, str.SOFTWAREPoliciesMicrosoftWindows_DefenderSpynet
lea rcx, [rbp - 0x49]
call fcn.1400040d0
xor edi, edi
mov dword [rbp - 1], edi
lea rdx, [rbp - 0x49]
cmp qword [rbp - 0x31], 7
cmova rdx, qword [rbp - 0x49]
mov qword [rsp + 0x40], rdi
lea rax, [rbp - 9]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 0x102
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x140002c1b
lea rdx, [rbp - 0x29]
cmp qword [rbp - 0x11], 7
cmova rdx, qword [rbp - 0x29]
mov dword [rsp + 0x28], 4
lea rax, [rbp - 1]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
mov rcx, qword [rbp - 9]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rbp - 9]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, qword [rbp - 0x31]
cmp rdx, 7
jbe 0x140002c5e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x49]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002c59
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002c59
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005434
movdqa xmm0, xmmword [0x140008d30]
movdqu xmmword [rbp - 0x39], xmm0
mov word [rbp - 0x49], di
mov rdx, qword [rbp - 0x11]
cmp rdx, 7
jbe 0x140002cb2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002cad
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002cad
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005434
lea rdx, str.SOFTWAREPoliciesMicrosoftWindows_DefenderMpEngine
lea rcx, [rbp + 7]
call fcn.1400040d0
nop
lea rdx, str.MpCloudBlockLevel
lea rcx, [rbp + 0x27]
call fcn.1400040d0
nop
lea rdx, [rbp + 7]
cmp qword [rbp + 0x1f], 7
cmova rdx, qword [rbp + 7]
lea rax, [rbp - 1]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 9]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 0x102
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x140002f33
mov rcx, qword [rbp - 9]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [rbp - 1], edi
lea rdx, [rbp + 7]
cmp qword [rbp + 0x1f], 7
cmova rdx, qword [rbp + 7]
mov qword [rsp + 0x40], rdi
lea rax, [rbp - 9]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 0x102
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x140002f33
lea rdx, [rbp + 0x27]
cmp qword [rbp + 0x3f], 7
cmova rdx, qword [rbp + 0x27]
mov dword [rsp + 0x28], 4
lea rax, [rbp - 1]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
mov rcx, qword [rbp - 9]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ebx, eax
mov rcx, qword [rbp - 9]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
jne 0x140002f33
mov rax, qword [rbp + 0x1f]
cmp rax, 0x33
jb 0x140002df5
lea rbx, [rbp + 7]
cmp rax, 7
cmova rbx, qword [rbp + 7]
mov qword [rbp + 0x17], 0x33
mov r8d, 0x66
lea rdx, str.SOFTWAREPoliciesMicrosoftWindows_DefenderSpynet
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov word [rbx + 0x66], di
jmp 0x140002e0a
lea r9, str.SOFTWAREPoliciesMicrosoftWindows_DefenderSpynet
mov edx, 0x33
lea rcx, [rbp + 7]
call fcn.140004720
mov rax, qword [rbp + 0x3f]
cmp rax, 0xf
jb 0x140002e44
lea rbx, [rbp + 0x27]
cmp rax, 7
cmova rbx, qword [rbp + 0x27]
mov qword [rbp + 0x37], 0xf
mov r8d, 0x1e
lea rdx, str.SpynetReporting
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov word [rbx + 0x1e], di
jmp 0x140002e59
lea r9, str.SpynetReporting
mov edx, 0xf
lea rcx, [rbp + 0x27]
call fcn.140004720
lea rdx, [rbp + 7]
cmp qword [rbp + 0x1f], 7
cmova rdx, qword [rbp + 7]
lea rax, [rbp - 1]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 9]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 0x102
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x140002f33
mov rcx, qword [rbp - 9]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [rbp - 1], edi
lea rdx, [rbp + 7]
cmp qword [rbp + 0x1f], 7
cmova rdx, qword [rbp + 7]
mov qword [rsp + 0x40], rdi
lea rax, [rbp - 9]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 0x102
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x140002f33
lea rdx, [rbp + 0x27]
cmp qword [rbp + 0x3f], 7
cmova rdx, qword [rbp + 0x27]
mov dword [rsp + 0x28], 4
lea rax, [rbp - 1]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
mov rcx, qword [rbp - 9]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rbp - 9]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rdx, qword [rbp + 0x3f]
cmp rdx, 7
jbe 0x140002f76
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x27]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002f71
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002f71
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005434
mov qword [rbp + 0x37], rdi
mov qword [rbp + 0x3f], 7
mov word [rbp + 0x27], di
mov rdx, qword [rbp + 0x1f]
cmp rdx, 7
jbe 0x140002fc9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002fc4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002fc4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005434
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.140004fa0
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret