Function at 0x1401a9b80
Capabilities:
Encode data using base64

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov r13, rdx
mov rsi, rcx
mov rax, qword [0x14028f028]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rbp, qword [rcx + 8]
cmp rbp, qword [rcx + 0x10]
je 0x1401a9bde
mov rax, qword [r13]
mov qword [rbp], rax
add rbp, 8
mov qword [rsi + 8], rbp
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400ccfe0
nop
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
sub rbp, qword [rsi]
mov r14, rbp
sar r14, 3
lea rax, [r14 + 1]
mov rcx, rax
shr rcx, 0x3d
jne 0x1401a9ee8
movabs rcx, 0x1fffffffffffffff
sar rbp, 2
cmp rbp, rax
cmovb rbp, rax
movabs rax, 0xfffffffffffffff
cmp r14, rax
cmovae rbp, rcx
test rbp, rbp
je 0x1401a9db4
call fcn.1400a2bb0
mov r15, rax
lea r12, [rbp*8]
mov eax, 0x40
mov ecx, 0x40
test r12, r12
je 0x1401a9c4f
bsr rcx, r12
xor rcx, 0x3f
sub rax, rcx
lea rcx, [0x140264bf0]
mov cl, byte [rax + rcx]
mov rdx, r12
shr rdx, cl
and edx, 7
lea rcx, [0x140264c40]
mov rcx, qword [rcx + rax*8]
and rcx, r12
lea rax, [rdx + rax*8]
cmp rcx, 1
sbb rax, 0xffffffffffffffff
lea rcx, [0x1402643d8]
movzx ebx, word [rcx + rax*2 + 0x400]
mov byte [rsp + 0x5f], 0
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x50], rax
cmp byte [r15], 2
jne 0x1401a9cb6
mov al, byte [0x140292688]
cmp al, 2
je 0x1401a9ed2
cmp byte [r15 + 2], 0
je 0x1401a9dbf
call fcn.1400c5e90
cmp rax, 2
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x40], rbx
jb 0x1401a9e1d
mov rdi, rax
inc qword [rax + 0x5a0]
cmp bx, 0x29
jae 0x1401a9e34
mov r12, rbx
shl r12, 4
mov r15, rdi
add r15, r12
mov rbx, qword [rdi + r12]
test rbx, rbx
je 0x1401a9e9a
inc qword [rdi + 0x5a8]
mov rax, qword [rbx]
test rax, rax
je 0x1401a9db8
mov rcx, rax
not rcx
cmp qword [rbx + 8], rcx
jne 0x1401a9ecd
bswap rax
prefetcht0 byte [rax]
dec byte [rdi + r12 + 8]
mov qword [r15], rax
movzx eax, word [rdi + r12 + 0xa]
mov qword [rsp + 0x50], rax
movzx eax, word [rdi + r12 + 0xa]
sub qword [rdi + 0x590], rax
test rbx, rbx
je 0x1401a9e42
lea rdi, [rbx + r14*8]
lea rbp, [rbx + rbp*8]
mov rax, qword [r13]
mov qword [rdi], rax
lea rbx, [rbx + r14*8]
add rbx, 8
mov rdx, qword [rsi]
mov r8, qword [rsi + 8]
sub r8, rdx
sub rdi, r8
test r8, r8
jle 0x1401a9d93
mov rcx, rdi
call fcn.1400cf0a0
mov rdx, qword [rsi]
mov qword [rsi], rdi
mov qword [rsi + 8], rbx
mov qword [rsi + 0x10], rbp
test rdx, rdx
je 0x1401a9bbf
mov rcx, rdx
call fcn.1400089f0
jmp 0x1401a9bbf
xor ebx, ebx
jmp 0x1401a9d5f
xor eax, eax
jmp 0x1401a9d36
lea rdi, [rbx + rbx*4]
lea rcx, [r15 + 8]
call fcn.1400c4430
mov rax, qword [r15 + rdi*8 + 0x10]
mov rbx, qword [rax]
test rbx, rbx
je 0x1401a9ef0
mov byte [rsp + 0x5f], 0
mov rcx, qword [rbx]
test rcx, rcx
je 0x1401a9ec6
mov rdx, rcx
not rdx
cmp qword [rbx + 8], rdx
jne 0x1401a9ecd
bswap rcx
prefetcht0 byte [rcx]
mov qword [rax], rcx
inc word [rax + 0x18]
add r15, 8
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
jmp 0x1401a9d5f
lea r8, [rsp + 0x50]
mov rcx, r15
mov edx, ebx
call fcn.140007bf0
mov rbx, rax
jmp 0x1401a9d56
inc qword [rdi + 0x5c0]
inc qword [rdi + 0x5b0]
mov rax, qword [rsp + 0x40]
lea rdi, [rax + rax*4]
mov rbx, qword [rsp + 0x38]
lea rcx, [rbx + 8]
call fcn.1400c4430
mov rax, qword [rbx + rdi*8 + 0x10]
mov rbx, qword [rax]
test rbx, rbx
je 0x1401a9f21
mov byte [rsp + 0x5f], 0
mov rcx, qword [rbx]
test rcx, rcx
je 0x1401a9ee4
mov rdx, rcx
not rdx
cmp qword [rbx + 8], rdx
jne 0x1401a9ecd
bswap rcx
prefetcht0 byte [rcx]
mov qword [rax], rcx
inc word [rax + 0x18]
mov r15, qword [rsp + 0x38]
jmp 0x1401a9e0b
inc qword [rdi + 0x5b8]
inc qword [rdi + 0x5b0]
mov rcx, rdi
mov rdx, qword [rsp + 0x40]
call fcn.140075530
mov rbx, qword [r15]
test rbx, rbx
jne 0x1401a9d14
jmp 0x1401a9e42
xor ecx, ecx
jmp 0x1401a9e04
call fcn.14011f1c0
call fcn.14011e1a0
mov rcx, rax
call fcn.140147fd0
jmp 0x1401a9cb6
xor ecx, ecx
jmp 0x1401a9e89
mov rcx, rsi
call fcn.14014e7e0
lea rcx, [r15 + rdi*8]
add rcx, 0x10
lea rax, [rsp + 0x5f]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0x4000
mov rdx, r15
xor r8d, r8d
mov r9, r12
call fcn.140002d70
mov rbx, rax
jmp 0x1401a9e0b
mov r15, qword [rsp + 0x38]
lea rcx, [r15 + rdi*8]
add rcx, 0x10
lea rax, [rsp + 0x5f]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0x4000
mov rdx, r15
xor r8d, r8d
mov r9, qword [rsp + 0x48]
jmp 0x1401a9f14