Function at 0x140037a40
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 - 0x1b0]
sub rsp, 0x2b0
mov rax, qword [0x1401be040]
xor rax, rsp
mov qword [rbp + 0x1a0], rax
mov r14, rcx
xor edx, edx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov r12, rax
cmp rax, 0xffffffffffffffff
jne 0x140037a98
xor eax, eax
jmp 0x140037d43
xor edx, edx
mov r8d, 0x234
lea rcx, [rsp + 0x64]
call sub.VCRUNTIME140.dll_memset
mov dword [rsp + 0x60], 0x238
xor r13b, r13b
lea rdx, [rsp + 0x60]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
xor r15d, r15d
test eax, eax
je 0x140037d2e
nop
lea rdx, [rbp - 0x74]
lea rcx, [rsp + 0x40]
call fcn.140039740
nop
cmp qword [r14 + 0x18], 0xf
jbe 0x140037af2
mov rsi, qword [r14]
mov rbx, rsi
add rsi, qword [r14 + 0x10]
jmp 0x140037afc
mov rsi, qword [r14 + 0x10]
add rsi, r14
mov rbx, r14
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
cmp rbx, rsi
jne 0x140037b27
mov rdx, r15
mov qword [rsp + 0x30], rdx
mov r9d, 7
mov qword [rsp + 0x38], r9
mov word [rsp + 0x20], r15w
jmp 0x140037c48
sub rsi, rbx
mov edi, 7
mov qword [rsp + 0x38], rdi
movabs rax, 0x7ffffffffffffffe
cmp rsi, rax
ja 0x140037dc6
cmp rsi, rdi
jbe 0x140037bf8
mov rdi, rsi
or rdi, 7
cmp rdi, rax
jbe 0x140037baf
mov rdi, rax
movabs rax, 0x7fffffffffffffff
lea rcx, [rax + rax]
cmp rcx, 0x1000
jb 0x140037be7
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140037dc0
mov rcx, rax
call fcn.140072e78
mov rcx, rax
test rax, rax
je 0x140037d73
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x38], rdi
jmp 0x140037bfd
cmp rdi, 0xa
mov eax, 0xa
cmovb rdi, rax
lea rcx, [rdi + 1]
movabs rax, 0x7fffffffffffffff
cmp rcx, rax
ja 0x140037dc0
add rcx, rcx
jne 0x140037b6d
mov rax, r15
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x38], rdi
jmp 0x140037bfd
call fcn.140072e78
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x38], rdi
jmp 0x140037bfd
mov rax, qword [rsp + 0x20]
lea r8, [rsp + 0x20]
cmp rdi, 7
cmova r8, rax
mov rcx, r8
mov rdx, rsi
test rsi, rsi
je 0x140037c34
nop word [rax + rax]
movsx eax, byte [rbx]
mov word [rcx], ax
lea rcx, [rcx + 2]
lea rbx, [rbx + 1]
sub rdx, 1
jne 0x140037c20
mov qword [rsp + 0x30], rsi
mov word [r8 + rsi*2], r15w
mov r9, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0x40]
mov rdi, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x58]
cmp rsi, 7
cmova rcx, rdi
lea r8, [rsp + 0x20]
mov r10, qword [rsp + 0x20]
cmp r9, 7
cmova r8, r10
cmp rdx, qword [rsp + 0x50]
jne 0x140037c98
test rdx, rdx
je 0x140037c94
sub r8, rcx
movzx eax, word [rcx + r8]
cmp ax, word [rcx]
jne 0x140037c98
add rcx, 2
sub rdx, 1
jne 0x140037c80
mov bl, 1
jmp 0x140037c9a
xor bl, bl
cmp r9, 7
jbe 0x140037cd5
lea rdx, [r9*2 + 2]
mov rax, r10
cmp rdx, 0x1000
jb 0x140037ccd
add rdx, 0x27
mov r10, qword [r10 - 8]
sub rax, r10
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140037d73
mov rcx, r10
call fcn.140072c30
test bl, bl
jne 0x140037d7a
cmp rsi, 7
jbe 0x140037d18
lea rdx, [rsi*2 + 2]
mov rax, rdi
cmp rdx, 0x1000
jb 0x140037d10
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140037dac
mov rcx, rdi
call fcn.140072c30
lea rdx, [rsp + 0x60]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140037ad0
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test r13b, r13b
cmovne r15d, dword [rsp + 0x68]
mov eax, r15d
mov rcx, qword [rbp + 0x1a0]
xor rcx, rsp
call fcn.140072850
lea r11, [rsp + 0x2b0]
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]
nop
mov r13b, 1
cmp rsi, 7
jbe 0x140037d2e
lea rdx, [rsi*2 + 2]
mov rax, rdi
cmp rdx, 0x1000
jb 0x140037db3
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140037db3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call fcn.140072c30
jmp 0x140037d2e
call fcn.140024b00
int3
call fcn.140033e80
int3