Function at 0x7f0680
Capabilities:
Encode data using base64

Disassembly:
lea r12, [rsp - 0x38]
cmp r12, qword [r14 + 0x10]
jbe 0x7f0bdb
sub rsp, 0xb8
mov qword [rsp + 0xb0], rbp
lea rbp, [rsp + 0xb0]
mov word [rsp + 0xc0], ax
mov qword [rsp + 0xc8], rbx
mov rdx, qword [rbx + 0x18]
mov rcx, qword [rbx + 0x20]
lea rax, [0x00987580]
mov rbx, rdx
call fcn.0040afe0
test rax, rax
je 0x7f09fa
mov rcx, qword [rax + 0x18]
mov rax, rbx
call rcx
nop
test rax, rax
je 0x7f09e3
mov edx, dword [rax + 0x10]
cmp edx, 0x188a5798
jne 0x7f0729
lea rdx, [0x00973b20]
nop dword [rax + rax]
cmp rax, rdx
jne 0x7f09e3
lea rax, [0x00958ea0]
call fcn.0040d460
mov word [rax], 0x807
mov edx, 1
mov ecx, 1
jmp 0x7f0a11
cmp edx, 0x2fd00e80
jne 0x7f090d
lea rdx, [0x009c1a80]
nop dword [rax]
cmp rax, rdx
jne 0x7f09e3
movzx edx, word [rsp + 0xc0]
cmp dx, 0x304
jne 0x7f08e5
mov rax, qword [rbx]
mov qword [rsp + 0x88], rax
mov rbx, qword [rbx + 8]
mov qword [rsp + 0xa8], rbx
nop
mov edx, dword [0x00e77e40]
test edx, edx
jne 0x7f07a1
lea rax, [0x00e77e40]
lea rbx, [0x00a24d88]
call fcn.0046f5a0
mov rax, qword [rsp + 0x88]
mov rbx, qword [rsp + 0xa8]
mov rcx, qword [0x00e1ded8]
lea rdx, [0x00abb4e0]
cmp rax, rdx
jne 0x7f07d8
call fcn.00403d40
nop dword [rax]
test al, al
jne 0x7f08c2
mov rax, qword [rsp + 0x88]
mov rbx, qword [rsp + 0xa8]
nop
mov edx, dword [0x00e77e40]
nop
test edx, edx
jne 0x7f0807
lea rax, [0x00e77e40]
lea rbx, [0x00a24d88]
call fcn.0046f5a0
mov rax, qword [rsp + 0x88]
mov rbx, qword [rsp + 0xa8]
mov rcx, qword [0x00e1dee0]
lea rdx, [0x00abad48]
cmp rax, rdx
jne 0x7f0838
call fcn.00403d40
nop
test al, al
jne 0x7f08ae
mov rax, qword [rsp + 0x88]
mov rbx, qword [rsp + 0xa8]
nop
mov edx, dword [0x00e77e40]
nop
test edx, edx
jne 0x7f0867
lea rax, [0x00e77e40]
lea rbx, [0x00a24d88]
call fcn.0046f5a0
mov rax, qword [rsp + 0x88]
mov rbx, qword [rsp + 0xa8]
mov rcx, qword [0x00e1dee8]
lea rdx, [0x00abb528]
cmp rax, rdx
jne 0x7f0897
call fcn.00403d40
nop
test al, al
je 0x7f0897
lea rax, [0x00958ea0]
call fcn.0040d460
mov word [rax], 0x603
jmp 0x7f08d3
xor eax, eax
xor ebx, ebx
mov rcx, rbx
mov rbp, qword [rsp + 0xb0]
add rsp, 0xb8
ret
lea rax, [0x00958ea0]
call fcn.0040d460
mov word [rax], 0x503
nop
jmp 0x7f08d3
lea rax, [0x00958ea0]
call fcn.0040d460
mov word [rax], 0x403
mov edx, 1
mov ecx, 1
nop dword [rax]
jmp 0x7f0a11
lea rax, [0x0095a3a0]
call fcn.0040d460
movabs rcx, 0x203060305030403
mov qword [rax], rcx
mov edx, 4
mov ecx, 4
jmp 0x7f0a11
cmp edx, 0xcc456746
jne 0x7f09e3
lea rdx, [0x00980440]
cmp rax, rdx
jne 0x7f09e3
mov rdx, qword [rbx]
nop
mov rsi, qword [rdx + 0x10]
mov rdx, qword [rdx + 8]
lea rdi, [rsi - 1]
test rdi, rdi
jl 0x7f0962
mov rdx, qword [rdx + rsi*8 - 8]
bsr rdx, rdx
mov rsi, 0xffffffffffffffff
cmove rdx, rsi
shl rdi, 6
lea rdx, [rdx + rdi]
lea rdx, [rdx + 1]
nop
jmp 0x7f0964
xor edx, edx
mov qword [rsp + 0x50], rdx
mov rcx, qword [0x00e10b88]
mov qword [rsp + 0x60], rcx
lea rax, [0x009680a0]
xor ebx, ebx
nop
call fcn.00449a80
mov rdx, qword [0x00e10b88]
mov rsi, qword [0x00e10b80]
mov rdi, qword [rsp + 0x50]
lea r8, [rdi + 7]
sar r8, 0x3f
shr r8, 0x3d
lea rdi, [r8 + rdi]
lea rdi, [rdi + 7]
test rdx, rdx
jle 0x7f09da
mov qword [rsp + 0x80], rdx
sar rdi, 3
mov qword [rsp + 0x48], rdi
movzx r8d, word [rsp + 0xc0]
mov rcx, qword [rsp + 0x60]
xor ebx, ebx
xor r9d, r9d
jmp 0x7f0b3c
mov rcx, qword [rsp + 0x60]
xor edx, edx
jmp 0x7f0a11
xor eax, eax
xor ebx, ebx
mov rcx, rbx
mov rbp, qword [rsp + 0xb0]
add rsp, 0xb8
ret
xor eax, eax
xor ebx, ebx
mov rcx, rbx
mov rbp, qword [rsp + 0xb0]
add rsp, 0xb8
ret
mov rsi, qword [rsp + 0xc8]
cmp qword [rsi + 0x28], 0
nop
je 0x7f0a3a
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x58], rdx
xor ecx, ecx
xor ebx, ebx
xor edi, edi
xor r8d, r8d
jmp 0x7f0a74
mov rbx, rdx
mov rbp, qword [rsp + 0xb0]
add rsp, 0xb8
ret
mov r9, qword [rsp + 0x80]
lea rcx, [r9 + 1]
mov rdx, qword [rsp + 0x58]
mov rbx, rsi
mov r8, rax
mov rax, qword [rsp + 0x90]
mov rsi, qword [rsp + 0xc8]
cmp rdx, rcx
jle 0x7f0b1c
mov qword [rsp + 0x80], rcx
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x98], r8
movzx edx, word [rax + rcx*2]
mov word [rsp + 0x44], dx
mov rbx, qword [rsi + 0x28]
mov r8, qword [rsi + 0x30]
mov rdi, qword [rsi + 0x38]
mov eax, edx
mov rcx, r8
call fcn.007f4620
test al, al
je 0x7f0b05
mov rcx, qword [rsp + 0x68]
lea rsi, [rcx + 1]
mov rdi, qword [rsp + 0x70]
cmp rdi, rsi
jb 0x7f0ad7
mov rax, qword [rsp + 0x98]
jmp 0x7f0af7
lea rax, [0x009680a0]
mov rbx, qword [rsp + 0x98]
call fcn.00449b60
lea rsi, [rbx + 1]
mov rdi, rcx
mov rcx, qword [rsp + 0x68]
movzx edx, word [rsp + 0x44]
mov word [rax + rcx*2], dx
jmp 0x7f0a4d
mov rdi, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x68]
mov rax, qword [rsp + 0x98]
jmp 0x7f0a4d
mov rax, r8
mov rcx, rdi
mov rbp, qword [rsp + 0xb0]
add rsp, 0xb8
ret
add rsi, 0x18
mov rbx, r9
mov r9, r10
movzx r10d, word [rsi + 0x10]
movzx r11d, word [rsi]
cmp qword [rsi + 8], rdi
jg 0x7f0bc3
cmp r8w, r10w
ja 0x7f0bc3
lea r10, [r9 + 1]
cmp rcx, r10
jae 0x7f0bbc
mov qword [rsp + 0x78], rbx
mov qword [rsp + 0xa0], rsi
mov qword [rsp + 0x58], r9
mov word [rsp + 0x46], r11w
mov rbx, rax
mov rdi, rcx
mov rsi, r10
lea rax, [0x009680a0]
mov rcx, r9
call fcn.00449b60
lea r10, [rbx + 1]
mov rdx, qword [rsp + 0x80]
mov rbx, qword [rsp + 0x78]
mov rsi, qword [rsp + 0xa0]
mov rdi, qword [rsp + 0x48]
movzx r8d, word [rsp + 0xc0]
mov r9, qword [rsp + 0x58]
movzx r11d, word [rsp + 0x46]
mov word [rax + r9*2], r11w
jmp 0x7f0bc6
mov r10, r9
lea r9, [rbx + 1]
cmp rdx, r9
jg 0x7f0b32
mov rdx, r10
jmp 0x7f0a11
mov word [rsp + 8], ax
mov qword [rsp + 0x10], rbx
call fcn.00461c80
movzx eax, word [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.007f0680