Function at 0x140050f04
Capabilities:
Enumerate processes

Disassembly:
jmp 0x14005b280
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x778
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x146
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x798]
mov rax, qword [0x14013a908]
xor rax, rbp
mov qword [rbp + 0x748], rax
lea rcx, [0x14014d429]
call fcn.1400529c1
mov qword [rbp + 0x268], 0xffffffffffffffff
mov qword [rbp + 0x288], 0xffffffffffffffff
mov dword [rbp + 0x4d4], 0x104
mov qword [rbp + 0x4f8], 0
xor edx, edx
mov ecx, 2
call fcn.140050b58
mov qword [rbp + 0x268], rax
cmp qword [rbp + 0x268], 0xffffffffffffffff
jne 0x14005b327
lea rcx, str.____Could_not_get_a_snapshot_of_the_systems_processes__CreateToolhelp32Snapshot_
call fcn.140051549
mov eax, 0xffffffff
jmp 0x14005b51f
mov dword [rbp + 0x10], 0x238
lea rdx, [rbp + 0x10]
mov rcx, qword [rbp + 0x268]
call fcn.1400512d8
test eax, eax
jne 0x14005b353
lea rcx, str.____Could_not_retrieve_information_about_the_first_process__Process32First_
call fcn.140051549
jmp 0x14005b4ec
cmp dword [rbp + 0x18], 0
jne 0x14005b35e
jmp 0x14005b4c3
mov r8d, dword [rbp + 0x18]
xor edx, edx
mov ecx, 0x1000
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rbp + 0x288], rax
cmp qword [rbp + 0x288], 0
je 0x14005b38a
cmp qword [rbp + 0x288], 0xffffffffffffffff
jne 0x14005b39e
mov edx, dword [rbp + 0x18]
lea rcx, str.___Couldnt_open_handle_on_process__OpenProcess_with_PROCESS_QUERY_LIMITED_INFORMATION___ld_n
call fcn.14004f249
jmp 0x14005b4c3
mov dword [rbp + 0x4d4], 0x104
lea r9, [rbp + 0x4d4]
lea r8, [rbp + 0x2b0]
xor edx, edx
mov rcx, qword [rbp + 0x288]
call qword [sym.imp.KERNEL32.dll_QueryFullProcessImageNameW]
test eax, eax
jne 0x14005b3f3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
mov edx, dword [rbp + 0x18]
lea rcx, str.___Couldnt_query_image_information_of_process_with_PID__ld__QueryFullProcessImageName_failed_with_0x_x__n
call fcn.14004f249
mov rcx, qword [rbp + 0x288]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14005b4c3
lea rcx, [rbp + 0x2b0]
call fcn.1400518e6
test eax, eax
jne 0x14005b417
lea rcx, [rbp + 0x2b0]
call fcn.140051314
test eax, eax
je 0x14005b4ab
mov edx, 0x20
mov ecx, 1
call fcn.1400510e9
mov qword [rbp + 0x4f8], rax
cmp qword [rbp + 0x4f8], 0
jne 0x14005b44b
mov edx, dword [rbp + 0x18]
lea rcx, str.____Couldnt_alloc_memory_for_binary_path_for_process_with_PID__ld__slistNewEntry__n
call fcn.14004f249
jmp 0x14005b4ec
lea rcx, [rbp + 0x2b0]
call fcn.140050504
mov rcx, qword [rbp + 0x4f8]
mov qword [rcx], rax
mov rax, qword [rbp + 0x4f8]
cmp qword [rax], 0
jne 0x14005b47f
mov edx, dword [rbp + 0x18]
lea rcx, str.____Couldnt_alloc_memory_for_binary_path_for_process_with_PID__ld__slistNewEntry__binaryPath__n
call fcn.14004f249
jmp 0x14005b4ec
mov rdx, qword [rbp + 0x4f8]
mov rcx, qword [rbp + 0x770]
call fcn.140052f75
mov rax, qword [rbp + 0x4f8]
mov r8, qword [rax]
mov edx, dword [rbp + 0x18]
lea rcx, str.___Found_EDR_binary_in_execution__process_with_PID__i_:___s__n
call fcn.14004f249
mov rcx, qword [rbp + 0x288]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbp + 0x288], 0xffffffffffffffff
lea rdx, [rbp + 0x10]
mov rcx, qword [rbp + 0x268]
call fcn.14005213d
test eax, eax
jne 0x14005b353
mov rcx, qword [rbp + 0x268]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x14005b51f
cmp qword [rbp + 0x268], 0xffffffffffffffff
je 0x14005b503
mov rcx, qword [rbp + 0x268]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rbp + 0x288], 0xffffffffffffffff
je 0x14005b51a
mov rcx, qword [rbp + 0x288]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 0xffffffff
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x140104fe0]
call fcn.140051f80
mov rax, rdi
mov rcx, qword [rbp + 0x748]
xor rcx, rbp
call fcn.140050bd0
lea rsp, [rbp + 0x758]
pop rdi
pop rbp
ret