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

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x20
mov rdi, rdx
mov rsi, rcx
mov r15, rdx
shr r15, 5
nop dword [rax + rax]
mov eax, dword [0x141dc5488]
xor edx, edx
div dword [0x141dc548c]
imul eax, eax, 0xe78aa4f2
xor eax, 0x11651766
cmp eax, 0x7c120c2a
jb 0x140047dc0
cmp rdi, 0x500
jae 0x1400483b2
mov ebx, edi
and ebx, 0x1f
nop word cs:[rax + rax]
mov eax, dword [0x141dc5498]
xor eax, dword [0x141dc549c]
xor eax, 0x1d6cbdab
add eax, 0x6557dac8
shr eax, 4
imul rax, rax, 0xaaabf4b
shr rax, 0x35
cmp eax, 0x52145e58
je 0x140047e00
mov rcx, qword [rsi + 0xa0]
nop word cs:[rax + rax]
mov eax, dword [0x141dc54a0]
add eax, dword [0x141dc54a4]
imul rdx, rax, 0x4a3854d
shr rdx, 0x20
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 0x1f
imul eax, eax, 0xacf00cc1
and eax, 0xd72a8bb2
cmp eax, 0xa1f50d9a
ja 0x140047e40
test rcx, rcx
je 0x140047f34
mov r8, rcx
nop
mov eax, dword [0x141dc54b8]
xor edx, edx
div dword [0x141dc54bc]
or eax, 0xf4aab69b
imul eax, eax, 0x5a2bbd69
cmp eax, 0xe8840c00
ja 0x140047e80
cmp rcx, 0x29
jae 0x140048332
dec r8
lea r9, [r8 + r15]
mov eax, dword [0x141dc5550]
xor edx, edx
div dword [0x141dc5554]
nop
mov eax, dword [0x141dc5558]
xor edx, edx
div dword [0x141dc555c]
add eax, 0x8d11ed64
imul rax, rax, 0x4bf50833
shr rax, 0x3d
add eax, 0x7b34581a
cmp eax, 0xd5e588ef
ja 0x140047ec0
cmp r9, 0x28
jae 0x140048380
nop word cs:[rax + rax]
mov eax, dword [0x141dc5570]
xor eax, dword [0x141dc5574]
add eax, 0xba5c60d
imul rax, rax, 0x5af70e3f
shr rax, 0x3c
cmp eax, 0x2bf2d1eb
ja 0x140047f00
mov eax, dword [rsi + r8*4]
mov dword [rsi + r9*4], eax
test r8, r8
jne 0x140047e80
cmp rdi, 0x20
jb 0x140047fb0
cmp r15, 1
mov r14, r15
adc r14, 0
mov eax, dword [0x141dc54a8]
add eax, dword [0x141dc54ac]
or eax, 0x242df900
and eax, 0xed2ffd08
cmp eax, 0xdfd18cab
jne 0x140047f74
lea r8, [r14*4]
mov rcx, rsi
xor edx, edx
call sub.VCRUNTIME140.dll_memset
shl r14, 2
nop dword [rax + rax]
mov eax, dword [0x141dc54b0]
add eax, dword [0x141dc54b4]
imul ebp, eax, 0x4af21323
add ebp, 0x625ac53b
mov rcx, rsi
xor edx, edx
mov r8, r14
call sub.VCRUNTIME140.dll_memset
cmp ebp, 0x40f29c28
jb 0x140047f80
nop dword [rax]
mov eax, dword [0x141dc54c0]
and eax, dword [0x141dc54c4]
and eax, 0x3a208874
add eax, 0xceb485f5
cmp eax, 0x5b35605a
jb 0x140047fb0
mov r8, qword [rsi + 0xa0]
add r8, r15
test rbx, rbx
je 0x1400482b7
lea rax, [r8 - 1]
nop word cs:[rax + rax]
mov ecx, dword [0x141dc54c8]
or ecx, dword [0x141dc54cc]
imul ecx, ecx, 0x76282004
imul rcx, rcx, 0x153d82a5
shr rcx, 0x3c
or ecx, 0x59098438
cmp ecx, 0xa07e1531
je 0x140047ff0
cmp rax, 0x27
ja 0x1400483e7
mov ecx, 0xa396aea3
nop word [rax + rax]
mov eax, dword [0x141dc54d0]
xor edx, edx
div dword [0x141dc54d4]
or eax, 0xda1108a5
imul rax, rcx
shr rax, 0x3f
or eax, 0xf5821f28
cmp eax, 0xef34c970
jb 0x140048030
neg edi
mov r10d, dword [rsi + r8*4 - 4]
and edi, 0x1f
mov r11d, r10d
mov ecx, edi
shr r11d, cl
mov r9, r8
test r11d, r11d
je 0x14004810e
mov ecx, 0x821b68f1
nop word [rax + rax]
mov eax, dword [0x141dc54f8]
xor edx, edx
div dword [0x141dc54fc]
xor eax, 0xf51e88fd
imul rax, rcx
shr rax, 0x3e
cmp eax, 0x192da0b2
ja 0x140048080
cmp r8, 0x27
ja 0x1400482d0
mov dword [rsi + r8*4], r11d
mov ecx, 0xef9f607f
lea r9, [r8 + 1]
nop dword [rax]
mov eax, dword [0x141dc5500]
xor edx, edx
div dword [0x141dc5504]
imul rax, rcx
shr rax, 0x3d
xor eax, 0x78b674d5
imul rax, rax, 0x6540333b
shr rax, 0x3d
cmp eax, 0xf754c4e9
ja 0x1400480c0
nop dword [rax]
mov eax, dword [0x141dc5508]
or eax, dword [0x141dc550c]
and eax, 0xe5c162f0
imul eax, eax, 0x241c9fec
cmp eax, 0x1337cd52
je 0x1400480f0
mov eax, dword [0x141dc54e8]
xor edx, edx
div dword [0x141dc54ec]
mov eax, 0xe57f9f31
lea r11, [r15 + 1]
nop word cs:[rax + rax]
mov ecx, dword [0x141dc54f0]
and ecx, dword [0x141dc54f4]
and ecx, 0xce8a1c23
imul rcx, rax
shr rcx, 0x3d
and ecx, 0xfffffffd
cmp ecx, 0x7b26000d
je 0x140048130
cmp r11, r8
jae 0x14004821c
xor ebp, ebp
test bpl, bpl
jne 0x140048160
lea rax, [r8 - 2]
cmp rax, 0x28
jae 0x140048302
mov eax, dword [0x141dc5538]
xor edx, edx
div dword [0x141dc553c]
add eax, 0x1053b98a
xor eax, 0xfafe9b0c
cmp eax, 0x819489bf
jae 0x1400481b0
mov eax, r10d
mov ecx, ebx
shl eax, cl
mov edx, dword [rsi + r8*4 - 8]
mov ecx, edi
shr edx, cl
or edx, eax
mov dword [rsi + r8*4 - 4], edx
nop dword [rax]
mov edx, dword [0x141dc5540]
sub edx, dword [0x141dc5544]
mov r14d, r10d
mov ecx, ebx
shl r14d, cl
and edx, 0x6d03110
mov eax, dword [rsi + r8*4 - 8]
mov r12d, eax
mov ecx, edi
shr r12d, cl
add edx, 0xc6b715d
or r12d, r14d
mov dword [rsi + r8*4 - 4], r12d
cmp edx, 0xf94ef79c
ja 0x1400481b0
dec r8
mov ecx, dword [0x141dc5548]
or ecx, dword [0x141dc554c]
xor ecx, 0x78e0f411
add ecx, 0xabdb94e5
cmp ecx, 0x2e2ef308
jb 0x1400481f0
mov r10d, eax
cmp r11, r8
jb 0x140048160
mov r8d, dword [rsi + r15*4]
mov ecx, ebx
shl r8d, cl
mov eax, dword [0x141dc5518]
xor edx, edx
div dword [0x141dc551c]
or eax, 0x7fffdf11
add eax, 0x8770ebc1
cmp eax, 0x3002b64e
jbe 0x140048248
mov dword [rsi + r15*4], r8d
mov eax, 0xa0745253
nop dword [rax]
mov ecx, dword [0x141dc5520]
xor ecx, dword [0x141dc5524]
xor ecx, 0x7078f8dc
add ecx, 0x82479685
imul rcx, rax
shr rcx, 0x3d
mov dword [rsi + r15*4], r8d
cmp ecx, 0x80cdbb4a
ja 0x140048250
mov ecx, 0x94397ddb
nop word cs:[rax + rax]
mov eax, dword [0x141dc5528]
xor edx, edx
div dword [0x141dc552c]
or eax, 0x90fd92de
shr eax, 1
imul rax, rcx
shr rax, 0x3d
cmp eax, 0xf7d28e87
jae 0x140048290
mov r8, r9
mov qword [rsi + 0xa0], r8
mov rax, rsi
add rsp, 0x20
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
ud2
ud2
mov eax, dword [0x141dc5560]
sub eax, dword [0x141dc5564]
mov ecx, 0x947603d7
imul rcx, rax
shr rcx, 0x3d
and ecx, 2
cmp ecx, 0xd448a188
jne 0x140048360
ud2
mov eax, dword [0x141dc5568]
sub eax, dword [0x141dc556c]
imul eax, eax, 0x6d4ba3c0
ud2
mov eax, dword [0x141dc5578]
xor eax, dword [0x141dc557c]
and eax, 0xc51ff3d5
mov ecx, 0x948b1bbd
imul rcx, rax
shr rcx, 0x3b
and ecx, 0xfffffff8
cmp ecx, 0x725488f2
jne 0x140048444
jmp 0x140048466
xor eax, eax
test al, al
je 0x1400483c0
ud2
mov eax, dword [0x141dc5490]
add eax, dword [0x141dc5494]
xor eax, 0xaba333c0
imul eax, eax, 0xd93e319b
add eax, 0xb904dc7
ud2
mov eax, dword [0x141dc54d8]
xor edx, edx
div dword [0x141dc54dc]
imul eax, eax, 0xf77b713e
or eax, 0x6a74ef4c
imul rax, rax, 0x41c4a64d
shr rax, 0x3c
cmp eax, 0xb75e6c88
jne 0x140048416
jmp 0x140048440
mov eax, dword [0x141dc54e0]
or eax, dword [0x141dc54e4]
or eax, 0x83ad76f0
imul rax, rax, 0x1d4ea23d
shr rax, 0x3b
or eax, 0x8f5989bd
ud2
ud2
mov eax, dword [0x141dc5580]
xor edx, edx
div dword [0x141dc5584]
imul eax, eax, 0xadc20fb4
add eax, 0xb59fa68c
ud2
ud2