Function at 0x140013a5c
Capabilities:
Contain obfuscated stackstrings
Enumerate processes

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x2d0
mov rax, qword [0x1403c86e8]
xor rax, rsp
mov qword [rsp + 0x2c0], rax
mov byte [rsp + 0x30], 0
cmp dword [rsp + 0x2e8], 0
je 0x140013a99
cmp qword [rsp + 0x2e0], 0
jne 0x140013aa2
mov al, byte [rsp + 0x30]
jmp 0x140013e7a
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x48], 4
mov dword [rsp + 0x4c], 0
mov dword [rsp + 0x50], 0xffffffff
call qword [sym.imp.KERNEL32.dll_WTSGetActiveConsoleSessionId]
mov dword [rsp + 0x50], eax
mov qword [rsp + 0x58], 0
mov dword [rsp + 0x80], 0x130
xor edx, edx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0xffffffffffffffff
je 0x140013e76
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_Process32First]
cmp eax, 1
jne 0x140013e6b
mov eax, 1
imul rax, rax, 0xa
mov byte [rsp + rax + 0x2b0], 0x78
mov eax, 1
imul rax, rax, 7
mov byte [rsp + rax + 0x2b0], reloc.OLEAUT32.dll_VarBstrFromDisp
mov eax, 1
imul rax, rax, 0
mov byte [rsp + rax + 0x2b0], 0x65
mov eax, 1
imul rax, rax, 0xc
mov qword [rsp + 0x70], rax
cmp qword [rsp + 0x70], 0xd
jae 0x140013b66
jmp 0x140013b6b
call fcn.14028613c
mov rax, qword [rsp + 0x70]
mov byte [rsp + rax + 0x2b0], 0
mov eax, 1
imul rax, rax, 5
mov byte [rsp + rax + 0x2b0], reloc.OLEAUT32.dll_VarBstrFromDisp
mov eax, 1
imul rax, rax, 8
mov byte [rsp + rax + 0x2b0], reloc.WLDAP32.dll_Ordinal_46
mov eax, 1
imul rax, rax, 9
mov byte [rsp + rax + 0x2b0], 0x65
mov eax, 1
imul rax, rax, 6
mov byte [rsp + rax + 0x2b0], 0x65
mov eax, 1
imul rax, rax, 1
mov byte [rsp + rax + 0x2b0], 0x78
mov eax, 1
imul rax, rax, 0xb
mov byte [rsp + rax + 0x2b0], 0x65
mov eax, 1
imul rax, rax, 3
mov byte [rsp + rax + 0x2b0], WSASetLastError
mov eax, 1
imul rax, rax, 4
mov byte [rsp + rax + 0x2b0], reloc.WS2_32.dll_WSAGetLastError
mov eax, 1
imul rax, rax, 2
mov byte [rsp + rax + 0x2b0], reloc.WS2_32.dll_WSASetLastError
lea rdx, [rsp + 0xac]
lea rcx, [rsp + 0x2b0]
call fcn.14029ac68
test eax, eax
jne 0x140013e4f
mov qword [rsp + 0x40], 0
mov r8d, dword [rsp + 0x88]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
je 0x140013e4f
lea r8, [rsp + 0x38]
mov edx, 8
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x140013e33
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x48]
lea r8, [rsp + 0x4c]
mov edx, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x140013ddf
mov eax, dword [rsp + 0x4c]
cmp dword [rsp + 0x50], eax
jne 0x140013da5
mov dword [rsp + 0x60], 0
mov dword [rsp + 0x1b0], 0
lea rax, [rsp + 0x1b4]
mov rdi, rax
xor eax, eax
mov ecx, 0xfc
rep stosb byte [rdi], al
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 0x100
lea r8, [rsp + 0x1b0]
mov edx, 1
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x140013d66
lea rdx, [rsp + 0x68]
mov rcx, qword [rsp + 0x1b0]
call qword [sym.imp.ADVAPI32.dll_ConvertSidToStringSidA]
test eax, eax
je 0x140013d66
mov rcx, qword [rsp + 0x68]
call fcn.1402958f0
mov ecx, dword [rsp + 0x2e8]
cmp rax, rcx
jae 0x140013d5b
mov eax, dword [rsp + 0x2e8]
mov r9, qword [rsp + 0x68]
lea r8, [0x140363de4]
mov edx, eax
mov rcx, qword [rsp + 0x2e0]
call fcn.1400453f4
mov byte [rsp + 0x30], 1
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_LocalFree]
cmp qword [rsp + 0x38], 0
je 0x140013d82
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x38], 0
cmp qword [rsp + 0x40], 0
je 0x140013d9e
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x40], 0
jmp 0x140013e6b
cmp qword [rsp + 0x38], 0
je 0x140013dc1
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x38], 0
cmp qword [rsp + 0x40], 0
je 0x140013ddd
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x40], 0
jmp 0x140013e17
cmp qword [rsp + 0x38], 0
je 0x140013dfb
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x38], 0
cmp qword [rsp + 0x40], 0
je 0x140013e17
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x40], 0
cmp qword [rsp + 0x38], 0
je 0x140013e33
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x38], 0
cmp qword [rsp + 0x40], 0
je 0x140013e4f
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x40], 0
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_Process32Next]
cmp eax, 1
je 0x140013b1b
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [rsp + 0x30]
mov rcx, qword [rsp + 0x2c0]
xor rcx, rsp
call fcn.140286010
add rsp, 0x2d0
pop rdi
ret