Function at 0x1800046a0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x1c0]
sub rsp, 0x2c0
mov rax, qword [0x1800801d8]
xor rax, rsp
mov qword [rbp + 0x1b0], rax
mov rsi, rcx
mov qword [rsp + 0x28], rcx
xor r12d, r12d
mov r15d, r12d
mov dword [rsp + 0x70], 0x238
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov r14, rax
lea rdx, [rsp + 0x70]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
cmp eax, 1
jne 0x1800049bf
lea rdx, [rsp + 0x70]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_Process32NextW]
cmp eax, 1
jne 0x1800049bf
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
nop
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x68], 7
mov word [rsp + 0x50], r12w
lea rax, [rbp - 0x64]
mov rdx, 0xffffffffffffffff
inc rdx
cmp word [rax + rdx*2], 0
jne 0x180004754
lea rcx, [rsp + 0x50]
cmp rdx, 7
ja 0x180004786
mov qword [rsp + 0x60], rdx
lea rbx, [rdx + rdx]
mov r8, rbx
lea rdx, [rbp - 0x64]
call fcn.18002b070
mov word [rsp + rbx + 0x50], r12w
jmp 0x180004793
lea r9, [rbp - 0x64]
xor r8d, r8d
call fcn.180010120
nop
lea rdx, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
setae r8b
cmovae rdx, qword [rsp + 0x50]
mov rax, qword [rsp + 0x60]
lea rdi, [rdx + rax*2]
lea rbx, [rsp + 0x50]
test r8b, r8b
cmovne rbx, qword [rsp + 0x50]
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x48], 0xf
mov rdx, rdi
sub rdx, rbx
sar rdx, 1
lea rcx, [rsp + 0x30]
call fcn.18000ec80
nop
cmp rbx, rdi
je 0x180004840
nop dword [rax + rax]
movzx r9d, byte [rbx]
mov rcx, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x48]
cmp rcx, rdx
jae 0x180004826
lea rax, [rcx + 1]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x30]
cmp rdx, 0x10
cmovae rax, qword [rsp + 0x30]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x180004837
xor r8d, r8d
lea edx, [r8 + 1]
lea rcx, [rsp + 0x30]
call fcn.1800103e0
add rbx, 2
cmp rbx, rdi
jne 0x1800047f0
lea r8, [rsp + 0x30]
mov r10, qword [rsp + 0x48]
cmp r10, 0x10
setae r11b
mov r9, qword [rsp + 0x30]
cmovae r8, r9
mov rax, rsi
cmp qword [rsi + 0x18], 0x10
jb 0x180004868
mov rax, qword [rsi]
sub r8, rax
nop dword [rax + rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x180004883
inc rax
test ecx, ecx
jne 0x180004870
test edx, edx
je 0x180004932
test r11b, r11b
je 0x1800048c1
lea rdx, [r10 + 1]
mov rax, r9
cmp rdx, 0x1000
jb 0x1800048b9
add rdx, 0x27
mov r9, qword [r9 - 8]
sub rax, r9
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180004a3e
mov rcx, r9
call fcn.180028d10
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x48], 0xf
mov byte [rsp + 0x30], 0
mov rdx, qword [rsp + 0x68]
cmp rdx, 8
jb 0x180004916
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180004911
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180004a32
call fcn.180028d10
lea rdx, [rsp + 0x70]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_Process32NextW]
cmp eax, 1
je 0x180004730
jmp 0x1800049bf
mov r15d, dword [rsp + 0x78]
test r11b, r11b
je 0x18000496d
lea rdx, [r10 + 1]
mov rax, r9
cmp rdx, 0x1000
jb 0x180004965
add rdx, 0x27
mov r9, qword [r9 - 8]
sub rax, r9
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180004a3e
mov rcx, r9
call fcn.180028d10
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x48], 0xf
mov byte [rsp + 0x30], 0
mov rdx, qword [rsp + 0x68]
cmp rdx, 8
jb 0x1800049bf
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800049b9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180004a32
call fcn.180028d10
nop
mov rdx, qword [rsi + 0x18]
cmp rdx, 0x10
jb 0x1800049f5
inc rdx
mov rcx, qword [rsi]
cmp rdx, 0x1000
jb 0x1800049f0
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x180004a38
mov rcx, r8
call fcn.180028d10
mov qword [rsi + 0x10], r12
mov qword [rsi + 0x18], 0xf
mov byte [rsi], 0
mov eax, r15d
mov rcx, qword [rbp + 0x1b0]
xor rcx, rsp
call fcn.180028cf0
lea r11, [rsp + 0x2c0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call fcn.18003a2c8
nop
call fcn.18003a2c8
nop
call fcn.18003a2c8
int3