Function at 0x14015acf0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov dword [rsp + 8], ecx
push rsi
push rdi
sub rsp, 0x1a8
cmp dword [rsp + 0x1c0], 0x10000000
jae 0x14015ad1a
xor eax, eax
jmp 0x14015af5f
mov eax, dword [rsp + 0x1c8]
mov ecx, dword [rsp + 0x1c0]
add ecx, eax
mov eax, ecx
mov ecx, eax
call fcn.1400b9f90
mov dword [rsp + 0x48], eax
cmp dword [rsp + 0x48], 0
jbe 0x14015ad55
mov eax, dword [rsp + 0x1c8]
mov ecx, dword [rsp + 0x1c0]
add ecx, eax
mov eax, ecx
jmp 0x14015af5f
mov eax, dword [rsp + 0x1d0]
mov ecx, dword [rsp + 0x1c0]
add ecx, eax
mov eax, ecx
mov ecx, eax
call fcn.1400b9f90
mov dword [rsp + 0x4c], eax
cmp dword [rsp + 0x4c], 0
jbe 0x14015ad90
mov eax, dword [rsp + 0x1d0]
mov ecx, dword [rsp + 0x1c0]
add ecx, eax
mov eax, ecx
jmp 0x14015af5f
mov eax, dword [rsp + 0x1c0]
mov ecx, dword [rsp + 0x1d0]
lea eax, [rax + rcx + 0xc]
mov edx, eax
lea rcx, [rsp + 0xe8]
call fcn.14014a590
mov qword [rsp + 0xe0], rax
lea rax, [rsp + 0x38]
mov rdi, rax
mov rsi, qword [rsp + 0xe0]
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
cmp dword [rsp + 0x38], 0
jbe 0x14015ae7d
mov dword [rsp + 0x2c], 0
mov dword [rsp + 0x50], 4
mov dword [rsp + 0x24], 0
mov eax, dword [rsp + 0x50]
cmp dword [rsp + 0x24], eax
jge 0x14015ae6f
mov eax, dword [rsp + 0x38]
mov ecx, dword [rsp + 0x24]
lea eax, [rax + rcx*4 + 0x80]
mov ecx, eax
call fcn.1400b9f90
mov dword [rsp + 0x54], eax
mov eax, dword [rsp + 0x54]
mov dword [rsp + 0x58], eax
mov eax, dword [rsp + 0x58]
mov ecx, dword [rsp + 0x38]
add ecx, eax
mov eax, ecx
mov ecx, eax
call fcn.14014a4d0
mov byte [rsp + 0x20], al
mov eax, dword [rsp + 0x24]
shl eax, 3
movzx ecx, byte [rsp + 0x20]
mov dword [rsp + 0x5c], ecx
movzx ecx, al
mov eax, dword [rsp + 0x5c]
shl eax, cl
mov dword [rsp + 0x60], eax
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x60]
mov ecx, dword [rsp + 0x2c]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x2c], eax
jmp 0x14015adf3
mov eax, dword [rsp + 0x2c]
jmp 0x14015af5f
cmp dword [rsp + 0x3c], 0
jbe 0x14015aee9
mov ecx, dword [rsp + 0x3c]
call fcn.1400b9f90
mov dword [rsp + 0x64], eax
mov eax, dword [rsp + 0x64]
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0
jbe 0x14015aee7
mov eax, dword [rsp + 0x28]
sub eax, 0x4000000
and eax, 0xff000000
mov ecx, dword [rsp + 0x28]
add ecx, 0xfc0000
and ecx, 0xff0000
mov edx, dword [rsp + 0x28]
sub edx, 4
movzx edx, dl
movzx edi, word [rsp + 0x28]
sub edi, 0x400
and edi, 0xff00
or edi, edx
mov edx, edi
or edx, ecx
mov ecx, edx
or ecx, eax
mov eax, ecx
jmp 0x14015af5f
jmp 0x14015af45
cmp dword [rsp + 0x40], 0
jbe 0x14015af17
mov ecx, dword [rsp + 0x40]
call fcn.1400b9f90
mov dword [rsp + 0x68], eax
mov eax, dword [rsp + 0x68]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jbe 0x14015af15
mov eax, dword [rsp + 0x30]
ror eax, 0x18
jmp 0x14015af5f
jmp 0x14015af45
cmp dword [rsp + 0x44], 0
jbe 0x14015af45
mov ecx, dword [rsp + 0x44]
call fcn.1400b9f90
mov dword [rsp + 0x6c], eax
mov eax, dword [rsp + 0x6c]
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
jbe 0x14015af45
mov eax, dword [rsp + 0x34]
xor eax, 0xcdcd00
jmp 0x14015af5f
xor eax, eax
jmp 0x14015af5f
add rsp, 0x1a8
pop rdi
pop rsi
ret