Function at 0x180057df0
Capabilities:
Enumerate processes

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 - 0x1d0]
sub rsp, 0x2d0
mov rax, qword [0x18010e080]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
mov rsi, rcx
xor r13d, r13d
mov r12d, r13d
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov r15, rax
cmp rax, 0xffffffffffffffff
je 0x1800580b0
mov dword [rbp - 0x80], 0x238
lea rdx, [rbp - 0x80]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x1800580a7
nop word [rax + rax]
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r13
mov qword [rsp + 0x78], r13
lea rax, [rbp - 0x54]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x180057e90
lea rdx, [rbp - 0x54]
lea rcx, [rsp + 0x60]
call fcn.180005e40
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x58], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x40], 0
lea r8, [rsp + 0x60]
cmp qword [rsp + 0x78], 7
cmova r8, qword [rsp + 0x60]
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], r13
xor edx, edx
mov ecx, 0xfde9
lea r9d, [rdx - 1]
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
movsxd r14, eax
test eax, eax
jle 0x180057fc7
lea rcx, [r14 - 1]
mov rdx, qword [rsp + 0x50]
cmp rcx, rdx
ja 0x180057f30
lea rax, [rsp + 0x40]
cmp qword [rsp + 0x58], 0xf
cmova rax, qword [rsp + 0x40]
mov qword [rsp + 0x50], rcx
mov byte [rax + rcx], 0
jmp 0x180057f80
mov rdi, rcx
sub rdi, rdx
mov r8, qword [rsp + 0x58]
mov rax, r8
sub rax, rdx
cmp rdi, rax
ja 0x180057f70
mov qword [rsp + 0x50], rcx
lea rbx, [rsp + 0x40]
cmp r8, 0xf
cmova rbx, qword [rsp + 0x40]
add rbx, rdx
mov r8, rdi
xor edx, edx
mov rcx, rbx
call sub.VCRUNTIME140.dll_memset
mov byte [rbx + rdi], 0
jmp 0x180057f80
mov r9, rdi
mov rdx, rdi
lea rcx, [rsp + 0x40]
call fcn.180062600
lea rax, [rsp + 0x40]
cmp qword [rsp + 0x58], 0xf
cmova rax, qword [rsp + 0x40]
lea r8, [rsp + 0x60]
cmp qword [rsp + 0x78], 7
cmova r8, qword [rsp + 0x60]
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x20], rax
xor edx, edx
mov ecx, 0xfde9
lea r9d, [rdx - 1]
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov rdx, rsi
cmp qword [rsi + 0x18], 0xf
jbe 0x180057fd4
mov rdx, qword [rsi]
lea rcx, [rsp + 0x40]
mov rdi, qword [rsp + 0x58]
cmp rdi, 0xf
seta r14b
mov rbx, qword [rsp + 0x40]
cmova rcx, rbx
mov r8, qword [rsp + 0x50]
cmp r8, qword [rsi + 0x10]
jne 0x180058007
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1800580e3
test r14b, r14b
je 0x18005803d
lea rdx, [rdi + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x180058035
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180058174
mov rcx, rbx
call fcn.1800cd3cc
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x58], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x40], 0
mov rdx, qword [rsp + 0x78]
cmp rdx, 7
jbe 0x180058092
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18005808d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18005817b
call fcn.1800cd3cc
lea rdx, [rbp - 0x80]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x180057e70
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, r12d
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.1800cd370
lea r11, [rsp + 0x2d0]
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
mov r12d, dword [rbp - 0x78]
cmp rdi, 0xf
jbe 0x18005811a
lea rdx, [rdi + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x180058112
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180058174
mov rcx, rbx
call fcn.1800cd3cc
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x58], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x40], 0
mov rdx, qword [rsp + 0x78]
cmp rdx, 7
jbe 0x1800580a7
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18005816a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18005817b
call fcn.1800cd3cc
jmp 0x1800580a7
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