Function at 0x140073d60
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x50
movzx ebp, r8b
mov rdi, rdx
mov rbx, rcx
xor esi, esi
mov qword [rdx + 0x20], rsi
movzx edx, word [rcx]
cmp edx, 0x15
ja case.0x140073d9e.6
lea r8, [0x140000000]
mov ecx, dword [r8 + rdx*4 + 0x74130]
add rcx, r8
jmp rcx
mov dword [rdi + 0x10], esi
lea rax, [0x140106cb0]
mov qword [rdi], rax
mov qword [rdi + 8], rsi
mov rcx, qword [rbx + 8]
call qword [sym.imp.OLEAUT32.dll_VariantInit]
mov r14d, eax
test eax, eax
je 0x140073e16
mov r15, qword [rbx + 8]
test bpl, bpl
je 0x140073dd7
mov qword [rdi], r15
mov qword [rdi + 8], r14
jmp 0x14007411a
lea rbp, [r14*2 + 2]
mov rcx, rbp
call fcn.1400ca1ac
mov qword [rdi + 0x20], rax
test rax, rax
je 0x140073e1f
mov dword [rdi + 0x10], esi
mov qword [rdi + 8], r14
mov qword [rdi], rax
mov r8, rbp
mov rdx, r15
mov rcx, rax
call fcn.1400e78c0
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
jmp 0x14007411a
test bpl, bpl
jne 0x14007411a
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
jmp 0x14007411a
mov dword [rdi + 0x10], 1
movsxd rax, dword [rbx + 8]
jmp 0x140074117
mov dword [rdi + 0x10], 2
mov rax, qword [rbx + 8]
jmp 0x140074117
mov dword [rdi + 0x10], 2
movss xmm0, dword [rbx + 8]
cvtps2pd xmm0, xmm0
movsd qword [rdi], xmm0
jmp 0x14007411a
mov dword [rdi + 0x10], 1
cmp word [rbx + 8], si
setne sil
mov qword [rdi], rsi
jmp 0x14007411a
mov rcx, qword [rbx + 8]
test rcx, rcx
je case.0x140073d9e.9
mov rax, qword [rcx]
lea r8, [rsp + 0x88]
lea rdx, [0x1400eb1b8]
call qword [rax]
test eax, eax
js 0x140073f5c
test bpl, bpl
jne 0x140073eb4
mov rcx, qword [rbx + 8]
mov rax, qword [rcx]
call qword [rax + reloc.WSOCK32.dll_recv]
mov ecx, 0x58
call fcn.1400c3354
mov rsi, rax
mov qword [rsp + 0x28], rax
mov rbx, qword [rsp + 0x88]
mov rcx, rax
call fcn.140033c30
nop
lea rax, vtable.ComEnum.0
mov qword [rsi], rax
mov qword [rsi + 0x48], rbx
mov byte [rsi + 0x50], 0
mov rax, qword [rbx]
lea r8, [rsp + 0x80]
lea rdx, [0x140113410]
mov rcx, rbx
call qword [rax]
test eax, eax
js 0x140073f4d
mov rcx, qword [rsp + 0x80]
mov rax, qword [rcx]
lea r9, [rsp + 0x98]
lea r8, [0x1401133f0]
lea rdx, [0x1400f6210]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
test eax, eax
js 0x140073f3e
mov byte [rsi + 0x50], 1
mov rcx, qword [rsp + 0x98]
mov rax, qword [rcx]
call qword [rax + reloc.WSOCK32.dll_recv]
mov rcx, qword [rsp + 0x80]
mov rax, qword [rcx]
call qword [rax + reloc.WSOCK32.dll_recv]
nop
mov dword [rdi + 0x10], 5
mov qword [rdi], rsi
jmp 0x14007411a
mov rcx, qword [rbx + 8]
mov rax, qword [rcx]
lea r8, [rsp + 0x20]
lea rdx, [0x1400f6220]
call qword [rax]
test eax, eax
js case.0x140073d9e.9
test bpl, bpl
jne 0x140073f84
mov rcx, qword [rbx + 8]
mov rax, qword [rcx]
call qword [rax + reloc.WSOCK32.dll_recv]
mov ecx, 0x28
call fcn.1400c3354
mov qword [rsp + 0x80], rax
mov rcx, qword [rsp + 0x20]
mov qword [rax + 0x10], rcx
mov dword [rax + 0x20], 9
jmp 0x1400740fb
mov rcx, qword [rbx + 8]
test rcx, rcx
je case.0x140073d9e.0
mov rax, qword [rcx]
lea r8, [rsp + 0x80]
lea rdx, [0x1400f6210]
call qword [rax]
test eax, eax
js 0x140073ff6
mov rax, qword [rsp + 0x80]
mov qword [rdi], rax
mov dword [rdi + 0x10], 5
test bpl, bpl
jne 0x14007411a
mov rcx, qword [rbx + 8]
mov rax, qword [rcx]
call qword [rax + reloc.WSOCK32.dll_recv]
jmp 0x14007411a
test bpl, bpl
je 0x140074005
mov rcx, qword [rbx + 8]
mov rax, qword [rcx]
call qword [rax + reloc.WSOCK32.dll_htonl]
mov ecx, 0x28
call fcn.1400c3354
mov qword [rsp + 0x88], rax
movzx edx, word [rbx]
mov rcx, qword [rbx + 8]
mov qword [rax + 0x10], rcx
mov word [rax + 0x22], si
jmp 0x1400740f7
mov dword [rdi + 0x10], esi
lea rax, [0x140106cb0]
mov qword [rdi + 8], rsi
jmp 0x140074117
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 0x140074117
cmp dword [rbx + 8], 0x80020004
jne case.0x140073d9e.6
mov dword [rdi + 0x10], 3
jmp 0x14007411a
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], rax
mov eax, 0x2000
cmp dx, ax
jae 0x1400740ce
mov r9d, 8
xor r8d, r8d
mov rdx, rbx
lea rcx, [rsp + 0x30]
call qword [sym.imp.OLEAUT32.dll_VariantTimeToDosDateTime]
test eax, eax
js 0x1400740ce
xor r8d, r8d
mov rdx, rdi
lea rcx, [rsp + 0x30]
call fcn.140073d60
jmp 0x14007411a
mov ecx, 0x28
call fcn.1400c3354
mov qword [rsp + 0x80], 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 + 0x90]
add rsp, 0x50
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret