Function at 0x140058d40
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 [0x140071040]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
mov byte [rsp + 0x20], 0x93
xor ebx, ebx
mov byte [rsp + 0x21], 0x9f
movabs r15, 0x70462b21bc78b5fb
mov byte [rsp + 0x22], 0x8b
mov r10, r15
mov byte [rsp + 0x23], 0xf5
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 0x140058da1
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 [0x1402ad0c8], rbx
jne 0x140058e4e
lea rcx, str.win32u.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
jne 0x140058e29
lea rcx, [0x140067d48]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rcx, str.win32u.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
test rax, rax
je 0x140058e6b
lea rdx, str.NtUserGetHimetricScaleFactorFromPixelLocation
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1402ad0c8], rax
test rax, rax
jne 0x140058e4e
mov qword [0x1402ad0c8], rbx
jmp 0x140058e6b
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edx, eax
call fcn.14004b870
xor ecx, ecx
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp rdi, rax
je 0x140058e7f
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 r8d, 0x4ae7
mov qword [rsp + 0x2f0], rsi
mov eax, 0x4a36
mov ecx, 0x4ae5
mov word [rsp + 0x30], ax
mov edx, 0x4af4
mov eax, 0x4a14
mov r9, rbx
mov word [rsp + 0x32], ax
lea r11d, [r8 - 0x6c]
mov eax, 0x4a05
movabs r10, 0x2beccb54fdb04a7b
mov word [rsp + 0x34], ax
mov eax, 0x4a0e
mov word [rsp + 0x36], ax
mov eax, 0x4a11
mov word [rsp + 0x38], ax
mov eax, 0x4ae2
mov word [rsp + 0x3a], ax
mov eax, 0x4af8
mov word [rsp + 0x3c], ax
mov eax, 0x4ae8
mov word [rsp + 0x3e], ax
mov eax, 0x4ac4
mov word [rsp + 0x40], ax
mov eax, 0x4aed
mov word [rsp + 0x42], ax
mov eax, 0x4aef
mov word [rsp + 0x44], r8w
mov word [rsp + 0x46], ax
mov eax, 0x4af2
mov word [rsp + 0x48], cx
mov word [rsp + 0x4a], ax
mov eax, 0x4aaf
mov word [rsp + 0x4c], ax
mov eax, 0x4adf
mov word [rsp + 0x4e], ax
mov eax, 0x4ae9
mov word [rsp + 0x50], ax
mov eax, 0x4ab1
mov word [rsp + 0x52], cx
mov ecx, 0x4af7
mov word [rsp + 0x54], ax
mov eax, 0x4abe
mov word [rsp + 0x56], ax
mov eax, 0x4aa2
mov word [rsp + 0x58], ax
mov eax, 0x4ac8
mov word [rsp + 0x5a], ax
mov eax, 0x4ae1
mov word [rsp + 0x5c], dx
mov word [rsp + 0x5e], dx
mov word [rsp + 0x60], r8w
mov word [rsp + 0x62], ax
mov eax, 0x4afc
mov word [rsp + 0x64], cx
mov word [rsp + 0x66], dx
mov word [rsp + 0x68], ax
mov eax, 0x4ab8
mov word [rsp + 0x6a], ax
mov eax, 0x4ae0
mov word [rsp + 0x6c], cx
mov word [rsp + 0x6e], ax
mov eax, 0x4af5
mov word [rsp + 0x70], ax
mov eax, 0x4a9b
mov word [rsp + 0x72], ax
movzx eax, word [rsp + 0x30]
nop dword [rax + rax]
movzx r8d, word [rsp + r9*2 + 0x30]
lea eax, [r11 + r9]
mov rcx, r9
mov rdx, r10
and ecx, r14d
cmp rcx, r14
cmovae rcx, r14
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 0x140058fe0
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rsi, rax
mov edi, ebx
cmp rax, 0xffffffffffffffff
je 0x1400590bf
xor edx, edx
lea rcx, [rbp - 0x7c]
mov r8d, 0x234
call sub.VCRUNTIME140.dll_memset
lea rdx, [rbp - 0x80]
mov dword [rbp - 0x80], 0x238
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x1400590b6
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 0x140059075
mov edi, dword [rbp - 0x78]
jmp 0x1400590b6
lea rdx, [rbp - 0x80]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
je 0x1400590b6
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 0x140059090
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [0x1402ad2b8]
mov dword [rdx + 8], edi
mov dword [0x1402ad2f0], edi
mov edx, dword [rdx + 8]
call fcn.14004b870
mov rcx, qword [0x1402ad2b8]
mov r9, r15
mov rsi, qword [rsp + 0x2f0]
mov qword [rcx], rax
mov byte [rsp + 0x24], 0x93
mov byte [rsp + 0x25], 0x9f
mov byte [rsp + 0x26], 0x8b
mov byte [rsp + 0x27], 0xf5
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 0x140059110
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.14005e160
mov rbx, qword [rsp + 0x300]
add rsp, 0x2d0
pop r15
pop r14
pop rbp
ret