Function at 0x140180850
Capabilities:
Encode data using base64

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x228
mov rdi, rdx
mov rax, qword [0x14029b028]
xor rax, rsp
mov qword [rsp + 0x220], rax
mov qword [rsp + 0xd8], rcx
mov rsi, qword [rcx + 8]
mov rcx, qword [rsi + 0x10]
test rcx, rcx
jne 0x1401813ee
mov dword [rsp + 0x200], 0xaaaaaaaa
mov byte [rsp + 0x204], 0xaa
mov byte [rsp + 0x200], 0x2a
mov r12, qword [rsi]
mov r15, qword [r12 + 0x18]
lea rax, [r15 + 1]
cmp rax, qword [r12 + 0x10]
ja 0x140181601
mov byte [r15], 0x2a
mov qword [r12 + 0x18], rax
inc dword [rsi + 0x20]
mov rbx, qword [rsi + 8]
mov rbp, qword [rbx]
mov eax, dword [rbp + 0x308]
cmp eax, 0x10
jae 0x140181a4e
lea ecx, [rax + 1]
mov dword [rbp + 0x308], ecx
mov eax, eax
lea r15, [rax + rax*2]
shl r15, 4
lea r12, [r15 + rbp]
add r12, 8
xorps xmm0, xmm0
movups xmmword [rbp + r15 + 0x28], xmm0
movups xmmword [rbp + r15 + 0x18], xmm0
movups xmmword [rbp + r15 + 8], xmm0
movups xmm1, xmmword [rsi]
movups xmmword [rbp + r15 + 8], xmm1
movups xmmword [rbp + r15 + 0x18], xmm0
movups xmmword [rbp + r15 + 0x21], xmm0
mov r14, qword [rsi]
mov rax, qword [r14 + 0x18]
lea rcx, [rax + 4]
cmp rcx, qword [r14 + 0x10]
ja 0x1401819c5
lea rcx, [rax + 4]
mov qword [r14 + 0x18], rcx
mov qword [r12 + 0x18], rax
add dword [rsi + 0x20], 4
mov qword [rsp + 0x58], r12
mov qword [rsi + 0x10], r12
mov rbx, qword [rdi + 8]
mov qword [rsp + 0x208], rbx
mov r13, qword [rdi + 0x10]
mov qword [rsp + 0x210], r13
mov eax, dword [rdi + 0x18]
mov dword [rsp + 0x54], eax
mov dword [rsp + 0x218], eax
mov rax, qword [rsp + 0xd8]
mov rax, qword [rax + 0x10]
lea rsi, [rax + 0xb8]
mov r9, qword [rax + 0xb8]
cmp r9, 4
je 0x1401810ed
lea rcx, [rax + 0xc8]
mov r12, qword [rax + 0xc8]
cmp r12, 4
je 0x1401810ea
lea rdx, [rax + 0xd8]
mov r14, qword [rax + 0xd8]
cmp r14, 4
je 0x1401813c2
lea r8, [rax + 0xe8]
mov rdi, qword [rax + 0xe8]
cmp rdi, 4
je 0x1401813e6
lea r10, [rax + 0xf8]
mov r11, qword [rax + 0xf8]
cmp r11, 4
je 0x1401813ca
mov qword [rsp + 0x40], r10
lea r10, [rax + 0x108]
mov qword [rsp + 0x60], r10
mov r10, qword [rax + 0x108]
cmp r10, 4
je 0x14018141f
mov qword [rsp + 0x1f8], r10
lea r10, [rax + 0x118]
mov qword [rsp + 0x48], r10
mov r10, qword [rax + 0x118]
cmp r10, 4
je 0x140181443
mov qword [rsp + 0x1f0], r8
mov qword [rsp + 0x1e8], r10
lea r10, [rax + 0x128]
mov r8, qword [rax + 0x128]
mov qword [rsp + 0x1e0], r8
cmp r8, 4
je 0x1401813ca
mov qword [rsp + 0x1d8], r10
lea r10, [rax + 0x138]
mov qword [rsp + 0xd0], r10
mov r8, qword [rax + 0x138]
cmp r8, 4
je 0x14018175d
mov qword [rsp + 0x1d0], r8
lea r10, [rax + 0x148]
mov r8, qword [rax + 0x148]
mov qword [rsp + 0x1c8], r8
cmp r8, 4
je 0x1401813ca
mov qword [rsp + 0x1c0], r10
lea r10, [rax + 0x158]
mov qword [rsp + 0xc8], r10
mov r8, qword [rax + 0x158]
cmp r8, 4
je 0x140181783
mov qword [rsp + 0x1b8], r8
lea r10, [rax + 0x168]
mov r8, qword [rax + 0x168]
mov qword [rsp + 0x1b0], r8
cmp r8, 4
je 0x1401813ca
mov qword [rsp + 0x1a8], r10
lea r10, [rax + 0x178]
mov qword [rsp + 0xc0], r10
mov r8, qword [rax + 0x178]
cmp r8, 4
je 0x1401818e7
mov qword [rsp + 0x1a0], r8
lea r10, [rax + 0x188]
mov r8, qword [rax + 0x188]
mov qword [rsp + 0x198], r8
cmp r8, 4
je 0x1401813ca
mov qword [rsp + 0x190], r10
lea r10, [rax + 0x198]
mov qword [rsp + 0xb8], r10
mov r8, qword [rax + 0x198]
cmp r8, 4
je 0x14018190f
mov qword [rsp + 0x188], r8
lea r10, [rax + 0x1a8]
mov r8, qword [rax + 0x1a8]
mov qword [rsp + 0x180], r8
cmp r8, 4
je 0x1401813ca
mov qword [rsp + 0x178], r10
lea r10, [rax + 0x1b8]
mov qword [rsp + 0xb0], r10
mov r8, qword [rax + 0x1b8]
cmp r8, 4
je 0x140181944
mov qword [rsp + 0x170], r8
lea r10, [rax + 0x1c8]
mov r8, qword [rax + 0x1c8]
mov qword [rsp + 0x168], r8
cmp r8, 4
je 0x1401813ca
mov qword [rsp + 0x160], r10
lea r10, [rax + 0x1d8]
mov qword [rsp + 0xa8], r10
mov r8, qword [rax + 0x1d8]
cmp r8, 4
je 0x14018199b
mov qword [rsp + 0x158], r8
lea r10, [rax + 0x1e8]
mov r8, qword [rax + 0x1e8]
mov qword [rsp + 0x150], r8
cmp r8, 4
je 0x1401813ca
mov qword [rsp + 0x148], r10
lea r10, [rax + 0x1f8]
mov qword [rsp + 0xa0], r10
mov r8, qword [rax + 0x1f8]
cmp r8, 4
je 0x1401819b8
mov qword [rsp + 0x140], r8
lea r10, [rax + 0x208]
mov r8, qword [rax + 0x208]
mov qword [rsp + 0x138], r8
cmp r8, 4
je 0x1401813ca
mov qword [rsp + 0x130], r10
lea r10, [rax + 0x218]
mov qword [rsp + 0x98], r10
mov r8, qword [rax + 0x218]
cmp r8, 4
je 0x1401819f4
mov qword [rsp + 0x128], r8
lea r10, [rax + 0x228]
mov r8, qword [rax + 0x228]
mov qword [rsp + 0x120], r8
cmp r8, 4
je 0x1401813ca
mov qword [rsp + 0x118], r10
lea r10, [rax + 0x238]
mov qword [rsp + 0x90], r10
mov r8, qword [rax + 0x238]
cmp r8, 4
je 0x140181a01
mov qword [rsp + 0x110], r8
lea r10, [rax + 0x248]
mov r8, qword [rax + 0x248]
mov qword [rsp + 0x108], r8
cmp r8, 4
je 0x1401813ca
mov qword [rsp + 0x100], r10
lea r10, [rax + 0x258]
mov qword [rsp + 0x88], r10
mov r8, qword [rax + 0x258]
cmp r8, 4
je 0x140181a0e
lea r10, [rax + 0x268]
mov qword [rsp + 0x80], r10
mov r10, qword [rax + 0x268]
mov qword [rsp + 0xf8], r10
cmp r10, 4
je 0x140181a1b
lea r10, [rax + 0x278]
mov qword [rsp + 0x78], r10
mov r10, qword [rax + 0x278]
mov qword [rsp + 0xf0], r10
cmp r10, 4
je 0x140181a28
lea r10, [rax + 0x288]
mov qword [rsp + 0x70], r10
mov r10, qword [rax + 0x288]
mov qword [rsp + 0xe8], r10
cmp r10, 4
je 0x140181a32
lea r10, [rax + 0x298]
mov qword [rsp + 0x68], r10
mov r10, qword [rax + 0x298]
mov qword [rsp + 0xe0], r10
cmp r10, 4
je 0x140181a3c
mov r10, qword [rax + 0x2a8]
add rax, 0x2a8
cmp r10, 4
je 0x140181a46
test r9, r9
je 0x140181091
mov rsi, rcx
test r12, r12
je 0x140181091
mov rsi, rdx
test r14, r14
je 0x140181091
mov rsi, qword [rsp + 0x1f0]
test rdi, rdi
je 0x140181091
mov rsi, qword [rsp + 0x40]
test r11, r11
je 0x140181091
mov rsi, qword [rsp + 0x60]
cmp qword [rsp + 0x1f8], 0
je 0x140181091
mov rsi, qword [rsp + 0x48]
cmp qword [rsp + 0x1e8], 0
je 0x140181091
mov rsi, qword [rsp + 0x1d8]
cmp qword [rsp + 0x1e0], 0
je 0x140181091
mov rsi, qword [rsp + 0xd0]
cmp qword [rsp + 0x1d0], 0
je 0x140181091
mov rsi, qword [rsp + 0x1c0]
cmp qword [rsp + 0x1c8], 0
je 0x140181091
mov rsi, qword [rsp + 0xc8]
cmp qword [rsp + 0x1b8], 0
je 0x140181091
mov rsi, qword [rsp + 0x1a8]
cmp qword [rsp + 0x1b0], 0
je 0x140181091
mov rsi, qword [rsp + 0xc0]
cmp qword [rsp + 0x1a0], 0
je 0x140181091
mov rsi, qword [rsp + 0x190]
cmp qword [rsp + 0x198], 0
je 0x140181091
mov rsi, qword [rsp + 0xb8]
cmp qword [rsp + 0x188], 0
je 0x140181091
mov rsi, qword [rsp + 0x178]
cmp qword [rsp + 0x180], 0
je 0x140181091
mov rsi, qword [rsp + 0xb0]
cmp qword [rsp + 0x170], 0
je 0x140181091
mov rsi, qword [rsp + 0x160]
cmp qword [rsp + 0x168], 0
je 0x140181091
mov rsi, qword [rsp + 0xa8]
cmp qword [rsp + 0x158], 0
je 0x140181091
mov rsi, qword [rsp + 0x148]
cmp qword [rsp + 0x150], 0
je 0x140181091
mov rsi, qword [rsp + 0xa0]
cmp qword [rsp + 0x140], 0
je 0x140181091
mov rsi, qword [rsp + 0x130]
cmp qword [rsp + 0x138], 0
je 0x140181091
mov rsi, qword [rsp + 0x98]
cmp qword [rsp + 0x128], 0
je 0x140181091
mov rsi, qword [rsp + 0x118]
cmp qword [rsp + 0x120], 0
je 0x140181091
mov rsi, qword [rsp + 0x90]
cmp qword [rsp + 0x110], 0
je 0x140181091
mov rsi, qword [rsp + 0x100]
cmp qword [rsp + 0x108], 0
je 0x140181091
mov rsi, qword [rsp + 0x88]
test r8, r8
je 0x140181091
mov rsi, qword [rsp + 0x80]
cmp qword [rsp + 0xf8], 0
je 0x140181091
mov rsi, qword [rsp + 0x78]
cmp qword [rsp + 0xf0], 0
je 0x140181091
mov rsi, qword [rsp + 0x70]
cmp qword [rsp + 0xe8], 0
je 0x140181091
mov rsi, qword [rsp + 0x68]
cmp qword [rsp + 0xe0], 0
je 0x140181091
mov rsi, rax
test r10, r10
jne 0x140181c0f
mov qword [rsi], 4
lea rdi, [rsi + 8]
mov ecx, 0x30
call fcn.140184834
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, [0x14026e480]
mov qword [rax], rcx
mov rcx, qword [rsi + 8]
mov qword [rsi + 8], rax
test rcx, rcx
je 0x1401810f4
mov rax, qword [rcx]
mov rax, qword [rax]
mov edx, 1
call qword [case.0x1401eda70.0]
jmp 0x1401810f4
mov rsi, rcx
add rsi, 8
mov rdi, rsi
mov r9d, dword [rsp + 0x54]
movsxd r14, r9d
mov r10, qword [rdi]
lea r11, [r10 + 8]
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
mov eax, dword [rsp + 0x21c]
mov dword [rsp + 0x60], eax
mov rax, r13
shr rax, 0x20
mov rcx, rbx
shr rcx, 0x20
mov edx, r13d
imul rdx, rdx, 0x32348c9d
imul rax, rax, 0x24e62a03
add rax, rdx
mov edx, ebx
imul rdx, rdx, 0x37da1fb9
mov r8d, 0xc54622fd
imul rcx, r8
add rcx, rdx
add rcx, rax
mov eax, ecx
shr rcx, 0x20
shr r14, 0x20
imul rax, rax, 0x32348c9d
imul rcx, rcx, 0x24e62a03
mov edx, r9d
imul rdx, rdx, 0x37da1fb9
imul r14, r8
add r14, rdx
add r14, rcx
add r14, rax
test rsi, rsi
je 0x14018176a
mov rax, rsi
shr rax, 1
movabs rcx, 0x5555555555555555
and rcx, rax
mov rax, rsi
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 0x1401813b6
mov r12, r14
cmp r14, rsi
jb 0x140181202
mov rax, r14
xor edx, edx
div rsi
mov r12, rdx
mov rax, qword [r11]
mov rax, qword [rax + r12*8]
test rax, rax
je 0x140181262
mov r8, qword [rax]
test r8, r8
je 0x140181262
lea r9, [rsi - 1]
mov rax, qword [r8 + 8]
cmp rax, r14
jne 0x140181247
cmp qword [r8 + 0x18], r13
jne 0x14018123d
cmp qword [r8 + 0x10], rbx
jne 0x14018123d
mov eax, dword [rsp + 0x54]
cmp dword [r8 + 0x20], eax
je 0x1401812bf
mov r8, qword [r8]
test r8, r8
jne 0x14018121a
jmp 0x140181262
cmp ecx, 1
jbe 0x14018143b
cmp rax, rsi
jb 0x14018125d
xor edx, edx
div rsi
mov rax, rdx
cmp rax, r12
je 0x140181223
mov qword [rsp + 0x40], r11
mov qword [rsp + 0x48], r10
inc rdi
mov ecx, 0x30
call fcn.140184834
mov r8, rax
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], r13
mov eax, dword [rsp + 0x54]
mov dword [r8 + 0x20], eax
mov eax, dword [rsp + 0x60]
mov dword [r8 + 0x24], eax
mov qword [r8 + 0x28], rdi
mov qword [r8 + 8], r14
mov qword [r8], 0
mov r11, qword [rsp + 0x48]
mov rax, qword [r11 + 0x20]
inc rax
js 0x14018144d
cvtsi2ss xmm0, rax
jmp 0x140181462
mov rdi, qword [r8 + 0x28]
lea rsi, [r15 + rbp]
add rsi, 0x18
mov rcx, qword [rsi]
test rcx, rcx
jne 0x140181951
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x208], rax
mov qword [rsp + 0x20f], rax
mov byte [rsp + 0x208], 8
lea rcx, [rsp + 0x209]
lea rax, [rsp + 0x208]
cmp rdi, 0x80
jae 0x140181390
mov rbx, rax
mov byte [rcx], dil
sub rbx, rax
add rbx, 2
mov rax, qword [rsp + 0x58]
mov rsi, qword [rax]
mov r8d, ebx
mov rcx, qword [rsi + 0x18]
lea rdi, [rcx + r8]
cmp rdi, qword [rsi + 0x10]
ja 0x140181986
cmp ebx, 2
jne 0x1401813d2
movzx eax, word [rsp + 0x208]
mov word [rcx], ax
mov qword [rsi + 0x18], rdi
mov rax, qword [rsp + 0x58]
add dword [rax + 0x20], ebx
mov rcx, qword [rsp + 0x220]
xor rcx, rsp
call fcn.1401874c0
nop
add rsp, 0x228
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rdx, rdi
mov r8d, edx
or r8b, 0x80
mov byte [rcx], r8b
shr rdi, 7
inc rcx
cmp rdx, 0x3fff
ja 0x140181390
lea rbx, [rcx - 1]
jmp 0x140181315
lea r12, [rsi - 1]
and r12, r14
jmp 0x140181202
mov rsi, rdx
jmp 0x1401810ed
mov rsi, r10
jmp 0x1401810ed
cmp ebx, 3
jne 0x140181429
mov al, byte [rsp + 0x20a]
mov byte [rcx + 2], al
jmp 0x140181345
mov rsi, r8
jmp 0x1401810ed
call fcn.1400e4e90
add dword [rsi + 0x20], eax
mov rcx, qword [rsi + 8]
mov rax, qword [rcx]
dec dword [rax + 0x308]
jne 0x140181412
mov rax, qword [rcx]
cmp qword [rax], 0
jne 0x140181ab9
mov qword [rsi + 0x10], 0
jmp 0x140180891
mov rsi, qword [rsp + 0x60]
jmp 0x1401810ed
lea rdx, [rsp + 0x208]
call fcn.140188f50
jmp 0x140181350
and rax, r9
jmp 0x14018125d
mov rsi, qword [rsp + 0x48]
jmp 0x1401810ed
mov rcx, rax
shr rcx, 1
and eax, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
mov rcx, rsi
shr rcx, 1
mov eax, esi
and eax, 1
or rax, rcx
test rsi, rsi
js 0x14018147c
cvtsi2ss xmm1, rsi
jmp 0x140181485
cvtsi2ss xmm1, rax
addss xmm1, xmm1
movss xmm2, dword [r11 + 0x28]
je 0x140181524
mulss xmm1, xmm2
ucomiss xmm0, xmm1
ja 0x140181524
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax]
mov rax, qword [rcx + r12*8]
test rax, rax
jne 0x1401815f6
lea rax, [r11 + 0x18]
mov rdx, qword [r11 + 0x18]
mov qword [r8], rdx
mov qword [r11 + 0x18], r8
mov qword [rcx + r12*8], rax
mov rax, qword [r8]
test rax, rax
je 0x1401814fb
mov rax, qword [rax + 8]
lea rcx, [rsi - 1]
test rsi, rcx
je 0x140181907
cmp rax, rsi
jb 0x1401814ec
xor edx, edx
div rsi
mov rax, rdx
shl rax, 3
mov rcx, qword [rsp + 0x40]
add rax, qword [rcx]
mov qword [rax], r8
inc qword [r11 + 0x20]
mov rax, qword [rsp + 0xd8]
mov rcx, qword [rax + 0x10]
sub rcx, 0xffffffffffffff80
lea r8, [rsp + 0x208]
mov rdx, rdi
call fcn.140142760
jmp 0x1401812c3
mov r13, r8
mov rbx, r11
divss xmm0, xmm2
call fcn.1401a3294
cvttss2si rcx, xmm0
mov rdx, rcx
subss xmm0, dword [0x140260048]
sar rdx, 0x3f
cvttss2si rax, xmm0
and rax, rdx
or rax, rcx
lea rcx, [rsi + rsi]
mov r12d, 1
cmp rsi, 3
jae 0x1401818f4
or r12, rcx
cmp r12, rax
cmovbe r12, rax
cmp r12, 1
jne 0x140181790
mov r12d, 2
cmp rsi, 2
jae 0x140181ad0
lea rcx, [r12*8]
call fcn.140184834
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rdx]
mov qword [rdx], rax
test rcx, rcx
je 0x1401815ac
call fcn.14018482c
mov r11, rbx
mov qword [rbx + 0x10], r12
xor eax, eax
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rdx]
mov qword [rcx + rax*8], 0
inc rax
cmp r12, rax
jne 0x1401815ba
mov r8, qword [r11 + 0x18]
test r8, r8
jne 0x1401817e1
mov rsi, qword [r11 + 0x10]
lea r12, [rsi - 1]
test rsi, r12
jne 0x1401817c5
and r12, r14
mov r8, r13
jmp 0x14018149e
mov rcx, qword [rax]
mov qword [r8], rcx
jmp 0x1401814f8
mov r13d, 1
lea rbx, [rsp + 0x200]
mov r14, qword [r12 + 0x10]
mov rcx, r15
cmp r15, r14
jb 0x1401816cf
mov rbp, qword [r12]
mov rax, qword [rbp + 0x18]
test rax, rax
je 0x140181a67
mov rcx, qword [rbp + 0x28]
cmp qword [rbp + 0x20], rcx
je 0x140181647
mov rdx, qword [rax + 0x10]
sub rdx, qword [rax + 0x18]
mov qword [rcx - 8], rdx
lea r15, [rbp + 0x20]
mov rax, qword [rbp + 0x38]
test rax, rax
je 0x140181703
mov r14, qword [rbp + 0x28]
cmp r14, qword [rbp + 0x30]
jae 0x14018192f
test r14, r14
je 0x140181aef
mov qword [rbp + 0x38], 0
mov qword [r14], rax
movups xmm0, xmmword [rbp + 0x40]
movups xmmword [r14 + 8], xmm0
add r14, 0x18
mov qword [rbp + 0x28], r14
mov rax, qword [rbp + 8]
mov rcx, qword [rbp + 0x10]
add rax, rax
cmp rax, rcx
cmovae rax, rcx
mov qword [rbp + 8], rax
cmp qword [rbp + 0x20], r14
je 0x140181a64
mov rcx, qword [r14 - 0x18]
mov rax, qword [r12 + 0x18]
sub rax, qword [r12 + 8]
mov r14, qword [r14 - 0x10]
add qword [r12 + 0x20], rax
add r14, rcx
mov qword [r12 + 8], rcx
mov qword [r12 + 0x10], r14
sub r14, rcx
cmp r13, r14
cmovb r14, r13
lea r15, [rcx + r14]
cmp r14, 2
jne 0x14018191c
movzx eax, word [rbx]
mov word [rcx], ax
mov qword [r12 + 0x18], r15
add rbx, r14
sub r13, r14
jne 0x14018160f
jmp 0x1401808cc
mov r14, qword [rbp + 0x28]
cmp r14, qword [rbp + 0x30]
jae 0x140181741
mov qword [rsp + 0x58], r15
test r14, r14
je 0x140181af2
mov r15, qword [rbp + 8]
mov rcx, r15
call fcn.140184cf8
mov qword [r14], rax
mov qword [r14 + 8], r15
mov qword [r14 + 0x10], r15
add r14, 0x18
mov qword [rbp + 0x28], r14
mov r15, qword [rsp + 0x58]
jmp 0x140181751
lea rdx, [rbp + 8]
mov rcx, r15
call fcn.140109830
mov r14, qword [rbp + 0x28]
cmp qword [r15], r14
jne 0x14018168b
int3
mov rsi, qword [rsp + 0xd0]
jmp 0x1401810ed
mov qword [rsp + 0x40], r11
mov qword [rsp + 0x48], r10
movabs r12, 0xaaaaaaaaaaaaaaaa
jmp 0x14018126c
mov rsi, qword [rsp + 0xc8]
jmp 0x1401810ed
lea rax, [r12 - 1]
test r12, rax
je 0x1401817ac
mov rcx, r12
call fcn.140143080
mov r12, rax
mov rax, rbx
mov rsi, qword [rbx + 0x10]
cmp r12, rsi
jbe 0x140181ad0
mov rax, r12
shr rax, 0x3d
je 0x14018158a
int3
cmp r14, rsi
mov r8, r13
jb 0x140181af5
mov rax, r14
xor edx, edx
div rsi
mov r12, rdx
jmp 0x14018149e
lea r10, [r11 + 0x18]
mov rcx, qword [r8 + 8]
mov rax, r12
shr rax, 1
movabs rdx, 0x5555555555555555
and rdx, rax
mov rax, r12
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 0x140181afd
cmp rcx, r12
jb 0x14018185f
mov rax, rcx
xor edx, edx
div r12
mov rcx, rdx
mov rax, qword [rsp + 0x40]
mov rax, qword [rax]
mov qword [rax + rcx*8], r10
mov r10, qword [r8]
test r10, r10
je 0x1401815da
mov rsi, qword [rsp + 0x40]
mov rax, qword [r10 + 8]
cmp r9d, 1
jbe 0x140181ac3
cmp rax, r12
jb 0x140181897
xor edx, edx
div r12
mov rax, rdx
cmp rax, rcx
je 0x1401818e2
mov rdx, qword [rsp + 0x40]
mov rdx, qword [rdx]
cmp qword [rdx + rax*8], 0
jne 0x1401818c2
mov qword [rdx + rax*8], r8
mov r8, r10
mov r10, qword [r10]
mov rcx, rax
test r10, r10
jne 0x14018187c
jmp 0x1401815da
mov rdx, qword [r10]
mov qword [r8], rdx
mov rdx, qword [rsi]
mov rdx, qword [rdx + rax*8]
mov rdx, qword [rdx]
mov qword [r10], rdx
mov rdx, qword [rsi]
mov rax, qword [rdx + rax*8]
mov qword [rax], r10
mov r10, r8
mov rax, rcx
jmp 0x1401818af
mov rsi, qword [rsp + 0xc0]
jmp 0x1401810ed
lea rdx, [rsi - 1]
xor r12d, r12d
test rsi, rdx
setne r12b
jmp 0x140181566
and rax, rcx
jmp 0x1401814ec
mov rsi, qword [rsp + 0xb8]
jmp 0x1401810ed
cmp r14, 1
jne 0x1401819a8
mov al, byte [rbx]
mov byte [rcx], al
jmp 0x1401816ed
lea rdx, [rbp + 0x38]
mov rcx, r15
call fcn.1401c1c30
mov r14, qword [rbp + 0x28]
jmp 0x14018168b
mov rsi, qword [rsp + 0xb0]
jmp 0x1401810ed
call fcn.1400e4e90
mov rcx, qword [rsp + 0x58]
add dword [rcx + 0x20], eax
mov rcx, qword [rcx + 8]
mov rax, qword [rcx]
dec dword [rax + 0x308]
jne 0x14018197a
mov rax, qword [rcx]
cmp qword [rax], 0
jne 0x140181c05
mov qword [rsi], 0
jmp 0x1401812d7
lea rdx, [rsp + 0x208]
mov rcx, rsi
call fcn.140109600
jmp 0x140181354
mov rsi, qword [rsp + 0xa8]
jmp 0x1401810ed
mov rdx, rbx
mov r8, r14
call fcn.140188f50
jmp 0x1401816ed
mov rsi, qword [rsp + 0xa0]
jmp 0x1401810ed
mov rcx, qword [r14]
lea rbx, [rsp + 0x208]
mov rdx, rbx
call fcn.1400230c0
mov rax, qword [r14 + 0x18]
sub rax, qword [r14 + 8]
add qword [r14 + 0x20], rax
movups xmm0, xmmword [rbx]
movups xmmword [r14 + 8], xmm0
mov rax, qword [rbx]
jmp 0x14018093f
mov rsi, qword [rsp + 0x98]
jmp 0x1401810ed
mov rsi, qword [rsp + 0x90]
jmp 0x1401810ed
mov rsi, qword [rsp + 0x88]
jmp 0x1401810ed
mov rsi, qword [rsp + 0x80]
jmp 0x1401810ed
mov rsi, qword [rsp + 0x78]
jmp 0x1401810ed
mov rsi, qword [rsp + 0x70]
jmp 0x1401810ed
mov rsi, qword [rsp + 0x68]
jmp 0x1401810ed
mov rsi, rax
jmp 0x1401810ed
mov rcx, rbx
call fcn.1401c97b0
mov rbp, qword [rbx]
mov eax, dword [rbp + 0x308]
jmp 0x1401808e5
int3
call fcn.1401848e8
mov ecx, dword [rax]
call fcn.1401ab5a4
mov rsi, rax
call fcn.1401848e8
mov edi, dword [rax]
lea rcx, str....._third_partyperfetto_srcprotozero_scattered_heap_buffer.cc
call fcn.1401c9690
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], edi
lea rcx, str.PERFETTO_CHECK_writer__
mov qword [rsp + 0x20], rcx
lea r9, str._s__errno:__d___s_
mov ecx, 3
mov rdx, rax
mov r8d, 0x3b
call fcn.1401c98b0
int3
call fcn.1401c9820
jmp 0x140181412
lea rdx, [r12 - 1]
and rax, rdx
jmp 0x140181897
cmp r12, rsi
mov r11, rbx
jae 0x1401815da
mov rax, qword [r11 + 0x20]
test rax, rax
js 0x140181b0a
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
jmp 0x140181b22
int3
int3
mov r12, r14
jmp 0x14018149e
lea rax, [r12 - 1]
and rcx, rax
jmp 0x14018185f
mov rcx, rax
shr rcx, 1
and eax, 1
or rax, rcx
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
addss xmm0, xmm0
divss xmm0, dword [rbx + 0x28]
call fcn.1401a3294
cvttss2si rcx, xmm0
mov rdx, rcx
subss xmm0, dword [0x140260048]
cvttss2si rax, xmm0
sar rdx, 0x3f
and rax, rdx
or rax, rcx
cmp rsi, 3
jb 0x140181bd5
mov rcx, rsi
shr rcx, 1
movabs rdx, 0x5555555555555555
and rdx, rcx
mov rcx, rsi
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 0x140181bd5
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 0x140181be0
mov rcx, rax
call fcn.140143080
mov rdx, rax
cmp r12, rdx
cmova rdx, r12
cmp rdx, rsi
mov r11, rbx
jae 0x1401815da
mov rcx, qword [rsp + 0x40]
call fcn.140070410
mov r11, rbx
jmp 0x1401815da
call fcn.1401c9820
jmp 0x14018197a
call fcn.1401848e8
mov ecx, dword [rax]
call fcn.1401ab5a4
mov rsi, rax
call fcn.1401848e8
mov edi, dword [rax]
lea rcx, str....._third_partyperfettoincludeperfetto_tracing_track_event_interned_data_index.h
call fcn.1401c9690
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, 0xf6
call fcn.1401c98b0
int3