Function at 0x18002ae00
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x20], rbp
push rdi
sub rsp, 0x290
mov rax, qword [0x18027d040]
xor rax, rsp
mov qword [rsp + 0x280], rax
mov rdi, rcx
xor edx, edx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbp, rax
cmp rax, 0xffffffffffffffff
je 0x18002ae5b
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x40], 0x238
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x18002ae62
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x18002b093
cmp qword [rdi + 0x18], 0xf
mov qword [rsp + 0x2a0], rbx
mov qword [rsp + 0x2a8], rsi
jbe 0x18002ae85
mov rsi, qword [rdi]
mov rbx, rsi
add rsi, qword [rdi + 0x10]
jmp 0x18002ae8f
mov rsi, qword [rdi + 0x10]
mov rbx, rdi
add rsi, rdi
mov qword [rsp + 0x2b0], r14
xorps xmm0, xmm0
mov edi, 7
mov qword [rsp + 0x38], rdi
movups xmmword [rsp + 0x20], xmm0
cmp rbx, rsi
jne 0x18002aec1
xor r14d, r14d
mov qword [rsp + 0x30], r14
mov word [rsp + 0x20], r14w
jmp 0x18002afd3
sub rsi, rbx
movabs rax, 0x7ffffffffffffffe
cmp rsi, rax
ja 0x18002b0ba
xor r14d, r14d
cmp rsi, rdi
jbe 0x18002af8a
mov rdi, rsi
or rdi, 7
cmp rdi, rax
jbe 0x18002af42
mov rdi, rax
movabs rax, 0x7fffffffffffffff
lea rcx, [rax + rax]
cmp rcx, 0x1000
jb 0x18002af79
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x18002b0b4
mov rcx, rax
call fcn.180074930
mov rcx, rax
test rax, rax
je 0x18002b069
add rax, 0x27
mov qword [rsp + 0x38], rdi
and rax, 0xffffffffffffffe0
mov qword [rsp + 0x20], rax
mov qword [rax - 8], rcx
jmp 0x18002af8f
mov eax, 0xa
cmp rdi, rax
cmovb rdi, rax
movabs rax, 0x7fffffffffffffff
lea rcx, [rdi + 1]
cmp rcx, rax
ja 0x18002b0b4
add rcx, rcx
jne 0x18002af00
mov rax, r14
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x20], rax
jmp 0x18002af8f
call fcn.180074930
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x38], rdi
jmp 0x18002af8f
mov rax, qword [rsp + 0x20]
cmp rdi, 7
lea r8, [rsp + 0x20]
mov rdx, rsi
cmova r8, rax
mov rcx, r8
test rsi, rsi
je 0x18002afc4
nop word [rax + rax]
movsx eax, byte [rbx]
lea rbx, [rbx + 1]
mov word [rcx], ax
lea rcx, [rcx + 2]
sub rdx, 1
jne 0x18002afb0
mov qword [rsp + 0x30], rsi
mov word [r8 + rsi*2], r14w
mov rdi, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x20]
nop dword [rax + rax]
cmp rdi, 7
lea rax, [rsp + 0x20]
lea r8, [rsp + 0x6c]
cmova rax, rsi
sub r8, rax
nop word [rax + rax]
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x18002b014
add rax, 2
test ecx, ecx
jne 0x18002b000
mov rcx, rbp
test edx, edx
je 0x18002b02f
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x18002afe0
mov rcx, rbp
jmp 0x18002b034
mov r14d, dword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp rdi, 7
jbe 0x18002b078
lea rdx, [rdi*2 + 2]
mov rax, rsi
cmp rdx, 0x1000
jb 0x18002b070
mov rsi, qword [rsi - 8]
add rdx, 0x27
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18002b070
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rsi
call fcn.180074ce4
mov rbx, qword [rsp + 0x2a0]
mov eax, r14d
mov r14, qword [rsp + 0x2b0]
mov rsi, qword [rsp + 0x2a8]
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.180074910
mov rbp, qword [rsp + 0x2b8]
add rsp, 0x290
pop rdi
ret
call fcn.180001160
int3
call fcn.180001200
int3