Function at 0x45d78c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa4
movzx eax, byte [ebp + 0x3c]
test eax, eax
je 0x45d96a
lea eax, [ebp + 8]
mov dword [ebp - 0x70], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 0x9c], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0x54], eax
lea eax, [ebp + 0x34]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp + 0x38]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x54]
movzx eax, byte [eax]
test eax, eax
je 0x45d923
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x84]
movzx eax, byte [eax]
test eax, eax
je 0x45d861
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x94], eax
push dword [ebp - 0x3c]
push 1
push dword [ebp - 0x94]
call fcn.0045d9b6
add esp, 0xc
jmp 0x45d921
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
test eax, eax
je 0x45d903
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x50], eax
and dword [ebp - 4], 0
jmp 0x45d8bd
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x5411
jge 0x45d901
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x48]
mov eax, dword [eax]
mov ecx, dword [ecx]
shl eax, cl
mov ecx, dword [ebp - 0x50]
mov ecx, dword [ecx]
add ecx, dword [ebp - 4]
xor eax, ecx
cdq
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0xa0], edx
push dword [ebp - 0xa0]
push dword [ebp - 0xa4]
mov ecx, 0xad3d78
call fcn.0042cb49
jmp 0x45d8b6
jmp 0x45d921
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x68]
push dword [eax + 4]
push dword [eax]
mov ecx, 0xad3d78
call fcn.0042cb49
jmp 0x45d968
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x88], eax
push 0x6b14
mov eax, dword [ebp - 0x80]
movzx eax, byte [eax]
push eax
push 1
push 1
push 0x2ba9
push 1
push 0x70fe
push 0x27c1
push dword [ebp - 0x88]
push 0
push 0x7f92
call fcn.00459387
add esp, 0x2c
jmp 0x45d9b2
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x98], eax
push 0x5438
push 0x67e5
push 0x2832
push 0x671c
push 1
push dword [ebp - 0x90]
push 0x1ff1
push dword [ebp - 0x98]
push 0x479e
push 0
call fcn.0045b88b
add esp, 0x28
mov esp, ebp
pop ebp
ret