Function at 0x140072000
Capabilities:
Encode data using base64

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x88
mov rbp, r9
mov r15d, r8d
mov rdi, rdx
mov rbx, rcx
mov rax, qword [0x1401ea088]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov dword [rcx], 0
lea rcx, [0x1401ed7f0]
lea rdx, [0x140064f90]
call fcn.1400c2150
test rdi, rdi
je 0x140072094
mov esi, dword [rdi + 0x10]
cmp esi, dword [0x1401ed808]
jne 0x140072086
movsxd r9, dword [0x1401ed800]
mov r8, qword [0x1401ed7f8]
movsxd rdx, dword [rdi + 8]
mov rcx, qword [rdi]
call fcn.1400658d0
mov ecx, eax
neg ecx
test esi, esi
cmove ecx, eax
test ecx, ecx
jg 0x140072094
jmp 0x140072322
mov r12d, 1
test esi, esi
jne 0x140072328
mov r14d, dword [rdi + 8]
test r14d, r14d
jle 0x14007213e
mov r12, qword [rdi]
mov r13, qword [r12]
test r13b, 1
jne 0x14007216a
xor r13, 2
cmp r14d, 1
je 0x140072151
mov eax, 1
cmp r14d, 5
jb 0x140072130
lea rcx, [r14 - 1]
mov rdx, rcx
and rdx, 0xfffffffffffffffc
lea rax, [rdx + 1]
movq xmm1, r13
pxor xmm0, xmm0
xor r8d, r8d
nop word cs:[rax + rax]
movdqu xmm2, xmmword [r12 + r8*8 + 8]
por xmm1, xmm2
movdqu xmm2, xmmword [r12 + r8*8 + 0x18]
por xmm0, xmm2
add r8, 4
cmp rdx, r8
jne 0x1400720f0
por xmm0, xmm1
pshufd xmm1, xmm0, 0xee
por xmm1, xmm0
movq r13, xmm1
cmp rcx, rdx
je 0x140072151
nop word cs:[rax + rax]
or r13, qword [r12 + rax*8]
inc rax
cmp r14, rax
jne 0x140072130
jmp 0x140072151
test r14, r14
je 0x14007231e
mov rax, qword [rdi]
mov r13, qword [rax]
xor r13, 2
xor eax, eax
test r13, r13
jne 0x140072320
xor eax, eax
cmp dword [rdi + 0x10], 0
sete al
jmp 0x140072320
mov rcx, r13
xor rcx, 3
cmp r14d, 1
je 0x1400721ec
mov eax, 1
cmp r14d, 5
jb 0x1400721e0
lea rdx, [r14 - 1]
mov r8, rdx
and r8, 0xfffffffffffffffc
lea rax, [r8 + 1]
movq xmm1, rcx
pxor xmm0, xmm0
xor ecx, ecx
movdqu xmm2, xmmword [r12 + rcx*8 + 8]
por xmm1, xmm2
movdqu xmm2, xmmword [r12 + rcx*8 + 0x18]
por xmm0, xmm2
add rcx, 4
cmp r8, rcx
jne 0x1400721a0
por xmm0, xmm1
pshufd xmm1, xmm0, 0xee
por xmm1, xmm0
movq rcx, xmm1
cmp rdx, r8
je 0x1400721ec
nop word cs:[rax + rax]
or rcx, qword [r12 + rax*8]
inc rax
cmp r14, rax
jne 0x1400721e0
test rcx, rcx
jne 0x1400721fb
cmp dword [rdi + 0x10], 0
je 0x1400724be
cmp dword [rsp + 0xf0], 0
je 0x1400723bd
mov dword [rsp + 0x38], r15d
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x30], rbx
xor ebp, ebp
cmp r14d, 0x11
setge bl
mov r15w, 3
mov rcx, rdi
mov dx, 3
call fcn.140068010
test ax, ax
je 0x14007228e
mov bpl, bl
shl rbp, 9
add rbp, 0x200
mov ecx, 2
lea rbx, [0x1401a68d0]
nop word cs:[rax + rax]
mov rsi, rcx
cmp rbp, rcx
je 0x140072377
movzx r15d, word [rbx + rsi*2]
mov rcx, rdi
mov edx, r15d
call fcn.140068010
lea rcx, [rsi + 1]
test ax, ax
jne 0x140072260
cmp rsi, rbp
jae 0x140072385
movzx eax, r15w
xor r13, rax
cmp r14d, 2
jl 0x14007234f
mov eax, 1
cmp r14d, 5
mov r9, qword [rsp + 0x30]
jb 0x140072310
lea rcx, [r14 - 1]
mov rdx, rcx
and rdx, 0xfffffffffffffffc
lea rax, [rdx + 1]
movq xmm1, r13
pxor xmm0, xmm0
xor r8d, r8d
nop word [rax + rax]
movdqu xmm2, xmmword [r12 + r8*8 + 8]
por xmm1, xmm2
movdqu xmm2, xmmword [r12 + r8*8 + 0x18]
por xmm0, xmm2
add r8, 4
cmp rdx, r8
jne 0x1400722d0
por xmm0, xmm1
pshufd xmm1, xmm0, 0xee
por xmm1, xmm0
movq r13, xmm1
cmp rcx, rdx
je 0x140072354
nop word cs:[rax + rax]
or r13, qword [r12 + rax*8]
inc rax
cmp r14, rax
jne 0x140072310
jmp 0x140072354
xor eax, eax
mov dword [rbx], eax
mov r12d, 1
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.14015c2e0
mov eax, r12d
add rsp, 0x88
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov r9, qword [rsp + 0x30]
xor eax, eax
test r13, r13
jne 0x14007260a
test r15w, r15w
je 0x140072605
xor eax, eax
cmp dword [rdi + 0x10], 0
sete al
jmp 0x14007260a
mov r15w, 0xaaaa
cmp rsi, rbp
jb 0x14007228e
mov r8, qword [rsp + 0xf8]
test r8, r8
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x40]
mov r15d, dword [rsp + 0x38]
je 0x1400723bd
mov rax, qword [r8 + 8]
mov ecx, 1
mov edx, 0xffffffff
call qword [case.0x140031f00.0]
test eax, eax
je 0x140072765
test r15d, r15d
je 0x1400723d8
xor r12d, r12d
test rbp, rbp
je 0x140072416
xor esi, esi
cmp byte [rbp + 0x28], 0
jne 0x14007261e
jmp 0x14007244b
mov eax, dword [rdi + 8]
mov ecx, eax
sar ecx, 0x1f
and ecx, eax
mov r8, rax
nop word cs:[rax + rax]
test r8d, r8d
jle 0x1400724c9
mov rdx, qword [rdi]
lea r9, [r8 - 1]
cmp qword [rdx + r8*8 - 8], 0
mov r8, r9
je 0x1400723f0
inc r9d
mov ecx, r9d
jmp 0x1400724da
mov ecx, 0x30
call fcn.1400c0960
test rax, rax
je 0x140072328
mov rbp, rax
pxor xmm0, xmm0
movdqu xmmword [rax + 0x1a], xmm0
movdqu xmmword [rax + 0x10], xmm0
movdqu xmmword [rax], xmm0
mov rsi, rax
cmp byte [rbp + 0x28], 0
jne 0x14007261e
mov rcx, qword [rbp + 0x10]
mov r14, qword [rbp + 0x20]
cmp rcx, qword [rbp + 0x18]
jne 0x1400725f7
mov r12, rsi
mov esi, r15d
lea rax, [rcx + rcx*2]
shr rax, 1
test rcx, rcx
mov r15d, 0x20
cmovne r15, rax
cmp r15, rcx
jbe 0x140072612
mov rax, r15
shr rax, 0x3d
jne 0x140072612
lea rdx, [r15*8]
mov rcx, qword [rbp + 8]
call fcn.1400c0a10
test rax, rax
je 0x140072612
mov qword [rbp + 8], rax
mov qword [rbp + 0x18], r15
mov rcx, qword [rbp + 0x10]
mov r15d, esi
mov rsi, r12
jmp 0x1400725fb
mov dword [rbx], 1
jmp 0x140072322
mov r15d, 0x22
test eax, eax
jns 0x1400723c2
mov rdx, qword [rdi]
movsxd rax, ecx
shl ecx, 6
mov rdx, qword [rdx + rax*8 - 8]
xor eax, eax
test rdx, rdx
setne al
or eax, ecx
xor ecx, ecx
mov r8, rdx
shr r8, 0x20
setne cl
cmove r8, rdx
shl ecx, 5
mov r9, r8
shr r9, 0x10
xor edx, edx
cmp r8, 0x10000
setae dl
cmovb r9, r8
shl edx, 4
mov r10, r9
shr r10, 8
xor r8d, r8d
cmp r9, 0x100
setae r8b
cmovb r10, r9
mov r9, r10
shr r9, 4
xor r11d, r11d
cmp r10, 0x10
setae r11b
cmovb r9, r10
mov r10, r9
shr r10, 2
xor esi, esi
cmp r9, 4
cmovb r10, r9
setae sil
add esi, esi
or ecx, eax
or ecx, edx
lea eax, [rcx + r8*8]
lea eax, [rax + r11*4]
add eax, 0xffffffc0
or eax, esi
cmp r10, 2
sbb eax, 0xffffffff
mov r15d, 3
cmp eax, 0xea2
jg 0x1400723c2
mov r15d, 4
cmp eax, 0x540
jg 0x1400723c2
mov r15d, 5
cmp eax, 0x1db
jg 0x1400723c2
mov r15d, 6
cmp eax, 0x18f
jg 0x1400723c2
mov r15d, 7
cmp eax, 0x15a
jg 0x1400723c2
mov r15d, 8
cmp eax, 0x133
jg 0x1400723c2
cmp eax, 0x37
mov eax, 0x1b
mov r15d, 0x22
cmovge r15d, eax
jmp 0x1400723c2
mov rax, qword [rbp + 8]
mov qword [rax + rcx*8], r14
inc qword [rbp + 0x10]
jmp 0x14007261e
mov eax, 1
mov dword [r9], eax
jmp 0x140072322
mov word [rbp + 0x28], 0x101
mov r15d, esi
mov rsi, r12
mov rcx, rbp
call fcn.140065eb0
mov r13, rax
mov rcx, rdi
mov rdx, rbp
call fcn.140068aa0
mov rdi, rax
xor r12d, r12d
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x70], rax
movdqa xmm0, xmmword [section..rdata]
movdqa xmmword [rsp + 0x60], xmm0
movdqa xmmword [rsp + 0x50], xmm0
test r13, r13
je 0x140072793
test rdi, rdi
je 0x140072793
lea rcx, [rsp + 0x50]
mov rdx, rdi
mov r8, rbp
call fcn.1400712b0
test eax, eax
je 0x140072793
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x38], rsi
mov rsi, rbp
movsxd r14, r15d
mov ebp, 1
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x40], rax
xor r15d, r15d
jmp 0x1400726dd
add r15, rdi
xor eax, eax
cmp ebp, 0x10
lea ecx, [rbp + 1]
setb al
mov rdx, r15
xor rdx, r14
mov r8, r15
sub r8, r14
xor r8, r15
or r8, rdx
xor r8, r15
sar r8, 0x3f
or r8, rax
mov ebp, ecx
je 0x14007277a
mov dword [rsp + 0x4c], 0xaaaaaaaa
mov r8d, 2
mov rcx, r13
lea rdx, [rsp + 0x4c]
mov r9, qword [rsp + 0x40]
call fcn.1400727f0
test eax, eax
je 0x14007276d
movsxd rdi, dword [rsp + 0x4c]
mov dword [rsp + 0x48], 0
mov qword [rsp + 0x20], rsi
lea rcx, [rsp + 0x50]
lea rdx, [rsp + 0x48]
mov r8, r13
mov r9, qword [rsp + 0x30]
call fcn.1400716a0
xor r12d, r12d
test eax, eax
je 0x140072786
cmp dword [rsp + 0x48], 0
je 0x140072772
mov r8, qword [rsp + 0xf8]
test r8, r8
je 0x1400726ab
lea edx, [rbp - 1]
mov rax, qword [r8 + 8]
mov ecx, 1
call qword [case.0x140031f00.0]
test eax, eax
jne 0x1400726ab
jmp 0x140072786
xor r12d, r12d
jmp 0x140072328
xor r12d, r12d
jmp 0x140072786
mov dword [rbx], 0
jmp 0x140072780
mov dword [rbx], 1
mov r12d, 1
mov rbp, rsi
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x30]
mov rcx, rdi
call fcn.140068f60
cmp byte [rbp + 0x28], 0
jne 0x1400727ba
mov rax, qword [rbp + 8]
mov rcx, qword [rbp + 0x10]
lea rdx, [rcx - 1]
mov qword [rbp + 0x10], rdx
mov rax, qword [rax + rcx*8 - 8]
mov qword [rbp + 0x20], rax
test rsi, rsi
je 0x140072328
mov rcx, qword [rsi]
lea rdx, [0x140094740]
lea r8, [fcn.140064e30]
call fcn.1400c26f0
mov rcx, qword [rsi + 8]
call fcn.1400c09c0
mov rcx, rsi
call fcn.1400c09c0
jmp 0x140072328