Function at 0x1800041b8
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x8d0]
sub rsp, 0x9d0
mov r12, r8
mov ebx, edx
mov rdi, rcx
xor edx, edx
mov r8d, 0x800
lea rcx, [rbp + 0xd0]
call sub.msvcrt.dll_memset
mov r8d, ebx
lea rcx, [rbp - 0x80]
mov rdx, rdi
call fcn.180005a80
lea rcx, [rbp - 0x80]
call fcn.180005a90
mov edx, 0x8000
lea rcx, [rsp + 0x40]
mov r14d, eax
call fcn.18000270c
test r14d, r14d
jle 0x180004231
mov edx, r14d
lea rcx, [rsp + 0x40]
call fcn.18000273c
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
call fcn.18000459c
test eax, eax
je 0x18000424c
lea rsi, [0x180010a00]
jmp 0x180004265
call entry0
test eax, eax
lea rcx, [0x180010a00]
lea rsi, [0x180010a04]
cmovne rsi, rcx
xor edx, edx
lea ecx, [rdx + 2]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x18000441f
lea rdx, [rbp - 0x60]
mov dword [rbp - 0x60], 0x130
mov rcx, rax
call sub.KERNEL32.dll_Process32First
test eax, eax
jne 0x1800042a1
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x18000441f
call fcn.180004448
mov r8d, dword [rbp - 0x58]
neg eax
sbb ecx, ecx
xor edx, edx
and ecx, 0xc00
add ecx, 0x400
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov r15, rax
test rax, rax
jne 0x18000430f
movzx ecx, word [0x180010a10]
movsd xmm0, qword [str._nd__td__ts_]
mov word [rsp + 0x60], cx
lea rcx, [rsp + 0x58]
movsd qword [rsp + 0x58], 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 + 0x40]
call fcn.180002770
jmp 0x1800043ca
mov r8d, 0x800
lea rdx, [rbp + 0xd0]
mov rcx, r15
call fcn.1800040e4
neg eax
lea rdx, [rbp + 0x918]
sbb cl, cl
and byte [rbp + 0xd0], cl
mov ecx, dword [rbp - 0x58]
call qword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
mov ecx, dword [rbp + 0x918]
or edx, 0xffffffff
test eax, eax
cmove ecx, edx
mov dword [rbp + 0x918], ecx
mov rcx, r15
call fcn.18000459c
movups xmm0, xmmword [str._nd__ts__ts__td__td__ts_]
test eax, eax
lea rbx, [0x180010a04]
movzx eax, word [0x180010a28]
lea rcx, [rsp + 0x68]
mov word [rsp + 0x78], ax
cmove rbx, rsi
mov al, byte [0x180010a2a]
mov byte [rsp + 0x7a], al
movups xmmword [rsp + 0x68], xmm0
call sub.msvcrt.dll__strrev
mov r9d, dword [rbp - 0x40]
lea r8, [rbp - 0x34]
mov rdx, rax
lea rcx, [rsp + 0x40]
mov eax, dword [rbp + 0x918]
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.180002770
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rbp - 0x60]
mov rcx, rdi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x1800042a1
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rsp + 0x40]
call fcn.18000276c
lea rcx, [rsp + 0x40]
mov ebx, eax
call fcn.1800027cc
mov rcx, rax
mov edx, ebx
mov r8d, send
test r14d, r14d
je 0x18000441c
mov r8d, reloc.WS2_32.dll_shutdown
call r12
lea rcx, [rsp + 0x40]
call fcn.1800026e8
lea r11, [rsp + 0x9d0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret