Function at 0x140002a50
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.14001ae40
sub rsp, rax
mov rax, qword [0x14002f010]
xor rax, rsp
mov qword [rbp + 0x1950], rax
mov r14, rcx
mov rdi, qword [rcx]
mov rsi, qword [rdi + 8]
xor r15d, r15d
jmp 0x140002ac3
mov r8, qword [rsi + 0x10]
mov rdx, r14
mov rcx, r14
call fcn.140004ca0
mov rbx, rsi
mov rsi, qword [rsi]
lea rcx, [rbx + 0x30]
call fcn.140002120
mov edx, 0x50
mov rcx, rbx
call fcn.140019b0c
cmp byte [rsi + 0x19], r15b
je 0x140002a98
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 0x140002af3
xor eax, eax
jmp 0x140002d3d
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 0x140002d24
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 0x140002b71
cmp dword [rcx + 0x20], r8d
jae 0x140002b6b
mov rcx, qword [rcx + 0x10]
jmp 0x140002b71
mov rdx, rcx
mov rcx, qword [rcx]
cmp byte [rcx + 0x19], r15b
je 0x140002b5f
cmp byte [rdx + 0x19], r15b
jne 0x140002b83
cmp r8d, dword [rdx + 0x20]
jae 0x140002b86
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 [0x140034a4c], eax
jle 0x140002c19
lea rcx, [0x140034a4c]
call fcn.140019cd8
cmp dword [0x140034a4c], 0xffffffff
jne 0x140002c19
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 [0x140034a20], rax
lea rcx, [0x140034a4c]
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 0x140002c4d
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 0x140002ccb
xor edx, edx
mov r8d, 0x1770
lea rcx, [rbp + 0x1e0]
call sub.VCRUNTIME140.dll_memset
mov rax, qword [0x140034a20]
test rax, rax
je 0x140002c90
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 0x140002cac
mov r9d, 0xbb7
lea r8, [rbp + 0x1e0]
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_K32GetModuleFileNameExW]
test eax, eax
je 0x140002cbd
lea rdx, [rbp + 0x1e0]
lea rcx, [rsp + 0x50]
call fcn.140002258
test rbx, rbx
je 0x140002ccb
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
lea rcx, [rbp - 0x80]
call fcn.140002120
lea rdx, [rbp - 0x60]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
mov ebx, 4
jne 0x140002b4f
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rcx, [rsp + 0x50]
call fcn.140002120
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