Function at 0x180020ea0
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x50
mov rbx, qword [0x180070b90]
movaps xmmword [rsp + 0x40], xmm6
mov rdi, rbx
movaps xmmword [rsp + 0x30], xmm7
cmp byte [rbx + 0xcb], 0
je 0x180020ee6
test byte [rbx + 0xc], 2
jne 0x180020ee6
mov byte [rbx + 0xcb], 0
mov rbx, qword [0x180070b90]
cmp byte [rbx + 0x2f90], 0
jne 0x180020ef6
mov byte [rbx + 0x2f90], 1
movss xmm0, dword [rbx + 0x2f94]
xorps xmm6, xmm6
xor r14d, r14d
comiss xmm0, xmm6
jbe 0x180020f39
subss xmm0, dword [rbx + 0x18]
comiss xmm6, xmm0
movss dword [rbx + 0x2f94], xmm0
jb 0x180020f39
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x180020f2b
call fcn.180024ed0
jmp 0x180020f32
mov byte [rbx + 0x3a4], 1
mov dword [rbx + 0x2f94], r14d
inc dword [rdi + 0x1a08]
movss xmm0, dword [rdi + 0x18]
cvtps2pd xmm0, xmm0
mov byte [rdi + 0x1a14], 1
mov dword [rdi + 0x2f5c], r14d
mov dword [rdi + 0x1a78], r14d
addsd xmm0, qword [rdi + 0x1a00]
movsd qword [rdi + 0x1a00], xmm0
mov ecx, dword [rdi + 0x2f74]
test ecx, ecx
jns 0x180020f93
mov eax, ecx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, ecx
lea rcx, [rdi + 0x2f70]
test eax, eax
cmovg edx, eax
call fcn.180028b60
movss xmm7, dword [0x1800648e8]
mov dword [rdi + 0x2f70], r14d
movsxd rax, dword [rdi + 0x31e4]
movss xmm1, dword [rdi + 0x18]
movaps xmm0, xmm1
subss xmm0, dword [rdi + rax*4 + 0x3004]
addss xmm0, dword [rdi + 0x31e8]
movss dword [rdi + 0x31e8], xmm0
movss dword [rdi + rax*4 + 0x3004], xmm1
mov eax, 0x88888889
mov ecx, dword [rdi + 0x31e4]
movss xmm1, dword [rdi + 0x31e8]
inc ecx
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x78
sub ecx, eax
comiss xmm1, xmm6
mov dword [rdi + 0x31e4], ecx
jbe 0x18002101c
divss xmm1, dword [0x180063c18]
movss xmm0, dword [0x1800630e8]
divss xmm0, xmm1
jmp 0x18002101f
movaps xmm0, xmm7
mov rax, qword [rdi + 0xa8]
movss dword [rdi + 0x3a8], xmm0
mov byte [rax], 1
mov rax, qword [0x180070b90]
mov rcx, qword [rax + 0xb8]
test rcx, rcx
jne 0x180021052
mov rax, qword [rax + 0xa8]
mov rcx, qword [rax + 0x48]
mov rcx, qword [rcx]
call fcn.180025400
movss xmm1, dword [rdi + 0x14]
lea rcx, [rdi + 0x1930]
movss xmm0, dword [rdi + 0x10]
mov eax, dword [rdi + 0x1614]
mov qword [rbp - 0x30], r14
movups xmm2, xmmword [rbp - 0x30]
mov dword [rdi + 0x1944], eax
shufps xmm2, xmm2, 0xd2
movss xmm2, xmm0
shufps xmm2, xmm2, 0x27
movss xmm2, xmm1
movss xmm1, dword [rdi + 0x1618]
shufps xmm2, xmm2, 0x39
movups xmmword [rbp - 0x30], xmm2
movups xmmword [rdi + 0x194c], xmm2
call fcn.180030610
mov eax, r14d
mov dword [rdi + 0x195c], r14d
cmp byte [rdi + 0x1610], r14b
je 0x1800210ca
mov dword [rdi + 0x195c], 1
mov eax, 1
cmp byte [rdi + 0x1611], r14b
je 0x1800210dc
or eax, 2
mov dword [rdi + 0x195c], eax
test byte [rdi + 0xc], 8
je 0x1800210eb
or eax, 4
mov dword [rdi + 0x195c], eax
lea rcx, [rdi + 0x1dc8]
call fcn.18002c0e0
mov rdx, qword [rdi + 0xa8]
lea rcx, [rdi + 0x1dc8]
mov rdx, qword [rdx + 8]
call fcn.18002f0d0
lea rcx, [rdi + 0x1dc8]
call fcn.18002f010
lea rcx, [rdi + 0x1e70]
call fcn.18002c0e0
mov rdx, qword [rdi + 0xa8]
lea rcx, [rdi + 0x1e70]
mov rdx, qword [rdx + 8]
call fcn.18002f0d0
lea rcx, [rdi + 0x1e70]
call fcn.18002f010
mov byte [rdi + 0x1d68], r14b
mov qword [rdi + 0x1d70], r14
mov qword [rdi + 0x1d7c], r14
mov dword [rdi + 0x1d78], r14d
mov qword [rdi + 0x1d94], r14
mov qword [rdi + 0x1d8c], r14
mov qword [rdi + 0x1d84], r14
cmp byte [rdi + 0x1f1c], r14b
je 0x1800211b5
mov eax, dword [rdi + 0x1f3c]
cmp eax, dword [rdi + 0x1ac8]
jne 0x1800211b5
mov rcx, qword [0x180070b90]
cmp dword [rcx + 0x1ac8], eax
jne 0x1800211a6
mov dword [rcx + 0x1acc], eax
cmp dword [rcx + 0x1b08], eax
jne 0x1800211b5
mov byte [rcx + 0x1b0c], 1
lea rax, [rdi + 0x1ab4]
mov ecx, dword [rax]
cmp dword [rdi + 0x1abc], r14d
jne 0x1800211d0
mov dword [rdi + 0x1ac0], r14d
jmp 0x1800211e1
mov edx, ecx
mov r8, rax
test ecx, ecx
je 0x1800211ed
cmp dword [rdi + 0x1ac8], ecx
jne 0x1800211ed
mov dword [rdi + 0x1ac4], r14d
mov edx, ecx
mov r8, rax
movss xmm1, dword [rdi + 0x18]
test edx, edx
je 0x180021224
movaps xmm0, xmm1
addss xmm0, dword [rdi + 0x1ac0]
movss dword [rdi + 0x1ac0], xmm0
cmp dword [rdi + 0x1ac8], edx
je 0x180021224
movaps xmm0, xmm1
addss xmm0, dword [rdi + 0x1ac4]
movss dword [rdi + 0x1ac4], xmm0
mov eax, dword [rdi + 0x1ac8]
movaps xmm2, xmm1
mov dword [rdi + 0x1abc], edx
mov dword [r8], r14d
mov byte [rdi + 0x1ab8], r14b
cmp dword [rdi + 0x1acc], eax
je 0x18002125b
cmp dword [rdi + 0x1b08], eax
jne 0x18002125b
test eax, eax
je 0x18002125b
call fcn.180018770
movss xmm2, dword [rdi + 0x18]
mov ecx, dword [rdi + 0x1ac8]
test ecx, ecx
je 0x180021278
movaps xmm0, xmm2
addss xmm0, dword [rdi + 0x1ad0]
movss dword [rdi + 0x1ad0], xmm0
mov rax, qword [rdi + 0x1af8]
addss xmm2, dword [rdi + 0x1b1c]
mov qword [rdi + 0x1b10], rax
movzx eax, byte [rdi + 0x1ad7]
mov byte [rdi + 0x1b0d], al
mov eax, dword [rdi + 0x2f20]
movss dword [rdi + 0x1b1c], xmm2
mov dword [rdi + 0x1b08], ecx
mov dword [rdi + 0x1acc], r14d
mov byte [rdi + 0x1ad8], r14b
mov byte [rdi + 0x1b0c], r14b
mov byte [rdi + 0x1ad4], r14b
test eax, eax
je 0x1800212da
cmp ecx, eax
je 0x1800212da
mov dword [rdi + 0x2f20], r14d
test ecx, ecx
jne 0x1800212ec
mov qword [rdi + 0x1adc], r14
mov qword [rdi + 0x1ae8], r14
mov eax, dword [rdi + 0x1f8c]
mov dword [rdi + 0x1f90], eax
mov eax, r14d
mov qword [rdi + 0x1f88], 0x7f7fffff
mov word [rdi + 0x1f1d], r14w
mov dword [rdi + 0x1f98], r14d
mov r8, qword [0x180070b90]
cmp byte [r8 + 0x148], r14b
setne al
mov ecx, eax
or ecx, 2
cmp byte [r8 + 0x149], r14b
cmove ecx, eax
mov edx, ecx
or edx, 4
cmp byte [r8 + 0x14a], r14b
cmove edx, ecx
lea rcx, [rdi + 0xca8]
mov eax, edx
or eax, 8
cmp byte [r8 + 0x14b], r14b
mov r8d, 0x800
cmove eax, edx
lea rdx, [rdi + 0x4a8]
mov dword [rdi + 0x3c8], eax
call fcn.180051f50
movss xmm1, dword [0x180063c40]
lea rdx, [rdi + 0x14d]
lea rax, [rdi + 0x4ac]
mov r8d, 0x80
nop
cmp byte [rdx - 1], r14b
je 0x1800213ac
movss xmm0, dword [rax - 4]
comiss xmm6, xmm0
jbe 0x1800213a5
movaps xmm0, xmm6
jmp 0x1800213af
addss xmm0, dword [rdi + 0x18]
jmp 0x1800213af
movaps xmm0, xmm1
movss dword [rax - 4], xmm0
cmp byte [rdx], r14b
je 0x1800213ce
movss xmm0, dword [rax]
comiss xmm6, xmm0
jbe 0x1800213c7
movaps xmm0, xmm6
jmp 0x1800213d1
addss xmm0, dword [rdi + 0x18]
jmp 0x1800213d1
movaps xmm0, xmm1
movss dword [rax], xmm0
cmp byte [rdx + 1], r14b
je 0x1800213f1
movss xmm0, dword [rax + 4]
comiss xmm6, xmm0
jbe 0x1800213ea
movaps xmm0, xmm6
jmp 0x1800213f4
addss xmm0, dword [rdi + 0x18]
jmp 0x1800213f4
movaps xmm0, xmm1
movss dword [rax + 4], xmm0
cmp byte [rdx + 2], r14b
je 0x180021415
movss xmm0, dword [rax + 8]
comiss xmm6, xmm0
jbe 0x18002140e
movaps xmm0, xmm6
jmp 0x180021418
addss xmm0, dword [rdi + 0x18]
jmp 0x180021418
movaps xmm0, xmm1
movss dword [rax + 8], xmm0
add rdx, 4
add rax, 0x10
sub r8, 1
jne 0x180021390
call fcn.18001e470
call fcn.180026b50
call fcn.180026690
mov rbx, qword [0x180070b90]
mov r9, qword [rbx + 0x1a98]
test r9, r9
je 0x180021543
mov eax, dword [rbx + 0x1ac8]
mov dword [rbx + 0x1acc], eax
cmp dword [rbx + 0x1b08], eax
jne 0x180021470
mov byte [rbx + 0x1b0c], 1
mov r9, qword [r9 + 0x368]
cmp byte [rbx + 0x138], r14b
je 0x180021535
mov rcx, qword [0x180070b90]
lea rax, [rbx + 0x130]
mov rdx, rax
test rax, rax
jne 0x1800214a1
lea rdx, [rcx + 0x130]
movss xmm0, dword [rdx]
movss xmm1, dword [0x1800648f0]
comiss xmm0, xmm1
movss xmm2, dword [rdx + 4]
jb 0x180021535
comiss xmm2, xmm1
jb 0x180021535
movss xmm1, dword [rax]
subss xmm1, dword [rbx + 0x1af0]
movss xmm2, dword [rax + 4]
subss xmm2, dword [rbx + 0x1af4]
movss xmm0, dword [r9 + 0x10]
ucomiss xmm0, xmm1
movss dword [rbp + 0x20], xmm1
movss dword [rbp + 0x24], xmm2
jp 0x1800214f9
jne 0x1800214f9
movss xmm0, dword [r9 + 0x14]
ucomiss xmm0, xmm2
jp 0x1800214f9
je 0x180021527
test dword [r9 + 0xc], 0x100
jne 0x180021515
comiss xmm6, dword [rcx + 0x2f94]
jb 0x180021515
mov eax, dword [rcx + 0x1c]
mov dword [rcx + 0x2f94], eax
mov r8d, 1
lea rdx, [rbp + 0x20]
mov rcx, r9
call fcn.180025b00
mov rcx, qword [rbx + 0x1a98]
call fcn.18001a950
jmp 0x18002157d
call fcn.180018770
mov qword [rbx + 0x1a98], r14
jmp 0x18002157d
mov rcx, qword [rbx + 0x1af8]
test rcx, rcx
je 0x18002157d
mov eax, dword [rbx + 0x1ac8]
cmp dword [rcx + 0x4c], eax
jne 0x18002157d
mov dword [rbx + 0x1acc], eax
cmp dword [rbx + 0x1b08], eax
jne 0x18002156f
mov byte [rbx + 0x1b0c], 1
cmp byte [rbx + 0x138], r14b
jne 0x18002157d
call fcn.180018770
mov r8, qword [0x180070b90]
mov eax, dword [r8 + 0x1bd8]
sub eax, 1
js 0x1800215cb
mov r8, qword [r8 + 0x1be0]
movsxd rdx, eax
add r8, 8
lea rcx, [rdx + rdx*2]
shl rcx, 4
add r8, rcx
nop dword [rax]
mov rax, qword [r8]
test rax, rax
je 0x1800215c1
test dword [rax + 0xc], 0x8000000
jne 0x1800215e1
sub r8, 0x30
sub rdx, 1
jns 0x1800215b0
cmp qword [rdi + 0x1d18], r14
je 0x180021600
movss xmm0, dword [rdi + 0x1d34]
comiss xmm0, xmm6
jbe 0x180021600
movss xmm1, dword [rdi + 0x18]
mulss xmm1, dword [0x180063c04]
addss xmm1, dword [rdi + 0x1dc0]
minss xmm1, dword [0x1800630e8]
jmp 0x18002161d
movss xmm0, dword [rdi + 0x18]
mulss xmm0, dword [0x180063c08]
movss xmm1, dword [rdi + 0x1dc0]
subss xmm1, xmm0
maxss xmm1, xmm6
movss dword [rdi + 0x1dc0], xmm1
mov dword [rdi + 0x1f18], r14d
mov qword [rdi + 0x31f0], 0xffffffffffffffff
mov dword [rdi + 0x31ec], 0xffffffff
mov dword [rdi + 0x2f80], 0x3f800000
mov dword [rdi + 0x2f84], 0x3f800000
call fcn.180027130
mov rbx, qword [0x180070b90]
mov rsi, qword [rbx + 0x1bf8]
test rsi, rsi
je 0x18002169b
cmp byte [rsi + 0x7e], r14b
je 0x18002169b
test dword [rsi + 0xc], 0x40000
jne 0x18002169b
cmp byte [rbx + 0x148], r14b
jne 0x18002169b
mov ecx, dword [rbx + 0x3c]
test ecx, ecx
js 0x18002169b
mov dl, 1
call fcn.18001cc40
test al, al
je 0x18002169b
mov al, 1
jmp 0x18002169d
xor al, al
mov byte [rbx + 0x1d60], al
cmp dword [rbx + 0x1ac8], r14d
jne 0x180021703
test al, al
je 0x180021703
mov qword [rbx + 0x1d48], rsi
mov dword [rbx + 0x1d58], 0x7fffffff
cmp dword [rbx + 0x1c00], r14d
je 0x1800216f2
mov ecx, dword [rbx + 0x1c48]
cmp ecx, 0x7fffffff
je 0x1800216f2
cmp byte [rbx + 0x149], r14b
mov eax, 2
cmovne eax, r14d
add eax, ecx
mov dword [rbx + 0x1d5c], eax
jmp 0x180021703
movzx eax, byte [rbx + 0x149]
neg al
sbb ecx, ecx
mov dword [rbx + 0x1d5c], ecx
mov r8, qword [rbx + 0x1d48]
mov qword [rbx + 0x1d40], r14
mov dword [rbx + 0x1d54], 0x7fffffff
mov dword [rbx + 0x1d50], 0x7fffffff
test r8, r8
je 0x180021798
mov eax, dword [rbx + 0x1d58]
mov qword [rbx + 0x1d40], r8
cmp eax, 0x7fffffff
je 0x180021757
mov ecx, dword [r8 + 0x1b0]
cmp ecx, 0xffffffff
je 0x180021757
inc ecx
add eax, ecx
cdq
idiv ecx
mov dword [rbx + 0x1d50], edx
mov eax, dword [rbx + 0x1d5c]
cmp eax, 0x7fffffff
je 0x18002177d
mov ecx, dword [r8 + 0x1b4]
cmp ecx, 0xffffffff
je 0x18002177d
inc ecx
add eax, ecx
cdq
idiv ecx
mov dword [rbx + 0x1d54], edx
mov qword [rbx + 0x1d48], r14
mov dword [rbx + 0x1d5c], 0x7fffffff
mov dword [rbx + 0x1d58], 0x7fffffff
mov dword [rbx + 0x1c48], 0x7fffffff
movss xmm0, dword [rdi + 0xd0]
comiss xmm0, xmm6
jb 0x1800217bf
movsd xmm7, qword [rdi + 0x1a00]
cvtpd2ps xmm7, xmm7
subss xmm7, xmm0
mov ebx, r14d
cmp dword [rdi + 0x1a28], r14d
je 0x18002181e
mov rsi, r14
nop
mov rax, qword [rdi + 0x1a30]
mov rcx, qword [rsi + rax]
movzx eax, byte [rcx + 0x7e]
mov byte [rcx + 0x7f], al
mov word [rcx + 0x8a], r14w
mov byte [rcx + 0x7e], r14b
mov byte [rcx + 0x80], r14b
test al, al
jne 0x180021810
cmp byte [rcx + 0x3b0], r14b
jne 0x180021810
comiss xmm7, dword [rcx + 0x27c]
jbe 0x180021810
call fcn.18001ac40
inc ebx
add rsi, 8
cmp ebx, dword [rdi + 0x1a28]
jne 0x1800217d0
mov rax, qword [rdi + 0x1bf8]
test rax, rax
je 0x1800218fc
cmp byte [rax + 0x7f], r14b
jne 0x1800218fc
mov r11, qword [0x180070b90]
mov eax, dword [r11 + 0x1a38]
sub eax, 1
js 0x18002189a
movsxd r9, eax
mov rax, qword [r11 + 0x1a40]
lea r10, [rax + r9*8]
nop dword [rax]
mov r8, qword [r10]
test r8, r8
je 0x180021890
cmp byte [r8 + 0x7f], r14b
je 0x180021890
mov eax, dword [r8 + 0xc]
and eax, 0x40200
cmp eax, 0x40200
setne cl
bt dword [r8 + 0xc], 0x18
setae al
test al, cl
jne 0x180021a35
sub r10, 8
sub r9, 1
jns 0x180021860
cmp qword [r11 + 0x1bf8], r14
je 0x1800218cd
mov qword [r11 + 0x1bf8], r14
mov byte [r11 + 0x1c51], r14b
mov qword [r11 + 0x1c00], r14
mov byte [r11 + 0x1c4c], r14b
mov dword [r11 + 0x1c44], r14d
mov r11, qword [0x180070b90]
lea rbx, [r11 + 0x1bd8]
cmp dword [rbx], 1
jl 0x1800218fc
mov ecx, dword [rbx + 4]
test ecx, ecx
jns 0x1800218f9
mov eax, ecx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, ecx
mov rcx, rbx
test eax, eax
cmovg edx, eax
call fcn.180028ca0
mov dword [rbx], r14d
mov ecx, dword [rdi + 0x1a5c]
test ecx, ecx
jns 0x180021923
mov eax, ecx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, ecx
lea rcx, [rdi + 0x1a58]
test eax, eax
cmovg edx, eax
call fcn.180028c00
mov dword [rdi + 0x1a58], r14d
mov ecx, dword [rdi + 0x1bec]
test ecx, ecx
jns 0x180021951
mov eax, ecx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, ecx
lea rcx, [rdi + 0x1be8]
test eax, eax
cmovg edx, eax
call fcn.180028ca0
mov dword [rdi + 0x1be8], r14d
xor edx, edx
mov rcx, qword [rdi + 0x1bf8]
call fcn.180018ac0
call fcn.1800263e0
movzx ecx, word [0x18006466c]
xor r8d, r8d
movzx edx, byte [0x18006466e]
movsd xmm0, qword [str.uWQAR]
xor dl, 0x3f
movsd qword [rbp - 0x30], xmm0
xor byte [rbp - 0x2f], 0x32
xor byte [rbp - 0x2e], 0x33
xor byte [rbp - 0x2d], 0x34
xor byte [rbp - 0x2c], 0x35
xor byte [rbp - 0x2b], 0x36
xor byte [rbp - 0x2a], 0x37
xor byte [rbp - 0x29], 0x38
mov byte [rdi + 0x1a15], 1
mov rax, qword [0x180070b90]
mov word [rbp - 0x24], cx
xor cl, 0x3d
xor byte [rbp - 0x23], 0x3e
mov byte [rbp - 0x24], cl
lea rcx, [rbp - 0x30]
or dword [rax + 0x1b20], 2
mov dword [rax + 0x1b40], 0x43c80000
mov dword [rax + 0x1b44], 0x43c80000
mov dword [rax + 0x1b28], 4
mov eax, dword [0x180064668]
mov dword [rbp - 0x28], eax
xor al, 0x39
xor byte [rbp - 0x27], 0x3a
xor byte [rbp - 0x26], 0x3b
xor byte [rbp - 0x25], 0x3c
mov byte [rbp - 0x22], dl
xor edx, edx
mov byte [rbp - 0x28], al
mov byte [rbp - 0x30], 0x44
call fcn.180014970
mov rbx, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
movaps xmm6, xmmword [rsp + 0x40]
movaps xmm7, xmmword [rsp + 0x30]
add rsp, 0x50
pop r14
pop rdi
pop rbp
ret
mov rax, qword [r8 + 0x380]
test rax, rax
cmovne r8, rax
mov rcx, r8
call fcn.18001a950
jmp 0x1800218fc