Function at 0x4ad340
Capabilities:
Encode data using base64

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4ad63a
push rbp
mov rbp, rsp
sub rsp, 0x70
mov qword [rsp + 0x80], rax
mov rcx, qword [rax + 8]
mov qword [rsp + 0x50], rcx
lea rax, [0x004d23c0]
call fcn.0040c8c0
mov word [rax], 3
mov rcx, qword [rsp + 0x80]
mov rdx, qword [rcx + 8]
mov word [rax + 2], dx
mov rdx, qword [rcx]
mov dword [rax + 4], edx
mov rdx, qword [rcx]
mov rbx, qword [rsp + 0x50]
shl rbx, 5
mov rsi, rbx
sar rbx, 0x3f
shr rbx, 0x3d
add rbx, rsi
sar rbx, 3
imul rdx, rbx
mov dword [rax + 8], edx
mov word [rax + 0xc], bx
mov word [rax + 0xe], 0x20
mov rbx, qword [0x005f1050]
call fcn.004a9d80
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x40], rax
lea rdi, [0x00502d80]
mov rax, rbx
mov rbx, rcx
lea rcx, [0x005033f8]
call fcn.004674e0
test al, al
jne 0x4ad4be
mov rax, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x60]
lea rcx, [0x00503598]
lea rdi, [0x00501c88]
call fcn.004674e0
test al, al
jne 0x4ad4aa
mov rax, qword [rsp + 0x68]
nop
test rax, rax
jne 0x4ad49f
mov rdx, qword [rsp + 0x80]
mov rsi, qword [rdx + 0x10]
mov qword [rsp + 0x50], rsi
mov rdi, qword [rsp + 0x40]
mov qword [rdx + 0x18], rdi
lea rax, [0x004c6620]
xor ebx, ebx
mov ecx, 6
call fcn.00447fc0
mov rdx, qword [rsp + 0x80]
mov qword [rdx + 0x28], 0
mov qword [rdx + 0x30], 6
mov rsi, qword [rsp + 0x50]
test rsi, rsi
mov ebx, 0x1000
cmovne rbx, rsi
cmp dword [0x005f10d0], 0
je 0x4ad494
call fcn.00461500
mov qword [r11], rax
mov rsi, qword [rdx + 0x20]
mov qword [r11 + 8], rsi
mov qword [rsp + 0x48], rbx
mov qword [rdx + 0x20], rax
jmp 0x4ad4dc
mov rbx, qword [rsp + 0x60]
add rsp, 0x70
pop rbp
ret
mov rax, qword [0x0058f350]
mov rbx, qword [0x0058f358]
add rsp, 0x70
pop rbp
ret
mov rax, qword [0x0058f350]
mov rbx, qword [0x0058f358]
add rsp, 0x70
pop rbp
ret
mov qword [r8 + rbx*8 - 8], rax
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rdx + 0x30]
cmp qword [rdx + 0x28], rsi
jge 0x4ad595
mov rax, qword [rdx + 0x18]
call fcn.004acfe0
test rbx, rbx
jne 0x4ad589
mov rdx, qword [rsp + 0x80]
mov rcx, qword [rdx + 0x30]
mov rbx, qword [rdx + 0x28]
inc rbx
mov r8, qword [rdx + 0x20]
cmp rcx, rbx
jae 0x4ad562
mov qword [rsp + 0x58], rax
mov rax, r8
mov edi, 1
lea rsi, [0x004c6620]
call fcn.004480a0
mov rdx, qword [rsp + 0x80]
mov qword [rdx + 0x30], rcx
cmp dword [0x005f10d0], 0
je 0x4ad556
call fcn.00461500
mov qword [r11], rax
mov rsi, qword [rdx + 0x20]
mov qword [r11 + 8], rsi
mov qword [rdx + 0x20], rax
mov r8, rax
mov rax, qword [rsp + 0x58]
mov qword [rdx + 0x28], rbx
cmp dword [0x005f10d0], 0
je 0x4ad4d2
call fcn.00461500
mov qword [r11], rax
mov rsi, qword [r8 + rbx*8 - 8]
mov qword [r11 + 8], rsi
jmp 0x4ad4d2
mov rax, rbx
mov rbx, rcx
add rsp, 0x70
pop rbp
ret
mov rdx, rbx
sar rbx, 0x3f
shr rbx, 0x3e
lea rcx, [rbx + rdx]
sar rcx, 2
mov qword [rsp + 0x50], rcx
lea rax, [0x004bd720]
mov rbx, rcx
call fcn.00447fc0
mov rdx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x80]
mov qword [rsi + 0x40], rdx
mov qword [rsi + 0x48], rdx
cmp dword [0x005f10d0], 0
je 0x4ad5ea
call fcn.00461500
mov qword [r11], rax
mov rcx, qword [rsi + 0x38]
mov qword [r11 + 8], rcx
mov qword [rsi + 0x38], rax
lea rax, [0x004c7020]
call fcn.0040c8c0
lea rcx, [0x004ad660]
mov qword [rax], rcx
cmp dword [0x005f10d0], 0
jne 0x4ad617
mov rcx, qword [rsp + 0x80]
jmp 0x4ad627
call fcn.004614e0
mov rcx, qword [rsp + 0x80]
mov qword [r11], rcx
mov qword [rax + 8], rcx
call fcn.004402c0
xor eax, eax
xor ebx, ebx
add rsp, 0x70
pop rbp
ret
mov qword [rsp + 8], rax
nop
call fcn.0045f5e0
mov rax, qword [rsp + 8]
jmp fcn.004ad340