Function at 0x429c50
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
sub esp, 0x18
push ebx
push esi
push edi
mov edi, ecx
xor ecx, ecx
cmp eax, ecx
je 0x429ed9
test al, 7
jne 0x429ed9
mov dword [ebp - 8], ecx
mov dword [ebp - 4], ecx
mov ecx, dword [ebp + 0x10]
cmp ecx, 1
jne 0x429d4f
mov ecx, dword [edi + 0xc]
mov ebx, dword [edi + 8]
mov dword [ebp - 0x14], ecx
cmp eax, 8
jb 0x429d46
mov esi, dword [ebp + 8]
add esi, 7
shr eax, 3
mov dword [ebp + 8], eax
movzx eax, byte [esi - 7]
movzx ecx, byte [esi - 6]
movzx edx, byte [esi - 2]
shl ecx, 0x10
shl eax, 0x18
or eax, ecx
movzx ecx, byte [esi - 5]
shl ecx, 8
or eax, ecx
movzx ecx, byte [esi - 4]
or eax, ecx
movzx ecx, byte [esi - 3]
shl ecx, 0x18
shl edx, 0x10
or ecx, edx
movzx edx, byte [esi - 1]
shl edx, 8
or ecx, edx
movzx edx, byte [esi]
or ecx, edx
mov dword [ebp - 8], eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 8]
mov dword [ebp - 4], ecx
mov dword [ebp - 0xc], ecx
push eax
mov ecx, edi
call fcn.00429650
mov ecx, dword [ebp - 4]
xor ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
add esi, 8
mov dword [ebp - 0x14], edx
mov byte [esi - 8], cl
mov edx, ecx
shr edx, 8
mov byte [esi - 9], dl
mov edx, ecx
xor eax, ebx
mov ebx, dword [ebp - 0x10]
shr edx, 0x10
mov byte [esi - 0xa], dl
shr ecx, 0x18
mov byte [esi - 0xb], cl
mov ecx, eax
mov byte [esi - 0xc], al
mov edx, eax
shr ecx, 8
shr edx, 0x10
mov byte [esi - 0xd], cl
shr eax, 0x18
dec dword [ebp + 8]
mov byte [esi - 0xe], dl
mov byte [esi - 0xf], al
jne 0x429ca0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp ecx, 2
jne 0x429e25
mov ecx, dword [edi + 8]
mov edx, dword [edi + 0xc]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], edx
cmp eax, 8
jb 0x429d46
mov esi, dword [ebp + 8]
add esi, 7
shr eax, 3
mov dword [ebp + 8], eax
jmp 0x429d80
movzx ebx, byte [esi - 7]
movzx eax, byte [esi - 6]
movzx ecx, byte [esi - 2]
shl eax, 0x10
movzx edx, byte [esi]
shl ebx, 0x18
or ebx, eax
movzx eax, byte [esi - 5]
shl eax, 8
or ebx, eax
movzx eax, byte [esi - 4]
or ebx, eax
movzx eax, byte [esi - 3]
shl eax, 0x18
shl ecx, 0x10
or eax, ecx
movzx ecx, byte [esi - 1]
shl ecx, 8
or eax, ecx
or eax, edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x10]
push eax
mov ecx, edi
call fcn.004292d0
mov eax, dword [ebp - 4]
mov edx, eax
xor eax, dword [ebp - 0xc]
add esi, 8
mov ecx, ebx
xor ebx, dword [ebp - 0x10]
mov byte [esi - 8], al
mov dword [ebp - 0x10], ecx
mov ecx, eax
mov dword [ebp - 0xc], edx
mov edx, eax
shr ecx, 8
mov byte [esi - 9], cl
shr eax, 0x18
shr edx, 0x10
mov byte [esi - 0xa], dl
mov byte [esi - 0xb], al
mov eax, ebx
mov byte [esi - 0xc], bl
mov ecx, ebx
shr eax, 8
shr ecx, 0x10
mov byte [esi - 0xd], al
shr ebx, 0x18
dec dword [ebp + 8]
mov byte [esi - 0xe], cl
mov byte [esi - 0xf], bl
jne 0x429d80
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp eax, 8
jb 0x429d46
mov esi, dword [ebp + 8]
add esi, 7
shr eax, 3
mov ebx, eax
lea esp, [esp]
movzx eax, byte [esi - 7]
movzx ecx, byte [esi - 6]
movzx edx, byte [esi - 1]
shl eax, 0x18
shl ecx, 0x10
or eax, ecx
movzx ecx, byte [esi - 5]
shl ecx, 8
or eax, ecx
movzx ecx, byte [esi - 4]
or eax, ecx
movzx ecx, byte [esi - 2]
mov dword [ebp - 8], eax
movzx eax, byte [esi - 3]
shl eax, 0x18
shl ecx, 0x10
or eax, ecx
movzx ecx, byte [esi]
shl edx, 8
or eax, edx
or eax, ecx
lea edx, [ebp - 8]
push edx
mov ecx, edi
mov dword [ebp - 4], eax
call fcn.00429650
mov eax, dword [ebp - 4]
add esi, 8
mov byte [esi - 8], al
mov ecx, eax
mov edx, eax
shr ecx, 8
mov byte [esi - 9], cl
shr edx, 0x10
mov byte [esi - 0xa], dl
shr eax, 0x18
mov byte [esi - 0xb], al
mov eax, dword [ebp - 8]
mov ecx, eax
mov byte [esi - 0xc], al
mov edx, eax
shr ecx, 8
shr edx, 0x10
mov byte [esi - 0xd], cl
shr eax, 0x18
dec ebx
mov byte [esi - 0xe], dl
mov byte [esi - 0xf], al
jne 0x429e40
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push 0x43e980
lea eax, [ebp + 8]
push eax
mov dword [ebp + 8], 0x439f30
call sub.MSVCR100.dll__CxxThrowException
int3