Function at 0x140038d20
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
mov ecx, 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 0x14003903b
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 0x140038da2
cmp rdi, r13
ja 0x14003907f
cmp rdi, 7
ja 0x140038df8
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 0x140038e93
mov r14, rdi
or r14, 7
cmp r14, r13
jbe 0x140038e0d
mov r14, r13
lea rcx, [rdx + rdx]
jmp 0x140038e2e
cmp r14, 0xa
cmovb r14, rcx
lea rcx, [r14 + 1]
cmp rcx, rdx
ja 0x140039079
add rcx, rcx
cmp rcx, 0x1000
jb 0x140038e5a
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140039079
mov rcx, rax
call fcn.14003bd14
test rax, rax
je 0x140039067
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x140038e6c
test rcx, rcx
je 0x140038e69
call fcn.14003bd14
mov rsi, rax
jmp 0x140038e6c
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, 0xa1e9c8711912899
movabs rcx, 0xa4e9cc611c528de
mov qword [rbp - 0x80], rax
mov r10, 0xffffffffffffffff
mov qword [rsp + 0x60], rcx
movabs rax, 0x4b9cd53e82ce3306
mov qword [rbp - 0x78], rax
movabs rcx, 0x4bf9d55d82a13374
movabs rax, 0x1f9c585930841473
mov qword [rsp + 0x68], rcx
movdqu xmm0, xmmword [rsp + 0x60]
mov qword [rbp - 0x70], rax
movabs rcx, 0x1f9c585930f71400
movabs rax, 0x843c5a500cd4c108
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
nop dword [rax + rax]
inc r10
cmp word [rax + r10*2], r12w
jne 0x140038f30
cmp r14, 7
lea r11, [rsp + 0x20]
cmova r11, rsi
cmp r10, rdi
ja 0x140038fe2
sub rdi, r10
test r10, r10
jne 0x140038f60
mov rbx, r12
jmp 0x140038fe9
movzx r9d, word [rsp + 0x40]
inc rdi
mov rbx, r11
lea rdi, [r11 + rdi*2]
mov rax, rdi
mov rcx, r12
sub rax, rbx
sar rax, 1
je 0x140038f9a
cmp word [rbx], r9w
je 0x140038f97
cmp rax, 1
je 0x140038f9a
add rbx, 2
dec rax
cmp word [rbx], r9w
jne 0x140038f84
mov rcx, rbx
mov rbx, rcx
test rcx, rcx
je 0x140038fe2
lea rcx, [rsp + 0x40]
mov rdx, r10
test r10, r10
je 0x140038fd4
lea rax, [rsp + 0x40]
mov r8, rbx
sub r8, rax
nop word [rax + rax]
movzx eax, word [r8 + rcx]
cmp ax, word [rcx]
jne 0x140038fdc
add rcx, 2
sub rdx, 1
jne 0x140038fc0
sub rbx, r11
sar rbx, 1
jmp 0x140038fe9
add rbx, 2
jmp 0x140038f70
mov rbx, 0xffffffffffffffff
cmp r14, 7
jbe 0x140039020
lea rdx, [r14*2 + 2]
mov rax, rsi
cmp rdx, 0x1000
jb 0x140039018
mov rsi, qword [rsi - 8]
add rdx, 0x27
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140039067
mov rcx, rsi
call fcn.14003bb74
mov rcx, r15
cmp rbx, 0xffffffffffffffff
jne 0x14003906e
lea rdx, [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140038d80
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 0x140039046
call fcn.1400381b0
int3
call fcn.140038250
int3