Function at 0x140007780
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub rsp, 0x98
mov rax, qword [0x1400054e8]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov dword [rsp + 0x88], r8d
mov qword [rsp + 0x80], rdx
mov qword [rsp + 0x78], rcx
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x40], rax
cmp dword [rsp + 0x88], 0x38
jle 0x1400077e5
mov dword [rsp + 0x8c], 0x38
lea rcx, [rsp + 0x8c]
lea rdx, [0x1400037d8]
call sub.VCRUNTIME140.dll__CxxThrowException
movsxd rcx, dword [rsp + 0x88]
call fcn.140001078
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x6c], 0
mov eax, dword [rsp + 0x6c]
cmp eax, dword [rsp + 0x88]
jge 0x14000783d
mov rax, qword [rsp + 0x80]
movsxd rcx, dword [rsp + 0x6c]
mov dl, byte [rax + rcx]
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rsp + 0x6c]
mov byte [rax + rcx], dl
mov eax, dword [rsp + 0x6c]
add eax, 1
mov dword [rsp + 0x6c], eax
jmp 0x1400077ff
mov dword [rsp + 0x68], 0
mov dword [rsp + 0x60], 0
cmp dword [rsp + 0x60], 0x12
jge 0x140007936
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x68]
cdq
idiv dword [rsp + 0x88]
mov rax, qword [rsp + 0x28]
movsxd rcx, edx
movzx eax, byte [rax + rcx]
shl eax, 8
mov dword [rsp + 0x34], eax
mov rcx, qword [rsp + 0x70]
mov eax, dword [rsp + 0x68]
add eax, 1
cdq
idiv dword [rsp + 0x88]
mov eax, dword [rsp + 0x34]
movsxd rdx, edx
movzx ecx, byte [rcx + rdx]
add eax, ecx
shl eax, 8
mov dword [rsp + 0x38], eax
mov rcx, qword [rsp + 0x70]
mov eax, dword [rsp + 0x68]
add eax, 2
cdq
idiv dword [rsp + 0x88]
mov eax, dword [rsp + 0x38]
movsxd rdx, edx
movzx ecx, byte [rcx + rdx]
add eax, ecx
shl eax, 8
mov dword [rsp + 0x3c], eax
mov rcx, qword [rsp + 0x70]
mov eax, dword [rsp + 0x68]
add eax, 3
cdq
idiv dword [rsp + 0x88]
mov eax, dword [rsp + 0x3c]
movsxd rdx, edx
movzx ecx, byte [rcx + rdx]
add eax, ecx
mov dword [rsp + 0x64], eax
mov edx, dword [rsp + 0x64]
movsxd rcx, dword [rsp + 0x60]
lea rax, [0x140005000]
xor edx, dword [rax + rcx*4]
lea rax, [0x140005000]
mov dword [rax + rcx*4], edx
mov eax, dword [rsp + 0x68]
add eax, 4
cdq
idiv dword [rsp + 0x88]
mov dword [rsp + 0x68], edx
mov eax, dword [rsp + 0x60]
add eax, 1
mov dword [rsp + 0x60], eax
jmp 0x14000784d
mov rax, qword [rsp + 0x40]
mov dword [rax + 4], 0
mov dword [rax + 8], 0
mov dword [rsp + 0x5c], 0
cmp dword [rsp + 0x5c], 0x12
jge 0x1400079a6
mov rcx, qword [rsp + 0x40]
call fcn.140008d20
mov rax, qword [rsp + 0x40]
mov r8d, dword [rax + 4]
movsxd rdx, dword [rsp + 0x5c]
lea rcx, [0x140005000]
mov dword [rcx + rdx*4], r8d
mov edx, dword [rax + 8]
mov eax, dword [rsp + 0x5c]
add eax, 1
movsxd rcx, eax
lea rax, [0x140005000]
mov dword [rax + rcx*4], edx
mov eax, dword [rsp + 0x5c]
add eax, 2
mov dword [rsp + 0x5c], eax
jmp 0x140007951
mov dword [rsp + 0x58], 0
cmp dword [rsp + 0x58], 0x100
jge 0x140007a06
mov rcx, qword [rsp + 0x40]
call fcn.140008d20
mov rax, qword [rsp + 0x40]
mov r8d, dword [rax + 4]
movsxd rdx, dword [rsp + 0x58]
lea rcx, section..data
mov dword [rcx + rdx*4], r8d
mov edx, dword [rax + 8]
mov eax, dword [rsp + 0x58]
add eax, 1
movsxd rcx, eax
lea rax, section..data
mov dword [rax + rcx*4], edx
mov eax, dword [rsp + 0x58]
add eax, 2
mov dword [rsp + 0x58], eax
jmp 0x1400079ae
mov dword [rsp + 0x54], 0
cmp dword [rsp + 0x54], 0x100
jge 0x140007a66
mov rcx, qword [rsp + 0x40]
call fcn.140008d20
mov rax, qword [rsp + 0x40]
mov r8d, dword [rax + 4]
movsxd rdx, dword [rsp + 0x54]
lea rcx, [0x140004400]
mov dword [rcx + rdx*4], r8d
mov edx, dword [rax + 8]
mov eax, dword [rsp + 0x54]
add eax, 1
movsxd rcx, eax
lea rax, [0x140004400]
mov dword [rax + rcx*4], edx
mov eax, dword [rsp + 0x54]
add eax, 2
mov dword [rsp + 0x54], eax
jmp 0x140007a0e
mov dword [rsp + 0x50], 0
cmp dword [rsp + 0x50], 0x100
jge 0x140007ac6
mov rcx, qword [rsp + 0x40]
call fcn.140008d20
mov rax, qword [rsp + 0x40]
mov r8d, dword [rax + 4]
movsxd rdx, dword [rsp + 0x50]
lea rcx, [0x140004800]
mov dword [rcx + rdx*4], r8d
mov edx, dword [rax + 8]
mov eax, dword [rsp + 0x50]
add eax, 1
movsxd rcx, eax
lea rax, [0x140004800]
mov dword [rax + rcx*4], edx
mov eax, dword [rsp + 0x50]
add eax, 2
mov dword [rsp + 0x50], eax
jmp 0x140007a6e
mov dword [rsp + 0x4c], 0
cmp dword [rsp + 0x4c], 0x100
jge 0x140007b26
mov rcx, qword [rsp + 0x40]
call fcn.140008d20
mov rax, qword [rsp + 0x40]
mov r8d, dword [rax + 4]
movsxd rdx, dword [rsp + 0x4c]
lea rcx, [0x140004c00]
mov dword [rcx + rdx*4], r8d
mov edx, dword [rax + 8]
mov eax, dword [rsp + 0x4c]
add eax, 1
movsxd rcx, eax
lea rax, [0x140004c00]
mov dword [rax + rcx*4], edx
mov eax, dword [rsp + 0x4c]
add eax, 2
mov dword [rsp + 0x4c], eax
jmp 0x140007ace
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.140001090
nop
add rsp, 0x98
ret