Function at 0x429e40
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x521ee9
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x5640a8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov ebx, ecx
mov dword [ebp - 0x28], ebx
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], 0
mov dword [ebp - 0x20], 0
mov eax, dword [ecx + 4]
sub eax, dword [ecx]
mov ecx, ebx
push eax
call fcn.0042a3f0
mov dword [ebp - 4], 0
mov esi, dword [edi]
mov edi, dword [edi + 4]
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x2c], edi
cmp esi, edi
je 0x42a042
nop
mov edx, dword [ebx + 4]
mov ecx, edx
mov eax, dword [ebx]
sub ecx, eax
je 0x42a060
mov cl, byte [esi]
xor cl, byte [eax]
mov byte [ebp - 0xe], cl
lea ecx, [eax + 1]
sub edx, ecx
push edx
push ecx
push eax
call fcn.004f9080
dec dword [ebx + 4]
lea eax, [ebp - 0xd]
mov ecx, dword [ebx + 4]
add esp, 0xc
mov byte [ebp - 0xd], 0
cmp eax, ecx
jae 0x429f53
mov edx, dword [ebx]
cmp edx, eax
ja 0x429f53
sub eax, edx
mov dword [ebp - 0x24], eax
mov eax, dword [ebx + 8]
mov dword [ebp - 0x14], eax
cmp ecx, eax
jne 0x429f40
sub eax, ecx
cmp eax, 1
jae 0x429f40
mov eax, edx
sub eax, ecx
dec eax
cmp eax, 1
jb 0x42a056
mov eax, dword [ebp - 0x14]
sub ecx, edx
sub eax, edx
inc ecx
mov dword [ebp - 0x14], eax
xor edx, edx
shr eax, 1
mov dword [ebp - 0x18], ecx
mov ecx, eax
add eax, dword [ebp - 0x14]
not ecx
cmp ecx, dword [ebp - 0x14]
mov ecx, ebx
cmovae edx, eax
mov eax, dword [ebp - 0x18]
cmp edx, eax
cmovae eax, edx
push eax
call fcn.0042d0f0
mov edx, dword [ebx + 4]
test edx, edx
je 0x429fa8
mov eax, dword [ebx]
mov ecx, dword [ebp - 0x24]
mov al, byte [ecx + eax]
mov byte [edx], al
jmp 0x429fa8
mov edx, dword [ebx + 8]
cmp ecx, edx
jne 0x429f9e
mov eax, edx
sub eax, ecx
cmp eax, 1
jae 0x429f9e
mov eax, dword [ebx]
sub eax, ecx
dec eax
cmp eax, 1
jb 0x42a056
sub edx, dword [ebx]
sub ecx, dword [ebx]
mov eax, edx
inc ecx
shr eax, 1
mov dword [ebp - 0x18], ecx
mov ecx, eax
add eax, edx
mov dword [ebp - 0x24], edx
not ecx
xor edx, edx
cmp ecx, dword [ebp - 0x24]
mov ecx, ebx
cmovae edx, eax
mov eax, dword [ebp - 0x18]
cmp edx, eax
cmovae eax, edx
push eax
call fcn.0042d0f0
mov eax, dword [ebx + 4]
test eax, eax
je 0x429fa8
mov byte [eax], 0
inc dword [ebx + 4]
xor ecx, ecx
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
mov dword [ebp - 0x18], ecx
sub eax, edx
je 0x42a036
nop dword [eax]
cmp eax, ecx
jbe 0x42a060
lea eax, [edx + ecx]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov eax, dword [eax + 4]
sub eax, edx
cmp eax, ecx
jbe 0x42a060
mov cl, byte [edx + ecx]
xor eax, eax
movzx edi, byte [ebp - 0xe]
movzx ecx, cl
mov dword [ebp - 0x24], ecx
mov esi, ecx
lea ebx, [eax + 7]
mov cl, bl
mov edx, edi
shr edx, cl
mov ecx, eax
and edx, 1
sar ecx, 7
imul edx, esi
add eax, eax
imul ecx, ecx, 0x11d
xor edx, ecx
xor eax, edx
sub ebx, 1
jns 0x429ff4
mov ecx, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x28]
mov esi, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x2c]
xor byte [ecx], al
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebx + 4]
inc ecx
mov edx, dword [ebx]
sub eax, edx
mov dword [ebp - 0x18], ecx
cmp ecx, eax
jb 0x429fc0
inc esi
mov dword [ebp - 0x1c], esi
cmp esi, edi
jne 0x429eb0
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.vector_T__too_long
call fcn.004de9e1
push str.invalid_vector_T__subscript
call fcn.004dea01
int3