Function at 0x44a120
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x18
mov dword [esp + 4], 0x181b1a1d
mov word [esp + 8], 0
mov byte [esp + 0xa], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 6
ja 0x44a176
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
movzx eax, byte [esp + eax + 4]
push dword [esp]
push eax
call fcn.0044ad90
add esp, 8
mov ecx, dword [esp]
mov byte [esp + ecx + 4], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 7
jb 0x44a150
mov ebp, dword [esp + 0x30]
mov ebx, dword [esp + 4]
mov eax, dword [0x454f28]
test eax, eax
je 0x44a1cb
xor ecx, ecx
mov edx, dword [0x454f2c]
nop
cmp dword [edx + ecx*8], 0x9b15aa7a
je 0x44a1a0
inc ecx
cmp eax, ecx
jne 0x44a190
jmp 0x44a1cb
mov eax, dword [edx + ecx*8 + 4]
cmp eax, ebx
je 0x44a1cb
lea ecx, [esp + 0x10]
push ecx
push 0
push 0
push 1
push ebp
push dword [esp + 0x40]
push 6
push dword [0x454f30]
push eax
call fcn.00445d10
add esp, 0x24
mov ebx, eax
cmp ebx, 0xc0000023
jne 0x44a415
push dword [esp + 0x10]
call fcn.00442ce0
add esp, 4
mov dword [esp + 0xc], eax
mov edi, dword [esp + 0x10]
mov dword [esp + 4], 0x181b1a1d
mov word [esp + 8], 0
mov byte [esp + 0xa], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 6
ja 0x44a236
nop
nop
mov eax, dword [esp]
movzx eax, byte [esp + eax + 4]
push dword [esp]
push eax
call fcn.0044ad90
add esp, 8
mov ecx, dword [esp]
mov byte [esp + ecx + 4], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 7
jb 0x44a210
mov ebx, dword [esp + 4]
mov eax, dword [0x454f28]
test eax, eax
je 0x44a296
xor ecx, ecx
mov edx, dword [0x454f2c]
nop
nop
nop
nop
nop
cmp dword [edx + ecx*8], 0x9b15aa7a
je 0x44a26a
mov esi, ecx
xor esi, 1
and ecx, 1
lea ecx, [esi + ecx*2]
cmp ecx, eax
jb 0x44a250
jmp 0x44a296
mov eax, dword [edx + ecx*8 + 4]
cmp eax, ebx
je 0x44a296
lea ecx, [esp + 0x10]
push ecx
push edi
push dword [esp + 0x14]
push 1
push ebp
push dword [esp + 0x40]
push 6
push dword [0x454f30]
push eax
call fcn.00445d10
add esp, 0x24
mov ebx, eax
test ebx, ebx
mov edi, dword [esp + 0xc]
js 0x44a40c
mov esi, dword [esp + 0x3c]
mov ebp, dword [esp + 0x38]
test ebp, ebp
je 0x44a39b
mov edx, dword [esp + 0x34]
test edx, edx
je 0x44a393
mov ecx, dword [edi + 0x10]
shr ecx, 1
mov eax, dword [ebp]
cmp eax, ecx
jb 0x44a2cc
mov eax, ecx
test eax, eax
je 0x44a386
add edi, 0x14
mov ebp, eax
and ebp, 3
je 0x44a31c
mov dword [esp + 0x14], eax
xor ecx, ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx esi, word [edi]
xor eax, eax
test si, si
setne al
lea edi, [edi + eax*2]
mov word [edx], si
add edx, 2
inc ecx
cmp ebp, ecx
jne 0x44a2f0
mov eax, dword [esp + 0x14]
mov ebp, eax
sub ebp, ecx
mov esi, dword [esp + 0x3c]
cmp eax, 4
jae 0x44a330
jmp 0x44a386
mov ebp, eax
cmp eax, 4
jb 0x44a386
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx eax, word [edi]
xor ecx, ecx
test ax, ax
setne cl
lea esi, [edi + ecx*2]
mov word [edx], ax
movzx eax, word [edi + ecx*2]
xor ecx, ecx
test ax, ax
setne cl
lea edi, [esi + ecx*2]
mov word [edx + 2], ax
movzx eax, word [esi + ecx*2]
xor ecx, ecx
test ax, ax
setne cl
lea esi, [edi + ecx*2]
mov word [edx + 4], ax
movzx ecx, word [edi + ecx*2]
xor eax, eax
test cx, cx
setne al
mov word [edx + 6], cx
add edx, 8
lea edi, [esi + eax*2]
add ebp, 0xfffffffc
jne 0x44a330
mov esi, dword [esp + 0x3c]
mov word [edx], 0
mov edi, dword [esp + 0xc]
mov ebp, dword [esp + 0x38]
mov eax, dword [edi + 0x10]
shr eax, 1
mov dword [ebp], eax
mov ecx, dword [esp + 0x44]
test esi, esi
je 0x44a3a8
mov eax, dword [edi + 4]
mov dword [esi], eax
test ecx, ecx
je 0x44a40c
mov ebp, dword [esp + 0x40]
test ebp, ebp
je 0x44a407
mov eax, dword [ecx]
mov ecx, dword [edi + 0xc]
cmp eax, ecx
jb 0x44a3bf
mov eax, ecx
mov esi, dword [edi + 8]
add esi, edi
mov ecx, eax
shr ecx, 2
mov edx, eax
and edx, 0xfffffffc
mov edi, ebp
add ebp, edx
add edx, esi
xchg esi, esi
rep movsd dword es:[edi], dword [esi]
xchg esi, esi
mov ecx, eax
shr ecx, 1
and ecx, 1
mov esi, edx
mov edi, ebp
xchg esi, esi
rep movsw word es:[edi], word [esi]
xchg esi, esi
mov edi, dword [esp + 0xc]
test al, 1
mov ecx, dword [esp + 0x44]
je 0x44a407
and eax, 2
movzx ecx, byte [edx + eax]
mov byte [ebp + eax], cl
mov ecx, dword [esp + 0x44]
mov eax, dword [edi + 0xc]
mov dword [ecx], eax
push edi
call fcn.00442d50
add esp, 4
mov eax, ebx
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret