Function at 0x14012c660
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r13
push r14
push r15
sub rsp, 0x60
mov rax, qword [0x1404bf700]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rsi, r8
mov rbx, rdx
mov qword [rsp + 0x28], rdx
xor r15d, r15d
mov dword [rsp + 0x20], r15d
call fcn.14012ca00
mov rcx, rax
call fcn.140132e00
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x50], r15
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rax + r8], r15b
jne 0x14012c6c0
mov rdx, rcx
lea rcx, [rsp + 0x38]
call fcn.140134da0
nop
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], 0
mov dword [rsp + 0x20], 1
mov rdx, qword [rsi + 8]
mov rcx, qword [rsi]
mov r13, qword [rsp + 0x50]
mov r14, qword [rsp + 0x38]
cmp rdx, rcx
je 0x14012c95f
mov ebp, reloc.WS2_32.dll_inet_ntoa
mov r8, rcx
nop word [rax + rax]
movzx edi, byte [rcx + r15]
shl rdi, 8
movzx eax, byte [rcx + r15 + 1]
or rdi, rax
shl rdi, 8
movzx eax, byte [rcx + r15 + 2]
or rdi, rax
sub rdx, r8
shl rdx, 3
lea rax, [rbp - 0xc]
cmp rax, rdx
jbe 0x14012c7c4
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x14012c778
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0xf
jbe 0x14012c770
mov rax, qword [rbx]
mov word [rax + rcx], 0x3d
jmp 0x14012c783
mov r9b, 0x3d
mov rcx, rbx
call fcn.140135340
mov rcx, qword [rsi + 8]
sub rcx, qword [rsi]
shl rcx, 3
lea rax, [rbp - 6]
mov rdx, qword [rbx + 0x18]
cmp rax, rcx
jbe 0x14012c855
mov rcx, qword [rbx + 0x10]
cmp rcx, rdx
jae 0x14012c80d
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0xf
jbe 0x14012c7bc
mov rax, qword [rbx]
mov word [rax + rcx], 0x3d
jmp 0x14012c818
lea rcx, [rsp + 0x38]
mov rax, rdi
cmp r13, 0xf
jbe 0x14012c7d5
mov rcx, r14
shr rax, 0x12
movzx r9d, byte [rax + rcx]
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x14012c77b
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0xf
jbe 0x14012c7ff
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x14012c783
mov r9b, 0x3d
mov rcx, rbx
call fcn.140135340
mov rax, qword [rsi + 8]
sub rax, qword [rsi]
shl rax, 3
mov rdx, qword [rbx + 0x18]
cmp rbp, rax
jbe 0x14012c8ec
mov rcx, qword [rbx + 0x10]
cmp rcx, rdx
jae 0x14012c89c
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0xf
jbe 0x14012c84d
mov rax, qword [rbx]
mov word [rax + rcx], 0x3d
jmp 0x14012c8a7
lea rcx, [rsp + 0x38]
cmp r13, 0xf
cmova rcx, r14
mov rax, rdi
shr rax, 0xc
and eax, 0x3f
movzx r9d, byte [rax + rcx]
mov rcx, qword [rbx + 0x10]
cmp rcx, rdx
jae 0x14012c810
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0xf
jbe 0x14012c88e
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x14012c818
mov r9b, 0x3d
mov rcx, rbx
call fcn.140135340
mov rax, qword [rsi + 8]
sub rax, qword [rsi]
lea rcx, [rbp + 6]
lea rax, [rax*8]
mov rdx, qword [rbx + 0x18]
cmp rcx, rax
mov rcx, qword [rbx + 0x10]
jbe 0x14012c991
cmp rcx, rdx
jae 0x14012c933
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0xf
jbe 0x14012c8e4
mov rax, qword [rbx]
mov word [rax + rcx], 0x3d
jmp 0x14012c93e
lea rcx, [rsp + 0x38]
cmp r13, 0xf
cmova rcx, r14
mov rax, rdi
shr rax, 6
and eax, 0x3f
movzx r9d, byte [rax + rcx]
mov rcx, qword [rbx + 0x10]
cmp rcx, rdx
jae 0x14012c89f
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0xf
jbe 0x14012c925
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x14012c8a7
mov r9b, 0x3d
mov rcx, rbx
call fcn.140135340
add r15, 3
add rbp, 0x18
mov rdx, qword [rsi + 8]
mov rcx, qword [rsi]
mov rax, rdx
sub rax, rcx
mov r8, rcx
cmp r15, rax
jb 0x14012c720
cmp r13, 0xf
jbe 0x14012c9d5
lea rdx, [r13 + 1]
mov rax, r14
cmp rdx, 0x1000
jb 0x14012c9cd
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14012c9cd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
lea rax, [rsp + 0x38]
cmp r13, 0xf
cmova rax, r14
and edi, 0x3f
movzx r9d, byte [rdi + rax]
cmp rcx, rdx
jae 0x14012c936
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0xf
jbe 0x14012c9bf
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x14012c93e
mov rcx, r14
call fcn.14022ab78
mov rax, rbx
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14022a640
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop rdi
pop rsi
ret