Function at 0x140003460
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0x280
mov dword [rsp + 0x15c], 0x73b15ec2
mov rax, qword gs:[0x30]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x160], 0xea55dd8e
cmp qword [rsp + 0x40], 0
jne 0x1400034b5
mov dword [rsp + 0x164], 0x38e4f6c8
xor eax, eax
jmp 0x1400039e7
mov dword [rsp + 0x16c], 0x23a633e4
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x60]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x170], 0x381b96c
cmp qword [rsp + 0x28], 0
jne 0x1400034fb
mov dword [rsp + 0x174], 0xa0a02
xor eax, eax
jmp 0x1400039e7
mov dword [rsp + 0x5c], 0xc3e1a08a
mov rax, qword [rsp + 0x28]
movzx eax, byte [rax + 2]
test eax, eax
je 0x140003527
mov dword [rsp + 0x60], 0x84cdb3e
xor eax, eax
jmp 0x1400039e7
mov dword [rsp + 0x68], 0x6cd00113
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0xbc]
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x6c], 0xa9c6fc6a
mov eax, dword [rsp + 0x30]
and eax, 0x70
test eax, eax
je 0x140003568
mov dword [rsp + 0x70], 0x13b91245
xor eax, eax
jmp 0x1400039e7
mov dword [rsp + 0x78], 0x6b25aaea
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 0x30]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x7c], 0x8eb65cfa
cmp qword [rsp + 0x38], 0
jne 0x1400035ab
mov dword [rsp + 0x80], 0xb5d284a0
xor eax, eax
jmp 0x1400039e7
mov dword [rsp + 0x88], 0xbf652008
mov rax, qword [rsp + 0x38]
add rax, 0x70
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x8c], 0x5968c821
cmp qword [rsp + 0x48], 0
jne 0x1400035f4
mov dword [rsp + 0x90], 0x1be68d64
xor eax, eax
jmp 0x1400039e7
mov dword [rsp + 0x98], 0x406c80c3
mov rax, qword [rsp + 0x48]
mov eax, dword [rax]
and eax, 0xfffffffd
test eax, eax
je 0x14000362a
mov dword [rsp + 0x9c], 0x668f8b3a
xor eax, eax
jmp 0x1400039e7
mov dword [rsp + 0xa4], 0x52d184a4
mov rax, qword [rsp + 0x38]
add rax, 0x74
mov qword [rsp + 0x50], rax
mov dword [rsp + 0xa8], 0xad96b659
cmp qword [rsp + 0x50], 0
jne 0x140003673
mov dword [rsp + 0xac], 0x6ee645e1
xor eax, eax
jmp 0x1400039e7
mov dword [rsp + 0xb4], 0xb3d7f940
mov rax, qword [rsp + 0x50]
cmp dword [rax], 0
je 0x1400036a5
mov dword [rsp + 0xb8], 0x7d5497c7
xor eax, eax
jmp 0x1400039e7
mov dword [rsp + 0xc0], 0x144978a9
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x20]
sub rax, 0x10
mov qword [rsp + 0x10], rax
mov dword [rsp + 0xc4], 0xfacbad9a
cmp qword [rsp + 0x10], 0
jne 0x1400036f6
mov dword [rsp + 0xc8], 0xe27e12b4
xor eax, eax
jmp 0x1400039e7
mov dword [rsp + 0xd0], 0x7b383192
cmp dword [rsp + 0x290], 0
jne 0x140003734
mov dword [rsp + 0xd4], 0x13f97511
mov rax, qword [rsp + 0x10]
mov rax, qword [rax + 0x30]
jmp 0x1400039e7
mov dword [rsp + 0xdc], 0x749a2642
mov rax, qword [rsp + 0x10]
cmp qword [rax + 0x30], 0
je 0x1400039c2
mov dword [rsp + 0xe0], 0x500ca3e2
lea rax, [rsp + 0x180]
mov rdi, rax
xor eax, eax
mov ecx, 0x100
rep stosb byte [rdi], al
mov dword [rsp + 0xe4], 0x42a055ff
mov dword [rsp + 0x20], 0
mov dword [rsp + 0xe8], 0x8733400b
mov dword [rsp + 4], 0
mov dword [rsp + 0xec], 0xfa00ec59
mov eax, dword [rsp + 4]
mov rcx, qword [rsp + 0x10]
mov rcx, qword [rcx + 0x50]
movzx eax, word [rcx + rax*2]
test eax, eax
je 0x140003887
mov dword [rsp + 0xf0], 0x6e6d7c28
mov eax, dword [rsp + 4]
mov rcx, qword [rsp + 0x10]
mov rcx, qword [rcx + 0x50]
movzx eax, byte [rcx + rax*2]
mov byte [rsp], al
mov dword [rsp + 0xf4], 0xe1bf282b
movsx eax, byte [rsp]
cmp eax, 0x5c
jne 0x14000380b
mov dword [rsp + 0xf8], 0xc1c1a18f
mov eax, dword [rsp + 4]
inc eax
mov dword [rsp + 0x20], eax
mov dword [rsp + 0xfc], 0x2f0b07eb
mov dword [rsp + 0x100], 0xf4377dce
movsx eax, byte [rsp]
cmp eax, 0x40
jle 0x140003848
movsx eax, byte [rsp]
cmp eax, 0x5b
jge 0x140003848
mov dword [rsp + 0x104], 0x24314a2a
movsx eax, byte [rsp]
add eax, 0x20
mov byte [rsp], al
mov dword [rsp + 0x108], 0x803140cf
mov dword [rsp + 0x10c], 0x51155282
mov eax, dword [rsp + 4]
movzx ecx, byte [rsp]
mov byte [rsp + rax + 0x180], cl
mov dword [rsp + 0x110], 0xe0413d49
mov eax, dword [rsp + 4]
inc eax
mov dword [rsp + 4], eax
mov dword [rsp + 0x114], 0x49e6469c
jmp 0x14000379f
mov dword [rsp + 0x118], 0x65310b07
mov eax, dword [rsp + 4]
mov byte [rsp + rax + 0x180], 0
mov dword [rsp + 0x11c], 0xe5a936d9
mov eax, dword [rsp + 0x20]
lea rax, [rsp + rax + 0x180]
mov qword [rsp + 0x18], rax
mov dword [rsp + 0x120], 0xc6445432
cmp qword [rsp + 0x18], 0
je 0x140003995
mov dword [rsp + 0x124], 0x7d661047
mov dword [rsp + 8], 0
mov dword [rsp + 0x128], 0x36db08c6
mov rax, qword [rsp + 0x18]
movzx eax, byte [rax]
test eax, eax
je 0x140003951
mov dword [rsp + 0x12c], 0xeb61f914
mov eax, dword [rsp + 8]
shl eax, 8
add eax, dword [rsp + 8]
mov rcx, qword [rsp + 0x18]
movzx ecx, byte [rcx]
add eax, ecx
mov rcx, qword [rsp + 0x18]
movzx ecx, byte [rcx]
shl ecx, 0x10
xor eax, ecx
mov dword [rsp + 8], eax
mov dword [rsp + 0x130], 0xee98c58
mov rax, qword [rsp + 0x18]
inc rax
mov qword [rsp + 0x18], rax
mov dword [rsp + 0x134], 0x11ff78f
jmp 0x1400038ef
mov dword [rsp + 0x138], 0xd137a975
mov eax, dword [rsp + 0x290]
cmp dword [rsp + 8], eax
jne 0x14000398a
mov dword [rsp + 0x13c], 0x934b46da
mov rax, qword [rsp + 0x10]
mov rax, qword [rax + 0x30]
jmp 0x1400039e7
mov dword [rsp + 0x144], 0xf24c87ac
mov dword [rsp + 0x148], 0xf3a17937
mov rax, qword [rsp + 0x10]
mov rax, qword [rax + 0x10]
sub rax, 0x10
mov qword [rsp + 0x10], rax
mov dword [rsp + 0x14c], 0x834834d2
jmp 0x14000373f
mov dword [rsp + 0x150], 0xdfe27a1b
xor eax, eax
jmp 0x1400039e7
add rsp, 0x280
pop rdi
ret