Function at 0x140039240
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 0x14003955b
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 0x1400392c0
cmp rdi, r13
ja 0x14003959f
cmp rdi, 7
ja 0x140039316
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 0x1400393b1
mov r14, rdi
or r14, 7
cmp r14, r13
jbe 0x14003932b
mov r14, r13
lea rcx, [rdx + rdx]
jmp 0x14003934c
cmp r14, 0xa
cmovb r14, rcx
lea rcx, [r14 + 1]
cmp rcx, rdx
ja 0x140039599
add rcx, rcx
cmp rcx, 0x1000
jb 0x140039378
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140039599
mov rcx, rax
call fcn.14003c444
test rax, rax
je 0x140039587
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x14003938a
test rcx, rcx
je 0x140039387
call fcn.14003c444
mov rsi, rax
jmp 0x14003938a
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, 0x2d27c013185e6735
movabs rcx, 0x2d77c052180a6772
mov qword [rbp - 0x80], rax
mov r10, 0xffffffffffffffff
mov qword [rsp + 0x60], rcx
movabs rax, 0xf55a37625a1f4666
mov qword [rbp - 0x78], rax
movabs rcx, 0xf53f37015a704614
movabs rax, 0x25bb7112b24fd07
mov qword [rsp + 0x68], rcx
movdqu xmm0, xmmword [rsp + 0x60]
mov qword [rbp - 0x70], rax
movabs rcx, 0x25bb7112b57fd74
movabs rax, 0xe65f4f98f8e4c408
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 0x140039446
cmp r14, 7
lea r11, [rsp + 0x20]
cmova r11, rsi
cmp r10, rdi
ja 0x140039502
sub rdi, r10
test r10, r10
jne 0x140039476
mov rbx, r12
jmp 0x140039509
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 0x1400394ba
cmp word [rbx], r9w
je 0x1400394b7
cmp rax, 1
je 0x1400394ba
add rbx, 2
dec rax
cmp word [rbx], r9w
jne 0x1400394a4
mov rcx, rbx
mov rbx, rcx
test rcx, rcx
je 0x140039502
lea rcx, [rsp + 0x40]
mov rdx, r10
test r10, r10
je 0x1400394f4
lea rax, [rsp + 0x40]
mov r8, rbx
sub r8, rax
nop word [rax + rax]
movzx eax, word [r8 + rcx]
cmp ax, word [rcx]
jne 0x1400394fc
add rcx, 2
sub rdx, 1
jne 0x1400394e0
sub rbx, r11
sar rbx, 1
jmp 0x140039509
add rbx, 2
jmp 0x140039490
mov rbx, 0xffffffffffffffff
cmp r14, 7
jbe 0x140039540
lea rdx, [r14*2 + 2]
mov rax, rsi
cmp rdx, 0x1000
jb 0x140039538
mov rsi, qword [rsi - 8]
add rdx, 0x27
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140039587
mov rcx, rsi
call fcn.14003c2a4
mov rcx, r15
cmp rbx, 0xffffffffffffffff
jne 0x14003958e
lea rdx, [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x14003929e
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 0x140039566
call fcn.1400386d0
int3
call fcn.140038770
int3