Function at 0x438e30
Capabilities:
Encode data using base64
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x58
mov rax, qword [0x006d1040]
lea r12, [rcx + 0x10]
mov rbp, r8
lea r8, [0x0068eafc]
mov rsi, rdx
mov rbx, rcx
mov rdi, qword [rax]
mov qword [rsp + 0x48], rdi
xor edi, edi
mov rdx, r8
mov qword [rcx], r12
call fcn.00437c30
lea rdx, [rbp + 2]
movabs rcx, 0xaaaaaaaaaaaaaaab
mov rax, rdx
mul rcx
mov rcx, rbx
shr rdx, 1
shl rdx, 2
call fcn.00642500
add rbp, rsi
cmp rsi, rbp
jae 0x4390f0
lea rdi, [rsi + 1]
lea r13, [0x0068eb00]
movzx esi, byte [rsi]
jmp 0x438fe1
movzx ecx, byte [rsp + 0x3f]
shl esi, 4
and esi, 0x30
cmp rbp, rdi
mov byte [rax + r14], cl
mov rax, qword [rbx]
mov qword [rbx + 8], r15
mov byte [rax + r14 + 1], 0
jbe 0x439040
movzx r14d, byte [rdi]
mov edx, 0xf
mov eax, r14d
sar eax, 4
or esi, eax
movsxd rsi, esi
movzx eax, byte [r13 + rsi]
mov rsi, qword [rbx + 8]
lea r15, [rsi + 1]
mov byte [rsp + 0x3f], al
mov rax, qword [rbx]
cmp r12, rax
je 0x438f09
mov rdx, qword [rbx + 0x10]
cmp r15, rdx
ja 0x439164
movzx ecx, byte [rsp + 0x3f]
mov byte [rax + rsi], cl
mov rax, qword [rbx]
mov qword [rbx + 8], r15
mov byte [rax + rsi + 1], 0
lea esi, [r14*4]
lea rax, [rdi + 1]
and esi, 0x3c
cmp rbp, rax
jbe 0x439190
movzx r14d, byte [rdi + 1]
mov edx, 0xf
mov r15d, r14d
sar r14d, 6
or esi, r14d
movsxd rsi, esi
movzx eax, byte [r13 + rsi]
mov rsi, qword [rbx + 8]
lea r14, [rsi + 1]
mov byte [rsp + 0x3f], al
mov rax, qword [rbx]
cmp r12, rax
je 0x438f73
mov rdx, qword [rbx + 0x10]
cmp r14, rdx
ja 0x439142
movzx ecx, byte [rsp + 0x3f]
and r15d, 0x3f
mov edx, 0xf
movzx r15d, byte [r13 + r15]
mov byte [rax + rsi], cl
mov rax, qword [rbx]
mov qword [rbx + 8], r14
mov byte [rax + rsi + 1], 0
mov rax, qword [rbx]
mov rsi, qword [rbx + 8]
cmp r12, rax
lea r14, [rsi + 1]
je 0x438fb3
mov rdx, qword [rbx + 0x10]
cmp r14, rdx
ja 0x439120
mov byte [rax + rsi], r15b
mov rax, qword [rbx]
mov qword [rbx + 8], r14
mov byte [rax + rsi + 1], 0
lea rax, [rdi + 2]
cmp rbp, rax
jbe 0x4390f0
add rdi, 3
movzx esi, byte [rdi - 1]
mov eax, esi
mov r14, qword [rbx + 8]
mov edx, 0xf
sar eax, 2
cdqe
movzx eax, byte [r13 + rax]
lea r15, [r14 + 1]
mov byte [rsp + 0x3f], al
mov rax, qword [rbx]
cmp r12, rax
je 0x43900b
mov rdx, qword [rbx + 0x10]
cmp r15, rdx
jbe 0x438eb2
mov qword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
mov rdx, r14
mov rcx, rbx
call fcn.006428e0
mov rax, qword [rbx]
jmp 0x438eb2
mov edi, 1
movsxd rsi, esi
mov rax, qword [rbx]
mov edx, 0xf
movzx r13d, byte [r13 + rsi]
mov rsi, qword [rbx + 8]
cmp r12, rax
lea rbp, [rsi + 1]
je 0x439067
mov rdx, qword [rbx + 0x10]
cmp rbp, rdx
ja 0x4391c2
mov byte [rax + rsi], r13b
mov rax, qword [rbx]
mov edx, 0xf
mov qword [rbx + 8], rbp
mov byte [rax + rsi + 1], 0
mov rax, qword [rbx]
mov rsi, qword [rbx + 8]
cmp r12, rax
lea rbp, [rsi + 1]
je 0x439099
mov rdx, qword [rbx + 0x10]
cmp rbp, rdx
ja 0x4391a0
mov byte [rax + rsi], 0x3d
mov rax, qword [rbx]
cmp edi, 1
mov qword [rbx + 8], rbp
mov byte [rax + rsi + 1], 0
jne 0x4390f0
mov rax, qword [rbx]
mov rsi, qword [rbx + 8]
mov edx, 0xf
cmp r12, rax
lea rdi, [rsi + 1]
je 0x4390d0
mov rdx, qword [rbx + 0x10]
cmp rdi, rdx
ja 0x4391e4
mov byte [rax + rsi], 0x3d
mov rax, qword [rbx]
mov qword [rbx + 8], rdi
mov byte [rax + rsi + 1], 0
nop dword [rax]
mov rdi, qword [0x006d1040]
mov rax, rbx
mov rcx, qword [rsp + 0x48]
xor rcx, qword [rdi]
jne 0x439206
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov qword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
mov rdx, rsi
mov rcx, rbx
call fcn.006428e0
mov rax, qword [rbx]
jmp 0x438fbc
mov qword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
mov rdx, rsi
mov rcx, rbx
call fcn.006428e0
mov rax, qword [rbx]
jmp 0x438f7c
mov qword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
mov rdx, rsi
mov rcx, rbx
call fcn.006428e0
mov rax, qword [rbx]
jmp 0x438f12
mov edi, 2
jmp 0x439045
mov qword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
mov rdx, rsi
mov rcx, rbx
call fcn.006428e0
mov rax, qword [rbx]
jmp 0x4390a2
mov qword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
mov rdx, rsi
mov rcx, rbx
call fcn.006428e0
mov rax, qword [rbx]
jmp 0x439070
mov qword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
mov rdx, rsi
mov rcx, rbx
call fcn.006428e0
mov rax, qword [rbx]
jmp 0x4390d9
call fcn.00582f30
mov rcx, qword [rbx]
mov rsi, rax
cmp rcx, r12
je 0x43921b
call fcn.00670500
mov rcx, rsi
call fcn.0058e700
nop
nop
nop word cs:[rax + rax]