Function at 0x430900
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, edx
mov edx, esi
mov dword [ebp - 0xc], ebx
push edi
shr edx, 2
mov edi, ecx
xor ecx, ecx
mov dword [ebp - 0x20], edx
mov dword [ebp - 4], ecx
test edx, edx
je 0x430a2b
cmp edx, 8
jb 0x4309e3
lea eax, [edi - 4]
mov dword [ebp - 4], ecx
lea eax, [eax + edx*4]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
lea eax, [eax + edx*4]
add eax, 0xfffffffc
cmp edi, eax
ja 0x430956
mov eax, dword [ebp + 8]
cmp dword [ebp - 0x10], eax
jae 0x4309e6
lea eax, [ebx - 4]
lea eax, [eax + edx*4]
cmp edi, eax
ja 0x43096a
lea eax, [edi - 4]
lea eax, [eax + edx*4]
cmp eax, ebx
jae 0x4309e3
mov eax, edx
mov edx, ebx
and eax, 0xfffffff8
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
sub edx, eax
mov dword [ebp - 0x14], edx
mov edx, edi
sub edx, eax
mov dword [ebp - 0x1c], edx
mov edx, edi
lea esi, [eax + 0x10]
mov eax, ebx
mov ebx, dword [ebp - 0x14]
sub eax, edi
mov dword [ebp - 0x10], esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
nop dword [eax + eax]
mov ecx, dword [ebp - 0x18]
lea edx, [edx + 0x20]
movups xmm0, xmmword [eax - 0x10]
lea eax, [eax + 0x20]
movups xmm1, xmmword [ecx + edx - 0x20]
mov ecx, dword [ebp - 0x1c]
pxor xmm1, xmm0
movups xmmword [edx - 0x20], xmm1
movups xmm1, xmmword [ebx + eax - 0x20]
movups xmm0, xmmword [eax - 0x20]
pxor xmm1, xmm0
movups xmmword [ecx + eax - 0x20], xmm1
mov ecx, dword [ebp - 4]
add ecx, 8
mov dword [ebp - 4], ecx
cmp ecx, dword [ebp - 8]
jb 0x4309a0
mov edx, dword [ebp - 0x20]
mov ebx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
cmp ecx, edx
jae 0x430a2b
mov edx, edi
lea ecx, [eax + ecx*4]
sub edx, eax
mov esi, ebx
mov dword [ebp - 8], edx
sub esi, eax
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x20]
mov ebx, dword [ebp - 8]
sub edx, eax
add eax, edx
mov dword [ebp - 4], eax
nop dword [eax + eax]
mov eax, dword [ecx + esi]
lea ecx, [ecx + 4]
xor eax, dword [ecx - 4]
mov dword [ecx + ebx - 4], eax
sub edx, 1
jne 0x430a10
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
shl ecx, 2
sub esi, ecx
mov dword [ebp + 0xc], esi
je 0x430b12
mov edx, dword [ebp + 8]
add ebx, ecx
add edx, ecx
mov dword [ebp - 0xc], ebx
add edi, ecx
mov dword [ebp + 8], edx
xor ecx, ecx
mov dword [ebp - 4], ecx
test esi, esi
je 0x430b12
cmp esi, 0x20
jb 0x430af2
lea eax, [edx - 1]
mov dword [ebp - 4], ecx
add eax, esi
cmp edi, eax
ja 0x430a73
lea eax, [edi - 1]
add eax, esi
cmp eax, edx
jae 0x430af2
lea eax, [ebx - 1]
add eax, esi
cmp edi, eax
ja 0x430a85
lea eax, [edi - 1]
add eax, esi
cmp eax, ebx
jae 0x430af2
mov eax, esi
mov esi, ebx
sub esi, edx
and eax, 0xffffffe0
mov dword [ebp - 8], esi
mov esi, edi
sub esi, edx
mov dword [ebp - 0x14], eax
mov eax, edx
mov dword [ebp - 0x1c], esi
mov edx, ebx
lea esi, [edi + 0x10]
mov ebx, dword [ebp - 8]
sub edx, edi
mov dword [ebp - 0x18], edx
mov edx, dword [ebp - 0x1c]
nop dword [eax]
movups xmm0, xmmword [eax]
mov ecx, dword [ebp - 0x18]
lea eax, [eax + 0x20]
movups xmm1, xmmword [ebx + eax - 0x20]
lea esi, [esi + 0x20]
pxor xmm1, xmm0
movups xmmword [edx + eax - 0x20], xmm1
movups xmm1, xmmword [ecx + esi - 0x20]
mov ecx, dword [ebp - 4]
movups xmm0, xmmword [eax - 0x10]
add ecx, 0x20
mov dword [ebp - 4], ecx
pxor xmm1, xmm0
movups xmmword [esi - 0x20], xmm1
cmp ecx, dword [ebp - 0x14]
jb 0x430ab0
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp - 0xc]
mov edx, dword [ebp + 8]
cmp ecx, esi
jae 0x430b12
add ecx, edx
sub ebx, edx
sub edi, edx
sub esi, dword [ebp - 4]
nop
mov al, byte [ebx + ecx]
lea ecx, [ecx + 1]
xor al, byte [ecx - 1]
mov byte [edi + ecx - 1], al
sub esi, 1
jne 0x430b00
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret