Function at 0x56e2e0
Capabilities:
Encode data using base64

Disassembly:
lea r12, [rsp - 0x30]
cmp r12, qword [r14 + 0x10]
jbe 0x56e8d6
push rbp
mov rbp, rsp
sub rsp, 0xa8
mov qword [rsp + 0xb8], rax
mov qword [rsp + 0xd0], rdi
mov qword [rsp + 0xc8], rcx
mov qword [rsp + 0xc0], rbx
lea rax, [0x005dee60]
call fcn.0040ea60
mov qword [rsp + 0xa0], rax
mov rbx, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0xd0]
lea rdi, [0x005b2f20]
mov rsi, rax
xor r8d, r8d
xor r9d, r9d
mov rax, qword [rsp + 0xc0]
call fcn.005524c0
nop dword [rax + rax]
test rdi, rdi
jne 0x56e61e
mov rdx, qword [rsp + 0xa0]
cmp qword [rdx], 1
jne 0x56e5c4
mov rsi, qword [rsp + 0xb8]
test rsi, rsi
je 0x56e39a
mov rax, qword [rsi]
mov rbx, qword [rsi + 8]
mov rcx, qword [rsi + 0x10]
call fcn.0056e920
jmp 0x56e3ab
mov rax, qword [rdx + 0x20]
mov rbx, qword [rdx + 0x28]
mov rcx, qword [rdx + 0x30]
call fcn.0056e920
test rax, rax
je 0x56e591
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x80], rbx
lea rax, [0x005d1440]
call fcn.0040ea60
mov qword [rsp + 0x58], rax
mov rcx, qword [rsp + 0xa0]
mov rdi, qword [rcx + 8]
mov rsi, qword [rcx + 0x10]
mov r8, qword [rcx + 0x18]
mov rbx, qword [rax + 0x10]
mov rdx, qword [rax + 0x18]
mov r9, qword [rax + 8]
mov rax, r9
mov rcx, rdx
call fcn.0050e460
mov rdx, qword [rsp + 0x58]
mov qword [rdx + 0x10], rbx
mov qword [rdx + 0x18], rcx
cmp dword [0x00807190], 0
je 0x56e423
call fcn.0046b0c0
mov qword [r11], rax
mov rcx, qword [rdx + 8]
mov qword [r11 + 8], rcx
mov qword [rdx + 8], rax
mov byte [rdx], 0
mov rcx, qword [rsp + 0x50]
mov rbx, qword [rcx + 0x30]
mov rax, qword [rsp + 0x80]
call rbx
mov rbx, qword [rax + 8]
mov qword [rsp + 0x78], rbx
mov rax, qword [rsp + 0x58]
call fcn.00503c80
test rax, rax
jge 0x56e55e
lea rax, [0x005e4dc0]
call fcn.0040ea60
mov rcx, qword [rsp + 0x50]
mov qword [rax], rcx
cmp dword [0x00807190], 0
jne 0x56e485
mov rdx, qword [rsp + 0x80]
mov rsi, qword [rsp + 0x58]
jmp 0x56e49e
call fcn.0046b0c0
mov rdx, qword [rsp + 0x80]
mov qword [r11], rdx
mov rsi, qword [rsp + 0x58]
mov qword [r11 + 8], rsi
mov qword [rsp + 0x68], rax
mov qword [rax + 8], rdx
mov qword [rax + 0x20], rsi
mov rsi, qword [rsp + 0x78]
mov rdi, qword [rsi + 0x10]
lea r8, [rdi - 1]
test r8, r8
jl 0x56e51e
mov rsi, qword [rsi + 8]
mov rsi, qword [rsi + rdi*8 - 8]
mov rdi, rsi
shr rsi, 1
or rsi, rdi
mov rdi, rsi
shr rsi, 2
or rsi, rdi
mov rdi, rsi
shr rsi, 4
or rsi, rdi
mov rdi, rsi
shr rsi, 8
or rsi, rdi
mov rdi, rsi
shr rsi, 0x10
or rsi, rdi
mov rdi, rsi
shr rsi, 0x20
or rsi, rdi
shl r8, 6
bsr rsi, rsi
mov rdi, 0xffffffffffffffff
cmove rsi, rdi
lea rsi, [rsi + r8]
lea rsi, [rsi + 1]
jmp 0x56e520
xor esi, esi
lea rdx, [rsi + 7]
sar rdx, 0x3f
shr rdx, 0x3d
lea rcx, [rdx + rsi]
lea rcx, [rcx + 7]
sar rcx, 3
mov qword [rsp + 0x40], rcx
lea rax, [0x005b7da0]
mov rbx, rcx
call fcn.0044edc0
mov rdx, qword [rsp + 0xa0]
mov rsi, qword [rsp + 0x40]
jmp 0x56e793
lea rax, [0x005c9e40]
call fcn.0040ea60
mov qword [rax + 8], 0x2e
lea rcx, [0x006049a3]
mov qword [rax], rcx
lea rbx, [0x00657020]
mov rcx, rax
xor eax, eax
add rsp, 0xa8
pop rbp
ret
lea rax, [0x005c9e40]
call fcn.0040ea60
mov qword [rax + 8], 0x1c
lea rcx, [0x005feb00]
mov qword [rax], rcx
lea rbx, [0x00657020]
mov rcx, rax
xor eax, eax
add rsp, 0xa8
pop rbp
ret
movups xmmword [rsp + 0x88], xmm15
mov rax, qword [rdx]
call fcn.0040bac0
lea rcx, [0x005b7f60]
mov qword [rsp + 0x88], rcx
mov qword [rsp + 0x90], rax
lea rax, [0x00602eb2]
mov ebx, 0x27
lea rcx, [rsp + 0x88]
mov edi, 1
mov rsi, rdi
call fcn.004b3320
mov rcx, rbx
mov rbx, rax
xor eax, eax
add rsp, 0xa8
pop rbp
ret
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x48], rdi
lea rax, [0x005d78a0]
call fcn.0040ea60
mov rbx, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0xd0]
lea rdi, [0x005b2fe0]
mov rsi, rax
xor r8d, r8d
xor r9d, r9d
mov rax, qword [rsp + 0xc0]
nop dword [rax]
call fcn.005524c0
test rdi, rdi
je 0x56e75c
lea rax, [0x005e9f60]
call fcn.0040ea60
mov rbx, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0xd0]
lea rdi, [0x005b2fa0]
mov rsi, rax
xor r8d, r8d
xor r9d, r9d
mov rax, qword [rsp + 0xc0]
call fcn.005524c0
test rdi, rdi
je 0x56e729
mov rcx, qword [rsp + 0x48]
mov rcx, qword [rcx + 0x18]
mov rax, qword [rsp + 0x70]
call rcx
mov ecx, 0x26
mov rdi, rax
mov rsi, rbx
xor eax, eax
lea rbx, [0x00602973]
call fcn.00452c20
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x60], rax
lea rax, [0x005c9e40]
call fcn.0040ea60
mov rcx, qword [rsp + 0x38]
mov qword [rax + 8], rcx
cmp dword [0x00807190], 0
jne 0x56e704
mov rdx, qword [rsp + 0x60]
jmp 0x56e711
call fcn.0046b0a0
mov rdx, qword [rsp + 0x60]
mov qword [r11], rdx
mov qword [rax], rdx
lea rbx, [0x00657020]
mov rcx, rax
xor eax, eax
add rsp, 0xa8
pop rbp
ret
lea rax, [0x005c9e40]
call fcn.0040ea60
mov qword [rax + 8], 0x58
lea rcx, [0x00607415]
mov qword [rax], rcx
lea rbx, [0x00657020]
mov rcx, rax
xor eax, eax
add rsp, 0xa8
pop rbp
ret
lea rax, [0x005c9e40]
call fcn.0040ea60
mov qword [rax + 8], 0x58
lea rcx, [0x006073bd]
mov qword [rax], rcx
lea rbx, [0x00657020]
mov rcx, rax
xor eax, eax
add rsp, 0xa8
pop rbp
ret
mov qword [rdx + 8], r8
mov r8, qword [rdx + 0x10]
mov rbx, qword [rdx + 8]
nop dword [rax + rax]
cmp r8, rsi
jle 0x56e81c
cmp byte [rbx], 0
jne 0x56e7e9
mov r9, qword [rdx + 0x18]
dec r9
mov r10, r9
neg r9
sar r9, 0x3f
and r9d, 1
dec r8
mov qword [rdx + 0x10], r8
mov qword [rdx + 0x18], r10
lea r8, [r9 + rbx]
cmp dword [0x00807190], 0
je 0x56e78f
call fcn.0046b0c0
mov qword [r11], r8
mov r9, qword [rdx + 8]
mov qword [r11 + 8], r9
jmp 0x56e78f
lea rax, [0x005c9e40]
call fcn.0040ea60
mov qword [rax + 8], 0x20
lea rcx, [0x0060060f]
mov qword [rax], rcx
lea rbx, [0x00657020]
mov rcx, rax
xor eax, eax
add rsp, 0xa8
pop rbp
ret
mov rcx, rsi
sub rsi, r8
cmp rcx, rsi
jb 0x56e8cd
mov rdi, rcx
sub rcx, rsi
mov rdx, rsi
sub rsi, rdi
sar rsi, 0x3f
and rsi, rdx
lea rdx, [rsi + rax]
cmp r8, rcx
cmovl rcx, r8
cmp rbx, rdx
je 0x56e86b
mov qword [rsp + 0x98], rax
mov rax, rdx
call fcn.0046be20
mov rax, qword [rsp + 0x98]
mov rdi, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x50]
mov rdx, qword [rdx + 0x38]
mov rbx, rax
mov rcx, rdi
mov rax, qword [rsp + 0x80]
call rdx
cmp dword [0x00807190], 0
jne 0x56e894
mov rdx, qword [rsp + 0x68]
jmp 0x56e8b5
call fcn.0046b100
mov qword [r11], rax
mov rdx, qword [rsp + 0x68]
mov rsi, qword [rdx + 0x10]
mov qword [r11 + 8], rsi
mov qword [r11 + 0x10], rbx
mov rsi, qword [rdx + 0x18]
mov qword [r11 + 0x18], rsi
mov qword [rdx + 0x10], rax
mov qword [rdx + 0x18], rbx
mov rax, rdx
xor ebx, ebx
xor ecx, ecx
add rsp, 0xa8
pop rbp
ret
mov rax, rsi
call fcn.0046b520
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call fcn.00469180
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
jmp fcn.0056e2e0