Function at 0x454210
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
mov eax, dword [0x9dd804]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0x14]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0x18]
push esi
mov esi, dword [ebp + 0x24]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x6c], 0
push edi
test eax, eax
jne 0x454257
call fcn.00441740
mov dword [ebp - 0x48], eax
test esi, esi
push eax
cmove esi, eax
mov dword [ebp - 0x68], esi
call fcn.00447630
mov edi, dword [ebp + 0xc]
mov esi, eax
add esp, 4
mov dword [ebp - 0x5c], esi
lea edx, [esi + esi]
lea ecx, [edx + 2]
cmp edi, ecx
jae 0x4542a5
push 0x153
push 0x923ac8
push 0x7e
push 0
push 4
call fcn.00447a40
add esp, 0x14
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00698575
mov esp, ebp
pop ebp
ret
dec edi
mov eax, edi
sub eax, edx
mov dword [ebp - 0x64], eax
dec eax
cmp ebx, eax
jbe 0x4542dd
push 0x159
push 0x923ac8
push 0x72
push 0
push 4
call fcn.00447a40
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00698575
mov esp, ebp
pop ebp
ret
lea eax, [edx + 1]
cmp edi, eax
jae 0x4542eb
push 0x15e
jmp 0x45427f
mov eax, dword [ebp - 0x54]
push 0
push dword [ebp - 0x48]
lea ebx, [eax + 1]
mov byte [eax], 0
inc eax
mov dword [ebp - 0x54], ebx
add eax, esi
push 0
push eax
push dword [ebp + 0x1c]
mov dword [ebp - 0x4c], eax
push dword [ebp - 0x60]
call fcn.00441070
add esp, 0x18
test eax, eax
je 0x454292
mov eax, dword [ebp - 0x64]
sub eax, dword [ebp - 0x58]
dec eax
push eax
mov eax, dword [ebp - 0x4c]
add eax, esi
push 0
push eax
call fcn.0069a540
mov ecx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x4c]
sub eax, ecx
sub eax, esi
push ecx
push dword [ebp - 0x50]
add eax, edi
push eax
mov byte [eax - 1], 1
call fcn.0069a6e0
push esi
push ebx
call fcn.00453c60
add esp, 0x20
test eax, eax
je 0x454292
sub edi, esi
push edi
mov dword [ebp - 0x58], edi
call fcn.0069b79f
add esp, 4
mov dword [ebp - 0x48], eax
test eax, eax
jne 0x454382
push 0x172
push 0x923ac8
push 0x41
jmp 0x454286
push dword [ebp - 0x68]
push esi
push ebx
push edi
push eax
call fcn.004540e0
add esp, 0x14
test eax, eax
je 0x4544f5
xor edx, edx
test edi, edi
je 0x454447
mov ecx, dword [ebp - 0x4c]
cmp edi, 0x20
jb 0x454421
lea eax, [ecx - 1]
add eax, edi
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x48]
dec eax
add eax, edi
cmp ecx, eax
ja 0x4543c5
mov eax, dword [ebp - 0x48]
cmp dword [ebp - 0x50], eax
jae 0x454424
mov esi, dword [ebp - 0x48]
mov eax, edi
and eax, 0xffffffe0
mov ebx, esi
sub ebx, ecx
mov dword [ebp - 0x60], eax
mov eax, ecx
mov dword [ebp - 0x50], ebx
mov ebx, dword [ebp - 0x54]
lea ecx, [esi + 0x10]
mov esi, dword [ebp - 0x5c]
mov dword [ebp - 0x64], ecx
mov ecx, dword [ebp - 0x50]
mov edi, dword [ebp - 0x64]
nop dword [eax + eax]
movups xmm0, xmmword [eax]
lea eax, [eax + 0x20]
movups xmm1, xmmword [ecx + eax - 0x20]
pxor xmm1, xmm0
movups xmmword [eax - 0x20], xmm1
movups xmm1, xmmword [edi + edx]
add edx, 0x20
movups xmm0, xmmword [eax - 0x10]
pxor xmm1, xmm0
movups xmmword [eax - 0x10], xmm1
cmp edx, dword [ebp - 0x60]
jb 0x4543f0
mov edi, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x48]
cmp edx, edi
jae 0x454447
mov esi, eax
mov ebx, edi
sub esi, dword [ebp - 0x4c]
add ecx, edx
sub ebx, edx
mov al, byte [ecx + esi]
lea ecx, [ecx + 1]
xor byte [ecx - 1], al
sub ebx, 1
jne 0x454433
mov esi, dword [ebp - 0x5c]
mov ebx, dword [ebp - 0x54]
push dword [ebp - 0x68]
lea eax, [ebp - 0x44]
push edi
push dword [ebp - 0x4c]
push esi
push eax
call fcn.004540e0
add esp, 0x14
test eax, eax
je 0x4544f5
xor edx, edx
test esi, esi
je 0x4544ee
cmp esi, 0x20
jb 0x4544d2
lea ecx, [ebx - 1]
lea eax, [ebp + esi - 0x45]
add ecx, esi
cmp ebx, eax
ja 0x454486
lea eax, [ebp - 0x44]
cmp ecx, eax
jae 0x4544d2
mov eax, esi
lea edi, [ebp - 0x44]
mov ecx, esi
and eax, 0x1f
sub ecx, eax
lea esi, [ebp - 0x34]
sub edi, ebx
mov eax, ebx
sub esi, ebx
mov dword [ebp - 0x50], esi
mov esi, dword [ebp - 0x5c]
mov ebx, dword [ebp - 0x50]
movups xmm0, xmmword [eax]
add edx, 0x20
lea eax, [eax + 0x20]
movups xmm1, xmmword [edi + eax - 0x20]
pxor xmm1, xmm0
movups xmmword [eax - 0x20], xmm1
movups xmm0, xmmword [eax - 0x10]
movups xmm1, xmmword [ebx + eax - 0x20]
pxor xmm1, xmm0
movups xmmword [eax - 0x10], xmm1
cmp edx, ecx
jb 0x4544a4
mov ebx, dword [ebp - 0x54]
cmp edx, esi
jae 0x4544ee
lea edi, [ebp - 0x44]
sub edi, ebx
lea ecx, [edx + ebx]
sub esi, edx
mov al, byte [ecx + edi]
lea ecx, [ecx + 1]
xor byte [ecx - 1], al
sub esi, 1
jne 0x4544e0
mov dword [ebp - 0x6c], 1
push dword [ebp - 0x48]
call fcn.0069b79a
mov ecx, dword [ebp - 4]
add esp, 4
mov eax, dword [ebp - 0x6c]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.00698575
mov esp, ebp
pop ebp
ret