Function at 0x14014cebc
Capabilities:
Contain obfuscated stackstrings
Create a process with modified i/o handles and window
Create process on windows

Disassembly:
mov byte [rsp + 0x18], r8b
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x1b0
mov rax, qword [0x1401beaa0]
xor rax, rsp
mov qword [rsp + 0x1a8], rax
mov dword [rsp + 0x68], 0xffffffff
mov dword [rsp + 0x70], 0
mov rcx, qword [rsp + 0x1c0]
call fcn.1400c28d0
test rax, rax
jbe 0x14014cf18
mov rcx, qword [rsp + 0x1c0]
call fcn.1401293e4
test eax, eax
jne 0x14014cf21
mov eax, dword [rsp + 0x70]
jmp 0x14014d5b9
call fcn.14014392c
lea rax, [rsp + 0x110]
mov rdi, rax
xor eax, eax
mov ecx, 0x68
rep stosb byte [rdi], al
mov qword [rsp + 0x78], 0
mov qword [rsp + 0x100], 0
mov dword [rsp + 0xd8], 0
mov qword [rsp + 0x90], 0
lea rax, [rsp + 0xc0]
mov rdi, rax
xor eax, eax
mov ecx, Ordinal_27
rep stosb byte [rdi], al
call fcn.14015e638
mov dword [rsp + 0x98], eax
call fcn.140025ca4
mov rdx, rax
lea rcx, [rsp + 0xb8]
call fcn.140025158
nop
xor r9d, r9d
lea r8, [rsp + 0xb8]
lea rdx, [rsp + 0x78]
mov ecx, dword [rsp + 0x98]
call fcn.14015add0
movzx eax, al
test eax, eax
je 0x14014d53b
cmp qword [rsp + 0x78], 0
je 0x14014d53b
mov qword [rsp + 0x80], 0
lea rax, [rsp + 0x80]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 1
mov r9d, 2
xor r8d, r8d
mov edx, 0x2000000
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
test eax, eax
je 0x14014d51f
xor r8d, r8d
mov rdx, qword [rsp + 0x78]
lea rcx, [rsp + 0x90]
call fcn.14000aa14
test eax, eax
je 0x14014d1ed
mov dword [rsp + 0x64], 0
mov dword [rsp + 0x110], WSASetLastError
mov dword [rsp + 0x14c], 0x101
xor eax, eax
mov word [rsp + 0x150], ax
mov dword [rsp + 0x60], 0
jmp 0x14014d06a
mov eax, dword [rsp + 0x60]
inc eax
mov dword [rsp + 0x60], eax
cmp dword [rsp + 0x60], 0x32
jge 0x14014d18b
mov rdx, qword [rsp + 0x1c8]
lea rcx, [rsp + 0x88]
call fcn.140026d40
nop
mov edx, 0x104
lea rcx, [rsp + 0x88]
call fcn.1400266e8
mov qword [rsp + 0xe0], rax
lea rax, [rsp + 0xc0]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x110]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], 0
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 0x480
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8, qword [rsp + 0xe0]
mov rdx, qword [rsp + 0x1c0]
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ADVAPI32.dll_CreateProcessAsUserA]
mov dword [rsp + 0x64], eax
mov edx, 0xffffffff
lea rcx, [rsp + 0x88]
call fcn.14001ceb0
mov ecx, reloc.WLDAP32.dll_Ordinal_200
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [rsp + 0x64], 0
je 0x14014d165
mov eax, dword [rsp + 0xd0]
mov dword [rsp + 0x68], eax
mov rax, qword [rsp + 0x88]
sub rax, 0x18
mov qword [rsp + 0xe8], rax
mov rcx, qword [rsp + 0xe8]
call fcn.140026400
jmp 0x14014d18b
mov rax, qword [rsp + 0x88]
sub rax, 0x18
mov qword [rsp + 0xf0], rax
mov rcx, qword [rsp + 0xf0]
call fcn.140026400
jmp 0x14014d060
cmp dword [rsp + 0x64], 0
je 0x14014d19a
mov dword [rsp + 0x70], 1
cmp qword [rsp + 0xc0], 0
je 0x14014d1be
cmp qword [rsp + 0xc0], 0xffffffffffffffff
je 0x14014d1be
mov rcx, qword [rsp + 0xc0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rsp + 0xc8], 0
je 0x14014d1e2
cmp qword [rsp + 0xc8], 0xffffffffffffffff
je 0x14014d1e2
mov rcx, qword [rsp + 0xc8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp qword [rsp + 0x90], 0
je 0x14014d4fa
mov eax, 1
imul rax, rax, 2
mov byte [rsp + rax + 0x180], 0x65
mov eax, 1
imul rax, rax, 0
mov byte [rsp + rax + 0x180], VarDateFromR4
mov eax, 1
imul rax, rax, 5
mov byte [rsp + rax + 0x180], WSASetLastError
mov eax, 1
imul rax, rax, 0xb
mov qword [rsp + 0xa0], rax
cmp qword [rsp + 0xa0], 0xc
jae 0x14014d24d
jmp 0x14014d252
call fcn.1400b299c
mov rax, qword [rsp + 0xa0]
mov byte [rsp + rax + 0x180], 0
mov eax, 1
imul rax, rax, 1
mov byte [rsp + rax + 0x180], reloc.WS2_32.dll_WSAStartup
mov eax, 1
imul rax, rax, 8
mov byte [rsp + rax + 0x180], 0x64
mov eax, 1
imul rax, rax, 3
mov byte [rsp + rax + 0x180], WSACleanup
mov eax, 1
imul rax, rax, 7
mov byte [rsp + rax + 0x180], reloc.WLDAP32.dll_Ordinal_46
mov eax, 1
imul rax, rax, 0xa
mov byte [rsp + rax + 0x180], WSASetLastError
mov eax, 1
imul rax, rax, 6
mov byte [rsp + rax + 0x180], 0x76
mov eax, 1
imul rax, rax, 9
mov byte [rsp + rax + 0x180], WSASetLastError
mov eax, 1
imul rax, rax, 4
mov byte [rsp + rax + 0x180], 0x65
mov eax, 1
imul rax, rax, 0xb
mov byte [rsp + rax + 0x190], WSACleanup
mov eax, 1
imul rax, rax, 0xd
mov byte [rsp + rax + 0x190], WSASetLastError
mov eax, 1
imul rax, rax, 3
mov byte [rsp + rax + 0x190], reloc.WS2_32.dll_WSACleanup
mov eax, 1
imul rax, rax, 0xa
mov byte [rsp + rax + 0x190], WSASetLastError
mov eax, 1
imul rax, rax, 1
mov byte [rsp + rax + 0x190], 0x65
mov eax, 1
imul rax, rax, 0xc
mov byte [rsp + rax + 0x190], reloc.WS2_32.dll_WSAGetLastError
mov eax, 1
imul rax, rax, 7
mov byte [rsp + rax + 0x190], 0x45
mov eax, 1
imul rax, rax, 8
mov byte [rsp + rax + 0x190], WSASetLastError
mov eax, 1
imul rax, rax, 5
mov byte [rsp + rax + 0x190], reloc.WS2_32.dll_WSAGetLastError
mov eax, 1
imul rax, rax, 0x16
mov byte [rsp + rax + 0x190], WSASetLastError
mov eax, 1
imul rax, rax, 0
mov byte [rsp + rax + 0x190], 0x44
mov eax, 1
imul rax, rax, 0x17
mov qword [rsp + 0xa8], rax
cmp qword [rsp + 0xa8], 0x18
jae 0x14014d3c3
jmp 0x14014d3c8
call fcn.1400b299c
mov rax, qword [rsp + 0xa8]
mov byte [rsp + rax + 0x190], 0
mov eax, 1
imul rax, rax, 6
mov byte [rsp + rax + 0x190], 0x79
mov eax, 1
imul rax, rax, 4
mov byte [rsp + rax + 0x190], WSACleanup
mov eax, 1
imul rax, rax, 0x10
mov byte [rsp + rax + 0x190], WSASetLastError
mov eax, 1
imul rax, rax, 0xf
mov byte [rsp + rax + 0x190], 0x65
mov eax, 1
imul rax, rax, 0xe
mov byte [rsp + rax + 0x190], WSASetLastError
mov eax, 1
imul rax, rax, 0x14
mov byte [rsp + rax + 0x190], reloc.WS2_32.dll_WSAGetLastError
mov eax, 1
imul rax, rax, 2
mov byte [rsp + rax + 0x190], reloc.WS2_32.dll_WSAStartup
mov eax, 1
imul rax, rax, 9
mov byte [rsp + rax + 0x190], 0x76
mov eax, 1
imul rax, rax, 0x12
mov byte [rsp + rax + 0x190], 0x42
mov eax, 1
imul rax, rax, 0x13
mov byte [rsp + rax + 0x190], WSASetLastError
mov eax, 1
imul rax, rax, 0x11
mov byte [rsp + rax + 0x190], reloc.WS2_32.dll_WSACleanup
mov eax, 1
imul rax, rax, 0x15
mov byte [rsp + rax + 0x190], 0x63
lea rcx, [rsp + 0x180]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [rsp + 0xb0], rax
cmp qword [rsp + 0xb0], 0
je 0x14014d4fa
lea rdx, [rsp + 0x190]
mov rcx, qword [rsp + 0xb0]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1401c2da8], rax
cmp qword [0x1401c2da8], 0
je 0x14014d4fa
mov rcx, qword [rsp + 0x90]
call qword [0x1401c2da8]
cmp qword [rsp + 0x80], 0
je 0x14014d51f
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x80], 0
cmp qword [rsp + 0x78], 0
je 0x14014d53b
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x78], 0
movzx eax, byte [rsp + 0x1d0]
test eax, eax
je 0x14014d586
cmp dword [rsp + 0x68], 0
jle 0x14014d586
mov dword [rsp + 0x6c], 0
mov ecx, dword [rsp + 0x68]
call fcn.14015dfc4
test eax, eax
je 0x14014d586
mov eax, dword [rsp + 0x6c]
inc eax
mov dword [rsp + 0x6c], eax
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [rsp + 0x6c], 0x258
jle 0x14014d584
jmp 0x14014d586
jmp 0x14014d556
mov eax, dword [rsp + 0x70]
mov dword [rsp + 0x9c], eax
mov rax, qword [rsp + 0xb8]
sub rax, 0x18
mov qword [rsp + 0xf8], rax
mov rcx, qword [rsp + 0xf8]
call fcn.140026400
mov eax, dword [rsp + 0x9c]
mov rcx, qword [rsp + 0x1a8]
xor rcx, rsp
call fcn.1400b2870
add rsp, 0x1b0
pop rdi
ret