Function at 0x4db4b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x50b06c]
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 0x4db7f8
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 0x4db514
lea ecx, [ebp - 0x88]
cmp ecx, esi
jae 0x4db55e
lea edx, [ebp - 0xc4]
lea ecx, [eax + 0x3c]
cmp edx, ecx
lea edx, [esi + 0x3c]
ja 0x4db531
lea edx, [ebp - 0x88]
cmp edx, eax
lea edx, [esi + 0x3c]
jae 0x4db55e
cmp esi, ecx
ja 0x4db539
cmp edx, eax
jae 0x4db55e
lea eax, [ebp - 8]
cmp esi, eax
mov eax, dword [ebp - 0x108]
ja 0x4db550
lea ecx, [ebp - 0x44]
cmp edx, ecx
lea ecx, [eax + 0x3c]
jae 0x4db55e
lea edx, [ebp - 0x44]
cmp edx, ecx
ja 0x4db580
lea ecx, [ebp - 8]
cmp ecx, eax
jb 0x4db580
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 0x4db560
jmp 0x4db5a6
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 0x4db582
push 0
lea edx, [ebp - 0x84]
lea ecx, [ebp - 0x44]
call fcn.004dbb10
push 0x1000000
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0x84]
call fcn.004dbb10
push 0x2000000
lea edx, [ebp - 0x84]
lea ecx, [ebp - 0x44]
call fcn.004dbb10
push 0x3000000
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0x84]
call fcn.004dbb10
push 0x4000000
lea edx, [ebp - 0x84]
lea ecx, [ebp - 0x44]
call fcn.004dbb10
push 0x5000000
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0x84]
call fcn.004dbb10
push 0x6000000
lea edx, [ebp - 0x84]
lea ecx, [ebp - 0x44]
call fcn.004dbb10
push 0x7000000
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0x84]
call fcn.004dbb10
push 0x8000000
lea edx, [ebp - 0x84]
lea ecx, [ebp - 0x44]
call fcn.004dbb10
push 0x9000000
lea edx, [ebp - 0x104]
lea ecx, [ebp - 0x84]
call fcn.004dbb10
push 0
lea edx, [ebp - 0x84]
lea ecx, [ebp - 0xc4]
call fcn.004dc580
push 1
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0x84]
call fcn.004dc580
push 2
lea edx, [ebp - 0x84]
lea ecx, [ebp - 0x44]
call fcn.004dc580
push 3
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0x84]
call fcn.004dc580
push 4
lea edx, [ebp - 0x84]
lea ecx, [ebp - 0x44]
call fcn.004dc580
push 5
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0x84]
call fcn.004dc580
add esp, 0x40
lea edx, [ebp - 0x84]
lea ecx, [ebp - 0x44]
push 6
call fcn.004dc580
push 7
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0x84]
call fcn.004dc580
push 8
lea edx, [ebp - 0x84]
lea ecx, [ebp - 0x44]
call fcn.004dc580
push 9
lea edx, [ebp - 0xc4]
lea ecx, [ebp - 0x84]
call fcn.004dc580
lea eax, [ebp - 0xc4]
add esp, 0x10
lea edx, [esi + 0x3c]
cmp eax, edx
ja 0x4db727
lea eax, [ebp - 0x88]
cmp eax, esi
jae 0x4db73b
lea eax, [ebp - 0xc8]
cmp esi, eax
ja 0x4db75b
lea eax, [ebp - 0x104]
cmp edx, eax
jb 0x4db75b
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 0x4db740
jmp 0x4db7d1
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 0x4db7da
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 0x4db500
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004879f1
mov esp, ebp
pop ebp
ret