Function at 0x1800045e0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x18], r8
push rbp
push rbx
push rsi
push rdi
push r15
lea rbp, [rsp - 0x8c0]
sub rsp, 0x9c0
mov ebx, edx
mov rdi, rcx
xor edx, edx
lea rcx, [rbp + 0xb0]
mov r8d, 0x800
call sub.msvcrt.dll_memset
mov r8d, ebx
lea rcx, [rsp + 0x40]
mov rdx, rdi
call fcn.180005f70
lea rcx, [rsp + 0x40]
call fcn.180005f80
mov edx, 0x8000
mov dword [rbp + 0x908], eax
lea rcx, [rsp + 0x40]
mov r15d, eax
call fcn.180002850
test r15d, r15d
jle 0x180004657
mov edx, r15d
lea rcx, [rsp + 0x40]
call fcn.1800028c0
mov qword [rsp + 0x9b0], r14
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
call fcn.1800049a0
test eax, eax
je 0x18000467a
lea r14, [0x1800115d0]
jmp 0x180004693
call entry0
test eax, eax
lea rcx, [0x1800115d0]
lea r14, [0x1800115d4]
cmovne r14, rcx
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x180004883
lea rdx, [rbp - 0x80]
mov dword [rbp - 0x80], 0x130
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
jne 0x1800046d1
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x180004883
mov qword [rsp + 0x9f0], r12
mov r12d, 0x1000
mov qword [rsp + 0x9b8], r13
xor r13d, r13d
or r15d, 0xffffffff
nop
call fcn.1800045c0
mov r8d, dword [rbp - 0x78]
test eax, eax
mov ecx, 0x400
cmovne ecx, r12d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdi, rax
test rax, rax
jne 0x180004759
movzx ecx, word [0x1800115e0]
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 - 0x78]
lea r8, [rbp - 0x54]
mov r9d, dword [rbp - 0x60]
mov rdx, rax
mov dword [rsp + 0x20], ecx
lea rcx, [rsp + 0x40]
call fcn.180002940
jmp 0x180004816
lea rdx, [rbp + 0xb0]
mov rcx, rdi
call fcn.180004570
movzx ecx, byte [rbp + 0xb0]
lea rdx, [rbp + 0x900]
test eax, eax
cmove ecx, r13d
mov byte [rbp + 0xb0], cl
mov ecx, dword [rbp - 0x78]
call qword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
mov ecx, dword [rbp + 0x900]
test eax, eax
cmove ecx, r15d
mov dword [rbp + 0x900], ecx
mov rcx, rdi
call fcn.1800049a0
movups xmm0, xmmword [str._nd__ts__ts__td__td__ts_]
test eax, eax
lea rbx, [0x1800115d4]
movzx eax, word [0x1800115f8]
lea rcx, [rsp + 0x68]
mov word [rsp + 0x78], ax
cmove rbx, r14
movzx eax, byte [0x1800115fa]
mov byte [rsp + 0x7a], al
movups xmmword [rsp + 0x68], xmm0
call sub.msvcrt.dll__strrev
mov r9d, dword [rbp - 0x60]
lea r8, [rbp - 0x54]
mov rdx, rax
lea rcx, [rsp + 0x40]
mov eax, dword [rbp + 0x900]
mov dword [rsp + 0x38], eax
lea rax, [rbp + 0xb0]
mov qword [rsp + 0x30], rax
mov eax, dword [rbp - 0x78]
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], eax
call fcn.180002940
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rbp - 0x80]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x1800046f0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r15d, dword [rbp + 0x908]
lea rcx, [rsp + 0x40]
mov r13, qword [rsp + 0x9b8]
mov r12, qword [rsp + 0x9f0]
call fcn.1800029f0
lea rcx, [rsp + 0x40]
mov edx, eax
call fcn.1800029e0
mov rcx, rax
mov r8d, send
test r15d, r15d
je 0x18000487e
mov r8d, reloc.WS2_32.dll_shutdown
call fcn.180001c60
lea rcx, [rsp + 0x40]
call fcn.1800029b0
mov r14, qword [rsp + 0x9b0]
add rsp, 0x9c0
pop r15
pop rdi
pop rsi
pop rbx
pop rbp
ret