Function at 0x18001ff90
Capabilities:
Enumerate processes

Disassembly:
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x4f0
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov rax, qword [0x1801485f0]
xor rax, rsp
mov qword [rsp + 0x4e8], rax
mov r12, r8
mov rbx, rdx
mov r14, rcx
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x50], r8
xor edx, edx
mov r8d, 0x234
lea rcx, [rsp + 0x74]
call fcn.1800b6c70
mov dword [rsp + 0x70], 0x238
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov r13, rax
mov qword [rsp + 0x40], rax
lea rdx, [rsp + 0x70]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x18002002a
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x180020275
xor r15b, r15b
xor esi, esi
nop
lea rdx, [rsp + 0x70]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
je 0x180020268
mov rcx, r14
call fcn.180013890
mov rdx, rax
lea rcx, [rsp + 0x9c]
call fcn.1800b96c4
test eax, eax
jne 0x180020030
cmp qword [r12 + 0x10], 0
jne 0x1800200e6
mov rax, qword [rbx + 8]
lea rcx, [rsp + 0x78]
cmp rcx, rax
jae 0x1800200bc
mov rcx, qword [rbx]
lea rdx, [rsp + 0x78]
cmp rcx, rdx
ja 0x1800200bc
lea rdi, [rsp + 0x78]
sub rdi, rcx
sar rdi, 2
cmp rax, qword [rbx + 0x10]
jne 0x18002009f
mov rcx, rbx
call fcn.18001db50
mov rax, qword [rbx]
mov rcx, qword [rbx + 8]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x60], rcx
test rcx, rcx
je 0x1800200ba
mov eax, dword [rax + rdi*4]
mov dword [rcx], eax
jmp 0x1800200d9
cmp rax, qword [rbx + 0x10]
jne 0x1800200ca
mov rcx, rbx
call fcn.18001db50
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x1800200d9
mov eax, dword [rsp + 0x78]
mov dword [rcx], eax
add qword [rbx + 8], 4
mov r15b, 1
jmp 0x180020030
mov r8d, dword [rsp + 0x78]
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdi, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x180020030
mov word [rsp + 0x2d0], si
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x2d2]
call fcn.1800b6c70
mov r9d, 0x104
lea r8, [rsp + 0x2d0]
xor edx, edx
mov rcx, rdi
call qword [sym.imp.PSAPI.DLL_GetModuleFileNameExW]
test eax, eax
je 0x180020030
mov qword [rsp + 0x2c0], rsi
mov qword [rsp + 0x2c8], rsi
mov qword [rsp + 0x2c8], 7
mov qword [rsp + 0x2c0], rsi
mov word [rsp + 0x2b0], si
cmp word [rsp + 0x2d0], 0
jne 0x180020183
mov r8, rsi
jmp 0x18002019b
lea rax, [rsp + 0x2d0]
or r8, 0xffffffffffffffff
nop
inc r8
cmp word [rax + r8*2], 0
jne 0x180020190
lea rdx, [rsp + 0x2d0]
lea rcx, [rsp + 0x2b0]
call fcn.1800166f0
nop
cmp qword [r12 + 0x18], 8
jb 0x1800201bf
mov rdx, qword [r12]
jmp 0x1800201c2
mov rdx, r12
mov r9, qword [r12 + 0x10]
xor r8d, r8d
lea rcx, [rsp + 0x2b0]
call fcn.180016dd0
cmp rax, 0xffffffffffffffff
setne r14b
cmp qword [rsp + 0x2c8], 8
jb 0x1800201f7
mov rcx, qword [rsp + 0x2b0]
call fcn.1800b5700
mov qword [rsp + 0x2c8], 7
mov qword [rsp + 0x2c0], rsi
mov word [rsp + 0x2b0], si
test r14b, r14b
je 0x18002022d
lea rdx, [rsp + 0x78]
mov rcx, rbx
call fcn.180021500
mov r15b, 1
mov byte [rsp + 0x20], r15b
mov r14, qword [rsp + 0x28]
jmp 0x18002025a
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x180020030
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movzx eax, r15b
mov rcx, qword [rsp + 0x4e8]
xor rcx, rsp
call fcn.1800b6c40
add rsp, 0x4f0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret