Function at 0x140031380
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 0x14003169b
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 0x140031400
cmp rdi, r13
ja 0x1400316df
cmp rdi, 7
ja 0x140031456
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 0x1400314f1
mov r14, rdi
or r14, 7
cmp r14, r13
jbe 0x14003146b
mov r14, r13
lea rcx, [rdx + rdx]
jmp 0x14003148c
cmp r14, 0xa
cmovb r14, rcx
lea rcx, [r14 + 1]
cmp rcx, rdx
ja 0x1400316d9
add rcx, rcx
cmp rcx, 0x1000
jb 0x1400314b8
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1400316d9
mov rcx, rax
call fcn.14009d70c
test rax, rax
je 0x1400316c7
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x1400314ca
test rcx, rcx
je 0x1400314c7
call fcn.14009d70c
mov rsi, rax
jmp 0x1400314ca
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, 0x47fdd799a6586fb5
movabs rcx, 0x47add7d8a60c6ff2
mov qword [rbp - 0x80], rax
mov r10, 0xffffffffffffffff
mov qword [rsp + 0x60], rcx
movabs rax, 0x7ba062105ded24be
mov qword [rbp - 0x78], rax
movabs rcx, 0x7bc562735d8224cc
movabs rax, 0xc4476c8786f9acc7
mov qword [rsp + 0x68], rcx
movdqu xmm0, xmmword [rsp + 0x60]
mov qword [rbp - 0x70], rax
movabs rcx, 0xc4476c87868aacb4
movabs rax, 0xdf3cfcc6d39a8f10
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 0x140031586
cmp r14, 7
lea r11, [rsp + 0x20]
cmova r11, rsi
cmp r10, rdi
ja 0x140031642
sub rdi, r10
test r10, r10
jne 0x1400315b6
mov rbx, r12
jmp 0x140031649
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 0x1400315fa
cmp word [rbx], r9w
je 0x1400315f7
cmp rax, 1
je 0x1400315fa
add rbx, 2
dec rax
cmp word [rbx], r9w
jne 0x1400315e4
mov rcx, rbx
mov rbx, rcx
test rcx, rcx
je 0x140031642
lea rcx, [rsp + 0x40]
mov rdx, r10
test r10, r10
je 0x140031634
lea rax, [rsp + 0x40]
mov r8, rbx
sub r8, rax
nop word [rax + rax]
movzx eax, word [r8 + rcx]
cmp ax, word [rcx]
jne 0x14003163c
add rcx, 2
sub rdx, 1
jne 0x140031620
sub rbx, r11
sar rbx, 1
jmp 0x140031649
add rbx, 2
jmp 0x1400315d0
mov rbx, 0xffffffffffffffff
cmp r14, 7
jbe 0x140031680
lea rdx, [r14*2 + 2]
mov rax, rsi
cmp rdx, 0x1000
jb 0x140031678
mov rsi, qword [rsi - 8]
add rdx, 0x27
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400316c7
mov rcx, rsi
call fcn.14009d32c
mov rcx, r15
cmp rbx, 0xffffffffffffffff
jne 0x1400316ce
lea rdx, [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x1400313de
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 0x1400316a6
call fcn.140030940
int3
call fcn.1400309e0
int3