Function at 0x140030980
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1e0]
sub rsp, 0x2e0
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
lea rdx, [rbp - 0x60]
mov dword [rbp - 0x60], 0x238
mov rcx, rax
mov r15, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x140030c9b
movabs r13, 0x7ffffffffffffffe
xor r12d, r12d
xorps xmm0, xmm0
lea rax, [rbp - 0x34]
movups xmmword [rsp + 0x20], xmm0
mov ecx, 0xa
movabs rdx, 0x7fffffffffffffff
mov rdi, 0xffffffffffffffff
inc rdi
cmp word [rax + rdi*2], r12w
jne 0x140030a00
cmp rdi, r13
ja 0x140030cdf
cmp rdi, 7
ja 0x140030a56
lea rbx, [rdi + rdi]
mov qword [rsp + 0x30], rdi
mov r8, rbx
mov qword [rsp + 0x38], 7
lea rdx, [rbp - 0x34]
lea rcx, [rsp + 0x20]
call sub.VCRUNTIME140.dll_memcpy
mov word [rsp + rbx + 0x20], r12w
mov r14, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x20]
jmp 0x140030af1
mov r14, rdi
or r14, 7
cmp r14, r13
jbe 0x140030a6b
mov r14, r13
lea rcx, [rdx + rdx]
jmp 0x140030a8c
cmp r14, 0xa
cmovb r14, rcx
lea rcx, [r14 + 1]
cmp rcx, rdx
ja 0x140030cd9
add rcx, rcx
cmp rcx, 0x1000
jb 0x140030ab8
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140030cd9
mov rcx, rax
call fcn.14003363c
test rax, rax
je 0x140030cc7
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x140030aca
test rcx, rcx
je 0x140030ac7
call fcn.14003363c
mov rsi, rax
jmp 0x140030aca
mov rsi, r12
lea rbx, [rdi + rdi]
mov qword [rsp + 0x20], rsi
mov r8, rbx
mov qword [rsp + 0x30], rdi
lea rdx, [rbp - 0x34]
mov qword [rsp + 0x38], r14
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
mov word [rbx + rsi], r12w
movabs rax, 0xc3471b60748dbabf
movabs rcx, 0xc3171b2174d9baf8
mov qword [rbp - 0x80], rax
mov r10, 0xffffffffffffffff
mov qword [rsp + 0x60], rcx
movabs rax, 0x9279bc293cbb37e4
mov qword [rbp - 0x78], rax
movabs rcx, 0x921cbc4a3cd43796
movabs rax, 0x46f003de281b12b1
mov qword [rsp + 0x68], rcx
movdqu xmm0, xmmword [rsp + 0x60]
mov qword [rbp - 0x70], rax
movabs rcx, 0x46f003de286812c2
movabs rax, 0x756beb5730169f8e
mov qword [rsp + 0x70], rcx
xorps xmm0, xmmword [rbp - 0x80]
mov qword [rsp + 0x78], rax
movups xmm1, xmmword [rsp + 0x70]
mov qword [rbp - 0x68], rax
lea rax, [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
xorps xmm1, xmmword [rbp - 0x70]
movdqa xmmword [rsp + 0x50], xmm1
inc r10
cmp word [rax + r10*2], r12w
jne 0x140030b86
cmp r14, 7
lea r11, [rsp + 0x20]
cmova r11, rsi
cmp r10, rdi
ja 0x140030c42
sub rdi, r10
test r10, r10
jne 0x140030bb6
mov rbx, r12
jmp 0x140030c49
movzx r9d, word [rsp + 0x40]
inc rdi
mov rbx, r11
lea rdi, [r11 + rdi*2]
nop word [rax + rax]
mov rax, rdi
mov rcx, r12
sub rax, rbx
sar rax, 1
je 0x140030bfa
cmp word [rbx], r9w
je 0x140030bf7
cmp rax, 1
je 0x140030bfa
add rbx, 2
dec rax
cmp word [rbx], r9w
jne 0x140030be4
mov rcx, rbx
mov rbx, rcx
test rcx, rcx
je 0x140030c42
lea rcx, [rsp + 0x40]
mov rdx, r10
test r10, r10
je 0x140030c34
lea rax, [rsp + 0x40]
mov r8, rbx
sub r8, rax
nop word [rax + rax]
movzx eax, word [rcx + r8]
cmp ax, word [rcx]
jne 0x140030c3c
add rcx, 2
sub rdx, 1
jne 0x140030c20
sub rbx, r11
sar rbx, 1
jmp 0x140030c49
add rbx, 2
jmp 0x140030bd0
mov rbx, 0xffffffffffffffff
cmp r14, 7
jbe 0x140030c80
lea rdx, [r14*2 + 2]
mov rax, rsi
cmp rdx, 0x1000
jb 0x140030c78
mov rsi, qword [rsi - 8]
add rdx, 0x27
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140030cc7
mov rcx, rsi
call fcn.140033254
mov rcx, r15
cmp rbx, 0xffffffffffffffff
jne 0x140030cce
lea rdx, [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x1400309de
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
lea r11, [rsp + 0x2e0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rbp - 0x58]
jmp 0x140030ca6
call fcn.14002fcc0
int3
call fcn.14002fd60
int3