Function at 0x180006770
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, [0x180017114]
mov qword [rsp + 0x60], rax
lea rax, [0x180017134]
mov qword [rsp + 0x78], rax
mov rcx, qword [rsp + 0xa28]
call fcn.1800055f0
mov dword [rsp + 0x40], eax
mov edx, 0x8000
mov rcx, qword [rsp + 0xa30]
call fcn.180005f80
cmp dword [rsp + 0x40], 0
jle 0x180006801
mov edx, dword [rsp + 0x40]
mov rcx, qword [rsp + 0xa30]
call fcn.1800061b0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
call fcn.180006d20
test eax, eax
je 0x180006822
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x80], rax
jmp 0x18000684e
call fcn.180006d80
test eax, eax
je 0x180006837
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x68], rax
jmp 0x180006841
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 0x180006893
lea rax, [0x180017138]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0xa30]
call fcn.1800062d0
mov eax, 0x1f
jmp 0x180006ace
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 0x1800068eb
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.1800062d0
mov eax, 0x1f
jmp 0x180006ace
call fcn.180006730
test eax, eax
je 0x1800068fe
mov dword [rsp + 0x44], 0x1000
jmp 0x180006906
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 0x180006980
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.1800061f0
jmp 0x180006a8a
mov r8d, 0x800
lea rdx, [rsp + 0x1f0]
mov rcx, qword [rsp + 0x58]
call fcn.1800066d0
test eax, eax
jne 0x1800069c9
mov eax, 1
imul rax, rax, 0
mov qword [rsp + 0x70], rax
cmp qword [rsp + 0x70], 0x800
jae 0x1800069b7
jmp 0x1800069bc
call fcn.1800146e0
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 0x1800069e7
mov dword [rsp + 0x48], 0xffffffff
mov rcx, qword [rsp + 0x58]
call fcn.180006d20
test eax, eax
je 0x180006a04
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x88], rax
jmp 0x180006a14
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.1800061f0
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 0x1800068eb
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [rsp + 0x40], 0
jne 0x180006ac9
mov eax, 0x11
jmp 0x180006ace
mov eax, 0x16
mov rcx, qword [rsp + 0x9f0]
xor rcx, rsp
call fcn.180014570
add rsp, 0xa08
pop rdi
pop rsi
ret