Function at 0x14011b620
Capabilities:
Encode data using base64

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], r9
mov qword [rax + 0x18], r8
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbp
push rsi
push rdi
push r13
push r14
push r15
sub rsp, 0x58
mov rbp, qword [rsp + 0xb0]
xor r15d, r15d
mov rsi, qword [rcx + 0x20]
add rbp, r9
mov r14, r9
mov r13, r9
mov rdi, rcx
mov qword [rsp + 0x20], rsi
cmp byte [rcx + 0x3c], r15b
je 0x14011b679
mov eax, 0xfffffdf5
add rsp, 0x58
pop r15
pop r14
pop r13
pop rdi
pop rsi
pop rbp
ret
mov rcx, qword [rdi + 0xb0]
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x48], r12
call fcn.1401210b0
mov rcx, qword [rdi + 0xa8]
call fcn.1401210b0
mov r12, qword [rsp + 0xa0]
lea r10, [0x140000000]
xor r11d, r11d
mov ebx, 0xffffffff
mov qword [rdi + 0xb0], r11
mov qword [rdi + 0xa8], r11
mov dword [r12], r11d
mov r8d, 0x3f
nop word [rax + rax]
cmp r14, rbp
jne 0x14011b6de
test r15d, r15d
je 0x14011bed6
movsxd rdx, dword [rdi + 0xe4]
mov r15d, r11d
cmp edx, 0xc
ja case.default.0x14011b6f8
mov ecx, dword [r10 + rdx*4 + 0x11c05c]
add rcx, r10
jmp rcx
movzx eax, byte [r14]
and al, 0xe0
cmp al, 0x20
jne 0x14011c02b
movzx ecx, byte [r14]
movzx eax, cl
and al, 0xe0
cmp al, 0x20
jne 0x14011b742
cmp edx, 2
je 0x14011c02b
mov dword [rdi + 0xe0], 1
mov dword [rdi + 0xe4], 3
mov qword [rdi + 0xb8], r11
mov qword [rdi + 0xd8], r11
jmp case.default.0x14011b6f8
test cl, cl
jns 0x14011b76d
mov dword [rdi + 0xe0], 1
mov dword [rdi + 0xe4], 4
mov qword [rdi + 0xb8], r11
mov qword [rdi + 0xd8], r11
jmp case.default.0x14011b6f8
test cl, 0xaf
jne 0x14011b781
cmp cl, 0x50
je 0x14011b781
mov eax, 5
lea ecx, [rax - 3]
jmp 0x14011b78b
mov eax, 4
mov ecx, 3
mov dword [rdi + 0xe0], ecx
mov dword [rdi + 0xe4], eax
movzx eax, byte [r14]
shr al, 6
and al, 1
mov byte [rdi + 0xe9], al
movzx eax, byte [r14]
and al, 0xf0
cmp al, 0x10
sete al
cmp dword [rdi + 0xe0], 2
mov byte [rdi + 0xea], al
jne 0x14011b7c3
inc r14
mov qword [rdi + 0xb8], r11
mov qword [rdi + 0xd8], r11
jmp case.default.0x14011b6f8
mov rax, qword [rdi + 0xc8]
mov esi, r11d
mov rbx, qword [rdi + 0xd0]
mov r10d, dword [rdi + 0xb8]
cmp rbx, rax
mov r9, qword [rdi + 0xd8]
cmovae rbx, rax
mov qword [rdi + 0xd8], r11
mov rax, r14
test r10d, r10d
jne 0x14011b83f
movzx ecx, byte [r14]
movzx eax, cl
and al, 0x1f
cmp al, 0x1f
je 0x14011b82b
mov r10d, ecx
mov esi, 1
and r10d, 0x1f
mov eax, esi
jmp 0x14011b8c1
lea rax, [r14 + 1]
mov r10d, 0x1f
cmp rax, rbp
jne 0x14011b850
sub eax, r14d
jmp 0x14011b8b8
cmp r14, rbp
je 0x14011b89d
nop dword [rax]
nop dword [rax + rax]
movzx r11d, byte [rax]
mov r8d, r11d
and r8d, 0x7f
cmp r9, 0x20
jae 0x14011c02b
mov edx, 0xffffffff
mov rcx, r9
shr edx, cl
cmp edx, r8d
jb 0x14011c02b
shl r8d, cl
mov ecx, r8d
not ecx
cmp ecx, r10d
jb 0x14011c02b
add r10d, r8d
test r11b, r11b
jns 0x14011b89d
inc rax
add r9, 7
cmp rax, rbp
jne 0x14011b850
mov qword [rdi + 0xd8], r9
cmp rax, rbp
jne 0x14011b8ae
sub eax, r14d
jmp 0x14011b8b8
sub eax, r14d
mov esi, 1
inc eax
cmp eax, 0xffffffff
je 0x14011c02b
mov edx, r10d
cmp rdx, rbx
ja 0x14011c02b
mov qword [rdi + 0xb8], rdx
test eax, eax
js 0x14011c03f
movsxd rcx, eax
add r14, rcx
test esi, esi
je 0x14011c01d
mov rsi, qword [rdi + 0x20]
mov ebx, 0xffffffff
mov qword [rdi + 0xd0], rbx
mov qword [rdi + 0x30], rdx
cmp qword [rdi + 0x28], rdx
jbe 0x14011b96f
mov rdx, qword [rdi + 0x18]
test rdx, rdx
je 0x14011b96a
mov rax, qword [rdi]
mov rcx, qword [rdi + 0x10]
dec rcx
add rcx, rdx
and rcx, qword [rdi + 8]
mov rbx, qword [rax + rcx*8]
mov rcx, 0xffffffffffffffe0
mov rax, qword [rbx + 8]
sub rcx, qword [rax + 0x18]
mov rax, qword [rbx]
sub rcx, qword [rax + 0x18]
lea rax, [rdx - 1]
add qword [rdi + 0x28], rcx
mov qword [rdi + 0x18], rax
mov rcx, qword [rbx + 8]
call fcn.1401210b0
mov rcx, qword [rbx]
call fcn.1401210b0
mov rdx, rbx
mov rcx, rsi
call fcn.14011c460
mov rax, qword [rdi + 0x30]
cmp qword [rdi + 0x28], rax
ja 0x14011b904
mov ebx, 0xffffffff
mov rsi, qword [rsp + 0x20]
lea r10, [0x140000000]
mov dword [rdi + 0xe4], 1
xor r11d, r11d
jmp 0x14011b6c4
cmp dword [rdi + 0xe0], 1
jne 0x14011b99d
mov eax, 0x7f
jmp 0x14011b9ad
cmp byte [rdi + 0xe9], 0
mov eax, reloc.WS2_32.dll_ntohs
cmovne eax, r8d
mov rbx, qword [rdi + 0x18]
mov r8, r14
mov r9d, dword [rdi + 0xb8]
add rbx, 0x3d
mov rcx, qword [rdi + 0xd8]
mov qword [rdi + 0xd8], r11
test r9d, r9d
jne 0x14011b9fd
movzx r9d, byte [r14]
and r9d, eax
cmp r9d, eax
je 0x14011b9ec
mov r11d, 1
mov r8d, r11d
jmp 0x14011ba76
lea r8, [r14 + 1]
mov r9d, eax
cmp r8, rbp
jne 0x14011ba02
sub r8d, r14d
jmp 0x14011ba6c
cmp r14, rbp
je 0x14011ba4f
movzx r10d, byte [r8]
mov edx, r10d
and edx, 0x7f
cmp rcx, 0x20
jae 0x14011c02b
mov eax, 0xffffffff
shr eax, cl
cmp eax, edx
jb 0x14011c02b
shl edx, cl
mov eax, edx
not eax
cmp eax, r9d
jb 0x14011c02b
add r9d, edx
test r10b, r10b
jns 0x14011ba48
inc r8
add rcx, 7
cmp r8, rbp
jne 0x14011ba02
lea r10, [0x140000000]
mov qword [rdi + 0xd8], rcx
cmp r8, rbp
jne 0x14011ba60
sub r8d, r14d
jmp 0x14011ba6c
sub r8d, r14d
mov r11d, 1
inc r8d
cmp r8d, 0xffffffff
je 0x14011c02b
mov ecx, r9d
cmp rcx, rbx
ja 0x14011c02b
mov qword [rdi + 0xb8], rcx
mov eax, r8d
test r8d, r8d
js 0x14011c03f
movsxd rax, r8d
add r14, rax
test r11d, r11d
je 0x14011c01d
test r9d, r9d
je 0x14011c02b
dec rcx
mov qword [rdi + 0xc0], rcx
cmp dword [rdi + 0xe0], 1
je 0x14011bf01
mov dword [rdi + 0xe4], 9
mov ebx, 0xffffffff
xor r11d, r11d
jmp 0x14011b6c4
movzx eax, byte [r14]
shr al, 7
mov byte [rdi + 0xe8], al
mov dword [rdi + 0xe4], 6
mov qword [rdi + 0xb8], r11
mov qword [rdi + 0xd8], r11
mov r9d, dword [rdi + 0xb8]
mov r8, r14
mov rcx, qword [rdi + 0xd8]
mov qword [rdi + 0xd8], r11
test r9d, r9d
jne 0x14011bb53
movzx edx, byte [r14]
movzx eax, dl
and al, 0x7f
cmp al, 0x7f
je 0x14011bb3f
mov r9d, edx
mov r11d, 1
and r9d, 0x7f
mov r8d, r11d
jmp 0x14011bbca
lea r8, [r14 + 1]
mov r9d, 0x7f
cmp r8, rbp
jne 0x14011bb60
sub r8d, r14d
jmp 0x14011bbc0
cmp r14, rbp
je 0x14011bba3
nop dword [rax + rax]
movzx r10d, byte [r8]
mov edx, r10d
and edx, 0x7f
cmp rcx, 0x20
jae 0x14011c02b
mov eax, ebx
shr eax, cl
cmp eax, edx
jb 0x14011c02b
shl edx, cl
mov eax, edx
not eax
cmp eax, r9d
jb 0x14011c02b
add r9d, edx
test r10b, r10b
jns 0x14011bba3
inc r8
add rcx, 7
cmp r8, rbp
jne 0x14011bb60
mov qword [rdi + 0xd8], rcx
cmp r8, rbp
jne 0x14011bbb4
sub r8d, r14d
jmp 0x14011bbc0
sub r8d, r14d
mov r11d, 1
inc r8d
cmp r8d, 0xffffffff
je 0x14011c02b
cmp r9d, 0x10000
ja 0x14011c02b
mov edx, r9d
mov eax, r8d
mov qword [rdi + 0xb8], rdx
test r8d, r8d
js 0x14011c03f
movsxd rax, r8d
add r14, rax
test r11d, r11d
je 0x14011c01d
cmp byte [rdi + 0xe8], 0
je 0x14011bc1f
lea rcx, [rdi + 0x40]
call fcn.140121350
mov rdx, qword [rdi + 0xb8]
mov eax, 7
add rdx, rdx
jmp 0x14011bc24
mov eax, 8
inc rdx
mov dword [rdi + 0xe4], eax
mov r8, rsi
lea rcx, [rdi + 0x98]
call fcn.140121110
test eax, eax
jne 0x14011c03f
mov rdx, qword [rdi + 0x98]
lea rcx, [rdi + 0x48]
mov r8, qword [rdx + 0x18]
mov rdx, qword [rdx + 0x10]
call fcn.14011cc70
jmp 0x14011bec2
lea rdx, [rdi + 0x48]
mov r9, rbp
mov r8, r14
mov rcx, rdi
call fcn.14011a400
test eax, eax
js 0x14011c03f
movsxd rcx, eax
add r14, rcx
cmp qword [rdi + 0xb8], 0
jne 0x14011c01d
mov rax, qword [rdi + 0x60]
lea r10, [0x140000000]
mov byte [rax], 0
mov rcx, qword [rdi + 0x60]
sub rcx, qword [rdi + 0x58]
mov rax, qword [rdi + 0x98]
xor r11d, r11d
mov qword [rax + 0x18], rcx
mov dword [rdi + 0xe4], 9
jmp 0x14011b6c4
mov rax, qword [rdi + 0xb8]
mov rbx, rbp
mov rcx, qword [rdi + 0x60]
sub rbx, r14
cmp rbx, rax
mov rdx, r14
cmovae rbx, rax
mov r8, rbx
call fcn.140119020
mov qword [rdi + 0x60], rax
mov rdx, qword [rdi + 0xb8]
sub rdx, rbx
movsxd rax, ebx
mov qword [rdi + 0xb8], rdx
test ebx, ebx
js 0x14011c03f
add r14, rax
test rdx, rdx
jne 0x14011c01d
mov rax, qword [rdi + 0x60]
mov byte [rax], dl
mov rcx, qword [rdi + 0x60]
mov rax, qword [rdi + 0x98]
sub rcx, qword [rdi + 0x58]
mov qword [rax + 0x18], rcx
mov dword [rdi + 0xe4], 9
jmp 0x14011bec2
movzx eax, byte [r14]
shr al, 7
mov byte [rdi + 0xe8], al
mov dword [rdi + 0xe4], 0xa
mov qword [rdi + 0xb8], r11
mov qword [rdi + 0xd8], r11
mov r9d, dword [rdi + 0xb8]
mov r8, r14
mov rcx, qword [rdi + 0xd8]
mov qword [rdi + 0xd8], r11
test r9d, r9d
jne 0x14011bdb1
movzx edx, byte [r14]
movzx eax, dl
and al, 0x7f
cmp al, 0x7f
je 0x14011bd9d
mov r9d, edx
mov r11d, 1
and r9d, 0x7f
mov r8d, r11d
jmp 0x14011be2a
lea r8, [r14 + 1]
mov r9d, 0x7f
cmp r8, rbp
jne 0x14011bdc0
sub r8d, r14d
jmp 0x14011be20
cmp r14, rbp
je 0x14011be03
nop word [rax + rax]
movzx r10d, byte [r8]
mov edx, r10d
and edx, 0x7f
cmp rcx, 0x20
jae 0x14011c02b
mov eax, ebx
shr eax, cl
cmp eax, edx
jb 0x14011c02b
shl edx, cl
mov eax, edx
not eax
cmp eax, r9d
jb 0x14011c02b
add r9d, edx
test r10b, r10b
jns 0x14011be03
inc r8
add rcx, 7
cmp r8, rbp
jne 0x14011bdc0
mov qword [rdi + 0xd8], rcx
cmp r8, rbp
jne 0x14011be14
sub r8d, r14d
jmp 0x14011be20
sub r8d, r14d
mov r11d, 1
inc r8d
cmp r8d, 0xffffffff
je 0x14011c02b
cmp r9d, 0x10000
ja 0x14011c02b
mov edx, r9d
mov eax, r8d
mov qword [rdi + 0xb8], rdx
test r8d, r8d
js 0x14011c03f
movsxd rax, r8d
add r14, rax
test r11d, r11d
je 0x14011c01d
cmp byte [rdi + 0xe8], 0
je 0x14011be7f
lea rcx, [rdi + 0x40]
call fcn.140121350
mov rdx, qword [rdi + 0xb8]
mov eax, ntohs
add rdx, rdx
jmp 0x14011be84
mov eax, ntohs
inc rdx
mov dword [rdi + 0xe4], eax
mov r8, rsi
lea rcx, [rdi + 0xa0]
call fcn.140121110
test eax, eax
jne 0x14011c03f
mov rdx, qword [rdi + 0xa0]
lea rcx, [rdi + 0x70]
mov r8, qword [rdx + 0x18]
mov rdx, qword [rdx + 0x10]
call fcn.14011cc70
mov r15d, 1
mov ebx, 0xffffffff
lea r10, [0x140000000]
xor r11d, r11d
jmp 0x14011b6c4
cmp dword [rsp + 0xb8], 0
je 0x14011bef6
mov eax, dword [rdi + 0xe4]
dec eax
cmp eax, 1
ja 0x14011c02b
or dword [r12], 1
sub r14d, r13d
mov eax, r14d
jmp 0x14011c043
cmp rcx, 0x3d
jb 0x14011bf27
mov rax, qword [rdi + 0x10]
add rax, 0xffffffffffffffc3
add rcx, rax
mov rax, qword [rdi]
and rcx, qword [rdi + 8]
mov rdx, qword [rax + rcx*8]
movups xmm0, xmmword [rdx]
movsd xmm1, qword [rdx + 0x10]
jmp 0x14011bf65
shl rcx, 7
lea rax, [r10 + 0x1a2ce0]
add rax, rcx
mov byte [rsp + 0x3c], 0
mov qword [rsp + 0x28], rax
lea rax, [r10 + 0x1a2d08]
add rax, rcx
mov qword [rsp + 0x30], rax
mov eax, dword [rcx + r10 + 0x1a2d58]
movups xmm0, xmmword [rsp + 0x28]
mov dword [rsp + 0x38], eax
movsd xmm1, qword [rsp + 0x38]
mov rax, qword [rsp + 0x98]
movups xmmword [rax], xmm0
movsd qword [rax + 0x10], xmm1
mov dword [rdi + 0xe4], 2
or dword [r12], 2
sub r14d, r13d
mov eax, r14d
jmp 0x14011c043
lea rdx, [rdi + 0x70]
mov r9, rbp
mov r8, r14
mov rcx, rdi
call fcn.14011a400
test eax, eax
js 0x14011c03f
movsxd rcx, eax
add r14, rcx
cmp qword [rdi + 0xb8], 0
jne 0x14011c01d
mov rax, qword [rdi + 0x88]
mov rdx, qword [rsp + 0x98]
mov byte [rax], 0
mov rcx, qword [rdi + 0x88]
sub rcx, qword [rdi + 0x80]
mov rax, qword [rdi + 0xa0]
mov qword [rax + 0x18], rcx
mov rcx, rdi
cmp dword [rdi + 0xe0], 2
jne 0x14011c032
call fcn.14011a2e0
jmp 0x14011c037
lea rdx, [rdi + 0x70]
mov r9, rbp
mov r8, r14
mov rcx, rdi
call fcn.14011a3a0
test eax, eax
js 0x14011c03f
movsxd rcx, eax
add r14, rcx
cmp qword [rdi + 0xb8], 0
je 0x14011bfb9
cmp dword [rsp + 0xb8], 0
je 0x14011bf84
mov eax, 0xfffffdf5
jmp 0x14011c03f
call fcn.14011a1a0
test eax, eax
je 0x14011bf75
mov byte [rdi + 0x3c], 1
mov rbx, qword [rsp + 0x50]
mov r12, qword [rsp + 0x48]
add rsp, 0x58
pop r15
pop r14
pop r13
pop rdi
pop rsi
pop rbp
ret