Function at 0x100644d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [0x103c4120]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, ecx
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x4c], eax
cmp dword [eax + 4], 0
jle 0x10064691
push ebx
push esi
push edi
lea ebx, [eax + 0x10]
lea edi, [eax + 0x50]
nop
mov ecx, edi
mov edx, 4
mov eax, dword [ecx - 0x40]
lea ecx, [ecx + 0x10]
add dword [ecx - 0x10], eax
mov eax, dword [ecx - 0x4c]
add dword [ecx - 0xc], eax
mov eax, dword [ecx - 0x48]
add dword [ecx - 8], eax
mov eax, dword [ecx - 0x44]
add dword [ecx - 4], eax
dec edx
jne 0x10064507
mov esi, ebx
mov eax, dword [esi]
lea esi, [esi + 4]
mov ecx, edx
inc edx
xor ecx, 8
mov dword [ebp + ecx*4 - 0x44], eax
cmp edx, 0x10
jl 0x10064527
xor ecx, ecx
mov edx, ebx
nop
mov eax, dword [ebp + ecx*4 - 0x44]
lea edx, [edx + 4]
rol eax, 7
inc ecx
mov dword [edx - 4], eax
cmp ecx, 0x10
jl 0x10064540
mov ecx, ebx
mov edx, 4
lea ebx, [ebx]
mov eax, dword [ecx + 0x40]
lea ecx, [ecx + 0x10]
xor dword [ecx - 0x10], eax
mov eax, dword [ecx + 0x34]
xor dword [ecx - 0xc], eax
mov eax, dword [ecx + 0x38]
xor dword [ecx - 8], eax
mov eax, dword [ecx + 0x3c]
xor dword [ecx - 4], eax
dec edx
jne 0x10064560
mov esi, edi
mov eax, dword [esi]
lea esi, [esi + 4]
mov ecx, edx
inc edx
xor ecx, 2
mov dword [ebp + ecx*4 - 0x44], eax
cmp edx, 0x10
jl 0x10064580
movdqu xmm0, xmmword [ebp - 0x44]
mov ecx, edi
mov edx, 4
movdqu xmmword [edi], xmm0
movdqu xmm0, xmmword [ebp - 0x34]
movdqu xmmword [edi + 0x10], xmm0
movdqu xmm0, xmmword [ebp - 0x24]
movdqu xmmword [edi + 0x20], xmm0
movdqu xmm0, xmmword [ebp - 0x14]
movdqu xmmword [edi + 0x30], xmm0
mov eax, dword [ecx - 0x40]
lea ecx, [ecx + 0x10]
add dword [ecx - 0x10], eax
mov eax, dword [ecx - 0x4c]
add dword [ecx - 0xc], eax
mov eax, dword [ecx - 0x48]
add dword [ecx - 8], eax
mov eax, dword [ecx - 0x44]
add dword [ecx - 4], eax
dec edx
jne 0x100645c2
mov esi, ebx
mov eax, dword [esi]
lea esi, [esi + 4]
mov ecx, edx
inc edx
xor ecx, 4
mov dword [ebp + ecx*4 - 0x44], eax
cmp edx, 0x10
jl 0x100645e2
xor ecx, ecx
mov edx, ebx
lea ebx, [ebx]
mov eax, dword [ebp + ecx*4 - 0x44]
lea edx, [edx + 4]
rol eax, 0xb
inc ecx
mov dword [edx - 4], eax
cmp ecx, 0x10
jl 0x10064600
mov eax, ebx
mov edx, 4
lea ebx, [ebx]
mov ecx, dword [eax + 0x40]
lea eax, [eax + 0x10]
xor dword [eax - 0x10], ecx
mov ecx, dword [eax + 0x34]
xor dword [eax - 0xc], ecx
mov ecx, dword [eax + 0x38]
xor dword [eax - 8], ecx
mov ecx, dword [eax + 0x3c]
xor dword [eax - 4], ecx
dec edx
jne 0x10064620
mov esi, edi
mov eax, dword [esi]
lea esi, [esi + 4]
mov ecx, edx
inc edx
xor ecx, 1
mov dword [ebp + ecx*4 - 0x44], eax
cmp edx, 0x10
jl 0x10064640
movdqu xmm0, xmmword [ebp - 0x44]
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x4c]
inc eax
movdqu xmmword [edi], xmm0
mov dword [ebp - 0x48], eax
movdqu xmm0, xmmword [ebp - 0x34]
movdqu xmmword [edi + 0x10], xmm0
movdqu xmm0, xmmword [ebp - 0x24]
movdqu xmmword [edi + 0x20], xmm0
movdqu xmm0, xmmword [ebp - 0x14]
movdqu xmmword [edi + 0x30], xmm0
cmp eax, dword [ecx + 4]
jl 0x10064500
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.101c6a5b
mov esp, ebp
pop ebp
ret