Function at 0x140002050
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x540]
sub rsp, 0x640
mov rax, qword [0x140194040]
xor rax, rsp
mov qword [rbp + 0x530], rax
mov r14, rcx
mov qword [rbp - 0x70], rcx
xor r15d, r15d
mov edi, r15d
mov dword [rsp + 0x30], r15d
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov r13, rax
mov dword [rbp + 0xb0], 0x238
lea rdx, [rbp + 0xb0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x1400020cf
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rsi, [0x14018fac8]
lea rbx, [0x14018fab8]
nop dword [rax]
mov ecx, 0x1f4
call qword [sym.imp.KERNEL32.dll_Sleep]
mov r8d, dword [rbp + 0xb8]
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov r12, rax
test rax, rax
je 0x1400025c2
mov dword [rbp + 0x2f0], 0x104
lea r9, [rbp + 0x2f0]
lea r8, [rbp + 0x420]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_QueryFullProcessImageNameA]
test eax, eax
je 0x1400025b9
xor edx, edx
mov r8d, 0x110
lea rcx, [rbp - 0x60]
call sub.VCRUNTIME140.dll_memset
mov dword [rsp + 0x20], 1
mov r9d, 0x40
lea r8d, [r9 - 0x20]
lea rdx, [rbp + 0x420]
lea rcx, [rbp - 0x60]
call fcn.140003520
nop
mov rax, qword [rbp - 0x60]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x60]
add rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::operator_bool_void_const___ptr64]
test al, al
je 0x140002576
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp + 0x320]
call sub.VCRUNTIME140.dll_memset
mov qword [rbp + 0x320], rsi
lea rax, [0x14018fa28]
mov qword [rbp + 0x330], rax
lea rcx, [rbp + 0x3b8]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
or edi, 1
mov dword [rsp + 0x30], edi
xor r8d, r8d
lea rdx, [rbp + 0x338]
lea rcx, [rbp + 0x320]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_iostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64____ptr64]
nop
mov rax, qword [rbp + 0x320]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0x320], rbx
mov rax, qword [rbp + 0x320]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0x31c], edx
lea rcx, [rbp + 0x338]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
lea rax, [0x14018fa38]
mov qword [rbp + 0x338], rax
mov qword [rbp + 0x3a0], r15
mov dword [rbp + 0x3a8], r15d
lea rdx, [rbp - 0x50]
lea rcx, [rbp + 0x330]
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_streambuf_char__struct_std::char_traits_char______ptr64____ptr64]
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], r15
mov esi, 0xf
mov qword [rsp + 0x70], rsi
mov byte [rsp + 0x58], 0
or edi, 4
mov dword [rsp + 0x30], edi
mov ecx, dword [rbp + 0x3a8]
mov eax, ecx
and al, 0x22
mov rdx, qword [rbp + 0x3a0]
cmp al, 2
je 0x14000229d
mov rax, qword [rbp + 0x378]
mov rbx, qword [rax]
test rbx, rbx
je 0x14000229d
mov rax, qword [rbp + 0x358]
mov r9, qword [rax]
cmp rbx, rdx
cmovb rbx, rdx
jmp 0x1400022c8
test cl, 4
jne 0x14000230e
mov rax, qword [rbp + 0x370]
mov r8, qword [rax]
test r8, r8
je 0x14000230e
mov rax, qword [rbp + 0x350]
mov r9, qword [rax]
mov rax, qword [rbp + 0x388]
movsxd rbx, dword [rax]
add rbx, r8
mov rax, r9
sub rbx, r9
test rax, rax
je 0x14000230e
lea rcx, [rsp + 0x58]
cmp rbx, rsi
ja 0x1400022f4
mov qword [rsp + 0x68], rbx
mov r8, rbx
mov rdx, r9
call sub.VCRUNTIME140.dll_memmove
mov byte [rsp + rbx + 0x58], 0
jmp 0x1400022fc
mov rdx, rbx
call fcn.1400043f0
mov rsi, qword [rsp + 0x70]
mov rdx, qword [rbp + 0x3a0]
mov ecx, dword [rbp + 0x3a8]
and edi, 0xfffffffb
or edi, 2
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x50], 0xf
mov byte [rsp + 0x38], 0
or edi, 0x10
mov dword [rsp + 0x30], edi
mov eax, ecx
and al, 0x22
cmp al, 2
je 0x140002360
mov rax, qword [rbp + 0x378]
mov rbx, qword [rax]
test rbx, rbx
je 0x140002360
mov rax, qword [rbp + 0x358]
mov r9, qword [rax]
cmp rbx, rdx
cmovb rbx, rdx
jmp 0x14000238b
test cl, 4
jne 0x1400023c0
mov rax, qword [rbp + 0x370]
mov rcx, qword [rax]
test rcx, rcx
je 0x1400023c0
mov rax, qword [rbp + 0x350]
mov r9, qword [rax]
mov rax, qword [rbp + 0x388]
movsxd rbx, dword [rax]
add rbx, rcx
mov rax, r9
sub rbx, r9
test rax, rax
je 0x1400023c0
lea rcx, [rsp + 0x38]
cmp rbx, 0xf
ja 0x1400023b8
mov qword [rsp + 0x48], rbx
mov r8, rbx
mov rdx, r9
call sub.VCRUNTIME140.dll_memmove
mov byte [rsp + rbx + 0x38], 0
jmp 0x1400023c0
mov rdx, rbx
call fcn.1400043f0
and edi, 0xffffffef
or edi, 8
lea rdx, [rsp + 0x38]
cmp qword [rsp + 0x50], 0xf
cmova rdx, qword [rsp + 0x38]
mov r8, qword [rsp + 0x68]
lea rcx, [rbp + 0x2f8]
call fcn.140001da0
nop
mov rdx, qword [rsp + 0x50]
cmp rdx, 0xf
jbe 0x140002426
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002421
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002660
call fcn.14018cc54
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x50], 0xf
mov byte [rsp + 0x38], 0
cmp rsi, 0xf
jbe 0x140002472
lea rdx, [rsi + 1]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000246d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002667
call fcn.14018cc54
mov ecx, 0x1f4
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rdx, r14
cmp qword [r14 + 0x18], 0xf
jbe 0x14000248a
mov rdx, qword [r14]
lea rcx, [rbp + 0x2f8]
mov rsi, qword [rbp + 0x310]
cmp rsi, 0xf
seta r15b
mov rbx, qword [rbp + 0x2f8]
cmova rcx, rbx
mov r8, qword [rbp + 0x308]
cmp r8, qword [r14 + 0x10]
jne 0x1400024c5
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x14000266e
test r15b, r15b
je 0x1400024fb
lea rdx, [rsi + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x1400024f3
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400027a4
mov rcx, rbx
call fcn.14018cc54
xor r15d, r15d
mov qword [rbp + 0x308], r15
mov qword [rbp + 0x310], 0xf
mov byte [rbp + 0x2f8], r15b
mov rax, qword [rbp + 0x320]
movsxd rcx, dword [rax + 4]
lea rbx, [0x14018fab8]
mov qword [rbp + rcx + 0x320], rbx
mov rax, qword [rbp + 0x320]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0x31c], edx
lea rcx, [rbp + 0x338]
call fcn.140003cd0
lea rcx, [rbp + 0x340]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_iostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x3b8]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rsi, [0x14018fac8]
mov rax, qword [rbp - 0x60]
movsxd rcx, dword [rax + 4]
lea rax, [0x14018f868]
mov qword [rbp + rcx - 0x60], rax
mov rax, qword [rbp - 0x60]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx - 0x64], edx
lea rcx, [rbp - 0x50]
call fcn.140003440
lea rcx, [rbp - 0x48]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_istream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x50]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rbp + 0xb0]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x1400020e0
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rdx, qword [r14 + 0x18]
cmp rdx, 0xf
jbe 0x14000261e
inc rdx
mov rcx, qword [r14]
cmp rdx, 0x1000
jb 0x140002619
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400027ab
mov rcx, r8
call fcn.14018cc54
mov qword [r14 + 0x10], r15
xor al, al
mov byte [r14], 0
mov qword [r14 + 0x18], 0xf
mov rcx, qword [rbp + 0x530]
xor rcx, rsp
call fcn.14018cd70
lea r11, [rsp + 0x640]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
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
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp rsi, 0xf
jbe 0x1400026a5
lea rdx, [rsi + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x14000269d
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400027a4
mov rcx, rbx
call fcn.14018cc54
xor ebx, ebx
mov qword [rbp + 0x308], rbx
mov qword [rbp + 0x310], 0xf
mov byte [rbp + 0x2f8], bl
mov rax, qword [rbp + 0x320]
movsxd rcx, dword [rax + 4]
lea rax, [0x14018fab8]
mov qword [rbp + rcx + 0x320], rax
mov rax, qword [rbp + 0x320]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0x31c], edx
lea rcx, [rbp + 0x338]
call fcn.140003cd0
lea rcx, [rbp + 0x340]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_iostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x3b8]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
mov rax, qword [rbp - 0x60]
movsxd rcx, dword [rax + 4]
lea rax, [0x14018f868]
mov qword [rbp + rcx - 0x60], rax
mov rax, qword [rbp - 0x60]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx - 0x64], edx
lea rcx, [rbp - 0x50]
call fcn.140003440
lea rcx, [rbp - 0x48]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_istream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x50]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
mov rdx, qword [r14 + 0x18]
cmp rdx, 0xf
jbe 0x140002792
inc rdx
mov rcx, qword [r14]
cmp rdx, 0x1000
jb 0x14000278d
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000279d
mov rcx, r8
call fcn.14018cc54
mov qword [r14 + 0x10], rbx
mov al, 1
jmp 0x140002624
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 qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3