Function at 0x140004e20
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x400]
sub rsp, 0x500
mov rax, qword [0x140014040]
xor rax, rsp
mov qword [rbp + 0x3f0], rax
mov rdi, rdx
mov rsi, rcx
mov qword [rsp + 0x20], rcx
xor r15d, r15d
mov dword [rsp + 0x60], 0x238
xor edx, edx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov r14, rax
cmp rax, 0xffffffffffffffff
je 0x140004f05
lea rdx, [rsp + 0x60]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x140004efc
nop
mov rdx, rdi
cmp qword [rdi + 0x18], 7
jbe 0x140004e9d
mov rdx, qword [rdi]
lea rcx, [rbp - 0x74]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
jne 0x140004eea
mov r8d, dword [rsp + 0x68]
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
je 0x140004eea
mov r9d, 0x104
lea r8, [rbp + 0x1e0]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_K32GetModuleFileNameExW]
test eax, eax
jne 0x140004f4e
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rsp + 0x60]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140004e90
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], r15
mov qword [rsi + 0x18], r15
xor r8d, r8d
lea rdx, [0x14000ec7c]
mov rcx, rsi
call fcn.140009050
mov rax, rsi
mov rcx, qword [rbp + 0x3f0]
xor rcx, rsp
call fcn.14000b700
mov rbx, qword [rsp + 0x540]
add rsp, 0x500
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
xorps xmm0, xmm0
movups xmmword [rbp + 0x1c0], xmm0
mov qword [rbp + 0x1d0], r15
mov qword [rbp + 0x1d8], r15
lea rax, [rbp + 0x1e0]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], r15w
jne 0x140004f74
lea rdx, [rbp + 0x1e0]
lea rcx, [rbp + 0x1c0]
call fcn.140009050
nop
lea rdx, [rbp + 0x1c0]
cmp qword [rbp + 0x1d8], 7
cmova rdx, qword [rbp + 0x1c0]
xorps xmm0, xmm0
movups xmmword [rbp + 0x1a0], xmm0
mov qword [rbp + 0x1b0], r15
mov qword [rbp + 0x1b8], r15
mov r8, qword [rbp + 0x1d0]
lea rcx, [rbp + 0x1a0]
call fcn.140009050
nop
lea rbx, [rbp + 0x1a0]
cmp qword [rbp + 0x1b8], 7
cmova rbx, qword [rbp + 0x1a0]
mov rax, qword [rbp + 0x1b0]
lea rdx, [rbx + rax*2]
mov rcx, rbx
call fcn.140001a20
cmp rax, rdx
je 0x14000506e
movzx ecx, word [rax]
cmp cx, 0x5c
je 0x140005013
cmp cx, 0x2f
jne 0x14000501c
add rax, 2
cmp rax, rdx
jne 0x140005004
cmp rax, rdx
je 0x14000506e
lea rcx, [rdx - 2]
movzx r8d, word [rcx]
cmp r8w, 0x5c
je 0x140005041
cmp r8w, 0x2f
je 0x140005041
mov rdx, rcx
cmp rax, rcx
jne 0x140005021
jmp 0x14000506e
cmp rax, rdx
je 0x14000506e
nop word [rax + rax]
lea rcx, [rdx - 2]
movzx r8d, word [rcx]
cmp r8w, 0x5c
je 0x140005066
cmp r8w, 0x2f
jne 0x14000506e
mov rdx, rcx
cmp rax, rcx
jne 0x140005050
sub rdx, rbx
sar rdx, 1
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x50], r15
mov r8, rdx
mov rdx, rbx
lea rcx, [rsp + 0x38]
call fcn.140009050
nop
lea rdx, [rsp + 0x38]
mov rcx, rsi
call fcn.1400075f0
nop
mov rdx, qword [rsp + 0x50]
cmp rdx, 7
jbe 0x1400050eb
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400050e5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400050e5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000bb8c
nop
mov rdx, qword [rbp + 0x1b8]
cmp rdx, 7
jbe 0x140005134
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x1a0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000512f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000512f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000bb8c
movdqa xmm0, xmmword [0x14000f410]
movdqu xmmword [rbp + 0x1b0], xmm0
mov word [rbp + 0x1a0], r15w
mov rdx, qword [rbp + 0x1d8]
cmp rdx, 7
jbe 0x140004f25
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x1c0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005194
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005194
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000bb8c
jmp 0x140004f25