Function at 0x180005030
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1a0]
sub rsp, 0x2a0
mov rax, qword [0x180047058]
xor rax, rsp
mov qword [rbp + 0x190], rax
mov rbx, rcx
mov qword [rsp + 0x28], rcx
xor sil, sil
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov r15, rax
xor r13d, r13d
cmp rax, 0xffffffffffffffff
je 0x1800052a2
xor edx, edx
mov r8d, 0x234
lea rcx, [rsp + 0x54]
call fcn.180010570
mov dword [rsp + 0x50], 0x238
lea rdx, [rsp + 0x50]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
mov r12d, eax
cmp qword [rbx + 0x18], 0x10
jb 0x1800050cc
mov r14, qword [rbx]
mov rdi, r14
add r14, qword [rbx + 0x10]
jmp 0x1800050d6
mov rdi, rbx
mov r14, qword [rbx + 0x10]
add r14, rbx
mov qword [rsp + 0x30], r13
mov rcx, r13
mov qword [rsp + 0x40], rcx
mov r8d, 7
mov qword [rsp + 0x48], r8
mov rdx, r14
sub rdx, rdi
cmp rdx, 8
jb 0x180005111
lea rcx, [rsp + 0x30]
call fcn.18000c850
mov rcx, r13
mov qword [rsp + 0x40], rcx
mov r8, qword [rsp + 0x48]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
cmp rdi, r14
je 0x180005173
movsx r9d, byte [rdi]
cmp rcx, r8
jae 0x18000514e
lea rax, [rcx + 1]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x30]
cmp r8, 8
cmovae rax, qword [rsp + 0x30]
mov word [rax + rcx*2], r9w
mov word [rax + rcx*2 + 2], r13w
jmp 0x18000515f
xor r8d, r8d
lea edx, [r8 + 1]
lea rcx, [rsp + 0x30]
call fcn.18000c9c0
inc rdi
mov r8, qword [rsp + 0x48]
cmp rdi, r14
je 0x180005173
mov rcx, qword [rsp + 0x40]
jmp 0x180005120
test r12d, r12d
je 0x18000525a
nop dword [rax]
lea rcx, [rsp + 0x30]
cmp r8, 8
cmovae rcx, qword [rsp + 0x30]
lea rdx, [rsp + 0x7c]
call fcn.180016664
test eax, eax
jne 0x1800051a5
test sil, sil
jne 0x1800051c2
mov sil, 1
lea rdx, [rsp + 0x50]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
je 0x18000525a
mov r8, qword [rsp + 0x48]
jmp 0x180005180
mov edi, dword [rsp + 0x58]
mov rdx, qword [rsp + 0x48]
cmp rdx, 8
jb 0x180005208
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180005203
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180005317
call fcn.18000deb0
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x48], 7
mov word [rsp + 0x30], r13w
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x180005256
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x180005251
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x180005323
mov rcx, r8
call fcn.18000deb0
mov eax, edi
jmp 0x1800052d8
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rsp + 0x48]
cmp rdx, 8
jb 0x1800052a2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000529c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180005317
call fcn.18000deb0
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x1800052d8
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x1800052d3
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x18000531d
mov rcx, r8
call fcn.18000deb0
mov qword [rbx + 0x10], r13
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
mov rcx, qword [rbp + 0x190]
xor rcx, rsp
call fcn.18000de90
lea r11, [rsp + 0x2a0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.180015cac
nop
call fcn.180015cac
int3
call fcn.180015cac
int3