Function at 0x1400029d4
Capabilities:
Enumerate processes

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x1978]
mov eax, 0x1a60
call fcn.140016e10
sub rsp, rax
mov rax, qword [0x140028010]
xor rax, rsp
mov qword [rbp + 0x1950], rax
mov r14, rcx
mov rdi, qword [rcx]
mov rsi, qword [rdi + 8]
xor r15d, r15d
jmp 0x140002a47
mov r8, qword [rsi + 0x10]
mov rdx, r14
mov rcx, r14
call fcn.140004828
mov rbx, rsi
mov rsi, qword [rsi]
lea rcx, [rbx + 0x30]
call fcn.140002140
mov edx, 0x50
mov rcx, rbx
call fcn.140015adc
cmp byte [rsi + 0x19], r15b
je 0x140002a1c
mov qword [rdi + 8], rdi
mov qword [rdi], rdi
mov qword [rdi + 0x10], rdi
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 0x140002a77
xor eax, eax
jmp 0x140002cc1
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 0x140002ca8
mov ebx, 4
mov rax, qword gs:[0x58]
mov rsi, qword [rax]
mov rax, qword [r14]
mov rcx, qword [rax + 8]
mov rdx, rax
mov r8d, dword [rbp - 0x40]
jmp 0x140002af5
cmp dword [rcx + 0x20], r8d
jae 0x140002aef
mov rcx, qword [rcx + 0x10]
jmp 0x140002af5
mov rdx, rcx
mov rcx, qword [rcx]
cmp byte [rcx + 0x19], r15b
je 0x140002ae3
cmp byte [rdx + 0x19], r15b
jne 0x140002b07
cmp r8d, dword [rdx + 0x20]
jae 0x140002b0a
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 [rbx + rsi]
cmp dword [0x14002cf7c], eax
jle 0x140002b9d
lea rcx, [0x14002cf7c]
call fcn.140015ca8
cmp dword [0x14002cf7c], 0xffffffff
jne 0x140002b9d
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 [0x14002cf50], rax
lea rcx, [0x14002cf7c]
call fcn.140015c48
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 0x140002bd1
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 0x140002c4f
xor edx, edx
mov r8d, 0x1770
lea rcx, [rbp + 0x1e0]
call sub.VCRUNTIME140.dll_memset
mov rax, qword [0x14002cf50]
test rax, rax
je 0x140002c14
mov dword [rsp + 0x30], 0xbb7
lea r9, [rsp + 0x30]
lea r8, [rbp + 0x1e0]
xor edx, edx
mov rcx, rbx
call qword [0x140019d50]
test eax, eax
jne 0x140002c30
mov r9d, 0xbb7
lea r8, [rbp + 0x1e0]
xor edx, edx
mov rcx, rbx
call qword [sym.imp.PSAPI.DLL_GetModuleFileNameExW]
test eax, eax
je 0x140002c41
lea rdx, [rbp + 0x1e0]
lea rcx, [rsp + 0x50]
call fcn.140002250
test rbx, rbx
je 0x140002c4f
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.1400044e8
nop
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x38]
mov rcx, r14
call fcn.1400045ec
nop
lea rcx, [rbp - 0x80]
call fcn.140002140
lea rdx, [rbp - 0x60]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
mov ebx, 4
jne 0x140002ad3
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rcx, [rsp + 0x50]
call fcn.140002140
mov eax, 1
mov rcx, qword [rbp + 0x1950]
xor rcx, rsp
call fcn.140015a80
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