Function at 0x44de00
Capabilities:
Encode data using xor

Disassembly:
push edi
push esi
push ebx
push ebp
sub esp, 0x28
pcmpeqb mm5, mm5
mov eax, 1
mov edi, dword [esp + 0x54]
xor edx, edx
sub dword [esp + 0x58], eax
movd mm7, eax
mov dword [esp + 4], edx
mov dword [esp + 0xc], edx
mov dword [esp + 0x18], edx
jmp 0x44de2d
add edx, 1
cmp edi, dword [esp + 0x58]
jge 0x44e259
cmp edx, dword [esp + 0x5c]
jge 0x44e259
mov dword [esp + 4], edx
mov esi, dword [esp + 0x3c]
add esi, edi
mov eax, dword [esp + 0x48]
movzx edx, byte [esi]
movzx ebx, byte [esi + 1]
movzx ebp, byte [esi + 2]
movd mm6, edx
movsx edx, word [eax + edx*2]
movsx ebx, word [eax + ebx*2 + 0x200]
movsx ebp, word [eax + ebp*2 + 0x400]
xor edx, ebx
mov ebx, dword [esp + 0x4c]
xor edx, ebp
mov ebp, dword [esp + 0x50]
mov eax, dword [ebx + edx*4]
mov dword [ebx + edx*4], edi
movd ebx, mm7
mov edx, 0x7fff
and edx, edi
mov dword [ebp + edx*4], eax
test ebx, ebx
je 0x44dfbe
pxor mm7, mm7
mov edx, dword [esp + 0x58]
mov ecx, 0x102
sub edx, edi
cmp edx, ecx
cmovl ecx, edx
mov dword [esp + 0x14], ecx
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
mov ebx, 2
mov dword [esp + 0x18], ebx
jmp 0x44dedd
mov dword [esp + 0x18], ebx
mov ebp, dword [esp + 0x50]
and eax, 0x7fff
add dword [esp + 8], 1
mov eax, dword [ebp + eax*4]
cmp ebx, dword [esp + 0x14]
jge 0x44dfbe
mov edx, edi
sub edx, eax
cmp edx, 0x8000
jge 0x44dfbe
cmp dword [esp + 8], 0x200
jge 0x44dfbe
mov edx, dword [esp + 0x3c]
cmp eax, dword [esp + 0x54]
jl 0x44dfb5
add edx, eax
movzx ebp, word [ebx + esi - 1]
movzx ecx, word [ebx + edx - 1]
cmp ebp, ecx
jne 0x44dec7
mov ecx, dword [esp + 0x14]
xor ebp, ebp
cmp ecx, 8
jle 0x44df48
movq mm0, qword [esi]
movq mm1, qword [edx]
pcmpeqb mm0, mm1
pxor mm0, mm5
pmovmskb ebp, mm0
bsf ebp, ebp
jne 0x44dfa2
add ebp, 8
sub ecx, 8
mov dword [esp + 0x18], ebx
mov dword [esp + 0x20], eax
sub ecx, 4
jl 0x44df69
mov ebx, dword [ebp + esi]
mov eax, dword [ebp + edx]
cmp ebx, eax
jne 0x44df86
add ebp, 4
sub ecx, 4
jge 0x44df55
add ecx, 4
je 0x44df9a
movzx ebx, byte [ebp + esi]
movzx eax, byte [ebp + edx]
sub ebx, eax
jne 0x44df9a
add ebp, 1
sub ecx, 1
jne 0x44df6e
jmp 0x44df9a
movd mm0, ebx
movd mm1, eax
pcmpeqb mm0, mm1
pxor mm0, mm5
pmovmskb ebx, mm0
bsf ebx, ebx
add ebp, ebx
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x20]
cmp ebx, ebp
jge 0x44dec7
mov ebx, ebp
mov dword [esp + 0xc], eax
jmp 0x44dec7
mov edx, dword [esp + 0x40]
jmp 0x44df13
add esi, 1
add edi, 1
mov edx, dword [esp + 0x58]
mov ecx, 0x102
sub edx, edi
cmp edx, ecx
cmovl ecx, edx
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x48]
movzx edx, byte [esi]
movzx ebx, byte [esi + 1]
movzx ebp, byte [esi + 2]
movsx edx, word [eax + edx*2]
movsx ebx, word [eax + ebx*2 + 0x200]
movsx ebp, word [eax + ebp*2 + 0x400]
xor edx, ebx
mov ebx, dword [esp + 0x4c]
xor edx, ebp
mov eax, dword [ebx + edx*4]
mov dword [esp + 0x10], eax
mov dword [esp + 8], 0
mov ebx, 2
jmp 0x44e02b
mov ebp, dword [esp + 0x50]
and eax, 0x7fff
add dword [esp + 8], 1
mov eax, dword [ebp + eax*4]
cmp ebx, dword [esp + 0x14]
jge 0x44e10c
mov edx, edi
sub edx, eax
cmp edx, 0x8000
jge 0x44e10c
cmp dword [esp + 8], 0x200
jge 0x44e10c
mov edx, dword [esp + 0x3c]
cmp eax, dword [esp + 0x54]
jl 0x44e103
add edx, eax
movzx ebp, word [ebx + esi - 1]
movzx ecx, word [ebx + edx - 1]
cmp ebp, ecx
jne 0x44e019
mov ecx, dword [esp + 0x14]
xor ebp, ebp
cmp ecx, 8
jle 0x44e096
movq mm0, qword [esi]
movq mm1, qword [edx]
pcmpeqb mm0, mm1
pxor mm0, mm5
pmovmskb ebp, mm0
bsf ebp, ebp
jne 0x44e0f0
add ebp, 8
sub ecx, 8
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], eax
sub ecx, 4
jl 0x44e0b7
mov ebx, dword [ebp + esi]
mov eax, dword [ebp + edx]
cmp ebx, eax
jne 0x44e0d4
add ebp, 4
sub ecx, 4
jge 0x44e0a3
add ecx, 4
je 0x44e0e8
movzx ebx, byte [ebp + esi]
movzx eax, byte [ebp + edx]
sub ebx, eax
jne 0x44e0e8
add ebp, 1
sub ecx, 1
jne 0x44e0bc
jmp 0x44e0e8
movd mm0, ebx
movd mm1, eax
pcmpeqb mm0, mm1
pxor mm0, mm5
pmovmskb ebx, mm0
bsf ebx, ebx
add ebp, ebx
mov ebx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
cmp ebx, ebp
jge 0x44e019
mov ebx, ebp
mov dword [esp + 0x10], eax
jmp 0x44e019
mov edx, dword [esp + 0x40]
jmp 0x44e061
mov eax, edi
mov edx, dword [esp + 0xc]
sub eax, 1
mov ecx, ebx
mov ebx, dword [esp + 0x18]
sub eax, edx
cmp ebx, ecx
jl 0x44e24b
cmp ebx, 3
jg 0x44e13e
cmp ebx, 3
jne 0x44e24b
cmp eax, 0x1000
jg 0x44e24b
movd mm6, ebx
movd mm7, eax
mov esi, edi
sub ebx, 1
add edi, ebx
mov dword [esp], edi
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x48]
sub ebx, 2
jl 0x44e1ef
mov dword [esp + 0x24], ebx
movzx edi, byte [esi + edx]
movzx ebp, byte [esi + edx + 1]
movzx ebx, byte [esi + edx + 2]
movzx edx, byte [esi + edx + 3]
movsx edi, word [eax + edi*2]
movsx ecx, word [eax + ebp*2 + 0x200]
movsx ebp, word [eax + ebp*2]
xor ecx, edi
movsx edi, word [eax + ebx*2 + 0x400]
movsx ebx, word [eax + ebx*2 + 0x200]
movsx edx, word [eax + edx*2 + 0x400]
xor ecx, edi
mov edi, esi
xor ebx, ebp
mov ebp, dword [esp + 0x4c]
xor ebx, edx
mov edx, dword [esp + 0x50]
movd mm0, dword [ebp + ecx*4]
mov dword [ebp + ecx*4], esi
add esi, 1
and edi, 0x7fff
movd mm1, dword [ebp + ebx*4]
movd dword [edx + edi*4], mm0
mov edi, esi
mov dword [ebp + ebx*4], esi
and edi, 0x7fff
mov ebx, dword [esp + 0x24]
add esi, 1
movd dword [edx + edi*4], mm1
mov edx, dword [esp + 0x3c]
sub ebx, 2
jge 0x44e15f
add ebx, 2
je 0x44e234
mov edi, dword [esp + 0x50]
mov ebp, dword [esp + 0x4c]
movzx ecx, byte [esi + edx]
movzx ebx, byte [esi + edx + 1]
movzx edx, byte [esi + edx + 2]
movsx ecx, word [eax + ecx*2]
movsx ebx, word [eax + ebx*2 + 0x200]
movsx edx, word [eax + edx*2 + 0x400]
xor ecx, ebx
mov ebx, 0x7fff
xor ecx, edx
and ebx, esi
mov edx, dword [ebp + ecx*4]
mov dword [ebp + ecx*4], esi
mov dword [edi + ebx*4], edx
mov edi, dword [esp]
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 4]
punpcklwd mm6, mm7
movd dword [eax + edx*4], mm6
jmp 0x44de2a
mov edx, dword [esp + 0x10]
mov dword [esp + 0x18], ecx
mov dword [esp + 0xc], edx
jmp 0x44e237
mov esi, dword [esp + 0x60]
mov eax, dword [esp + 0x64]
mov dword [esi], edi
mov dword [eax], edx
emms
add esp, 0x28
pop ebp
pop ebx
pop esi
pop edi
ret