Function at 0x140120190
Capabilities:
Encode data using base64

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r13
push r14
push r15
lea rbp, [rsp - 0x20]
sub rsp, 0x120
mov rax, qword [0x1401a6c00]
xor rax, rsp
mov qword [rbp + 0x10], rax
mov r14, r8
mov rsi, rdx
mov r15, rcx
vmovups xmm0, xmmword [r9]
vmovups xmmword [rsp + 0x40], xmm0
mov r11, qword [r9 + 8]
cmp r11, 7
jae 0x14012029e
lea rax, str.Insufficient_length_for_header_core____
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], 0x2b
mov qword [rsp + 0x40], r11
mov dword [rsp + 0x50], 7
vmovups ymm0, ymmword [rsp + 0x40]
vmovups ymmword [rbp - 0x78], ymm0
mov qword [rsp + 0x40], Ordinal_23
lea rax, [rbp - 0x78]
mov qword [rsp + 0x48], rax
vmovups xmm0, xmmword [rsp + 0x40]
vmovdqa xmmword [rsp + 0x40], xmm0
vmovups xmm1, xmmword [rsp + 0x20]
vmovdqa xmmword [rsp + 0x20], xmm1
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x68]
vzeroupper
call fcn.140048a50
nop
lea rdx, [rsp + 0x68]
lea rcx, str.mot_processor
call fcn.14011ba70
nop
mov rdx, qword [rbp - 0x80]
cmp rdx, 0xf
jbe 0x1401204d0
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401204cb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1401204cb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rdi, qword [rsp + 0x40]
movzx ecx, byte [rdi + 3]
movzx r9d, byte [rdi]
shl r9d, 8
movzx eax, byte [rdi + 1]
or r9d, eax
shl r9d, 8
movzx eax, byte [rdi + 2]
or r9d, eax
shl r9d, 4
mov eax, ecx
shr eax, 4
or r9d, eax
movzx r8d, byte [rdi + 5]
and cl, 0xf
movzx r10d, cl
shl r10w, 8
movzx eax, byte [rdi + 4]
or r10w, ax
add r10w, r10w
movzx eax, r8b
shr al, 7
movzx ecx, al
or r10w, cx
movzx edx, r8b
shr dl, 1
and dl, 0x3f
and r8b, 1
movzx ecx, r8b
shl cx, 8
movzx eax, byte [rdi + 6]
or cx, ax
add r11, 0xfffffffffffffff9
add rdi, 7
mov dword [r14], r9d
mov word [r14 + 4], r10w
mov byte [r14 + 6], dl
mov word [r14 + 8], cx
cmp r10w, 7
jae 0x140120402
lea rax, str.Provided_header_size_is_smaller_than_the_header_core_size____
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], 0x41
movzx eax, r10w
mov dword [rsp + 0x20], eax
mov dword [rsp + 0x30], 7
vmovups ymm0, ymmword [rsp + 0x20]
vmovups ymmword [rbp - 0x78], ymm0
mov qword [rsp + 0x20], Ordinal_23
lea rax, [rbp - 0x78]
mov qword [rsp + 0x28], rax
vmovups xmm0, xmmword [rsp + 0x20]
vmovdqa xmmword [rsp + 0x20], xmm0
vmovups xmm1, xmmword [rsp + 0x40]
vmovdqa xmmword [rsp + 0x40], xmm1
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x68]
vzeroupper
call fcn.140048a50
nop
lea rdx, [rsp + 0x68]
lea rcx, str.mot_processor
call fcn.14011ba70
nop
mov rdx, qword [rbp - 0x80]
cmp rdx, 0xf
jbe 0x1401204d0
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401204cb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1401204cb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
movzx r13d, r10w
lea rbx, [r13 - 7]
cmp r11, rbx
jae 0x1401204d9
lea rax, str.Header_extension_buffer_is_smaller_than_header_specified_size____
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], 0x45
mov qword [rsp + 0x20], r11
mov qword [rsp + 0x30], rbx
vmovups ymm0, ymmword [rsp + 0x20]
vmovups ymmword [rbp - 0x78], ymm0
mov qword [rsp + 0x20], 0x44
lea rax, [rbp - 0x78]
mov qword [rsp + 0x28], rax
vmovups xmm0, xmmword [rsp + 0x20]
vmovdqa xmmword [rsp + 0x20], xmm0
vmovups xmm1, xmmword [rsp + 0x40]
vmovdqa xmmword [rsp + 0x40], xmm1
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x68]
vzeroupper
call fcn.140048a50
nop
lea rdx, [rsp + 0x68]
lea rcx, str.mot_processor
call fcn.14011ba70
nop
mov rdx, qword [rbp - 0x80]
cmp rdx, 0xf
jbe 0x1401204d0
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401204cb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1401204cb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400fcffc
mov byte [rsi + 8], 0
jmp 0x14012082f
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x28], rbx
vmovups xmm0, xmmword [rsp + 0x20]
vmovdqa xmmword [rsp + 0x40], xmm0
test rbx, rbx
je 0x140120828
mov rdi, qword [rsp + 0x40]
nop dword [rax]
movzx r8d, byte [rdi]
movzx eax, r8b
shr al, 6
and r8b, 0x3f
lea rdx, [rdi + 1]
dec rbx
movzx r9d, al
mov ecx, r9d
test al, al
je 0x140120582
sub ecx, 1
je 0x14012057b
sub ecx, 1
je 0x140120574
cmp ecx, 1
jne 0x140120582
cmp rbx, 1
jb 0x140120692
movzx eax, byte [rdx]
test al, al
jns 0x140120563
cmp rbx, 2
jb 0x1401205cb
and eax, 0x7f
shl rax, 8
movzx ecx, byte [rdx + 1]
or rax, rcx
add rdx, 2
add rbx, 0xfffffffffffffffe
jmp 0x140120584
mov eax, eax
and eax, 0x7f
lea rcx, [rdx + 1]
mov rdx, rcx
dec rbx
jmp 0x140120587
mov eax, 4
jmp 0x140120584
mov eax, 1
jmp 0x140120584
xor eax, eax
mov rcx, rdx
cmp rbx, rax
jb 0x140120759
mov qword [rsp + 0x20], rdx
mov qword [rsp + 0x28], rax
sub rbx, rax
lea rdi, [rcx + rax]
vmovups xmm0, xmmword [rsp + 0x20]
vmovdqa xmmword [rsp + 0x40], xmm0
lea r9, [rsp + 0x40]
mov rdx, r14
mov rcx, r15
call fcn.140120850
test rbx, rbx
jne 0x140120500
jmp 0x140120828
lea rax, str.Insufficient_length_for_extended_data_field_indicator____
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], 0x3d
mov qword [rsp + 0x20], rbx
mov dword [rsp + 0x30], 2
vmovups ymm0, ymmword [rsp + 0x20]
vmovups ymmword [rbp - 0x78], ymm0
mov qword [rsp + 0x20], Ordinal_23
lea rax, [rbp - 0x78]
mov qword [rsp + 0x28], rax
vmovups xmm0, xmmword [rsp + 0x20]
vmovdqa xmmword [rsp + 0x20], xmm0
vmovups xmm1, xmmword [rsp + 0x40]
vmovdqa xmmword [rsp + 0x40], xmm1
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x68]
vzeroupper
call fcn.140048a50
nop
lea rdx, [rsp + 0x68]
lea rcx, str.mot_processor
call fcn.14011ba70
nop
mov rdx, qword [rbp - 0x80]
cmp rdx, 0xf
jbe 0x140120828
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140120823
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140120823
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
lea rax, str.Insufficient_length_for_data_field_indicator____
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], 0x34
mov qword [rsp + 0x20], rbx
mov dword [rsp + 0x30], 1
vmovups ymm0, ymmword [rsp + 0x20]
vmovups ymmword [rbp - 0x78], ymm0
mov qword [rsp + 0x20], Ordinal_23
lea rax, [rbp - 0x78]
mov qword [rsp + 0x28], rax
vmovups xmm0, xmmword [rsp + 0x20]
vmovdqa xmmword [rsp + 0x20], xmm0
vmovups xmm1, xmmword [rsp + 0x40]
vmovdqa xmmword [rsp + 0x40], xmm1
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x68]
vzeroupper
call fcn.140048a50
nop
lea rdx, [rsp + 0x68]
lea rcx, str.mot_processor
call fcn.14011ba70
nop
mov rdx, qword [rbp - 0x80]
cmp rdx, 0xf
jbe 0x140120828
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140120823
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140120823
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
lea rcx, str.Insufficient_length_for_data_field_____pli_param_id
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x48], 0x3d
mov qword [rbp - 0x78], rbx
mov qword [rbp - 0x68], rax
mov dword [rbp - 0x58], r9d
movzx eax, r8b
mov dword [rbp - 0x48], eax
vmovups ymm0, ymmword [rbp - 0x78]
vmovups ymmword [rbp - 0x30], ymm0
vmovups ymm1, ymmword [rbp - 0x58]
vmovups ymmword [rbp - 0x10], ymm1
mov qword [rsp + 0x20], 0x2244
lea rax, [rbp - 0x30]
mov qword [rsp + 0x28], rax
vmovups xmm0, xmmword [rsp + 0x20]
vmovdqa xmmword [rsp + 0x20], xmm0
vmovups xmm1, xmmword [rsp + 0x40]
vmovdqa xmmword [rsp + 0x40], xmm1
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x68]
vzeroupper
call fcn.140048a50
nop
lea rdx, [rsp + 0x68]
lea rcx, str.mot_processor
call fcn.14011ba70
nop
mov rdx, qword [rbp - 0x80]
cmp rdx, 0xf
jbe 0x140120828
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140120823
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140120823
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400fcffc
mov qword [rsi], r13
mov byte [rsi + 8], 1
mov rax, rsi
mov rcx, qword [rbp + 0x10]
xor rcx, rsp
call fcn.1400fd350
add rsp, 0x120
pop r15
pop r14
pop r13
pop rdi
pop rsi
pop rbx
pop rbp
ret