Function at 0x140003d20
Capabilities:
Encode data using xor
Enumerate processes
Terminate process

Disassembly:
mov r11, rsp
push rbx
push r14
sub rsp, 0x2d8
mov rax, qword [0x140091080]
xor rax, rsp
mov qword [rsp + 0x2b0], rax
mov qword [r11 + 0x10], rbp
xor ebx, ebx
mov qword [r11 + 0x18], rsi
mov ebp, ebx
mov qword [r11 - 0x18], rdi
xor sil, sil
mov r14, rcx
nop word [rax + rax]
xor edx, edx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x140003dd4
lea rdx, [rsp + 0x70]
mov dword [rsp + 0x70], 0x238
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x140003dc4
lea rdx, [0x140083418]
lea rcx, [rsp + 0x9c]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x140003dbd
lea rdx, [rsp + 0x70]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140003d90
jmp 0x140003dc4
mov ebp, dword [rsp + 0x78]
mov sil, 1
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test sil, sil
je 0x140003d60
jmp 0x140003df9
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
lea rdx, str.Failed_to_create_snapshot
call fcn.140006d20
lea rdx, [0x140006ef0]
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 ebp, ebx
mov qword [rsp + 0x30], rbx
lea rcx, str..driver
mov dword [rsp + 0x28], 0x80
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], 3
mov edx, 0xc0000000
mov dword [r14], ebp
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rdi, qword [rsp + 0x2d0]
mov rcx, rax
mov rsi, qword [rsp + 0x300]
mov rbp, qword [rsp + 0x2f8]
mov qword [r14 + 8], rax
cmp rax, 0xffffffffffffffff
jne 0x140003e8a
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
lea rdx, str.Load_driver_first
call fcn.140006d20
lea rdx, [0x140006ef0]
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 rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::basic_istream_char__struct_std::char_traits_char__::get_void____ptr64]
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov eax, dword [r14]
mov qword [rsp + 0x40], rax
mov rax, rbx
movaps xmmword [rsp + 0x2c0], xmm6
movdqa xmm6, xmmword [0x140084590]
nop word [rax + rax]
movdqu xmm0, xmmword [rsp + rax + 0x40]
movdqa xmm1, xmm6
xorps xmm1, xmm0
movdqu xmmword [rsp + rax + 0x40], xmm1
add rax, 0x10
cmp rax, 0x20
jb 0x140003eb0
cmp rax, 0x28
jae 0x140003eee
nop dword [rax]
nop word [rax + rax]
xor byte [rsp + rax + 0x40], 0xaa
inc rax
cmp rax, 0x28
jb 0x140003ee0
mov qword [rsp + 0x38], rbx
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rbx
lea r8, [rsp + 0x40]
mov dword [rsp + Ordinal_41], 0x28
mov r9d, Ordinal_41
mov edx, 0x229154
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
movdqu xmm0, xmmword [rsp + rbx + 0x40]
movdqa xmm1, xmm6
xorps xmm1, xmm0
movdqu xmmword [rsp + rbx + 0x40], xmm1
add rbx, 0x10
cmp rbx, 0x20
jb 0x140003f20
movaps xmm6, xmmword [rsp + 0x2c0]
cmp rbx, 0x28
jae 0x140003f5e
nop dword [rax + rax]
xor byte [rsp + rbx + 0x40], 0xaa
inc rbx
cmp rbx, 0x28
jb 0x140003f50
test eax, eax
jne 0x140003f9e
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
lea rdx, str.Failed_to_attach_to_process
call fcn.140006d20
lea rdx, [0x140006ef0]
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 rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::basic_istream_char__struct_std::char_traits_char__::get_void____ptr64]
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov rax, r14
mov rcx, qword [rsp + 0x2b0]
xor rcx, rsp
call fcn.140071040
add rsp, 0x2d8
pop r14
pop rbx
ret