Function at 0x140137e00
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x80]
sub rsp, 0x180
mov edi, edx
mov r11d, ecx
xor r10d, r10d
mov dword [rbp - 0x80], 0x7050000
mov dword [rbp - 0x7c], 0x7430738
mov dword [rbp - 0x78], 0x7880763
mov dword [rbp - 0x74], 0x7cb0794
mov dword [rbp - 0x70], 0x7f807e8
mov dword [rbp - 0x6c], 0x83e080c
mov dword [rbp - 0x68], 0x89e0878
mov dword [rbp - 0x64], 0x8ee08d8
mov dword [rbp - 0x60], 0x94f0928
mov dword [rbp - 0x5c], 0x9b809a8
mov dword [rbp - 0x58], 0xa2409d4
mov dword [rbp - 0x54], 0xaac0a6c
mov dword [rbp - 0x50], 0xb1a0ade
mov dword [rbp - 0x4c], 0xb8a0b4e
mov dword [rbp - 0x48], 0xbb80ba8
mov dword [rbp - 0x44], 0xd080bd4
mov dword [rbp - 0x40], 0xe700d80
mov dword [rbp - 0x3c], 0xe900e80
mov dword [rbp - 0x38], 0xeb60ea0
mov dword [rbp - 0x34], 0xf380ef8
mov dword [rbp - 0x30], 0xf580f48
mov dword [rbp - 0x2c], 0xf800f68
mov dword [rbp - 0x28], 0xfc80fa8
mov dword [rbp - 0x24], 0x100a0fd8
mov dword [rbp - 0x20], 0x104a102a
mov dword [rbp - 0x1c], 0x108a106a
mov dword [rbp - 0x18], 0x10c810aa
mov dword [rbp - 0x14], 0x10f810d8
mov dword [rbp - 0x10], 0x11481138
mov dword [rbp - 0xc], 0x1178115a
mov dword [rbp - 8], 0x11981188
mov dword [rbp - 4], 0x18361804
mov dword [rbp], 0x18881878
mov dword [rbp + 4], 0x191d18d8
mov dword [rbp + 8], 0x19811969
mov dword [rbp + 0xc], 0xf01cf008
mov dword [rbp + 0x10], 0xf05ef048
mov dword [rbp + 0x14], 0xf0aaf098
mov dword [rbp + 0x18], 0xf0e8f0ca
mov dword [rbp + 0x1c], 0xf108f0f8
mov dword [rbp + 0x20], 0xf158f11e
mov dword [rbp + 0x24], 0xf178f168
mov dword [rbp + 0x28], 0xf1b8f18c
mov dword [rbp + 0x2c], 0xf1daf1c8
mov dword [rbp + 0x30], 0xf22ef1fc
mov dword [rbp + 0x34], 0xf2aaf26e
mov dword [rbp + 0x38], 0xf2e8f2ca
mov dword [rbp + 0x3c], 0xf30af2f8
mov dword [rbp + 0x40], 0xf35ef32c
mov dword [rbp + 0x44], 0xf3caf39c
mov dword [rbp + 0x48], 0xf40ef3ea
mov dword [rbp + 0x4c], 0xf45af448
mov dword [rbp + 0x50], 0xf48cf478
mov dword [rbp + 0x54], 0xf4b8f4b0
mov dword [rbp + 0x58], 0xf4c8f4c0
mov dword [rbp + 0x5c], 0xf52ef50a
mov dword [rbp + 0x60], 0xf5aaf56e
mov dword [rbp + 0x64], 0xf5fef5cc
mov dword [rbp + 0x68], 0xf64af638
mov dword [rbp + 0x6c], 0xf68ef66a
mov dword [rbp + 0x70], 0xf70af6ce
mov dword [rbp + 0x74], 0xf74ef72a
mov dword [rbp + 0x78], 0xf79ef788
mov dword [rsp], 0x65636100
mov dword [rsp + 4], 0x756f6e69
mov dword [rsp + 8], 0x63617979
mov dword [rsp + 0xc], 0x67656564
mov dword [rsp + 0x10], 0x6b6a6968
mov dword [rsp + 0x14], 0x726f6e6c
mov dword [rsp + 0x18], 0x75757473
mov dword [rsp + 0x1c], 0x6f7a7977
mov dword [rsp + 0x20], 0x6f696175
mov dword [rsp + 0x24], 0x67e1f575
mov dword [rsp + 0x28], 0x6aef6f6b
mov dword [rsp + 0x2c], 0x61e16e67
mov dword [rsp + 0x30], 0x726f6965
mov dword [rsp + 0x34], 0x68747375
mov dword [rsp + 0x38], 0x6fef6561
lea ebx, [rcx*8]
mov qword [rsp + 0x3c], 0x79ef
mov dword [rsp + 0x44], 0x62610000
mov dword [rsp + 0x48], 0xe56464e3
mov dword [rsp + 0x4c], 0x6766e565
mov dword [rsp + 0x50], 0xe9696868
or ebx, 7
mov dword [rsp + 0x54], 0x6cec6c6b
mov dword [rsp + 0x58], 0x70ef6e6d
mov dword [rsp + 0x5c], 0x7372f272
mov dword [rsp + 0x60], 0xf57574f3
mov dword [rsp + 0x64], 0x78777776
mov dword [rsp + 0x68], 0x74687a79
mov dword [rsp + 0x6c], 0xe1617977
mov dword [rsp + 0x70], 0xe565e1e1
mov dword [rsp + 0x74], 0xef6f69e5
mov dword [rsp + 0x78], 0xf575efef
mov word [rsp + 0x7c], 0x79f5
mov r8d, 0x7d
mov r9d, r10d
lea eax, [r9 + r8]
cdq
sub eax, edx
sar eax, 1
movsxd rcx, eax
movzx edx, word [rbp + rcx*2 - 0x80]
cmp ebx, edx
jb 0x14010e520
mov r10d, eax
lea r9d, [rax + 1]
jmp 0x14010e524
lea r8d, [rax - 1]
cmp r8d, r9d
jge 0x14010e502
test edi, edi
jne 0x14010e536
movsxd rax, r10d
test byte [rsp + rax], 0x80
jne 0x14010e556
movsxd rdx, r10d
movzx eax, word [rbp + rdx*2 - 0x80]
mov ecx, eax
and eax, 7
shr ecx, 3
add ecx, eax
cmp r11d, ecx
jg 0x14010e556
movzx r11d, byte [rsp + rdx]
and r11d, 0x7f
mov eax, r11d
lea r11, [rsp + 0x180]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
push rdi
sub rsp, 0x20
mov edi, edx
mov r8d, ecx
cmp ecx, 0x80
jge 0x140137e2c
lea eax, [rcx - 0x41]
cmp eax, 0x19
ja 0x140137e24
lea eax, [rcx + 0x20]
add rsp, 0x20
pop rdi
ret
mov eax, ecx
add rsp, 0x20
pop rdi
ret
cmp ecx, 0x10000
jge 0x140137f01
mov qword [rsp + 0x30], rbx
xor ebx, ebx
mov qword [rsp + 0x38], rsi
mov r9d, 0xa2
or r11d, 0xffffffff
lea rsi, [0x140000000]
mov r10d, ebx
nop dword [rax + rax]
lea eax, [r10 + r9]
cdq
sub eax, edx
sar eax, 1
movsxd rcx, eax
movzx edx, word [rsi + rcx*4 + 0x1db020]
cmp r8d, edx
js 0x140137e82
mov r11d, eax
lea r10d, [rax + 1]
jmp 0x140137e86
lea r9d, [rax - 1]
cmp r9d, r10d
jge 0x140137e60
movsxd rax, r11d
lea rdx, [rax*4 + 0x1db020]
movzx ecx, word [rdx + rsi]
movzx eax, byte [rdx + rsi + 3]
add eax, ecx
cmp r8d, eax
jge 0x140137ed0
movzx r9d, byte [rdx + rsi + 2]
xor ecx, r8d
mov eax, r9d
and eax, 1
and eax, ecx
test al, al
jne 0x140137ed0
mov eax, r9d
shr rax, 1
movzx eax, word [rsi + rax*2 + 0x1db2b0]
add eax, r8d
movzx r8d, ax
mov rsi, qword [rsp + 0x38]
test edi, edi
je 0x140137ef3
cmp edi, 2
mov ecx, r8d
sete bl
mov edx, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp 0x14010e220
mov eax, r8d
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
lea eax, [rcx - 0x10400]
cmp eax, 0x27
ja 0x140137e24
lea eax, [rcx + 0x28]
add rsp, 0x20
pop rdi
ret