Function at 0x18001ff58
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x9f0
mov byte [rsp + 0x1f0], 0
lea rax, [rsp + 0x1f1]
mov rdi, rax
xor eax, eax
mov ecx, 0x7ff
rep stosb byte [rdi], al
lea rax, [0x180067618]
mov qword [rsp + 0x80], rax
lea rax, [0x18006761c]
mov qword [rsp + 0x90], rax
mov r8d, dword [rsp + 0xa08]
mov rdx, qword [rsp + 0xa00]
lea rcx, [rsp + 0xa8]
call fcn.18001b280
lea rcx, [rsp + 0xa8]
call fcn.18001b2c4
mov dword [rsp + 0x40], eax
mov edx, 0x8000
lea rcx, [rsp + 0x68]
call fcn.18000d374
cmp dword [rsp + 0x40], 0
jle 0x18001fffa
mov edx, dword [rsp + 0x40]
lea rcx, [rsp + 0x68]
call fcn.18000d3ac
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
call fcn.1800136f0
test eax, eax
je 0x18002001e
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0xa0], rax
jmp 0x180020059
call fcn.18001374c
test eax, eax
je 0x180020039
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x88], rax
jmp 0x180020049
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0xa0], rax
xor edx, edx
mov ecx, 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0xffffffffffffffff
jne 0x180020081
lea rcx, [rsp + 0x68]
call fcn.18000d338
jmp 0x18002028d
mov dword [rsp + 0xc0], 0x130
lea rdx, [rsp + 0xc0]
mov rcx, qword [rsp + 0x48]
call sub.KERNEL32.dll_Process32First
test eax, eax
jne 0x1800200bb
mov rcx, qword [rsp + 0x48]
call fcn.18003c5fc
lea rcx, [rsp + 0x68]
call fcn.18000d338
jmp 0x18002028d
call fcn.18001ae34
test eax, eax
je 0x1800200ce
mov dword [rsp + 0x50], 0x1000
jmp 0x1800200d6
mov dword [rsp + 0x50], 0x400
mov r8d, dword [rsp + 0xc8]
xor edx, edx
mov ecx, dword [rsp + 0x50]
call fcn.18003ceac
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jne 0x180020127
mov eax, dword [rsp + 0xc8]
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0xe0]
lea r8, [rsp + 0xec]
lea rdx, str._s_t_d_t_d_n
lea rcx, [rsp + 0x68]
call fcn.18000d4dc
jmp 0x1800201fa
mov r8d, 0x800
lea rdx, [rsp + 0x1f0]
mov rcx, qword [rsp + 0x58]
call fcn.1800202ec
test eax, eax
jne 0x180020154
mov eax, 1
imul rax, rax, 0
mov byte [rsp + rax + 0x1f0], 0
lea rdx, [rsp + 0x44]
mov ecx, dword [rsp + 0xc8]
call qword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
test eax, eax
jne 0x180020172
mov dword [rsp + 0x44], 0xffffffff
mov rcx, qword [rsp + 0x58]
call fcn.1800136f0
test eax, eax
je 0x180020192
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x98], rax
jmp 0x1800201a2
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x98], rax
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0x38], eax
lea rax, [rsp + 0x1f0]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0xc8]
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0xe0]
lea r8, [rsp + 0xec]
lea rdx, str._s_t_d_t_d_t_s_t_s_t_d_n
lea rcx, [rsp + 0x68]
call fcn.18000d4dc
mov rcx, qword [rsp + 0x58]
call fcn.18003c5fc
lea rdx, [rsp + 0xc0]
mov rcx, qword [rsp + 0x48]
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x1800200bb
mov rcx, qword [rsp + 0x48]
call fcn.18003c5fc
cmp dword [rsp + 0x40], 0
jne 0x180020255
lea rcx, [rsp + 0x68]
call fcn.18000d4cc
mov dword [rsp + 0x60], eax
lea rcx, [rsp + 0x68]
call fcn.18000d600
mov r8d, reloc.WS2_32.dll_recvfrom
mov ecx, dword [rsp + 0x60]
mov edx, ecx
mov rcx, rax
call qword [rsp + 0xa10]
jmp 0x180020283
lea rcx, [rsp + 0x68]
call fcn.18000d4cc
mov dword [rsp + 0x64], eax
lea rcx, [rsp + 0x68]
call fcn.18000d600
mov r8d, reloc.WS2_32.dll_shutdown
mov ecx, dword [rsp + 0x64]
mov edx, ecx
mov rcx, rax
call qword [rsp + 0xa10]
lea rcx, [rsp + 0x68]
call fcn.18000d338
add rsp, 0x9f0
pop rdi
ret