Function at 0x140076300
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 0x10], 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 rbp, r8
mov r14, rdx
mov rbx, rcx
mov qword [rsp + 0x30], rcx
xor edi, edi
mov dword [rsp + 0x2c], edi
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], rdi
mov qword [rcx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rcx], dil
mov dword [rsp + 0x2c], 1
mov esi, edi
mov ecx, edi
nop dword [rax]
nop word [rax + rax]
dec rbp
movzx eax, byte [r14]
mov byte [rsp + rcx + 0x20], al
inc esi
inc rcx
lea r14, [r14 + 1]
movzx edx, byte [rsp + 0x22]
movzx r15d, byte [rsp + 0x21]
movzx r12d, byte [rsp + 0x20]
cmp rcx, 3
jne 0x140076544
movzx eax, r12b
shr al, 2
movzx ecx, al
mov byte [rsp + 0x28], cl
movzx esi, r12b
and sil, 3
shl sil, 4
movzx eax, r15b
shr al, 4
add sil, al
movzx r13d, r15b
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, [0x14019eaf0]
cmp qword [0x14019eb08], 0x10
cmovae rax, qword [0x14019eaf0]
movzx r9d, byte [rcx + rax]
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x140076419
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0x10
jb 0x14007640e
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x140076428
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, rbx
call fcn.14001c650
lea rcx, [0x14019eaf0]
cmp qword [0x14019eb08], 0x10
cmovae rcx, qword [0x14019eaf0]
movzx eax, sil
movzx r9d, byte [rax + rcx]
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x140076474
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0x10
jb 0x140076469
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x140076483
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, rbx
call fcn.14001c650
lea rcx, [0x14019eaf0]
cmp qword [0x14019eb08], 0x10
cmovae rcx, qword [0x14019eaf0]
movzx eax, r13b
movzx r9d, byte [rax + rcx]
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x1400764cf
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0x10
jb 0x1400764c4
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x1400764de
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, rbx
call fcn.14001c650
lea rcx, [0x14019eaf0]
cmp qword [0x14019eb08], 0x10
cmovae rcx, qword [0x14019eaf0]
movzx eax, byte [rsp + 0x24]
movzx r9d, byte [rax + rcx]
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x14007652b
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0x10
jb 0x140076520
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x14007653a
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, rbx
call fcn.14001c650
mov esi, edi
mov rcx, rdi
movzx edx, byte [rsp + 0x22]
test rbp, rbp
jne 0x140076360
test esi, esi
je 0x140076681
movsxd rax, esi
cmp rax, 3
jge 0x140076583
jae 0x1400766a2
mov byte [rsp + rax + 0x20], 0
inc rax
cmp rax, 3
jl 0x14007655e
movzx edx, byte [rsp + 0x22]
movzx r15d, byte [rsp + 0x21]
movzx r12d, byte [rsp + 0x20]
movzx eax, r12b
shr al, 2
mov byte [rsp + 0x28], al
and r12b, 3
shl r12b, 4
movzx eax, r15b
shr al, 4
add r12b, al
mov byte [rsp + 0x29], r12b
and r15b, 0xf
shl r15b, 2
movzx eax, dl
shr al, 6
add r15b, al
mov byte [rsp + 0x2a], r15b
and dl, 0x3f
mov byte [rsp + 0x2b], dl
lea eax, [rsi + 1]
movsxd rbp, eax
test eax, eax
jle 0x140076634
nop dword [rax]
lea rcx, [0x14019eaf0]
cmp qword [0x14019eb08], 0x10
cmovae rcx, qword [0x14019eaf0]
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 0x14007661d
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0x10
jb 0x140076612
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x14007662c
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, rbx
call fcn.14001c650
inc rdi
cmp rdi, rbp
jl 0x1400765d0
cmp esi, 3
jge 0x140076681
mov edi, 3
sub edi, esi
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x140076669
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0x10
jb 0x140076661
mov rax, qword [rbx]
mov word [rax + rcx], Ordinal_62
jmp 0x14007667b
mov r9b, Ordinal_62
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, rbx
call fcn.14001c650
sub rdi, 1
jne 0x140076640
mov rax, rbx
lea r11, [rsp + 0x40]
mov rbx, qword [r11 + 0x38]
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.140105e08
int3