Function at 0x14003b760
Capabilities:
Encode data using base64

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x1f8
mov r13, rdx
lea rsi, [rcx + 0xb0]
mov r11, qword [rcx + 0xb0]
cmp r11, 4
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x1f0], rcx
je 0x14003ba8e
lea rbx, [rcx + 0xc0]
mov r15, qword [rcx + 0xc0]
cmp r15, 4
je 0x14003bb5f
lea r14, [rcx + 0xd0]
mov r9, qword [rcx + 0xd0]
cmp r9, 4
je 0x14003bb67
lea rbp, [rcx + 0xe0]
mov rdx, qword [rcx + 0xe0]
cmp rdx, 4
je 0x14003bb77
lea r8, [rcx + 0xf0]
mov rdi, qword [rcx + 0xf0]
cmp rdi, 4
je 0x14003bb7f
lea rax, [rcx + 0x100]
mov r10, qword [rcx + 0x100]
cmp r10, 4
je 0x14003bb6f
mov qword [rsp + 0x48], r8
lea r12, [rcx + 0x110]
mov r8, qword [rcx + 0x110]
cmp r8, 4
je 0x14003bb8f
mov qword [rsp + 0x50], r8
mov qword [rsp + 0x58], rax
lea rax, [rcx + 0x120]
mov r8, qword [rcx + 0x120]
mov qword [rsp + 0x1e8], r8
cmp r8, 4
je 0x14003bb6f
mov qword [rsp + 0x1e0], r12
lea r12, [rcx + 0x130]
mov r13, qword [rcx + 0x130]
cmp r13, 4
je 0x14003bb87
mov qword [rsp + 0x1d0], r13
mov qword [rsp + 0x1d8], rax
lea rax, [rcx + 0x140]
mov r13, qword [rcx + 0x140]
cmp r13, 4
je 0x14003ba86
mov qword [rsp + 0x1c0], r13
mov qword [rsp + 0x1c8], r12
lea r12, [rcx + 0x150]
mov r13, qword [rcx + 0x150]
cmp r13, 4
je 0x14003bb87
mov qword [rsp + 0x1b0], r13
mov qword [rsp + 0x1b8], rax
lea rax, [rcx + 0x160]
mov r13, qword [rcx + 0x160]
cmp r13, 4
je 0x14003ba86
mov qword [rsp + 0x1a0], r13
mov qword [rsp + 0x1a8], r12
lea r12, [rcx + 0x170]
mov r13, qword [rcx + 0x170]
cmp r13, 4
je 0x14003bb87
mov qword [rsp + 0x190], r13
mov qword [rsp + 0x198], rax
lea rax, [rcx + 0x180]
mov r13, qword [rcx + 0x180]
cmp r13, 4
je 0x14003ba86
mov qword [rsp + 0x180], r13
mov qword [rsp + 0x188], r12
lea r13, [rcx + 0x190]
mov r12, qword [rcx + 0x190]
mov qword [rsp + 0x178], r12
cmp r12, 4
je 0x14003bb97
mov qword [rsp + 0x170], rax
mov qword [rsp + 0x168], r13
lea r13, [rcx + 0x1a0]
mov rax, qword [rcx + 0x1a0]
mov qword [rsp + 0x160], rax
cmp rax, 4
je 0x14003bb97
mov qword [rsp + 0x158], r13
lea rax, [rcx + 0x1b0]
mov r13, qword [rcx + 0x1b0]
mov qword [rsp + 0x150], r13
cmp r13, 4
je 0x14003ba86
mov qword [rsp + 0x148], rax
lea rax, [rcx + 0x1c0]
mov r13, qword [rcx + 0x1c0]
mov qword [rsp + 0x140], r13
cmp r13, 4
je 0x14003ba86
mov qword [rsp + 0x138], rax
lea rax, [rcx + 0x1d0]
mov r13, qword [rcx + 0x1d0]
mov qword [rsp + 0x130], r13
cmp r13, 4
je 0x14003ba86
mov qword [rsp + 0x128], rax
lea rax, [rcx + 0x1e0]
mov r13, qword [rcx + 0x1e0]
mov qword [rsp + 0x120], r13
cmp r13, 4
je 0x14003ba86
mov qword [rsp + 0x118], rax
lea rax, [rcx + 0x1f0]
mov r13, qword [rcx + 0x1f0]
mov qword [rsp + 0x110], r13
cmp r13, 4
je 0x14003ba86
mov qword [rsp + 0x108], rax
lea rax, [rcx + 0x200]
mov r13, qword [rcx + 0x200]
mov qword [rsp + 0x100], r13
cmp r13, 4
jne 0x14003bf89
mov rsi, rax
mov r13, qword [rsp + 0x40]
add rsi, 8
mov rdi, rsi
mov rbx, qword [rdi]
lea rax, [rbx + 8]
mov qword [rsp + 0x48], rax
mov rax, qword [rbx + 0x20]
mov qword [rsp + 0x58], rax
mov rbp, qword [r13]
mov rsi, qword [r13 + 8]
mov edi, dword [r13 + 0x10]
mov r14d, dword [r13 + 0x14]
movsxd r15, edi
mov rcx, rsi
mov rdx, rbp
call fcn.140042010
mov rcx, rax
mov rdx, r15
call fcn.140042010
mov r15, rax
mov qword [rsp + 0x50], rbx
mov rbx, qword [rbx + 0x10]
test rbx, rbx
je 0x14003bc29
mov rax, rbx
shr rax, 1
movabs rcx, 0x5555555555555555
and rcx, rax
mov rax, rbx
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 0x14003bb9f
mov r13, r15
cmp r15, rbx
jb 0x14003bba6
mov rax, r15
xor edx, edx
div rbx
mov r13, rdx
jmp 0x14003bba6
mov rsi, rbx
jmp 0x14003ba8e
mov rsi, r14
jmp 0x14003ba8e
mov rsi, rax
jmp 0x14003ba8e
mov rsi, rbp
jmp 0x14003ba8e
mov rsi, r8
jmp 0x14003ba8e
mov rsi, r12
jmp 0x14003ba89
mov rsi, r12
jmp 0x14003ba8e
mov rsi, r13
jmp 0x14003ba89
lea r13, [rbx - 1]
and r13, r15
mov rax, qword [rsp + 0x48]
mov rax, qword [rax]
mov rax, qword [rax + r13*8]
test rax, rax
je 0x14003bc33
mov r8, qword [rax]
test r8, r8
je 0x14003bc33
lea r9, [rbx - 1]
jmp 0x14003bc05
cmp rax, rbx
jb 0x14003bbf8
xor edx, edx
div rbx
mov rax, rdx
cmp rax, r13
je 0x14003bbfd
jmp 0x14003bc33
cmp ecx, 1
ja 0x14003bbd0
and rax, r9
cmp rax, r13
jne 0x14003bc33
mov r8, qword [r8]
test r8, r8
je 0x14003bc33
mov rax, qword [r8 + 8]
cmp rax, r15
jne 0x14003bbf0
cmp qword [r8 + 0x18], rsi
jne 0x14003bbfd
cmp qword [r8 + 0x10], rbp
jne 0x14003bbfd
cmp dword [r8 + 0x20], edi
jne 0x14003bbfd
mov rsi, qword [r8 + 0x28]
jmp 0x14003bd58
movabs r13, 0xaaaaaaaaaaaaaaaa
mov ecx, 0x30
call fcn.14008eaa0
test rax, rax
je 0x14003bf87
mov r12, rax
mov rax, qword [rsp + 0x58]
inc rax
mov qword [r12], 0
mov qword [r12 + 8], r15
mov qword [r12 + 0x10], rbp
mov qword [r12 + 0x18], rsi
mov rsi, rax
mov dword [r12 + 0x20], edi
mov dword [r12 + 0x24], r14d
mov qword [r12 + 0x28], rax
mov r14, qword [rsp + 0x50]
mov rax, qword [r14 + 0x20]
inc rax
jns 0x14003bceb
mov rcx, rax
shr rcx, 1
and eax, 1
or rax, rcx
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
addss xmm0, xmm0
jmp 0x14003bcf3
cmp rax, rbx
jb 0x14003bcdf
xor edx, edx
div rbx
mov rax, rdx
jmp 0x14003bcdf
lea rdx, [r14 + 0x18]
mov rcx, qword [r14 + 0x18]
mov qword [r12], rcx
mov qword [r14 + 0x18], r12
mov qword [rax + r13*8], rdx
test rcx, rcx
mov r8, qword [rsp + 0x40]
je 0x14003bd40
mov rax, qword [rcx + 8]
lea rcx, [rbx - 1]
test rbx, rcx
jne 0x14003bca2
and rax, rcx
shl rax, 3
add rax, qword [rdi]
mov qword [rax], r12
jmp 0x14003bd40
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
mov rdi, qword [rsp + 0x48]
mov rcx, rbx
shr rcx, 1
mov eax, ebx
and eax, 1
or rax, rcx
test rbx, rbx
jns 0x14003bd6f
cvtsi2ss xmm1, rax
addss xmm1, xmm1
movss xmm2, dword [r14 + 0x28]
je 0x14003bd7c
mulss xmm1, xmm2
ucomiss xmm0, xmm1
ja 0x14003bd7c
mov rax, qword [rdi]
mov rcx, qword [rax + r13*8]
test rcx, rcx
je 0x14003bcb1
mov rax, qword [rcx]
mov qword [r12], rax
mov qword [rcx], r12
mov r8, qword [rsp + 0x40]
inc qword [r14 + 0x20]
mov rcx, qword [rsp + 0x1f0]
sub rcx, 0xffffffffffffff80
mov rdx, rsi
call fcn.140048730
mov rax, rsi
add rsp, 0x1f8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
cvtsi2ss xmm1, rbx
movss xmm2, dword [r14 + 0x28]
jne 0x14003bd1c
divss xmm0, xmm2
call fcn.1400a979c
cvttss2si rcx, xmm0
mov rdx, rcx
subss xmm0, dword [0x14016cce0]
sar rdx, 0x3f
cvttss2si rax, xmm0
and rax, rdx
or rax, rcx
lea rcx, [rbx + rbx]
mov r13d, 1
cmp rbx, 3
jb 0x14003bdc2
lea rdx, [rbx - 1]
xor r13d, r13d
test rbx, rdx
setne r13b
or r13, rcx
cmp r13, rax
cmovbe r13, rax
cmp r13, 1
jne 0x14003be59
mov r13d, 2
cmp rbx, 2
jae 0x14003c41f
lea rcx, [r13*8]
call fcn.14008eaa0
mov rcx, qword [rdi]
mov qword [rdi], rax
test rcx, rcx
jne 0x14003be35
mov qword [r14 + 0x10], r13
xor eax, eax
mov rcx, qword [rdi]
mov qword [rcx + rax*8], 0
inc rax
cmp r13, rax
jne 0x14003be04
mov r8, qword [r14 + 0x18]
test r8, r8
jne 0x14003be8c
mov rbx, qword [r14 + 0x10]
lea r13, [rbx - 1]
test rbx, r13
jne 0x14003be3c
and r13, r15
jmp 0x14003bd25
call fcn.14008eadc
jmp 0x14003bdfe
cmp r15, rbx
jae 0x14003be49
mov r13, r15
jmp 0x14003bd25
mov rax, r15
xor edx, edx
div rbx
mov r13, rdx
jmp 0x14003bd25
lea rax, [r13 - 1]
test r13, rax
je 0x14003be71
mov rcx, r13
call fcn.140035f02
mov r13, rax
mov rbx, qword [r14 + 0x10]
cmp r13, rbx
jbe 0x14003c41f
mov rax, r13
shr rax, 0x3d
je 0x14003bde6
jmp 0x14003c545
lea r10, [r14 + 0x18]
mov rcx, qword [r8 + 8]
mov rax, r13
shr rax, 1
movabs rdx, 0x5555555555555555
and rdx, rax
mov rax, r13
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 0x14003c54a
cmp rcx, r13
jb 0x14003bf0a
mov rax, rcx
xor edx, edx
div r13
mov rcx, rdx
mov rax, qword [rdi]
mov qword [rax + rcx*8], r10
mov r10, qword [r8]
test r10, r10
je 0x14003be20
lea r11, [r13 - 1]
mov rax, qword [r10 + 8]
cmp r9d, 1
jbe 0x14003c53d
cmp rax, r13
jb 0x14003bf3c
xor edx, edx
div r13
mov rax, rdx
cmp rax, rcx
je 0x14003bf82
mov rdx, qword [rdi]
cmp qword [rdx + rax*8], 0
jne 0x14003bf62
mov qword [rdx + rax*8], r8
mov r8, r10
mov r10, qword [r10]
mov rcx, rax
test r10, r10
jne 0x14003bf21
jmp 0x14003be20
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 0x14003bf4f
ud2
mov qword [rsp + 0xf8], rax
lea rax, [rcx + 0x210]
mov r13, qword [rcx + 0x210]
mov qword [rsp + 0xf0], r13
cmp r13, 4
je 0x14003ba86
mov qword [rsp + 0xe8], rax
lea rax, [rcx + 0x220]
mov r13, qword [rcx + 0x220]
mov qword [rsp + 0xe0], r13
cmp r13, 4
je 0x14003ba86
mov qword [rsp + 0xd8], rax
lea rax, [rcx + 0x230]
mov r13, qword [rcx + 0x230]
mov qword [rsp + 0xd0], r13
cmp r13, 4
je 0x14003ba86
mov qword [rsp + 0xc8], rax
lea rax, [rcx + 0x240]
mov r13, qword [rcx + 0x240]
mov qword [rsp + 0xc0], r13
cmp r13, 4
je 0x14003ba86
mov qword [rsp + 0xb8], rax
lea rax, [rcx + 0x250]
mov r13, qword [rcx + 0x250]
mov qword [rsp + 0xb0], r13
cmp r13, 4
je 0x14003ba86
mov qword [rsp + 0xa8], rax
lea rax, [rcx + 0x260]
mov r13, qword [rcx + 0x260]
mov qword [rsp + 0xa0], r13
cmp r13, 4
je 0x14003ba86
mov qword [rsp + 0x98], rax
lea rax, [rcx + 0x270]
mov r13, qword [rcx + 0x270]
mov qword [rsp + 0x90], r13
cmp r13, 4
je 0x14003ba86
mov qword [rsp + 0x88], rax
lea rax, [rcx + 0x280]
mov r13, qword [rcx + 0x280]
mov qword [rsp + 0x80], r13
cmp r13, 4
je 0x14003ba86
mov qword [rsp + 0x78], rax
lea rax, [rcx + 0x290]
mov r13, qword [rcx + 0x290]
mov qword [rsp + 0x70], r13
cmp r13, 4
je 0x14003ba86
mov qword [rsp + 0x68], rax
lea r13, [rcx + 0x2a0]
mov qword [rsp + 0x60], r13
mov rcx, qword [rcx + 0x2a0]
cmp rcx, 4
je 0x14003c1f6
test r11, r11
je 0x14003c1a2
mov rsi, rbx
test r15, r15
je 0x14003c1a2
mov rsi, r14
test r9, r9
je 0x14003c1a2
mov rsi, rbp
test rdx, rdx
je 0x14003c1a2
mov rsi, qword [rsp + 0x48]
test rdi, rdi
je 0x14003c1a2
mov rsi, qword [rsp + 0x58]
test r10, r10
je 0x14003c1a2
mov rsi, qword [rsp + 0x1e0]
cmp qword [rsp + 0x50], 0
je 0x14003c1a2
mov rsi, qword [rsp + 0x1d8]
cmp qword [rsp + 0x1e8], 0
je 0x14003c1a2
mov rsi, qword [rsp + 0x1c8]
cmp qword [rsp + 0x1d0], 0
je 0x14003c1a2
mov rsi, qword [rsp + 0x1b8]
cmp qword [rsp + 0x1c0], 0
je 0x14003c1a2
mov rsi, qword [rsp + 0x1a8]
cmp qword [rsp + 0x1b0], 0
jne 0x14003c200
mov qword [rsi], 4
lea rdi, [rsi + 8]
mov ecx, 0x30
call fcn.14008eaa0
xorps xmm0, xmm0
movups xmmword [rax + 8], xmm0
movups xmmword [rax + 0x18], xmm0
mov qword [rax + 0x28], 0
mov dword [rax + 0x28], 0x3f800000
lea rcx, [0x14015e218]
mov qword [rax], rcx
mov rcx, qword [rsi + 8]
mov qword [rsi + 8], rax
test rcx, rcx
jne 0x14003c556
mov r13, qword [rsp + 0x40]
jmp 0x14003ba95
mov rsi, qword [rsp + 0x60]
jmp 0x14003ba89
mov rsi, qword [rsp + 0x198]
cmp qword [rsp + 0x1a0], 0
je 0x14003c1a2
mov rsi, qword [rsp + 0x188]
cmp qword [rsp + 0x190], 0
je 0x14003c1a2
mov rsi, qword [rsp + 0x170]
cmp qword [rsp + 0x180], 0
je 0x14003c1a2
mov rsi, qword [rsp + 0x168]
cmp qword [rsp + 0x178], 0
je 0x14003c1a2
mov rsi, qword [rsp + 0x158]
cmp qword [rsp + 0x160], 0
je 0x14003c1a2
mov rsi, qword [rsp + 0x148]
cmp qword [rsp + 0x150], 0
je 0x14003c1a2
mov rsi, qword [rsp + 0x138]
cmp qword [rsp + 0x140], 0
je 0x14003c1a2
mov rsi, qword [rsp + 0x128]
cmp qword [rsp + 0x130], 0
je 0x14003c1a2
mov rsi, qword [rsp + 0x118]
cmp qword [rsp + 0x120], 0
je 0x14003c1a2
mov rsi, qword [rsp + 0x108]
cmp qword [rsp + 0x110], 0
je 0x14003c1a2
mov rsi, qword [rsp + 0xf8]
cmp qword [rsp + 0x100], 0
je 0x14003c1a2
mov rsi, qword [rsp + 0xe8]
cmp qword [rsp + 0xf0], 0
je 0x14003c1a2
mov rsi, qword [rsp + 0xd8]
cmp qword [rsp + 0xe0], 0
je 0x14003c1a2
mov rsi, qword [rsp + 0xc8]
cmp qword [rsp + 0xd0], 0
je 0x14003c1a2
mov rsi, qword [rsp + 0xb8]
cmp qword [rsp + 0xc0], 0
je 0x14003c1a2
mov rsi, qword [rsp + 0xa8]
cmp qword [rsp + 0xb0], 0
je 0x14003c1a2
mov rsi, qword [rsp + 0x98]
cmp qword [rsp + 0xa0], 0
je 0x14003c1a2
mov rsi, qword [rsp + 0x88]
cmp qword [rsp + 0x90], 0
je 0x14003c1a2
mov rsi, qword [rsp + 0x78]
cmp qword [rsp + 0x80], 0
je 0x14003c1a2
mov rsi, qword [rsp + 0x68]
cmp qword [rsp + 0x70], 0
je 0x14003c1a2
mov rsi, qword [rsp + 0x60]
test rcx, rcx
je 0x14003c1a2
call fcn.1400a0b84
mov ecx, dword [rax]
call fcn.1400ac004
mov rsi, rax
call fcn.1400a0b84
mov edi, dword [rax]
lea rcx, str....._third_partyperfettoincludeperfetto_tracing_track_event_interned_data_index.h
call fcn.1400f009e
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], edi
lea rcx, str.PERFETTO_CHECK_false_
mov qword [rsp + 0x20], rcx
lea r9, str._s__errno:__d___s_
mov ecx, 3
mov rdx, rax
mov r8d, 0xfd
call fcn.1400f0366
int3
cmp r13, rbx
jae 0x14003be20
mov rax, qword [r14 + 0x20]
test rax, rax
jns 0x14003c44b
mov rcx, rax
shr rcx, 1
and eax, 1
or rax, rcx
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
addss xmm0, xmm0
jmp 0x14003c453
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
mov rax, qword [rsp + 0x50]
divss xmm0, dword [rax + 0x28]
call fcn.1400a979c
cvttss2si rcx, xmm0
mov rdx, rcx
subss xmm0, dword [0x14016cce0]
cvttss2si rax, xmm0
sar rdx, 0x3f
and rax, rdx
or rax, rcx
cmp rbx, 3
jb 0x14003c50b
mov rcx, rbx
shr rcx, 1
movabs rdx, 0x5555555555555555
and rdx, rcx
mov rcx, rbx
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 0x14003c50b
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 0x14003c516
mov rcx, rax
call fcn.140035f02
mov rdx, rax
cmp r13, rdx
cmova rdx, r13
cmp rdx, rbx
mov rdi, qword [rsp + 0x48]
mov r14, qword [rsp + 0x50]
jae 0x14003be20
mov rcx, rdi
call fcn.14010c1a0
jmp 0x14003be20
and rax, r11
jmp 0x14003bf3c
call fcn.1400e3605
lea rax, [r13 - 1]
and rcx, rax
jmp 0x14003bf0a
mov rax, qword [rcx]
mov rax, qword [rax]
mov edx, 1
call qword [0x14017eac8]
jmp 0x14003c1ec