Function at 0x14009e780
Capabilities:
Encode data using base64

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
mov r13, rcx
mov rax, qword [rcx + 0x20]
cmp rax, 0x10
jb 0x14009e7ca
add rax, 0xfffffffffffffff0
mov qword [r13 + 0x20], rax
mov rdx, qword [r13 + 8]
mov rdi, qword [r13 + 0x10]
mov rbx, qword [rdx]
add rdx, 8
mov qword [r13 + 8], rdx
cmp rdi, qword [r13 + 0x18]
je 0x14009e8ad
mov qword [rdi], rbx
jmp 0x14009ee56
mov rsi, qword [r13 + 0x10]
mov rax, qword [r13]
mov r8, qword [r13 + 8]
mov rbp, rsi
sub rbp, r8
mov r12, rbp
sar r12, 3
mov rcx, qword [r13 + 0x18]
mov r15, rcx
sub r15, rax
mov rdx, r15
sar rdx, 3
cmp r12, rdx
jae 0x14009e858
cmp rcx, rsi
je 0x14009e832
nop
mov ecx, 0x2c00
call sub.msvcrt.dll_malloc
test rax, rax
jne 0x14009e9d5
mov rax, qword [0x14027c368]
test rax, rax
je 0x14009e9da
call rax
jmp 0x14009e800
call rax
mov ecx, 0x2c00
call sub.msvcrt.dll_malloc
test rax, rax
jne 0x14009ea39
mov rax, qword [0x14027c368]
test rax, rax
jne 0x14009e830
xor edi, edi
jmp 0x14009ea3c
sar r15, 2
cmp rcx, rax
mov eax, 1
cmove r15, rax
mov rcx, r15
shr rcx, 0x3d
jne 0x14009efc6
mov qword [rsp + 0x20], r8
lea rbx, [r15*8]
test r15, r15
cmove rbx, rax
mov qword [rsp + 0x28], rsi
nop
mov rcx, rbx
call sub.msvcrt.dll_malloc
test rax, rax
jne 0x14009e8fb
mov rax, qword [0x14027c368]
test rax, rax
je 0x14009e900
call rax
jmp 0x14009e890
mov rax, qword [r13]
mov rcx, rdx
sub rcx, rax
jbe 0x14009e970
sar rcx, 3
lea rax, [rcx + 1]
shr rax, 0x3f
lea rsi, [rcx + rax]
inc rsi
shr rsi, 1
shl rsi, 3
mov rcx, rdx
sub rcx, rsi
mov r8, rdi
sub r8, rdx
call fcn.140122c10
sub rdi, rsi
mov qword [r13 + 0x10], rdi
sub qword [r13 + 8], rsi
mov qword [rdi], rbx
jmp 0x14009ee56
mov rdi, rax
jmp 0x14009e902
xor edi, edi
lea rbx, [rdi + r12*8]
lea rsi, [rdi + r15*8]
nop word [rax + rax]
mov ecx, 0x2c00
call sub.msvcrt.dll_malloc
test rax, rax
jne 0x14009e92f
mov rax, qword [0x14027c368]
test rax, rax
je 0x14009e93c
call rax
jmp 0x14009e910
mov r14, rax
cmp r12, r15
je 0x14009e948
jmp 0x14009ebfb
xor r14d, r14d
cmp r12, r15
jne 0x14009ebfb
test rbp, rbp
jle 0x14009ea9b
lea rax, [r12 + 1]
shr rax, 0x3f
add rax, r12
inc rax
shl rax, 2
and rax, 0xfffffffffffffff8
sub rbx, rax
jmp 0x14009ebfb
mov rsi, rdi
sub rsi, rax
sar rsi, 2
cmp rdi, rax
mov eax, 1
cmove rsi, rax
mov rcx, rsi
shr rcx, 0x3d
jne 0x14009efc6
mov r14, rsi
shr r14, 2
lea rdi, [rsi*8]
test rsi, rsi
cmove rdi, rax
nop dword [rax]
mov rcx, rdi
call sub.msvcrt.dll_malloc
test rax, rax
jne 0x14009eb07
mov rax, qword [0x14027c368]
test rax, rax
je 0x14009eb05
call rax
jmp 0x14009e9b0
mov rdi, rax
jmp 0x14009e9dc
xor edi, edi
mov rbx, qword [r13 + 0x10]
cmp rbx, qword [r13 + 0x18]
jne 0x14009ee53
mov rax, qword [r13]
mov rdx, qword [r13 + 8]
mov rcx, rdx
sub rcx, rax
jbe 0x14009eb7c
sar rcx, 3
lea rax, [rcx + 1]
shr rax, 0x3f
lea rsi, [rcx + rax]
inc rsi
shr rsi, 1
shl rsi, 3
mov rcx, rdx
sub rcx, rsi
mov r8, rbx
sub r8, rdx
call fcn.140122c10
sub rbx, rsi
mov qword [r13 + 0x10], rbx
sub qword [r13 + 8], rsi
jmp 0x14009ee53
mov rdi, rax
mov rdx, qword [r13 + 8]
cmp rdx, qword [r13]
jne 0x14009eed3
mov r8, qword [r13 + 0x10]
mov rax, qword [r13 + 0x18]
cmp r8, rax
jae 0x14009ed7f
sub rax, r8
sar rax, 3
lea rcx, [rax + 1]
shr rcx, 0x3f
lea rsi, [rax + rcx]
inc rsi
shl rsi, 2
and rsi, 0xfffffffffffffff8
lea rbx, [r8 + rsi]
sub r8, rdx
sub rbx, r8
mov rcx, rbx
call fcn.140122c10
mov qword [r13 + 8], rbx
add qword [r13 + 0x10], rsi
mov rdx, rbx
jmp 0x14009eed3
sar rbp, 2
mov rax, qword [rsp + 0x20]
cmp qword [rsp + 0x28], rax
mov eax, 1
cmove rbp, rax
movabs rcx, 0x1fffffffffffffff
cmp rbp, rcx
ja 0x14009efc6
lea r15, [rbp*8]
test rbp, rbp
cmove r15, rax
nop word cs:[rax + rax]
mov rcx, r15
call sub.msvcrt.dll_malloc
test rax, rax
jne 0x14009ebe5
mov rax, qword [0x14027c368]
test rax, rax
je 0x14009ebea
call rax
jmp 0x14009eae0
xor eax, eax
lea rdx, [rax + r14*8]
mov rcx, qword [r13 + 8]
mov r10, qword [r13 + 0x10]
lea r8, [rax + rsi*8]
mov rdi, rdx
sub r10, rcx
je 0x14009eb51
mov r9, r10
sar r9, 3
and r10, 0xfffffffffffffff8
mov rdi, r10
add rdi, rdx
shl r9, 3
xor r10d, r10d
nop word [rax + rax]
mov r11, qword [rcx + r10]
mov qword [rdx + r10], r11
add r10, 8
cmp r9, r10
jne 0x14009eb40
mov rcx, qword [r13]
mov qword [r13], rax
mov qword [r13 + 8], rdx
mov qword [r13 + 0x10], rdi
mov qword [r13 + 0x18], r8
test rcx, rcx
je 0x14009e7c2
call sub.msvcrt.dll_free
mov rdi, qword [r13 + 0x10]
jmp 0x14009e7c2
mov rsi, rbx
sub rsi, rax
sar rsi, 2
cmp rbx, rax
mov eax, 1
cmove rsi, rax
mov rcx, rsi
shr rcx, 0x3d
jne 0x14009efc6
mov r14, rsi
shr r14, 2
lea rbx, [rsi*8]
test rsi, rsi
cmove rbx, rax
nop word cs:[rax + rax]
mov rcx, rbx
call sub.msvcrt.dll_malloc
test rax, rax
jne 0x14009ede7
mov rax, qword [0x14027c368]
test rax, rax
je 0x14009ede5
call rax
jmp 0x14009ebc0
mov rbx, rax
jmp 0x14009ebec
xor ebx, ebx
lea rsi, [rbx + rbp*8]
mov rcx, rdi
call sub.msvcrt.dll_free
mov rdi, rbx
mov qword [rbx], r14
lea r14, [rbx + 8]
mov rbp, qword [r13 + 0x10]
cmp rbp, qword [r13 + 8]
je 0x14009ed4a
mov qword [rsp + 0x30], r13
jmp 0x14009ec40
mov r15, rbx
add rbp, 0xfffffffffffffff8
mov rax, qword [rbp]
mov qword [r15 - 8], rax
add r15, 0xfffffffffffffff8
mov rbx, r15
cmp rbp, qword [r13 + 8]
je 0x14009ed4d
cmp rbx, rdi
jne 0x14009ec20
cmp r14, rsi
jae 0x14009ec89
mov rax, rsi
sub rax, r14
sar rax, 3
lea rcx, [rax + 1]
shr rcx, 0x3f
add rax, rcx
inc rax
and rax, 0xfffffffffffffffe
lea r12, [r14 + rax*4]
sub r14, rbx
mov r15, r12
sub r15, r14
mov rcx, r15
mov rdx, rbx
mov r8, r14
call fcn.140122c10
mov rdi, rbx
mov r14, r12
jmp 0x14009ec23
mov r13, rsi
sub r13, rbx
sar r13, 2
cmp rsi, rbx
mov ecx, 1
cmove r13, rcx
movabs rax, 0x1fffffffffffffff
cmp r13, rax
ja 0x14009efc6
lea rsi, [r13 + 3]
shr rsi, 2
lea r15, [r13*8]
test r13, r13
cmove r15, rcx
nop dword [rax]
mov rcx, r15
call sub.msvcrt.dll_malloc
test rax, rax
jne 0x14009eced
mov rax, qword [0x14027c368]
test rax, rax
je 0x14009ecf2
call rax
jmp 0x14009ecd0
mov rdi, rax
jmp 0x14009ecf4
xor edi, edi
lea r15, [rdi + rsi*8]
mov r12, r15
sub r14, rbx
je 0x14009ed31
mov rax, r14
sar rax, 3
and r14, 0xfffffffffffffff8
mov r12, r14
add r12, r15
shl rax, 3
xor ecx, ecx
nop word [rax + rax]
mov rdx, qword [rbx + rcx]
mov qword [r15 + rcx], rdx
add rcx, 8
cmp rax, rcx
jne 0x14009ed20
lea rsi, [rdi + r13*8]
mov rcx, rbx
call sub.msvcrt.dll_free
mov r14, r12
mov r13, qword [rsp + 0x30]
jmp 0x14009ec23
mov r15, rbx
mov rcx, qword [r13]
mov qword [r13], rdi
mov qword [r13 + 8], r15
mov qword [r13 + 0x10], r14
mov qword [r13 + 0x18], rsi
test rcx, rcx
je 0x14009ee5b
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
jmp sub.msvcrt.dll_free
mov rsi, rax
sub rsi, rdx
sar rsi, 2
cmp rax, rdx
mov eax, 1
cmove rsi, rax
mov rcx, rsi
shr rcx, 0x3d
jne 0x14009efc6
lea r14, [rsi + 3]
shr r14, 2
lea rbx, [rsi*8]
test rsi, rsi
cmove rbx, rax
nop dword [rax]
mov rcx, rbx
call sub.msvcrt.dll_malloc
test rax, rax
jne 0x14009ee6e
mov rax, qword [0x14027c368]
test rax, rax
je 0x14009ee6c
call rax
jmp 0x14009edc0
xor eax, eax
lea rdx, [rax + r14*8]
mov rcx, qword [r13 + 8]
mov r10, qword [r13 + 0x10]
lea r8, [rax + rsi*8]
mov rbx, rdx
sub r10, rcx
je 0x14009ee31
mov r9, r10
sar r9, 3
and r10, 0xfffffffffffffff8
mov rbx, r10
add rbx, rdx
shl r9, 3
xor r10d, r10d
nop word [rax + rax]
mov r11, qword [rcx + r10]
mov qword [rdx + r10], r11
add r10, 8
cmp r9, r10
jne 0x14009ee20
mov rcx, qword [r13]
mov qword [r13], rax
mov qword [r13 + 8], rdx
mov qword [r13 + 0x10], rbx
mov qword [r13 + 0x18], r8
test rcx, rcx
je 0x14009ee53
call sub.msvcrt.dll_free
mov rbx, qword [r13 + 0x10]
mov qword [rbx], rdi
add qword [r13 + 0x10], 8
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
xor eax, eax
lea rdx, [rax + r14*8]
mov rcx, qword [r13 + 8]
mov r11, qword [r13 + 0x10]
lea r8, [rax + rsi*8]
mov r9, rdx
sub r11, rcx
je 0x14009eeb1
mov r10, r11
sar r10, 3
and r11, 0xfffffffffffffff8
mov r9, r11
add r9, rdx
shl r10, 3
xor r11d, r11d
nop
mov rsi, qword [rcx + r11]
mov qword [rdx + r11], rsi
add r11, 8
cmp r10, r11
jne 0x14009eea0
mov rcx, qword [r13]
mov qword [r13], rax
mov qword [r13 + 8], rdx
mov qword [r13 + 0x10], r9
mov qword [r13 + 0x18], r8
test rcx, rcx
je 0x14009eed3
call sub.msvcrt.dll_free
mov rdx, qword [r13 + 8]
mov qword [rdx - 8], rdi
mov rdx, qword [r13 + 8]
mov rdi, qword [r13 + 0x10]
lea rax, [rdx - 8]
mov qword [r13 + 8], rax
mov rbx, qword [rdx - 8]
mov qword [r13 + 8], rdx
cmp rdi, qword [r13 + 0x18]
jne 0x14009e7c2
mov rax, qword [r13]
mov rcx, rdx
sub rcx, rax
ja 0x14009e8bd
mov rsi, rdi
sub rsi, rax
sar rsi, 2
cmp rdi, rax
mov eax, 1
cmove rsi, rax
mov rcx, rsi
shr rcx, 0x3d
jne 0x14009efc6
mov r14, rsi
shr r14, 2
lea rdi, [rsi*8]
test rsi, rsi
cmove rdi, rax
nop word cs:[rax + rax]
mov rcx, rdi
call sub.msvcrt.dll_malloc
test rax, rax
jne 0x14009ef6f
mov rax, qword [0x14027c368]
test rax, rax
je 0x14009ef6d
call rax
jmp 0x14009ef50
xor eax, eax
lea rdx, [rax + r14*8]
mov rcx, qword [r13 + 8]
mov r10, qword [r13 + 0x10]
lea r8, [rax + rsi*8]
mov rdi, rdx
sub r10, rcx
je 0x14009eb51
mov r9, r10
sar r9, 3
and r10, 0xfffffffffffffff8
mov rdi, r10
add rdi, rdx
shl r9, 3
xor r10d, r10d
nop word cs:[rax + rax]
mov r11, qword [rcx + r10]
mov qword [rdx + r10], r11
add r10, 8
cmp r9, r10
jne 0x14009efb0
jmp 0x14009eb51
call fcn.140015ae8
int3