Function at 0x5906a0
Capabilities:
Encode data using base64

Disassembly:
lea r12, [rsp - 0xa8]
cmp r12, qword [r14 + 0x10]
jbe 0x5909a6
sub rsp, 0x128
mov qword [rsp + 0x120], rbp
lea rbp, [rsp + 0x120]
mov qword [rsp + 0x1b0], rax
cmp rbx, 0x80
mov ecx, pe_nt_image_headers64
cmovl rcx, rbx
mov rdx, rdi
lea rdi, [rsp + 0x130]
mov qword [rsp - 0x10], rbp
lea rbp, [rsp - 0x10]
call fcn.00464082
mov rbp, qword [rbp]
lea rdi, [rsp + 0xa0]
mov qword [rsp - 0x10], rbp
lea rbp, [rsp - 0x10]
call fcn.00464082
mov rbp, qword [rbp]
lea r8, [rsp + 0xa0]
cmp rax, r8
je 0x59074c
mov qword [rsp + 0x18], rdx
mov qword [rsp + 0x1b8], rbx
mov rbx, rax
mov rax, r8
call fcn.00464760
mov rdx, qword [rsp + 0x18]
mov rbx, qword [rsp + 0x1b8]
lea r8, [rdx + 7]
sar r8, 0x3f
shr r8, 0x3d
add r8, 7
add r8, rdx
sar r8, 3
mov r9, r8
shl r8, 3
sub rdx, r8
lea rcx, [rdx + 8]
cmp rcx, 0x40
sbb rdx, rdx
mov r8d, 1
shl r8, cl
and r8, rdx
test r8, r8
je 0x5909a0
mov eax, 0xff
xor edx, edx
div r8
mov rax, rbx
jmp 0x5907c4
movzx r11d, byte [rsp + rbx + 0xa0]
add r8d, r11d
movzx r8d, r8b
lea r11, [0x0073b4c0]
movzx r8d, byte [r8 + r11]
mov byte [rsp + r10 + 0xa0], r8b
lea rbx, [r10 + 1]
cmp rbx, 0x80
jge 0x5907fe
lea r8, [rbx - 1]
cmp r8, 0x80
jae 0x590992
movzx r8d, byte [rsp + rbx + 0x9f]
mov r10, rbx
sub rbx, rax
movzx ebx, bl
cmp rbx, 0x80
jb 0x59079c
jmp 0x590985
lea rax, [r9 - 0x80]
neg rax
cmp rax, 0x80
jae 0x590979
movzx ebx, byte [rsp + rax + 0xa0]
and ebx, edx
movzx edx, bl
lea rbx, [0x0073b4c0]
movzx edx, byte [rdx + rbx]
mov byte [rsp + rax + 0xa0], dl
lea rdx, [r9 - 0x7f]
neg rdx
jmp 0x590844
mov byte [rsp + rdx + 0xa0], r8b
dec rdx
test rdx, rdx
jl 0x590895
lea rax, [rdx + 1]
cmp rax, 0x80
jae 0x59096f
movzx r8d, byte [rsp + rdx + 0xa1]
lea rax, [rdx + r9]
cmp rax, 0x80
jae 0x590965
movzx r10d, byte [rsp + rax + 0xa0]
xor r8d, r10d
movzx r8d, r8b
movzx r8d, byte [rbx + r8]
cmp rdx, 0x80
jb 0x590839
jmp 0x590957
lea rdi, [rsp + 0x20]
nop word [rax + rax]
mov qword [rsp - 0x10], rbp
lea rbp, [rsp - 0x10]
call fcn.00464082
mov rbp, qword [rbp]
xor eax, eax
jmp 0x5908d2
lea r9, [rsp + rdx*2 + 0xa1]
movzx r9d, byte [r9]
shl r9d, 8
add ebx, r9d
mov word [rsp + rdx*2 + 0x20], bx
mov rax, r8
cmp rax, 0x40
jge 0x59090a
mov rdx, rax
shl rax, 1
nop
cmp rax, 0x80
jae 0x59094d
lea rbx, [rsp + rdx*2 + 0xa0]
movzx ebx, byte [rbx]
lea r8, [rdx + 1]
lea rax, [rdx + r8]
nop dword [rax + rax]
cmp rax, 0x80
jb 0x5908b7
jmp 0x590943
lea rdi, [rsp + 0x130]
lea rsi, [rsp + 0x20]
nop word [rax + rax]
mov qword [rsp - 0x10], rbp
lea rbp, [rsp - 0x10]
call fcn.004643d0
mov rbp, qword [rbp]
mov rbp, qword [rsp + 0x120]
add rsp, 0x128
ret
mov ecx, pe_nt_image_headers64
call fcn.00463dc0
mov ecx, pe_nt_image_headers64
call fcn.00463dc0
mov rax, rdx
mov ecx, pe_nt_image_headers64
nop
call fcn.00463dc0
mov ecx, pe_nt_image_headers64
call fcn.00463dc0
mov ecx, pe_nt_image_headers64
call fcn.00463dc0
mov ecx, pe_nt_image_headers64
nop
call fcn.00463dc0
mov rax, rbx
mov ecx, pe_nt_image_headers64
call fcn.00463dc0
mov rax, r8
mov ecx, pe_nt_image_headers64
call fcn.00463dc0
nop
call fcn.004341c0
nop
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x90], rbx
mov qword [rsp + 0x98], rcx
mov qword [rsp + 0xa0], rdi
call fcn.00461760
mov rax, qword [rsp + 0x88]
mov rbx, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x98]
mov rdi, qword [rsp + 0xa0]
jmp fcn.005906a0