Function at 0x140069030
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
mov rax, qword [rcx]
mov qword [rsp + 0x20], rax
mov r12, qword [rcx + 8]
mov r13, qword [rdx]
movabs r14, 0x871ff3f948445d60
mov rax, qword [0x140307840]
add rax, r14
call rax
cdqe
lea rcx, [0x140258ee0]
cmp r13, qword [rcx + rax*8]
ja 0x140069347
mov rax, qword [0x140307850]
add rax, r14
call rax
cdqe
lea rcx, reloc.WS2_32.dll_connect
movzx ecx, byte [rcx + rax*8]
mov rbx, r13
shl rbx, cl
mov rax, qword [0x140307858]
add rax, r14
call rax
movabs rax, 0x17738ed0985de48e
imul rax, qword [0x1402a2fb0]
movabs rcx, 0x3ee4e7c61d504e4c
imul rcx, qword [0x1402a2fb8]
add rcx, rax
movabs rax, 0x533b096c95593284
add rax, rcx
cmp r13, rax
jne 0x1400690e9
xor ebx, ebx
jmp 0x1400691ab
mov rax, qword [0x140307860]
add rax, r14
call rax
cdqe
lea rcx, [0x140258f20]
cmp r13, qword [rcx + rax*8]
jbe 0x140069199
mov rax, qword [0x140307868]
add rax, r14
call rax
cdqe
lea rcx, [0x140258f40]
cmp r13, qword [rcx + rax*8]
jae 0x140069347
mov rax, qword [0x140307870]
add rax, r14
call rax
cdqe
lea rdx, [0x140258f60]
add rbx, qword [rdx + rax*8]
mov rax, qword [0x140307878]
add rax, r14
mov rcx, rbx
call rax
test rax, rax
je 0x140069351
mov rbx, rax
mov rax, qword [0x140307888]
add rax, r14
call rax
cdqe
lea rcx, [0x140258f80]
mov r15, qword [rcx + rax*8]
add r15, rbx
mov rax, qword [0x140307890]
add rax, r14
call rax
cdqe
lea rcx, [0x140258fa0]
and r15, qword [rcx + rax*8]
mov qword [r15 - 8], rbx
mov rbx, r15
jmp 0x1400691ab
mov rax, qword [0x140307878]
add rax, r14
mov rcx, rbx
call rax
mov rbx, rax
mov rbp, qword [rsi]
mov r13, qword [rsi + 8]
cmp rbp, r13
je 0x140069221
xor eax, eax
nop dword [rax]
mov r15, rax
movzx eax, byte [rbp + rax]
mov byte [rbx + r15], al
mov rax, qword [rbp + r15 + 8]
mov qword [rbx + r15 + 8], rax
mov rax, qword [0x140307898]
add rax, r14
call rax
movzx eax, byte [0x1402a2fc0]
movzx ecx, byte [0x1402a2fc1]
shr cl, 6
shl al, 2
or al, cl
xor al, 0x63
mov byte [rbp + r15], al
mov qword [rbp + r15 + 8], 0
lea rcx, [r15 + rbp]
add rcx, 0x10
add r15, 0x10
mov rax, r15
cmp rcx, r13
jne 0x1400691c0
mov rax, qword [rsi]
jmp 0x140069224
mov rax, r13
mov rdi, qword [rdi]
test rax, rax
je 0x1400692fe
mov r15, qword [rsi + 8]
cmp rax, r15
je 0x140069267
nop dword [rax]
mov r13, rax
movzx edx, byte [rax]
mov rax, qword [0x1403078a0]
add rax, r14
lea rcx, [r13 + 8]
call rax
add r13, 0x10
mov rax, r13
cmp r13, r15
jne 0x140069240
mov r15, qword [rsi]
jmp 0x14006926a
mov r15, rax
mov r13, qword [rsi + 0x10]
sub r13, r15
mov rax, qword [0x1403078a8]
add rax, r14
call rax
cdqe
lea rcx, [0x140258fc0]
cmp r13, qword [rcx + rax*8]
jbe 0x1400692ec
mov rbp, qword [r15 - 8]
mov rax, qword [0x1403078b0]
add rax, r14
call rax
cdqe
lea rcx, [0x140258fe0]
add r15, qword [rcx + rax*8]
sub r15, rbp
mov rax, qword [0x1403078b8]
add rax, r14
call rax
cdqe
lea rcx, reloc.WLDAP32.dll_Ordinal_32
cmp r15, qword [rcx + rax*8]
jae 0x140069351
mov rax, qword [0x1403078c0]
add rax, r14
call rax
cdqe
lea rcx, [0x140259020]
add r13, qword [rcx + rax*8]
mov rdx, r13
mov rcx, rbp
jmp 0x1400692f2
mov rdx, r13
mov rcx, r15
mov rax, qword [0x1403078c8]
add rax, r14
call rax
sub r12, qword [rsp + 0x20]
add r14, qword [0x1403078d0]
call r14
cdqe
lea rcx, reloc.WS2_32.dll_connect
movzx ecx, byte [rcx + rax*8]
sar r12, cl
mov qword [rsi], rbx
shl r12, 4
add r12, rbx
mov qword [rsi + 8], r12
shl rdi, 4
add rdi, rbx
mov qword [rsi + 0x10], rdi
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
add r14, qword [0x140307848]
call r14
add r14, qword [0x140307880]
call r14
int3