Function at 0x1400099f0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
sub rsp, 0x38
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x30], rcx
mov ecx, dword [0x14024b718]
xor ecx, 0x521a9782
mov eax, dword [0x14024b71c]
xor eax, 0x83c60209
add ecx, eax
mov edx, 0x69ab2bb8
xor edx, 0x9654d447
mov eax, ecx
xor eax, edx
and eax, 0x9d679bfa
mov edx, 0xffffffff
xor edx, 0x9d679bfa
and ecx, edx
or eax, ecx
sub eax, 0xdde68103
xor ecx, ecx
sub ecx, eax
xor eax, eax
sub eax, 0x1b47d278
add ecx, eax
xor eax, eax
sub eax, ecx
cmp eax, 0xe091bc04
jae 0x140009c6c
mov rcx, qword [rsp + 0x30]
mov r8, qword [rsp + 0x28]
mov edx, dword [0x14024b720]
mov r9d, dword [0x14024b724]
xor eax, eax
sub eax, r9d
sub edx, eax
mov eax, edx
and eax, 0xc70359cf
or edx, 0xc70359cf
add eax, edx
mov edx, 0x20e5fd6b
xor edx, 0xa10103a4
xor eax, edx
imul eax, eax, 0xa7dad536
mov rdx, r8
and rdx, 0xff
xor rdx, 0xffffffffffffffff
movabs r9, 0x3f8dd384d08f94a
movabs r10, 0xfc0722c7b2f706b5
xor r9, r10
xor r8, r9
mov r9, 0xffffffffffffffff
xor r9, 0xff
or r8, r9
xor rdx, 0xffffffffffffffff
movabs r9, 0xc2d3441d7c1b42c
movabs r10, 0xf3d2cbbe283e4bd3
xor r9, r10
xor r8, r9
or rdx, r8
shl rdx, 3
add rcx, rdx
mov qword [rsp + 0x20], rcx
cmp eax, 0x52760ee4
jae 0x140009a5b
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x18], rax
jmp 0x140009b1b
mov rax, qword [rsp + 0x18]
mov qword [rsp + 0x10], rax
mov eax, dword [0x14024b728]
xor edx, edx
div dword [0x14024b72c]
mov ecx, 0xbe67ed59
xor ecx, 0x79c1e68b
sub eax, ecx
xor eax, 0xffffffff
mov edx, 0x13f09ec2
xor edx, 0xc300e033
mov ecx, 0x62498c0d
xor ecx, 0x9db673f2
xor edx, ecx
mov ecx, 0xffffffff
xor ecx, 0xef2c4778
or eax, edx
or ecx, 0xef2c4778
mov edx, 0xf0be55ce
xor edx, 0xf41aa31
xor eax, edx
and eax, ecx
and eax, 0x969df4da
cmp eax, 0xe2bb3810
jae 0x140009c75
mov rcx, qword [rsp + 0x10]
mov eax, dword [0x14024b730]
mov edx, 0x489023f8
xor edx, 0x320d0e1
xor eax, edx
and eax, dword [0x14024b734]
mov edx, 0x5bc58502
xor edx, 0xe4ada763
sub eax, edx
mov r8d, 0x75ca1447
xor edx, edx
div r8d
mov edx, 0x9eb87825
xor edx, 0x614787da
mov r8d, eax
xor r8d, edx
and r8d, 0xa2d0a689
mov r9d, 0x7a1013df
xor r9d, 0xd8c0b556
mov edx, 0x66f63c46
xor edx, 0x9909c3b9
xor r9d, edx
mov edx, eax
and edx, r9d
imul edx, r8d
mov r9d, 0xf2b0a727
xor r9d, 0x506001ae
mov r8d, eax
and r8d, r9d
or eax, 0xa2d0a689
imul eax, r8d
add eax, edx
mov rcx, qword [rcx]
mov qword [rsp], rcx
cmp rcx, 0
sete cl
mov byte [rsp + 0xf], cl
cmp eax, 0x76366f12
jae 0x140009c75
mov al, byte [rsp + 0xf]
test al, 1
jne 0x140009c63
jmp 0x140009c4b
mov rax, qword [rsp]
mov rcx, qword [rsp + 0x28]
cmp qword [rax + 8], rcx
mov qword [rsp + 0x18], rax
jne 0x140009b1b
mov rax, qword [rsp]
add rsp, 0x38
ret
add dword [rbx - 0x5e], eax
push rsi
jmp 0x140009a5b
jb 0x140009c9d
xchg esp, eax
loop 0x140009c63
ud0
add byte [rax + 0xf372444], cl
test byte [rdi], bl
add byte [rax], al
mov r8, qword [rsp + 0x20]
mov rax, qword [rsp + 0x28]
movabs rcx, 0x4ce2032c9e97c34c
movabs rdx, 0x4ce2032c9e97c34a
xor rcx, rdx
shr r8, cl
mov rcx, qword [rsp + 0x20]
mov r9, 0xffffffffffffffff
xor r9, 7
mov rdx, r8
xor rdx, r9
and rdx, r8
mov rax, qword [rax + rdx*8 + 0x10]
and rcx, 0x3f
mov edx, 1
shl rdx, cl
mov rcx, rdx
and rax, rcx
cmp rax, 0
setne al
mov byte [rsp + 0x37], al
mov al, byte [rsp + 0x37]
and al, 1
movzx eax, al
add rsp, 0x38
ret