Function at 0x445130
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], 0x303f3e3d
mov byte [esp + 0xc], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 4
ja 0x445196
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.00446530
add esp, 8
mov ecx, dword [esp]
mov byte [esp + ecx + 8], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 5
jb 0x445170
mov eax, dword [esp + 8]
mov ecx, dword [0x4561e4]
test ecx, ecx
je 0x4451ee
xor edx, edx
mov esi, dword [0x4561e8]
nop
nop
nop
nop
cmp dword [esi + edx*8], 0x633c81d
je 0x4451c0
inc edx
cmp ecx, edx
jne 0x4451b0
jmp 0x4451ee
mov ecx, dword [esi + edx*8 + 4]
cmp ecx, eax
je 0x4451ee
lea eax, [esp + 0x20]
lea edx, [esp + 4]
push 4
push 0x3000
push eax
push 0
push edx
push 0xffffffffffffffff
push 6
push dword [0x4561ec]
push ecx
call fcn.00446a00
add esp, 0x24
test eax, eax
js 0x445254
mov ecx, dword [esp + 0x38]
push 0
push 0
push dword [edi + 8]
push dword [esp + 0x10]
push dword [edi + 4]
mov dword [esp + 0x28], edi
push dword [edi]
call fcn.004444b0
xor edi, edi
mov ebx, 0
cmp eax, 0xbfffffff
ja 0x445302
mov esi, dword [esp + 0x40]
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [eax + 8]
add edx, ecx
sub edx, esi
xor edi, edi
mov dword [esp + 0x10], ecx
mov dword [esp + 0x18], edx
cmp edx, ecx
jbe 0x445302
mov eax, esi
mov ecx, dword [esp + 0x44]
neg esi
mov ebp, dword [esp + 0x10]
jmp 0x445283
xor edi, edi
xor ebx, ebx
jmp 0x4453aa
xor ebx, 0xfffffffe
and edi, 0xfffffffc
add edi, ebx
add ebp, edi
add ebp, 0x9d789b36
mov eax, dword [esp + 0x40]
inc ebp
xor edi, edi
mov ebx, 0
cmp ebp, dword [esp + 0x18]
jae 0x445302
test ecx, ecx
je 0x44528c
cmp byte [ecx], 0x3f
je 0x445298
movzx ebx, byte [ebp]
mov edi, dword [esp + 0x3c]
cmp bl, byte [edi]
jne 0x445271
cmp eax, 2
jb 0x4452e4
mov edi, 0xc50ec998
mov ebx, 0x628764cc
jmp 0x4452d4
movzx eax, byte [ebp + ebx - 0x628764cb]
mov edx, dword [esp + 0x3c]
cmp al, byte [edx + ebx - 0x628764cb]
jne 0x44525d
add edi, 2
lea eax, [esi + ebx]
inc eax
inc ebx
cmp eax, 0x628764cb
je 0x4452e4
test ecx, ecx
je 0x4452b0
cmp byte [ecx + ebx - 0x628764cb], 0x3f
jne 0x4452b0
jmp 0x4452c5
test ebp, ebp
je 0x4452fe
sub ebp, dword [esp + 0x10]
mov ebx, ebp
sar ebx, 0x1f
mov eax, dword [esp + 0x14]
add ebp, dword [eax]
adc ebx, dword [eax + 4]
mov edi, ebp
jmp 0x445302
xor edi, edi
xor ebx, ebx
mov dword [esp + 0x1c], 0
mov dword [esp + 8], 0x303f3e3d
mov byte [esp + 0xc], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 4
ja 0x445356
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.00446530
add esp, 8
mov ecx, dword [esp]
mov byte [esp + ecx + 8], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 5
jb 0x445330
mov eax, dword [0x4561e4]
test eax, eax
je 0x4453aa
mov ecx, dword [esp + 8]
xor edx, edx
mov esi, dword [0x4561e8]
nop
nop
nop
nop
nop
cmp dword [esi + edx*8], 0x44caaeb6
je 0x445380
inc edx
cmp eax, edx
jne 0x445370
jmp 0x4453aa
mov eax, dword [esi + edx*8 + 4]
cmp eax, ecx
je 0x4453aa
lea ecx, [esp + 0x1c]
lea edx, [esp + 4]
push 0x8000
push ecx
push edx
push 0xffffffffffffffff
push 4
push dword [0x4561ec]
push eax
call fcn.00446a00
add esp, 0x1c
mov eax, edi
mov edx, ebx
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret 0x10