Function at 0x44b310
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x14
mov edx, dword [ebp + 0xc]
mov eax, dword [0x4812b0]
test eax, eax
jne 0x44b34a
movaps xmm0, xmmword [0x475c90]
xorps xmm0, xmmword [0x45eaf0]
movaps xmmword [0x475cb0], xmm0
mov eax, 0xc4d22683
xor eax, dword [0x475ca0]
mov dword [0x475cc0], eax
mov ebx, dword [ebp + 8]
mov dword [0x4812b0], 1
push eax
sub esp, 0x10
mov ecx, esp
sub esp, 0x40
mov edi, esp
sub esp, 0x40
mov dword [ebp - 0x10], esp
mov eax, dword [0x475cc0]
mov dword [ecx + 0x10], eax
movaps xmm0, xmmword [0x475cb0]
mov dword [ebp - 0x1c], ecx
movups xmmword [ecx], xmm0
cmp edx, 0x40
jb 0x44b3f3
shr edx, 6
mov dword [ebp - 0x14], edx
xor ecx, ecx
mov eax, ebx
nop dword [eax]
mov dword [ebp - 0x18], ecx
mov ebx, eax
xor esi, esi
nop word [eax + eax]
movzx eax, byte [ebx + esi]
mov dword [edi + esi], eax
movzx ecx, byte [ebx + esi + 1]
shl ecx, 8
or ecx, eax
mov dword [edi + esi], ecx
movzx eax, byte [ebx + esi + 2]
shl eax, 0x10
or eax, ecx
mov dword [edi + esi], eax
movzx ecx, byte [ebx + esi + 3]
shl ecx, 0x18
or ecx, eax
mov dword [edi + esi], ecx
add esi, 4
cmp esi, 0x40
jne 0x44b3a0
push edi
push dword [ebp - 0x1c]
call fcn.0044c1c0
add esp, 8
mov ecx, dword [ebp - 0x18]
inc ecx
lea eax, [ebx + esi]
cmp ecx, dword [ebp - 0x14]
jne 0x44b390
add ebx, esi
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x10]
xorps xmm0, xmm0
movups xmmword [eax + 0x30], xmm0
movups xmmword [eax + 0x20], xmm0
movups xmmword [eax + 0x10], xmm0
movups xmmword [eax], xmm0
mov ecx, edx
and ecx, 0x3f
mov dword [ebp - 0x14], ecx
je 0x44b4b6
and edx, 1
xor edi, edi
cmp dword [ebp - 0x14], 1
mov dword [ebp - 0x20], edx
jne 0x44b429
mov eax, dword [ebp - 0x10]
jmp 0x44b48f
sub dword [ebp - 0x14], edx
xor edi, edi
mov eax, dword [ebp - 0x10]
nop word cs:[eax + eax]
mov dword [ebp - 0x18], ebx
movzx esi, byte [ebx]
mov ecx, edi
or ecx, 1
mov ebx, edi
not ebx
or ebx, 3
add ecx, ebx
shl ecx, 3
shl esi, cl
mov edx, edi
and edx, 0xfffffffc
xor esi, dword [eax + edx]
mov dword [eax + edx], esi
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax + 1]
lea ecx, [ebx + edi]
add ecx, 2
shl ecx, 3
shl eax, cl
mov ebx, dword [ebp - 0x18]
xor eax, esi
mov ecx, dword [ebp - 0x10]
mov dword [ecx + edx], eax
mov eax, dword [ebp - 0x10]
add ebx, 2
add edi, 2
cmp edi, dword [ebp - 0x14]
jne 0x44b440
cmp dword [ebp - 0x20], 0
mov edx, dword [ebp + 0xc]
je 0x44b4b6
mov esi, eax
movzx eax, byte [ebx]
mov ecx, edi
not ecx
or ecx, 3
add ecx, edi
shl ecx, 3
add cl, 8
shl eax, cl
and edi, 0xfffffffc
xor dword [esi + edi], eax
mov eax, esi
lea ebx, [edx*8]
mov ecx, ebx
and cl, 0x18
or cl, 7
mov edi, eax
mov eax, 1
shl eax, cl
mov ecx, edx
and ecx, 0x3c
xor dword [edi + ecx], eax
mov esi, dword [ebp + 0x10]
mov eax, edx
not eax
test al, 0x38
mov eax, edi
jne 0x44b501
push eax
push dword [ebp - 0x1c]
call fcn.0044c1c0
mov edx, dword [ebp + 0xc]
add esp, 8
xor eax, eax
mov ecx, 0x10
mov edi, dword [ebp - 0x10]
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x38], ebx
shr edx, 0x1d
mov dword [eax + 0x3c], edx
push eax
mov edi, dword [ebp - 0x1c]
push edi
call fcn.0044c1c0
add esp, 8
mov eax, dword [edi]
mov dword [esi], eax
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
mov eax, dword [edi + 8]
mov dword [esi + 8], eax
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
mov eax, dword [edi + 0x10]
mov dword [esi + 0x10], eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret