Function at 0x180060630
Capabilities:
Encode data using base64

Disassembly:
mov rax, rsp
mov dword [rax + 0x18], r8d
mov qword [rax + 8], rcx
push rbx
push r12
push r14
push r15
sub rsp, 0x58
imul ebx, r8d, 0x56a
mov r12d, r8d
mov r15, rdx
mov r14, rcx
mov dword [rsp + 0x20], ebx
cmp r8d, ebx
ja 0x180060a80
mov qword [rax + 0x10], rbp
movabs rdx, 0xaaaaaaaaaaaaaaab
mov ebp, dword [rsp + 0x90]
mov qword [rax - 0x28], rsi
mov qword [rax - 0x30], rdi
imul r9d, r12d, 0xc6
mov qword [rax - 0x38], r13
mov dword [rsp + 0x98], r9d
mov r13, qword [rsp + 0x98]
mov rsi, qword [rsp + 0x98]
mov rdi, qword [rsp + 0x98]
nop dword [rax + rax]
cmp r12d, 0x12ff4
ja 0x18006082e
je 0x180060818
mov eax, r12d
sub eax, 0xa7
je 0x18006071c
sub eax, 0x1d
je 0x1800606fa
cmp eax, 0x9798
jne 0x180060a55
mov rdx, qword [rsp + 0x30]
xor r8d, r8d
mov rcx, r14
call fcn.1800bb360
mov r9d, dword [rsp + 0x98]
jmp 0x180060a4b
mov rcx, qword [r15 + 0x10]
mov rax, rdx
add rcx, 2
mul rcx
mov rax, rdx
shr rax, 1
shl rax, 2
mov qword [rsp + 0x30], rax
jmp 0x180060a4b
mov ecx, dword [r15]
cmp ecx, 9
jbe 0x1800607ca
nop dword [rax + rax]
mov ebx, 0xad
mov eax, ebx
sub eax, 0xac
je 0x180060797
cmp eax, 1
jne 0x1800607a5
mov ecx, dword [r15]
mov eax, 0xcccccccd
mov r8, qword [r14 + 0x18]
mul ecx
shr edx, 3
lea eax, [rdx + rdx*4]
mov rdx, qword [r14 + 0x10]
add eax, eax
sub ecx, eax
cmp rdx, r8
jae 0x180060782
lea rax, [rdx + 1]
mov qword [r14 + 0x10], rax
mov rax, r14
cmp r8, 0x10
jb 0x180060778
mov rax, qword [r14]
mov byte [rax + rdx], cl
mov byte [rax + rdx + 1], 0
jmp 0x1800607a5
xor r8d, r8d
movzx r9d, cl
mov rcx, r14
lea edx, [r8 + 1]
call fcn.180049780
jmp 0x1800607a5
mov eax, 0xcccccccd
mul dword [r15]
shr edx, 3
mov dword [r15], edx
dec ebx
cmp ebx, 0xab
ja 0x180060735
mov eax, dword [r15]
cmp eax, 9
ja 0x180060730
mov ebx, dword [rsp + 0x20]
movzx ecx, al
mov r9d, dword [rsp + 0x98]
mov rdx, qword [r14 + 0x10]
mov r8, qword [r14 + 0x18]
cmp rdx, r8
jae 0x1800607f8
lea rax, [rdx + 1]
mov qword [r14 + 0x10], rax
mov rax, r14
cmp r8, 0x10
jb 0x1800607eb
mov rax, qword [r14]
mov byte [rax + rdx], cl
mov byte [rax + rdx + 1], 0
jmp 0x180060a4b
xor r8d, r8d
movzx r9d, cl
mov rcx, r14
lea edx, [r8 + 1]
call fcn.180049780
mov r9d, dword [rsp + 0x98]
jmp 0x180060a4b
cmp qword [r15 + 0x18], 0x10
mov rsi, r15
jb 0x180060a55
mov rsi, qword [r15]
jmp 0x180060a55
cmp r12d, 0x1c78c
je 0x180060a2b
cmp r12d, 0x25f24
je 0x18006096a
cmp r12d, 0x2f6bc
jne 0x180060a55
cmp r13, qword [r15 + 0x10]
jae 0x180060a55
mov r14d, dword [rsp + 0x28]
mov edx, 0x53
mov r12d, dword [rsp + 0x24]
nop
cmp edx, 0x53
je 0x180060935
cmp edx, 0xd7
je 0x18006091b
cmp edx, 0x15b
je 0x1800608e3
cmp edx, 0x1df
je 0x1800608ac
cmp edx, 0x263
jne 0x180060939
mov byte [rdi], 0x3d
inc rdi
jmp 0x180060939
lea rax, [r13 + 1]
cmp rax, qword [r15 + 0x10]
jae 0x1800608d8
mov ecx, ebp
mov eax, r14d
and ecx, 0xf
shr eax, 6
lea ecx, [rax + rcx*4]
mov rax, qword [section..data]
movzx r8d, byte [rcx + rax]
mov byte [rdi], r8b
inc rdi
jmp 0x180060939
mov r8b, 0x3d
mov byte [rdi], r8b
inc rdi
jmp 0x180060939
mov rax, qword [section..data]
mov ecx, r12d
shr rcx, 2
movzx ecx, byte [rcx + rax]
mov eax, ebp
mov byte [rdi], cl
mov ecx, r12d
and ecx, 3
shr eax, 4
shl ecx, 4
add ecx, eax
mov rax, qword [section..data]
movzx ecx, byte [rcx + rax]
mov byte [rdi + 1], cl
add rdi, 2
jmp 0x180060939
lea rax, [r13 + 1]
cmp rax, qword [r15 + 0x10]
jae 0x18006092e
movzx ebp, byte [rsi + 1]
xor r14d, r14d
jmp 0x180060939
xor ebp, ebp
xor r14d, r14d
jmp 0x180060939
movzx r12d, byte [rsi]
add edx, 0x84
cmp edx, 0x2e7
jb 0x180060870
mov dword [rsp + 0x24], r12d
mov r12d, dword [rsp + 0x90]
mov dword [rsp + 0x28], r14d
mov r14, qword [rsp + 0x80]
jmp 0x180060a4b
mov rax, qword [rsp + 0x38]
xor r13d, r13d
test rax, rax
je 0x180060a55
lea rcx, [rax - 1]
mov rax, rdx
mul rcx
shr rdx, 1
inc rdx
lea r13, [rdx + rdx*2]
nop
mov r8d, 0xd3
mov eax, r8d
sub eax, 0xd1
je 0x180060a0b
sub eax, 1
je 0x1800609d2
cmp eax, 1
jne 0x180060a0f
mov rax, qword [section..data]
movzx ecx, byte [rsi]
shr rcx, 2
movzx ecx, byte [rcx + rax]
mov byte [rdi], cl
movzx ecx, byte [rsi]
movzx eax, byte [rsi + 1]
and ecx, 3
shl ecx, 4
shr eax, 4
add ecx, eax
jmp 0x1800609f7
movzx ecx, byte [rsi + 1]
movzx eax, byte [rsi + 2]
and ecx, 0xf
shr eax, 6
lea ecx, [rax + rcx*4]
mov rax, qword [section..data]
movzx ecx, byte [rcx + rax]
mov byte [rdi], cl
movzx ecx, byte [rsi + 2]
and ecx, 0x3f
mov rax, qword [section..data]
movzx ecx, byte [rcx + rax]
mov byte [rdi + 1], cl
add rdi, 2
jmp 0x180060a0f
add rsi, 3
dec r8d
cmp r8d, 0xd0
ja 0x180060996
sub rdx, 1
jne 0x180060990
jmp 0x180060a4b
cmp qword [r14 + 0x18], 0x10
mov rdi, r14
jb 0x180060a38
mov rdi, qword [r14]
mov rax, rdx
mul qword [r15 + 0x10]
shr rdx, 1
lea rax, [rdx + rdx*2]
mov qword [rsp + 0x38], rax
movabs rdx, 0xaaaaaaaaaaaaaaab
add r12d, r9d
mov dword [rsp + 0x90], r12d
cmp r12d, ebx
jbe 0x1800606b0
mov r13, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x88]
add rsp, 0x58
pop r15
pop r14
pop r12
pop rbx
ret