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

Disassembly:
push rbp
push rsi
push rdi
mov rbp, rsp
mov eax, dword [0x141dcb930]
imul eax, dword [0x141dcb934]
or eax, 0x2e309948
cmp eax, 0xfdc2203a
jne 0x140089360
mov eax, 0x20
call fcn.1400ed360
sub rsp, rax
mov eax, 0x20
call fcn.1400ed360
sub rsp, rax
nop dword [rax]
mov ecx, dword [0x141dcb938]
and ecx, dword [0x141dcb93c]
or ecx, 0xd7f6ffe9
and ecx, 0xd7f7ffed
mov eax, 0x20
call fcn.1400ed360
sub rsp, rax
mov r9, rsp
mov eax, 0x20
call fcn.1400ed360
sub rsp, rax
mov rsi, rsp
cmp ecx, 0xd302ed4b
jb 0x140089360
mov eax, dword [0x141dd7ffc]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov rcx, qword [rax + 0x48]
mov eax, dword [0x141dcb940]
xor edx, edx
div dword [0x141dcb944]
nop dword [rax + rax]
mov eax, dword [0x141dcb948]
imul eax, dword [0x141dcb94c]
xor eax, 0xc0090210
or eax, 0x21c66d22
and eax, 0xe1ff6fb2
cmp eax, 0x1c034e87
je 0x1400893d0
cmp rcx, 0xffffffffffffffff
je 0x140089558
lea r8, [rcx + 1]
lea r10, [rcx + rcx]
mov r11d, 4
nop dword [rax + rax]
mov eax, dword [0x141dcb950]
xor edx, edx
div dword [0x141dcb954]
or eax, 0xe6d85785
add eax, 0xae45328e
or eax, 0x57a9c795
cmp r10, r8
mov rdi, r8
cmova rdi, r10
cmp rdi, 5
cmovb rdi, r11
cmp eax, 0x2e6ccdee
je 0x140089410
mov rax, rdi
shr rax, 0x3c
jne 0x140089558
mov r8, rdi
shl r8, 4
movabs rax, 0x7ffffffffffffff8
cmp r8, rax
ja 0x140089558
test rcx, rcx
je 0x1400894d9
mov eax, 0xab2dd029
nop word [rax + rax]
mov edx, dword [0x141dcb958]
sub edx, dword [0x141dcb95c]
imul rdx, rax
shr rdx, 0x3f
imul edx, edx, 0x9b10f5e1
imul rdx, rdx, 0x3951e15b
shr rdx, 0x3d
cmp edx, 0xd818a48a
je 0x140089480
mov eax, dword [0x141dd7ffc]
mov rdx, qword gs:[0x58]
mov rax, qword [rdx + rax*8]
mov rax, qword [rax + 0x50]
shl rcx, 4
mov qword [r9], rax
mov qword [r9 + 0x10], rcx
mov eax, 8
jmp 0x1400894db
xor eax, eax
mov qword [r9 + 8], rax
sub rsp, 0x20
mov edx, 8
mov rcx, rsi
call fcn.1400bff80
add rsp, 0x20
cmp qword [rsi], 0
jne 0x140089558
mov eax, dword [0x141dcb970]
xor edx, edx
div dword [0x141dcb974]
nop dword [rax + rax]
mov eax, dword [0x141dcb978]
xor edx, edx
div dword [0x141dcb97c]
xor eax, 0xd3909eba
imul eax, eax, 0xb55f63bd
add eax, 0x861bd21
cmp eax, 0x9b1b76bf
ja 0x140089510
mov rax, qword [rsi + 8]
mov ecx, dword [0x141dcb980]
sub ecx, dword [0x141dcb984]
and ecx, 0xc1c3aaf9
cmp ecx, 0x8d7dd593
jne 0x1400895a8
jmp 0x1400895f4
mov eax, dword [0x141dcb960]
and eax, dword [0x141dcb964]
or eax, 0x5941ea8c
and eax, 0x5949ea9c
cmp eax, 0xe217477a
je 0x1400895a2
mov eax, dword [0x141dcb968]
xor eax, dword [0x141dcb96c]
or eax, 0xeebe85dd
mov ecx, 0x864e0b61
imul rcx, rax
shr rcx, 0x3f
imul eax, ecx, 0x5ae6b2c9
ud2
ud2
mov ecx, dword [0x141dcb988]
xor ecx, dword [0x141dcb98c]
mov edx, dword [0x141dd7ffc]
mov r8, qword gs:[0x58]
mov rdx, qword [r8 + rdx*8]
add ecx, 0x5bb10d11
xor ecx, 0x4ed74ea
imul rcx, rcx, 0x739de909
shr rcx, 0x3e
mov qword [rdx + 0x50], rax
mov qword [rdx + 0x48], rdi
cmp ecx, 0xbec78dc0
jbe 0x140089617
mov ecx, dword [0x141dd7ffc]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
mov qword [rcx + 0x50], rax
mov qword [rcx + 0x48], rdi
jmp 0x1400895a8
mov rsp, rbp
pop rdi
pop rsi
pop rbp
ret