Function at 0x18000aa90
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 - 0x310]
sub rsp, 0x410
mov rax, qword [0x180087020]
xor rax, rsp
mov qword [rbp + 0x300], rax
mov r14, rcx
xor edi, edi
mov dword [rsp + 0x30], edi
xor edx, edx
lea ecx, [rdi + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov r13, rax
cmp rax, 0xffffffffffffffff
je 0x18000ab06
mov dword [rbp + 0x40], 0x238
lea rdx, [rbp + 0x40]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x18000ab12
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rax, [0x180075e60]
jmp 0x18000b01d
lea rcx, [rsp + 0x40]
call fcn.18000fa90
nop
xor r12b, r12b
mov r15b, 1
mov qword [rbp + 0x2a0], rdi
mov qword [rbp + 0x2b0], rdi
mov qword [rbp + 0x2b8], 7
mov word [rbp + 0x2a0], di
mov rdx, r14
cmp qword [r14 + 0x18], 8
jb 0x18000ab50
mov rdx, qword [r14]
lea rcx, [rbp + 0x6c]
call fcn.180043074
test eax, eax
jne 0x18000ae05
mov r8d, dword [rbp + 0x48]
lea rcx, [rbp + 0x2e0]
call fcn.18000a6e0
nop
mov rax, qword [rbp + 0x2f0]
cmp rax, 2
jbe 0x18000adc4
test r12b, r12b
jne 0x18000aba3
lea rdx, [0x18007732c]
lea rcx, [rsp + 0x50]
call fcn.180011a50
mov r12b, 1
mov rax, qword [rbp + 0x2f0]
lea rcx, [rbp + 0x2e0]
cmp qword [rbp + 0x2f8], 0x10
jb 0x18000abc1
mov rsi, qword [rbp + 0x2e0]
lea rbx, [rsi + rax]
jmp 0x18000abcc
lea rbx, [rax + rcx]
lea rsi, [rbp + 0x2e0]
xor r10d, r10d
mov qword [rbp + 0x280], r10
mov edi, r10d
mov qword [rbp + 0x290], r10
mov qword [rbp + 0x298], 7
mov word [rbp + 0x280], r10w
mov rdx, rbx
sub rdx, rsi
cmp rdx, 8
jb 0x18000ac15
lea rcx, [rbp + 0x280]
call fcn.180012b80
xor r10d, r10d
mov qword [rbp + 0x290], r10
lea rax, [rbp + 0x280]
mov qword [rsp + 0x30], rax
cmp rsi, rbx
je 0x18000ac89
nop word [rax + rax]
movsx r9d, byte [rsi]
mov rcx, qword [rbp + 0x298]
cmp rdi, rcx
jae 0x18000ac6b
lea rax, [rdi + 1]
mov qword [rbp + 0x290], rax
lea rax, [rbp + 0x280]
cmp rcx, 8
cmovae rax, qword [rbp + 0x280]
mov word [rax + rdi*2], r9w
mov word [rax + rdi*2 + 2], r10w
jmp 0x18000ac7a
lea rcx, [rbp + 0x280]
call fcn.180012d60
xor r10d, r10d
inc rsi
mov rdi, qword [rbp + 0x290]
cmp rsi, rbx
jne 0x18000ac30
test r15b, r15b
jne 0x18000acfa
mov r8, qword [rbp + 0x2b0]
mov r9, qword [rbp + 0x2b8]
mov rax, r9
sub rax, r8
lea rcx, [rbp + 0x2a0]
cmp rax, 1
jb 0x18000acd9
lea rdx, [r8 + 1]
mov qword [rbp + 0x2b0], rdx
cmp r9, 8
cmovae rcx, qword [rbp + 0x2a0]
movzx eax, word [0x180077334]
mov word [rcx + r8*2], ax
mov word [rcx + rdx*2], r10w
jmp 0x18000acf3
mov qword [rsp + 0x20], 1
lea r9, [0x180077334]
mov edx, 1
call fcn.180012250
mov rdi, qword [rbp + 0x290]
lea r9, [rbp + 0x280]
cmp qword [rbp + 0x298], 8
cmovae r9, qword [rbp + 0x280]
mov rsi, qword [rbp + 0x2b0]
mov rcx, qword [rbp + 0x2b8]
mov rax, rcx
sub rax, rsi
cmp rdi, rax
ja 0x18000ad64
lea rax, [rsi + rdi]
mov qword [rbp + 0x2b0], rax
lea rbx, [rbp + 0x2a0]
cmp rcx, 8
cmovae rbx, qword [rbp + 0x2a0]
lea rcx, [rbx + rsi*2]
lea r8, [rdi + rdi]
mov rdx, r9
call fcn.18003a960
lea rax, [rsi + rdi]
xor edi, edi
mov word [rbx + rax*2], di
jmp 0x18000ad7a
mov qword [rsp + 0x20], rdi
mov rdx, rdi
lea rcx, [rbp + 0x2a0]
call fcn.180012250
xor edi, edi
xor r15b, r15b
mov rdx, qword [rbp + 0x298]
cmp rdx, 8
jb 0x18000adc4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x280]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000adbe
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000b053
call fcn.180035588
nop
mov rdx, qword [rbp + 0x2f8]
cmp rdx, 0x10
jb 0x18000ae05
inc rdx
mov rcx, qword [rbp + 0x2e0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000ae00
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000b059
call fcn.180035588
lea rdx, [rbp + 0x40]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x18000ab43
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test r12b, r12b
je 0x18000ae51
lea rdx, [rbp + 0x2a0]
cmp qword [rbp + 0x2b8], 8
cmovae rdx, qword [rbp + 0x2a0]
mov r8, qword [rbp + 0x2b0]
lea rcx, [rsp + 0x50]
call fcn.180012830
nop
mov qword [rbp + 0x2c0], rdi
mov r9, rdi
mov qword [rbp + 0x2d0], rdi
mov qword [rbp + 0x2d8], 7
mov word [rbp + 0x2c0], di
mov dword [rsp + 0x30], 2
xorps xmm0, xmm0
movups xmmword [rbp + 0x280], xmm0
mov ecx, dword [rbp - 0x38]
mov eax, ecx
and al, 0x22
cmp al, 2
je 0x18000aeb6
mov rax, qword [rbp - 0x68]
mov r8, qword [rax]
test r8, r8
je 0x18000aeb6
mov rax, qword [rsp + 0x78]
mov rdx, qword [rax]
cmp r8, qword [rbp - 0x40]
cmovb r8, qword [rbp - 0x40]
sub r8, rdx
sar r8, 1
jmp 0x18000aef2
test cl, 4
jne 0x18000aee4
mov rax, qword [rbp - 0x70]
mov rcx, qword [rax]
test rcx, rcx
je 0x18000aee4
mov rax, qword [rsp + 0x70]
mov rdx, qword [rax]
mov rax, qword [rbp - 0x58]
movsxd r8, dword [rax]
add r8, r8
sub r8, rdx
add r8, rcx
sar r8, 1
jmp 0x18000aef2
mov r8, qword [rbp + 0x288]
mov rdx, qword [rbp + 0x280]
test rdx, rdx
je 0x18000af0a
lea rcx, [rbp + 0x2c0]
call fcn.1800111b0
mov r9, qword [rbp + 0x2d0]
lea rcx, [r9 + 1]
mov eax, 2
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.1800355f8
mov rbx, rax
lea r8, [rbp + 0x2c0]
cmp qword [rbp + 0x2d8], 8
cmovae r8, qword [rbp + 0x2c0]
mov rdx, qword [rbp + 0x2d0]
inc rdx
mov rcx, rax
call fcn.180042c78
nop
mov rdx, qword [rbp + 0x2d8]
cmp rdx, 8
jb 0x18000af9c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x2c0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000af97
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000b05f
call fcn.180035588
mov qword [rbp + 0x2d0], rdi
mov qword [rbp + 0x2d8], 7
mov word [rbp + 0x2c0], di
mov rdx, qword [rbp + 0x2b8]
cmp rdx, 8
jb 0x18000aff7
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x2a0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000aff2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000b04d
call fcn.180035588
mov qword [rbp + 0x2b0], rdi
mov qword [rbp + 0x2b8], 7
mov word [rbp + 0x2a0], di
lea rcx, [rsp + 0x40]
call fcn.18000b070
mov rax, rbx
mov rcx, qword [rbp + 0x300]
xor rcx, rsp
call fcn.180034f80
lea r11, [rsp + 0x410]
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.18003ed10
nop
call fcn.18003ed10
nop
call fcn.18003ed10
int3
call fcn.18003ed10
int3