Function at 0x140042910
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xc8
mov rax, qword [0x1403bc658]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov rax, qword [rax + 0x3ed8]
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x38]
mov rax, qword [rax + 0x5c80]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x38]
mov rax, qword [rax + 0x5c88]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x38]
mov qword [rax + 0x5c88], 0
mov rax, qword [rsp + 0x38]
mov qword [rax + 0x5c80], 0
cmp qword [rsp + 0xe0], 0
jne 0x1400429b3
mov rdx, qword [rsp + 0xe0]
mov rcx, qword [rsp + 0xd8]
call fcn.14001c360
mov qword [rsp + 0xe0], rax
cmp qword [rsp + 0xd0], 0
je 0x1400429f6
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x38]
vmovss xmm0, dword [rax + 0x5c90]
vaddss xmm0, xmm0, dword [rcx + 0x3830]
vaddss xmm0, xmm0, dword [0x140319458]
mov rax, qword [rsp + 0xd0]
vcomiss xmm0, dword [rax + 4]
jae 0x1400429f6
mov byte [rsp + 0x30], 1
jmp 0x1400429fb
mov byte [rsp + 0x30], 0
movzx eax, byte [rsp + 0x30]
mov byte [rsp + 0x33], al
cmp qword [rsp + 0xd0], 0
je 0x140042a29
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0xd0]
vmovss xmm0, dword [rcx + 4]
vmovss dword [rax + 0x5c90], xmm0
movzx eax, byte [rsp + 0x33]
test eax, eax
je 0x140042a4a
lea rcx, [0x140219574]
call fcn.1400428a0
mov rax, qword [rsp + 0x38]
mov byte [rax + 0x5c94], 1
cmp qword [rsp + 0x60], 0
je 0x140042aa5
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0xa8], rax
mov qword [rsp + 0x58], 0xffffffffffffffff
inc qword [rsp + 0x58]
mov rax, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0x58]
cmp byte [rax + rcx], 0
jne 0x140042a68
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x60]
add rcx, rax
mov rax, rcx
mov r8, rax
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0xd0]
call fcn.140042910
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x98]
mov ecx, dword [rcx + 0x188]
cmp dword [rax + 0x5c98], ecx
jle 0x140042ad9
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x98]
mov ecx, dword [rcx + 0x188]
mov dword [rax + 0x5c98], ecx
mov rax, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x38]
mov ecx, dword [rcx + 0x5c98]
mov eax, dword [rax + 0x188]
sub eax, ecx
mov dword [rsp + 0x88], eax
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x70], rax
mov rdx, qword [rsp + 0xe0]
mov rcx, qword [rsp + 0x70]
call fcn.140019b10
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0xe0]
cmp qword [rsp + 0x50], rax
jne 0x140042b45
mov byte [rsp + 0x31], 1
jmp 0x140042b4a
mov byte [rsp + 0x31], 0
movzx eax, byte [rsp + 0x31]
mov byte [rsp + 0x32], al
mov rax, qword [rsp + 0x50]
cmp qword [rsp + 0x70], rax
jne 0x140042b6c
movzx eax, byte [rsp + 0x32]
test eax, eax
jne 0x140042ca0
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x50]
sub rcx, rax
mov rax, rcx
mov dword [rsp + 0x90], eax
mov rax, qword [rsp + 0x38]
movzx eax, byte [rax + 0x5c94]
test eax, eax
je 0x140042ba3
mov eax, dword [rsp + 0x88]
shl eax, 2
mov dword [rsp + 0x44], eax
jmp 0x140042bab
mov dword [rsp + 0x44], 1
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0x94], eax
mov rax, qword [0x1403169b0]
mov qword [rsp + 0x68], rax
mov eax, 1
imul rax, rax, 7
movsx eax, byte [rsp + rax + 0x68]
test eax, eax
je 0x140042bde
mov dword [rsp + 0x48], 1
jmp 0x140042be6
mov dword [rsp + 0x48], 0
movzx eax, byte [rsp + 0x48]
test eax, eax
je 0x140042c42
mov dword [rsp + 0x40], 0
jmp 0x140042c03
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 8
jge 0x140042c42
movsxd rax, dword [rsp + 0x40]
movsx eax, byte [rsp + rax + 0x68]
mov dword [rsp + 0x8c], eax
mov eax, dword [rsp + 0x40]
cdq
mov ecx, 0x37
idiv ecx
mov eax, edx
add eax, 0x36
mov ecx, dword [rsp + 0x8c]
xor ecx, eax
mov eax, ecx
movsxd rcx, dword [rsp + 0x40]
mov byte [rsp + rcx + 0x68], al
jmp 0x140042bf9
lea rax, [rsp + 0x68]
mov rcx, qword [rsp + 0x70]
mov qword [rsp + 0x20], rcx
mov r9d, dword [rsp + 0x90]
lea r8, [0x1400c8a6b]
mov edx, dword [rsp + 0x94]
mov rcx, rax
call fcn.1400428a0
mov rax, qword [rsp + 0x38]
mov byte [rax + 0x5c94], 0
mov rax, qword [rsp + 0x50]
movsx eax, byte [rax]
cmp eax, 0xa
jne 0x140042ca0
lea rcx, [0x140219578]
call fcn.1400428a0
mov rax, qword [rsp + 0x38]
mov byte [rax + 0x5c94], 1
movzx eax, byte [rsp + 0x32]
test eax, eax
je 0x140042cab
jmp 0x140042cc0
mov rax, qword [rsp + 0x50]
inc rax
mov qword [rsp + 0xa0], rax
jmp 0x140042b0b
cmp qword [rsp + 0x80], 0
je 0x140042d27
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0xb0], rax
mov qword [rsp + 0x78], 0xffffffffffffffff
inc qword [rsp + 0x78]
mov rax, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x78]
cmp byte [rax + rcx], 0
jne 0x140042ce4
mov rax, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x80]
add rcx, rax
mov rax, rcx
mov r8, rax
mov rdx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0xd0]
call fcn.140042910
add rsp, 0xc8
ret