Function at 0x180019810
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, [0x18005e5c8]
mov qword [rsp + 0x80], rax
lea rax, [0x18005e5cc]
mov qword [rsp + 0x90], rax
mov r8d, dword [rsp + 0xa08]
mov rdx, qword [rsp + 0xa00]
lea rcx, [rsp + 0xa8]
call fcn.1800168d8
lea rcx, [rsp + 0xa8]
call fcn.18001691c
mov dword [rsp + 0x40], eax
mov edx, 0x8000
lea rcx, [rsp + 0x68]
call fcn.18000cbd0
cmp dword [rsp + 0x40], 0
jle 0x1800198b2
mov edx, dword [rsp + 0x40]
lea rcx, [rsp + 0x68]
call fcn.18000cc08
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
call fcn.18000fea8
test eax, eax
je 0x1800198d6
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0xa0], rax
jmp 0x180019911
call fcn.18000ff04
test eax, eax
je 0x1800198f1
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x88], rax
jmp 0x180019901
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 0x180019939
lea rcx, [rsp + 0x68]
call fcn.18000cb94
jmp 0x180019b49
mov dword [rsp + 0xc0], 0x130
lea rdx, [rsp + 0xc0]
mov rcx, qword [rsp + 0x48]
call sub.KERNEL32.dll_Process32First
test eax, eax
jne 0x180019974
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rsp + 0x68]
call fcn.18000cb94
jmp 0x180019b49
call fcn.18001648c
test eax, eax
je 0x180019987
mov dword [rsp + 0x50], 0x1000
jmp 0x18001998f
mov dword [rsp + 0x50], 0x400
mov r8d, dword [rsp + 0xc8]
xor edx, edx
mov ecx, dword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jne 0x1800199e1
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.18000cc4c
jmp 0x180019aaa
mov r8d, 0x800
lea rdx, [rsp + 0x1f0]
mov rcx, qword [rsp + 0x58]
call fcn.180019ba8
test eax, eax
jne 0x180019a0e
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 0x180019a2c
mov dword [rsp + 0x44], 0xffffffff
mov rcx, qword [rsp + 0x58]
call fcn.18000fea8
test eax, eax
je 0x180019a4c
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x98], rax
jmp 0x180019a5c
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.18000cc4c
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rsp + 0xc0]
mov rcx, qword [rsp + 0x48]
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x180019974
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [rsp + 0x40], 0
jne 0x180019b11
lea rcx, [rsp + 0x68]
call fcn.18000cc3c
mov dword [rsp + 0x60], eax
lea rcx, [rsp + 0x68]
call fcn.18000cd70
mov r8d, send
mov ecx, dword [rsp + 0x60]
mov edx, ecx
mov rcx, rax
call qword [rsp + 0xa10]
jmp 0x180019b3f
lea rcx, [rsp + 0x68]
call fcn.18000cc3c
mov dword [rsp + 0x64], eax
lea rcx, [rsp + 0x68]
call fcn.18000cd70
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.18000cb94
add rsp, 0x9f0
pop rdi
ret