Function at 0x140005570
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rbp
push rdi
push r13
push r14
push r15
lea rbp, [rsp - 0x3f0]
sub rsp, 0x4f0
mov rsi, rdx
mov rdi, rcx
lea rdx, [rsp + 0x40]
call fcn.140002490
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
xor r15d, r15d
mov r14, rax
cmp rax, 0xffffffffffffffff
je 0x1400058a0
xor edx, edx
lea rcx, [rbp - 0x5c]
mov r8d, 0x234
call sub.msvcrt.dll_memset
lea rdx, [rbp - 0x60]
mov dword [rbp - 0x60], 0x238
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x140005897
mov r13d, 0x1000
cmp qword [rsp + 0x58], 7
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x34]
cmova rdx, qword [rsp + 0x40]
call qword [sym.imp.msvcrt.dll__wcsicmp]
lea rax, [rbp - 0x34]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], r15w
jne 0x140005612
xorps xmm0, xmm0
mov qword [rsp + 0x30], r15
lea rdx, [rbp - 0x34]
mov qword [rsp + 0x38], r15
lea rcx, [rsp + 0x20]
movups xmmword [rsp + 0x20], xmm0
call fcn.140008ec8
cmp qword [rsp + 0x58], 7
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x20]
cmova rdx, qword [rsp + 0x40]
cmp qword [rsp + 0x38], 7
cmova rcx, qword [rsp + 0x20]
call qword [sym.imp.msvcrt.dll__wcsicmp]
mov rdx, qword [rsp + 0x38]
mov ebx, eax
cmp rdx, 7
jbe 0x1400056a4
mov rcx, qword [rsp + 0x20]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, r13
jb 0x14000569f
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000592a
call fcn.14000bfec
test ebx, ebx
jne 0x140005882
mov r8d, dword [rbp - 0x58]
xor edx, edx
mov ecx, r13d
call qword [sym.imp.KERNEL32.dll_OpenProcess]
xorps xmm0, xmm0
mov qword [rsp + 0x30], r15
mov edx, 7
mov rbx, rax
mov qword [rsp + 0x38], rdx
movups xmmword [rsp + 0x20], xmm0
mov word [rsp + 0x20], r15w
test rax, rax
je 0x1400057a9
xor edx, edx
lea rcx, [rbp + 0x1e0]
mov r8d, 0x208
call sub.msvcrt.dll_memset
lea r9, [rbp + 0x430]
mov dword [rbp + 0x430], 0x104
lea r8, [rbp + 0x1e0]
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_QueryFullProcessImageNameW]
test eax, eax
je 0x14000579b
mov r8d, dword [rbp + 0x430]
lea rdx, [rbp + 0x1e0]
xorps xmm0, xmm0
mov qword [rsp + 0x70], r15
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x78], r15
movups xmmword [rsp + 0x60], xmm0
call fcn.140008ec8
mov rdx, qword [rsp + 0x38]
cmp rdx, 7
jbe 0x140005787
mov rcx, qword [rsp + 0x20]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, r13
jb 0x140005782
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005930
call fcn.14000bfec
movups xmm0, xmmword [rsp + 0x60]
movups xmm1, xmmword [rsp + 0x70]
movups xmmword [rsp + 0x20], xmm0
movups xmmword [rsp + 0x30], xmm1
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rsp + 0x38]
cmp qword [rdi + 0x18], 7
mov rax, rdi
jbe 0x1400057b6
mov rax, qword [rdi]
cmp rdx, 7
lea rcx, [rsp + 0x20]
mov rdx, rax
cmova rcx, qword [rsp + 0x20]
call qword [sym.imp.msvcrt.dll__wcsicmp]
mov rdx, rdi
lea rcx, [rbp - 0x80]
call fcn.140005474
mov rbx, rax
cmp qword [rax + 0x18], 7
jbe 0x1400057e7
mov rbx, qword [rax]
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x60]
call fcn.140005474
cmp qword [rax + 0x18], 7
jbe 0x140005800
mov rax, qword [rax]
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.msvcrt.dll__wcsicmp]
lea rcx, [rsp + 0x60]
mov ebx, eax
call fcn.140007b48
lea rcx, [rbp - 0x80]
call fcn.140007b48
test ebx, ebx
jne 0x140005844
mov rcx, qword [rsi + 0x38]
test rcx, rcx
je 0x14000591e
mov rax, qword [rcx]
lea rdx, [rbp - 0x60]
call qword [rax + 0x10]
test al, al
je 0x1400058df
mov rdx, qword [rsp + 0x38]
cmp rdx, 7
jbe 0x140005882
mov rcx, qword [rsp + 0x20]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, r13
jb 0x14000587d
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005924
call fcn.14000bfec
lea rdx, [rbp - 0x60]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x1400055ef
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rsp + 0x40]
call fcn.140007b48
mov rcx, qword [rsi + 0x38]
test rcx, rcx
je 0x1400058c3
mov rax, qword [rcx]
cmp rcx, rsi
setne dl
call qword [rax + 0x20]
mov qword [rsi + 0x38], r15
lea r11, [rsp + 0x4f0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r13
pop rdi
pop rbp
ret
mov rdx, qword [rsp + 0x38]
cmp rdx, 7
jbe 0x140005897
mov rcx, qword [rsp + 0x20]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, r13
jb 0x140005914
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005924
call fcn.14000bfec
jmp 0x140005897
call fcn.14000bbb4
int3
call fcn.14000ce90
int3
call fcn.14000ce90
int3
call fcn.14000ce90
int3