Function at 0x180006290
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0xa08
mov rax, qword [0x18001b008]
xor rax, rsp
mov qword [rsp + 0x9f0], rax
lea rax, [rsp + 0x1f0]
mov rdi, rax
xor eax, eax
mov ecx, 0x800
rep stosb byte [rdi], al
lea rax, [0x180016154]
mov qword [rsp + 0x60], rax
lea rax, [0x180016174]
mov qword [rsp + 0x78], rax
mov rcx, qword [rsp + 0xa28]
call fcn.180005230
mov dword [rsp + 0x40], eax
mov edx, 0x8000
mov rcx, qword [rsp + 0xa30]
call fcn.180005b18
cmp dword [rsp + 0x40], 0
jle 0x180006321
mov edx, dword [rsp + 0x40]
mov rcx, qword [rsp + 0xa30]
call fcn.180005d2c
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
call fcn.180006808
test eax, eax
je 0x180006342
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x80], rax
jmp 0x18000636e
call fcn.180006864
test eax, eax
je 0x180006357
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x68], rax
jmp 0x180006361
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x80], rax
xor edx, edx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0xffffffffffffffff
jne 0x1800063b3
lea rax, [0x180016178]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0xa30]
call fcn.180005e40
mov eax, 0x1f
jmp 0x1800065ee
mov dword [rsp + 0x90], 0x130
lea rdx, [rsp + 0x90]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
jne 0x18000640b
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rax, str.CreateToolhelp32Snapshot__Process32First
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0xa30]
call fcn.180005e40
mov eax, 0x1f
jmp 0x1800065ee
call fcn.180006254
test eax, eax
je 0x18000641e
mov dword [rsp + 0x44], 0x1000
jmp 0x180006426
mov dword [rsp + 0x44], 0x400
mov r8d, dword [rsp + 0x98]
xor edx, edx
mov ecx, dword [rsp + 0x44]
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jne 0x1800064a0
lea rax, [rsp + 0x1c0]
lea rcx, str._nd__td__ts_
mov rdi, rax
mov rsi, rcx
mov ecx, 0xa
rep movsb byte [rdi], byte [rsi]
lea rcx, [rsp + 0x1c0]
call sub.msvcrt.dll__strrev
mov ecx, dword [rsp + 0x98]
mov dword [rsp + 0x20], ecx
mov r9d, dword [rsp + 0xb0]
lea r8, [rsp + 0xbc]
mov rdx, rax
mov rcx, qword [rsp + 0xa30]
call fcn.180005d64
jmp 0x1800065aa
mov r8d, 0x800
lea rdx, [rsp + 0x1f0]
mov rcx, qword [rsp + 0x58]
call fcn.1800061f8
test eax, eax
jne 0x1800064e9
mov eax, 1
imul rax, rax, 0
mov qword [rsp + 0x70], rax
cmp qword [rsp + 0x70], 0x800
jae 0x1800064d7
jmp 0x1800064dc
call fcn.180014100
mov rax, qword [rsp + 0x70]
mov byte [rsp + rax + 0x1f0], 0
lea rdx, [rsp + 0x48]
mov ecx, dword [rsp + 0x98]
call qword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
test eax, eax
jne 0x180006507
mov dword [rsp + 0x48], 0xffffffff
mov rcx, qword [rsp + 0x58]
call fcn.180006808
test eax, eax
je 0x180006524
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x88], rax
jmp 0x180006534
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x88], rax
lea rax, [rsp + 0x1d0]
lea rcx, str._nd__ts__ts__td__td__ts_
mov rdi, rax
mov rsi, rcx
mov ecx, 0x13
rep movsb byte [rdi], byte [rsi]
lea rcx, [rsp + 0x1d0]
call sub.msvcrt.dll__strrev
mov ecx, dword [rsp + 0x48]
mov dword [rsp + 0x38], ecx
lea rcx, [rsp + 0x1f0]
mov qword [rsp + 0x30], rcx
mov rcx, qword [rsp + 0x88]
mov qword [rsp + 0x28], rcx
mov ecx, dword [rsp + 0x98]
mov dword [rsp + 0x20], ecx
mov r9d, dword [rsp + 0xb0]
lea r8, [rsp + 0xbc]
mov rdx, rax
mov rcx, qword [rsp + 0xa30]
call fcn.180005d64
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rsp + 0x90]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x18000640b
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [rsp + 0x40], 0
jne 0x1800065e9
mov eax, 0x11
jmp 0x1800065ee
mov eax, 0x16
mov rcx, qword [rsp + 0x9f0]
xor rcx, rsp
call fcn.180013f90
add rsp, 0xa08
pop rdi
pop rsi
ret