Function at 0x59ef40
Capabilities:
Encode data using base64

Disassembly:
lea r12, [rsp - 0x20]
cmp r12, qword [r14 + 0x10]
jbe 0x59f43d
sub rsp, 0xa0
mov qword [rsp + 0x98], rbp
lea rbp, [rsp + 0x98]
mov qword [rsp + 0xb0], rbx
cmp al, 0x13
ja 0x59f016
cmp al, 0xc
je 0x59ef94
cmp al, 0x12
jne 0x59ef85
xor eax, eax
jmp 0x59f3ca
cmp al, 0x13
jne 0x59f0e3
xor eax, eax
jmp 0x59f30f
mov qword [rsp + 0xb8], rcx
mov rax, rbx
mov rbx, rcx
mov rcx, rdi
call fcn.004815c0
test al, al
je 0x59efd9
xor eax, eax
mov rbx, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0xb8]
call fcn.004473e0
xor ecx, ecx
xor edi, edi
mov rbp, qword [rsp + 0x98]
add rsp, 0xa0
ret
nop
lea rax, [0x006de8a0]
call fcn.0040bf40
mov qword [rax + 8], 0x14
lea rcx, [0x00722b54]
mov qword [rax], rcx
xor ebx, ebx
lea rcx, [0x0079f200]
mov rdi, rax
xor eax, eax
mov rbp, qword [rsp + 0x98]
add rsp, 0xa0
ret
cmp al, 0x14
je 0x59f205
nop
cmp al, 0x16
je 0x59f18f
cmp al, 0x1e
jne 0x59f0e3
bt ecx, 0
jb 0x59f0a6
mov qword [rsp + 0xc0], rdi
nop
cmp rcx, 2
jl 0x59f068
movzx edx, byte [rcx + rbx - 1]
test dl, dl
jne 0x59f068
lea rax, [rcx - 2]
cmp rcx, rax
jbe 0x59f307
movzx edx, byte [rcx + rbx - 2]
test dl, dl
jne 0x59f068
mov rcx, rax
mov qword [rsp + 0x68], rcx
shr rcx, 1
mov qword [rsp + 0x60], rcx
lea rax, [0x006c1400]
xor ebx, ebx
nop
call fcn.00443fe0
mov rdx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0xc0]
mov rdi, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x68]
xor ebx, ebx
jmp 0x59f244
nop
lea rax, [0x006de8a0]
call fcn.0040bf40
mov qword [rax + 8], 0x11
lea rcx, [0x00721ea4]
mov qword [rax], rcx
xor ebx, ebx
lea rcx, [0x0079f200]
mov rdi, rax
xor eax, eax
mov rbp, qword [rsp + 0x98]
add rsp, 0xa0
ret
movups xmmword [rsp + 0x88], xmm15
lea rdx, [0x006d2580]
mov qword [rsp + 0x88], rdx
movzx edx, al
lea r8, [0x008e6980]
lea rdx, [r8 + rdx*8]
mov qword [rsp + 0x90], rdx
lea rax, [0x00724992]
mov ebx, 0x1b
lea rcx, [rsp + 0x88]
mov edi, 1
mov rsi, rdi
call fcn.004cf460
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x58], rbx
lea rax, [0x006de8a0]
call fcn.0040bf40
mov rdx, qword [rsp + 0x58]
mov qword [rax + 8], rdx
cmp dword [0x0094d0c0], 0
jne 0x59f164
mov rdx, qword [rsp + 0x78]
mov qword [rax], rdx
jmp 0x59f171
mov rdi, rax
mov rdx, qword [rsp + 0x78]
call fcn.00459fa0
xor ebx, ebx
lea rcx, [0x0079f200]
mov rdi, rax
xor eax, eax
mov rbp, qword [rsp + 0x98]
add rsp, 0xa0
ret
xor eax, eax
call fcn.004473e0
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x48], rbx
call fcn.005afb80
test rax, rax
je 0x59f1e7
nop
lea rax, [0x006de8a0]
call fcn.0040bf40
mov qword [rax + 8], 0x11
lea rcx, [0x00721eb5]
mov qword [rax], rcx
xor ebx, ebx
lea rcx, [0x0079f200]
mov rdi, rax
xor eax, eax
mov rbp, qword [rsp + 0x98]
add rsp, 0xa0
ret
mov rax, qword [rsp + 0x70]
mov rbx, qword [rsp + 0x48]
xor ecx, ecx
xor edi, edi
mov rbp, qword [rsp + 0x98]
add rsp, 0xa0
ret
xor eax, eax
call fcn.004473e0
xor ecx, ecx
xor edi, edi
mov rbp, qword [rsp + 0x98]
add rsp, 0xa0
nop
ret
mov word [rax + rbx*2], r8w
add rsi, 0xfffffffffffffffe
mov r8, rsi
neg rsi
sar rsi, 0x3f
and esi, 2
add rdi, rsi
add rcx, 0xfffffffffffffffe
mov rsi, r8
mov rbx, r9
test rcx, rcx
je 0x59f2ce
movzx r8d, byte [rdi]
cmp rcx, 1
jbe 0x59f2fa
lea r9, [rbx + 1]
shl r8d, 8
movzx r10d, byte [rdi + 1]
add r8d, r10d
cmp rdx, r9
jae 0x59f221
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x60], rcx
mov word [rsp + 0x46], r8w
mov qword [rsp + 0x80], rdi
mov qword [rsp + 0x50], rbx
mov rcx, rbx
mov rdi, rdx
mov rsi, r9
mov rbx, rax
lea rax, [0x006c1400]
call fcn.00444140
lea r9, [rbx + 1]
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x80]
movzx r8d, word [rsp + 0x46]
mov rdx, rcx
mov rcx, qword [rsp + 0x60]
jmp 0x59f221
mov rcx, rdx
call fcn.004651a0
mov rdi, rcx
mov rcx, rbx
mov rbx, rax
xor eax, eax
call fcn.00447820
xor ecx, ecx
xor edi, edi
mov rbp, qword [rsp + 0x98]
add rsp, 0xa0
ret
mov eax, 1
mov rcx, rax
call fcn.0045a320
call fcn.0045a320
inc rax
cmp rcx, rax
jle 0x59f3ac
movzx edx, byte [rbx + rax]
lea esi, [rdx - 0x61]
nop
cmp sil, 0x19
jbe 0x59f30c
lea esi, [rdx - 0x41]
cmp sil, 0x19
jbe 0x59f30c
lea esi, [rdx - 0x30]
cmp sil, 9
jbe 0x59f30c
lea esi, [rdx - 0x27]
nop dword [rax + rax]
cmp sil, 2
jbe 0x59f30c
lea esi, [rdx - 0x2b]
cmp sil, 4
jbe 0x59f30c
cmp dl, 0x20
je 0x59f30c
cmp dl, 0x3a
je 0x59f30c
cmp dl, 0x3d
je 0x59f30c
nop
cmp dl, 0x3f
je 0x59f30c
cmp dl, 0x2a
je 0x59f30c
cmp dl, 0x26
je 0x59f30c
nop
lea rax, [0x006de8a0]
call fcn.0040bf40
mov qword [rax + 8], 0x17
lea rcx, [0x007236ff]
mov qword [rax], rcx
xor ebx, ebx
lea rcx, [0x0079f200]
mov rdi, rax
xor eax, eax
mov rbp, qword [rsp + 0x98]
add rsp, 0xa0
ret
xor eax, eax
call fcn.004473e0
xor ecx, ecx
xor edi, edi
mov rbp, qword [rsp + 0x98]
add rsp, 0xa0
ret
inc rax
cmp rcx, rax
jle 0x59f422
movzx edx, byte [rbx + rax]
lea esi, [rdx - 0x30]
cmp sil, 9
jbe 0x59f3c7
nop dword [rax]
cmp dl, 0x20
je 0x59f3c7
nop
lea rax, [0x006de8a0]
call fcn.0040bf40
mov qword [rax + 8], 0x15
lea rcx, [0x00722e61]
mov qword [rax], rcx
xor ebx, ebx
lea rcx, [0x0079f200]
mov rdi, rax
xor eax, eax
mov rbp, qword [rsp + 0x98]
add rsp, 0xa0
ret
xor eax, eax
call fcn.004473e0
xor ecx, ecx
xor edi, edi
mov rbp, qword [rsp + 0x98]
add rsp, 0xa0
ret
mov byte [rsp + 8], al
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call fcn.00457c40
movzx eax, byte [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
jmp fcn.0059ef40