Function at 0x44e830
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x481340]
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 - 0x24], ebx
mov dword [ebp - 0x1c], ecx
push edi
cmp esi, 0x80
je 0x44e871
cmp esi, 0xc0
je 0x44e871
cmp esi, 0x100
jne 0x44ea4b
push 1
push esi
push eax
call fcn.0044d2e0
mov edi, eax
add esp, 0xc
test edi, edi
je 0x44ea4b
cmp dword [edi + 0x18], 0x10
jne 0x44ea4b
push ebx
call fcn.0044d350
push edi
push ebx
call fcn.0044d3a0
add esp, 0xc
test eax, eax
jne 0x44ea50
push 1
push esi
push dword [ebp - 0x1c]
push ebx
call fcn.0044d400
add esp, 0x10
test eax, eax
jne 0x44ea50
mov dword [ebp - 0x28], eax
xorps xmm0, xmm0
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x10
push eax
push ebx
movups xmmword [ebp - 0x14], xmm0
call fcn.0044d5b0
add esp, 0x14
test eax, eax
jne 0x44ea50
mov edi, dword [ebp - 0x14]
xor edx, edx
mov ecx, dword [ebp - 0xc]
xor esi, esi
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x10]
bswap eax
or edx, eax
mov dword [ebp - 0x30], 0
mov eax, dword [ebp - 8]
bswap eax
bswap ecx
or esi, eax
mov dword [ebp - 0x20], edx
bswap edi
push 2
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ecx
mov dword [ebx + 0x88], esi
mov dword [ebx + 0x8c], ecx
mov dword [ebx + 0x108], edx
mov dword [ebx + 0x10c], edi
call fcn.004472b0
add esp, 4
test eax, eax
jne 0x44ea38
mov dword [ebx + 0xc8], eax
lea esi, [eax + 4]
mov dword [ebx + 0xcc], eax
mov dword [ebx + 0x48], eax
mov dword [ebx + 0x4c], eax
mov eax, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x1c]
and eax, 1
shrd dword [ebp - 0x18], ebx, 1
mov ecx, dword [ebp - 0x20]
shr ebx, 1
shl ecx, 0x1f
or ecx, ebx
imul edx, eax, 0xe1000000
mov ebx, dword [ebp - 0x20]
xor eax, eax
or dword [ebp - 0x18], eax
shrd ebx, edi, 1
mov dword [ebp - 0x1c], ecx
xor eax, ebx
shr edi, 1
mov ebx, dword [ebp - 0x24]
xor edi, edx
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov dword [ebx + esi*8 + 0x48], edx
mov dword [ebx + esi*8 + 0x4c], ecx
mov dword [ebx + esi*8 + 0xc8], eax
mov dword [ebx + esi*8 + 0xcc], edi
shr esi, 1
jne 0x44e954
mov ecx, 2
mov dword [ebp - 0x1c], ecx
lea edi, [ecx + 0x19]
mov eax, dword [ebx + edi*8]
lea edi, [ebx + edi*8]
mov dword [ebp - 0x20], eax
lea edx, [ecx + 9]
mov eax, dword [edi + 4]
lea edx, [ebx + edx*8]
mov dword [ebp - 0x18], eax
mov eax, dword [edx]
mov dword [ebp - 0x2c], eax
mov eax, dword [edx + 4]
mov dword [ebp - 0x30], eax
cmp ecx, 1
jle 0x44ea2a
lea eax, [ebx + 0x50]
sub edi, edx
lea esi, [edx + 8]
lea ebx, [ecx - 1]
nop word [eax + eax]
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 - 0x2c]
mov dword [edi + esi - 4], ecx
mov ecx, dword [eax - 4]
xor edx, dword [eax - 8]
xor ecx, dword [ebp - 0x30]
mov dword [esi - 8], edx
mov dword [esi - 4], ecx
sub ebx, 1
jne 0x44e9f0
mov ecx, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x24]
add ecx, ecx
mov dword [ebp - 0x1c], ecx
cmp ecx, 8
jle 0x44e9b2
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00446e61
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.00446e61
mov esp, ebp
pop ebp
ret