Function at 0x140096640
Capabilities:
Enumerate processes

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x2e8
movaps xmmword [rsp + 0x2d0], xmm10
movaps xmmword [rsp + 0x2c0], xmm9
movaps xmmword [rsp + 0x2b0], xmm8
movaps xmmword [rsp + 0x2a0], xmm7
movaps xmmword [rsp + 0x290], xmm6
mov r13, rcx
xor ebx, ebx
mov ecx, 2
xor edx, edx
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
cmp rax, 0xffffffffffffffff
je 0x140096938
mov r15, rax
xor ebx, ebx
lea r14, [rsp + 0x58]
mov r8d, 0x238
mov rcx, r14
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov dword [rsp + 0x58], 0x238
mov rcx, r15
mov rdx, r14
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x14009692f
mov r12, qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea r14, [rsp + 0x58]
movaps xmm8, xmmword [str.N_tfNKH_KLDCDQ_]
movaps xmm9, xmmword [0x1400b3a60]
movaps xmm10, xmmword [0x1400b3a70]
movaps xmm7, xmmword [0x1400b3a80]
movaps xmm6, xmmword [0x1400b2480]
jmp 0x14009672c
add rax, rax
add rax, 0x29
mov rdx, rax
call fcn.1400a7c2c
test bl, bl
jne 0x14009692b
mov rcx, r15
mov rdx, r14
call sub.KERNEL32.dll_Process32NextW
test eax, eax
je 0x140096927
mov ebx, dword [rsp + 0x60]
call r12
cmp ebx, eax
je 0x140096719
movabs rax, 0x650070006f006e
mov qword [rsp + 0x20], rax
mov word [rsp + 0x28], 0
lea rcx, [rsp + 0x20]
call sub.api_ms_win_crt_string_l1_1_0.dll_wcslen
mov rbp, qword [r13 + 0x10]
cmp rbp, rax
lea rcx, [rsp + 0x84]
jne 0x1400967b0
test rax, rax
je 0x14009686c
cmp qword [r13 + 0x18], 8
mov rdi, r13
jb 0x14009677f
mov rdi, qword [r13]
cmp word [rdi], 0x6e
jne 0x1400967b0
mov edx, 1
nop word [rax + rax]
cmp rax, rdx
je 0x14009686c
movzx ebx, word [rdi + rdx*2]
lea rsi, [rdx + 1]
cmp bx, word [rsp + rdx*2 + 0x20]
mov rdx, rsi
je 0x140096790
nop dword [rax + rax]
mov qword [rsp + 0x20], 0
movups xmmword [rsp + 0x30], xmm6
mov word [rsp + 0x20], 0
mov rsi, rcx
call sub.api_ms_win_crt_string_l1_1_0.dll_wcslen
mov rbx, rax
cmp rax, 7
jbe 0x1400967f8
lea rcx, [rsp + 0x20]
mov rdx, rbx
mov r9, rsi
call fcn.14009bd60
mov rbp, qword [r13 + 0x10]
cmp rbp, qword [rsp + 0x30]
je 0x14009681e
xor ebx, ebx
jmp 0x1400968e0
mov qword [rsp + 0x30], rbx
mov r8, rbx
add r8, rbx
lea rcx, [rsp + 0x20]
mov rdx, rsi
call sub.VCRUNTIME140.dll_memcpy
mov word [rsp + rbx*2 + 0x20], 0
cmp rbp, qword [rsp + 0x30]
jne 0x1400967f1
test rbp, rbp
je 0x1400968d8
cmp qword [rsp + 0x38], 8
lea rax, [rsp + 0x20]
jb 0x140096839
mov rax, qword [rsp + 0x20]
cmp qword [r13 + 0x18], 8
mov rcx, r13
jb 0x140096847
mov rcx, qword [r13]
xor edx, edx
nop dword [rax]
movzx ebx, word [rcx + rdx*2]
cmp bx, word [rax + rdx*2]
sete bl
jne 0x1400968e0
add rdx, 1
cmp rbp, rdx
jne 0x140096850
jmp 0x1400968e0
movaps xmmword [rsp + 0x30], xmm8
mov dword [rsp + 0x40], 0x1f0043
movabs rax, 0x350051004b0057
mov qword [rsp + 0x44], rax
movaps xmmword [rsp + 0x20], xmm9
movups xmm0, xmmword [rsp + 0x22]
xorps xmm0, xmm10
movups xmmword [rsp + 0x22], xmm0
movups xmm0, xmmword [rsp + 0x32]
xorps xmm0, xmm7
movups xmmword [rsp + 0x32], xmm0
mov byte [rsp + 0x42], 0x2e
mov byte [rsp + 0x44], 0x65
mov byte [rsp + 0x46], pe_nt_image_headers64
mov byte [rsp + 0x48], 0x65
mov byte [rsp + 0x4a], 0
lea rdx, [rsp + 0x20]
call sub.VCRUNTIME140.dll_wcsstr
test rax, rax
je 0x140096719
jmp 0x14009692b
mov bl, 1
nop word [rax + rax]
mov rax, qword [rsp + 0x38]
cmp rax, 8
jb 0x140096711
mov rcx, qword [rsp + 0x20]
lea rdx, [rax + rax]
add rdx, 2
cmp rdx, 0x1000
jb 0x14009670c
mov rdx, rcx
add rdx, 0xfffffffffffffff8
mov rcx, qword [rcx - 8]
sub rdx, rcx
cmp rdx, 0x20
jb 0x140096702
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
xor ebx, ebx
jmp 0x14009692f
mov ebx, dword [rsp + 0x60]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
movaps xmm6, xmmword [rsp + 0x290]
movaps xmm7, xmmword [rsp + 0x2a0]
movaps xmm8, xmmword [rsp + 0x2b0]
movaps xmm9, xmmword [rsp + 0x2c0]
movaps xmm10, xmmword [rsp + 0x2d0]
add rsp, 0x2e8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret