Function at 0x1400048f0
Capabilities:
Create process memory minidump
Enumerate processes

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x1c0
mov rax, qword [0x140158e80]
xor rax, rsp
mov qword [rsp + 0x1b0], rax
mov r12, r8
mov r14, rdx
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x50], rdx
mov qword [rsp + 0x58], r8
xor r15d, r15d
mov rcx, qword [r8]
cmp qword [rcx + 0x18], 0xf
jbe 0x14000493e
mov rcx, qword [rcx]
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 2
xor r9d, r9d
xor r8d, r8d
mov edx, 0x10000000
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov qword [rsp + 0x48], rax
xor edx, edx
lea ecx, [rdx + 2]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov r13, rax
xor edx, edx
mov r8d, 0x12c
lea rcx, [rsp + 0x84]
call sub.VCRUNTIME140.dll_memset
mov dword [rsp + 0x80], 0x130
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
xor ebx, ebx
mov qword [rsp + 0x70], rbx
mov ebp, 0xf
mov qword [rsp + 0x78], rbp
mov byte [rsp + 0x60], bl
lea rdx, [rsp + 0x80]
mov rcx, r13
call sub.KERNEL32.dll_Process32First
lea rdi, [rbx - 1]
test eax, eax
je 0x140004a9c
nop
mov rdx, qword [r14]
mov rax, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0xf
jbe 0x1400049e1
mov rdx, qword [rdx]
lea rcx, [rsp + 0x60]
mov rsi, qword [rsp + 0x60]
cmp rbp, 0xf
cmova rcx, rsi
cmp rbx, rax
jne 0x140004a04
mov r8, rbx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x140004a50
lea rdx, [rsp + 0x80]
mov rcx, r13
call sub.KERNEL32.dll_Process32Next
lea rax, [rsp + 0xac]
mov r8, rdi
nop
inc r8
cmp byte [rax + r8], 0
jne 0x140004a20
lea rdx, [rsp + 0xac]
lea rcx, [rsp + 0x60]
call fcn.140004150
mov r15d, dword [rsp + 0x88]
mov rbp, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x70]
jmp 0x1400049d0
lea rdx, str.___Got
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001080
mov rdx, qword [r14]
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___void_const____ptr64____ptr64]
lea rdx, str..exe_PID:
mov rcx, rax
call fcn.140001080
mov edx, r15d
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___unsigned_long_int____ptr64]
lea rdx, [0x140002340]
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]
jmp 0x140004aa1
mov rsi, qword [rsp + 0x60]
mov r8d, r15d
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
xor ecx, ecx
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rcx
lea r9d, [rcx + 2]
mov r8, qword [rsp + 0x48]
mov edx, r15d
mov rcx, rax
call sub.dbghelp.dll_MiniDumpWriteDump
mov ebx, eax
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
je 0x140004be0
lea rdx, [0x140009928]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001080
mov rdx, qword [r14]
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___void_const____ptr64____ptr64]
lea rdx, str._dumped_successfully_
mov rcx, rax
call fcn.140001080
lea rdx, [0x140002340]
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 r15, qword [rsp + 0x40]
mov byte [r15 + 4], 0
cmp rbp, 0xf
jbe 0x140004b6b
lea rdx, [rbp + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x140004b62
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004c4c
mov rcx, rsi
call fcn.140006ee8
nop
mov rbx, qword [r14 + 8]
test rbx, rbx
je 0x140004b9e
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x140004b9e
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x140004b9e
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
nop
mov rbx, qword [r12 + 8]
test rbx, rbx
je 0x140004cc5
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x140004cc5
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x140004cc5
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
jmp 0x140004cc5
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rdx, str.Error:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001080
lea rdx, [0x140004f90]
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::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov edx, ebx
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___unsigned_long_int____ptr64]
mov rax, qword [rsp + 0x40]
mov dword [rax], ebx
mov byte [rax + 4], 1
cmp rbp, 0xf
jbe 0x140004c5c
lea rdx, [rbp + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x140004c53
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004c53
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rsi
call fcn.140006ee8
nop
mov rbx, qword [r14 + 8]
test rbx, rbx
je 0x140004c8f
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x140004c8f
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x140004c8f
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
nop
mov rbx, qword [r12 + 8]
test rbx, rbx
je 0x140004cc0
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x140004cc0
mov rdx, qword [rbx]
mov rcx, rbx
call qword [rdx]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x140004cc0
mov rdx, qword [rbx]
mov rcx, rbx
call qword [rdx + 8]
mov r15, qword [rsp + 0x40]
mov rax, r15
mov rcx, qword [rsp + 0x1b0]
xor rcx, rsp
call fcn.1400074e0
mov rbx, qword [rsp + 0x218]
add rsp, 0x1c0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret