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

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
lea rbp, [rsp - 0x80]
sub rsp, 0x180
mov qword [rbp - 0x48], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x1402338a8]
xor rax, rsp
mov qword [rbp + 0x70], rax
mov rsi, rdx
mov qword [rsp + 0x40], rdx
lea rax, [rcx + 0x40]
mov qword [rbp + 0x38], rax
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x50], rax
xor r14d, r14d
mov byte [rsp + 0x30], r14b
lea rax, [rbp + 0x38]
mov qword [rsp + 0x38], rax
lea rdx, [rbp + 0x40]
cmp byte [r8 + 0x18], r14b
je 0x14014c5fe
lea rcx, [rsp + 0x48]
call fcn.14014c890
jmp 0x14014c609
lea rcx, [rsp + 0x38]
call fcn.14014cd60
nop
mov rcx, qword [rbp + 0x48]
mov rax, qword [rcx]
lea rdx, [rbp - 0x38]
mov rax, qword [rax + 0x50]
call qword [case.0x140055453.0]
nop
lea rdx, [rbp - 0x38]
lea rcx, [rbp - 0x68]
call fcn.1400130d0
mov rdi, rax
mov rcx, rax
cmp qword [rax + 0x18], 0x10
jb 0x14014c63c
mov rcx, qword [rax]
mov rbx, qword [rax + 0x10]
add rbx, rcx
cmp qword [rax + 0x18], 0x10
jb 0x14014c64d
mov rdi, qword [rax]
cmp rdi, rbx
jne 0x14014c66b
movdqa xmm0, xmmword [0x1401cfe00]
movdqu xmmword [rsp + 0x68], xmm0
mov word [rsp + 0x58], r14w
jmp 0x14014c737
sub ebx, edi
lea rax, [rbp + 0x38]
mov qword [rbp - 0x40], rax
mov qword [rsp + 0x48], r14
lea rax, [rbp + 0x38]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 0x40000001
mov edx, ebx
mov rcx, rdi
call qword [sym.imp.CRYPT32.dll_CryptBinaryToStringW]
test eax, eax
je 0x14014c86e
movdqa xmm0, xmmword [0x1401cfe00]
movdqu xmmword [rbp + 0x60], xmm0
mov word [rbp + 0x50], r14w
lea rax, [rbp + 0x38]
mov qword [rsp + 0x38], rax
mov r8d, dword [rbp + 0x38]
lea rdx, [rbp + 0x50]
lea rcx, [rsp + 0x40]
call fcn.140039048
nop
mov r9, qword [rax]
cmp qword [r9 + 0x18], 8
jb 0x14014c6da
mov r9, qword [r9]
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r8d, 0x40000001
mov edx, ebx
mov rcx, rdi
call qword [sym.imp.CRYPT32.dll_CryptBinaryToStringW]
mov ebx, eax
lea rcx, [rsp + 0x40]
call fcn.140036b24
test ebx, ebx
je 0x14014c84d
movups xmm0, xmmword [rbp + 0x50]
movups xmmword [rsp + 0x58], xmm0
movups xmm1, xmmword [rbp + 0x60]
movups xmmword [rsp + 0x68], xmm1
movdqa xmm0, xmmword [0x1401cfe00]
movdqu xmmword [rbp + 0x60], xmm0
mov word [rbp + 0x50], r14w
lea rcx, [rbp + 0x50]
call fcn.14000f680
nop
mov rdx, qword [rbp + 0x40]
lea rcx, [rbp + 0x18]
call fcn.14000ec4c
nop
lea rdx, [0x1401cc638]
mov rcx, rax
call fcn.1400453f8
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x78], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x78], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x78], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], 7
mov word [rax], r14w
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0x78]
mov rcx, rsi
call fcn.14001c5f8
nop
lea rcx, [rsp + 0x78]
call fcn.14000f680
nop
lea rcx, [rbp + 0x18]
call fcn.14000f680
nop
lea rcx, [rsp + 0x58]
call fcn.14000f680
nop
mov rdx, qword [rbp - 0x50]
cmp rdx, 0x10
jb 0x14014c7ed
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14014c7e8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14014c7e8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14015449c
movdqa xmm0, xmmword [0x1401cfe10]
movdqu xmmword [rbp - 0x58], xmm0
mov byte [rbp - 0x68], r14b
lea rcx, [rbp - 0x38]
call fcn.14000f680
nop
mov rcx, qword [rbp + 0x48]
test rcx, rcx
je 0x14014c826
mov rdx, qword [rcx]
mov rax, qword [rdx + 0xc0]
mov edx, 1
call qword [case.0x140055453.0]
mov rax, rsi
mov rcx, qword [rbp + 0x70]
xor rcx, rsp
call fcn.140154030
lea r11, [rsp + 0x180]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
lea rdx, str.crypt_binary_to_string
lea rcx, [rbp]
call fcn.14003a784
lea rdx, [0x14022b0c8]
lea rcx, [rbp]
call fcn.1401556e8
nop
lea rdx, str.crypt_binary_to_string
lea rcx, [rbp - 0x18]
call fcn.14003a784
lea rdx, [0x14022b0c8]
lea rcx, [rbp - 0x18]
call fcn.1401556e8
int3