Function at 0x140052560
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
sub rsp, 0x180
mov rax, qword [0x1400d9180]
xor rax, rsp
mov qword [rsp + 0x170], rax
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x1400525d1
lea rdx, str.Error_creating_process_snapshot._Error_code:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcerr]
call fcn.140058820
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov rcx, rbx
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___unsigned_long_int____ptr64]
mov rcx, rax
lea rdx, [0x140058c30]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
xor al, al
jmp 0x140052779
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x40], 0x130
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
jne 0x1400525fd
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, str.Error_getting_the_first_process._Error_code:
jmp 0x14005259a
mov qword [rsp + 0x190], rbp
lea rbp, str.UnrealCEFSubProcess.exe
mov qword [rsp + 0x1a0], r14
xor r14d, r14d
mov qword [rsp + 0x198], rdi
nop
xorps xmm0, xmm0
mov qword [rsp + 0x30], r14
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x38], r14
lea rax, [rsp + 0x6c]
mov r9, 0xffffffffffffffff
nop
inc r9
cmp byte [rax + r9], r14b
jne 0x140052640
lea r8, [rsp + 0x6c]
add r8, r9
lea rax, [rsp + 0x6c]
cmp rax, r8
jne 0x140052677
mov edi, 7
mov word [rsp + 0x20], r14w
mov rbx, qword [rsp + 0x20]
lea rdx, [rsp + 0x20]
mov qword [rsp + 0x38], rdi
jmp 0x14005269d
lea rdx, [rsp + 0x6c]
lea rcx, [rsp + 0x20]
call fcn.14005a970
mov rdi, qword [rsp + 0x38]
lea rdx, [rsp + 0x20]
mov rbx, qword [rsp + 0x20]
cmp rdi, 7
cmova rdx, rbx
mov rax, r14
movzx ecx, word [rdx + rax*2]
cmp cx, word [rbp + rax*2]
jne 0x140052709
movzx ecx, word [rdx + rax*2 + 2]
cmp cx, word [rbp + rax*2 + 2]
jne 0x140052709
add rax, 2
cmp rax, 0x18
jne 0x1400526a0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp rdi, 7
jbe 0x140052705
lea rdx, [rdi*2 + 2]
mov rax, rbx
cmp rdx, 0x1000
jb 0x1400526fd
mov rbx, qword [rbx - 8]
add rdx, 0x27
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005279a
mov rcx, rbx
call fcn.1400a8b60
mov al, 1
jmp 0x140052761
cmp rdi, 7
jbe 0x140052740
lea rdx, [rdi*2 + 2]
mov rax, rbx
cmp rdx, 0x1000
jb 0x140052738
mov rbx, qword [rbx - 8]
add rdx, 0x27
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005279a
mov rcx, rbx
call fcn.1400a8b60
lea rdx, [rsp + 0x40]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x140052620
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
mov rdi, qword [rsp + 0x198]
mov rbp, qword [rsp + 0x190]
mov r14, qword [rsp + 0x1a0]
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.1400a8a70
mov rbx, qword [rsp + 0x1a8]
add rsp, 0x180
pop rsi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3