Function at 0x140072710
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x50
movzx ebp, r8b
mov rdi, rdx
mov rbx, rcx
xor esi, esi
mov qword [rdx + 0x20], rsi
movzx ecx, word [rcx]
cmp ecx, 0x15
ja case.0x14007274a.6
lea rdx, [0x140000000]
mov r8d, dword [rdx + rcx*4 + 0x72af8]
add r8, rdx
jmp r8
mov dword [rdi + 0x10], esi
lea rax, [0x140100be0]
mov qword [rdi], rax
mov qword [rdi + 8], rsi
mov rcx, qword [rbx + 8]
call qword [sym.imp.OLEAUT32.dll_VariantInit]
mov r8d, eax
test eax, eax
je 0x1400727b0
mov rdx, qword [rbx + 8]
test bpl, bpl
je 0x14007278f
mov qword [rdi], rdx
mov qword [rdi + 8], r8
mov rbx, qword [rsp + 0x80]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret
mov rcx, rdi
call fcn.1400a52a0
mov rcx, rbx
mov rbx, qword [rsp + 0x80]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
jmp qword [sym.imp.OLEAUT32.dll_VariantCopy]
test bpl, bpl
jne 0x140072ae6
mov rcx, rbx
mov rbx, qword [rsp + 0x80]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
jmp qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov dword [rdi + 0x10], 1
movsxd rax, dword [rbx + 8]
jmp 0x140072ae3
mov dword [rdi + 0x10], 2
mov rax, qword [rbx + 8]
jmp 0x140072ae3
mov dword [rdi + 0x10], 2
movss xmm0, dword [rbx + 8]
cvtps2pd xmm0, xmm0
movsd qword [rdi], xmm0
mov rbx, qword [rsp + 0x80]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret
mov dword [rdi + 0x10], 1
cmp word [rbx + 8], si
setne sil
mov qword [rdi], rsi
mov rbx, qword [rsp + 0x80]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret
mov rcx, qword [rbx + 8]
test rcx, rcx
je case.0x14007274a.9
mov rax, qword [rcx]
lea r8, [rsp + 0x78]
lea rdx, [0x1400e5188]
call qword [rax]
test eax, eax
js 0x140072913
test bpl, bpl
jne 0x14007286c
mov rcx, qword [rbx + 8]
mov rax, qword [rcx]
call qword [rax + reloc.WSOCK32.dll_recv]
mov ecx, 0x48
call fcn.1400bd874
mov rsi, rax
mov qword [rsp + 0x28], rax
mov rbx, qword [rsp + 0x78]
mov rcx, rax
call fcn.140031bb0
nop
lea rax, vtable.ComEnum.0
mov qword [rsi], rax
mov qword [rsi + 0x38], rbx
mov byte [rsi + 0x40], 0
mov rax, qword [rbx]
lea r8, [rsp + 0x70]
lea rdx, [0x14010cd20]
mov rcx, rbx
call qword [rax]
test eax, eax
js 0x1400728f9
mov rcx, qword [rsp + 0x70]
mov rax, qword [rcx]
lea r9, [rsp + 0x88]
lea r8, [0x14010cd00]
lea rdx, [0x1400f0148]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
test eax, eax
js 0x1400728ed
mov byte [rsi + 0x40], 1
mov rcx, qword [rsp + 0x88]
mov rax, qword [rcx]
call qword [rax + reloc.WSOCK32.dll_recv]
mov rcx, qword [rsp + 0x70]
mov rax, qword [rcx]
call qword [rax + reloc.WSOCK32.dll_recv]
nop
mov dword [rdi + 0x10], 5
mov qword [rdi], rsi
mov rbx, qword [rsp + 0x80]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret
mov rcx, qword [rbx + 8]
mov rax, qword [rcx]
lea r8, [rsp + 0x20]
lea rdx, [0x1400f0158]
call qword [rax]
test eax, eax
js case.0x14007274a.9
test bpl, bpl
jne 0x14007293b
mov rcx, qword [rbx + 8]
mov rax, qword [rcx]
call qword [rax + reloc.WSOCK32.dll_recv]
mov ecx, 0x28
call fcn.1400bd874
mov qword [rsp + 0x70], rax
mov rcx, qword [rsp + 0x20]
mov qword [rax + 0x10], rcx
mov dword [rax + 0x20], 9
jmp 0x140072ac7
mov rcx, qword [rbx + 8]
test rcx, rcx
je case.0x14007274a.0
mov rax, qword [rcx]
lea r8, [rsp + 0x70]
lea rdx, [0x1400f0148]
call qword [rax]
test eax, eax
js 0x1400729af
mov rax, qword [rsp + 0x70]
mov qword [rdi], rax
mov dword [rdi + 0x10], 5
test bpl, bpl
jne 0x140072ae6
mov rcx, qword [rbx + 8]
mov rax, qword [rcx]
call qword [rax + reloc.WSOCK32.dll_recv]
mov rbx, qword [rsp + 0x80]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret
test bpl, bpl
je 0x1400729be
mov rcx, qword [rbx + 8]
mov rax, qword [rcx]
call qword [rax + reloc.WSOCK32.dll_htonl]
mov ecx, 0x28
call fcn.1400bd874
mov qword [rsp + 0x78], rax
movzx edx, word [rbx]
mov rcx, qword [rbx + 8]
mov qword [rax + 0x10], rcx
mov word [rax + 0x22], si
jmp 0x140072ac3
mov dword [rdi + 0x10], esi
lea rax, [0x140100be0]
mov qword [rdi + 8], rsi
jmp 0x140072ae3
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], rax
lea r9d, [rax + 0x14]
xor r8d, r8d
mov rdx, rbx
lea rcx, [rsp + 0x30]
call qword [sym.imp.OLEAUT32.dll_VariantTimeToDosDateTime]
mov dword [rdi + 0x10], 1
mov rax, qword [rsp + 0x38]
jmp 0x140072ae3
cmp dword [rbx + 8], 0x80020004
jne case.0x14007274a.6
mov dword [rdi + 0x10], 3
mov rbx, qword [rsp + 0x80]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], rax
mov eax, 0x2000
cmp cx, ax
jae 0x140072a9d
mov r9d, 8
xor r8d, r8d
mov rdx, rbx
lea rcx, [rsp + 0x30]
call qword [sym.imp.OLEAUT32.dll_VariantTimeToDosDateTime]
test eax, eax
js 0x140072a9d
xor r8d, r8d
mov rdx, rdi
lea rcx, [rsp + 0x30]
call fcn.140072710
mov rbx, qword [rsp + 0x80]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret
mov ecx, 0x28
call fcn.1400bd874
mov qword [rsp + 0x70], rax
movzx edx, word [rbx]
mov rcx, qword [rbx + 8]
mov qword [rax + 0x10], rcx
xor bpl, 1
movzx ecx, bpl
mov word [rax + 0x22], cx
mov word [rax + 0x20], dx
mov dword [rax + 8], 1
lea r8, vtable.ComObject.0
mov qword [rax], r8
mov qword [rax + 0x18], rsi
mov dword [rdi + 0x10], 5
mov qword [rdi], rax
mov rbx, qword [rsp + 0x80]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret