Function at 0x180003840
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 fcn.18000fc98
mov r8d, ebx
lea rcx, [rbp - 0x78]
mov rdx, rdi
call fcn.180005c80
lea rcx, [rbp - 0x78]
call fcn.180005c90
mov edx, 0x8000
mov dword [rsp + 0x40], eax
lea rcx, [rsp + 0x48]
mov r15d, eax
call fcn.180001790
test r15d, r15d
jle 0x1800038b5
mov edx, r15d
lea rcx, [rsp + 0x48]
call fcn.1800017c0
mov qword [rsp + 0x9d0], r14
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
call fcn.180003bc0
test eax, eax
je 0x1800038d8
lea r14, [0x180011f7c]
jmp 0x1800038f1
call entry0
test eax, eax
lea rcx, [0x180011f7c]
lea r14, [0x180011f80]
cmovne r14, rcx
xor edx, edx
lea ecx, [rdx + 2]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x180003ae8
lea rdx, [rbp - 0x60]
mov dword [rbp - 0x60], 0x130
mov rcx, rax
call sub.KERNEL32.dll_Process32First
test eax, eax
jne 0x18000392d
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x180003ae8
xor r12d, r12d
mov qword [rsp + 0xa10], r13
or r15d, 0xffffffff
mov r13d, 0x1000
call fcn.180005b90
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 0x1800039ab
movzx ecx, word [0x180011f60]
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.180001800
jmp 0x180003a6c
mov r8d, 0x800
lea rdx, [rbp + 0xd0]
mov rcx, rdi
call fcn.180003750
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.180003bc0
movups xmm0, xmmword [str._nd__ts__ts__td__td__ts_]
test eax, eax
lea rbx, [0x180011f80]
movzx eax, word [0x180011f78]
lea rcx, [rsp + 0x70]
mov word [rbp - 0x80], ax
cmove rbx, r14
movzx eax, byte [0x180011f7a]
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.180001800
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 0x180003942
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 0x180003ac9
call fcn.1800017f0
lea rcx, [rsp + 0x48]
mov ebx, eax
call fcn.180001870
mov r8d, send
jmp 0x180003ae0
call fcn.1800017f0
lea rcx, [rsp + 0x48]
mov ebx, eax
call fcn.180001870
mov r8d, reloc.WS2_32.dll_shutdown
mov edx, ebx
mov rcx, rax
call r12
lea rcx, [rsp + 0x48]
call fcn.180001760
mov r14, qword [rsp + 0x9d0]
add rsp, 0x9d8
pop r15
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret