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

Disassembly:
xchg rbx, rcx
mov qword [rsp + 8], rbx
xchg rbx, rcx
nop
mov qword [rsp - 8], rbp
sub rsp, 8
nop
mov qword [rsp - 8], rbx
sub rsp, 8
nop
mov qword [rsp - 8], rsi
sub rsp, 8
nop
push 0x41d9c3de
mov qword [rsp], rdi
push r12
push r13
mov dword [rsp - 0x10], 0xfd6099e
nop
mov qword [rsp - 8], r14
sub rsp, 8
nop
sub rsp, 8
mov qword [rsp], r15
lea rbp, [rsp - 0x138]
mov dword [rsp - 0xc], esp
sub rsp, 0x238
mov r8, rdx
xchg rcx, rbp
mov rdi, rbp
xchg rbp, rcx
xor edx, edx
lea ebx, [rdx + 1]
mov r9, r9
mov ecx, edx
mov eax, 0x49710363
sub eax, 0x2f7a7558
add eax, 0x176717a7
sub eax, 0x30368db
add eax, 0x3a0518d1
rol eax, cl
mov rdx, rdx
lea rcx, [0x140001b00]
xor al, byte [rdx + rcx]
mov byte [rsp + rdx + 0x10], al
add rdx, rbx
xchg rdi, rdi
cmp rdx, 0x211
jb 0x1400908a1
xor dl, dl
lea r11, [rsp + 0x10]
mov dword [rsp - 0x38], 0x3587d309
xor r12b, r12b
mov byte [rsp + 4], dl
xor eax, eax
mov dword [rsp], r12d
mov dword [rsp - 0x28], ebx
xchg rdi, r9
mov rdi, r9
xchg r9, rdi
mov r10b, 0xe
xor r10b, 0x40
sub r10b, 4
sub r10b, 0x3a
mov rdi, r8
lea ecx, [rax + 0x25]
rep stosb byte [rdi], al
mov dword [rsp - 0x20], ebp
lea esi, [rax + 4]
movzx edi, byte [r9]
add r9, rbx
mov ecx, edi
mov dword [rsp - 0x10], 0x3e631fff
cmp edi, 0x65
ja 0x140090997
add ecx, 0xffffffda
xchg r15, r15
cmp ecx, 0x3f
ja 0x140090a40
movabs rax, 0xc00000007fad5acb
sub rax, 0x77b42585
add rax, 0x2f15cc87
sub rax, 0x1cdaf6bf
sub rax, 0x19330a0d
bt rax, rcx
jae 0x140090a40
mov dword [rsp - 0x3c], 0x4301d283
mov byte [r8 + 3], dil
mov al, 0x5e
sub al, 0x26
sub al, 0x25
add al, 0x2d
jmp 0x140090a31
sub ecx, 0x66
mov r10, r10
je 0x140090a1f
sub ecx, ebx
je 0x140090a0e
sub ecx, 0x89
mov dword [rsp - 0x10], 0x24e7cbcb
je 0x1400909f8
sub ecx, 2
je 0x1400909e7
cmp ecx, ebx
mov dword [rsp - 0x34], 0x65d937a2
jne 0x140090a40
mov byte [r8 + 1], dil
mov al, sil
xchg rdi, rdi
jmp 0x140090a31
mov byte [r8 + 1], dil
mov al, 2
add al, 0x5d
add al, 0x1a
sub al, 0x77
jmp 0x140090a31
mov byte [r8 + 2], dil
xchg r8, r8
mov al, 0x13
xor al, 0x76
xor al, 0x4a
xor al, 0x7d
sub al, 0x32
jmp 0x140090a31
mov byte [r8 + 5], dil
mov al, 0x72
sub al, 0x11
xor al, 0x3d
xor al, 0x4c
jmp 0x140090a31
mov byte [r8 + 4], dil
mov dword [rsp - 0x1c], ebx
mov al, 0x28
add al, 0x3a
xor al, 0x1e
xor al, 0x43
xor al, 0x37
or dl, al
mov r10, r10
add r10b, 0xff
jne 0x140090929
movzx eax, dl
mov r9, r9
mov ecx, ebx
movzx r10d, dl
shl r10d, 0xb
shl r10d, 4
shl r10d, 2
shl r10d, 3
shl r10d, 1
shl r10d, 1
shl r10d, 1
test dl, dl
mov dword [r8 + 0x21], r10d
mov dword [rsp - 0x14], 0x3372975d
cmovne ecx, eax
mov al, dil
and al, 0xf0
cmp al, 0x40
mov dword [rsp - 0x38], 0x3812e4ae
jne 0x140090b24
bts r10d, 0x1e
mov al, dil
shr al, 3
mov dword [rsp - 0xc], 0x37d2b77c
and al, bl
mov dword [r8 + 0x21], r10d
mov byte [r8 + 7], al
je 0x140090aca
xchg r12, r12
mov al, byte [r9]
and al, 0xf8
movzx r12d, r12b
xchg r8, r8
cmp al, 0xb8
cmove r12d, ebx
mov dword [rsp], r12d
mov r11, r11
mov al, dil
shr al, 1
shr al, 1
and al, bl
mov byte [r8 + 8], al
mov r15, r15
mov al, dil
shr al, 1
and dil, bl
mov rdi, rdi
and al, bl
mov byte [r8 + 0xa], dil
mov byte [r8 + 9], al
mov dword [rsp - 0x20], 0x4487495b
mov dil, byte [r9]
add r9, rbx
mov al, dil
xchg r15, r15
and al, 0xf0
cmp al, 0x40
jne 0x140090b24
mov dword [rsp - 0x3c], 0x621e06c7
mov byte [rbp + 0x198], dil
mov sil, cl
jmp 0x140090bcb
mov byte [r8 + 0xb], dil
mov sil, cl
cmp dil, 0xf
xchg r10, r10
jne 0x140090b4f
mov dil, byte [r9]
lea r11, [rsp + 0x5a]
mov rbx, rbx
mov byte [r8 + 0xc], dil
add r9, rbx
jmp 0x140090b93
cmp dil, 0xa0
mov dword [rsp - 0x2c], 0x4078458d
jb 0x140090b93
cmp dil, 0xa3
ja 0x140090b93
add r12b, bl
mov r12, r12
mov dword [rsp], r12d
test cl, 0x10
je 0x140090b8f
mov dword [rsp - 0xc], 0xc480b8c
or sil, 8
jmp 0x140090b93
and sil, 0xf7
movzx edx, dil
mov eax, edx
xchg rbx, rbx
mov byte [rbp + 0x198], dil
shr rax, 2
and edx, 3
mov r8, r8
movzx eax, byte [rax + r11]
add rax, r11
mov r14b, byte [rdx + rax]
cmp r14b, 0xff
mov dword [rsp - 0x1c], 0x3ab8837
jne 0x140090c03
or r10d, 0x3000
movzx eax, dil
mov rcx, rcx
and eax, 0xfffffffd
mov dword [r8 + 0x21], r10d
xor r14b, r14b
cmp al, 0x24
xchg r15, r15
jne 0x140090c03
mov r14b, bl
mov r13b, dil
xor bl, bl
mov dword [rsp - 0x1c], 0x6f07347a
jmp 0x140090c2e
xor bl, bl
mov r13b, dil
test r14b, r14b
xchg r15, r15
jns 0x140090c2e
movzx eax, r14b
and eax, 0x7f
movzx r14d, word [rax + r11]
xchg r15, r15
movzx ebx, r14w
shr bx, 7
shr bx, 1
mov r15b, byte [r8 + 0xc]
xchg rdi, rdi
mov r11d, r10d
test r15b, r15b
je 0x140090c7f
movzx edx, dil
mov r10, r10
mov eax, edx
and edx, 3
shr rax, 1
shr rax, 1
movzx ecx, byte [rbp + rax + 0x4c]
lea rax, [rbp + 0x4c]
add rax, rdx
mov r13, r13
test byte [rax + rcx], sil
je 0x140090c7f
or r11d, 0x3000
mov dword [r8 + 0x21], r11d
mov dword [rsp - 0x44], 0x7a689aa5
test r14b, 1
je 0x1400912b3
or r11d, 1
mov dword [r8 + 0x21], r11d
mov dword [rsp - 0x38], 0x50da1c25
mov edi, r11d
mov r12b, byte [r9]
mov dl, r12b
mov byte [r8 + 0xd], r12b
mov dword [rsp - 0x1c], 0x2d31d54f
mov cl, r12b
shr dl, 2
shr dl, 4
and cl, 7
mov rbx, rbx
shr r12b, 3
and r12b, 7
mov byte [rbp + 0x190], dl
mov byte [r8 + 0xe], dl
mov dword [rsp - 0x14], 0xf7332c6
mov byte [rbp + 0x188], cl
mov byte [r8 + 0x10], cl
mov byte [r8 + 0xf], r12b
test bl, bl
mov dword [rsp - 0x44], 0x6b8fb126
je 0x140090d1b
mov cl, r12b
movzx eax, bl
shl eax, cl
xchg r14, r14
mov cl, byte [rbp + 0x188]
test al, al
jns 0x140090d1b
xchg r13, r13
or edi, 0x3000
mov dword [r8 + 0x21], edi
mov r10b, byte [rbp + 0x198]
mov eax, edi
mov rdi, rdi
test r15b, r15b
jne 0x140090da9
cmp r10b, 0xd9
jb 0x140090da9
mov r9, r9
cmp r10b, 0xdf
ja 0x140090da9
lea eax, [r10 + 0x27]
movzx r10d, al
xchg r8, r8
cmp dl, 3
jne 0x140090d7c
movzx eax, r12b
mov dword [rsp - 0x24], esp
lea rdx, [rbp + 0x14]
add rdx, rax
mov r10b, byte [rdx + r10*8]
xchg rbp, rbp
mov dl, byte [rbp + 0x190]
jmp 0x140090d84
mov r10b, byte [rbp + r10 + 0xd]
mov cl, r12b
shl r10b, cl
xchg rbx, rbx
mov eax, edi
test r10b, r10b
mov r10b, byte [rbp + 0x198]
mov dword [rsp - 0xc], ecx
jns 0x140090da9
or eax, 0x3000
mov dword [r8 + 0x21], eax
test sil, 0x20
mov dword [rsp - 0x24], 0x5b0ae5a6
je 0x140090e67
cmp dl, 3
jne 0x140090dda
mov dword [rsp - 0x24], 0x1b80dca8
or eax, 0x9000
mov dword [r8 + 0x21], eax
jmp 0x140090e67
mov dl, r10b
test r15b, r15b
mov rdx, rdx
jne 0x140090dec
and dl, 0xfe
test r15b, r15b
mov r11, r11
lea rax, [rbp + 0xe8]
lea rdi, [rbp + 0xd6]
cmovne rdi, rax
lea rcx, [rbp + 0xbe]
mov dword [rsp - 0x14], 0x67872618
lea rax, [rbp + 0xd6]
cmovne rcx, rax
jmp 0x140090e35
cmp byte [rcx], dl
je 0x140090e43
neg rcx
add rcx, 0xfffffffffffffffe
neg rcx
cmp rcx, rdi
jne 0x140090e23
jmp 0x140090e57
movzx eax, byte [rcx + 1]
mov cl, r12b
shl eax, cl
mov r11, r11
test al, al
jns 0x140090e67
or dword [r8 + 0x21], 0x9000
mov dword [rsp - 0x40], 0x955d3b3
movzx ecx, r13b
mov bl, 0x58
xor bl, 0x6b
add bl, 4
xor bl, 0x32
mov edx, ecx
mov dword [rsp - 0x28], edx
test r15b, r15b
je 0x140090f37
sub edx, 0x20
je 0x140090ee9
mov dword [rsp - 0x18], 0x71483378
sub edx, 1
je 0x140090ebc
sub edx, 1
xchg rsi, rsi
je 0x140090ee9
cmp edx, 1
jne 0x140090f4f
mov dword [rsp - 0xc], 0x9d73c3e
lea eax, [r12 - 4]
mov r11b, 0x63
sub r11b, 0x4f
add r11b, 0x21
xor r11b, 0x12
sub r11b, 0x24
cmp al, 1
ja 0x14009109e
mov dword [rsp - 0x1c], 0x2a816b62
jmp 0x140091096
mov ecx, 0x694ccc3b
xor ecx, 0x7e9b515c
xor ecx, 0x14c30ef3
sub ecx, 0x3149390
mov r11b, 0x65
xor r11b, 0x11
sub r11b, 0x14
sub r11b, 0x5d
cmp r12b, cl
mov dword [rsp - 0x18], 0x58884c7c
ja 0x140091096
cmp r12b, 1
jne 0x14009109e
mov dword [rsp - 0x18], 0x26e9a5fb
jmp 0x140091096
sub edx, 0x8c
je 0x14009107e
mov r14, r14
cmp edx, 2
je 0x140091060
mov r11b, byte [rbp + 0x190]
cmp r11b, 3
xchg r14, r14
jne 0x140091001
test r15b, r15b
je 0x140090f9a
xchg rbx, rbx
lea rdx, [rbp + 0x121]
lea rax, [rbp + 0xf7]
lea rcx, [rbp + 0xf7]
cmp rax, rdx
mov dword [rsp - 0x2c], 0x233dfd9
je 0x14009109e
jmp 0x140090fa8
lea rdx, [rbp + 0xf7]
lea rcx, [rbp + 0xe8]
cmp byte [rcx], r10b
mov rsp, rsp
je 0x140090fd1
nop
sub rcx, 0x1aeb1ac5
add rcx, 0x1aeb1ac8
cmp rcx, rdx
jne 0x140090fa8
jmp 0x14009109e
test byte [rcx + 1], sil
mov dword [rsp - 0x28], 0x7bac4260
je 0x14009109e
movzx eax, byte [rcx + 2]
mov cl, r12b
mov dword [rsp - 0x24], 0x7f3e55e6
shl eax, cl
test al, al
jns 0x140091096
jmp 0x14009109e
test r15b, r15b
je 0x14009109e
mov r9, r9
sub ecx, 0x50
je 0x140091048
sub ecx, 0x75
je 0x140091096
mov dword [rsp - 0x1c], 0x118cb738
sub ecx, 0x11
je 0x140091057
sub ecx, 1
xchg rbx, rbx
je 0x140091048
cmp ecx, 0x20
jne 0x14009109e
xchg rdi, rdi
test sil, 9
jne 0x140091096
jmp 0x14009109e
test sil, 6
jmp 0x14009104c
mov r11b, byte [rbp + 0x190]
cmp r12b, 1
mov dword [rsp - 0x20], 0x4c9bec40
je 0x140091096
jmp 0x140091085
mov r11b, byte [rbp + 0x190]
cmp r12b, bl
mov dword [rsp - 0x10], 0x1fd888a1
jbe 0x14009109e
or dword [r8 + 0x21], 0x11000
mov dl, byte [r9 + 1]
mov dword [rsp - 0x40], edi
add r9, 2
cmp r12b, 1
ja 0x1400910e0
cmp r10b, 0xf6
mov dword [rsp - 0x38], 0x6e878937
jne 0x1400910cf
or r14b, 2
jmp 0x1400910e0
cmp r10b, 0xf7
jne 0x1400910e0
xchg rdx, rdx
or r14b, 0x10
mov al, byte [rbp + 0x188]
movzx ecx, r11b
xchg r15, r15
test r11b, r11b
je 0x14009117f
sub ecx, 1
mov dword [rsp - 0x14], ebx
je 0x140091154
cmp ecx, 1
pushf
mov ecx, 0x15b5ec0a
xor ecx, 0x6228371d
sub ecx, 0x55c39ec3
sub ecx, 0x21da3c50
popf
jne 0x1400911cd
mov dil, 0x6d
sub dil, 0x27
add dil, 0x31
sub dil, 0xb
sub dil, 0x6a
test sil, 0x10
jne 0x1400911d1
mov dword [rsp - 0x14], 0x422ada35
mov dil, cl
jmp 0x1400911d1
mov dil, 0x47
xor dil, 0x12
xor dil, 0x26
sub dil, 0x72
mov ecx, 0x6068ca9e
sub ecx, 0x17a33048
add ecx, 0x41f9724
sub ecx, 0x4ce53176
jmp 0x1400911d1
mov ecx, 0x16a2cc2d
xor ecx, 0x195cbd9f
sub ecx, 0xe20b72
sub ecx, 0xf1c663c
test sil, 0x10
je 0x1400911b8
mov rsi, rsi
cmp al, 6
setne dil
dec dil
and dil, 2
xchg rcx, rcx
jmp 0x1400911d1
mov edi, dword [rsp + 4]
cmp al, bl
movzx edi, dil
mov rsi, rsi
cmove edi, ecx
jmp 0x1400911d1
mov edi, dword [rsp + 4]
cmp r11b, 3
je 0x140091239
mov r9, r9
cmp al, cl
jne 0x140091239
or dword [r8 + 0x21], 2
mov al, dl
xchg rbx, rbx
shr al, 1
shr al, 3
shr al, 1
shr al, 1
inc r9
mov dword [rsp - 0x24], 0x215baa54
mov byte [r8 + 0x12], al
mov al, dl
shr al, 2
shr al, 1
and al, 7
mov byte [r8 + 0x11], dl
and dl, 7
xchg rsi, rsi
mov byte [r8 + 0x13], al
mov byte [r8 + 0x14], dl
cmp dl, bl
jne 0x140091239
xchg r9, r9
test r11b, 1
movzx edi, dil
cmove edi, ecx
dec r9
mov r14, r14
movzx ecx, dil
sub ecx, 1
je 0x140091291
xchg r11, r11
sub ecx, 1
je 0x14009127a
cmp ecx, 2
xchg r12, r12
jne 0x1400912a0
bts dword [r8 + 0x21], 8
mov eax, dword [r9]
mov dword [rsp - 0x20], edi
mov dword [r8 + 0x1d], eax
jmp 0x1400912a0
bts dword [r8 + 0x21], 7
movzx eax, word [r9]
mov word [r8 + 0x1d], ax
xchg rsi, rsi
jmp 0x1400912a0
or dword [r8 + 0x21], 0x40
mov al, byte [r9]
mov r11, r11
mov byte [r8 + 0x1d], al
mov r12d, dword [rsp]
movzx eax, dil
add r9, rax
mov rbx, rbx
jmp 0x1400912cc
test sil, 0x20
je 0x1400912cc
or r11d, 0x9000
mov dword [rsp - 0x34], ebp
mov dword [r8 + 0x21], r11d
test r14b, 0x10
je 0x140091368
xchg rbp, rbp
test r14b, 0x40
je 0x14009133e
test sil, 8
je 0x140091322
mov dword [rsp - 0x20], 0x9ef9ffc
or dword [r8 + 0x21], 0x208
movzx eax, word [r9]
nop
add r9, 0x78d6f1f2
sub r9, 0x78d6f1f0
mov word [r8 + 0x15], ax
mov dword [rsp - 0x34], 0x2979f89c
jmp 0x140091457
mov ecx, 0x1ce82ca7
sub ecx, 0xf758b12
xor ecx, 0x72be390b
sub ecx, 0x7fcc989a
jmp 0x1400913d4
test r12b, r12b
je 0x1400913ee
or dword [r8 + 0x21], 0x20
mov rdi, rdi
xchg r12, rax
mov r12, qword [r9]
xchg r12, rax
neg r9
add r9, 0xfffffffffffffff8
neg r9
xchg r10, rax
mov qword [r8 + 0x15], r10
xchg r10, rax
mov ecx, 0x5a38d538
sub ecx, 0x10a197e5
xor ecx, 0x7b904de6
add ecx, 0x23920de9
sub ecx, 0x55997e9a
test cl, r14b
je 0x1400913ab
mov dword [rsp - 0x38], 0x54e216f6
or dword [r8 + 0x21], 8
movzx eax, word [r9]
add r9, 2
mov r14, r14
mov word [r8 + 0x15], ax
test r14b, 2
je 0x1400913ca
xchg r11, r11
or dword [r8 + 0x21], ecx
mov al, byte [r9]
inc r9
mov dword [rsp - 0x14], esi
mov byte [r8 + 0x15], al
test r14b, 0x40
je 0x140091433
or dword [r8 + 0x21], 0x210
mov r8, r8
mov eax, dword [r9]
add r9, rcx
mov dword [r8 + 0x15], eax
jmp 0x140091457
mov ecx, 0x18f84a04
xor ecx, 0x3fbeb610
add ecx, 0xacc0585
sub ecx, 0x32130195
test sil, 8
mov dword [rsp - 0x30], 0x68fd2114
jne 0x140091396
or dword [r8 + 0x21], 0x10
mov eax, dword [r9]
add r9, rcx
mov dword [rsp - 0x30], 0x593cfe23
mov dword [r8 + 0x15], eax
jmp 0x140091385
test r14b, 0x20
je 0x140091457
or dword [r8 + 0x21], 0x204
mov dword [rsp - 0x38], edi
mov al, byte [r9]
inc r9
mov byte [r8 + 0x15], al
mov dword [rsp - 0x3c], ebx
sub r9b, byte [rbp + 0x180]
mov byte [r8], r9b
cmp r9b, 0xf
jbe 0x140091499
mov r14, r14
or dword [r8 + 0x21], 0x5000
mov r9b, 0x55
sub r9b, 9
sub r9b, 0x3b
xor r9b, 0x1e
mov byte [r8], 0x21
add byte [r8], 0x23
xor byte [r8], 0x69
xor byte [r8], 0x62
xor byte [r8], 0x40
xor eax, eax
lea rdi, [rsp + 0x10]
mov dword [rsp - 0x28], esp
mov ecx, 0x49800e98
add ecx, 0x250ba3bd
xor ecx, 0x5bd829ec
xor ecx, 0x7f023688
sub ecx, 0x4a51ab20
rep stosb byte [rdi], al
movzx eax, r9b
xchg rcx, rcx
sub rsp, 0xfffffffffffffdc8
nop
add rsp, 8
mov r15, qword [rsp - 8]
pop r14
mov dword [rsp - 0xc], ecx
nop
mov r13, qword [rsp]
add rsp, 8
nop
mov r12, qword [rsp]
add rsp, 8
nop
add rsp, 8
mov rdi, qword [rsp - 8]
nop
add rsp, 8
mov rsi, qword [rsp - 8]
nop
mov rbx, qword [rsp]
add rsp, 8
nop
mov rbp, qword [rsp]
add rsp, 8
ret