Function at 0x44cb50
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 0x44cb7d
add edx, 1
cmp edi, dword [esp + 0x58]
jge 0x44cfa9
cmp edx, dword [esp + 0x5c]
jge 0x44cfa9
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 0x44cd0e
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 0x44cc2d
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 0x44cd0e
mov edx, edi
sub edx, eax
cmp edx, 0x8000
jge 0x44cd0e
cmp dword [esp + 8], 0x200
jge 0x44cd0e
mov edx, dword [esp + 0x3c]
cmp eax, dword [esp + 0x54]
jl 0x44cd05
add edx, eax
movzx ebp, word [ebx + esi - 1]
movzx ecx, word [ebx + edx - 1]
cmp ebp, ecx
jne 0x44cc17
mov ecx, dword [esp + 0x14]
xor ebp, ebp
cmp ecx, 8
jle 0x44cc98
movq mm0, qword [esi]
movq mm1, qword [edx]
pcmpeqb mm0, mm1
pxor mm0, mm5
pmovmskb ebp, mm0
bsf ebp, ebp
jne 0x44ccf2
add ebp, 8
sub ecx, 8
mov dword [esp + 0x18], ebx
mov dword [esp + 0x20], eax
sub ecx, 4
jl 0x44ccb9
mov ebx, dword [ebp + esi]
mov eax, dword [ebp + edx]
cmp ebx, eax
jne 0x44ccd6
add ebp, 4
sub ecx, 4
jge 0x44cca5
add ecx, 4
je 0x44ccea
movzx ebx, byte [ebp + esi]
movzx eax, byte [ebp + edx]
sub ebx, eax
jne 0x44ccea
add ebp, 1
sub ecx, 1
jne 0x44ccbe
jmp 0x44ccea
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 0x44cc17
mov ebx, ebp
mov dword [esp + 0xc], eax
jmp 0x44cc17
mov edx, dword [esp + 0x40]
jmp 0x44cc63
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 0x44cd7b
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 0x44ce5c
mov edx, edi
sub edx, eax
cmp edx, 0x8000
jge 0x44ce5c
cmp dword [esp + 8], 0x200
jge 0x44ce5c
mov edx, dword [esp + 0x3c]
cmp eax, dword [esp + 0x54]
jl 0x44ce53
add edx, eax
movzx ebp, word [ebx + esi - 1]
movzx ecx, word [ebx + edx - 1]
cmp ebp, ecx
jne 0x44cd69
mov ecx, dword [esp + 0x14]
xor ebp, ebp
cmp ecx, 8
jle 0x44cde6
movq mm0, qword [esi]
movq mm1, qword [edx]
pcmpeqb mm0, mm1
pxor mm0, mm5
pmovmskb ebp, mm0
bsf ebp, ebp
jne 0x44ce40
add ebp, 8
sub ecx, 8
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], eax
sub ecx, 4
jl 0x44ce07
mov ebx, dword [ebp + esi]
mov eax, dword [ebp + edx]
cmp ebx, eax
jne 0x44ce24
add ebp, 4
sub ecx, 4
jge 0x44cdf3
add ecx, 4
je 0x44ce38
movzx ebx, byte [ebp + esi]
movzx eax, byte [ebp + edx]
sub ebx, eax
jne 0x44ce38
add ebp, 1
sub ecx, 1
jne 0x44ce0c
jmp 0x44ce38
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 0x44cd69
mov ebx, ebp
mov dword [esp + 0x10], eax
jmp 0x44cd69
mov edx, dword [esp + 0x40]
jmp 0x44cdb1
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 0x44cf9b
cmp ebx, 3
jg 0x44ce8e
cmp ebx, 3
jne 0x44cf9b
cmp eax, 0x1000
jg 0x44cf9b
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 0x44cf3f
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 0x44ceaf
add ebx, 2
je 0x44cf84
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 0x44cb7a
mov edx, dword [esp + 0x10]
mov dword [esp + 0x18], ecx
mov dword [esp + 0xc], edx
jmp 0x44cf87
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