Function at 0x180015b78
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x8d0]
sub rsp, 0x9d0
mov rax, qword [0x18003b2e0]
xor rax, rsp
mov qword [rbp + 0x8c0], rax
mov rbx, rcx
mov r15, r8
mov edi, edx
lea rcx, [rbp + 0xc1]
xor edx, edx
mov r8d, 0x7ff
mov byte [rbp + 0xc0], 0
call fcn.18001b160
lea rcx, [rsp + 0x68]
mov r8d, edi
mov rdx, rbx
call fcn.180013ff0
lea rcx, [rsp + 0x68]
call fcn.180014000
lea rcx, [rsp + 0x48]
mov edx, 0x8000
mov r14d, eax
call fcn.18000d4c8
test r14d, r14d
jle 0x180015c05
lea rcx, [rsp + 0x48]
mov edx, r14d
call fcn.18000d510
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
call fcn.18001121c
test eax, eax
je 0x180015c20
lea rdi, [0x18002b4a8]
jmp 0x180015c39
call fcn.180011264
lea rcx, [0x18002b4a8]
lea rdi, [0x18002b4ac]
test eax, eax
cmovne rdi, rcx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rsp + 0x60]
mov edx, 0x28
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x180015c6b
mov rcx, qword [rsp + 0x60]
call fcn.18001103c
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor edx, edx
lea ecx, [rdx + 2]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x180015dcf
lea rdx, [rbp - 0x70]
mov rcx, rax
mov dword [rbp - 0x70], 0x130
call sub.KERNEL32.dll_Process32First
test eax, eax
jne 0x180015ca7
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x180015dcf
mov r8d, dword [rbp - 0x68]
xor edx, edx
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rsi, rax
test rax, rax
jne 0x180015ce5
mov ecx, dword [rbp - 0x68]
mov r9d, dword [rbp - 0x50]
lea r8, [rbp - 0x44]
mov dword [rsp + 0x20], ecx
lea rdx, str._s_t_d_t_d_n
lea rcx, [rsp + 0x48]
call fcn.18000d544
jmp 0x180015d70
lea rdx, [rbp + 0xc0]
mov r8d, 0x800
mov rcx, rax
call fcn.180015e3c
lea rdx, [rsp + 0x40]
neg eax
sbb cl, cl
and byte [rbp + 0xc0], cl
mov ecx, dword [rbp - 0x68]
call qword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
mov ecx, dword [rsp + 0x40]
or edx, 0xffffffff
test eax, eax
cmove ecx, edx
mov dword [rsp + 0x40], ecx
mov rcx, rsi
call fcn.18001121c
mov r9d, dword [rbp - 0x50]
lea rcx, [0x18002b4ac]
test eax, eax
mov eax, dword [rsp + 0x40]
lea r8, [rbp - 0x44]
mov dword [rsp + 0x38], eax
lea rax, [rbp + 0xc0]
cmove rcx, rdi
mov qword [rsp + 0x30], rax
mov eax, dword [rbp - 0x68]
mov qword [rsp + 0x28], rcx
lea rdx, str._s_t_d_t_d_t_s_t_s_t_d_n
lea rcx, [rsp + 0x48]
mov dword [rsp + 0x20], eax
call fcn.18000d544
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rbp - 0x70]
mov rcx, rbx
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x180015ca7
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rsp + 0x48]
call fcn.18000d540
lea rcx, [rsp + 0x48]
mov ebx, eax
call fcn.18000d5a4
mov edx, ebx
mov r8d, send
mov rcx, rax
test r14d, r14d
je 0x180015dc2
mov r8d, reloc.WS2_32.dll_shutdown
call r15
lea rcx, [rsp + 0x48]
call fcn.18000d4a4
mov rcx, qword [rbp + 0x8c0]
xor rcx, rsp
call fcn.18001ac30
mov rbx, qword [rsp + 0xa18]
add rsp, 0x9d0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret