Function at 0x14014d090
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x180]
sub rsp, 0x280
mov rax, qword [0x14024fa28]
xor rax, rsp
mov qword [rbp + 0x170], rax
mov rbx, r8
mov qword [rbp - 0x38], r9
xor r8d, r8d
mov qword [rsp + 0x50], rdx
mov r14, rcx
mov dword [rsp + 0x40], r8d
xorps xmm0, xmm0
mov qword [rsp + 0x58], r8
mov esi, 1
mov word [rbp + 4], r8w
mov rcx, r9
mov word [rbp + 0x26], r8w
mov edi, r8d
mov qword [rbp + 0x28], r8
mov qword [rbp + 0x30], r8
mov r15, rdx
mov dword [rbp + 0x38], r8d
mov r12d, esi
mov word [rbp + 0x3c], r8w
mov qword [rbp + 0x3e], r8
mov dword [rbp + 0x58], r8d
mov word [rbp + 0x5c], r8w
mov dword [rbp - 8], 0x4034b50
mov dword [rbp - 4], 0x8000014
mov dword [rbp], 8
movups xmmword [rbp + 6], xmm0
mov dword [rbp + 0x18], 0x2014b50
mov word [rbp + 0x1c], 0x3f
mov dword [rbp + 0x1e], 0x8000014
mov dword [rbp + 0x22], 8
mov qword [rbp + 0x48], 0x6054b50
mov qword [rbp + 0x50], 0x10001
call fcn.14014da80
mov r13, rax
test rax, rax
jne 0x14014d170
mov eax, esi
jmp 0x14014d665
mov ecx, 0x10000
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
jne 0x14014d18b
lea ebx, [rax + 3]
jmp 0x14014d619
movzx ecx, word [rbx]
lea rdx, [rbp + 0x60]
mov r8d, 0x104
test cx, cx
je 0x14014d221
movzx eax, cx
test eax, 0x7fffff80
jne 0x14014d1b7
cmp r8, r12
jb 0x14014d1b7
mov byte [rdx], cl
mov rax, r12
jmp 0x14014d20e
test eax, 0x7ffff800
jne 0x14014d1e1
cmp r8, 2
jb 0x14014d1e1
movzx eax, cx
and cl, 0x3f
shr ax, 6
and al, 0x1f
or al, 0xc0
mov byte [rdx], al
or cl, 0x80
mov byte [rdx + 1], cl
mov eax, 2
jmp 0x14014d20e
cmp r8, 3
jb 0x14014d221
movzx eax, cx
shr ax, 0xc
or al, 0xe0
mov byte [rdx], al
movzx eax, cx
shr ax, 6
and cl, 0x3f
and al, 0x3f
or al, 0x80
or cl, 0x80
mov byte [rdx + 1], al
mov byte [rdx + 2], cl
mov eax, 3
movzx ecx, word [rbx + 2]
add rbx, 2
add rdx, rax
sub r8, rax
test cx, cx
jne 0x14014d1a1
mov byte [rdx], dil
lea rcx, [rbp + 0x60]
mov rax, 0xffffffffffffffff
nop
inc rax
cmp byte [rcx + rax], dil
jne 0x14014d230
mov r8d, 0x1e
mov word [rbp + 0x12], ax
lea rdx, [rbp - 8]
mov rcx, r13
call fcn.14018cf60
cmp rax, 0x1e
je 0x14014d25d
mov ebx, r12d
jmp 0x14014d610
movzx r8d, word [rbp + 0x12]
lea rdx, [rbp + 0x60]
mov rcx, r13
call fcn.14018cf60
movzx ecx, word [rbp + 0x12]
cmp rax, rcx
je 0x14014d27f
mov ebx, r12d
jmp 0x14014d610
xor ebx, ebx
lea rcx, [rsp + 0x60]
mov qword [rbp - 0x70], rbx
mov qword [rbp - 0x68], rbx
mov qword [rbp - 0x60], rbx
lea edx, [rbx + 9]
call fcn.1401b5710
test eax, eax
je 0x14014d2a8
mov ebx, 2
jmp 0x14014d610
mov ecx, ebx
mov dword [rbp + 6], ebx
mov rdx, qword [rsp + 0x58]
mov r8d, 4
lea rax, [rdx + 0x10000]
cmp rax, r15
ja 0x14014d2cf
mov r15d, 0x10000
mov eax, r15d
jmp 0x14014d2da
mov rax, qword [rsp + 0x50]
sub r15d, edx
sub rax, rdx
mov eax, eax
add rdx, rax
mov dword [rsp + 0x68], r15d
mov qword [rbp - 0x40], rax
mov qword [rsp + 0x58], rdx
test r15d, r15d
je 0x14014d30f
test r14, r14
jne 0x14014d2fb
mov eax, ebx
jmp 0x14014d30c
mov r8, rax
mov rdx, r14
call fcn.1401b5400
mov r8d, 4
mov dword [rbp + 6], eax
cmp r15d, 0x10000
mov qword [rsp + 0x60], r14
mov eax, ebx
cmovne eax, r8d
mov dword [rsp + 0x44], eax
nop word [rax + rax]
mov edx, eax
mov dword [rsp + 0x78], 0x10000
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x70], rsi
call fcn.1401b5be0
cmp eax, 0xfffffffe
je 0x14014d50f
cmp eax, 0xfffffffb
je 0x14014d50f
mov ebx, 0x10000
sub ebx, dword [rsp + 0x78]
test r12d, r12d
jne 0x14014d388
test ebx, ebx
je 0x14014d3b6
mov r8d, ebx
mov rdx, rsi
mov rcx, r13
mov edi, ebx
call fcn.14018cf60
cmp rax, rdi
jne 0x14014d3e7
mov edi, dword [rsp + 0x40]
jmp 0x14014d3b6
cmp ebx, 2
jb 0x14014d50f
add ebx, 0xfffffffe
je 0x14014d3b3
lfence
lea rdx, [rsi + 2]
mov r8d, ebx
mov rcx, r13
mov edi, ebx
call fcn.14018cf60
cmp rax, rdi
jne 0x14014d3e7
mov edi, dword [rsp + 0x40]
xor r12d, r12d
add r14, qword [rbp - 0x40]
add edi, ebx
cmp dword [rsp + 0x78], 0
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0x40], edi
je 0x14014d330
cmp r15d, 0x10000
jne 0x14014d3f4
mov ecx, dword [rbp + 6]
xor ebx, ebx
mov r15, qword [rsp + 0x50]
jmp 0x14014d2ad
mov ebx, 1
xor r14d, r14d
jmp 0x14014d51c
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov rcx, rax
lea rdx, [rbp - 0x30]
call fcn.14018ae70
movzx ecx, word [rbp - 0x1c]
mov eax, 0x200
add cx, 0x30
movzx edx, cx
imul edx, eax
movzx eax, word [rbp - 0x20]
inc ax
shl ax, 5
or dx, ax
movzx eax, word [rbp - 0x30]
or dx, word [rbp - 0x24]
cmp ax, 0x3b
jbe 0x14014d43c
mov eax, 0x3b
mov r8, qword [rsp + 0x50]
xor r14d, r14d
movzx ecx, word [rbp - 0x28]
shl cx, 6
or cx, word [rbp - 0x2c]
shr ax, 1
shl cx, 5
or cx, ax
mov word [rbp + 4], dx
mov eax, dword [rbp + 6]
mov dword [rbp + 0x28], eax
movzx eax, word [rbp + 0x12]
mov word [rbp + 2], cx
mov dword [rbp + 0xe], r8d
mov dword [rbp + 0x30], r8d
lea r8d, [r14 + 0x2e]
mov word [rbp + 0x26], dx
lea rdx, [rbp + 0x18]
mov word [rbp + 0x24], cx
mov rcx, r13
mov word [rbp + 0x34], ax
mov dword [rbp + 0xa], edi
mov word [rbp + 0x14], r14w
mov dword [rbp + 0x2c], edi
call fcn.14018cf60
movzx r8d, word [rbp + 0x34]
lea rdx, [rbp + 0x60]
mov rcx, r13
call fcn.14018cf60
movzx ecx, word [rbp + 0x12]
lea r8d, [r14 + 0x16]
lea rdx, [rbp + 0x48]
lea eax, [rcx + 0x2e]
mov dword [rbp + 0x54], eax
mov eax, dword [rbp + 0xa]
add eax, 0x1e
add ecx, eax
mov dword [rbp + 0x58], ecx
mov rcx, r13
call fcn.14018cf60
cmp rax, 0x16
je 0x14014d4e0
lea ebx, [r14 + 1]
jmp 0x14014d610
xor r8d, r8d
xor edx, edx
mov rcx, r13
call fcn.14018d0b0
mov r8d, 0x1e
lea rdx, [rbp - 8]
mov rcx, r13
call fcn.14018cf60
cmp rax, 0x1e
je 0x14014d519
mov ebx, 1
jmp 0x14014d610
mov ebx, 2
xor r14d, r14d
jmp 0x14014d51c
mov ebx, r14d
cmp qword [rbp - 0x70], 0
je 0x14014d610
mov r8, qword [rbp - 0x68]
test r8, r8
je 0x14014d610
mov rdx, qword [rbp - 0x78]
test rdx, rdx
je 0x14014d610
lea rax, [rsp + 0x60]
cmp qword [rdx], rax
jne 0x14014d610
mov ecx, dword [rdx + 8]
lea eax, [rcx - 0x2a]
cmp eax, 0x3d
ja 0x14014d56a
movabs r9, 0x2002000088008001
bt r9, rax
jb 0x14014d57b
cmp ecx, 0x71
je 0x14014d57b
cmp ecx, 0x29a
jne 0x14014d610
mov rax, qword [rdx + 0x10]
test rax, rax
je 0x14014d59c
mov rcx, qword [rbp - 0x60]
mov rdx, rax
mov rax, r8
call qword [case.0x14003c8e9.0]
mov r8, qword [rbp - 0x68]
mov rdx, qword [rbp - 0x78]
mov rax, qword [rdx + 0x68]
test rax, rax
je 0x14014d5bd
mov rcx, qword [rbp - 0x60]
mov rdx, rax
mov rax, r8
call qword [case.0x14003c8e9.0]
mov r8, qword [rbp - 0x68]
mov rdx, qword [rbp - 0x78]
mov rax, qword [rdx + 0x60]
test rax, rax
je 0x14014d5de
mov rcx, qword [rbp - 0x60]
mov rdx, rax
mov rax, r8
call qword [case.0x14003c8e9.0]
mov r8, qword [rbp - 0x68]
mov rdx, qword [rbp - 0x78]
mov rax, qword [rdx + 0x50]
test rax, rax
je 0x14014d5ff
mov rcx, qword [rbp - 0x60]
mov rdx, rax
mov rax, r8
call qword [case.0x14003c8e9.0]
mov r8, qword [rbp - 0x68]
mov rdx, qword [rbp - 0x78]
mov rcx, qword [rbp - 0x60]
mov rax, r8
call qword [case.0x14003c8e9.0]
mov qword [rbp - 0x78], r14
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
movzx eax, byte [0x140256a90]
mov rcx, r13
test al, al
je 0x14014d63f
call qword [0x1401e9888]
mov ecx, eax
call qword [0x14024f040]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x14014d645
call qword [case.0x1401b9e8b.6]
test ebx, ebx
je 0x14014d663
mov rcx, qword [rbp - 0x38]
xor edx, edx
lea r8d, [rdx + 0x20]
call fcn.14018d9d0
mov rcx, qword [rbp - 0x38]
xor edx, edx
call fcn.14018d3d0
mov eax, ebx
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.1401c5190
mov rbx, qword [rsp + 0x2d0]
add rsp, 0x280
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret