Function at 0x140015bf0
Capabilities:
Encode data using base64 via winapi

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x88
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 0x90]
mov eax, dword [rcx + rax]
mov dword [rsp + 0x58], eax
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rsp + 0x90]
mov eax, dword [rcx + rax]
mov dword [rsp + 0x5c], eax
mov eax, 4
imul rax, rax, 2
mov rcx, qword [rsp + 0x90]
mov eax, dword [rcx + rax]
mov dword [rsp + 0x60], eax
mov rax, qword [rsp + 0x90]
mov eax, dword [rax + 0xc]
mov dword [rsp + 0x34], eax
mov rax, qword [rsp + 0x90]
add rax, 0x10
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x90]
add rax, 0x38
mov qword [rsp + 0x70], rax
mov eax, dword [rsp + 0x34]
lea eax, [rax*8 + 8]
cdqe
mov rcx, rax
call fcn.140031834
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
jne 0x140015cae
call fcn.1400318f4
mov dword [rax], listen
xor eax, eax
jmp 0x140015e52
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov ecx, dword [rsp + 0x34]
mov dword [rax], ecx
movsxd rax, dword [rsp + 0x58]
lea rcx, [0x140076ef0]
mov rax, qword [rcx + rax*8]
mov rcx, qword [rsp + 0x50]
movzx eax, byte [rax + 0x84]
mov byte [rcx + 4], al
movsxd rax, dword [rsp + 0x5c]
lea rcx, [0x140076ef0]
mov rax, qword [rcx + rax*8]
mov rcx, qword [rsp + 0x50]
movzx eax, byte [rax + 0x84]
mov byte [rcx + 5], al
movsxd rax, dword [rsp + 0x60]
lea rcx, [0x140076ef0]
mov rax, qword [rcx + rax*8]
mov rcx, qword [rsp + 0x50]
movzx eax, byte [rax + 0x84]
mov byte [rcx + 6], al
mov rax, qword [rsp + 0x38]
add rax, 8
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x30], 0
jmp 0x140015d42
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x34]
cmp dword [rsp + 0x30], eax
jge 0x140015db2
movsxd rax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x98]
mov eax, dword [rdx + rax*8]
mov dword [rcx], eax
movsxd rax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x70]
movzx eax, word [rdx + rax*4]
mov word [rcx + 4], ax
movsxd rax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x78]
movsxd rax, dword [rcx + rax*4]
lea rcx, [0x140076ef0]
mov rax, qword [rcx + rax*8]
mov rcx, qword [rsp + 0x48]
movzx eax, byte [rax + 0x84]
mov byte [rcx + 6], al
mov rax, qword [rsp + 0x48]
add rax, 8
mov qword [rsp + 0x48], rax
jmp 0x140015d38
mov eax, dword [rsp + 0x34]
lea eax, [rax*8 + 8]
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x20], rcx
xor r9d, r9d
mov r8d, 0x40000001
mov edx, eax
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.CRYPT32.dll_CryptBinaryToStringA]
mov dword [rsp + 0x64], eax
mov eax, dword [rsp + 0x40]
mov ecx, eax
call fcn.140031834
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0
jne 0x140015e12
mov rcx, qword [rsp + 0x38]
call fcn.140031820
call fcn.1400318f4
mov dword [rax], listen
xor eax, eax
jmp 0x140015e52
mov eax, dword [rsp + 0x34]
lea eax, [rax*8 + 8]
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x20], rcx
mov r9, qword [rsp + 0x68]
mov r8d, 0x40000001
mov edx, eax
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.CRYPT32.dll_CryptBinaryToStringA]
mov dword [rsp + 0x64], eax
mov rcx, qword [rsp + 0x38]
call fcn.140031820
mov rax, qword [rsp + 0x68]
add rsp, 0x88
ret