Function at 0x180004690
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x18], r8
push rbp
push rbx
push rsi
push rdi
push r12
push r15
lea rbp, [rsp - 0x8d8]
sub rsp, 0x9d8
mov ebx, edx
mov rdi, rcx
xor edx, edx
lea rcx, [rbp + 0xd0]
mov r8d, 0x800
call sub.msvcrt.dll_memset
mov r8d, ebx
lea rcx, [rbp - 0x78]
mov rdx, rdi
call fcn.180006180
lea rcx, [rbp - 0x78]
call fcn.180006190
mov edx, 0x8000
mov dword [rsp + 0x40], eax
lea rcx, [rsp + 0x48]
mov r15d, eax
call fcn.1800028a0
test r15d, r15d
jle 0x180004705
mov edx, r15d
lea rcx, [rsp + 0x48]
call fcn.1800028d0
mov qword [rsp + 0x9d0], r14
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
call fcn.180004af0
test eax, eax
je 0x180004728
lea r14, [0x1800109d8]
jmp 0x180004741
call entry0
test eax, eax
lea rcx, [0x1800109d8]
lea r14, [0x1800109dc]
cmovne r14, rcx
xor edx, edx
lea ecx, [rdx + 2]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x180004938
lea rdx, [rbp - 0x60]
mov dword [rbp - 0x60], 0x130
mov rcx, rax
call sub.KERNEL32.dll_Process32First
test eax, eax
jne 0x18000477d
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x180004938
xor r12d, r12d
mov qword [rsp + 0xa10], r13
or r15d, 0xffffffff
mov r13d, 0x1000
call fcn.180004960
mov r8d, dword [rbp - 0x58]
test eax, eax
mov ecx, 0x400
cmovne ecx, r13d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdi, rax
test rax, rax
jne 0x1800047fb
movzx ecx, word [0x1800109e8]
movsd xmm0, qword [str._nd__td__ts_]
mov word [rsp + 0x68], cx
lea rcx, [rsp + 0x60]
movsd qword [rsp + 0x60], xmm0
call sub.msvcrt.dll__strrev
mov ecx, dword [rbp - 0x58]
lea r8, [rbp - 0x34]
mov r9d, dword [rbp - 0x40]
mov rdx, rax
mov dword [rsp + 0x20], ecx
lea rcx, [rsp + 0x48]
call fcn.180002900
jmp 0x1800048bc
mov r8d, 0x800
lea rdx, [rbp + 0xd0]
mov rcx, rdi
call fcn.1800045a0
movzx ecx, byte [rbp + 0xd0]
lea rdx, [rbp + 0x928]
test eax, eax
cmove ecx, r12d
mov byte [rbp + 0xd0], cl
mov ecx, dword [rbp - 0x58]
call qword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
mov ecx, dword [rbp + 0x928]
test eax, eax
cmove ecx, r15d
mov dword [rbp + 0x928], ecx
mov rcx, rdi
call fcn.180004af0
movups xmm0, xmmword [str._nd__ts__ts__td__td__ts_]
test eax, eax
lea rbx, [0x1800109dc]
movzx eax, word [0x180010a00]
lea rcx, [rsp + 0x70]
mov word [rbp - 0x80], ax
cmove rbx, r14
movzx eax, byte [0x180010a02]
mov byte [rbp - 0x7e], al
movups xmmword [rsp + 0x70], xmm0
call sub.msvcrt.dll__strrev
mov r9d, dword [rbp - 0x40]
lea r8, [rbp - 0x34]
mov rdx, rax
lea rcx, [rsp + 0x48]
mov eax, dword [rbp + 0x928]
mov dword [rsp + 0x38], eax
lea rax, [rbp + 0xd0]
mov qword [rsp + 0x30], rax
mov eax, dword [rbp - 0x58]
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], eax
call fcn.180002900
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rbp - 0x60]
mov rcx, rsi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x180004792
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r15d, dword [rsp + 0x40]
lea rcx, [rsp + 0x48]
mov r13, qword [rsp + 0xa10]
mov r12, qword [rbp + 0x920]
test r15d, r15d
jne 0x180004919
call fcn.1800061d0
lea rcx, [rsp + 0x48]
mov ebx, eax
call fcn.180002990
mov r8d, send
jmp 0x180004930
call fcn.1800061d0
lea rcx, [rsp + 0x48]
mov ebx, eax
call fcn.180002990
mov r8d, reloc.WS2_32.dll_shutdown
mov edx, ebx
mov rcx, rax
call r12
lea rcx, [rsp + 0x48]
call fcn.180002870
mov r14, qword [rsp + 0x9d0]
add rsp, 0x9d8
pop r15
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret