Function at 0x140017940
Capabilities:
Enumerate processes

Disassembly:
mov rax, rsp
push rdi
push r14
push r15
sub rsp, 0x2e0
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov rax, qword [0x1400a1640]
xor rax, rsp
mov qword [rsp + 0x2d0], rax
mov r14, rcx
mov qword [rsp + 0x30], rcx
mov rdx, qword [rcx]
cmp dword [rdx - 0x10], 0
jne 0x1400179a2
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14001799b
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
xor eax, eax
jmp 0x140017b9a
xor esi, esi
mov ebp, esi
mov dword [rsp + 0x40], 0x238
xor edx, edx
mov r8d, 0x234
lea rcx, [rsp + 0x44]
call fcn.1400418f0
call fcn.140001e70
mov rcx, rax
mov eax, esi
test rcx, rcx
setne al
test eax, eax
jne 0x1400179df
mov ecx, 0x80004005
call fcn.140001bf0
int3
mov rax, qword [rcx]
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x20], rbx
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov r15, rax
cmp rax, 0xffffffffffffffff
jne 0x140017a38
lea rdx, [rbx - 0x18]
lock add dword [rdx + 0x10], eax
jg 0x140017a16
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [r14]
sub rdx, 0x18
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14001799b
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
xor eax, eax
jmp 0x140017b9a
mov rcx, qword [r14]
cmp dword [rcx - 0x10], 0
jl 0x140017a5d
lea rdx, [0x14008bf3c]
call fcn.1400408a4
test rax, rax
je 0x140017a5d
sub rax, qword [r14]
sar rax, 1
cmp eax, 0xffffffff
jne 0x140017a72
mov r8d, 4
lea rdx, str..exe
mov rcx, r14
call fcn.14000bb30
lea rdx, [rsp + 0x40]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x140017b61
nop dword [rax + rax]
mov rdx, qword [r14]
lea rcx, [rsp + 0x6c]
call fcn.1400411dc
test eax, eax
jne 0x140017b4b
xor eax, eax
mov qword [rsp + 0x284], rax
mov qword [rsp + 0x28c], rax
mov qword [rsp + 0x294], rax
mov qword [rsp + 0x29c], rax
mov qword [rsp + 0x2a4], rax
mov qword [rsp + 0x2ac], rax
mov qword [rsp + 0x2b4], rax
mov qword [rsp + 0x2bc], rax
mov dword [rsp + 0x2c4], eax
mov dword [rsp + 0x280], 0x48
mov r8d, dword [rsp + 0x48]
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdi, rax
test rax, rax
je 0x140017b33
mov r8d, 0x48
lea rdx, [rsp + 0x280]
mov rcx, rax
call qword [sym.imp.PSAPI.DLL_GetProcessMemoryInfo]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rsp + 0x2b8]
test esi, esi
je 0x140017b44
cmp rax, rbp
jb 0x140017b4b
mov esi, dword [rsp + 0x48]
mov rbp, rax
lea rdx, [rsp + 0x40]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140017a90
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rdx, [rbx - 0x18]
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140017b80
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [r14]
sub rdx, 0x18
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140017b98
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [r8 + 8]
mov eax, esi
mov rcx, qword [rsp + 0x2d0]
xor rcx, rsp
call fcn.14003fb60
lea r11, [rsp + 0x2e0]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret