Function at 0x444650
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x14
mov edi, dword [esp + 0x30]
mov dword [esp + 8], 0x80b0a0d
mov byte [esp + 0xc], 0
mov eax, 0xd66ce903
nop
nop
nop
movzx edx, byte [esp + eax + 0x29931705]
mov esi, eax
and esi, edx
add edx, eax
add esi, esi
mov ecx, edx
sub ecx, esi
and edx, 1
or ecx, 1
add ecx, edx
add cl, 0xf0
mov byte [esp + eax + 0x29931705], cl
inc eax
cmp eax, 0xd66ce908
jne 0x444670
mov ebp, dword [esp + 8]
mov eax, dword [0x44fe80]
test eax, eax
je 0x4446fe
xor ecx, ecx
mov edx, dword [0x44fe84]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edx + ecx*8], 0xc59b8bcb
je 0x4446d0
inc ecx
cmp eax, ecx
jne 0x4446c0
jmp 0x4446fe
mov eax, dword [edx + ecx*8 + 4]
cmp eax, ebp
je 0x4446fe
lea ecx, [esp + 0x10]
push ecx
push 0
push 0
push 1
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push 6
push dword [0x44fe88]
push eax
call fcn.00440600
add esp, 0x24
mov ebp, eax
cmp ebp, 0xc0000023
jne 0x44491f
push dword [esp + 0x10]
call fcn.0043d3c0
add esp, 4
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x10]
mov dword [esp], ecx
mov dword [esp + 8], 0x80b0a0d
mov byte [esp + 0xc], 0
mov edx, 0xd66ce903
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx esi, byte [esp + edx + 0x29931705]
mov ebx, edx
and ebx, esi
add esi, edx
add ebx, ebx
mov ecx, esi
sub ecx, ebx
and esi, 1
or ecx, 1
add ecx, esi
add cl, 0xf0
mov byte [esp + edx + 0x29931705], cl
inc edx
cmp edx, 0xd66ce908
jne 0x444740
mov ebp, dword [esp + 8]
mov edx, dword [0x44fe80]
test edx, edx
je 0x4447a0
xor esi, esi
mov ecx, dword [0x44fe84]
mov ebx, dword [esp + 0x38]
nop
nop
nop
nop
nop
nop
nop
cmp dword [ecx + esi*8], 0xc59b8bcb
je 0x4447a6
inc esi
cmp edx, esi
jne 0x444790
jmp 0x4447dc
mov ebx, dword [esp + 0x38]
jmp 0x4447dc
mov edx, dword [ecx + esi*8 + 4]
cmp edx, ebp
je 0x4447dc
lea ecx, [esp + 0x10]
push ecx
push dword [esp + 4]
push dword [esp + 0xc]
push 1
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push 6
push dword [0x44fe88]
push edx
mov esi, eax
call fcn.00440600
add esp, 0x24
mov ebp, eax
mov eax, esi
test ebp, ebp
mov ecx, dword [esp + 4]
js 0x444916
mov esi, dword [esp + 0x34]
test esi, esi
je 0x444894
test edi, edi
je 0x44488d
mov ecx, dword [ecx + 0x10]
shr ecx, 1
mov edx, dword [esi]
cmp edx, ecx
jb 0x444809
mov edx, ecx
test edx, edx
je 0x444884
add eax, 0x14
mov ecx, edx
test dl, 1
je 0x444845
not ecx
lea ecx, [ecx + edx*2]
movzx esi, word [eax]
mov word [esp], si
test si, si
mov ebx, 0
setne bl
mov esi, ebx
mov ebx, dword [esp + 0x38]
lea eax, [eax + esi*2]
movzx esi, word [esp]
mov word [edi], si
mov esi, dword [esp + 0x34]
add edi, 2
cmp edx, 1
je 0x444884
nop
nop
nop
nop
nop
nop
movzx edx, word [eax]
xor ebx, ebx
test dx, dx
setne bl
lea esi, [eax + ebx*2]
mov word [edi], dx
movzx edx, word [eax + ebx*2]
xor eax, eax
test dx, dx
setne al
lea eax, [esi + eax*2]
mov word [edi + 2], dx
add edi, 4
add ecx, 0xfffffffe
jne 0x444850
mov ebx, dword [esp + 0x38]
mov esi, dword [esp + 0x34]
mov word [edi], 0
mov ecx, dword [esp + 4]
mov eax, dword [ecx + 0x10]
shr eax, 1
mov dword [esi], eax
test ebx, ebx
je 0x44489d
mov eax, dword [ecx + 4]
mov dword [ebx], eax
cmp dword [esp + 0x40], 0
je 0x444916
cmp dword [esp + 0x3c], 0
je 0x44490d
mov eax, dword [esp + 0x40]
mov edx, dword [eax]
mov eax, dword [ecx + 0xc]
cmp edx, eax
jb 0x4448ba
mov edx, eax
mov eax, dword [ecx + 8]
add eax, ecx
mov ecx, edx
shr ecx, 2
mov esi, edx
and edx, 0xfffffffc
mov ebx, dword [esp + 0x3c]
mov edi, ebx
add ebx, edx
add edx, eax
xchg esi, eax
rep movsd dword es:[edi], dword [esi]
xchg esi, eax
mov eax, esi
mov dword [esp], esi
mov ecx, esi
xor ecx, 0xfffffffc
or eax, 3
and eax, ecx
mov ecx, eax
shr ecx, 1
mov esi, edx
mov edi, ebx
xchg esi, esi
rep movsw word es:[edi], word [esi]
xchg esi, esi
mov ecx, dword [esp + 4]
test byte [esp], 1
je 0x44490d
and eax, 0xfffffffe
movzx ecx, byte [edx + eax]
mov byte [ebx + eax], cl
mov ecx, dword [esp + 4]
mov eax, dword [ecx + 0xc]
mov edx, dword [esp + 0x40]
mov dword [edx], eax
push ecx
call fcn.0043d430
add esp, 4
mov eax, ebp
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret