Function at 0x1007aad0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x50
mov ebp, dword [esp + 0x6c]
test ebp, ebp
je 0x1007ad3f
mov esi, dword [esp + 0x68]
mov eax, dword [esp + 0x64]
lea ecx, [eax + 0xf0]
mov dword [esp], ecx
lea ecx, [eax + 0xff]
mov dword [esp + 0x3c], ecx
lea ecx, [eax + 0xfe]
mov dword [esp + 0x38], ecx
lea ecx, [eax + 0xfd]
mov dword [esp + 0x34], ecx
lea ecx, [eax + 0xfc]
mov dword [esp + 0x30], ecx
lea ecx, [eax + 0xfb]
mov dword [esp + 0x2c], ecx
lea ecx, [eax + 0xfa]
mov dword [esp + 0x28], ecx
lea ecx, [eax + 0xf9]
mov dword [esp + 0x24], ecx
lea ecx, [eax + 0xf8]
mov dword [esp + 0x20], ecx
lea ecx, [eax + 0xf7]
mov dword [esp + 0x1c], ecx
lea ecx, [eax + 0xf6]
mov dword [esp + 0x18], ecx
lea ecx, [eax + 0xf5]
mov dword [esp + 0x14], ecx
lea ecx, [eax + 0xf4]
mov dword [esp + 0x10], ecx
lea ecx, [eax + 0xf3]
mov dword [esp + 0xc], ecx
lea ecx, [eax + 0xf2]
mov dword [esp + 8], ecx
add eax, 0xf1
mov dword [esp + 4], eax
xor ebx, ebx
mov eax, 0x10
jmp 0x1007abb8
inc al
mov byte [ecx], al
xor eax, eax
movzx ecx, byte [esp + eax + 0x40]
xor byte [esi + ebx], cl
inc ebx
inc eax
cmp ebp, ebx
je 0x1007ad3f
cmp eax, 0x10
jne 0x1007aba6
mov eax, dword [esp]
movsd xmm0, qword [eax]
movsd xmm1, qword [eax + 8]
movsd qword [esp + 0x48], xmm1
movsd qword [esp + 0x40], xmm0
lea ecx, [esp + 0x40]
mov edi, dword [esp + 0x64]
mov edx, edi
call fcn.1007a630
movzx eax, byte [edi + 0xff]
mov ecx, dword [esp + 0x3c]
cmp al, 0xff
jne 0x1007aba0
mov eax, dword [esp + 0x3c]
mov byte [eax], 0
mov ecx, dword [esp + 0x38]
movzx eax, byte [ecx]
cmp al, 0xff
jne 0x1007aba0
mov eax, dword [esp + 0x38]
mov byte [eax], 0
mov ecx, dword [esp + 0x34]
movzx eax, byte [ecx]
cmp al, 0xff
jne 0x1007aba0
mov eax, dword [esp + 0x34]
mov byte [eax], 0
mov ecx, dword [esp + 0x30]
movzx eax, byte [ecx]
cmp al, 0xff
jne 0x1007aba0
mov eax, dword [esp + 0x30]
mov byte [eax], 0
mov ecx, dword [esp + 0x2c]
movzx eax, byte [ecx]
cmp al, 0xff
jne 0x1007aba0
mov eax, dword [esp + 0x2c]
mov byte [eax], 0
mov ecx, dword [esp + 0x28]
movzx eax, byte [ecx]
cmp al, 0xff
jne 0x1007aba0
mov eax, dword [esp + 0x28]
mov byte [eax], 0
mov ecx, dword [esp + 0x24]
movzx eax, byte [ecx]
cmp al, 0xff
jne 0x1007aba0
mov eax, dword [esp + 0x24]
mov byte [eax], 0
mov ecx, dword [esp + 0x20]
movzx eax, byte [ecx]
cmp al, 0xff
jne 0x1007aba0
mov eax, dword [esp + 0x20]
mov byte [eax], 0
mov ecx, dword [esp + 0x1c]
movzx eax, byte [ecx]
cmp al, 0xff
jne 0x1007aba0
mov eax, dword [esp + 0x1c]
mov byte [eax], 0
mov ecx, dword [esp + 0x18]
movzx eax, byte [ecx]
cmp al, 0xff
jne 0x1007aba0
mov eax, dword [esp + 0x18]
mov byte [eax], 0
mov ecx, dword [esp + 0x14]
movzx eax, byte [ecx]
cmp al, 0xff
jne 0x1007aba0
mov eax, dword [esp + 0x14]
mov byte [eax], 0
mov ecx, dword [esp + 0x10]
movzx eax, byte [ecx]
cmp al, 0xff
jne 0x1007aba0
mov eax, dword [esp + 0x10]
mov byte [eax], 0
mov ecx, dword [esp + 0xc]
movzx eax, byte [ecx]
cmp al, 0xff
jne 0x1007aba0
mov eax, dword [esp + 0xc]
mov byte [eax], 0
mov ecx, dword [esp + 8]
movzx eax, byte [ecx]
cmp al, 0xff
jne 0x1007aba0
mov eax, dword [esp + 8]
mov byte [eax], 0
mov ecx, dword [esp + 4]
movzx eax, byte [ecx]
cmp al, 0xff
jne 0x1007aba0
mov eax, dword [esp + 4]
mov byte [eax], 0
mov ecx, dword [esp]
movzx eax, byte [ecx]
cmp al, 0xff
jne 0x1007aba0
mov eax, dword [esp]
mov byte [eax], 0
jmp 0x1007aba4
add esp, 0x50
pop esi
pop edi
pop ebx
pop ebp
ret