Function at 0x140023940
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov ebp, r9d
mov r12, r8
mov rbx, rdx
mov qword [rsp + 0x30], rdx
xor edi, edi
mov dword [rsp + 0x2c], edi
xorps xmm0, xmm0
movups xmmword [rdx], xmm0
mov qword [rdx + 0x10], rdi
mov qword [rdx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rdx], dil
mov dword [rsp + 0x2c], 1
mov esi, edi
test r9d, r9d
je 0x140023c9a
mov ecx, edi
nop word [rax + rax]
dec ebp
movzx eax, byte [r12]
lea r12, [r12 + 1]
mov byte [rsp + rcx + 0x20], al
inc esi
inc rcx
movzx edx, byte [rsp + 0x22]
movzx r14d, byte [rsp + 0x21]
movzx r15d, byte [rsp + 0x20]
cmp rcx, 3
jne 0x140023b69
movzx eax, r15b
shr al, 2
movzx ecx, al
mov byte [rsp + 0x28], cl
movzx esi, r15b
and sil, 3
shl sil, 4
movzx eax, r14b
shr al, 4
add sil, al
movzx r13d, r14b
and r13b, 0xf
shl r13b, 2
movzx eax, dl
shr al, 6
add r13b, al
movzx eax, dl
and al, 0x3f
mov byte [rsp + 0x24], al
lea rax, [0x1400c5ce8]
cmp qword [0x1400c5d00], 0xf
cmova rax, qword [0x1400c5ce8]
movzx r9d, byte [rcx + rax]
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x140023a5a
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0xf
jbe 0x140023a4f
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x140023a62
mov rcx, rbx
call fcn.140034830
lea rcx, [0x1400c5ce8]
cmp qword [0x1400c5d00], 0xf
cmova rcx, qword [0x1400c5ce8]
movzx eax, sil
movzx r9d, byte [rax + rcx]
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x140023aae
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0xf
jbe 0x140023aa3
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x140023ab6
mov rcx, rbx
call fcn.140034830
lea rcx, [0x1400c5ce8]
cmp qword [0x1400c5d00], 0xf
cmova rcx, qword [0x1400c5ce8]
movzx eax, r13b
movzx r9d, byte [rax + rcx]
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x140023b02
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0xf
jbe 0x140023af7
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x140023b0a
mov rcx, rbx
call fcn.140034830
lea rcx, [0x1400c5ce8]
cmp qword [0x1400c5d00], 0xf
cmova rcx, qword [0x1400c5ce8]
movzx eax, byte [rsp + 0x24]
movzx r9d, byte [rax + rcx]
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x140023b57
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0xf
jbe 0x140023b4c
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x140023b5f
mov rcx, rbx
call fcn.140034830
mov esi, edi
mov rcx, rdi
movzx edx, byte [rsp + 0x22]
test ebp, ebp
jne 0x1400239a0
test esi, esi
je 0x140023c9a
movsxd rax, esi
cmp rax, 3
jge 0x140023ba7
jae 0x140023cbb
mov byte [rsp + rax + 0x20], 0
inc rax
cmp rax, 3
jl 0x140023b82
movzx edx, byte [rsp + 0x22]
movzx r14d, byte [rsp + 0x21]
movzx r15d, byte [rsp + 0x20]
movzx eax, r15b
shr al, 2
mov byte [rsp + 0x28], al
and r15b, 3
shl r15b, 4
movzx eax, r14b
shr al, 4
add r15b, al
mov byte [rsp + 0x29], r15b
and r14b, 0xf
shl r14b, 2
movzx eax, dl
shr al, 6
add r14b, al
mov byte [rsp + 0x2a], r14b
and dl, 0x3f
mov byte [rsp + 0x2b], dl
lea eax, [rsi + 1]
movsxd rbp, eax
test eax, eax
jle 0x140023c4d
lea rcx, [0x1400c5ce8]
cmp qword [0x1400c5d00], 0xf
cmova rcx, qword [0x1400c5ce8]
movzx eax, byte [rsp + rdi + 0x28]
movzx r9d, byte [rax + rcx]
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x140023c3d
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0xf
jbe 0x140023c32
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x140023c45
mov rcx, rbx
call fcn.140034830
inc rdi
cmp rdi, rbp
jl 0x140023bf0
cmp esi, 3
jge 0x140023c9a
mov edi, 3
sub edi, esi
nop dword [rax]
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x140023c89
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0xf
jbe 0x140023c81
mov rax, qword [rbx]
mov word [rax + rcx], 0x3d
jmp 0x140023c94
mov r9b, 0x3d
mov rcx, rbx
call fcn.140034830
sub rdi, 1
jne 0x140023c60
mov rax, rbx
lea r11, [rsp + 0x40]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
call fcn.14009b140
int3