Function at 0x180035710
Capabilities:
Enumerate processes
Terminate process

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x1f0]
sub rsp, 0x2f0
mov rax, qword [0x1800fd750]
xor rax, rsp
mov qword [rbp + 0x1e8], rax
mov rbx, rcx
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x180035a2f
mov dword [rsp + 0x40], 0x238
lea rdx, [rsp + 0x40]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x180035781
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x180035a2f
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x1c0], xmm0
movups xmmword [rbp + 0x1d0], xmm0
mov qword [rbp + 0x1e0], rax
mov rdx, rbx
lea rcx, [rbp + 0x1c0]
call fcn.18003f470
nop
lea rax, [rbp + 0x180]
mov qword [rsp + 0x30], rax
xor r14d, r14d
nop word [rax + rax]
mov qword [rbp + 0x1a0], r14
mov qword [rbp + 0x1b0], r14
mov qword [rbp + 0x1b8], 7
mov word [rbp + 0x1a0], r14w
lea rax, [rsp + 0x6c]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x1800357f0
lea rdx, [rsp + 0x6c]
lea rcx, [rbp + 0x1a0]
call fcn.18003db20
nop
lea rdx, [rbp + 0x1a0]
cmp qword [rbp + 0x1b8], 8
cmovae rdx, qword [rbp + 0x1a0]
mov rax, qword [rbp + 0x1b0]
lea rdi, [rdx + rax*2]
lea rbx, [rbp + 0x1a0]
cmovae rbx, qword [rbp + 0x1a0]
mov qword [rbp + 0x180], r14
mov qword [rbp + 0x190], r14
mov qword [rbp + 0x198], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x180], 0
mov rdx, rdi
sub rdx, rbx
sar rdx, 1
lea rcx, [rbp + 0x180]
call fcn.18003c2c0
nop
cmp rbx, rdi
je 0x1800358d5
nop dword [rax]
movzx r9d, byte [rbx]
mov rcx, qword [rbp + 0x190]
mov rdx, qword [rbp + 0x198]
cmp rcx, rdx
jae 0x1800358c0
lea rax, [rcx + 1]
mov qword [rbp + 0x190], rax
lea rax, [rbp + 0x180]
cmp rdx, 0x10
cmovae rax, qword [rbp + 0x180]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x1800358cc
lea rcx, [rbp + 0x180]
call fcn.180040aa0
add rbx, 2
cmp rbx, rdi
jne 0x180035880
lea rcx, [rbp + 0x180]
cmp qword [rbp + 0x198], 0x10
cmovae rcx, qword [rbp + 0x180]
mov rdx, qword [rbp + 0x190]
add rdx, rcx
mov dword [rsp + 0x20], reloc.WS2_32.dll_recv
lea r9, [rbp + 0x1c0]
call fcn.1800456d0
test al, al
je 0x18003593e
mov r8d, dword [rsp + 0x48]
xor edx, edx
lea ecx, [rdx + 1]
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
je 0x18003593e
mov edx, 1
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rdx, qword [rbp + 0x198]
cmp rdx, 0x10
jb 0x18003597f
inc rdx
mov rcx, qword [rbp + 0x180]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18003597a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180035a56
call fcn.1800c557c
mov qword [rbp + 0x190], r14
mov qword [rbp + 0x198], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x180], 0
mov rdx, qword [rbp + 0x1b8]
cmp rdx, 8
jb 0x1800359de
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x1a0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800359d9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180035a5d
call fcn.1800c557c
lea rdx, [rsp + 0x40]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x1800357c0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rcx, [rbp + 0x1c0]
call fcn.18003d580
mov rcx, qword [rbp + 0x1e0]
test rcx, rcx
je 0x180035a2f
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
test rax, rax
je 0x180035a2f
mov r8, qword [rax]
mov edx, 1
mov rcx, rax
call qword [r8]
mov rcx, qword [rbp + 0x1e8]
xor rcx, rsp
call fcn.1800c52c0
lea r11, [rsp + 0x2f0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3