Function at 0x454070
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x519220]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0x14], 1
mov eax, dword [ebp + 0x10]
push ebx
push esi
mov ebx, ecx
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp + 0xc]
mov esi, edx
push edi
mov dword [ebp - 0x30], esi
mov edi, eax
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x20], eax
jne 0x454297
mov ecx, dword [ebp + 8]
cmp ecx, 0x10
jb 0x454143
shr ecx, 4
mov dword [ebp - 0x1c], ecx
nop word [eax + eax]
lea eax, [ebx + 0xf]
cmp esi, eax
ja 0x4540ce
lea eax, [esi + 0xf]
cmp eax, ebx
jae 0x4540dc
lea eax, [edi + 0xf]
cmp esi, eax
ja 0x454107
lea eax, [esi + 0xf]
cmp eax, edi
jb 0x454107
mov eax, esi
sub edi, ebx
sub eax, ebx
mov ecx, ebx
mov dword [ebp - 0x20], eax
mov edx, 0x10
mov esi, eax
nop
mov al, byte [edi + ecx]
lea ecx, [ecx + 1]
xor al, byte [ecx - 1]
mov byte [esi + ecx - 1], al
sub edx, 1
jne 0x4540f0
mov esi, dword [ebp - 0x30]
jmp 0x454114
movups xmm1, xmmword [ebx]
movups xmm0, xmmword [edi]
pxor xmm1, xmm0
movups xmmword [esi], xmm1
push dword [ebp - 0x2c]
mov edx, esi
mov ecx, esi
call fcn.00452520
mov ecx, dword [ebp + 8]
mov edi, esi
sub ecx, 0x10
add esi, 0x10
add esp, 4
mov dword [ebp + 8], ecx
add ebx, 0x10
mov dword [ebp - 0x30], esi
sub dword [ebp - 0x1c], 1
jne 0x4540c0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], edi
test ecx, ecx
je 0x45428f
xor edx, edx
mov dword [ebp - 0x24], edx
test ecx, ecx
je 0x45425d
cmp ecx, 0x40
jb 0x454229
lea eax, [ebx - 1]
mov dword [ebp - 0x24], edx
add eax, ecx
cmp esi, eax
ja 0x45417a
lea eax, [esi - 1]
add eax, ecx
cmp eax, ebx
jae 0x454229
lea eax, [edi - 1]
add eax, ecx
cmp esi, eax
ja 0x454190
lea eax, [esi - 1]
add eax, ecx
cmp eax, edi
jae 0x454229
mov eax, ecx
mov ecx, edi
sub ecx, ebx
and eax, 0xffffffc0
mov dword [ebp - 0x38], ecx
mov ecx, esi
sub ecx, ebx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x3c], ecx
mov eax, ebx
mov ebx, dword [ebp - 0x38]
mov ecx, edi
sub ecx, esi
mov dword [ebp - 0x40], ecx
lea ecx, [edi + 0x30]
mov edi, dword [ebp - 0x3c]
mov dword [ebp - 0x34], ecx
lea ecx, [esi + 0x10]
nop
movups xmm0, xmmword [eax]
mov edx, dword [ebp - 0x40]
lea eax, [eax + 0x40]
movups xmm1, xmmword [eax + ebx - 0x40]
mov esi, dword [ebp - 0x34]
lea ecx, [ecx + 0x40]
pxor xmm1, xmm0
movups xmm0, xmmword [eax - 0x30]
movups xmmword [eax + edi - 0x40], xmm1
movups xmm1, xmmword [edx + ecx - 0x40]
mov edx, dword [ebp - 0x24]
pxor xmm1, xmm0
movups xmm0, xmmword [eax - 0x20]
movups xmmword [ecx - 0x40], xmm1
movups xmm1, xmmword [esi + edx - 0x10]
pxor xmm1, xmm0
movups xmm0, xmmword [eax - 0x10]
movups xmmword [ecx - 0x30], xmm1
movups xmm1, xmmword [esi + edx]
mov esi, dword [ebp - 0x30]
add edx, 0x40
mov dword [ebp - 0x24], edx
pxor xmm1, xmm0
movups xmmword [ecx - 0x20], xmm1
cmp edx, dword [ebp - 0x18]
jb 0x4541c0
mov edi, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x1c]
mov ecx, dword [ebp + 8]
cmp edx, ecx
jae 0x45425d
sub esi, ebx
mov eax, edi
sub eax, ebx
mov dword [ebp - 0x34], esi
add edx, ebx
mov dword [ebp - 0x18], eax
mov ebx, ecx
mov esi, eax
sub ebx, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x34]
mov al, byte [edx + esi]
lea edx, [edx + 1]
xor al, byte [edx - 1]
mov byte [edx + ecx - 1], al
sub ebx, 1
jne 0x454245
mov esi, dword [ebp - 0x30]
mov ecx, dword [ebp + 8]
cmp ecx, 0x10
jae 0x45427e
mov ebx, 0x10
lea edx, [esi + ecx]
sub edi, esi
sub ebx, ecx
nop
mov al, byte [edx + edi]
lea edx, [edx + 1]
mov byte [edx - 1], al
sub ebx, 1
jne 0x454270
push dword [ebp - 0x2c]
mov edx, esi
mov ecx, esi
call fcn.00452520
add esp, 4
mov edi, esi
movups xmm0, xmmword [edi]
jmp 0x454597
cmp ebx, esi
je 0x454414
mov eax, dword [ebp + 8]
cmp eax, 0x10
jb 0x45430e
shr eax, 4
mov dword [ebp - 0x20], eax
nop dword [eax]
push ecx
mov edx, esi
mov ecx, ebx
call fcn.00452a60
lea eax, [edi + 0xf]
add esp, 4
cmp esi, eax
ja 0x4542e4
lea eax, [esi + 0xf]
cmp eax, edi
jb 0x4542e4
mov ecx, esi
sub edi, esi
mov edx, 0x10
mov al, byte [ecx + edi]
lea ecx, [ecx + 1]
xor byte [ecx - 1], al
sub edx, 1
jne 0x4542d4
jmp 0x4542f1
movups xmm1, xmmword [esi]
movups xmm0, xmmword [edi]
pxor xmm1, xmm0
movups xmmword [esi], xmm1
mov eax, dword [ebp + 8]
mov edi, ebx
mov ecx, dword [ebp - 0x2c]
sub eax, 0x10
add ebx, 0x10
mov dword [ebp + 8], eax
add esi, 0x10
sub dword [ebp - 0x20], 1
jne 0x4542b0
mov dword [ebp - 0x1c], ebx
test eax, eax
je 0x45440c
push ecx
lea edx, [ebp - 0x14]
mov ecx, ebx
call fcn.00452a60
mov edx, dword [ebp + 8]
xor ecx, ecx
add esp, 4
mov dword [ebp - 0x24], ecx
test edx, edx
je 0x45440a
cmp edx, 0x40
jb 0x4543e8
lea eax, [ebp + edx - 0x15]
mov dword [ebp - 0x24], ecx
cmp esi, eax
ja 0x45435c
lea eax, [ebp - 0x14]
mov dword [ebp - 0x18], eax
lea eax, [edx - 1]
add eax, esi
cmp eax, dword [ebp - 0x18]
jae 0x4543e8
lea eax, [edx - 1]
add eax, edi
cmp esi, eax
ja 0x45436e
lea eax, [edx - 1]
add eax, esi
cmp eax, edi
jae 0x4543e8
mov eax, edx
mov edx, edi
and eax, 0xffffffc0
sub edx, esi
mov dword [ebp - 0x18], edx
mov edx, dword [ebp + 8]
mov ebx, dword [ebp - 0x18]
mov dword [ebp - 0x34], eax
lea eax, [esi + 0x10]
nop word [eax + eax]
movups xmm0, xmmword [ebp + ecx - 0x14]
lea eax, [eax + 0x40]
movups xmm1, xmmword [edi + ecx]
pxor xmm1, xmm0
movups xmm0, xmmword [ebp + ecx - 4]
movups xmmword [esi + ecx], xmm1
movups xmm1, xmmword [eax + ebx - 0x40]
pxor xmm1, xmm0
movups xmm0, xmmword [ebp + ecx + 0xc]
movups xmmword [eax - 0x40], xmm1
movups xmm1, xmmword [edi + ecx + 0x20]
pxor xmm1, xmm0
movups xmm0, xmmword [ebp + ecx + 0x1c]
movups xmmword [eax - 0x30], xmm1
movups xmm1, xmmword [edi + ecx + 0x30]
add ecx, 0x40
pxor xmm1, xmm0
movups xmmword [eax - 0x20], xmm1
cmp ecx, dword [ebp - 0x34]
jb 0x454390
mov ebx, dword [ebp - 0x1c]
mov dword [ebp - 0x24], ecx
cmp ecx, edx
jae 0x45440a
lea eax, [ebp - 0x14]
sub edi, eax
sub esi, eax
lea ecx, [ebp + ecx - 0x14]
mov al, byte [ecx + edi]
xor al, byte [ecx]
mov byte [ecx + esi], al
mov ecx, dword [ebp - 0x24]
inc ecx
mov dword [ebp - 0x24], ecx
cmp ecx, edx
jb 0x4543f3
mov edi, ebx
movups xmm0, xmmword [edi]
jmp 0x454597
mov edi, dword [ebp + 8]
cmp edi, 0x10
jb 0x4544a5
lea edx, [eax + 0xf]
sub eax, esi
mov dword [ebp - 0x1c], eax
mov eax, edi
shr eax, 4
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x20], eax
movups xmm2, xmmword [ebx]
push ecx
mov edx, esi
mov ecx, ebx
call fcn.00452a60
add esp, 4
cmp esi, dword [ebp - 0x18]
ja 0x454476
lea eax, [esi + 0xf]
cmp eax, dword [ebp - 0x28]
jb 0x454476
mov edi, dword [ebp - 0x1c]
mov ecx, esi
mov edx, 0x10
nop word [eax + eax]
mov al, byte [edi + ecx]
lea ecx, [ecx + 1]
xor byte [ecx - 1], al
sub edx, 1
jne 0x454460
mov edi, dword [ebp + 8]
mov eax, dword [ebp - 0x28]
jmp 0x454486
mov eax, dword [ebp - 0x28]
movups xmm0, xmmword [esi]
movups xmm1, xmmword [eax]
pxor xmm1, xmm0
movups xmmword [esi], xmm1
sub dword [ebp - 0x1c], 0x10
sub edi, 0x10
mov ecx, dword [ebp - 0x2c]
add ebx, 0x10
add esi, 0x10
mov dword [ebp + 8], edi
sub dword [ebp - 0x20], 1
movups xmmword [eax], xmm2
jne 0x454433
mov dword [ebp - 0x30], esi
test edi, edi
je 0x45459d
movups xmm0, xmmword [ebx]
push ecx
mov edx, esi
lea ecx, [ebp - 0x14]
movups xmmword [ebp - 0x50], xmm0
movups xmmword [ebp - 0x14], xmm0
call fcn.00452a60
add esp, 4
xor edx, edx
test edi, edi
je 0x454574
mov ebx, dword [ebp - 0x28]
cmp edi, 0x40
jb 0x454550
lea eax, [ebx - 1]
lea ecx, [esi - 1]
add eax, edi
add ecx, edi
cmp esi, eax
ja 0x4544ea
cmp ecx, ebx
jae 0x454550
mov ecx, edi
mov eax, esi
mov edi, ebx
and ecx, 0xffffffc0
sub edi, esi
mov dword [ebp - 0x18], edi
mov edi, dword [ebp + 8]
mov esi, dword [ebp - 0x18]
nop
movups xmm0, xmmword [eax]
lea eax, [eax + 0x40]
movups xmm1, xmmword [eax + esi - 0x40]
pxor xmm1, xmm0
movups xmmword [eax - 0x40], xmm1
movups xmm0, xmmword [eax - 0x30]
movups xmm1, xmmword [ebx + edx + 0x10]
pxor xmm1, xmm0
movups xmmword [eax - 0x30], xmm1
movups xmm0, xmmword [eax - 0x20]
movups xmm1, xmmword [ebx + edx + 0x20]
pxor xmm1, xmm0
movups xmmword [eax - 0x20], xmm1
movups xmm0, xmmword [eax - 0x10]
movups xmm1, xmmword [ebx + edx + 0x30]
add edx, 0x40
pxor xmm1, xmm0
movups xmmword [eax - 0x10], xmm1
cmp edx, ecx
jb 0x454500
mov esi, dword [ebp - 0x30]
cmp edx, edi
jae 0x454574
sub ebx, esi
lea ecx, [esi + edx]
mov dword [ebp - 0x18], ebx
mov ebx, edi
mov edi, dword [ebp - 0x18]
sub ebx, edx
mov al, byte [ecx + edi]
lea ecx, [ecx + 1]
xor byte [ecx - 1], al
sub ebx, 1
jne 0x454563
mov edi, dword [ebp + 8]
cmp edi, 0x10
jae 0x454593
mov eax, 0x10
lea ecx, [ebp - 0x14]
sub eax, edi
lea edx, [esi + edi]
push eax
add ecx, edi
push ecx
push edx
call fcn.00490e80
add esp, 0xc
movups xmm0, xmmword [ebp - 0x50]
mov ecx, dword [ebp - 0x28]
movups xmmword [ecx], xmm0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0048f1b0
mov esp, ebp
pop ebp
ret