Function at 0x451250
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x408
mov eax, dword [0x68f014]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 0x218]
push eax
xorps xmm0, xmm0
mov dword [ebp - 0x408], esi
push 0xa
mov edx, 0x10
mov dword [ebp - 0x24], 0x1010101
mov dword [ebp - 0x20], 0x1010101
mov dword [ebp - 0x1c], 0x1010101
mov dword [ebp - 0x18], 0x1010101
movups xmmword [esi], xmm0
call fcn.0045f610
add esp, 8
test eax, eax
jne 0x4514cf
lea eax, [ebp - 0x218]
lea edx, [ebp - 0x24]
push eax
mov ecx, edx
call fcn.0045fb30
mov eax, dword [ebp + 8]
xor ecx, ecx
cmp eax, 0x10
lea ebx, [eax - 0x10]
lea eax, [ebp - 0x3fc]
cmovb ebx, ecx
push eax
lea edx, [ecx + 0x10]
mov dword [ebp - 0x400], ebx
push 0xa
lea ecx, [ebp - 0x24]
call fcn.0045f610
add esp, 0xc
test eax, eax
jne 0x4514cf
push edi
test ebx, ebx
je 0x45137d
mov ecx, dword [ebp - 0x400]
lea edx, [esi + 0xf]
dec ecx
mov ebx, 0x6b3440
shr ecx, 4
mov edi, ebx
inc ecx
sub edi, esi
mov eax, ecx
mov dword [ebp - 0x400], ecx
shl eax, 4
mov dword [ebp - 0x404], eax
lea eax, [edi + edx]
cmp esi, eax
ja 0x451345
cmp edx, ebx
jb 0x451345
mov ecx, esi
mov edx, 0x10
mov al, byte [edi + ecx]
lea ecx, [ecx + 1]
xor byte [ecx - 1], al
sub edx, 1
jne 0x451335
jmp 0x451352
movups xmm1, xmmword [esi]
movups xmm0, xmmword [ebx]
pxor xmm1, xmm0
movups xmmword [esi], xmm1
lea eax, [ebp - 0x3fc]
mov edx, esi
push eax
mov ecx, esi
call fcn.0045fb30
add esp, 4
lea edx, [esi + 0xf]
add ebx, 0x10
add edi, 0x10
sub dword [ebp - 0x400], 1
jne 0x451323
mov eax, dword [ebp - 0x404]
lea edi, [eax + 0x6b3440]
mov eax, dword [ebp + 8]
mov ebx, eax
and ebx, 0xf
jne 0x45141e
test eax, eax
je 0x45141e
lea eax, [ebp - 0x218]
mov dword [ebp - 0x14], 0x2020202
lea edx, [ebp - 0x14]
mov dword [ebp - 0x10], 0x2020202
push eax
mov ecx, edx
mov dword [ebp - 0xc], 0x2020202
mov dword [ebp - 8], 0x2020202
call fcn.0045fb30
lea eax, [ebp - 5]
add esp, 4
lea ecx, [esi + 0xf]
cmp esi, eax
ja 0x4513da
lea eax, [ebp - 0x14]
cmp ecx, eax
jae 0x4513e5
lea eax, [edi + 0xf]
cmp esi, eax
ja 0x451416
cmp ecx, edi
jb 0x451416
lea eax, [ebp - 0x14]
mov edx, esi
sub edi, eax
mov ebx, 0x10
sub eax, esi
mov esi, eax
lea eax, [esi + edx]
mov cl, byte [eax + edi]
lea edx, [edx + 1]
xor cl, byte [edx - 1]
xor cl, byte [eax]
mov byte [edx - 1], cl
sub ebx, 1
jne 0x4513f5
mov esi, dword [ebp - 0x408]
jmp 0x4514a9
movups xmm0, xmmword [edi]
jmp 0x451497
lea eax, [ebp - 0x218]
mov dword [ebp - 0x14], 0x3030303
lea edx, [ebp - 0x14]
mov dword [ebp - 0x10], 0x3030303
push eax
mov ecx, edx
mov dword [ebp - 0xc], 0x3030303
mov dword [ebp - 8], 0x3030303
call fcn.0045fb30
lea eax, [ebp - 0x34]
mov edx, ebx
push eax
mov ecx, edi
call fcn.00451200
lea edx, [ebp - 5]
add esp, 8
xor ecx, ecx
lea eax, [esi + 0xf]
cmp esi, edx
ja 0x45146e
lea edx, [ebp - 0x14]
cmp eax, edx
jae 0x451480
lea edx, [ebp - 0x25]
cmp esi, edx
ja 0x451493
lea edx, [ebp - 0x34]
cmp eax, edx
jb 0x451493
nop dword [eax]
mov al, byte [ebp + ecx - 0x34]
xor al, byte [ebp + ecx - 0x14]
xor byte [esi + ecx], al
inc ecx
cmp ecx, 0x10
jb 0x451480
jmp 0x4514a9
movups xmm0, xmmword [ebp - 0x34]
movups xmm1, xmmword [esi]
pxor xmm1, xmm0
movups xmm0, xmmword [ebp - 0x14]
pxor xmm1, xmm0
movups xmmword [esi], xmm1
lea eax, [ebp - 0x3fc]
mov edx, esi
push eax
mov ecx, esi
call fcn.0045fb30
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005cf250
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 0x1001
pop esi
xor ecx, ebp
pop ebx
call fcn.005cf250
mov esp, ebp
pop ebp
ret