Function at 0x472920
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x4a206c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
mov eax, edx
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x108], eax
cmp ecx, 0x40
jl 0x472c68
push ebx
push edi
mov edi, eax
lea edx, [ebp - 0x44]
lea eax, [ebp - 0x44]
mov ebx, esi
sub ebx, edx
sub edi, eax
mov eax, dword [ebp - 0x108]
lea edx, [esi + 0x3c]
shr ecx, 6
mov dword [ebp + 8], ecx
nop dword [eax]
lea ecx, [ebp - 0xc4]
cmp ecx, edx
ja 0x472984
lea ecx, [ebp - 0x88]
cmp ecx, esi
jae 0x4729ce
lea edx, [ebp - 0xc4]
lea ecx, [eax + 0x3c]
cmp edx, ecx
lea edx, [esi + 0x3c]
ja 0x4729a1
lea edx, [ebp - 0x88]
cmp edx, eax
lea edx, [esi + 0x3c]
jae 0x4729ce
cmp esi, ecx
ja 0x4729a9
cmp edx, eax
jae 0x4729ce
lea eax, [ebp - 8]
cmp esi, eax
mov eax, dword [ebp - 0x108]
ja 0x4729c0
lea ecx, [ebp - 0x44]
cmp edx, ecx
lea ecx, [eax + 0x3c]
jae 0x4729ce
lea edx, [ebp - 0x44]
cmp edx, ecx
ja 0x4729f0
lea ecx, [ebp - 8]
cmp ecx, eax
jb 0x4729f0
xor edx, edx
lea eax, [ebp - 0x44]
add eax, edx
mov ecx, dword [eax + edi]
mov dword [eax], ecx
mov eax, dword [eax + ebx]
xor eax, ecx
mov dword [ebp + edx - 0xc4], eax
add edx, 4
cmp edx, 0x40
jl 0x4729d0
jmp 0x472a16
xor ecx, ecx
lea eax, [ebp - 0x44]
add eax, ecx
movups xmm1, xmmword [eax + edi]
movups xmm0, xmmword [ebx + eax]
movups xmmword [eax], xmm1
pxor xmm0, xmm1
movups xmmword [ebp + ecx - 0xc4], xmm0
add ecx, 0x10
cmp ecx, 0x40
jl 0x4729f2
push 0
lea edx, [ebp - 0x84]
lea ecx, [ebp - 0x44]
call fcn.00472f80
push 0x1000000
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0x84]
call fcn.00472f80
push 0x2000000
lea edx, [ebp - 0x84]
lea ecx, [ebp - 0x44]
call fcn.00472f80
push 0x3000000
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0x84]
call fcn.00472f80
push 0x4000000
lea edx, [ebp - 0x84]
lea ecx, [ebp - 0x44]
call fcn.00472f80
push 0x5000000
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0x84]
call fcn.00472f80
push 0x6000000
lea edx, [ebp - 0x84]
lea ecx, [ebp - 0x44]
call fcn.00472f80
push 0x7000000
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0x84]
call fcn.00472f80
push 0x8000000
lea edx, [ebp - 0x84]
lea ecx, [ebp - 0x44]
call fcn.00472f80
push 0x9000000
lea edx, [ebp - 0x104]
lea ecx, [ebp - 0x84]
call fcn.00472f80
push 0
lea edx, [ebp - 0x84]
lea ecx, [ebp - 0xc4]
call fcn.004739f0
push 1
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0x84]
call fcn.004739f0
push 2
lea edx, [ebp - 0x84]
lea ecx, [ebp - 0x44]
call fcn.004739f0
push 3
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0x84]
call fcn.004739f0
push 4
lea edx, [ebp - 0x84]
lea ecx, [ebp - 0x44]
call fcn.004739f0
push 5
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0x84]
call fcn.004739f0
add esp, 0x40
lea edx, [ebp - 0x84]
lea ecx, [ebp - 0x44]
push 6
call fcn.004739f0
push 7
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0x84]
call fcn.004739f0
push 8
lea edx, [ebp - 0x84]
lea ecx, [ebp - 0x44]
call fcn.004739f0
push 9
lea edx, [ebp - 0xc4]
lea ecx, [ebp - 0x84]
call fcn.004739f0
lea eax, [ebp - 0xc4]
add esp, 0x10
lea edx, [esi + 0x3c]
cmp eax, edx
ja 0x472b97
lea eax, [ebp - 0x88]
cmp eax, esi
jae 0x472bab
lea eax, [ebp - 0xc8]
cmp esi, eax
ja 0x472bcb
lea eax, [ebp - 0x104]
cmp edx, eax
jb 0x472bcb
xor eax, eax
nop dword [eax]
mov ecx, dword [ebp + eax - 0x104]
xor ecx, dword [ebp + eax - 0xc4]
xor dword [eax + esi], ecx
add eax, 4
cmp eax, 0x40
jl 0x472bb0
jmp 0x472c41
movups xmm1, xmmword [esi]
movups xmm0, xmmword [ebp - 0x104]
pxor xmm1, xmm0
movups xmm0, xmmword [ebp - 0xc4]
pxor xmm1, xmm0
movups xmm0, xmmword [ebp - 0xf4]
movups xmmword [esi], xmm1
movups xmm1, xmmword [esi + 0x10]
pxor xmm1, xmm0
movups xmm0, xmmword [ebp - 0xb4]
pxor xmm1, xmm0
movups xmm0, xmmword [ebp - 0xe4]
movups xmmword [esi + 0x10], xmm1
movups xmm1, xmmword [esi + 0x20]
pxor xmm1, xmm0
movups xmm0, xmmword [ebp - 0xa4]
pxor xmm1, xmm0
movups xmm0, xmmword [ebp - 0xd4]
movups xmmword [esi + 0x20], xmm1
movups xmm1, xmmword [esi + 0x30]
pxor xmm1, xmm0
movups xmm0, xmmword [ebp - 0x94]
pxor xmm1, xmm0
movups xmmword [esi + 0x30], xmm1
add dword [esi + 0x40], 1
jne 0x472c4a
inc dword [esi + 0x44]
mov eax, dword [ebp - 0x108]
add edi, 0x40
add eax, 0x40
sub dword [ebp + 8], 1
mov dword [ebp - 0x108], eax
jne 0x472970
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0042b571
mov esp, ebp
pop ebp
ret