Function at 0xffe25f0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x44
push ebx
push ebp
mov ebp, dword [esp + 0x54]
cmp ebp, 8
push esi
push edi
jne 0xffe278a
mov eax, dword [esp + 0x64]
test al, 7
mov ebx, dword [esp + 0x60]
je 0xffe263c
cmp eax, ebx
je 0xffe263c
mov edx, dword [eax + 4]
mov ecx, dword [eax]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x24]
mov dword [esp + 0x28], edx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x64], eax
mov dword [esp + 0x5c], 0
mov edx, 1
jmp 0xffe2645
mov edx, 1
mov dword [esp + 0x5c], edx
test bl, 7
je 0xffe2675
cmp ebx, eax
mov ecx, dword [ebx]
mov dword [esp + 0x1c], ecx
mov ecx, dword [ebx + 4]
mov dword [esp + 0x20], ecx
jne 0xffe2663
lea eax, [esp + 0x1c]
mov dword [esp + 0x64], eax
mov dword [esp + 0x10], ebx
lea ebx, [esp + 0x1c]
mov dword [esp + 0x60], 0
jmp 0xffe2679
mov dword [esp + 0x60], edx
mov ecx, dword [esp + 0x70]
test cl, 7
je 0xffe269f
mov esi, dword [ecx]
mov dword [esp + 0x2c], esi
mov esi, dword [ecx + 4]
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x30], esi
mov dword [esp + 0x70], ecx
xor ebp, ebp
jmp 0xffe26a1
mov ebp, edx
cmp dword [esp + 0x6c], edx
jne 0xffe26d6
mov esi, dword [eax]
mov edi, dword [ecx]
mov eax, dword [eax + 4]
xor esi, edi
mov edi, dword [ecx + 4]
mov ecx, dword [esp + 0x68]
push edx
push ecx
push ebx
xor eax, edi
push ebx
mov dword [ebx], esi
mov dword [ebx + 4], eax
call dword [esp + 0x68]
mov edx, dword [ebx]
mov eax, dword [esp + 0x70]
mov dword [eax], edx
mov ecx, dword [ebx + 4]
mov dword [eax + 4], ecx
jmp 0xffe273a
cmp ebx, eax
push 0
je 0xffe270e
mov edx, dword [esp + 0x6c]
push edx
push eax
push ebx
call dword [esp + 0x68]
mov eax, dword [esp + 0x70]
mov ecx, dword [eax]
mov edx, dword [ebx]
xor edx, ecx
mov ecx, dword [ebx + 4]
mov dword [ebx], edx
mov edx, dword [eax + 4]
xor ecx, edx
mov dword [ebx + 4], ecx
mov ecx, dword [esp + 0x64]
mov edx, dword [ecx]
mov dword [eax], edx
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
jmp 0xffe273e
mov ecx, dword [esp + 0x6c]
mov esi, dword [eax]
mov edi, dword [eax + 4]
push ecx
push eax
push ebx
call dword [esp + 0x68]
mov eax, dword [esp + 0x70]
mov edx, dword [eax]
mov ecx, dword [ebx]
xor ecx, edx
mov edx, dword [ebx + 4]
mov dword [ebx], ecx
mov ecx, dword [eax + 4]
xor edx, ecx
mov dword [ebx + 4], edx
mov dword [eax], esi
mov dword [eax + 4], edi
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x60]
test edx, edx
jne 0xffe2754
mov esi, dword [ebx]
mov edx, dword [esp + 0x10]
mov dword [edx], esi
mov esi, dword [ebx + 4]
mov dword [edx + 4], esi
mov edx, dword [esp + 0x5c]
test edx, edx
jne 0xffe276a
mov esi, dword [ecx]
mov edx, dword [esp + 0x14]
mov dword [edx], esi
mov ecx, dword [ecx + 4]
mov dword [edx + 4], ecx
test ebp, ebp
jne 0xffe2873
mov edx, dword [eax]
mov ecx, dword [esp + 0x18]
pop edi
pop esi
mov dword [ecx], edx
mov eax, dword [eax + 4]
pop ebp
mov dword [ecx + 4], eax
pop ebx
add esp, 0x44
ret 0x1c
cmp dword [esp + 0x6c], 1
mov esi, dword [esp + 0x64]
jne 0xffe27e3
test ebp, ebp
mov edi, dword [esp + 0x70]
jbe 0xffe27ae
mov ecx, edi
mov eax, esi
sub ecx, esi
mov edx, ebp
mov bl, byte [ecx + eax]
xor byte [eax], bl
inc eax
dec edx
jne 0xffe27a5
mov ecx, dword [esp + 0x68]
push 1
push ecx
push esi
mov esi, dword [esp + 0x6c]
push esi
call dword [esp + 0x68]
test ebp, ebp
jbe 0xffe2873
mov ecx, esi
mov eax, edi
sub ecx, edi
lea ecx, [ecx]
mov dl, byte [ecx + eax]
mov byte [eax], dl
inc eax
dec ebp
jne 0xffe27d0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret 0x1c
mov ebx, dword [esp + 0x60]
cmp esi, ebx
je 0xffe281f
mov eax, dword [esp + 0x68]
push 0
push eax
push esi
push ebx
call dword [esp + 0x68]
test ebp, ebp
jbe 0xffe2873
mov ecx, dword [esp + 0x70]
sub esi, ebx
mov eax, ebx
sub ecx, ebx
mov dl, byte [ecx + eax]
xor byte [eax], dl
mov dl, byte [esi + eax]
mov byte [ecx + eax], dl
inc eax
dec ebp
jne 0xffe2806
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret 0x1c
cmp ebp, 0x20
ja 0xffe2873
mov edx, dword [esp + 0x64]
mov ecx, ebp
mov eax, ecx
shr ecx, 2
lea edi, [esp + 0x34]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
push 0
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x6c]
push ecx
push edx
push ebx
call dword [esp + 0x68]
test ebp, ebp
jbe 0xffe2873
mov ecx, dword [esp + 0x70]
lea esi, [esp + 0x34]
sub esi, ebx
mov eax, ebx
sub ecx, ebx
jmp 0xffe2860
mov dl, byte [eax + ecx]
mov bl, byte [eax]
xor bl, dl
mov dl, byte [esi + eax]
mov byte [eax], bl
mov byte [eax + ecx], dl
inc eax
dec ebp
jne 0xffe2860
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret 0x1c