Function at 0x14032a930
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, 0x78
mov rax, qword [0x14050c9a8]
xor rax, rsp
mov qword [rsp + 0x70], rax
test rcx, rcx
je 0x14032aca0
mov r15, rdx
mov rdi, rcx
xor eax, eax
mov ecx, eax
cmp word [rdi + rcx*2], 1
sbb eax, 0xffffffff
cmp word [rdi + rax*2], 0
jne 0x14032a960
test eax, eax
je 0x14032acc8
mov ecx, eax
xor ecx, 1
and eax, 1
lea ecx, [rcx + rax*2]
mov esi, 0xffff4a97
mov eax, dword [0x140503938]
add eax, esi
cdqe
add rax, qword [0x140503970]
lea rdx, [rsp + 0x60]
lea r8, [rsp + 0x68]
mov r9d, 0x1edd980f
call qword [case.0x1400f5c95.0]
mov r13d, dword [rsp + 0x60]
mov r14, qword [rsp + 0x68]
mov eax, dword [0x140503928]
add eax, esi
cdqe
add rax, qword [0x140503990]
mov rcx, r14
mov edx, 0x8266fe9d
call qword [case.0x1400f5c95.0]
test al, 1
jne 0x14032acc8
add esi, dword [0x140503940]
mov rbx, qword [r14 + 0x10]
movsxd rax, esi
add rax, qword [0x140503980]
mov dword [rsp + 0x20], 0x10e8ab4a
lea r8, [rsp + 0x68]
lea r9, [rsp + 0x60]
mov rcx, r14
mov rdx, rbx
call qword [case.0x1400f5c95.0]
xor ebp, ebp
cmp byte [rsp + 0x60], 1
jne 0x14032acd5
mov qword [rsp + 0x50], r15
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x48], rax
test rax, rax
je 0x14032acd5
mov rax, qword [0x14051e6d8]
add rax, r13
mov qword [rsp + 0x58], rax
xor ebp, ebp
mov ecx, 0xffff4a97
mov r15, rbx
xor esi, esi
mov qword [rsp + 0x30], r13
jmp 0x14032aa7f
mov eax, esi
and al, 1
add al, byte [0x1405202b0]
je 0x14032ab10
mov ecx, 0xffff4a97
test sil, 1
jne 0x14032acd5
mov eax, dword [0x14050393c]
mov r12d, 0xffff4a97
add eax, ecx
cdqe
add rax, qword [0x140503958]
mov rcx, r14
mov rdx, rbx
mov r8d, 0x29d615a0
call qword [case.0x1400f5c95.0]
test al, 1
jne 0x14032aa60
mov eax, dword [0x140503934]
add eax, r12d
cdqe
add rax, qword [0x140503978]
mov dword [rsp + 0x28], 0xffc0cce5
mov dword [rsp + 0x20], 0x1edd980f
mov ecx, 1
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [case.0x1400f5c95.0]
test rax, rax
je 0x14032acd5
mov r14, rax
mov rbx, qword [rax + 0x10]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x48], rax
mov r15, rbx
jmp 0x14032aa60
mov qword [rsp + 0x40], rbp
cmp r15, qword [rsp + 0x48]
movzx ebp, sil
mov eax, 1
cmove ebp, eax
add bpl, byte [0x14051d128]
add bpl, byte [0x1405202b0]
add bpl, byte [0x14051d3b0]
movzx eax, word [r15 + 0x58]
add eax, dword [0x14051e1d0]
cmp r13d, eax
ja 0x14032ab60
mov rsi, qword [r15 + 0x60]
test rsi, rsi
je 0x14032ab60
cmp rsi, 0xffff
jne 0x14032abb4
nop dword [rax]
mov edx, 0xffff4a97
lea r8, [rsp + 0x68]
mov rax, qword [r15]
test rax, rax
sete cl
cmovne r15, rax
mov eax, dword [0x140503930]
add eax, edx
cdqe
add rax, qword [0x140503950]
mov edx, ebp
mov r9d, 0xbe3ca422
call qword [case.0x1400f5c95.0]
mov ecx, 0xffff4a97
movzx esi, byte [rsp + 0x68]
mov rbp, qword [rsp + 0x40]
test sil, 1
je 0x14032aa7f
jmp 0x14032acd5
mov qword [rsp + 0x38], rbx
test r13, r13
je 0x14032ac6e
xor r13d, r13d
jmp 0x14032ac09
mov eax, dword [0x140503920]
add eax, edx
cdqe
add rax, qword [0x140503988]
mov rcx, r13
lea rdx, [rsp + 0x60]
mov r8, rbx
mov r9d, 0xacba7020
call qword [case.0x1400f5c95.0]
mov r13, qword [rsp + 0x68]
add r13, qword [rsp + 0x60]
cmp r13, qword [rsp + 0x58]
je 0x14032ac6e
movzx eax, word [rdi + r13*2]
lea ecx, [rax - 0x61]
lea r12d, [rax - 0x20]
cmp cx, 0x1a
cmovae r12d, eax
test r12w, r12w
mov edx, 0xffff4a97
lea rbx, [rsp + 0x68]
je 0x14032abd0
mov eax, dword [0x140503924]
add eax, edx
cdqe
add rax, qword [0x140503968]
mov rcx, rsi
mov rdx, r13
mov r8, rbx
mov r9d, 0x5e1757ac
call qword [case.0x1400f5c95.0]
mov edx, 0xffff4a97
cmp r12w, word [rsp + 0x68]
je 0x14032abd0
mov r13, qword [rsp + 0x30]
mov r8, rbx
jmp 0x14032ac96
mov rax, qword [r15 + 0x30]
mov qword [rsp + 0x40], rax
mov bpl, 1
mov rax, qword [rsp + 0x50]
test rax, rax
mov edx, 0xffff4a97
je 0x14032ac8c
mov qword [rax], r15
mov r13, qword [rsp + 0x30]
lea r8, [rsp + 0x68]
mov rbx, qword [rsp + 0x38]
jmp 0x14032ab6a
mov eax, 0xffff4a97
add eax, dword [0x14050392c]
cdqe
add rax, qword [0x140503960]
lea rcx, [rsp + 0x68]
mov edx, 0x198fb8f7
call qword [case.0x1400f5c95.0]
test al, 1
je 0x14032accc
xor ebp, ebp
jmp 0x14032acd5
mov rax, qword [rsp + 0x68]
mov rbp, qword [rax + 0x10]
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1403a8ad0
mov rax, rbp
add rsp, 0x78
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret