Function at 0x1400208cc
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 dword [rsp + 0x38], 0
cmp dword [rsp + 0x2e8], 0
je 0x14002090c
cmp qword [rsp + 0x2e0], 0
jne 0x140020915
mov eax, dword [rsp + 0x38]
jmp 0x140020d77
mov eax, 1
imul rax, rax, 0xa
mov byte [rsp + rax + 0x2b0], 0x78
mov eax, 1
imul rax, rax, 0
mov byte [rsp + rax + 0x2b0], 0x65
mov eax, 1
imul rax, rax, 9
mov byte [rsp + rax + 0x2b0], 0x65
mov eax, 1
imul rax, rax, 0xb
mov byte [rsp + rax + 0x2b0], 0x65
mov eax, 1
imul rax, rax, 8
mov byte [rsp + rax + 0x2b0], reloc.WLDAP32.dll_Ordinal_46
mov eax, 1
imul rax, rax, 3
mov byte [rsp + rax + 0x2b0], WSASetLastError
mov eax, 1
imul rax, rax, 5
mov byte [rsp + rax + 0x2b0], reloc.OLEAUT32.dll_VarBstrFromDisp
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
mov eax, 1
imul rax, rax, 7
mov byte [rsp + rax + 0x2b0], reloc.OLEAUT32.dll_VarBstrFromDisp
mov eax, 1
imul rax, rax, 1
mov byte [rsp + rax + 0x2b0], 0x78
mov eax, 1
imul rax, rax, 0xc
mov qword [rsp + 0x70], rax
cmp qword [rsp + 0x70], 0xd
jae 0x1400209e8
jmp 0x1400209ed
call fcn.14028613c
mov rax, qword [rsp + 0x70]
mov byte [rsp + rax + 0x2b0], 0
mov eax, 1
imul rax, rax, 6
mov byte [rsp + rax + 0x2b0], 0x65
mov qword [rsp + 0x40], 0
mov dword [rsp + 0x4c], 4
mov dword [rsp + 0x50], 0
mov dword [rsp + 0x48], 0xffffffff
cmp dword [0x1403c92f0], 0x3e8
jbe 0x140020a44
call qword [sym.imp.KERNEL32.dll_WTSGetActiveConsoleSessionId]
mov dword [rsp + 0x48], eax
jmp 0x140020a4e
mov eax, dword [0x1403c92f0]
mov dword [rsp + 0x48], eax
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 0x140020cd6
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_Process32First]
cmp eax, 1
jne 0x140020ccb
lea rdx, [rsp + 0xac]
lea rcx, [rsp + 0x2b0]
call fcn.14029ac68
test eax, eax
jne 0x140020caf
mov r8d, dword [rsp + 0x88]
xor edx, edx
mov ecx, 0x1fffff
call qword [0x1403dd970]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x140020caf
lea r8, [rsp + 0x40]
mov edx, 8
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x140020c93
lea rax, [rsp + 0x4c]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x4c]
lea r8, [rsp + 0x50]
mov edx, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x140020c5b
mov eax, dword [rsp + 0x50]
cmp dword [rsp + 0x48], eax
jne 0x140020c21
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 + 0x40]
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x140020be2
lea rdx, [rsp + 0x68]
mov rcx, qword [rsp + 0x1b0]
call qword [sym.imp.ADVAPI32.dll_ConvertSidToStringSidA]
test eax, eax
je 0x140020be2
mov rcx, qword [rsp + 0x68]
call fcn.1402958f0
mov ecx, dword [rsp + 0x2e8]
cmp rax, rcx
jae 0x140020bd7
mov eax, dword [rsp + 0x2e8]
mov r9, qword [rsp + 0x68]
lea r8, [0x1403640c4]
mov edx, eax
mov rcx, qword [rsp + 0x2e0]
call fcn.1400453f4
mov dword [rsp + 0x38], 1
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_LocalFree]
cmp qword [rsp + 0x40], 0
je 0x140020bfe
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x40], 0
cmp qword [rsp + 0x30], 0
je 0x140020c1a
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x30], 0
jmp 0x140020ccb
cmp qword [rsp + 0x40], 0
je 0x140020c3d
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x40], 0
cmp qword [rsp + 0x30], 0
je 0x140020c59
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x30], 0
jmp 0x140020c93
cmp qword [rsp + 0x40], 0
je 0x140020c77
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x40], 0
cmp qword [rsp + 0x30], 0
je 0x140020c93
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x30], 0
cmp qword [rsp + 0x30], 0
je 0x140020caf
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x30], 0
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_Process32Next]
cmp eax, 1
je 0x140020a93
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [rsp + 0x38], 1
je 0x140020d14
mov eax, dword [rsp + 0x2e8]
lea r8, [0x1403dc9d0]
mov edx, eax
mov rcx, qword [rsp + 0x2e0]
call fcn.1402a2c14
mov rcx, qword [rsp + 0x2e0]
call fcn.1402958f0
test rax, rax
jbe 0x140020d14
mov dword [rsp + 0x38], 1
cmp dword [rsp + 0x38], 1
jne 0x140020d73
lea rax, [0x1403dd0a8]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x2e0]
lea r8, [0x140364154]
mov edx, 0x104
lea rcx, [0x1403dc6a0]
call fcn.1400453f4
lea rax, [0x1403dd0e8]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x2e0]
lea r8, [0x14036417c]
mov edx, 0x104
lea rcx, [0x1403dc7b0]
call fcn.1400453f4
mov eax, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x2c0]
xor rcx, rsp
call fcn.140286010
add rsp, 0x2d0
pop rdi
ret