Function at 0x180002670
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 [0x180048058]
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 0x1800029ad
lea rdx, [rsp + 0x70]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_Process32NextW]
cmp eax, 1
jne 0x1800029ad
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 0x180002724
lea rcx, [rsp + 0x50]
cmp rdx, 7
ja 0x180002756
mov qword [rsp + 0x60], rdx
lea rbx, [rdx + rdx]
mov r8, rbx
lea rdx, [rbp - 0x64]
call fcn.18000f030
mov word [rsp + rbx + 0x50], r12w
jmp 0x180002763
lea r9, [rbp - 0x64]
xor r8d, r8d
call fcn.18000a9b0
nop
lea rdx, [rsp + 0x50]
mov r11, qword [rsp + 0x68]
cmp r11, 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 r9, r12
mov qword [rsp + 0x30], r12
mov rcx, r12
mov qword [rsp + 0x40], rcx
mov r8d, 0xf
mov qword [rsp + 0x48], r8
mov rdx, rdi
sub rdx, rbx
sar rdx, 1
cmp rdx, 0x10
jb 0x1800027dd
lea rcx, [rsp + 0x30]
call fcn.18000bcd0
mov rcx, r12
mov qword [rsp + 0x40], rcx
mov r11, qword [rsp + 0x68]
mov r8, qword [rsp + 0x48]
mov r9, qword [rsp + 0x30]
cmp rbx, rdi
je 0x18000283e
movzx edx, byte [rbx]
cmp rcx, r8
jae 0x18000280a
lea rax, [rcx + 1]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x30]
cmp r8, 0x10
cmovae rax, r9
mov byte [rax + rcx], dl
mov byte [rax + rcx + 1], 0
jmp 0x18000281f
movzx r9d, dl
xor r8d, r8d
lea edx, [r8 + 1]
lea rcx, [rsp + 0x30]
call fcn.18000ab20
add rbx, 2
mov r8, qword [rsp + 0x48]
mov r9, qword [rsp + 0x30]
cmp rbx, rdi
je 0x180002839
mov rcx, qword [rsp + 0x40]
jmp 0x1800027e2
mov r11, qword [rsp + 0x68]
lea r10, [rsp + 0x30]
cmp r8, 0x10
setae bl
cmovae r10, r9
mov rax, rsi
cmp qword [rsi + 0x18], 0x10
jb 0x18000285b
mov rax, qword [rsi]
sub r10, rax
nop
movzx edx, byte [rax]
movzx ecx, byte [rax + r10]
sub edx, ecx
jne 0x180002873
inc rax
test ecx, ecx
jne 0x180002860
test edx, edx
je 0x180002921
test bl, bl
je 0x1800028b5
lea rdx, [r8 + 1]
mov rax, r9
cmp rdx, 0x1000
jb 0x1800028a8
add rdx, 0x27
mov r9, qword [r9 - 8]
sub rax, r9
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180002a2c
mov rcx, r9
call fcn.18000d0a0
mov r11, qword [rsp + 0x68]
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x48], 0xf
mov byte [rsp + 0x30], 0
cmp r11, 8
jb 0x180002905
lea rdx, [r11*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180002900
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180002a20
call fcn.18000d0a0
lea rdx, [rsp + 0x70]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_Process32NextW]
cmp eax, 1
je 0x180002700
jmp 0x1800029ad
mov r15d, dword [rsp + 0x78]
test bl, bl
je 0x180002960
lea rdx, [r8 + 1]
mov rax, r9
cmp rdx, 0x1000
jb 0x180002953
add rdx, 0x27
mov r9, qword [r9 - 8]
sub rax, r9
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180002a2c
mov rcx, r9
call fcn.18000d0a0
mov r11, qword [rsp + 0x68]
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x48], 0xf
mov byte [rsp + 0x30], 0
cmp r11, 8
jb 0x1800029ad
lea rdx, [r11*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800029a7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180002a20
call fcn.18000d0a0
nop
mov rdx, qword [rsi + 0x18]
cmp rdx, 0x10
jb 0x1800029e3
inc rdx
mov rcx, qword [rsi]
cmp rdx, 0x1000
jb 0x1800029de
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x180002a26
mov rcx, r8
call fcn.18000d0a0
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.18000d080
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.180014f0c
nop
call fcn.180014f0c
nop
call fcn.180014f0c
int3