Function at 0x180050710
Capabilities:
Enumerate processes
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x180]
sub rsp, 0x280
xor edx, edx
mov r14, rcx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x40], 0x238
mov rcx, rax
mov r15, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x18005096e
xor r12d, r12d
movabs r13, 0x7ffffffffffffffe
cmp qword [r14 + 0x18], 0x10
movabs r8, 0x7fffffffffffffff
mov ecx, 0xa
jb 0x180050795
mov rsi, qword [r14]
mov rdi, rsi
add rsi, qword [r14 + 0x10]
jmp 0x18005079f
mov rsi, qword [r14 + 0x10]
mov rdi, r14
add rsi, r14
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
cmp rdi, rsi
jne 0x1800507ca
mov qword [rsp + 0x30], r12
lea rdx, [rsp + 0x20]
mov qword [rsp + 0x38], 7
mov word [rsp + 0x20], r12w
jmp 0x1800508d9
mov rax, rsi
mov rdx, r12
sub rax, rdi
mov qword [rsp + 0x30], rdx
mov ebx, 7
mov qword [rsp + 0x38], rbx
cmp rax, r13
ja 0x1800509ba
cmp rax, 8
jb 0x180050880
mov rbx, rax
or rbx, 7
cmp rbx, r13
jbe 0x18005080a
mov rbx, r13
lea rcx, [r8 + r8]
jmp 0x18005082b
cmp rbx, 0xa
cmovb rbx, rcx
lea rcx, [rbx + 1]
cmp rcx, r8
ja 0x1800509b4
add rcx, rcx
cmp rcx, 0x1000
jb 0x18005085f
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1800509b4
mov rcx, rax
call fcn.1800d22f8
mov rcx, rax
test rax, rax
je 0x18005099a
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
mov rdx, qword [rsp + 0x30]
jmp 0x180050873
test rcx, rcx
je 0x180050870
call fcn.1800d22f8
mov rdx, qword [rsp + 0x30]
jmp 0x180050873
mov rax, r12
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x38], rbx
nop dword [rax]
movsx eax, byte [rdi]
lea rcx, [rsp + 0x20]
cmp rbx, 8
cmovae rcx, qword [rsp + 0x20]
inc rdi
mov word [rcx + rdx*2], ax
mov rdx, qword [rsp + 0x30]
inc rdx
mov qword [rsp + 0x30], rdx
cmp rdi, rsi
je 0x1800508b2
mov rbx, qword [rsp + 0x38]
jmp 0x180050880
cmp qword [rsp + 0x38], 8
lea rax, [rsp + 0x20]
cmovae rax, qword [rsp + 0x20]
mov word [rax + rdx*2], r12w
lea rdx, [rsp + 0x20]
cmp qword [rsp + 0x38], 8
cmovae rdx, qword [rsp + 0x20]
lea rcx, [rsp + 0x6c]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
mov rdx, qword [rsp + 0x38]
mov ebx, eax
cmp rdx, 8
jb 0x180050924
mov rcx, qword [rsp + 0x20]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18005091f
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18005099a
call fcn.1800d2160
test ebx, ebx
jne 0x180050958
mov r8d, dword [rsp + 0x48]
lea ecx, [rbx + 1]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
je 0x180050958
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, rbx
test eax, eax
jne 0x1800509a1
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rsp + 0x40]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x180050773
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x180050979
call fcn.18003a660
int3
call fcn.180048350
int3