Function at 0x18027fc80
Capabilities:
Encode data using base64

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x38
mov eax, r8d
mov r9, rdx
mov rdi, rcx
xor edx, edx
mov dword [rsp + 0x24], edx
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], rdx
mov qword [rcx + 0x18], 0xf
mov byte [rcx], dl
mov dword [rsp + 0x24], 1
mov r13d, edx
xor ecx, ecx
mov word [r11 + 0x20], cx
mov byte [r11 + 0x22], cl
mov dword [rsp + 0x20], edx
test r8d, r8d
je 0x180280270
mov ecx, edx
movabs rsi, 0x8000000000000000
movabs r11, 0x7fffffffffffffff
nop dword [rax]
nop word [rax + rax]
dec eax
mov dword [rsp + 0x90], eax
movzx eax, byte [r9]
inc r9
mov qword [rsp + 0x88], r9
mov byte [rsp + rcx + 0x98], al
inc r13d
inc rcx
movzx r10d, byte [rsp + 0x9a]
movzx edx, byte [rsp + 0x99]
movzx r8d, byte [rsp + 0x98]
cmp rcx, 3
jne 0x18027ff1e
movzx eax, r8b
shr al, 2
mov byte [rsp + 0x20], al
movzx ecx, r8b
and cl, 3
shl cl, 4
movzx eax, dl
shr al, 4
add cl, al
mov byte [rsp + 0x21], cl
movzx ecx, dl
and cl, 0xf
shl cl, 2
movzx eax, r10b
shr al, 6
add cl, al
mov byte [rsp + 0x22], cl
movzx eax, r10b
and al, 0x3f
mov byte [rsp + 0x23], al
xor ebp, ebp
nop dword [rax]
lea rcx, [0x180e68e40]
cmp qword [0x180e68e58], 0xf
cmova rcx, qword [0x180e68e40]
movzx eax, byte [rsp + rbp + 0x20]
movzx r13d, byte [rax + rcx]
mov r14, qword [rdi + 0x10]
mov r15, qword [rdi + 0x18]
cmp r14, r15
jae 0x18027fde1
lea rax, [r14 + 1]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp r15, 0xf
jbe 0x18027fdd2
mov rax, qword [rdi]
mov byte [rax + r14], r13b
mov byte [rax + r14 + 1], 0
jmp 0x18027feea
mov rax, r11
sub rax, r14
cmp rax, 1
jb 0x18028028a
lea r12, [r14 + 1]
mov rbx, r12
or rbx, 0xf
cmp rbx, r11
jbe 0x18027fe11
mov rbx, r11
mov rcx, rsi
call fcn.18008a8b0
mov rsi, rax
jmp 0x18027fe65
mov rcx, r15
shr rcx, 1
mov rax, r11
sub rax, rcx
cmp r15, rax
jbe 0x18027fe32
mov rbx, r11
mov rcx, rsi
call fcn.18008a8b0
mov rsi, rax
jmp 0x18027fe65
lea rax, [r15 + rcx]
cmp rbx, rax
cmovb rbx, rax
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x18027fe54
call fcn.18008a8b0
mov rsi, rax
jmp 0x18027fe65
test rcx, rcx
je 0x18027fe63
call fcn.18024adc0
mov rsi, rax
jmp 0x18027fe65
xor esi, esi
mov qword [rdi + 0x10], r12
mov qword [rdi + 0x18], rbx
mov r8, r14
mov rcx, rsi
cmp r15, 0xf
jbe 0x18027fec1
mov rbx, qword [rdi]
mov rdx, rbx
call fcn.180280e70
mov byte [r14 + rsi], r13b
mov byte [r14 + rsi + 1], 0
lea rdx, [r15 + 1]
cmp rdx, 0x1000
jb 0x18027feb7
add rdx, 0x27
mov rax, qword [rbx - 8]
sub rbx, rax
add rbx, 0xfffffffffffffff8
cmp rbx, 0x1f
ja 0x180280284
mov rbx, rax
mov rcx, rbx
call fcn.18024ae00
jmp 0x18027fed3
mov rdx, rdi
call fcn.180280e70
mov byte [r14 + rsi], r13b
mov byte [r14 + rsi + 1], 0
mov qword [rdi], rsi
movabs r11, 0x7fffffffffffffff
movabs rsi, 0x8000000000000000
inc rbp
cmp rbp, 4
jl 0x18027fd90
xor r13d, r13d
xor ecx, ecx
movzx edx, byte [rsp + 0x99]
movzx r8d, byte [rsp + 0x98]
mov r9, qword [rsp + 0x88]
movzx r10d, byte [rsp + 0x9a]
mov eax, dword [rsp + 0x90]
test eax, eax
jne 0x18027fd00
test r13d, r13d
je 0x180280270
movsxd rax, r13d
cmp rax, 3
jge 0x18027ff70
jae 0x180280290
mov byte [rsp + rax + 0x98], 0
inc rax
cmp rax, 3
jl 0x18027ff3f
movzx r10d, byte [rsp + 0x9a]
movzx edx, byte [rsp + 0x99]
movzx r8d, byte [rsp + 0x98]
movzx eax, r8b
shr al, 2
mov byte [rsp + 0x20], al
and r8b, 3
shl r8b, 4
movzx eax, dl
shr al, 4
add r8b, al
mov byte [rsp + 0x21], r8b
and dl, 0xf
shl dl, 2
shr r10b, 6
add dl, r10b
mov byte [rsp + 0x22], dl
lea eax, [r13 + 1]
test eax, eax
jle 0x18028012c
cdqe
mov qword [rsp + 0x98], rax
xor ebp, ebp
nop word [rax + rax]
lea rcx, [0x180e68e40]
cmp qword [0x180e68e58], 0xf
cmova rcx, qword [0x180e68e40]
movzx eax, byte [rsp + rbp + 0x20]
movzx r12d, byte [rax + rcx]
mov r14, qword [rdi + 0x10]
mov r15, qword [rdi + 0x18]
cmp r14, r15
jae 0x180280011
lea rax, [r14 + 1]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp r15, 0xf
jbe 0x180280002
mov rax, qword [rdi]
mov byte [rax + r14], r12b
mov byte [rax + r14 + 1], 0
jmp 0x180280107
mov rax, r11
sub rax, r14
cmp rax, 1
jb 0x18028028a
lea rbx, [r14 + 1]
or rbx, 0xf
cmp rbx, r11
jbe 0x18028003e
mov rbx, r11
mov rcx, rsi
call fcn.18008a8b0
mov rsi, rax
jmp 0x180280092
mov rcx, r15
shr rcx, 1
mov rax, r11
sub rax, rcx
cmp r15, rax
jbe 0x18028005f
mov rbx, r11
mov rcx, rsi
call fcn.18008a8b0
mov rsi, rax
jmp 0x180280092
lea rax, [r15 + rcx]
cmp rbx, rax
cmovb rbx, rax
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x180280081
call fcn.18008a8b0
mov rsi, rax
jmp 0x180280092
test rcx, rcx
je 0x180280090
call fcn.18024adc0
mov rsi, rax
jmp 0x180280092
xor esi, esi
lea rax, [r14 + 1]
mov qword [rdi + 0x10], rax
mov qword [rdi + 0x18], rbx
mov r8, r14
mov rcx, rsi
cmp r15, 0xf
jbe 0x1802800f2
mov rbx, qword [rdi]
mov rdx, rbx
call fcn.180280e70
mov byte [r14 + rsi], r12b
mov byte [r14 + rsi + 1], 0
lea rdx, [r15 + 1]
cmp rdx, 0x1000
jb 0x1802800e8
add rdx, 0x27
mov rcx, qword [rbx - 8]
sub rbx, rcx
lea rax, [rbx - 8]
cmp rax, 0x1f
ja 0x180280284
mov rbx, rcx
mov rcx, rbx
call fcn.18024ae00
jmp 0x180280104
mov rdx, rdi
call fcn.180280e70
mov byte [r14 + rsi], r12b
mov byte [r14 + rsi + 1], 0
mov qword [rdi], rsi
inc rbp
cmp rbp, qword [rsp + 0x98]
movabs rsi, 0x8000000000000000
movabs r11, 0x7fffffffffffffff
jl 0x18027ffc0
cmp r13d, 3
jge 0x180280270
movabs r12, 0x7fffffffffffffff
inc r13d
mov rsi, qword [rdi + 0x10]
mov r14, qword [rdi + 0x18]
cmp rsi, r14
jae 0x18028016f
lea rax, [rsi + 1]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp r14, 0xf
jbe 0x180280164
mov rax, qword [rdi]
mov word [rax + rsi], 0x3d
jmp 0x180280266
mov rax, r12
sub rax, rsi
cmp rax, 1
jb 0x18028028a
lea r15, [rsi + 1]
mov rbx, r15
or rbx, 0xf
cmp rbx, r12
jbe 0x1802801a6
mov rbx, r12
movabs rcx, 0x8000000000000000
call fcn.18008a8b0
mov rbp, rax
jmp 0x180280201
mov rcx, r14
shr rcx, 1
mov rax, r12
sub rax, rcx
cmp r14, rax
jbe 0x1802801ce
mov rbx, r12
movabs rcx, 0x8000000000000000
call fcn.18008a8b0
mov rbp, rax
jmp 0x180280201
lea rax, [rcx + r14]
cmp rbx, rax
cmovb rbx, rax
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x1802801f0
call fcn.18008a8b0
mov rbp, rax
jmp 0x180280201
test rcx, rcx
je 0x1802801ff
call fcn.18024adc0
mov rbp, rax
jmp 0x180280201
xor ebp, ebp
mov qword [rdi + 0x10], r15
mov qword [rdi + 0x18], rbx
mov r8, rsi
mov rcx, rbp
cmp r14, 0xf
jbe 0x180280255
mov rbx, qword [rdi]
mov rdx, rbx
call fcn.180280e70
mov word [rsi + rbp], 0x3d
lea rdx, [r14 + 1]
cmp rdx, 0x1000
jb 0x18028024b
add rdx, 0x27
mov rcx, qword [rbx - 8]
sub rbx, rcx
lea rax, [rbx - 8]
cmp rax, 0x1f
ja 0x180280284
mov rbx, rcx
mov rcx, rbx
call fcn.18024ae00
jmp 0x180280263
mov rdx, rdi
call fcn.180280e70
mov word [rsi + rbp], 0x3d
mov qword [rdi], rbp
cmp r13d, 3
jl 0x180280140
mov rax, rdi
add rsp, 0x38
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
call fcn.180252520
int3
call fcn.18008ca90
int3
call fcn.18024b8c0
int3