Function at 0x180003330
Capabilities:
Enumerate processes
Terminate process

Disassembly:
mov r10, r8
sub edx, 0x20
je 0x18000334d
cmp edx, 1
jne 0x180003348
mov r8, r9
mov rdx, r10
jmp 0x180003360
mov eax, dword [rsp + 0x10]
ret
mov r8, r9
mov rdx, r10
jmp 0x180003470
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov rcx, rdx
mov rsi, r8
call fcn.180002ce0
xor edx, edx
mov r8d, eax
mov edi, eax
lea ecx, [rdx + 1]
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
je 0x1800033bf
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x1800033bf
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 0x21
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, edi
mov qword [rsp + 0x20], 0
mov r9d, eax
mov edx, 0x23
mov rcx, rsi
call fcn.180003230
mov rbx, qword [rsp + 0x40]
mov eax, 0x1f
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
push rbp
push rbx
push rsi
push r12
push r14
lea rbp, [rsp - 0x8d0]
sub rsp, 0x9d0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x8b0], rax
mov rsi, r8
lea rcx, [rbp + 0xb0]
mov rbx, rdx
mov r8d, 0x800
xor edx, edx
call sub.msvcrt.dll_memset
mov rcx, rbx
call fcn.180002ce0
mov edx, 0x8000
mov dword [rsp + 0x44], eax
mov rcx, rsi
mov r12d, eax
call fcn.180003090
test r12d, r12d
jle 0x1800034de
mov edx, r12d
mov rcx, rsi
call fcn.180003190
mov qword [rsp + 0x9c0], r15
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
call fcn.180003830
test eax, eax
je 0x180003501
lea r15, [0x18000c334]
jmp 0x18000351a
call entry0
test eax, eax
lea rcx, [0x18000c334]
lea r15, [0x18000c338]
cmovne r15, rcx
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov r14, rax
cmp rax, 0xffffffffffffffff
jne 0x180003554
lea rax, [0x18000c340]
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
xor edx, edx
mov rcx, rsi
call fcn.180003230
mov eax, 0x1f
jmp 0x18000371f
lea rdx, [rsp + 0x50]
mov dword [rsp + 0x50], 0x130
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
jne 0x180003580
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rax, str.CreateToolhelp32Snapshot__Process32First
jmp 0x180003535
mov qword [rsp + 0xa00], rdi
xor r12d, r12d
mov qword [rsp + 0x9c8], r13
or ebx, 0xffffffff
mov r13d, 0x1000
nop dword [rax]
call fcn.180003450
mov r8d, dword [rsp + 0x58]
test eax, eax
mov ecx, 0x400
cmovne ecx, r13d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdi, rax
test rax, rax
jne 0x180003611
movzx ecx, word [0x18000c398]
movsd xmm0, qword [str._nd__td__ts_]
mov word [rbp + 0x88], cx
lea rcx, [rbp + 0x80]
movsd qword [rbp + 0x80], xmm0
call sub.msvcrt.dll__strrev
mov ecx, dword [rsp + 0x58]
lea r8, [rsp + 0x7c]
mov r9d, dword [rsp + 0x70]
mov rdx, rax
mov dword [rsp + 0x20], ecx
mov rcx, rsi
call fcn.1800031c0
jmp 0x1800036d2
lea rdx, [rbp + 0xb0]
mov rcx, rdi
call fcn.180003400
movzx ecx, byte [rbp + 0xb0]
lea rdx, [rsp + 0x40]
test eax, eax
cmove ecx, r12d
mov byte [rbp + 0xb0], cl
mov ecx, dword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
mov ecx, dword [rsp + 0x40]
test eax, eax
cmove ecx, ebx
mov dword [rsp + 0x40], ecx
mov rcx, rdi
call fcn.180003830
movups xmm0, xmmword [str._nd__ts__ts__td__td__ts_]
test eax, eax
lea rbx, [0x18000c338]
movzx eax, word [0x18000c3b0]
lea rcx, [rbp + 0x90]
mov word [rbp + 0xa0], ax
cmove rbx, r15
movzx eax, byte [0x18000c3b2]
mov byte [rbp + 0xa2], al
movups xmmword [rbp + 0x90], xmm0
call sub.msvcrt.dll__strrev
mov r9d, dword [rsp + 0x70]
lea r8, [rsp + 0x7c]
mov rdx, rax
mov rcx, rsi
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x38], eax
lea rax, [rbp + 0xb0]
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0x58]
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], eax
call fcn.1800031c0
or ebx, 0xffffffff
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rsp + 0x50]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x1800035a0
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r12d, dword [rsp + 0x44]
mov eax, 0x16
mov r13, qword [rsp + 0x9c8]
test r12d, r12d
mov rdi, qword [rsp + 0xa00]
mov ecx, 0x11
cmove eax, ecx
mov r15, qword [rsp + 0x9c0]
mov rcx, qword [rbp + 0x8b0]
xor rcx, rsp
call fcn.18000a290
add rsp, 0x9d0
pop r14
pop r12
pop rsi
pop rbx
pop rbp
ret