Function at 0x180046560
Capabilities:
Enumerate processes

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x320
mov rax, qword [0x1800a0040]
xor rax, rsp
mov qword [rsp + 0x310], rax
mov r14, r8
mov rdi, rcx
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x80], r8
xor ebp, ebp
mov dword [rsp + 0x20], ebp
lea rcx, [rsp + 0x90]
call fcn.180006250
nop
mov rdx, r14
lea rcx, [rsp + 0xb0]
call fcn.180006250
nop
mov qword [rsp + 0x78], rbp
lea ecx, [rbp + 0x48]
call fcn.1800506b0
mov rsi, rax
mov qword [rsp + 0x30], rax
lea rax, [0x180090860]
mov qword [rsi], rax
lea rdx, [rsp + 0x90]
lea rcx, [rsi + 8]
call fcn.180006250
movaps xmm0, xmmword [rsp + 0xb0]
movups xmmword [rsi + 0x28], xmm0
movaps xmm1, xmmword [rsp + 0xc0]
movups xmmword [rsi + 0x38], xmm1
movdqa xmm0, xmmword [0x180090ab0]
movdqa xmmword [rsp + 0xc0], xmm0
mov word [rsp + 0xb0], bp
mov qword [rsp + 0x78], rsi
mov qword [rdi], rbp
mov qword [rdi + 8], rbp
mov qword [rdi + 0x10], rbp
mov dword [rsp + 0x20], 2
xor edx, edx
lea ecx, [rbp + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x18004674d
mov dword [rsp + 0xd0], 0x238
lea rdx, [rsp + 0xd0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test rsi, rsi
je 0x180046683
mov rax, qword [rsi]
lea rdx, [rsp + 0xd0]
mov rcx, rsi
call qword [rax + select]
test al, al
je 0x18004672a
mov rdx, qword [rdi + 8]
cmp rdx, qword [rdi + 0x10]
je 0x18004671a
lea rax, [rsp + 0xd0]
mov ecx, 4
nop
movups xmm0, xmmword [rax]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rdx + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rdx + 0x20], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rdx + 0x30], xmm1
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rdx + 0x40], xmm0
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rdx + 0x50], xmm1
movups xmm0, xmmword [rax + 0x60]
movups xmmword [rdx + 0x60], xmm0
lea rdx, [rdx + 0x80]
movups xmm1, xmmword [rax + 0x70]
movups xmmword [rdx - 0x10], xmm1
lea rax, [rax + 0x80]
sub rcx, 1
jne 0x1800466a0
movups xmm0, xmmword [rax]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rdx + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rdx + 0x20], xmm0
mov rax, qword [rax + 0x30]
mov qword [rdx + 0x30], rax
add qword [rdi + 8], 0x238
jmp 0x18004672a
lea r8, [rsp + 0xd0]
mov rcx, rdi
call fcn.18004ae30
lea rdx, [rsp + 0xd0]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x180046665
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
test rsi, rsi
je 0x180046767
mov rax, qword [rsi]
lea rdx, [rsp + 0x40]
cmp rsi, rdx
setne dl
mov rcx, rsi
call qword [rax + 0x20]
nop
mov rdx, qword [rsp + 0xa8]
cmp rdx, 7
jbe 0x1800467ac
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x90]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800467a6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180046818
call fcn.180050b2c
nop
mov rdx, qword [r14 + 0x18]
cmp rdx, 7
jbe 0x1800467e7
lea rdx, [rdx*2 + 2]
mov rcx, qword [r14]
cmp rdx, 0x1000
jb 0x1800467e2
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x18004681e
mov rcx, r8
call fcn.180050b2c
mov qword [r14 + 0x10], rbp
mov qword [r14 + 0x18], 7
mov word [r14], bp
mov rax, rdi
mov rcx, qword [rsp + 0x310]
xor rcx, rsp
call fcn.180050570
add rsp, 0x320
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
call fcn.18005c4f8
nop
call fcn.18005c4f8
int3