Function at 0x444890
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x24
mov edi, ecx
mov dword [esp + 4], 0
mov eax, dword [ecx + 8]
mov dword [esp + 0x20], eax
mov dword [esp + 8], 0x7c7d7a7b
mov byte [esp + 0xc], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 4
ja 0x4448f6
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
movzx eax, byte [esp + eax + 8]
push dword [esp]
push eax
call fcn.00445930
add esp, 8
mov ecx, dword [esp]
mov byte [esp + ecx + 8], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 5
jb 0x4448d0
mov eax, dword [esp + 8]
mov ecx, dword [0x455600]
test ecx, ecx
je 0x44494e
xor edx, edx
mov esi, dword [0x455604]
nop
nop
nop
nop
cmp dword [esi + edx*8], 0xf3285e74
je 0x444920
inc edx
cmp ecx, edx
jne 0x444910
jmp 0x44494e
mov ecx, dword [esi + edx*8 + 4]
cmp ecx, eax
je 0x44494e
lea eax, [esp + 0x20]
lea edx, [esp + 4]
push 4
push 0x3000
push eax
push 0
push edx
push 0xffffffffffffffff
push 6
push dword [0x455608]
push ecx
call fcn.00445ce0
add esp, 0x24
test eax, eax
js 0x4449b9
mov ecx, dword [esp + 0x38]
push 0
push 0
push dword [edi + 8]
push dword [esp + 0x10]
push dword [edi + 4]
mov dword [esp + 0x2c], edi
push dword [edi]
call fcn.00443cd0
test eax, eax
jns 0x444985
xor edi, edi
mov ebx, 0
cmp eax, 0x8000000d
jne 0x444a49
mov ecx, dword [esp + 0x40]
mov esi, dword [esp + 4]
mov eax, dword [esp + 0x18]
mov edx, dword [eax + 8]
add edx, esi
sub edx, ecx
xor edi, edi
mov ebx, 0
mov dword [esp + 0x14], esi
cmp edx, esi
jbe 0x444a49
mov eax, dword [esp + 0x44]
mov esi, dword [esp + 0x3c]
mov ebp, dword [esp + 0x14]
jmp 0x4449e9
xor edi, edi
xor ebx, ebx
jmp 0x444aea
mov ebx, edi
not ebx
and ebx, 1
mov dword [esp + 0x10], edi
xor dword [esp + 0x10], 1
or edi, 0xfffffffe
and edi, dword [esp + 0x10]
sub edi, ebx
add ebp, edi
inc ebp
xor edi, edi
mov ebx, 0
cmp ebp, edx
jae 0x444a49
test eax, eax
je 0x4449f2
cmp byte [eax], 0x3f
je 0x4449fa
movzx ebx, byte [ebp]
cmp bl, byte [esi]
jne 0x4449dd
cmp ecx, 2
jb 0x444a2b
mov edi, 1
jmp 0x444a1f
movzx ebx, byte [ebp + edi]
cmp bl, byte [esi + edi]
jne 0x4449c2
inc edi
cmp ecx, edi
je 0x444a2b
test eax, eax
je 0x444a10
cmp byte [eax + edi], 0x3f
jne 0x444a10
jmp 0x444a1a
test ebp, ebp
je 0x444a45
sub ebp, dword [esp + 0x14]
mov ebx, ebp
sar ebx, 0x1f
mov eax, dword [esp + 0x18]
add ebp, dword [eax]
adc ebx, dword [eax + 4]
mov edi, ebp
jmp 0x444a49
xor edi, edi
xor ebx, ebx
mov dword [esp + 0x1c], 0
mov dword [esp + 8], 0x7c7d7a7b
mov byte [esp + 0xc], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 4
ja 0x444a96
nop
nop
nop
mov eax, dword [esp]
movzx eax, byte [esp + eax + 8]
push dword [esp]
push eax
call fcn.00445930
add esp, 8
mov ecx, dword [esp]
mov byte [esp + ecx + 8], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 5
jb 0x444a70
mov eax, dword [0x455600]
test eax, eax
je 0x444aea
mov ecx, dword [esp + 8]
xor edx, edx
mov esi, dword [0x455604]
nop
nop
nop
nop
nop
cmp dword [esi + edx*8], 0x731cdbf3
je 0x444ac0
inc edx
cmp eax, edx
jne 0x444ab0
jmp 0x444aea
mov eax, dword [esi + edx*8 + 4]
cmp eax, ecx
je 0x444aea
lea ecx, [esp + 0x1c]
lea edx, [esp + 4]
push 0x8000
push ecx
push edx
push 0xffffffffffffffff
push 4
push dword [0x455608]
push eax
call fcn.00445ce0
add esp, 0x1c
mov eax, edi
mov edx, ebx
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret 0x10