Function at 0x18001f758
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, [0x180066608]
mov qword [rsp + 0x80], rax
lea rax, [0x18006660c]
mov qword [rsp + 0x90], rax
mov r8d, dword [rsp + 0xa08]
mov rdx, qword [rsp + 0xa00]
lea rcx, [rsp + 0xa8]
call fcn.18001aa80
lea rcx, [rsp + 0xa8]
call fcn.18001aac4
mov dword [rsp + 0x40], eax
mov edx, 0x8000
lea rcx, [rsp + 0x68]
call fcn.18000d374
cmp dword [rsp + 0x40], 0
jle 0x18001f7fa
mov edx, dword [rsp + 0x40]
lea rcx, [rsp + 0x68]
call fcn.18000d3ac
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
call fcn.180012ef0
test eax, eax
je 0x18001f81e
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0xa0], rax
jmp 0x18001f859
call fcn.180012f4c
test eax, eax
je 0x18001f839
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x88], rax
jmp 0x18001f849
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 0x18001f881
lea rcx, [rsp + 0x68]
call fcn.18000d338
jmp 0x18001fa8d
mov dword [rsp + 0xc0], 0x130
lea rdx, [rsp + 0xc0]
mov rcx, qword [rsp + 0x48]
call sub.KERNEL32.dll_Process32First
test eax, eax
jne 0x18001f8bb
mov rcx, qword [rsp + 0x48]
call fcn.18003be64
lea rcx, [rsp + 0x68]
call fcn.18000d338
jmp 0x18001fa8d
call fcn.18001a634
test eax, eax
je 0x18001f8ce
mov dword [rsp + 0x50], 0x1000
jmp 0x18001f8d6
mov dword [rsp + 0x50], 0x400
mov r8d, dword [rsp + 0xc8]
xor edx, edx
mov ecx, dword [rsp + 0x50]
call fcn.18003c714
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jne 0x18001f927
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 0x18001f9fa
mov r8d, 0x800
lea rdx, [rsp + 0x1f0]
mov rcx, qword [rsp + 0x58]
call fcn.18001faec
test eax, eax
jne 0x18001f954
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 0x18001f972
mov dword [rsp + 0x44], 0xffffffff
mov rcx, qword [rsp + 0x58]
call fcn.180012ef0
test eax, eax
je 0x18001f992
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x98], rax
jmp 0x18001f9a2
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.18003be64
lea rdx, [rsp + 0xc0]
mov rcx, qword [rsp + 0x48]
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x18001f8bb
mov rcx, qword [rsp + 0x48]
call fcn.18003be64
cmp dword [rsp + 0x40], 0
jne 0x18001fa55
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 0x18001fa83
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