Function at 0x4445f0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x18
mov eax, dword [esp + 0x30]
xor ecx, ecx
test eax, eax
je 0x444623
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [eax + ecx], 0
lea ecx, [ecx + 2]
jne 0x444610
add ecx, 0xfffffffe
and ecx, 0xfffe
mov word [esp + 0xc], cx
mov edx, eax
test eax, eax
je 0x444633
add ecx, 2
mov edx, ecx
mov edi, dword [esp + 0x3c]
mov ebp, dword [esp + 0x38]
mov word [esp + 0xe], dx
mov dword [esp + 0x10], eax
mov dword [esp], 0x383b3a3d
mov dword [esp + 4], 0
mov eax, 0x4b
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [esp + eax - 0x4b]
mov edx, ecx
and edx, eax
add dl, dl
sub cl, dl
movzx ecx, cl
add ecx, eax
add cl, 0x89
mov byte [esp + eax - 0x4b], cl
inc eax
cmp eax, 0x53
jne 0x444660
mov ebx, dword [esp]
mov eax, dword [0x44fbb4]
test eax, eax
je 0x4446df
xor ecx, ecx
mov edx, dword [0x44fbb8]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edx + ecx*8], 0xbbe848dd
je 0x4446b0
inc ecx
cmp eax, ecx
jne 0x4446a0
jmp 0x4446df
mov eax, dword [edx + ecx*8 + 4]
cmp eax, ebx
je 0x4446df
lea ecx, [esp + 8]
lea edx, [esp + 0xc]
push ecx
push 0
push 0
push 2
push edx
push dword [esp + 0x40]
push 6
push dword [0x44fbbc]
push eax
call fcn.004403c0
add esp, 0x24
mov ebx, eax
mov dword [esp], 0x793a3bd1
mov word [esp + 4], 0
mov byte [esp + 6], 0
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, eax
add cl, 0x4b
xor cl, byte [esp + eax]
add cl, 0x89
mov byte [esp + eax], cl
inc eax
cmp eax, 7
jne 0x444700
cmp ebx, dword [esp]
jne 0x44485c
push dword [esp + 8]
call fcn.0043da10
add esp, 4
mov esi, dword [esp + 8]
mov dword [esp], 0x383b3a3d
mov dword [esp + 4], 0
mov edx, 0x4b
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [esp + edx - 0x4b]
mov ebx, ecx
and ebx, edx
add bl, bl
sub cl, bl
movzx ecx, cl
add ecx, edx
add cl, 0x89
mov byte [esp + edx - 0x4b], cl
inc edx
cmp edx, 0x53
jne 0x444750
mov ebx, dword [esp]
mov edx, dword [0x44fbb4]
test edx, edx
je 0x4447e1
mov ecx, ebp
xor ebp, ebp
mov edi, dword [0x44fbb8]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edi + ebp*8], 0xbbe848dd
je 0x4447a6
inc ebp
cmp edx, ebp
jne 0x444790
mov edi, dword [esp + 0x3c]
mov ebp, ecx
jmp 0x4447e1
mov edx, dword [edi + ebp*8 + 4]
cmp edx, ebx
mov edi, dword [esp + 0x3c]
mov ebp, ecx
je 0x4447e1
lea ecx, [esp + 8]
lea edi, [esp + 0xc]
push ecx
push esi
push eax
push 2
push edi
push dword [esp + 0x40]
push 6
push dword [0x44fbbc]
push edx
mov edi, eax
call fcn.004403c0
add esp, 0x24
mov ebx, eax
mov eax, edi
mov edi, dword [esp + 0x3c]
test ebx, ebx
js 0x444853
mov edx, dword [esp + 0x34]
test edx, edx
je 0x4447f2
mov ecx, dword [eax + 4]
mov dword [edx], ecx
test edi, edi
je 0x444853
test ebp, ebp
je 0x44484e
mov edx, dword [edi]
mov ecx, dword [eax + 8]
cmp edx, ecx
jb 0x444805
mov edx, ecx
lea esi, [eax + 0xc]
mov ecx, edx
shr ecx, 2
mov edi, ebp
xchg esi, esi
rep movsd dword es:[edi], dword [esi]
xchg esi, esi
mov ecx, edx
and ecx, 0xfffffffc
add ebp, ecx
lea esi, [eax + ecx]
add esi, 0xc
mov ecx, edx
shr ecx, 1
and ecx, 1
mov dword [esp + 0x14], esi
mov edi, ebp
xchg esi, esi
rep movsw word es:[edi], word [esi]
xchg esi, esi
test dl, 1
mov edi, dword [esp + 0x3c]
je 0x44484e
and edx, 2
mov ecx, dword [esp + 0x14]
movzx ecx, byte [ecx + edx]
mov byte [ebp + edx], cl
mov ecx, dword [eax + 8]
mov dword [edi], ecx
push eax
call fcn.0043da90
add esp, 4
mov eax, ebx
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret