Function at 0x1400781e9
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r13
push r15
push rbx
push r14
push rbp
mov rbp, rsp
sub rsp, 0x170
sub edx, 0x3c6f
cmp eax, dword [0x1400cb39f]
jbe 0x14007850c
sub qword [rbp - 0x23], r13
sub rsp, 0x10
mov qword [rsp], 0
jmp 0x1400784f5
sub ebx, ebx
movzx eax, bx
add rax, qword [rbp - 0xf6]
mov r9, qword [rbp - 0x133]
movzx ecx, byte [rbp - 0xc2]
mov rbx, qword [rbp - 0x65]
add eax, edx
sub r11, 0x956f
mov qword [rbp - 0x3e], r9
mov dword [rbp - 0x51], eax
mov eax, dword [rbp - 0xb8]
mov ecx, edx
mov ebx, 0x299c
mov ebx, dword [rbp - 9]
sub ebx, 0x2a81
or edx, dword [rbp - 0x6a]
mov ecx, dword [rbp - 0x3b]
and dword [rbp - 0xe0], eax
add edx, dword [rbp - 0x11a]
sub dword [rbp - 0x117], edx
movzx edx, al
sub ecx, dword [rbp - 5]
movzx ebx, dx
mov rdx, qword [rbp - 0xd2]
mov dword [rbp - 0x12f], edx
mov dword [rbp - 0x116], eax
mov rcx, qword [rbp - 0xd6]
mov qword [rbp - 0x136], rcx
lea r8, [0x1400cb079]
mov ebx, dword [rbp - 0x7f]
mov qword [rbp - 0x149], r13
add ecx, dword [rbp - 0x26]
movzx eax, byte [rbp - 0xcd]
or r9, qword [rbp - 0x15a]
mov dword [rbp - 0x15e], ecx
mov qword [rbp - 0xdf], r10
or qword [rbp - 0x13b], rbx
mov edx, ebx
lea r10, [rbp - 0xa7]
mov dword [rbp - 0x10e], edx
mov ecx, dword [rbp - 0x3f]
mov edx, edx
mov eax, dword [rbp - 0x133]
or r15, qword [rbp - 0x78]
mov edx, ecx
mov qword [rbp - 0x13f], r10
mov dword [rbp - 0x135], ebx
mov dword [rbp - 0x12d], ecx
sub byte [rbp - 0x18], dl
mov qword [rbp - 0xb5], r11
mov dword [rbp - 0x125], eax
mov r9, rcx
mov dword [rbp - 0x83], ebx
or rcx, 0x5720
mov dword [rbp - 0x13a], edx
and qword [rbp - 0x5c], r14
mov r10, qword [rbp - 0x16f]
mov r11, qword [rbp - 0x17]
mov ebx, dword [rbp - 0x145]
mov dword [rbp - 0x10f], ebx
mov ebx, 0x7119
mov cx, word [rbp - 0x77]
mov r13, rbx
mov qword [rbp - 0x135], r9
nop
mov r8, r9
add r8, 0x6743
movzx ebx, ah
sub qword [rbp - 0xa0], r10
add dword [rbp - 0xb6], ebx
or qword [rbp - 0x57], r9
mov qword [rbp - 0x14c], r15
call fcn.140078703
mov ecx, dword [rbp - 0xb1]
mov qword [rbp - 0x9d], rcx
mov qword [rbp - 0x68], r8
mov dword [rbp - 0x99], edx
sub ecx, dword [rbp - 0x164]
sub ecx, dword [0x1400cdefb]
mov ebx, ebx
sub edx, dword [rbp - 0x20]
mov r13, rdx
mov byte [rbp - 0xf5], ch
mov r10, qword [rbp - 0x147]
mov r8, 0x423e
movzx eax, cl
mov eax, eax
movzx edx, cl
mov qword [rbp - 0x7a], rcx
mov dword [rbp - 0x119], eax
and eax, dword [rbp - 0x6a]
sub eax, 0x41b
add dword [rbp - 0xda], ecx
sub r8, qword [rbp - 0x51]
or dword [rbp - 0x145], eax
mov dword [rbp - 0x151], ecx
mov rcx, 0xcd6e
add r14, r11
lea r11, [rbp - 0x133]
mov r10, 0x6517
mov edx, dword [rbp - 0xed]
movzx ecx, ch
mov qword [rbp - 0x30], r14
or qword [rbp - 0x11b], rax
mov r10, rcx
add rdx, r8
movzx eax, word [rbp - 0xa2]
lea r13, [rbp - 0x6d]
mov eax, dword [rbp - 0x95]
mov rax, qword [0x1400cc830]
sub rbx, rax
lea ebx, [rbp - 0x8c]
or r10, qword [rbp - 0xee]
mov dword [rbp - 0x128], eax
mov dword [rbp - 0xca], ebx
lea r11, [rbp - 0xb7]
mov r14, qword [rbp - 0x66]
mov qword [rbp - 0xc8], r15
mov qword [rbp - 0x42], rcx
and qword [rbp - 0x58], rax
mov dword [rbp - 0x6b], edx
mov qword [rbp - 0x20], rdx
nop
add ebx, 0xba2e
add edx, dword [rbp - 0x8c]
mov qword [rbp - 8], r15
xor rax, qword [rbp - 0x1f]
movzx eax, bl
mov edx, eax
sub r10, 0xa0e7
mov dword [rbp - 0xe4], ecx
mov qword [rbp - 0xa4], r10
add edx, dword [rbp - 0xe6]
mov ecx, eax
sub r15, rcx
mov dword [rbp - 0x6a], eax
mov edx, dword [rbp - 0x14b]
mov rcx, qword [rbp - 0x1a]
movzx ecx, bx
mov edx, dword [rbp - 0x16b]
lea edx, [rbp - 0x4a]
mov qword [rbp - 0x15d], rdx
sub dword [rbp - 0x113], ebx
and ecx, dword [rbp - 0x10f]
mov ecx, dword [rbp - 0x154]
inc qword [rsp]
mov rbx, 0x17
cmp qword [rsp], rbx
jle 0x140078222
add rsp, 0x10
mov cl, bh
add edx, 0x6bd2
mov cl, byte [rbp - 0x82]
mov r9, qword [rbp - 0x1a]
sub rsp, 0x10
mov qword [rsp], 0
jmp 0x140078561
sub edx, ebx
mov eax, eax
mov r13, rcx
add ebx, ecx
mov qword [rbp - 0x11e], rdx
mov dword [rbp - 0x44], eax
mov eax, dword [0x1400cb3c1]
mov r10, 0xc315
mov edx, edx
mov qword [rbp - 0xa0], r10
lea rbx, [rbp - 0x169]
sub dword [rbp - 0x48], eax
inc qword [rsp]
mov r13, 7
cmp qword [rsp], r13
jle 0x14007852a
add rsp, 0x10
mov r11, qword [rbp - 0x75]
cmp r11, r14
ja 0x1400785b9
or edx, 0x491a
or qword [rbp - 0x20], rbx
mov qword [rbp - 0x13], r14
mov rax, qword [rbp - 0x48]
mov dword [rbp - 0x127], ecx
movzx ecx, dh
mov edx, dword [rbp - 0x90]
mov edx, dword [0x1400cb619]
mov qword [rbp - 0x59], r14
mov eax, 0x3850
mov qword [rbp - 0x83], r10
mov r15, qword [rbp - 0xf0]
movzx edx, byte [rbp - 0xa]
sub ecx, 0x1e4b
or dword [rbp - 0x158], eax
mov edx, dword [rbp - 0x14]
mov ebx, dword [rbp - 0x7b]
add r13, rcx
mov edx, 0xb971
mov edx, dword [rbp - 0x45]
mov edx, edx
movzx ecx, bl
cmp r9, 0x3b451428
jmp 0x1400785e8
add edx, ebx
mov r11, qword [rbp - 0x5e]
mov r8, qword [rbp - 0xfa]
mov ebx, ecx
sub dl, dl
mov r15, r11
mov dword [rbp - 0x14], ecx
sub edx, eax
add qword [rbp - 0xab], r15
mov eax, dword [rbp - 0x156]
mov r10, rax
mov qword [rbp - 0x145], r11
lea rbx, [rbp - 0x89]
mov r10, r8
sub qword [rbp - 0x14b], rdx
mov rcx, qword [rbp - 0x21]
add qword [rbp - 0x153], rdx
sub qword [rbp - 0x166], r15
mov ecx, dword [rbp - 0x93]
mov r15, r15
mov qword [rbp - 0x12], r15
sub r9, qword [rbp - 0x23]
mov dword [rbp - 0xbf], edx
add qword [rbp - 0x2d], r10
mov edx, edx
mov r8, rdx
mov rbx, rdx
and edx, ecx
test dword [0x1400cd5ce], ebx
je 0x140078685
or rax, qword [rbp - 0x4b]
sub rbx, qword [rbp - 0x46]
sub r11, r13
lea r11, [rbp - 0x14]
mov rdx, qword [0x1400cf3ab]
mov qword [rbp - 0xdc], r13
mov r10, qword [rbp - 0x143]
add ebx, 0x6dc0
mov eax, ebx
mov ecx, ecx
sub eax, dword [rbp - 0x134]
lea ecx, [rbp - 0x158]
sub dword [rbp - 7], edx
and dword [rbp - 0xe3], ebx
movzx edx, ah
sub eax, 0x22cf
test ecx, 0xff81254e
jne 0x1400786c5
mov r11, qword [rbp - 0xee]
mov r11, rbx
mov eax, dword [rbp - 0xba]
mov rdx, qword [rbp - 0xcc]
mov qword [rbp - 0x165], rcx
test eax, eax
js 0x1400786ef
mov r13, qword [rbp - 0x163]
mov r11, r9
sub edx, dword [rbp - 0x2c]
mov edx, dword [rbp - 0x4f]
mov eax, edx
sub dword [rbp - 0xa3], ecx
mov ebx, 0x35cf
leave
pop r14
pop rbx
pop r15
pop r13
ret