Function at 0x14007ca20
Capabilities:
Encode data using base64

Disassembly:
sub rsp, 0x328
mov qword [rsp + 0x320], rdx
mov qword [rsp + 0x318], rcx
lea rcx, [rsp + 0x50]
mov rdx, qword [rsp + 0x318]
mov r8d, 0x80
call fcn.1400c3b80
mov qword [rsp + 0x48], reloc.WS2_32.dll_recv
cmp qword [rsp + 0x48], 0x50
je 0x14007cb6f
mov rax, qword [rsp + 0x48]
sub rax, 0x10
mov rcx, qword [rsp + rax*8 + 0x50]
mov rax, qword [rsp + 0x48]
sub rax, 0xf
mov rax, qword [rsp + rax*8 + 0x50]
shr rax, 1
mov rdx, qword [rsp + 0x48]
sub rdx, 0xf
mov rdx, qword [rsp + rdx*8 + 0x50]
shl rdx, 0x3f
or rax, rdx
mov rdx, qword [rsp + 0x48]
sub rdx, 0xf
mov rdx, qword [rsp + rdx*8 + 0x50]
shr rdx, 8
mov r8, qword [rsp + 0x48]
sub r8, 0xf
mov r8, qword [rsp + r8*8 + 0x50]
shl r8, 0x38
or rdx, r8
xor rax, rdx
mov rdx, qword [rsp + 0x48]
sub rdx, 0xf
mov rdx, qword [rsp + rdx*8 + 0x50]
shr rdx, 7
xor rax, rdx
add rcx, rax
mov rax, qword [rsp + 0x48]
sub rax, 7
add rcx, qword [rsp + rax*8 + 0x50]
mov rax, qword [rsp + 0x48]
sub rax, 2
mov rax, qword [rsp + rax*8 + 0x50]
shr rax, 0x13
mov rdx, qword [rsp + 0x48]
sub rdx, 2
mov rdx, qword [rsp + rdx*8 + 0x50]
shl rdx, 0x2d
or rax, rdx
mov rdx, qword [rsp + 0x48]
sub rdx, 2
mov rdx, qword [rsp + rdx*8 + 0x50]
shr rdx, 0x3d
mov r8, qword [rsp + 0x48]
sub r8, 2
mov r8, qword [rsp + r8*8 + 0x50]
shl r8, 3
or rdx, r8
xor rax, rdx
mov rdx, qword [rsp + 0x48]
sub rdx, 2
mov rdx, qword [rsp + rdx*8 + 0x50]
shr rdx, 6
xor rax, rdx
add rcx, rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + rax*8 + 0x50], rcx
mov rax, qword [rsp + 0x48]
add rax, 1
mov qword [rsp + 0x48], rax
jmp 0x14007ca58
lea rcx, [rsp + 0x2d0]
mov rdx, qword [rsp + 0x320]
mov r8d, 0x40
call fcn.1400c3b80
mov qword [rsp + 0x40], 0
cmp qword [rsp + 0x40], 0x50
je 0x14007cd79
mov rax, qword [rsp + 0x308]
mov rcx, qword [rsp + 0x2f0]
shr rcx, 0xe
mov rdx, qword [rsp + 0x2f0]
shl rdx, 0x32
or rcx, rdx
mov rdx, qword [rsp + 0x2f0]
shr rdx, 0x12
mov r8, qword [rsp + 0x2f0]
shl r8, 0x2e
or rdx, r8
xor rcx, rdx
mov rdx, qword [rsp + 0x2f0]
shr rdx, 0x29
mov r8, qword [rsp + 0x2f0]
shl r8, 0x17
or rdx, r8
xor rcx, rdx
add rax, rcx
mov rcx, qword [rsp + 0x2f0]
and rcx, qword [rsp + 0x2f8]
mov rdx, qword [rsp + 0x2f0]
xor rdx, 0xffffffffffffffff
and rdx, qword [rsp + 0x300]
xor rcx, rdx
add rax, rcx
mov rdx, qword [rsp + 0x40]
lea rcx, [0x1400fa9f0]
add rax, qword [rcx + rdx*8]
mov rcx, qword [rsp + 0x40]
add rax, qword [rsp + rcx*8 + 0x50]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x2d0]
shr rax, 0x1c
mov rcx, qword [rsp + 0x2d0]
shl rcx, 0x24
or rax, rcx
mov rcx, qword [rsp + 0x2d0]
shr rcx, 0x22
mov rdx, qword [rsp + 0x2d0]
shl rdx, 0x1e
or rcx, rdx
xor rax, rcx
mov rcx, qword [rsp + 0x2d0]
shr rcx, 0x27
mov rdx, qword [rsp + 0x2d0]
shl rdx, 0x19
or rcx, rdx
xor rax, rcx
mov rcx, qword [rsp + 0x2d0]
and rcx, qword [rsp + 0x2d8]
mov rdx, qword [rsp + 0x2d0]
and rdx, qword [rsp + 0x2e0]
xor rcx, rdx
mov rdx, qword [rsp + 0x2d8]
and rdx, qword [rsp + 0x2e0]
xor rcx, rdx
add rax, rcx
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x300]
mov qword [rsp + 0x308], rax
mov rax, qword [rsp + 0x2f8]
mov qword [rsp + 0x300], rax
mov rax, qword [rsp + 0x2f0]
mov qword [rsp + 0x2f8], rax
mov rax, qword [rsp + 0x2e8]
add rax, qword [rsp + 0x38]
mov qword [rsp + 0x2f0], rax
mov rax, qword [rsp + 0x2e0]
mov qword [rsp + 0x2e8], rax
mov rax, qword [rsp + 0x2d8]
mov qword [rsp + 0x2e0], rax
mov rax, qword [rsp + 0x2d0]
mov qword [rsp + 0x2d8], rax
mov rax, qword [rsp + 0x38]
add rax, qword [rsp + 0x30]
mov qword [rsp + 0x2d0], rax
mov rax, qword [rsp + 0x40]
add rax, 1
mov qword [rsp + 0x40], rax
jmp 0x14007cb93
mov qword [rsp + 0x28], 0
cmp qword [rsp + 0x28], 8
je 0x14007cdc3
mov rax, qword [rsp + 0x28]
mov rdx, qword [rsp + rax*8 + 0x2d0]
mov rax, qword [rsp + 0x320]
mov rcx, qword [rsp + 0x28]
add rdx, qword [rax + rcx*8]
mov qword [rax + rcx*8], rdx
mov rax, qword [rsp + 0x28]
add rax, 1
mov qword [rsp + 0x28], rax
jmp 0x14007cd82
add rsp, 0x328
ret