Function at 0x180005420
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x20], rbp
push rdi
sub rsp, 0x290
mov rax, qword [0x180010040]
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 0x18000547b
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x40], 0x238
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x180005482
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x1800056b3
cmp qword [rdi + 0x18], 0xf
mov qword [rsp + 0x2a0], rbx
mov qword [rsp + 0x2a8], rsi
jbe 0x1800054a5
mov rsi, qword [rdi]
mov rbx, rsi
add rsi, qword [rdi + 0x10]
jmp 0x1800054af
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 0x1800054e1
xor r14d, r14d
mov qword [rsp + 0x30], r14
mov word [rsp + 0x20], r14w
jmp 0x1800055f3
sub rsi, rbx
movabs rax, 0x7ffffffffffffffe
cmp rsi, rax
ja 0x1800056da
xor r14d, r14d
cmp rsi, rdi
jbe 0x1800055aa
mov rdi, rsi
or rdi, 7
cmp rdi, rax
jbe 0x180005562
mov rdi, rax
movabs rax, 0x7fffffffffffffff
lea rcx, [rax + rax]
cmp rcx, 0x1000
jb 0x180005599
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1800056d4
mov rcx, rax
call fcn.1800069e0
mov rcx, rax
test rax, rax
je 0x180005689
add rax, 0x27
mov qword [rsp + 0x38], rdi
and rax, 0xffffffffffffffe0
mov qword [rsp + 0x20], rax
mov qword [rax - 8], rcx
jmp 0x1800055af
mov eax, 0xa
cmp rdi, rax
cmovb rdi, rax
movabs rax, 0x7fffffffffffffff
lea rcx, [rdi + 1]
cmp rcx, rax
ja 0x1800056d4
add rcx, rcx
jne 0x180005520
mov rax, r14
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x20], rax
jmp 0x1800055af
call fcn.1800069e0
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x38], rdi
jmp 0x1800055af
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 0x1800055e4
nop word [rax + rax]
movsx eax, byte [rbx]
lea rbx, [rbx + 1]
mov word [rcx], ax
lea rcx, [rcx + 2]
sub rdx, 1
jne 0x1800055d0
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 0x180005634
add rax, 2
test ecx, ecx
jne 0x180005620
mov rcx, rbp
test edx, edx
je 0x18000564f
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x180005600
mov rcx, rbp
jmp 0x180005654
mov r14d, dword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp rdi, 7
jbe 0x180005698
lea rdx, [rdi*2 + 2]
mov rax, rsi
cmp rdx, 0x1000
jb 0x180005690
mov rsi, qword [rsi - 8]
add rdx, 0x27
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180005690
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rsi
call fcn.180006d94
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.1800069c0
mov rbp, qword [rsp + 0x2b8]
add rsp, 0x290
pop rdi
ret
call fcn.180001130
int3
call fcn.1800011d0
int3