Function at 0x140003370
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0x280
mov dword [rsp + 0x15c], 0xd0d6345e
mov rax, qword gs:[0x30]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x160], 0xa4df6ccd
cmp qword [rsp + 0x40], 0
jne 0x1400033c5
mov dword [rsp + 0x164], 0x4c01fe56
xor eax, eax
jmp 0x1400038f7
mov dword [rsp + 0x16c], 0x2c0cfc6a
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x60]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x170], 0x9f9dd4e
cmp qword [rsp + 0x28], 0
jne 0x14000340b
mov dword [rsp + 0x174], 0x901934f9
xor eax, eax
jmp 0x1400038f7
mov dword [rsp + 0x5c], 0x9d840e52
mov rax, qword [rsp + 0x28]
movzx eax, byte [rax + 2]
test eax, eax
je 0x140003437
mov dword [rsp + 0x60], 0x62534c97
xor eax, eax
jmp 0x1400038f7
mov dword [rsp + 0x68], 0x6f247666
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0xbc]
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x6c], 0x77b3d179
mov eax, dword [rsp + 0x30]
and eax, 0x70
test eax, eax
je 0x140003478
mov dword [rsp + 0x70], 0xe92cd978
xor eax, eax
jmp 0x1400038f7
mov dword [rsp + 0x78], 0x4070e4c4
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 0x30]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x7c], 0xbf7501ab
cmp qword [rsp + 0x38], 0
jne 0x1400034bb
mov dword [rsp + 0x80], 0x21f65646
xor eax, eax
jmp 0x1400038f7
mov dword [rsp + 0x88], 0xb54ac4f1
mov rax, qword [rsp + 0x38]
add rax, 0x70
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x8c], 0x69b99b4d
cmp qword [rsp + 0x48], 0
jne 0x140003504
mov dword [rsp + 0x90], 0xce0fc69c
xor eax, eax
jmp 0x1400038f7
mov dword [rsp + 0x98], 0x1092747d
mov rax, qword [rsp + 0x48]
mov eax, dword [rax]
and eax, 0xfffffffd
test eax, eax
je 0x14000353a
mov dword [rsp + 0x9c], 0x3c20e28d
xor eax, eax
jmp 0x1400038f7
mov dword [rsp + 0xa4], 0x317b408a
mov rax, qword [rsp + 0x38]
add rax, 0x74
mov qword [rsp + 0x50], rax
mov dword [rsp + 0xa8], 0x51f59ded
cmp qword [rsp + 0x50], 0
jne 0x140003583
mov dword [rsp + 0xac], 0x5d671e7c
xor eax, eax
jmp 0x1400038f7
mov dword [rsp + 0xb4], 0x262ceaac
mov rax, qword [rsp + 0x50]
cmp dword [rax], 0
je 0x1400035b5
mov dword [rsp + 0xb8], 0x829079eb
xor eax, eax
jmp 0x1400038f7
mov dword [rsp + 0xc0], 0xb89e6147
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], 0x8f967153
cmp qword [rsp + 0x10], 0
jne 0x140003606
mov dword [rsp + 0xc8], 0x4f0138af
xor eax, eax
jmp 0x1400038f7
mov dword [rsp + 0xd0], 0xe417210d
cmp dword [rsp + 0x290], 0
jne 0x140003644
mov dword [rsp + 0xd4], 0xf0cca93c
mov rax, qword [rsp + 0x10]
mov rax, qword [rax + 0x30]
jmp 0x1400038f7
mov dword [rsp + 0xdc], 0xe5724b8e
mov rax, qword [rsp + 0x10]
cmp qword [rax + 0x30], 0
je 0x1400038d2
mov dword [rsp + 0xe0], 0xf4cc54af
lea rax, [rsp + 0x180]
mov rdi, rax
xor eax, eax
mov ecx, 0x100
rep stosb byte [rdi], al
mov dword [rsp + 0xe4], 0x44dce17e
mov dword [rsp + 0x20], 0
mov dword [rsp + 0xe8], 0x48725836
mov dword [rsp + 4], 0
mov dword [rsp + 0xec], 0x740d2538
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 0x140003797
mov dword [rsp + 0xf0], 0x2c40fbb5
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], 0xcb54ff63
movsx eax, byte [rsp]
cmp eax, 0x5c
jne 0x14000371b
mov dword [rsp + 0xf8], 0x887b183c
mov eax, dword [rsp + 4]
inc eax
mov dword [rsp + 0x20], eax
mov dword [rsp + 0xfc], 0x945a85ea
mov dword [rsp + 0x100], 0x53bd394f
movsx eax, byte [rsp]
cmp eax, 0x40
jle 0x140003758
movsx eax, byte [rsp]
cmp eax, 0x5b
jge 0x140003758
mov dword [rsp + 0x104], 0x4d3c4e3c
movsx eax, byte [rsp]
add eax, 0x20
mov byte [rsp], al
mov dword [rsp + 0x108], 0xcadd3e69
mov dword [rsp + 0x10c], 0x5bfb1824
mov eax, dword [rsp + 4]
movzx ecx, byte [rsp]
mov byte [rsp + rax + 0x180], cl
mov dword [rsp + 0x110], 0xa0163732
mov eax, dword [rsp + 4]
inc eax
mov dword [rsp + 4], eax
mov dword [rsp + 0x114], 0x9579a422
jmp 0x1400036af
mov dword [rsp + 0x118], 0x1722d396
mov eax, dword [rsp + 4]
mov byte [rsp + rax + 0x180], 0
mov dword [rsp + 0x11c], 0x897bebec
mov eax, dword [rsp + 0x20]
lea rax, [rsp + rax + 0x180]
mov qword [rsp + 0x18], rax
mov dword [rsp + 0x120], 0x12304a75
cmp qword [rsp + 0x18], 0
je 0x1400038a5
mov dword [rsp + 0x124], 0xab363278
mov dword [rsp + 8], 0
mov dword [rsp + 0x128], 0x6e1fb13d
mov rax, qword [rsp + 0x18]
movzx eax, byte [rax]
test eax, eax
je 0x140003861
mov dword [rsp + 0x12c], 0x91417510
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], 0x7456bc81
mov rax, qword [rsp + 0x18]
inc rax
mov qword [rsp + 0x18], rax
mov dword [rsp + 0x134], 0x3bb23704
jmp 0x1400037ff
mov dword [rsp + 0x138], 0x64a16f7d
mov eax, dword [rsp + 0x290]
cmp dword [rsp + 8], eax
jne 0x14000389a
mov dword [rsp + 0x13c], 0x842855d4
mov rax, qword [rsp + 0x10]
mov rax, qword [rax + 0x30]
jmp 0x1400038f7
mov dword [rsp + 0x144], 0x3c8d2f17
mov dword [rsp + 0x148], 0x121fd9bd
mov rax, qword [rsp + 0x10]
mov rax, qword [rax + 0x10]
sub rax, 0x10
mov qword [rsp + 0x10], rax
mov dword [rsp + 0x14c], 0xaf71cb52
jmp 0x14000364f
mov dword [rsp + 0x150], 0x239c6a3a
xor eax, eax
jmp 0x1400038f7
add rsp, 0x280
pop rdi
ret