Function at 0x140073410
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.0x14007344e.6
lea r8, [0x140000000]
mov ecx, dword [r8 + rdx*4 + 0x737e0]
add rcx, r8
jmp rcx
mov dword [rdi + 0x10], esi
lea rax, [0x140104c70]
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 0x1400734c6
mov r15, qword [rbx + 8]
test bpl, bpl
je 0x140073487
mov qword [rdi], r15
mov qword [rdi + 8], r14
jmp 0x1400737cc
lea rbp, [r14*2 + 2]
mov rcx, rbp
call fcn.1400c83d4
mov qword [rdi + 0x20], rax
test rax, rax
je 0x1400734cf
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.1400e5b10
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
jmp 0x1400737cc
test bpl, bpl
jne 0x1400737cc
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
jmp 0x1400737cc
mov dword [rdi + 0x10], 1
movsxd rax, dword [rbx + 8]
jmp 0x1400737c9
mov dword [rdi + 0x10], 2
mov rax, qword [rbx + 8]
jmp 0x1400737c9
mov dword [rdi + 0x10], 2
movss xmm0, dword [rbx + 8]
cvtps2pd xmm0, xmm0
movsd qword [rdi], xmm0
jmp 0x1400737cc
mov dword [rdi + 0x10], 1
cmp word [rbx + 8], si
setne sil
mov qword [rdi], rsi
jmp 0x1400737cc
mov rcx, qword [rbx + 8]
test rcx, rcx
je case.0x14007344e.9
mov rax, qword [rcx]
lea r8, [rsp + 0x88]
lea rdx, [0x1400e91b8]
call qword [rax]
test eax, eax
js 0x14007360c
test bpl, bpl
jne 0x140073564
mov rcx, qword [rbx + 8]
mov rax, qword [rcx]
call qword [rax + reloc.WSOCK32.dll_recv]
mov ecx, 0x58
call fcn.1400c2444
mov rsi, rax
mov qword [rsp + 0x28], rax
mov rbx, qword [rsp + 0x88]
mov rcx, rax
call fcn.140033b50
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, [0x1401111f0]
mov rcx, rbx
call qword [rax]
test eax, eax
js 0x1400735fd
mov rcx, qword [rsp + 0x80]
mov rax, qword [rcx]
lea r9, [rsp + 0x98]
lea r8, [0x1401111d0]
lea rdx, [0x1400f41d0]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
test eax, eax
js 0x1400735ee
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 0x1400737cc
mov rcx, qword [rbx + 8]
mov rax, qword [rcx]
lea r8, [rsp + 0x20]
lea rdx, [0x1400f41e0]
call qword [rax]
test eax, eax
js case.0x14007344e.9
test bpl, bpl
jne 0x140073634
mov rcx, qword [rbx + 8]
mov rax, qword [rcx]
call qword [rax + reloc.WSOCK32.dll_recv]
mov ecx, 0x28
call fcn.1400c2444
mov qword [rsp + 0x80], rax
mov rcx, qword [rsp + 0x20]
mov qword [rax + 0x10], rcx
mov dword [rax + 0x20], 9
jmp 0x1400737ad
mov rcx, qword [rbx + 8]
test rcx, rcx
je case.0x14007344e.0
mov rax, qword [rcx]
lea r8, [rsp + 0x80]
lea rdx, [0x1400f41d0]
call qword [rax]
test eax, eax
js 0x1400736a6
mov rax, qword [rsp + 0x80]
mov qword [rdi], rax
mov dword [rdi + 0x10], 5
test bpl, bpl
jne 0x1400737cc
mov rcx, qword [rbx + 8]
mov rax, qword [rcx]
call qword [rax + reloc.WSOCK32.dll_recv]
jmp 0x1400737cc
test bpl, bpl
je 0x1400736b5
mov rcx, qword [rbx + 8]
mov rax, qword [rcx]
call qword [rax + reloc.WSOCK32.dll_htonl]
mov ecx, 0x28
call fcn.1400c2444
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 0x1400737a9
mov dword [rdi + 0x10], esi
lea rax, [0x140104c70]
mov qword [rdi + 8], rsi
jmp 0x1400737c9
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], rax
mov r9d, reloc.OLEAUT32.dll_SafeArrayLock
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 0x1400737c9
cmp dword [rbx + 8], 0x80020004
jne case.0x14007344e.6
mov dword [rdi + 0x10], 3
jmp 0x1400737cc
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], rax
mov eax, 0x2000
cmp dx, ax
jae 0x140073780
mov r9d, 8
xor r8d, r8d
mov rdx, rbx
lea rcx, [rsp + 0x30]
call qword [sym.imp.OLEAUT32.dll_VariantTimeToDosDateTime]
test eax, eax
js 0x140073780
xor r8d, r8d
mov rdx, rdi
lea rcx, [rsp + 0x30]
call fcn.140073410
jmp 0x1400737cc
mov ecx, 0x28
call fcn.1400c2444
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