Function at 0x1400556b0
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x38
mov rbx, rcx
xor edi, edi
mov dword [rsp + 0x20], 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 + 0x20], 1
mov esi, edi
mov rcx, rdx
cmp qword [rdx + 0x18], 0xf
jbe 0x1400556ff
mov rcx, qword [rdx]
mov r8, rcx
jmp 0x140055702
mov r8, rdx
mov r14, rcx
mov rax, qword [rdx + 0x10]
add rax, r8
mov qword [rsp + 0x28], rax
cmp rcx, rax
je 0x140055a64
mov rcx, rdi
nop dword [rax]
movzx eax, byte [r14]
mov byte [rsp + rcx + 0x90], al
inc esi
inc rcx
movzx r13d, byte [rsp + 0x92]
movzx ebp, byte [rsp + 0x91]
movzx r15d, byte [rsp + 0x90]
cmp rcx, 3
jne 0x140055915
movzx eax, r15b
shr al, 2
movzx ecx, al
mov byte [rsp + 0x98], cl
movzx esi, r15b
and sil, 3
shl sil, 4
movzx eax, bpl
shr al, 4
add sil, al
movzx r12d, bpl
and r12b, 0xf
shl r12b, 2
movzx eax, r13b
shr al, 6
add r12b, al
movzx eax, r13b
and al, 0x3f
mov byte [rsp + 0x88], al
mov byte [rsp + 0x9b], al
lea rax, [0x140295150]
cmp qword [0x140295168], 0xf
cmova rax, qword [0x140295150]
movzx r9d, byte [rcx + rax]
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x1400557ed
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0xf
jbe 0x1400557e2
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x1400557fc
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, rbx
call fcn.14009ec00
lea rcx, [0x140295150]
cmp qword [0x140295168], 0xf
cmova rcx, qword [0x140295150]
movzx eax, sil
movzx r9d, byte [rax + rcx]
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x140055848
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0xf
jbe 0x14005583d
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x140055857
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, rbx
call fcn.14009ec00
lea rsi, [0x140295150]
mov rcx, rsi
cmp qword [0x140295168], 0xf
cmova rcx, qword [0x140295150]
movzx eax, r12b
movzx r9d, byte [rax + rcx]
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x1400558a6
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0xf
jbe 0x14005589b
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x1400558b5
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, rbx
call fcn.14009ec00
mov rcx, rsi
cmp qword [0x140295168], 0xf
cmova rcx, qword [0x140295150]
movzx eax, byte [rsp + 0x88]
movzx r9d, byte [rax + rcx]
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x140055901
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0xf
jbe 0x1400558f6
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x140055910
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, rbx
call fcn.14009ec00
mov esi, edi
mov rcx, rdi
inc r14
cmp r14, qword [rsp + 0x28]
jne 0x140055720
test esi, esi
je 0x140055a64
movsxd rax, esi
cmp rax, 3
jge 0x140055965
jae 0x140055a78
mov byte [rsp + rax + 0x90], 0
inc rax
cmp rax, 3
jl 0x140055934
movzx r13d, byte [rsp + 0x92]
movzx ebp, byte [rsp + 0x91]
movzx r15d, byte [rsp + 0x90]
movzx eax, r15b
shr al, 2
mov byte [rsp + 0x98], al
and r15b, 3
shl r15b, 4
movzx eax, bpl
shr al, 4
add r15b, al
mov byte [rsp + 0x99], r15b
and bpl, 0xf
shl bpl, 2
shr r13b, 6
add bpl, r13b
mov byte [rsp + 0x9a], bpl
lea eax, [rsi + 1]
movsxd rbp, eax
test eax, eax
jle 0x140055a17
nop
lea rcx, [0x140295150]
cmp qword [0x140295168], 0xf
cmova rcx, qword [0x140295150]
movzx eax, byte [rsp + rdi + 0x98]
movzx r9d, byte [rax + rcx]
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x140055a00
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0xf
jbe 0x1400559f5
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x140055a0f
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, rbx
call fcn.14009ec00
inc rdi
cmp rdi, rbp
jl 0x1400559b0
cmp esi, 3
jge 0x140055a64
mov edi, 3
sub edi, esi
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x140055a4c
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0xf
jbe 0x140055a44
mov rax, qword [rbx]
mov word [rax + rcx], 0x3d
jmp 0x140055a5e
mov r9b, 0x3d
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, rbx
call fcn.14009ec00
sub rdi, 1
jne 0x140055a23
mov rax, rbx
add rsp, 0x38
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
call fcn.14010ca58
int3