Function at 0x140052bc0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x4e0
mov rax, qword [0x1401b67c0]
xor rax, rsp
mov qword [rsp + 0x4d0], rax
mov dword [rsp + 0x20], 0
mov rcx, qword [rsp + 0x4f8]
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
inc rax
mov qword [rsp + 0x50], rax
mov eax, 2
mov rcx, qword [rsp + 0x50]
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.1400bc3d8
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x48]
inc rax
mov r8, rax
mov rdx, qword [rsp + 0x4f8]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_mbstowcs]
xor edx, edx
mov ecx, 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0xffffffffffffffff
jne 0x140052cb1
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x60]
call fcn.1400bbf20
lea rdx, [0x1400cfbd0]
mov rcx, qword [rsp + 0x4f0]
call fcn.140049d64
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x4f0]
jmp 0x140052e4c
mov dword [rsp + 0x80], 0x238
lea rax, [rsp + 0x84]
mov rdi, rax
xor eax, eax
mov ecx, 0x234
rep stosb byte [rdi], al
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0x30]
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x140052e06
mov rdx, qword [rsp + 0x28]
lea rcx, [rsp + 0xac]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
jne 0x140052dec
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r8d, dword [rsp + 0x88]
xor edx, edx
mov ecx, 0x1000
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
je 0x140052daf
mov dword [rsp + 0x40], 0x104
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x2c0]
xor edx, edx
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_QueryFullProcessImageNameW]
test eax, eax
je 0x140052da4
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x68], rax
mov rcx, qword [rsp + 0x68]
call fcn.1400bbf20
lea rdx, [rsp + 0x2c0]
mov rcx, qword [rsp + 0x4f0]
call fcn.140049d64
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x4f0]
jmp 0x140052e4c
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x70], rax
mov rcx, qword [rsp + 0x70]
call fcn.1400bbf20
lea rdx, [0x1400cfbd4]
mov rcx, qword [rsp + 0x4f0]
call fcn.140049d64
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x4f0]
jmp 0x140052e4c
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0x30]
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x140052cea
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x78], rax
mov rcx, qword [rsp + 0x78]
call fcn.1400bbf20
lea rdx, [0x1400cfbd8]
mov rcx, qword [rsp + 0x4f0]
call fcn.140049d64
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x4f0]
mov rcx, qword [rsp + 0x4d0]
xor rcx, rsp
call fcn.1400bbdc0
add rsp, 0x4e0
pop rdi
ret