Function at 0x140005250
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x1960]
mov eax, 0x1a60
call fcn.14001ae40
sub rsp, rax
mov rax, qword [0x14002f010]
xor rax, rsp
mov qword [rbp + 0x1950], rax
mov r14, rcx
mov rsi, qword [rcx]
mov rdi, qword [rsi + 8]
xor r15d, r15d
cmp byte [rdi + 0x19], r15b
jne 0x140005319
nop dword [rax]
mov r8, qword [rdi + 0x10]
mov rdx, r14
mov rcx, r14
call fcn.140004ca0
mov rbx, rdi
mov rdi, qword [rdi]
mov rdx, qword [rbx + 0x48]
cmp rdx, 8
jb 0x1400052f5
mov rcx, qword [rbx + 0x30]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x1400052f0
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400055e9
mov rcx, r8
call fcn.140019b0c
mov qword [rbx + 0x40], r15
mov qword [rbx + 0x48], 7
mov word [rbx + 0x30], r15w
mov edx, 0x50
mov rcx, rbx
call fcn.140019b0c
cmp byte [rdi + 0x19], r15b
je 0x1400052a0
mov qword [rsi + 8], rsi
mov qword [rsi], rsi
mov qword [rsi + 0x10], rsi
mov qword [r14 + 8], r15
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x140005343
xor eax, eax
jmp 0x140005601
mov dword [rbp - 0x60], 0x238
xor edx, edx
mov r8d, 0x234
lea rcx, [rbp - 0x5c]
call sub.VCRUNTIME140.dll_memset
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x68], 7
mov word [rsp + 0x50], r15w
lea rdx, [rbp - 0x60]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x1400055a6
mov esi, 4
mov rax, qword gs:[0x58]
add rsi, qword [rax]
nop
mov rax, qword [r14]
mov rcx, qword [rax + 8]
mov rdx, rax
mov r8d, dword [rbp - 0x40]
cmp byte [rcx + 0x19], 0
jne 0x1400053cc
cmp dword [rcx + 0x20], r8d
jae 0x1400053c0
mov rcx, qword [rcx + 0x10]
jmp 0x1400053c6
mov rdx, rcx
mov rcx, qword [rcx]
cmp byte [rcx + 0x19], 0
je 0x1400053b4
cmp byte [rdx + 0x19], 0
jne 0x1400053d8
cmp r8d, dword [rdx + 0x20]
jae 0x1400053db
mov rdx, rax
mov ecx, dword [rbp - 0x58]
mov dword [rsp + 0x48], ecx
mov ecx, r15d
cmp rdx, rax
cmovne ecx, r8d
mov dword [rsp + 0x4c], ecx
mov qword [rsp + 0x60], r15
lea rax, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae rax, qword [rsp + 0x50]
mov word [rax], r15w
xor edx, edx
mov r8d, 0x1770
lea rcx, [rbp + 0x1e0]
call sub.VCRUNTIME140.dll_memset
mov eax, dword [rsi]
cmp dword [0x140034a7c], eax
jle 0x14000546d
lea rcx, [0x140034a7c]
call fcn.140019cd8
cmp dword [0x140034a7c], 0xffffffff
jne 0x14000546d
lea rcx, str.Kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.QueryFullProcessImageNameW
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140034a50], rax
lea rcx, [0x140034a7c]
call fcn.140019c78
mov r8d, dword [rsp + 0x48]
xor edx, edx
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
jne 0x1400054a1
mov r8d, dword [rsp + 0x48]
xor edx, edx
mov ecx, 0x1000
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
je 0x14000551f
xor edx, edx
mov r8d, 0x1770
lea rcx, [rbp + 0x1e0]
call sub.VCRUNTIME140.dll_memset
mov rax, qword [0x140034a50]
test rax, rax
je 0x1400054e4
mov dword [rsp + 0x30], 0xbb7
lea r9, [rsp + 0x30]
lea r8, [rbp + 0x1e0]
xor edx, edx
mov rcx, rbx
call qword [0x14001dec0]
test eax, eax
jne 0x140005500
mov r9d, 0xbb7
lea r8, [rbp + 0x1e0]
xor edx, edx
mov rcx, rbx
call qword [sym.imp.PSAPI.DLL_GetModuleFileNameExW]
test eax, eax
je 0x140005511
lea rdx, [rbp + 0x1e0]
lea rcx, [rsp + 0x50]
call fcn.140002258
test rbx, rbx
je 0x14000551f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x70], eax
mov dword [rsp + 0x78], eax
mov eax, dword [rsp + 0x4c]
mov dword [rsp + 0x7c], eax
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x80]
call fcn.140004960
nop
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x38]
mov rcx, r14
call fcn.140004a64
nop
mov rdx, qword [rbp - 0x68]
cmp rdx, 8
jb 0x140005591
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000558c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400055f0
call fcn.140019b0c
lea rdx, [rbp - 0x60]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x1400053a0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 8
jb 0x1400055fc
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400055f7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400055f7
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 fcn.140019b0c
mov eax, 1
mov rcx, qword [rbp + 0x1950]
xor rcx, rsp
call fcn.140019ab0
lea r11, [rsp + 0x1a60]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret