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

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
mov r9, rdx
mov r8, rcx
and r9d, 0x3f
mov r10, qword [rcx]
mov eax, 0xdd5822e5
xor esi, esi
nop word [rax + rax]
mov ecx, dword [0x141dc58d0]
or ecx, dword [0x141dc58d4]
imul rcx, rax
shr rcx, 0x3e
or ecx, 0x4268e7b0
imul ecx, ecx, 0x89ad333e
cmp ecx, 0x951b5de2
jb 0x140042b30
xor edx, edx
xor r11d, r11d
nop dword [rax]
cmp rsi, r10
je 0x140042c66
nop dword [rax]
mov eax, dword [0x141dc58e0]
sub eax, dword [0x141dc58e4]
xor eax, 0x29030200
and eax, 0xa9032a8f
add eax, 0x5c42d5de
cmp eax, 0xf905ad09
jb 0x140042b70
cmp rsi, 0x300
je 0x140042d43
add r11, r11
lea rax, [r11 + r11*4]
mov ecx, dword [0x141dc5900]
and ecx, dword [0x141dc5904]
xor ecx, 0xee81ec2d
add ecx, 0xc0ea8f7c
cmp ecx, 0x8a77384a
jb 0x140042ba6
movzx ecx, byte [r8 + rsi + 8]
add rax, rcx
mov rdi, rsi
or rdi, 1
mov r11, rax
mov ecx, r9d
shr r11, cl
test r11, r11
jne 0x140042cd1
nop dword [rax + rax]
mov ecx, dword [0x141dc5908]
or ecx, dword [0x141dc590c]
or ecx, 0x6152584
cmp ecx, 0xf452e992
je 0x140042bf0
nop word [rax + rax]
test dl, dl
jne 0x140042c10
cmp rdi, r10
je 0x140042c69
nop dword [rax]
mov ecx, dword [0x141dc5910]
imul ecx, dword [0x141dc5914]
or ecx, 0x9eb323df
cmp ecx, 0xda89968
je 0x140042c20
add rax, rax
lea rax, [rax + rax*4]
movzx r11d, byte [r8 + rdi + 8]
add r11, rax
add rsi, 2
mov rax, r11
mov ecx, r9d
shr rax, cl
test rax, rax
je 0x140042b60
jmp 0x140042d1c
mov rax, r11
test rax, rax
je 0x140043307
mov edx, 0x9e5cb19b
nop word [rax + rax]
mov ecx, dword [0x141dc58d8]
sub ecx, dword [0x141dc58dc]
imul ecx, ecx, 0xccefa9e6
imul rcx, rdx
shr rcx, 0x3e
imul esi, ecx, 0x47dc46e2
mov r11, rax
mov ecx, r9d
shr r11, cl
cmp esi, 0x448d43e4
jb 0x140042c80
xor ecx, ecx
nop word cs:[rax + rax]
test cl, cl
jne 0x140042cc0
test r11, r11
je 0x140042cd9
mov r11, rax
mov rsi, r10
jmp 0x140042d1c
mov r11, rax
mov rsi, rdi
jmp 0x140042d1c
mov rsi, r10
nop dword [rax]
mov edi, dword [0x141dc58e8]
and edi, dword [0x141dc58ec]
xor edi, 0x2370064a
add edi, 0xc7b2fa6d
lea rcx, [rax + rax]
lea r11, [rcx + rcx*4]
mov rdx, r11
mov ecx, r9d
shr rdx, cl
cmp edi, 0xff8e864
jb 0x140042ce0
inc rsi
mov rax, r11
test rdx, rdx
je 0x140042ce0
mov eax, dword [0x141dc58f0]
xor edx, edx
div dword [0x141dc58f4]
add eax, 0xca5b26e6
imul rax, rax, 0x643ac497
shr rax, 0x3e
cmp eax, 0xa8048ea0
jne 0x140042d6f
jmp 0x140042da0
mov eax, dword [0x141dc5918]
imul eax, dword [0x141dc591c]
add eax, 0x81e0b628
xor eax, 0x20d907e0
and eax, 0xa0db07e1
cmp eax, 0xb6a7d81d
jne 0x140043237
jmp 0x140043257
mov eax, dword [0x141dc58f8]
xor eax, dword [0x141dc58fc]
and eax, 0x4a30932c
imul ecx, eax, 0x510d773b
mov eax, dword [r8 + 0x308]
sub eax, esi
inc eax
mov dword [r8 + 0x308], eax
cmp ecx, 0x68b34041
jne 0x140042db4
mov eax, dword [r8 + 0x308]
sub eax, esi
inc eax
mov dword [r8 + 0x308], eax
jmp 0x140042d6f
cmp eax, 0xfffff801
jge 0x140042e40
mov eax, dword [0x141dc5938]
or eax, dword [0x141dc593c]
and eax, 0x8de56751
imul eax, eax, 0x5fb62997
cmp eax, 0x3a03b964
jae 0x140042de4
mov qword [r8], 0
xor eax, eax
nop word cs:[rax + rax]
mov qword [r8], 0
test al, al
jne 0x140042df0
xor eax, eax
test al, al
je 0x140042e10
mov dword [r8 + 0x308], 0
nop dword [rax]
mov eax, dword [0x141dc5940]
and eax, dword [0x141dc5944]
and eax, 0xc553b110
mov dword [r8 + 0x308], 0
cmp eax, 0xc754207a
je 0x140042e10
mov byte [r8 + 0x30c], 0
jmp 0x140043307
mov eax, 0xd8de000d
nop word cs:[rax + rax]
mov edx, dword [0x141dc5928]
sub edx, dword [0x141dc592c]
add edx, 0x4e9c451
imul rdx, rax
shr rdx, 0x3f
mov rdi, 0xffffffffffffffff
mov ecx, r9d
shl rdi, cl
cmp edx, 0xe8f4fb43
je 0x140042e50
not rdi
sub r10, rsi
jbe 0x140043049
xor eax, eax
nop dword [rax]
mov ecx, dword [0x141dc5930]
or ecx, dword [0x141dc5934]
add ecx, 0x49790128
or ecx, 0x79d72988
cmp ecx, 0x58fba1fe
jb 0x140042e90
mov edx, 0x82f2b093
mov ebx, 0xa50fb761
nop word [rax + rax]
mov ecx, dword [0x141dc5960]
xor ecx, dword [0x141dc5964]
imul rcx, rdx
shr rcx, 0x3e
and ecx, 0xfffffffe
add ecx, 0xd5ea1ed7
cmp ecx, 0x7db93250
jb 0x140042ec0
cmp rsi, 0x300
jae 0x140043204
mov r14, r11
mov ecx, r9d
shr r14, cl
mov ebp, dword [0x141dc59f0]
and ebp, dword [0x141dc59f4]
movzx ecx, byte [r8 + rsi + 8]
and ebp, 0xf2050a09
add ebp, 0xb2ebf2cc
cmp ebp, 0x60d786aa
jae 0x140042f26
mov byte [r8 + rax + 8], r14b
inc rsi
and r11, rdi
lea r11, [r11 + r11*4]
lea r11, [rcx + r11*2]
nop word cs:[rax + rax]
mov ecx, dword [0x141dc59f8]
add ecx, dword [0x141dc59fc]
imul ecx, ecx, 0x5a366026
imul rcx, rbx
shr rcx, 0x3e
add ecx, 0x9500c0d
mov byte [r8 + rax + 8], r14b
cmp ecx, 0xb56408b6
ja 0x140042f40
inc rax
cmp rax, r10
jne 0x140042ec0
nop dword [rax]
mov eax, dword [0x141dc5948]
and eax, dword [0x141dc594c]
imul rax, rax, 0x17d0dac3
shr rax, 0x3b
add eax, 0x81c2a1f3
cmp eax, 0x89f671b9
ja 0x140042f80
test r11, r11
jne 0x140043060
mov eax, dword [0x141dc5968]
or eax, dword [0x141dc596c]
add eax, 0xc81ceb
mov ecx, 0xe143d455
imul rcx, rax
shr rcx, 0x3e
or ecx, 0x4da00948
cmp ecx, 0x86e594de
jne 0x140042fe0
mov qword [r8], r10
nop dword [rax + rax]
mov eax, dword [0x141dc5970]
or eax, dword [0x141dc5974]
imul rcx, rax, 0x15622d7f
shr rcx, 0x20
sub eax, ecx
shr eax, 1
add eax, ecx
shr eax, 0x1f
add eax, 0xa8b73b35
mov qword [r8], r10
cmp eax, 0x9c0b12ab
jb 0x140042fe0
nop
mov eax, dword [0x141dc5978]
xor edx, edx
div dword [0x141dc597c]
imul eax, eax, 0xaa7a0936
imul rax, rax, 0x7397436f
shr rax, 0x3e
or eax, 0xc634b78a
cmp eax, 0x71ea19ec
jb 0x140043010
test r10, r10
jne 0x140043290
jmp 0x140043307
xor eax, eax
nop dword [rax + rax]
test al, al
jne 0x140043050
test r11, r11
je 0x1400431b6
xor r10d, r10d
xor eax, eax
nop word cs:[rax + rax]
test al, al
jne 0x140043070
mov esi, 0x99ae9b9f
jmp 0x140043093
and r11, rdi
add r11, r11
lea r11, [r11 + r11*4]
test r11, r11
je 0x14004318a
mov rax, r11
mov ecx, r9d
shr rax, cl
cmp r10, 0x300
jae 0x1400430d0
mov byte [r8 + r10 + 8], al
mov eax, dword [0x141dc59e0]
xor edx, edx
div dword [0x141dc59e4]
add eax, 0x2259f1be
or eax, 0xbf7338b7
cmp eax, 0x895bfd6b
jbe 0x1400430aa
inc r10
jmp 0x140043080
mov ecx, dword [0x141dc59b0]
or ecx, dword [0x141dc59b4]
not ecx
and ecx, 0x100680
cmp ecx, 0xfc7128e6
ja 0x1400430d0
test al, al
je 0x140043080
mov eax, dword [0x141dc59b8]
xor edx, edx
div dword [0x141dc59bc]
add eax, 0x7fc0cd98
cmp eax, 0x9c357657
ja 0x140043180
nop word [rax + rax]
mov eax, dword [0x141dc59c0]
xor edx, edx
div dword [0x141dc59c4]
or eax, 0x60400000
and eax, 0x70420430
mov byte [r8 + 0x30c], 1
cmp eax, 0x27784560
jb 0x140043180
nop word [rax + rax]
mov eax, dword [0x141dc59c8]
xor eax, dword [0x141dc59cc]
mov rcx, rax
imul rcx, rsi
shr rcx, 0x20
sub eax, ecx
shr eax, 1
add eax, ecx
shr eax, 0x1e
add eax, 0x89d11db3
or eax, 0xd83605c0
cmp eax, 0x8f7f5f8e
jb 0x140043140
jmp 0x140043080
mov byte [r8 + 0x30c], 1
jmp 0x140043110
mov eax, dword [0x141dc59d0]
or eax, dword [0x141dc59d4]
imul eax, eax, 0xa788dd51
xor eax, 0x5808e00
and eax, 0xd90df08
cmp eax, 0x5caeedbd
jbe 0x14004325d
jmp 0x140043283
mov eax, dword [0x141dc5950]
or eax, dword [0x141dc5954]
cmp eax, 0x55a4fbb9
jne 0x1400431d0
mov qword [r8], 0
mov eax, dword [0x141dc5958]
xor eax, dword [0x141dc595c]
add eax, 0xaa640775
imul rax, rax, 0x1ffc7137
shr rax, 0x3c
xor eax, 0x76f33d87
mov qword [r8], 0
cmp eax, 0xb8daae97
jae 0x1400431d0
jmp 0x140043307
ud2
mov eax, dword [0x141dc5920]
imul eax, dword [0x141dc5924]
or eax, 0x94164409
and eax, 0xde57c60b
ud2
ud2
mov eax, dword [0x141dc59d8]
add eax, dword [0x141dc59dc]
or eax, 0x92fccf9c
imul eax, eax, 0xe63bd39
add eax, 0xeccbc6f4
mov qword [r8], r10
cmp eax, 0xb188a75d
jb 0x140043290
mov qword [r8], r10
jmp 0x14004325d
mov eax, dword [0x141dc5980]
imul eax, dword [0x141dc5984]
xor eax, 0xa26b3a
add eax, 0xfbbdc0b3
or eax, 0xc2a2ee80
cmp eax, 0xda9ffbd7
jb 0x140043290
cmp r10, 0x300
ja 0x14004330e
nop dword [rax]
cmp byte [r8 + r10 + 7], 0
jne 0x140043307
dec r10
mov qword [r8], r10
mov eax, dword [0x141dc59a0]
xor edx, edx
div dword [0x141dc59a4]
nop dword [rax]
mov eax, dword [0x141dc59a8]
and eax, dword [0x141dc59ac]
xor eax, 0x38120142
or eax, 0xc1ac52ad
add eax, 0x230700c5
cmp eax, 0x1289bc0a
ja 0x1400432e0
test r10, r10
jne 0x1400432c0
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
mov eax, dword [0x141dc5988]
and eax, dword [0x141dc598c]
imul eax, eax, 0xfa08b6f8
and eax, 0x7467b608
imul rax, rax, 0x5283fba5
shr rax, 0x3d
cmp eax, 0xbdd1c810
jne 0x140043340
ud2
mov eax, dword [0x141dc5990]
xor eax, dword [0x141dc5994]
and eax, 0x101772ec
add eax, 0xaa4c7833
ud2