Function at 0x4215a0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x104
push ebx
push ebp
xorps xmm0, xmm0
mov dword [esp + 0x80], 0
push esi
push edi
mov edi, edx
movq qword [esp + 0x80], xmm0
mov esi, ecx
mov dword [esp + 0x8c], 0
movups xmmword [esp + 0x50], xmm0
movups xmmword [esp + 0x60], xmm0
movups xmmword [esp + 0x70], xmm0
nop
mov eax, dword [ecx]
lea ecx, [ecx + 4]
inc dword [esp + eax*4 + 0x50]
sub edx, 1
jne 0x4215e0
cmp dword [esp + 0x50], edi
jne 0x421613
mov eax, dword [esp + 0x124]
mov dword [eax], edx
mov eax, dword [esp + 0x128]
mov dword [eax], edx
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x104
ret
mov ebx, dword [esp + 0x128]
mov ecx, 1
mov eax, dword [ebx]
cmp dword [esp + ecx*4 + 0x50], 0
jne 0x42162e
inc ecx
cmp ecx, 0xf
jbe 0x421621
cmp eax, ecx
mov dword [esp + 0x10], ecx
mov edx, ecx
cmovae edx, eax
mov eax, 0xf
nop
cmp dword [esp + eax*4 + 0x50], 0
jne 0x42164c
sub eax, 1
jne 0x421640
cmp edx, eax
mov dword [esp + 0x34], eax
mov ebp, eax
cmovbe ebp, edx
mov edx, 1
shl edx, cl
mov dword [esp + 0x20], ebp
mov dword [ebx], ebp
cmp ecx, eax
jae 0x421681
nop dword [eax + eax]
sub edx, dword [esp + ecx*4 + 0x50]
js 0x4219ee
inc ecx
add edx, edx
cmp ecx, eax
jb 0x421670
lea ebx, [eax*4]
mov ecx, edx
sub edx, dword [esp + ebx + 0x50]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x4c], edx
js 0x4219ee
xor edx, edx
mov dword [esp + ebx + 0x50], ecx
mov dword [esp + 0x94], edx
sub eax, 1
je 0x4216c3
xor ecx, ecx
add edx, dword [esp + ecx + 0x54]
lea ecx, [ecx + 4]
mov dword [esp + ecx + 0x94], edx
sub eax, 1
jne 0x4216b0
mov ebx, dword [esp + 0x134]
xor ecx, ecx
nop dword [eax]
mov edx, dword [esi]
lea esi, [esi + 4]
test edx, edx
je 0x4216eb
mov eax, dword [esp + edx*4 + 0x90]
mov dword [ebx + eax*4], ecx
inc eax
mov dword [esp + edx*4 + 0x90], eax
inc ecx
cmp ecx, edi
jb 0x4216d0
mov ebx, dword [esp + 0x24]
xor edi, edi
mov edx, dword [esp + 0x20]
or ecx, 0xffffffff
xor esi, esi
mov dword [esp + 0x28], edi
xor ebp, ebp
mov dword [esp + 0x14], ecx
mov eax, dword [esp + ebx + 0x90]
mov ebx, edx
mov dword [esp + 0x48], eax
neg ebx
mov eax, dword [esp + 0x134]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x90], edi
mov dword [esp + 0x24], ebx
mov dword [esp + 0xd4], edi
cmp eax, dword [esp + 0x34]
jg 0x4219c8
lea eax, [esp + eax*4 + 0x50]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x30]
mov ecx, dword [ecx]
test ecx, ecx
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x14]
je 0x4219b4
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x40], eax
dec eax
mov dword [esp + 0x2c], eax
lea eax, [edx + ebx]
cmp dword [esp + 0x10], eax
jle 0x42188c
mov edi, dword [esp + 0x34]
inc ecx
mov dword [esp + 0x44], ebx
mov eax, 1
add ebx, edx
mov dword [esp + 0x14], ecx
sub edi, ebx
mov dword [esp + 0x24], ebx
cmp edi, edx
cmova edi, edx
mov edx, dword [esp + 0x10]
sub edx, ebx
mov ecx, edx
shl eax, cl
cmp eax, dword [esp + 0x40]
jbe 0x4217e3
mov esi, dword [esp + 0x30]
or ecx, 0xffffffff
sub ecx, dword [esp + 0x2c]
add eax, ecx
cmp edx, edi
jae 0x4217e3
inc edx
cmp edx, edi
jae 0x4217e3
nop dword [eax]
mov ecx, dword [esi + 4]
lea esi, [esi + 4]
add eax, eax
cmp eax, ecx
jbe 0x4217e3
inc edx
sub eax, ecx
cmp edx, edi
jb 0x4217d0
mov eax, dword [esp + 0x130]
mov ebp, 1
mov ecx, edx
shl ebp, cl
mov eax, dword [eax]
lea edi, [eax + ebp]
cmp edi, 0x5a0
ja 0x4219ee
mov ecx, dword [esp + 0x12c]
lea esi, [ecx + eax*8]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x130]
mov dword [esp + ecx*4 + 0xd4], esi
mov dword [eax], edi
mov edi, dword [esp + 0x28]
test ecx, ecx
je 0x421872
mov eax, dword [esp + 0x20]
mov dword [esp + ecx*4 + 0x90], edi
mov ecx, dword [esp + 0x44]
mov byte [esp + 0x38], dl
mov edx, edi
shr edx, cl
mov ecx, dword [esp + 0x14]
mov byte [esp + 0x39], al
mov eax, esi
mov ecx, dword [esp + ecx*4 + 0xd0]
sub eax, ecx
sar eax, 3
sub eax, edx
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x38]
mov dword [ecx + edx*8], eax
mov eax, dword [esp + 0x1c]
mov dword [ecx + edx*8 + 4], eax
mov ecx, dword [esp + 0x14]
jmp 0x42187b
mov eax, dword [esp + 0x124]
mov dword [eax], esi
mov edx, dword [esp + 0x20]
lea eax, [edx + ebx]
cmp dword [esp + 0x10], eax
jg 0x421787
mov edx, dword [esp + 0x10]
mov al, dl
mov ecx, dword [esp + 0x48]
sub al, bl
mov byte [esp + 0x39], al
mov eax, dword [esp + 0x134]
lea eax, [eax + ecx*4]
cmp dword [esp + 0x18], eax
jb 0x4218b3
mov byte [esp + 0x38], 0xc0
jmp 0x421909
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
add eax, 4
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x118]
mov dword [esp + 0x1c], ecx
cmp ecx, eax
jae 0x4218e1
cmp ecx, 0x100
sbb al, al
and al, 0xa0
add al, 0x60
mov byte [esp + 0x38], al
jmp 0x421909
sub ecx, eax
mov eax, dword [esp + 0x120]
mov al, byte [eax + ecx*4]
add al, 0x50
mov byte [esp + 0x38], al
mov eax, dword [esp + 0x11c]
mov ecx, dword [eax + ecx*4]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], eax
mov ecx, edx
mov eax, edi
sub ecx, ebx
mov edx, 1
shl edx, cl
mov ecx, ebx
shr eax, cl
cmp eax, ebp
jae 0x42193b
mov ecx, dword [esp + 0x38]
mov ebx, dword [esp + 0x1c]
mov dword [esi + eax*8], ecx
mov dword [esi + eax*8 + 4], ebx
add eax, edx
cmp eax, ebp
jb 0x421926
mov ebx, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
mov ecx, dword [esp + 0x10]
mov eax, 1
lea ecx, [ecx - 1]
shl eax, cl
test edi, eax
je 0x421958
nop dword [eax]
xor edi, eax
shr eax, 1
test edi, eax
jne 0x421950
mov edx, dword [esp + 0x20]
xor edi, eax
mov ecx, ebx
mov dword [esp + 0x28], edi
mov eax, 1
shl eax, cl
mov ecx, dword [esp + 0x14]
dec eax
and eax, edi
cmp eax, dword [esp + ecx*4 + 0x90]
je 0x4219a4
nop dword [eax + eax]
dec ecx
sub ebx, edx
mov dword [esp + 0x14], ecx
mov eax, 1
mov ecx, ebx
shl eax, cl
mov ecx, dword [esp + 0x14]
dec eax
and eax, edi
cmp eax, dword [esp + ecx*4 + 0x90]
jne 0x421980
mov dword [esp + 0x24], ebx
mov eax, dword [esp + 0x2c]
test eax, eax
jne 0x421771
mov eax, dword [esp + 0x10]
add dword [esp + 0x30], 4
inc eax
mov dword [esp + 0x10], eax
cmp eax, dword [esp + 0x34]
jle 0x421757
cmp dword [esp + 0x4c], 0
je 0x421606
cmp dword [esp + 0x34], 1
je 0x421606
mov eax, 0xfffffffb
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x104
ret
pop edi
pop esi
pop ebp
mov eax, 0xfffffffd
pop ebx
add esp, 0x104
ret