Function at 0x140d16765
Capabilities:
Encrypt data using rc4 prga

Disassembly:
test qword [rsp + 0x10], 0x398a5baf
call fcn.1406ee258
not edx
mov r8, r12
not r8
cmp r12b, r8b
call fcn.140d3a149
bswap r8
add qword [rsp + 0x20], 0xffffffffffff6ae0
test r8w, r8w
jl 0x140d16751
lea r8, [r8 + 0x82a10cf]
lea r8, [r8 + r8*4 + 0x5ad13efd]
cmp r8, 0x24c651c8
call fcn.140cdb135
mov dword [rbp + 0x30], 0x53938b7a
xchg ecx, eax
mov eax, 0xa8fd60a6
scasb al, byte [rdi]
rcl edx, 0x76
pop rax
invalid
sub r10, 0x35a64bd6
sub word [rsp + 0x30], bp
sub r10w, bp
not r10d
movzx bp, bpl
cmovle rbp, r10
mov rbp, qword [rsp + 8]
xor r10b, r10b
or dword [rsp + 0x18], 0x1f731f14
add dword [rsp + 0x30], r10d
add r10, r10
add byte [rsp + 0x18], 0x62
test word [rsp + 0x18], r10w
not word [rsp + 0x18]
call fcn.140d08c31
push 0xffffffffb98d9e15
enter 0xffffffffffffc339, 0x23
ret 0x677e
and byte [rsp + 8], 0x5c
jl 0x14072c316
mov word [rsp + 8], 0x6434
cmp byte [rsp + 8], 0x47
push 0x6a420d25
call fcn.140d3ffab
cwde
outsb dx, byte [rsi]
push rsp
adc al, 0x5a
mov ah, 0x1e
test al, 0xeb
pop rax
jb 0x140ce57b9
push rbx
adc al, 0xf5
in eax, dx
pop rbp
pop rdx
adc al, 0x25
movsb byte [rdi], byte es:[rsi]
movabs byte [0xcdc9145ccbc750eb], al
mov esi, 0xd976eba1
sbb eax, 0x9bf7ebaa
iretd
mov rsi, r8
setb sil
neg sil
lea rsi, [r8 + r11*8 + 0x1875249]
not r8w
mov qword [rsp + 0x30], 0x3701bd9a
jo 0x140d94c20
not r8d
movabs r13, 0x3aeb7c015b502599
cmovb r11w, si
setge r8b
cmp esi, 0x30b9372c
call fcn.14071cb91
not cl
push r14
push r12
mov r12, qword [rsp + 0x18]
mov r14, qword [rsp + 0x18]
movzx r14, word [rsp + 0x18]
cmovl cx, r14w
add r12w, word [rsp + 0x1d]
not r14d
xor r14d, r12d
neg r14
movzx cx, word [rsp + 0x18]
sub r12, rcx
mov rcx, qword [rsp + 0x28]
mov qword [rsp + 0x28], 0xffffffffcf4d1105
push r12
add r12b, byte [rsp + 4]
test byte [rsp], 0x10
lea r12, [r14 + 0x27247bd5]
setge r12b
push rbx
not r12b
jl 0x140d167ad
bswap r12
push rcx
mov rcx, r14
jb 0x140dad4dc
add qword [rsp + 0x28], 0xffffffffff8d0e48
sub r14d, dword [rsp + 0x30]
test cx, 0x7163
mov r14d, r12d
mov r12, qword [rsp + 0x18]
mov rbx, rcx
mov r14, qword [rsp + 0x20]
mov rbx, qword [rsp + 8]
mov rcx, qword [rsp]
lea rsp, [rsp + 0x28]
ret 8
mov dword [rsp], 0x43436a76
mov rdx, rsi
add qword [rsp + 0x30], 0x678039
or dil, 0x77
mov r13d, r11d
cmp word [rsp], si
mov rdi, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x20]
mov r9, qword [rsp + 8]
lea rsp, [rsp + 0x30]
ret 8
call fcn.140ce8050
jno 0x1406d7457
push r10
or esi, 0x22b97c41
mov rsi, qword [rsp + 8]
jns 0x140d1671f
sub r8d, 0x27a96dc9
jo 0x140d3a1d9
movabs r10, 0x40450c7e4e660c24
xor r10d, r10d
not r13
lea r10, [r10 + r13 + 0xbd7623f]
neg r10w
or r13w, r8w
and r8, 0x36435298
cmp r8w, 0x2421
movzx r13w, r11w
not r11d
lea r10, [r11 + r13*8 + 0x5f6e2d4b]
call fcn.140d2e179
std
invalid
pushfq
movabs rcx, 0x12c79dc6fb77f10
movsx rcx, cx
test cl, 0x1f
movabs rcx, 0x5f086ddd71e60922
movzx ecx, cl
jb 0x140dad4c0
push 0x66a023e0
test qword [rsp], rcx
not dword [rsp]
call 0x140d16765
push rbx
push 0x8254e11
pushfq
sub byte [rsp + 8], 0xd0
jbe 0x140ce578c
movsd dword [rdi], dword [rsi]
push rdx
movabs rdx, 0x111249de17403dba
pushfq
and dl, dl
neg dl
call fcn.140ce3c07
repne scasw ax, word [rdi]
push rcx
pushfq
movabs rcx, 0x380f2fd955dd2c1d
bswap ecx
call fcn.14070f0d1
repne scasw ax, word [rdi]
push rbp
pushfq
movabs rbp, 0x5e2a1b7d3eb11d7b
sub bp, 0x4ac7
xor bp, bp
add bpl, 0x5d
add bp, 0x6b85
not bpl
test bpl, 0x85
movsx bp, bp
push r14
movabs r14, 0x28f310c72cb33d67
push r15
setns r14b
push r11
movabs r15, 0x63a03aa67d390e00
neg r15
xor ebp, 0x198b6ebb
movabs r11, 0x75785d850ebe60e4
setge r11b
call fcn.140d6d35b
pop rcx
push rcx
pushfq
movabs rcx, 0x1a9805ff16562d5c
and rcx, 0x464c5a29
lea rcx, [rcx + rcx*8 + 0xcb31cb9]
mov cl, 0x5a
neg ecx
movzx cx, cx
xor ecx, 0x72c36be3
add cl, 0x28
push r13
mov r13, rcx
test r13b, r13b
movzx rcx, r13w
not r13w
call fcn.1406c718a
popfq
call fcn.1406a3ab1
rep movsb byte [rdi], byte [rsi]
call fcn.1406c1352
pop qword [rcx + 0x56]
movabs r14, 0x8af53924e002d60
push rdx
pushfq
movabs rdx, 0x4207d85108e24f9
push rdi
mov rdi, rdx
neg edx
xor edx, 0x11d77624
push rdi
push r15
movabs r15, 0x64c8478f2ff5497f
sub dx, dx
sub word [rsp + 8], 0x3d03
mov r14, qword [rsp + 0x28]
mov qword [rsp + 0x28], 0xffffffffe1334c6c
setle r15b
movzx r15, dil
cmp r15b, 0x1a
push r15
mov rdx, r15
lea r15, [r15 + r15*8 + 0x35095a35]
jno 0x1406a2c65
add al, 0x68
cld
cmp bl, byte [rbx + 0x54f7662e]
and al, 0
push r9
pushfq
mov r9, qword [rsp + 0x10]
call fcn.140cdc156
pushfq
push r12
movabs r12, 0x1743718471054027
add r12b, 0x4a
lea r12, [r12 + 0x74b378ed]
setns r12b
push rdx
push r8
movabs rdx, 0xc697ced13093eee
jae 0x1406cee2f
sub eax, 0x24
invalid