Function at 0x1400334c0
Capabilities:
Encode data using base64
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x78
mov r13, rdx
mov rdi, rcx
mov rax, qword [0x140188028]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rbp, qword [rcx + 0x18]
cmp byte [r8 + 0x17], 0
jns 0x14003356a
mov r14, qword [r8]
mov rbx, qword [r8 + 8]
cmp rbx, 0x16
jbe 0x14003353d
movabs rsi, 0x7fffffffffffffef
cmp rbx, rsi
ja 0x140034044
mov r15, rbx
or r15, 0xf
inc r15
mov rcx, r15
call fcn.1400a27b0
mov rcx, rax
mov qword [rsp + 0x50], rax
add rsi, 0x11
or rsi, r15
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x58], rbx
jmp 0x140033545
lea rcx, [rsp + 0x50]
mov byte [rcx + 0x17], bl
cmp rcx, r14
ja 0x14003355a
lea rax, [rcx + rbx]
inc rax
cmp rax, r14
ja 0x140033de1
inc rbx
mov rdx, r14
mov r8, rbx
call fcn.1400a5710
jmp 0x14003357c
mov rax, qword [r8 + 0x10]
mov qword [rsp + 0x60], rax
movups xmm0, xmmword [r8]
movaps xmmword [rsp + 0x50], xmm0
inc rbp
lea r10, [rsp + 0x50]
mov qword [r10 + 0x18], rbp
movzx edx, byte [r10 + 0x17]
mov ecx, edx
and ecx, 0x7f
test dl, dl
mov r9, qword [r10]
mov rax, r10
cmovs rax, r9
cmovs rcx, qword [r10 + 8]
cmp rcx, 0x20
mov qword [rsp + 0x38], rbp
ja 0x140033621
cmp rcx, 0x10
ja 0x140033784
cmp rcx, 9
jae 0x140033740
cmp rcx, 4
jae 0x140033704
movabs rbx, 0x9ae16a3b2f90404f
test rcx, rcx
je 0x140033814
movzx edx, byte [rax]
mov r8, rcx
shr r8, 1
movzx r8d, byte [rax + r8]
movzx eax, byte [rcx + rax - 1]
shl r8, 8
or r8, rdx
lea rax, [rcx + rax*4]
imul r8, rbx
movabs rcx, 0xc949d7c7509e6557
imul rcx, rax
xor rcx, r8
mov rax, rcx
shr rax, 0x2f
xor rax, rcx
jmp 0x140033810
mov qword [rsp + 0x30], r13
cmp rcx, 0x40
ja 0x1400339f8
test dl, dl
cmovs r10, r9
mov r8, qword [r10 + 0x10]
mov rsi, qword [r10 + 0x18]
mov rbx, qword [rax + rcx - 0x10]
lea r9, [rbx + rcx]
movabs rdx, 0xc3a5c85c97cb3127
imul r9, rdx
add r9, qword [rax]
lea r11, [r9 + rsi]
mov r15, r9
add r9, qword [r10 + 8]
mov r10, r9
add r9, r8
add r8, qword [rax + rcx - 0x20]
mov r14, qword [rax + rcx - 8]
add r14, rsi
lea r12, [r14 + r8]
mov r13, r8
add r8, qword [rax + rcx - 0x18]
rol r11, 0xc
rol r15, 0x1b
rol r10, 0x39
rol r12, 0xc
rol r13, 0x1b
add r10, r15
mov rax, r8
rol rax, 0x39
add r8, rbx
add r14, r8
rol r8, 0x21
add r13, rsi
add r13, rax
add r13, r12
add r13, r8
add r13, r9
rol r9, 0x21
add r10, r11
add r9, r10
movabs rax, 0x9ae16a3b2f90404f
imul r13, rax
add r14, r9
imul r14, rdx
add r14, r13
mov rcx, r14
shr rcx, 0x2f
xor rcx, r14
imul rcx, rdx
add rcx, r9
mov rbx, rcx
shr rbx, 0x2f
xor rbx, rcx
imul rbx, rax
mov r13, qword [rsp + 0x30]
jmp 0x140033814
mov edx, dword [rax]
mov eax, dword [rax + rcx - 4]
lea rcx, [rcx + rdx*8]
xor rcx, rax
movabs rdx, 0x9ddfea08eb382d69
imul rcx, rdx
xor rax, rcx
shr rcx, 0x2f
xor rcx, rax
imul rcx, rdx
mov rbx, rcx
shr rbx, 0x2f
xor rbx, rcx
imul rbx, rdx
jmp 0x140033814
mov rdx, qword [rax + rcx - 8]
lea r8, [rdx + rcx]
ror r8, cl
mov rax, qword [rax]
xor rax, r8
movabs rcx, 0x9ddfea08eb382d69
imul rax, rcx
xor r8, rax
shr rax, 0x2f
xor rax, r8
imul rax, rcx
mov rbx, rax
shr rbx, 0x2f
xor rbx, rax
imul rbx, rcx
xor rbx, rdx
jmp 0x140033814
movabs r8, 0xb492b66fbe98f273
imul r8, qword [rax]
test dl, dl
cmovs r10, r9
mov r9, qword [r10 + 8]
movabs rdx, 0x9ae16a3b2f90404f
imul rdx, qword [rax + rcx - 8]
movabs r10, 0xc3a5c85c97cb3127
imul r10, qword [rax + rcx - 0x10]
movabs rax, 0xc949d7c7509e6557
xor rax, r9
rol rax, 0x2c
add rcx, r8
add rcx, rax
sub r8, r9
rol r8, 0x15
sub rcx, rdx
add r8, r10
rol rdx, 0x22
add rdx, r8
xor rdx, rcx
movabs rax, 0x9ddfea08eb382d69
imul rdx, rax
xor rcx, rdx
shr rdx, 0x2f
xor rdx, rcx
imul rdx, rax
mov rbx, rdx
shr rbx, 0x2f
xor rbx, rdx
imul rbx, rax
mov r12, qword [rdi + 8]
test r12, r12
jne 0x140033e17
movabs r15, 0xaaaaaaaaaaaaaaaa
mov rsi, rbp
mov ecx, 0x30
call fcn.1400a27b0
mov r14, rax
mov rax, qword [rsp + 0x60]
mov qword [r14 + 0x20], rax
movaps xmm0, xmmword [rsp + 0x50]
movups xmmword [r14 + 0x10], xmm0
xorps xmm0, xmm0
movaps xmmword [rsp + 0x50], xmm0
xor eax, eax
mov qword [rsp + 0x60], rax
mov qword [r14 + 0x28], rsi
mov qword [r14 + 8], rbx
mov qword [r14], rax
mov rax, qword [rdi + 0x18]
inc rax
jns 0x14003388b
mov rcx, rax
shr rcx, 1
and eax, 1
or rax, rcx
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
addss xmm0, xmm0
jmp 0x140033893
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
mov rcx, r12
shr rcx, 1
mov eax, r12d
and eax, 1
or rax, rcx
test r12, r12
jns 0x1400338b2
cvtsi2ss xmm1, rax
addss xmm1, xmm1
jmp 0x1400338b7
cvtsi2ss xmm1, r12
movss xmm2, dword [rdi + 0x20]
je 0x1400338cb
mulss xmm1, xmm2
ucomiss xmm0, xmm1
jbe 0x140033986
divss xmm0, xmm2
call fcn.1400d8590
cvttss2si rcx, xmm0
mov rdx, rcx
subss xmm0, dword [0x140164618]
sar rdx, 0x3f
cvttss2si rax, xmm0
and rax, rdx
or rax, rcx
lea rcx, [r12 + r12]
mov r15d, 1
cmp r12, 3
jae 0x140033c95
or r15, rcx
cmp r15, rax
cmovbe r15, rax
cmp r15, 1
jne 0x140033f06
mov r12, qword [rdi + 8]
mov r15d, 2
cmp r12, 2
jae 0x140033f35
lea rcx, [r15*8]
call fcn.1400a27b0
mov rcx, qword [rdi]
mov qword [rdi], rax
test rcx, rcx
jne 0x140033c55
mov qword [rdi + 8], r15
xor eax, eax
mov rcx, qword [rdi]
mov qword [rcx + rax*8], 0
inc rax
cmp r15, rax
jne 0x140033951
mov r8, qword [rdi + 0x10]
test r8, r8
jne 0x140033cd0
mov r12, qword [rdi + 8]
lea r15, [r12 - 1]
test r12, r15
jne 0x140033ca9
and r15, rbx
mov rcx, qword [rdi]
mov rax, qword [rcx + r15*8]
test rax, rax
jne 0x140033c87
lea rax, [rdi + 0x10]
mov rdx, qword [rdi + 0x10]
mov qword [r14], rdx
mov qword [rdi + 0x10], r14
mov qword [rcx + r15*8], rax
mov rax, qword [r14]
test rax, rax
jne 0x140033c5f
inc qword [rdi + 0x18]
xor ebp, ebp
cmp byte [rsp + 0x67], 0
js 0x14003404e
test bpl, bpl
jne 0x140033cc2
mov rax, qword [rsp + 0x38]
mov qword [r13], rax
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1400a3c70
mov eax, ebp
add rsp, 0x78
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
movabs rbp, 0xb492b66fbe98f273
movabs r15, 0x9ddfea08eb382d69
mov r14, qword [rax + rcx - 0x28]
mov rdx, qword [rax + rcx - 0x10]
mov r8, qword [rax + rcx - 0x38]
mov r10, qword [rax + rcx - 0x30]
lea r9, [r8 + rdx]
mov rbx, qword [rax + rcx - 0x18]
lea rsi, [r10 + rcx]
xor rsi, rbx
imul rsi, r15
mov r11, rbx
xor r11, rsi
shr rsi, 0x2f
xor rsi, r11
imul rsi, r15
mov r11, rsi
shr r11, 0x2f
xor r11, rsi
imul r11, r15
mov rsi, qword [rax + rcx - 0x40]
add rsi, rcx
lea r12, [rsi + r14]
add r12, r11
rol r12, 0x2b
add r10, r8
add r10, rsi
mov r15, r10
rol r15, 0x14
add r15, rsi
add r15, r12
add r10, r14
mov r8, qword [rax + rcx - 0x20]
add r8, r9
mov rsi, qword [rax + rcx - 8]
add r8, rbp
lea r13, [rsi + r14]
add r13, r8
rol r13, 0x2b
add rbx, rdx
add rbx, r8
mov r12, rbx
rol r12, 0x14
add r12, r8
add r12, r13
imul r14, rbp
add r14, qword [rax]
add rbx, rsi
dec rcx
and rcx, 0xffffffffffffffc0
xor ebp, ebp
mov qword [rsp + 0x40], r11
add r14, r10
add r14, r9
mov rdx, qword [rax + rbp + 8]
mov rsi, qword [rax + rbp + 0x10]
add r14, rdx
rol r14, 0x1b
add r9, r15
mov r8, qword [rax + rbp + 0x30]
mov qword [rsp + 0x48], r8
add r9, r8
rol r9, 0x16
movabs r8, 0xb492b66fbe98f273
imul r14, r8
mov r11, r9
imul r11, r8
mov r8, r14
xor r8, r12
mov r13, qword [rax + rbp + 0x28]
add r10, r13
mov r9, r10
add r9, r11
mov r14, qword [rsp + 0x40]
add r14, rbx
movabs r10, 0xb492b66fbe98f273
imul r15, r10
mov r11, qword [rax + rbp + 0x18]
add r15, qword [rax + rbp]
add rbx, r11
add rbx, r15
add rbx, r8
rol rbx, 0x2b
add rdx, rsi
add rdx, r15
mov r10, rdx
rol r10, 0x14
add r15, r10
add r15, rbx
rol r14, 0x1f
mov r10, rdx
movabs rdx, 0xb492b66fbe98f273
imul r14, rdx
add r10, r11
mov r11, r8
add r12, r14
mov rdx, qword [rax + rbp + 0x38]
add r12, qword [rax + rbp + 0x20]
add rsi, rdx
add rsi, r9
add rsi, r12
add r13, qword [rsp + 0x48]
add r13, r12
mov r8, r13
rol r8, 0x14
add r12, r8
rol rsi, 0x2b
add r12, rsi
mov rbx, r13
add rbx, rdx
add rbp, 0x40
cmp rcx, rbp
jne 0x140033abd
xor r15, r12
movabs r8, 0x9ddfea08eb382d69
imul r15, r8
xor r12, r15
shr r15, 0x2f
xor r15, r12
imul r15, r8
mov rax, r15
shr rax, 0x2f
xor rax, r15
imul rax, r8
add rax, r14
xor r10, rbx
imul r10, r8
xor rbx, r10
shr r10, 0x2f
xor r10, rbx
imul r10, r8
mov rcx, r10
shr rcx, 0x2f
xor rcx, r10
imul rcx, r8
mov rdx, r9
shr rdx, 0x2f
xor rdx, r9
movabs r9, 0xb492b66fbe98f273
imul rdx, r9
add rdx, r11
add rdx, rcx
xor rdx, rax
imul rdx, r8
xor rax, rdx
shr rdx, 0x2f
xor rdx, rax
imul rdx, r8
mov rbx, rdx
shr rbx, 0x2f
xor rbx, rdx
imul rbx, r8
mov r13, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
jmp 0x140033814
call fcn.1400a27ec
jmp 0x14003394b
mov rax, qword [rax + 8]
lea rcx, [r12 - 1]
test r12, rcx
je 0x140033dcd
cmp rax, r12
jb 0x140033c7e
xor edx, edx
div r12
mov rax, rdx
shl rax, 3
add rax, qword [rdi]
jmp 0x140033c8d
mov rcx, qword [rax]
mov qword [r14], rcx
mov qword [rax], r14
jmp 0x1400339b5
lea rdx, [r12 - 1]
xor r15d, r15d
test r12, rdx
setne r15b
jmp 0x140033907
cmp rbx, r12
jb 0x140034062
mov rax, rbx
xor edx, edx
div r12
mov r15, rdx
jmp 0x140033986
mov rax, qword [r14 + 0x28]
mov qword [rsp + 0x38], rax
jmp 0x1400339cf
lea r10, [rdi + 0x10]
mov rcx, qword [r8 + 8]
mov rax, r15
shr rax, 1
movabs rdx, 0x5555555555555555
and rdx, rax
mov rax, r15
sub rax, rdx
movabs rdx, 0x3333333333333333
mov r9, rax
and r9, rdx
shr rax, 2
and rax, rdx
add rax, r9
mov rdx, rax
shr rdx, 4
add rdx, rax
movabs rax, 0xf0f0f0f0f0f0f0f
and rax, rdx
movabs r9, 0x101010101010101
imul r9, rax
shr r9, 0x38
cmp r9, 1
jbe 0x140033dd5
cmp rcx, r15
jb 0x140033d4e
mov rax, rcx
xor edx, edx
div r15
mov rcx, rdx
mov rax, qword [rdi]
mov qword [rax + rcx*8], r10
mov r10, qword [r8]
test r10, r10
je 0x140033971
lea r11, [r15 - 1]
jmp 0x140033d7d
mov qword [rdx + rax*8], r8
mov r8, r10
mov r10, qword [r10]
mov rcx, rax
test r10, r10
je 0x140033971
mov rax, qword [r10 + 8]
cmp r9d, 1
jbe 0x140033dc8
cmp rax, r15
jb 0x140033d94
xor edx, edx
div r15
mov rax, rdx
cmp rax, rcx
je 0x140033dc3
mov rdx, qword [rdi]
cmp qword [rdx + rax*8], 0
je 0x140033d67
mov rdx, qword [r10]
mov qword [r8], rdx
mov rdx, qword [rdi]
mov rdx, qword [rdx + rax*8]
mov rdx, qword [rdx]
mov qword [r10], rdx
mov rdx, qword [rdi]
mov rax, qword [rdx + rax*8]
mov qword [rax], r10
mov r10, r8
mov rax, rcx
jmp 0x140033d6b
and rax, r11
jmp 0x140033d94
and rax, rcx
jmp 0x140033c7e
lea rax, [r15 - 1]
and rcx, rax
jmp 0x140033d4e
lea rax, str.char_traits::copy_overlapped_range
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s
lea rdx, str....._buildtools_third_partylibc_trunkinclude__stringchar_traits.h
lea r9, str.__s2_____s1____s2_____s1__n
mov r8d, 0xf1
call fcn.1400e3515
lea r15, [r12 - 1]
and r15, rbx
jmp 0x140033e8c
mov rax, r12
shr rax, 1
movabs rcx, 0x5555555555555555
and rcx, rax
mov rax, r12
sub rax, rcx
movabs rcx, 0x3333333333333333
mov rdx, rax
and rdx, rcx
shr rax, 2
and rax, rcx
add rax, rdx
mov rcx, rax
shr rcx, 4
add rcx, rax
movabs rax, 0xf0f0f0f0f0f0f0f
and rax, rcx
movabs rcx, 0x101010101010101
imul rcx, rax
shr rcx, 0x38
cmp rcx, 1
jbe 0x140033e0d
mov r15, rbx
cmp rbx, r12
jb 0x140033e8c
mov rax, rbx
xor edx, edx
div r12
mov r15, rdx
mov rax, qword [rdi]
mov r14, qword [rax + r15*8]
test r14, r14
je 0x14003382b
lea rsi, [r12 - 1]
lea rax, [rdi + 0x24]
mov qword [rsp + 0x30], rax
mov r14, qword [r14]
test r14, r14
je 0x140033ef7
mov rax, qword [r14 + 8]
cmp rax, rbx
je 0x140033ed2
cmp ecx, 1
jbe 0x140033f01
cmp rax, r12
jb 0x140033ecd
xor edx, edx
div r12
mov rax, rdx
cmp rax, r15
jne 0x140033ef7
lea rdx, [r14 + 0x10]
mov rbp, rcx
mov rcx, qword [rsp + 0x30]
lea r8, [rsp + 0x50]
call fcn.1400340d0
mov rcx, rbp
mov bpl, 1
test al, al
je 0x140033eaa
jmp 0x1400339bb
mov rsi, qword [rsp + 0x68]
jmp 0x14003382e
and rax, rsi
jmp 0x140033ecd
lea rax, [r15 - 1]
test r15, rax
je 0x140033f1a
mov rcx, r15
call fcn.140029686
mov r15, rax
mov r12, qword [rdi + 8]
cmp r15, r12
jbe 0x140033f35
mov rax, r15
shr rax, 0x3d
je 0x14003392f
jmp 0x14003405d
cmp r15, r12
jae 0x140033971
mov rax, qword [rdi + 0x18]
test rax, rax
jns 0x140033f61
mov rcx, rax
shr rcx, 1
and eax, 1
or rax, rcx
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
addss xmm0, xmm0
jmp 0x140033f69
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
divss xmm0, dword [rdi + 0x20]
call fcn.1400d8590
cvttss2si rcx, xmm0
mov rdx, rcx
subss xmm0, dword [0x140164618]
cvttss2si rax, xmm0
sar rdx, 0x3f
and rax, rdx
or rax, rcx
cmp r12, 3
jb 0x14003401c
mov rcx, r12
shr rcx, 1
movabs rdx, 0x5555555555555555
and rdx, rcx
mov rcx, r12
sub rcx, rdx
movabs rdx, 0x3333333333333333
mov r8, rcx
shr r8, 2
and rcx, rdx
and r8, rdx
add r8, rcx
mov rcx, r8
shr rcx, 4
add rcx, r8
movabs rdx, 0xf0f0f0f0f0f0f0f
and rdx, rcx
movabs rcx, 0x101010101010101
imul rcx, rdx
shr rcx, 0x38
cmp ecx, 1
ja 0x14003401c
lea rcx, [rax - 1]
bsr rcx, rcx
xor ecx, 0x3f
neg cl
mov edx, 1
shl rdx, cl
cmp rax, 2
cmovb rdx, rax
jmp 0x140034027
mov rcx, rax
call fcn.140029686
mov rdx, rax
cmp r15, rdx
cmova rdx, r15
cmp rdx, r12
jae 0x140033971
mov rcx, rdi
call fcn.140105990
jmp 0x140033971
lea rcx, [rsp + 0x50]
call fcn.1400e15c0
mov rcx, qword [rsp + 0x50]
call fcn.1400a27ec
jmp 0x1400339c6
call fcn.1400e186d
mov r15, rbx
jmp 0x140033986