Function at 0x441210
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x14
mov ebp, dword [esp + 0x34]
mov ebx, dword [esp + 0x30]
mov dword [esp], 0x585b5a45
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, 0xf
xor cl, byte [esp + eax]
add cl, 0xb5
mov byte [esp + eax], cl
inc eax
cmp eax, 7
jne 0x441240
mov esi, dword [esp]
mov eax, dword [0x44c010]
test eax, eax
je 0x4412ae
xor ecx, ecx
mov edx, dword [0x44c014]
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edx + ecx*8], 0x33079ccd
je 0x441280
inc ecx
cmp eax, ecx
jne 0x441270
jmp 0x4412ae
mov eax, dword [edx + ecx*8 + 4]
cmp eax, esi
je 0x4412ae
lea ecx, [esp + 0x10]
push ecx
push 0
push 0
push 0
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push 6
push eax
push dword [0x44c018]
call fcn.0043d120
add esp, 0x24
mov esi, eax
mov dword [esp], 0xd7969947
mov word [esp + 4], 0
mov byte [esp + 6], 0
mov eax, 0x51665566
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [esp + eax - 0x51665566]
lea edx, [eax - 0x51665500]
and edx, ecx
or ecx, eax
xor ecx, edx
lea edx, [ecx + 1]
not ecx
and ecx, 1
xor edx, 1
lea ecx, [edx + ecx*2]
mov byte [esp + eax - 0x51665566], cl
inc eax
cmp eax, 0x5166556d
jne 0x4412d0
cmp esi, dword [esp]
jne 0x4414c0
push dword [esp + 0x10]
call fcn.004397b0
add esp, 4
mov edi, eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0xc], ecx
mov dword [esp], 0x585b5a45
mov word [esp + 4], 0
mov byte [esp + 6], 0
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, edx
add cl, 0xf
xor cl, byte [esp + edx]
add cl, 0xb5
mov byte [esp + edx], cl
inc edx
cmp edx, 7
jne 0x441340
mov esi, dword [esp]
mov edx, dword [0x44c010]
test edx, edx
je 0x4413c0
mov dword [esp + 8], edi
mov ecx, ebp
xor edi, edi
mov ebp, dword [0x44c014]
nop
cmp dword [ebp + edi*8], 0x33079ccd
je 0x441383
inc edi
cmp edx, edi
jne 0x441370
mov ebp, ecx
jmp 0x4413bc
mov edx, dword [ebp + edi*8 + 4]
cmp edx, esi
mov ebp, ecx
mov edi, dword [esp + 8]
je 0x4413c0
lea ecx, [esp + 0x10]
push ecx
push dword [esp + 0x10]
push edi
push 0
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push 6
push edx
push dword [0x44c018]
mov edi, eax
call fcn.0043d120
add esp, 0x24
mov esi, eax
mov eax, edi
mov edi, dword [esp + 8]
test ebp, ebp
je 0x4414b7
test esi, esi
js 0x4414b7
test ebx, ebx
je 0x4414af
mov ecx, dword [edi + 0xc]
shr ecx, 1
mov edx, dword [ebp]
cmp edx, ecx
jb 0x4413e6
mov edx, ecx
test edx, edx
je 0x4414a6
add eax, 0x10
mov ecx, edx
and ecx, 3
mov dword [esp + 8], edi
je 0x44143c
mov dword [esp + 0xc], edx
xor edi, edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ebp, word [eax]
xor edx, edx
test bp, bp
setne dl
lea eax, [eax + edx*2]
mov word [ebx], bp
add ebx, 2
inc edi
cmp ecx, edi
jne 0x441410
mov edx, dword [esp + 0xc]
mov ebp, edx
sub ebp, edi
mov edi, dword [esp + 8]
cmp edx, 4
jae 0x441450
jmp 0x4414a6
mov ebp, edx
cmp edx, 4
jb 0x4414a6
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
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]
add ebp, 0xfffffffc
jne 0x441450
mov edi, dword [esp + 8]
mov word [ebx], 0
mov ebp, dword [esp + 0x34]
mov eax, dword [edi + 0xc]
shr eax, 1
mov dword [ebp], eax
push edi
call fcn.00439840
add esp, 4
mov eax, esi
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret