Function at 0x1401174c0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xd8
mov edi, r9d
mov dword [rsp + 0x2c], r8d
mov r14d, edx
mov rsi, rcx
mov r12d, dword [rsp + 0x140]
mov rax, qword [0x1404a7eb8]
xor rax, rsp
mov qword [rsp + 0xd0], rax
mov rax, qword [rcx]
call qword [rax + 0x50]
xor r13d, r13d
cmp r12d, eax
jle 0x140117579
xor r13d, r13d
nop dword [rax]
mov r15d, r14d
mov ebp, r12d
shr ebp, 0x1f
add ebp, r12d
sar ebp, 1
mov rax, qword [rsi]
mov rcx, rsi
mov edx, r14d
mov r8d, edi
mov r9d, ebp
call qword [rax + 0x38]
mov r14d, eax
mov rax, qword [rsi]
mov rcx, rsi
mov edx, r14d
mov r8d, edi
call qword [rax + 0x18]
mov word [rsp + r13*2 + 0xb0], ax
mov dword [rsp + 0x20], ebp
mov rcx, rsi
mov edx, r15d
mov r8d, r14d
mov r9d, edi
call fcn.1401174c0
mov dword [rsp + r13*4 + 0x70], eax
inc r13
sub r12d, ebp
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x50]
cmp r12d, eax
jg 0x140117510
lea eax, [r12 - 1]
cmp eax, 2
mov ebp, 1
cmovge ebp, eax
lea eax, [rdi + 1]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x30], rbp
neg rbp
mov ebx, 1
jmp 0x1401175ca
mov rax, qword [rsi]
mov rcx, rsi
mov edx, r14d
call qword [rax + reloc.WS2_32.dll_recv]
cmp dword [rsp + 0x28], eax
sete al
mov byte [rsp + rbx + 0x3b], al
lea rax, [rbx + rbp]
inc rax
inc rbx
mov r14d, r15d
cmp rax, 1
je 0x140117605
mov dword [rsp + rbx*4 + 0x4c], r14d
lea r15d, [r14 + 1]
mov rax, qword [rsi]
mov rcx, rsi
mov edx, r14d
mov r8d, edi
call qword [rax + 0x18]
mov r10, qword [rsi]
mov rcx, rsi
mov edx, r15d
mov r8d, edi
mov r9d, eax
call qword [r10 + 0x40]
mov r15d, eax
lea eax, [r15 - 1]
cmp r14d, eax
je 0x1401175a0
xor eax, eax
jmp 0x1401175b3
mov rax, qword [rsp + 0x30]
mov dword [rsp + rax*4 + 0x50], r15d
jmp 0x140117629
dec rbx
cmp rbx, 1
jle 0x14011764c
cmp byte [rsp + rbx + 0x3a], 0
jne 0x140117620
mov edx, dword [rsp + rbx*4 + 0x48]
mov r8d, dword [rsp + rbx*4 + 0x4c]
mov rcx, rsi
mov r9d, dword [rsp + 0x28]
call fcn.140116ef0
mov dword [rsp + rbx*4 + 0x38], eax
jmp 0x140117620
mov rcx, rsi
mov edx, r15d
mov r8d, dword [rsp + 0x2c]
mov r9d, dword [rsp + 0x28]
call fcn.140116ef0
mov rax, qword [rsi]
mov rcx, rsi
mov edx, r15d
mov r8d, edi
call qword [rax + 0x18]
movzx edx, ax
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + reloc.WS2_32.dll_WSASetLastError]
cmp r12d, 2
jl 0x1401176e3
add r12d, 0xfffffffe
inc r12
jmp 0x1401176c6
sub eax, dword [rsp + r12*4 + 0x3c]
mov r9, qword [rsi]
mov rcx, rsi
mov edx, eax
mov r8d, ebp
call qword [r9 + 0x80]
mov rax, qword [rsi]
mov rcx, rsi
mov edx, ebx
mov r8d, edi
call qword [rax + 0x18]
movzx edx, ax
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + reloc.WS2_32.dll_WSASetLastError]
dec r12
jle 0x1401176e3
mov ebx, dword [rsp + r12*4 + 0x4c]
movzx ebp, byte [rsp + r12 + 0x3b]
test bpl, bpl
je 0x140117690
mov rax, qword [rsi]
mov rcx, rsi
mov edx, ebx
call qword [rax + 0x20]
jmp 0x140117695
test r13d, r13d
jle 0x14011771a
mov edi, r13d
inc rdi
nop
mov edx, dword [rsp + rdi*4 + 0x68]
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x90]
movzx edx, word [rsp + rdi*2 + 0xac]
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + reloc.WS2_32.dll_WSASetLastError]
dec rdi
cmp rdi, 1
ja 0x1401176f0
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
cmp rcx, qword [0x1404a7eb8]
jne 0x140117742
add rsp, 0xd8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
call fcn.14029fd30
int3