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

Disassembly:
mov qword [rsp + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x330]
sub rsp, 0x430
mov rax, qword [0x140130080]
xor rax, rsp
mov qword [rbp + 0x320], rax
mov byte [rsp + 0x20], 0x43
xor edi, edi
mov byte [rsp + 0x21], 0x48
movabs r15, 0xd7b792c5f5a5f825
mov byte [rsp + 0x22], 0x5c
mov r10, r15
mov byte [rsp + 0x23], Ordinal_41
mov r9d, edi
movzx eax, byte [rsp + 0x20]
lea r14d, [rdi + 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 0x1400810c1
lea rcx, [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
cmp qword [0x14036cb58], rdi
jne 0x140081187
lea rcx, str.win32u.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
jne 0x140081141
lea rcx, [0x1401185d8]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rcx, str.win32u.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
test rax, rax
je 0x140081164
lea rdx, str.NtUserWOWCleanup
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14036cb58], rax
test rax, rax
jne 0x140081178
mov qword [0x14036cb58], rdi
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 rdx, rax
lea rcx, str.drevor:__p
call fcn.140019010
mov r9d, 0x941d
mov qword [rsp + 0x450], rbx
mov ecx, 0x9404
mov qword [rsp + 0x458], rsi
mov eax, 0x9416
mov r8d, 0x940e
mov word [rsp + 0x30], ax
mov edx, 0x9415
mov eax, 0x9434
movabs r10, 0xa33c90ec5e7c945d
mov word [rsp + 0x32], ax
mov r11d, 0x6ba3
mov eax, 0x9429
mov word [rsp + 0x34], ax
mov eax, 0x9403
mov word [rsp + 0x36], r9w
mov word [rsp + 0x38], ax
mov eax, 0x940c
mov word [rsp + 0x3a], ax
mov eax, 0x9419
mov word [rsp + 0x3c], ax
mov eax, 0x942a
mov word [rsp + 0x3e], cx
mov word [rsp + 0x40], ax
mov eax, 0x940b
mov word [rsp + 0x42], cx
mov word [rsp + 0x44], r8w
mov word [rsp + 0x46], cx
mov ecx, 0x9409
mov word [rsp + 0x48], ax
mov eax, 0x9445
mov word [rsp + 0x4a], r9w
mov word [rsp + 0x4c], ax
mov eax, 0x9431
mov word [rsp + 0x4e], ax
mov eax, 0x9405
mov word [rsp + 0x50], cx
mov word [rsp + 0x52], ax
mov eax, 0x945d
mov word [rsp + 0x54], ax
mov eax, 0x944d
mov word [rsp + 0x56], ax
mov eax, 0x9450
mov word [rsp + 0x58], ax
mov eax, 0x9426
mov word [rsp + 0x5a], ax
mov eax, 0x9418
mov word [rsp + 0x5c], dx
mov word [rsp + 0x5e], ax
mov eax, 0x9408
mov word [rsp + 0x60], cx
mov word [rsp + 0x62], ax
mov eax, 0x941e
mov word [rsp + 0x64], ax
mov eax, 0x941f
mov word [rsp + 0x66], ax
mov eax, 0x9412
mov word [rsp + 0x68], ax
mov eax, 0x9457
mov word [rsp + 0x6a], ax
mov eax, 0x947b
mov word [rsp + 0x6c], r9w
mov r9, rdi
mov word [rsp + 0x6e], r8w
mov word [rsp + 0x70], dx
mov word [rsp + 0x72], ax
movzx eax, word [rsp + 0x30]
nop word [rax + rax]
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 0x1400812f0
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rsi, rax
mov ebx, edi
cmp rax, 0xffffffffffffffff
je 0x1400813cf
xor edx, edx
lea rcx, [rbp - 0x7c]
mov r8d, 0x234
call fcn.1400f71be
lea rdx, [rbp - 0x80]
mov dword [rbp - 0x80], 0x238
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x1400813c6
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 0x140081389
mov ebx, dword [rbp - 0x78]
jmp 0x1400813c6
lea rdx, [rbp - 0x80]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
je 0x1400813c6
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 ebx, dword [rbp - 0x78]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x1400813a0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [0x14036cef8]
lea rcx, [rbp + 0x1c0]
xor edx, edx
mov r8d, 0x158
mov dword [rax + 8], ebx
mov dword [0x14036d220], ebx
mov esi, dword [rax + 8]
call fcn.1400f71be
test esi, esi
lea rcx, [rbp + 0x1c0]
mov edx, 4
cmovne ebx, esi
mov dword [rbp + 0x1d8], ebx
call fcn.1400638a0
mov rsi, qword [rsp + 0x458]
test al, al
mov rax, qword [0x14036cef8]
mov rcx, rdi
cmovne rcx, qword [rbp + 0x1e8]
mov r9, r15
mov rbx, qword [rsp + 0x450]
mov qword [rax], rcx
mov byte [rsp + 0x24], 0x43
mov byte [rsp + 0x25], 0x48
mov byte [rsp + 0x26], 0x5c
mov byte [rsp + Ordinal_41], 0x27
movzx eax, byte [rsp + 0x24]
lea rax, [rsp + 0x24]
sub r9, rax
nop dword [rax]
mov rcx, rdi
lea rdx, [rsp + 0x24]
add rdx, rdi
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 + rdi + 0x24], al
inc rdi
cmp rdi, 4
jb 0x140081460
lea rcx, [rsp + 0x24]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov rcx, qword [rbp + 0x320]
xor rcx, rsp
call fcn.1400f5ed0
mov rdi, qword [rsp + 0x460]
add rsp, 0x430
pop r15
pop r14
pop rbp
ret