Function at 0x59c980
Capabilities:
Encode data using base64

Disassembly:
lea r12, [rsp - 0x10]
cmp r12, qword [r14 + 0x10]
jbe 0x59cea2
sub rsp, 0x90
mov qword [rsp + 0x88], rbp
lea rbp, [rsp + 0x88]
mov qword [rsp + 0xa0], rbx
cmp al, 0x13
ja 0x59ca55
cmp al, 0xc
je 0x59c9d4
cmp al, 0x12
jne 0x59c9c5
xor eax, eax
jmp 0x59ce33
cmp al, 0x13
jne 0x59cb22
xor eax, eax
jmp 0x59cd80
mov qword [rsp + 0xa8], rcx
mov rax, rbx
mov rbx, rcx
mov rcx, rdi
call fcn.00471fc0
test al, al
je 0x59ca19
xor eax, eax
mov rbx, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0xa8]
call fcn.0044f6a0
xor ecx, ecx
xor edi, edi
mov rbp, qword [rsp + 0x88]
add rsp, 0x90
ret
lea rax, [0x00688220]
call fcn.0040d780
mov qword [rax + 8], 0x14
lea rcx, [0x006c424f]
mov qword [rax], rcx
xor ebx, ebx
lea rcx, [0x0073f8e0]
mov rdi, rax
xor eax, eax
mov rbp, qword [rsp + 0x88]
add rsp, 0x90
ret
cmp al, 0x14
je 0x59cb97
nop dword [rax]
cmp al, 0x16
je 0x59cb82
cmp al, 0x1e
jne 0x59cb22
bt ecx, 0
jb 0x59cae6
mov qword [rsp + 0xb0], rdi
nop
cmp rcx, 2
jl 0x59caa8
movzx edx, byte [rcx + rbx - 1]
test dl, dl
jne 0x59caa8
lea rax, [rcx - 2]
cmp rcx, rax
jbe 0x59cd70
movzx edx, byte [rcx + rbx - 2]
test dl, dl
jne 0x59caa8
mov rcx, rax
mov qword [rsp + 0x60], rcx
shr rcx, 1
mov qword [rsp + 0x58], rcx
lea rax, [0x00670f20]
xor ebx, ebx
nop
call fcn.0044b5c0
mov rdx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0xb0]
mov rdi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x60]
xor ebx, ebx
jmp 0x59ccae
lea rax, [0x00688220]
call fcn.0040d780
mov qword [rax + 8], 0x11
lea rcx, [0x006c2c26]
mov qword [rax], rcx
xor ebx, ebx
lea rcx, [0x0073f8e0]
mov rdi, rax
xor eax, eax
mov rbp, qword [rsp + 0x88]
add rsp, 0x90
ret
movups xmmword [rsp + 0x78], xmm15
lea rdx, [0x0067f940]
mov qword [rsp + 0x78], rdx
movzx edx, al
lea r8, [0x0089fa20]
lea rdx, [r8 + rdx*8]
mov qword [rsp + 0x80], rdx
lea rax, [0x006c7e5a]
mov ebx, 0x1b
lea rcx, [rsp + 0x78]
mov edi, 1
mov rsi, rdi
call fcn.004c9d40
mov rcx, rax
mov rdi, rbx
xor eax, eax
xor ebx, ebx
mov rbp, qword [rsp + 0x88]
add rsp, 0x90
ret
xor eax, eax
call fcn.0044f6a0
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x48], rbx
xor ecx, ecx
jmp 0x59cbb5
xor eax, eax
call fcn.0044f6a0
xor ecx, ecx
xor edi, edi
mov rbp, qword [rsp + 0x88]
add rsp, 0x90
ret
mov rcx, rsi
cmp rbx, rcx
jle 0x59cc34
movzx edx, byte [rax + rcx]
nop
cmp edx, 0x80
jge 0x59cbce
lea rsi, [rcx + 1]
jmp 0x59cbe2
call fcn.0045dc80
mov edx, eax
mov rsi, rbx
mov rax, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x48]
cmp edx, 0x7f
jle 0x59cbb2
movups xmmword [rsp + 0x78], xmm15
call fcn.0040aec0
lea rcx, [0x00670e20]
mov qword [rsp + 0x78], rcx
mov qword [rsp + 0x80], rax
lea rax, [0x006ce17e]
mov ebx, 0x2a
lea rcx, [rsp + 0x78]
mov edi, 1
mov rsi, rdi
nop
call fcn.004c9d40
mov rbx, qword [rsp + 0x48]
mov rcx, rax
mov rax, qword [rsp + 0x68]
jmp 0x59cc36
xor ecx, ecx
test rcx, rcx
je 0x59cc77
lea rax, [0x00688220]
call fcn.0040d780
mov qword [rax + 8], 0x11
lea rcx, [0x006c2c37]
mov qword [rax], rcx
xor ebx, ebx
lea rcx, [0x0073f8e0]
mov rdi, rax
xor eax, eax
mov rbp, qword [rsp + 0x88]
add rsp, 0x90
ret
xor ecx, ecx
xor edi, edi
mov rbp, qword [rsp + 0x88]
add rsp, 0x90
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 0x59cd37
movzx r8d, byte [rdi]
nop dword [rax + rax]
cmp rcx, 1
jbe 0x59cd63
lea r9, [rbx + 1]
shl r8d, 8
movzx r10d, byte [rdi + 1]
add r8d, r10d
cmp rdx, r9
jae 0x59cc8b
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x58], rcx
mov word [rsp + 0x46], r8w
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x50], rbx
mov rcx, rbx
mov rdi, rdx
mov rsi, r9
mov rbx, rax
lea rax, [0x00670f20]
call fcn.0044b720
lea r9, [rbx + 1]
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x70]
movzx r8d, word [rsp + 0x46]
mov rdx, rcx
mov rcx, qword [rsp + 0x58]
jmp 0x59cc8b
mov rcx, rdx
call fcn.00497160
mov rdi, rcx
mov rcx, rbx
mov rbx, rax
xor eax, eax
call fcn.0044fae0
xor ecx, ecx
xor edi, edi
mov rbp, qword [rsp + 0x88]
add rsp, 0x90
ret
mov eax, 1
mov rcx, rax
call fcn.00465180
call fcn.00465180
inc rax
nop dword [rax + rax]
cmp rcx, rax
jle 0x59ce15
movzx edx, byte [rbx + rax]
lea esi, [rdx - 0x61]
cmp sil, 0x19
jbe 0x59cd75
lea esi, [rdx - 0x41]
cmp sil, 0x19
jbe 0x59cd75
lea esi, [rdx - 0x30]
cmp sil, 9
jbe 0x59cd75
lea esi, [rdx - 0x27]
cmp sil, 2
jbe 0x59cd75
lea esi, [rdx - 0x2b]
cmp sil, 4
jbe 0x59cd75
cmp dl, 0x20
je 0x59cd75
nop
cmp dl, 0x3a
je 0x59cd75
cmp dl, 0x3d
je 0x59cd75
cmp dl, 0x3f
je 0x59cd75
cmp dl, 0x2a
je 0x59cd75
cmp dl, 0x26
je 0x59cd75
lea rax, [0x00688220]
call fcn.0040d780
mov qword [rax + 8], 0x17
lea rcx, [0x006c5ac1]
mov qword [rax], rcx
xor ebx, ebx
lea rcx, [0x0073f8e0]
mov rdi, rax
xor eax, eax
mov rbp, qword [rsp + 0x88]
add rsp, 0x90
ret
xor eax, eax
call fcn.0044f6a0
xor ecx, ecx
xor edi, edi
mov rbp, qword [rsp + 0x88]
add rsp, 0x90
ret
inc rax
cmp rcx, rax
jle 0x59ce87
movzx edx, byte [rbx + rax]
lea esi, [rdx - 0x30]
nop
cmp sil, 9
jbe 0x59ce30
cmp dl, 0x20
je 0x59ce30
lea rax, [0x00688220]
call fcn.0040d780
mov qword [rax + 8], 0x15
lea rcx, [0x006c49ba]
mov qword [rax], rcx
xor ebx, ebx
lea rcx, [0x0073f8e0]
mov rdi, rax
xor eax, eax
mov rbp, qword [rsp + 0x88]
add rsp, 0x90
ret
xor eax, eax
call fcn.0044f6a0
xor ecx, ecx
xor edi, edi
mov rbp, qword [rsp + 0x88]
add rsp, 0x90
ret
mov byte [rsp + 8], al
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call fcn.00462aa0
movzx eax, byte [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
jmp fcn.0059c980