Function at 0x140005200
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 [0x140013040]
xor rax, rsp
mov qword [rbp + 0x1a0], rax
mov r14, rcx
mov dword [rsp + 0x60], 0x238
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov r15, rax
lea rdx, [rsp + 0x60]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x14000551f
xor r12d, r12d
movabs r13, 0x7fffffffffffffff
nop dword [rax]
nop dword [rax + rax]
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x58], r12
lea rax, [rbp - 0x74]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x1400052a0
lea rdx, [rbp - 0x74]
lea rcx, [rsp + 0x40]
call fcn.140008390
nop
lea rdx, [rsp + 0x40]
cmp qword [rsp + 0x58], 7
seta r8b
cmova rdx, qword [rsp + 0x40]
mov rax, qword [rsp + 0x50]
lea rsi, [rdx + rax*2]
lea rdi, [rsp + 0x40]
test r8b, r8b
cmovne rdi, qword [rsp + 0x40]
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x38], 0xf
cmp rdi, rsi
jne 0x14000530b
mov byte [rsp + 0x20], 0
jmp 0x1400053fd
sub rsi, rdi
sar rsi, 1
cmp rsi, r13
ja 0x140005609
mov ebx, 0xf
cmp rsi, rbx
jbe 0x1400053bf
mov rbx, rsi
or rbx, 0xf
cmp rbx, r13
jbe 0x140005347
mov rbx, r13
movabs rax, 0x8000000000000000
add rax, 0x27
jmp 0x14000536e
cmp rbx, 0x16
mov eax, 0x16
cmovb rbx, rax
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x14000539a
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140005603
mov rcx, rax
call fcn.14000a0f0
mov rcx, rax
test rax, rax
je 0x1400055f5
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x38], rbx
jmp 0x1400053c4
test rcx, rcx
je 0x1400053b0
call fcn.14000a0f0
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x38], rbx
jmp 0x1400053c4
mov rax, r12
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x38], rbx
jmp 0x1400053c4
mov rax, qword [rsp + 0x20]
lea r8, [rsp + 0x20]
cmp rbx, 0xf
cmova r8, rax
mov rcx, r8
mov rdx, rsi
test rsi, rsi
je 0x1400053f3
nop dword [rax]
movzx eax, byte [rdi]
mov byte [rcx], al
lea rcx, [rcx + 1]
lea rdi, [rdi + 2]
sub rdx, 1
jne 0x1400053e0
mov qword [rsp + 0x30], rsi
mov byte [r8 + rsi], 0
lea rdx, str.Found_process:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140007b20
lea rdx, [rsp + 0x20]
cmp qword [rsp + 0x38], 0xf
cmova rdx, qword [rsp + 0x20]
mov r8, qword [rsp + 0x30]
mov rcx, rax
call fcn.140008e50
lea rdx, [0x140007cf0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rdx, r14
cmp qword [r14 + 0x18], 0xf
jbe 0x14000544b
mov rdx, qword [r14]
lea rcx, [rsp + 0x20]
mov rdi, qword [rsp + 0x38]
cmp rdi, 0xf
seta sil
mov rbx, qword [rsp + 0x20]
cmova rcx, rbx
mov r8, qword [rsp + 0x30]
cmp r8, qword [r14 + 0x10]
jne 0x14000547e
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x14000555a
test sil, sil
je 0x1400054b4
lea rdx, [rdi + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x1400054ac
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400055f5
mov rcx, rbx
call fcn.14000a520
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x38], 0xf
mov byte [rsp + 0x20], 0
mov rdx, qword [rsp + 0x58]
cmp rdx, 7
jbe 0x140005509
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005504
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400055fc
call fcn.14000a520
lea rdx, [rsp + 0x60]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140005280
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
mov rcx, qword [rbp + 0x1a0]
xor rcx, rsp
call fcn.14000a0d0
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
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rdx, qword [rsp + 0x38]
cmp rdx, 0xf
jbe 0x14000559d
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005598
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400055f5
call fcn.14000a520
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x38], 0xf
mov byte [rsp + 0x20], 0
mov rdx, qword [rsp + 0x58]
cmp rdx, 7
jbe 0x1400055ee
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400055e9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400055fc
call fcn.14000a520
mov al, 1
jmp 0x14000552a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.1400012f0
int3
call fcn.140001390
int3