Function at 0x140001d48
Capabilities:
Contain obfuscated stackstrings
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x2a0]
sub rsp, 0x3a0
xor ebx, ebx
mov r13d, edx
mov r15, rcx
mov r14b, bl
test rcx, rcx
jne 0x140001d7e
xor al, al
jmp 0x140001fa2
mov qword [rsp + 0x30], rbx
mov dword [rbp + 0x2e0], 4
mov dword [rbp + 0x2f0], ebx
call fcn.1401b0f08
xor edx, edx
mov dword [rbp + 0x60], 0x238
mov r12d, eax
lea ecx, [rdx + 2]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
or rdi, 0xffffffffffffffff
mov rsi, rax
cmp rax, rdi
je 0x140001f9f
lea rdx, [rbp + 0x60]
mov rcx, rax
call sub.KERNEL32.dll_Process32FirstW
cmp eax, 1
jne 0x140001f96
mov eax, reloc.WS2_32.dll_WSAGetLastError
mov dword [rsp + 0x4a], 0x780065
lea rdx, [rbp + 0x8c]
mov word [rsp + 0x40], ax
lea rcx, [rsp + 0x38]
mov dword [rsp + 0x38], 0x780065
mov dword [rsp + 0x46], 0x2e0072
mov dword [rsp + 0x3c], 0x6c0070
mov dword [rsp + 0x42], 0x650072
mov dword [rsp + 0x4e], 0x65
call fcn.140159ed0
test eax, eax
jne 0x140001ed5
mov r8d, dword [rbp + 0x68]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
je 0x140001ed3
lea r8, [rsp + 0x30]
mov edx, 8
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x140001ec5
mov r9d, dword [rbp + 0x2e0]
lea rax, [rbp + 0x2e0]
mov rcx, qword [rsp + 0x30]
lea r8, [rbp + 0x2f0]
mov edx, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x140001e8f
cmp r12d, dword [rbp + 0x2f0]
je 0x140001ee6
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x140001ea5
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 0x140001ed3
call qword [sym.imp.KERNEL32.dll_CloseHandle]
and qword [rsp + 0x30], rbx
test rbx, rbx
je 0x140001ed3
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor ebx, ebx
lea rdx, [rbp + 0x60]
mov rcx, rsi
call sub.KERNEL32.dll_Process32NextW
jmp 0x140001dc8
and dword [rbp + 0x2f8], 0
lea rcx, [rsp + 0x60]
mov r12d, VarUI2FromI4
xor edx, edx
mov r8d, r12d
call fcn.14011d670
mov rcx, qword [rsp + 0x30]
lea rax, [rbp + 0x2f8]
mov r9d, r12d
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x60]
mov edx, 1
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
xor r12d, r12d
test eax, eax
je 0x140001f78
mov rcx, qword [rsp + 0x60]
lea rdx, [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_ConvertSidToStringSidW]
test eax, eax
je 0x140001f78
mov rcx, qword [rsp + 0x58]
mov rdx, r13
inc rdi
cmp word [rcx + rdi*2], r12w
jne 0x140001f49
cmp rdi, rdx
jae 0x140001f72
mov r9, rcx
lea r8, [0x140424200]
mov rcx, r15
call fcn.14000d244
mov rcx, qword [rsp + 0x58]
mov r14b, 1
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x140001f8d
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x30], r12
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, r14b
mov rbx, qword [rsp + 0x3e8]
add rsp, 0x3a0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret