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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x1c
mov eax, dword [esp + 0x38]
mov dword [esp + 0x10], eax
mov dword [esp], 0xb08f8e8d
mov byte [esp + 4], 0
xor eax, eax
mov ebx, 0x32fa4ae2
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [esp + eax]
lea edi, [eax - 0x32fa4ae3]
mov esi, edi
and esi, edx
add esi, esi
sub esi, edx
add esi, ebx
and esi, edi
mov edi, esi
and edi, 0xcd05b53d
mov ebp, esi
and ebp, 2
mov ecx, esi
or ecx, 0xfffffffd
inc ecx
imul ecx, edi
or esi, 2
imul esi, ebp
sub ecx, esi
lea esi, [eax + edx]
lea edi, [eax + edx]
dec edi
lea edx, [ecx + esi]
add edx, 0x65da60bb
and edi, 1
or edx, 1
add edx, edi
add dl, 0xd0
mov byte [esp + eax], dl
inc eax
dec ebx
cmp eax, 5
jne 0x445760
mov esi, dword [esp]
mov eax, dword [0x451cfc]
test eax, eax
je 0x44580e
xor ecx, ecx
mov edx, dword [0x451d00]
nop
nop
nop
cmp dword [edx + ecx*8], 0x8784ccde
je 0x4457e0
inc ecx
cmp eax, ecx
jne 0x4457d0
jmp 0x44580e
mov eax, dword [edx + ecx*8 + 4]
cmp eax, esi
je 0x44580e
lea ecx, [esp + 0x18]
push ecx
push 0
push 0
push 0
push dword [esp + 0x44]
push dword [esp + 0x44]
push 6
push dword [0x451d04]
push eax
call fcn.00441c30
add esp, 0x24
mov esi, eax
mov dword [esp], 0x498a8bf1
mov dword [esp + 4], 0
mov eax, 0xd8971b24
mov ecx, 0xdc
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [esp + eax + 0x2768e4dc]
mov edi, edx
not edi
or edi, ecx
add edi, eax
and edx, ecx
or edx, edi
mov ebx, 2
sub ebx, edx
sub ebx, edx
not ebx
and ebx, 2
xor edx, 1
add edx, ebx
add dl, 0x50
mov byte [esp + eax + 0x2768e4dc], dl
inc eax
dec ecx
cmp eax, 0xd8971b2c
jne 0x445830
cmp esi, dword [esp]
jne 0x445a9f
push dword [esp + 0x18]
call fcn.0043f150
add esp, 4
mov dword [esp + 0xc], eax
mov dword [esp + 8], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x14], eax
mov dword [esp], 0xb08f8e8d
mov byte [esp + 4], 0
xor edx, edx
mov eax, 0x32fa4ae2
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edi, byte [esp + edx]
lea ebx, [edx - 0x32fa4ae3]
mov ecx, ebx
and ecx, edi
add ecx, ecx
sub ecx, edi
add ecx, eax
and ecx, ebx
mov ebx, ecx
and ebx, 0xcd05b53d
mov ebp, ecx
and ebp, 2
mov esi, ecx
or esi, 0xfffffffd
inc esi
imul esi, ebx
or ecx, 2
imul ecx, ebp
sub esi, ecx
lea ecx, [edx + edi]
add edi, edx
dec edi
add ecx, esi
add ecx, 0x65da60bb
and edi, 1
or ecx, 1
add ecx, edi
add cl, 0xd0
mov byte [esp + edx], cl
inc edx
dec eax
cmp edx, 5
jne 0x4458b0
mov esi, dword [esp]
mov ecx, dword [0x451cfc]
test ecx, ecx
je 0x445934
xor edx, edx
mov edi, dword [0x451d00]
mov ebx, dword [esp + 0x38]
cmp dword [edi + edx*8], 0x8784ccde
je 0x4459d0
inc edx
cmp ecx, edx
jne 0x445920
jmp 0x445938
mov ebx, dword [esp + 0x38]
mov edi, dword [esp + 8]
mov edx, dword [esp + 0x3c]
test edx, edx
je 0x445a96
test esi, esi
js 0x445a96
test ebx, ebx
je 0x445a8f
mov ecx, dword [edi + 0xc]
shr ecx, 1
mov eax, dword [edx]
cmp eax, ecx
jb 0x445965
mov eax, ecx
test eax, eax
je 0x445a86
add dword [esp + 0xc], 0x10
mov ecx, eax
and ecx, 3
je 0x445a0c
mov dword [esp + 0x14], eax
xor edi, edi
mov ebp, dword [esp + 0x38]
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 0xc]
movzx ebx, word [eax]
xor edx, edx
test bx, bx
setne dl
lea eax, [eax + edx*2]
mov dword [esp + 0xc], eax
mov word [ebp], bx
add ebp, 2
inc edi
cmp ecx, edi
jne 0x445990
mov dword [esp + 0x10], ebp
mov eax, dword [esp + 0x14]
mov ebp, eax
sub ebp, edi
mov edx, dword [esp + 0x3c]
mov edi, dword [esp + 8]
cmp eax, 4
jae 0x445a13
jmp 0x445a86
mov ecx, dword [edi + edx*8 + 4]
cmp ecx, esi
mov edi, dword [esp + 8]
je 0x44593c
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x18]
push edi
push 0
push dword [esp + 0x44]
push dword [esp + 0x44]
push 6
push dword [0x451d04]
push ecx
call fcn.00441c30
add esp, 0x24
mov esi, eax
jmp 0x44593c
mov ebp, eax
cmp eax, 4
jb 0x445a86
mov ebx, dword [esp + 0x10]
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 0xc]
movzx edx, word [eax]
xor ecx, ecx
test dx, dx
setne cl
lea edi, [eax + ecx*2]
mov word [ebx], dx
movzx eax, word [eax + ecx*2]
xor ecx, ecx
test ax, ax
setne cl
lea edx, [edi + ecx*2]
mov word [ebx + 2], ax
movzx eax, word [edi + ecx*2]
xor ecx, ecx
test ax, ax
setne cl
lea edi, [edx + ecx*2]
mov word [ebx + 4], ax
movzx ecx, word [edx + ecx*2]
xor eax, eax
test cx, cx
setne al
mov word [ebx + 6], cx
add ebx, 8
lea eax, [edi + eax*2]
mov dword [esp + 0xc], eax
add ebp, 0xfffffffc
jne 0x445a20
mov dword [esp + 0x10], ebx
mov edx, dword [esp + 0x3c]
mov edi, dword [esp + 8]
mov eax, dword [esp + 0x10]
mov word [eax], 0
mov eax, dword [edi + 0xc]
shr eax, 1
mov dword [edx], eax
push edi
call fcn.0043f1f0
add esp, 4
mov eax, esi
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret