Function at 0x140007190
Capabilities:
Contain obfuscated stackstrings
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x1a0]
sub rsp, 0x2a0
mov rax, qword [0x1400c0078]
xor rax, rsp
mov qword [rbp + 0x190], rax
xor r14b, r14b
mov r15, rcx
test rcx, rcx
je 0x1400073e7
and qword [rsp + 0x30], 0
and dword [rsp + 0x3c], 0
mov dword [rsp + 0x38], 4
call qword [sym.imp.KERNEL32.dll_WTSGetActiveConsoleSessionId]
xor edx, edx
mov dword [rsp + 0x50], pe_nt_image_headers64
mov r12d, eax
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
or rdi, 0xffffffffffffffff
mov rsi, rax
cmp rax, rdi
je 0x1400073e2
lea rdx, [rsp + 0x50]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32First]
cmp eax, 1
jne 0x1400073d9
lea rdx, [rsp + 0x7c]
mov dword [rbp + 0x187], 0x78652e72
lea rcx, [rbp + 0x180]
mov dword [rbp + 0x180], 0x6c707865
mov word [rbp + 0x185], 0x6572
mov word [rbp + 0x18b], 0x65
mov byte [rbp + 0x184], reloc.WS2_32.dll_WSAGetLastError
call fcn.140063454
test eax, eax
jne 0x140007315
mov r8d, dword [rsp + 0x58]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
je 0x140007315
lea r8, [rsp + 0x30]
mov edx, 8
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x140007307
mov r9d, dword [rsp + 0x38]
lea rax, [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
lea r8, [rsp + 0x3c]
mov edx, listen
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x1400072d1
cmp r12d, dword [rsp + 0x3c]
je 0x140007328
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x1400072e7
call qword [sym.imp.KERNEL32.dll_CloseHandle]
and qword [rsp + 0x30], 0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x30]
xor ebx, ebx
test rcx, rcx
je 0x140007315
call qword [sym.imp.KERNEL32.dll_CloseHandle]
and qword [rsp + 0x30], rbx
test rbx, rbx
je 0x140007315
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rsp + 0x50]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Process32Next]
jmp 0x14000721e
and dword [rsp + 0x40], 0
lea rcx, [rbp + 0x80]
mov r12d, 0x100
xor edx, edx
mov r8d, r12d
call fcn.14005c790
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x40]
mov r9d, r12d
mov qword [rsp + 0x20], rax
lea r8, [rbp + 0x80]
mov edx, 1
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x1400073ba
mov rcx, qword [rbp + 0x80]
lea rdx, [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_ConvertSidToStringSidA]
test eax, eax
je 0x1400073ba
mov rcx, qword [rsp + 0x48]
inc rdi
cmp byte [rcx + rdi], 0
jne 0x140007387
mov edx, 0x104
cmp rdi, rdx
jae 0x1400073b4
mov r9, rcx
lea r8, [0x14009e23c]
mov rcx, r15
call fcn.14000c0f4
mov rcx, qword [rsp + 0x48]
mov r14b, 1
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x1400073d0
call qword [sym.imp.KERNEL32.dll_CloseHandle]
and qword [rsp + 0x30], 0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, r14b
jmp 0x1400073e9
xor al, al
mov rcx, qword [rbp + 0x190]
xor rcx, rsp
call fcn.140059ac0
lea r11, [rsp + 0x2a0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret