Function at 0x140002c80
Capabilities:
Encode data using base64 via winapi

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x30]
sub rsp, 0x130
mov rax, qword [0x14000d010]
xor rax, rsp
mov qword [rbp + 0x20], rax
mov rdi, r8
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 4], xmm0
mov dword [rbp + 0x14], eax
mov dword [rbp - 0x40], 0x574f454d
mov dword [rbp - 0x3c], 1
movups xmm0, xmmword [0x140009448]
movups xmmword [rbp - 0x38], xmm0
xor ebx, ebx
mov dword [rbp - 0x28], ebx
mov dword [rbp - 0x24], 1
mov rax, qword [rdx + 0x40]
mov qword [rbp - 0x18], rax
mov rax, qword [rdx + 0x38]
mov qword [rbp - 0x20], rax
movups xmm0, xmmword [rdx + 0x28]
movaps xmmword [rbp - 0x10], xmm0
mov dword [rbp], ebx
cmp byte [rcx + 0x4c], bl
je 0x140002fed
lea rax, [rbp - 0x70]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea edx, [rbx + 0x58]
mov r8d, 0x40000001
lea rcx, [rbp - 0x40]
call qword [sym.imp.CRYPT32.dll_CryptBinaryToStringW]
mov edx, dword [rbp - 0x70]
dec edx
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], 7
mov word [rsp + 0x50], bx
lea rcx, [rsp + 0x50]
call fcn.1400059a0
lea r9, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae r9, qword [rsp + 0x50]
lea rax, [rbp - 0x70]
mov qword [rsp + 0x20], rax
lea edx, [rbx + 0x58]
mov r8d, 0x40000001
lea rcx, [rbp - 0x40]
call qword [sym.imp.CRYPT32.dll_CryptBinaryToStringW]
nop
mov qword [rsp + 0x70], rbx
mov qword [rbp - 0x80], rbx
mov qword [rbp - 0x78], 7
mov word [rsp + 0x70], bx
lea r8d, [rbx + 7]
lea rdx, str.OBJREF:
lea rcx, [rsp + 0x70]
call fcn.140005b30
nop
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x70]
lea rcx, [rsp + 0x30]
call fcn.140006330
nop
mov rdx, qword [rsp + 0x40]
mov r8, qword [rsp + 0x48]
mov rax, r8
sub rax, rdx
cmp rax, 1
jb 0x140002df6
lea rcx, [rdx + 1]
mov qword [rsp + 0x40], rcx
lea rax, [rsp + 0x30]
cmp r8, 8
cmovae rax, qword [rsp + 0x30]
mov r8d, 0x3a
mov word [rax + rdx*2], r8w
mov word [rax + rcx*2], bx
lea rax, [rsp + 0x30]
jmp 0x140002e15
mov qword [rsp + 0x20], 1
lea r9, [0x140008ab0]
mov edx, 1
lea rcx, [rsp + 0x30]
call fcn.140006130
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x68], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x58], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 7
mov word [rax], bx
mov rdx, qword [rsp + 0x48]
cmp rdx, 8
jb 0x140002e78
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002e73
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002e73
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140006abc
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], 7
mov word [rsp + 0x30], bx
mov rdx, qword [rbp - 0x78]
cmp rdx, 8
jb 0x140002ed0
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002eca
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002eca
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140006abc
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 8
jb 0x140002f15
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002f10
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002f10
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140006abc
lea rcx, [rbp - 0x68]
cmp qword [rbp - 0x50], 8
cmovae rcx, qword [rbp - 0x68]
mov r9, rdi
lea r8, [0x140009448]
xor edx, edx
call qword [sym.imp.ole32.dll_CoGetObject]
test eax, eax
jns 0x140002f87
mov edx, eax
lea rcx, str.CoGetObject_IRundown__failed_:__08lX_n
call fcn.140001020
mov rdx, qword [rbp - 0x50]
cmp rdx, 8
jb 0x140002f83
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002f7e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002fbe
call fcn.140006abc
xor al, al
jmp 0x140002fcc
mov rdx, qword [rbp - 0x50]
cmp rdx, 8
jb 0x140002fca
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002fc5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002fc5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140006abc
mov al, 1
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.140006a60
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
xor edx, edx
xor ecx, ecx
call qword [sym.imp.SHLWAPI.dll_SHCreateMemStream]
mov rbx, rax
mov r10, qword [rax]
xor r9d, r9d
lea r8d, [r9 + 0x58]
lea rdx, [rbp - 0x40]
mov rcx, rax
call qword [r10 + 0x20]
xor edx, edx
mov r10, qword [rbx]
xor r9d, r9d
xor r8d, r8d
mov rcx, rbx
call qword [r10 + 0x28]
mov r8, rdi
lea rdx, [0x140009448]
mov rcx, rbx
call qword [sym.imp.ole32.dll_CoUnmarshalInterface]
mov edi, eax
mov rdx, qword [rbx]
mov rcx, rbx
call qword [rdx + 0x10]
test edi, edi
jns 0x140002fca
mov edx, edi
lea rcx, str.CoUnmarshalInterface_IRundown__failed_:__08lX_n
call fcn.140001020
xor al, al
jmp 0x140002fcc