Function at 0x445600
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x20
mov edi, ecx
mov dword [esp + 8], 0
mov eax, dword [ecx + 8]
mov dword [esp + 0x1c], eax
mov dword [esp + 4], 0xcccdcacb
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 3
ja 0x445656
nop
mov eax, dword [esp]
movzx eax, byte [esp + eax + 4]
push dword [esp]
push eax
call fcn.00446ba0
add esp, 8
mov ecx, dword [esp]
mov byte [esp + ecx + 4], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 4
jb 0x445630
mov eax, dword [esp + 4]
mov ecx, dword [0x4571a4]
test ecx, ecx
je 0x4456ae
xor edx, edx
mov esi, dword [0x4571a8]
nop
nop
nop
nop
cmp dword [esi + edx*8], 0x633c81d
je 0x445680
inc edx
cmp ecx, edx
jne 0x445670
jmp 0x4456ae
mov ecx, dword [esi + edx*8 + 4]
cmp ecx, eax
je 0x4456ae
lea eax, [esp + 0x1c]
lea edx, [esp + 8]
push 4
push 0x3000
push eax
push 0
push edx
push 0xffffffffffffffff
push 6
push dword [0x4571ac]
push ecx
call fcn.004470b0
add esp, 0x24
test eax, eax
js 0x445719
mov ecx, dword [esp + 0x34]
push 0
push 0
push dword [edi + 8]
push dword [esp + 0x14]
push dword [edi + 4]
mov dword [esp + 0x24], edi
push dword [edi]
call fcn.004449f0
test eax, eax
jns 0x4456e5
xor edi, edi
mov ebx, 0
cmp eax, 0x8000000d
jne 0x4457a0
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 8]
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 8]
add eax, edx
sub eax, ecx
xor edi, edi
mov ebx, 0
mov dword [esp + 0xc], edx
mov dword [esp + 0x14], eax
cmp eax, edx
jbe 0x4457a0
mov eax, dword [esp + 0x40]
mov ebp, dword [esp + 0xc]
jmp 0x44573a
xor edi, edi
xor ebx, ebx
jmp 0x44583a
and edi, 0xfffffffc
xor ebx, 1
sub edi, ebx
add ebp, edi
inc ebp
xor edi, edi
mov ebx, 0
cmp ebp, dword [esp + 0x14]
jae 0x4457a0
test eax, eax
je 0x445743
cmp byte [eax], 0x3f
je 0x44574f
movzx ebx, byte [ebp]
mov edx, dword [esp + 0x38]
cmp bl, byte [edx]
jne 0x44572c
cmp ecx, 2
jb 0x445782
mov ebx, 1
mov edi, 2
jmp 0x445776
movzx edx, byte [ebp + ebx]
mov esi, dword [esp + 0x38]
cmp dl, byte [esi + ebx]
jne 0x445722
inc ebx
add edi, 2
cmp ecx, ebx
je 0x445782
test eax, eax
je 0x445760
cmp byte [eax + ebx], 0x3f
jne 0x445760
jmp 0x44576e
test ebp, ebp
je 0x44579c
sub ebp, dword [esp + 0xc]
mov ebx, ebp
sar ebx, 0x1f
mov eax, dword [esp + 0x10]
add ebp, dword [eax]
adc ebx, dword [eax + 4]
mov edi, ebp
jmp 0x4457a0
xor edi, edi
xor ebx, ebx
mov dword [esp + 0x18], 0
mov dword [esp + 4], 0xcccdcacb
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 3
ja 0x4457e6
nop
mov eax, dword [esp]
movzx eax, byte [esp + eax + 4]
push dword [esp]
push eax
call fcn.00446ba0
add esp, 8
mov ecx, dword [esp]
mov byte [esp + ecx + 4], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 4
jb 0x4457c0
mov eax, dword [0x4571a4]
test eax, eax
je 0x44583a
mov ecx, dword [esp + 4]
xor edx, edx
mov esi, dword [0x4571a8]
nop
nop
nop
nop
nop
cmp dword [esi + edx*8], 0x44caaeb6
je 0x445810
inc edx
cmp eax, edx
jne 0x445800
jmp 0x44583a
mov eax, dword [esi + edx*8 + 4]
cmp eax, ecx
je 0x44583a
lea ecx, [esp + 0x18]
lea edx, [esp + 8]
push 0x8000
push ecx
push edx
push 0xffffffffffffffff
push 4
push dword [0x4571ac]
push eax
call fcn.004470b0
add esp, 0x1c
mov eax, edi
mov edx, ebx
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret 0x10