Function at 0x180013590
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x178
lea eax, [rcx + 0x465]
mov r10, rdx
mov dword [rsp + 0x4c], eax
mov ebx, ecx
cmp ecx, eax
jae 0x18001382d
movzx esi, byte [rsp + 0x1c0]
mov r11d, 0x73
mov rdi, qword [rsp + 0x30]
mov r13, qword [rsp + 0x30]
mov r14, qword [rsp + 0x30]
movzx ebp, byte [rsp + 0x1c0]
movzx r12d, byte [rsp + 0x1c0]
movzx r15d, byte [rsp + 0x1c0]
lea rdx, [0x180000000]
cmp ebx, 0x1c0
ja 0x1800137e5
je 0x1800137b5
lea eax, [rbx - 0xc1]
cmp eax, 0xe1
ja case.0x180013640.203
movzx eax, byte [rdx + rax + 0x139d4]
mov ecx, dword [rdx + rax*4 + 0x139a8]
add rcx, rdx
jmp rcx
cmp qword [r9 + 0x18], 0x10
mov r8, r9
jb 0x18001364f
mov r8, qword [r9]
mov eax, dword [r9 + 0x10]
lea rdx, [rsp + 0x60]
lea r9, [rsp + 0x1c0]
mov dword [rsp + 0x1c0], eax
mov ecx, 0xb9
call fcn.180010060
mov r10, qword [rsp + 0x1c8]
mov r11d, 0x73
mov r9, qword [rsp + 0x1d8]
movzx esi, byte [rsp + 0x160]
jmp case.0x180013640.203
cmp qword [r10 + 0x18], 0x10
lea rdi, [rsp + 0x60]
mov r13, r10
jb case.0x180013640.203
mov r13, qword [r10]
jmp case.0x180013640.203
movss xmm1, dword [r8 + 4]
mulss xmm1, dword [r9]
movss xmm0, dword [r9 + 4]
mulss xmm0, dword [r8]
subss xmm1, xmm0
movss dword [r10 + 8], xmm1
movss xmm1, dword [r8 + 0xc]
mulss xmm1, dword [r9 + 0xc]
subss xmm1, xmm1
movss dword [r10 + 0xc], xmm1
jmp case.0x180013640.203
xor r14d, r14d
jmp case.0x180013640.203
mov r8d, 4
lea rdx, str.ckop
lea rcx, [rsp + 0x38]
call fcn.18003fbe0
mov eax, 0x74
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x38]
mov word [rsp + 0x41], ax
lea r8, str.ws2_32.dll
xor edx, edx
lea ecx, [rax - 0x47]
call fcn.180019870
mov r10, qword [rsp + 0x1c8]
mov r11d, 0x73
mov r9, qword [rsp + 0x1d8]
mov qword [rsp + 0x30], rax
jmp case.0x180013640.203
movss xmm1, dword [r8 + 8]
movss xmm0, dword [r8 + 4]
mulss xmm1, dword [r9 + 4]
mulss xmm0, dword [r9 + 8]
subss xmm1, xmm0
movss dword [r10], xmm1
jmp case.0x180013640.203
mov word [rsp + 0x38], r11w
jmp case.0x180013640.203
movzx ebp, byte [rsp + 0x161]
jmp case.0x180013640.203
movss xmm1, dword [r9 + 8]
movss xmm0, dword [r8 + 8]
mulss xmm1, dword [r8]
mulss xmm0, dword [r9]
subss xmm1, xmm0
movss dword [r10 + 4], xmm1
jmp case.0x180013640.203
mov rdx, r10
mov ecx, 0x66
call fcn.1800058a0
test al, al
je 0x180013995
mov r10, qword [rsp + 0x1c8]
mov r11d, 0x73
mov r9, qword [rsp + 0x1d8]
jmp case.0x180013640.203
mov eax, ebx
sub eax, 0x1c5
je 0x18001399f
sub eax, 0x28
je 0x1800138d5
sub eax, 0x1e
je 0x180013816
cmp eax, 0x2d
jne case.0x180013640.203
mov byte [rsp + 0x161], bpl
jmp case.0x180013640.203
mov ebx, 0x50
nop dword [rax + rax]
cmp ebx, 0x50
je 0x180013846
cmp ebx, 0x110
jne 0x180013886
mov rax, qword [rsp + 0x50]
add rsp, 0x178
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov rcx, qword [r10]
xor eax, eax
cmp byte [r9], al
mov edx, 6
lea r9, [rsp + 0x48]
mov dword [rsp + 0x20], 4
setne al
mov dword [rsp + 0x48], eax
lea r8d, [rdx - 5]
call qword [rsp + 0x30]
mov r10, qword [rsp + 0x1c8]
test eax, eax
mov r9, qword [rsp + 0x1d8]
sete byte [rsp + 0x50]
add ebx, 0xc0
cmp ebx, 0x1d0
jb 0x180013820
mov ebx, dword [rsp + 0x1c0]
mov r8d, 1
mov dword [rsp + 0x39], 0x737465
lea rdx, [0x1800530c8]
lea rcx, [rsp + 0x38]
call fcn.18003fbe0
mov r10, qword [rsp + 0x1c8]
mov r11d, 0x73
mov r9, qword [rsp + 0x1d8]
jmp case.0x180013640.203
cmp r14, qword [r10 + 0x10]
jae 0x18001396c
nop
mov r8d, 0xb0
cmp r8d, 0xb0
je 0x180013943
cmp r8d, 0x6b40
je 0x18001392e
cmp r8d, 0xd5d0
je 0x18001391b
cmp r8d, 0x14060
jne 0x180013952
movzx eax, r15b
movzx ecx, byte [rax + rdi]
xor byte [r14 + r13], cl
inc r14
jmp 0x180013952
movzx ecx, bpl
movzx eax, sil
movzx r15d, byte [rcx + rdi]
add r15b, byte [rax + rdi]
jmp 0x180013952
movzx edx, bpl
movzx ecx, sil
movzx eax, byte [rdx + rdi]
mov byte [rcx + rdi], al
mov byte [rdx + rdi], r12b
jmp 0x180013952
inc sil
movzx eax, sil
movzx r12d, byte [rax + rdi]
add bpl, r12b
add r8d, 0x6a90
cmp r8d, 0x1aa40
jbe 0x1800138e6
cmp r14, qword [r10 + 0x10]
jb 0x1800138e0
mov byte [rsp + 0x160], sil
add ebx, 0x4b
mov dword [rsp + 0x1c0], ebx
cmp ebx, dword [rsp + 0x4c]
jae 0x18001382d
mov r8, qword [rsp + 0x1d0]
jmp 0x180013604
mov byte [rsp + 0x50], 0
jmp 0x18001382d
mov rax, r10
jmp 0x180013832