Function at 0x425830
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x44e054]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x14]
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x1c], ecx
push edi
cmp esi, 0x80
je 0x425871
cmp esi, 0xc0
je 0x425871
cmp esi, 0x100
jne 0x425a3a
push 1
push esi
push eax
call fcn.00415dc0
mov edi, eax
add esp, 0xc
test edi, edi
je 0x425a3a
mov ecx, dword [edi + 4]
and ecx, 0x1f
cmp ecx, 0x10
jne 0x425a3a
push ebx
call fcn.00415d50
push edi
push ebx
call fcn.00415f20
add esp, 0xc
test eax, eax
jne 0x425a3f
push 1
push esi
push dword [ebp - 0x1c]
push ebx
call fcn.00415e50
add esp, 0x10
test eax, eax
jne 0x425a3f
mov dword [ebp - 0x24], eax
xorps xmm0, xmm0
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x10
push eax
push ebx
movups xmmword [ebp - 0x14], xmm0
call fcn.00415f80
add esp, 0x14
test eax, eax
jne 0x425a3f
mov esi, dword [ebp - 0x14]
xor ecx, ecx
mov edi, dword [ebp - 0xc]
xor edx, edx
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x10]
bswap eax
or ecx, eax
mov dword [ebp - 0x2c], 0
mov eax, dword [ebp - 8]
bswap eax
or edx, eax
mov dword [ebp - 0x20], ecx
bswap esi
bswap edi
mov dword [ebp - 0x18], edx
mov dword [ebx + 0x78], edx
mov dword [ebx + 0x7c], edi
mov dword [ebx + 0xf8], ecx
mov dword [ebx + 0xfc], esi
mov dword [ebx + 0xb8], 0
mov dword [ebx + 0xbc], 0
mov dword [ebx + 0x38], 0
mov dword [ebx + 0x3c], 0
mov dword [ebp - 0x1c], 4
shrd dword [ebp - 0x18], edi, 1
shl ecx, 0x1f
xor eax, eax
or dword [ebp - 0x18], eax
and edx, 1
shr edi, 1
or edi, ecx
imul edx, edx, 0xe1000000
mov ecx, dword [ebp - 0x20]
shrd ecx, esi, 1
xor eax, ecx
shr esi, 1
mov ecx, eax
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x1c]
xor esi, edx
mov edx, dword [ebp - 0x18]
mov dword [ebx + eax*8 + 0x38], edx
mov dword [ebx + eax*8 + 0x3c], edi
mov dword [ebx + eax*8 + 0xb8], ecx
mov dword [ebx + eax*8 + 0xbc], esi
shr eax, 1
mov dword [ebp - 0x1c], eax
jne 0x425952
mov ecx, 2
mov dword [ebp - 0x1c], ecx
nop dword [eax]
lea edi, [ecx + 0x17]
mov eax, dword [ebx + edi*8]
lea edi, [ebx + edi*8]
mov dword [ebp - 0x20], eax
lea edx, [ecx + 7]
mov eax, dword [edi + 4]
lea edx, [ebx + edx*8]
mov dword [ebp - 0x18], eax
mov eax, dword [edx]
mov dword [ebp - 0x28], eax
mov eax, dword [edx + 4]
mov dword [ebp - 0x2c], eax
cmp ecx, 1
jle 0x425a1d
lea eax, [ebx + 0x40]
sub edi, edx
lea esi, [edx + 8]
lea ebx, [ecx - 1]
mov ecx, dword [eax + 0x84]
lea eax, [eax + 8]
xor ecx, dword [ebp - 0x18]
lea esi, [esi + 8]
mov edx, dword [ebp - 0x20]
xor edx, dword [eax + 0x78]
mov dword [edi + esi - 8], edx
mov edx, dword [ebp - 0x28]
mov dword [edi + esi - 4], ecx
mov ecx, dword [eax - 4]
xor edx, dword [eax - 8]
xor ecx, dword [ebp - 0x2c]
mov dword [esi - 8], edx
mov dword [esi - 4], ecx
sub ebx, 1
jne 0x4259e3
mov ecx, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x34]
add ecx, ecx
mov dword [ebp - 0x1c], ecx
cmp ecx, 8
jle 0x4259b0
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00427ba1
mov esp, ebp
pop ebp
ret
mov eax, 0xffffffec
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00427ba1
mov esp, ebp
pop ebp
ret