Function at 0x429e1a
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
sub eax, 0x80
je 0x429e4c
sub eax, 0x40
je 0x429e41
sub eax, 0x40
je 0x429e36
or eax, 0xffffffff
pop ebp
ret
mov edx, dword [ebp + 8]
mov dword [edx], 0xe
jmp 0x429e55
mov edx, dword [ebp + 8]
mov dword [edx], 0xc
jmp 0x429e55
mov edx, dword [ebp + 8]
mov dword [edx], 0xa
mov ecx, dword [ebp + 0x10]
push ebx
push esi
sar ecx, 5
lea eax, [edx + 8]
xor esi, esi
push edi
mov dword [edx + 4], eax
mov dword [ebp + 0x10], ecx
test ecx, ecx
jle 0x429e9d
mov ecx, dword [ebp + 0xc]
add ecx, 2
movzx edi, byte [ecx + 1]
movzx ebx, byte [ecx]
shl edi, 8
or edi, ebx
movzx ebx, byte [ecx - 1]
shl edi, 8
or edi, ebx
movzx ebx, byte [ecx - 2]
shl edi, 8
or edi, ebx
mov dword [eax + esi*4], edi
inc esi
add ecx, 4
cmp esi, dword [ebp + 0x10]
jl 0x429e73
mov edx, dword [edx]
sub edx, 0xa
je 0x42a01d
dec edx
dec edx
je 0x429f91
dec edx
dec edx
jne 0x42a097
mov dword [ebp + 0x10], 0x438500
mov esi, 0xff
mov ecx, dword [eax + 0x1c]
movzx edx, byte [eax + 0x1f]
movzx edx, byte [edx + str.cw]
and ecx, esi
movzx ecx, byte [ecx + str.cw]
shl ecx, 8
xor ecx, edx
movzx edx, byte [eax + 0x1e]
movzx edx, byte [edx + str.cw]
shl ecx, 8
xor ecx, edx
movzx edx, byte [eax + 0x1d]
movzx edx, byte [edx + str.cw]
shl ecx, 8
xor ecx, edx
mov edx, dword [ebp + 0x10]
xor ecx, dword [edx]
mov edx, dword [eax + 4]
xor ecx, dword [eax]
lea edi, [eax + 0x20]
xor edx, ecx
mov dword [edi], ecx
mov ecx, dword [eax + 8]
xor ecx, edx
mov dword [eax + 0x28], ecx
mov dword [eax + 0x24], edx
mov edx, dword [eax + 0xc]
xor edx, ecx
mov dword [eax + 0x2c], edx
movzx ecx, byte [eax + 0x2f]
movzx ecx, byte [ecx + str.cw]
movzx ebx, byte [eax + 0x2e]
movzx ebx, byte [ebx + str.cw]
shl ecx, 8
xor ecx, ebx
movzx ebx, byte [eax + 0x2d]
movzx ebx, byte [ebx + str.cw]
add dword [ebp + 0x10], 4
shl ecx, 8
xor ecx, ebx
and edx, esi
movzx edx, byte [edx + str.cw]
shl ecx, 8
xor ecx, edx
xor ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
xor edx, ecx
mov dword [eax + 0x30], ecx
mov ecx, dword [eax + 0x18]
xor ecx, edx
mov dword [eax + 0x38], ecx
xor ecx, dword [eax + 0x1c]
cmp dword [ebp + 0x10], 0x43851c
mov dword [eax + 0x34], edx
mov dword [eax + 0x3c], ecx
mov eax, edi
jl 0x429ec4
jmp 0x42a097
mov dword [ebp + 0x10], 0x438500
mov esi, 0xff
mov ebx, dword [eax + 0x14]
movzx edx, byte [eax + 0x17]
movzx edx, byte [edx + str.cw]
mov ecx, ebx
and ecx, esi
movzx ecx, byte [ecx + str.cw]
shl ecx, 8
xor ecx, edx
movzx edx, byte [eax + 0x16]
movzx edx, byte [edx + str.cw]
shl ecx, 8
xor ecx, edx
movzx edx, byte [eax + 0x15]
movzx edx, byte [edx + str.cw]
shl ecx, 8
xor ecx, edx
xor ecx, dword [eax]
mov edx, dword [ebp + 0x10]
xor ecx, dword [edx]
mov edx, dword [eax + 4]
add dword [ebp + 0x10], 4
xor edx, ecx
lea edi, [eax + 0x18]
mov dword [edi], ecx
mov ecx, dword [eax + 8]
xor ecx, edx
mov dword [eax + 0x1c], edx
mov edx, dword [eax + 0xc]
xor edx, ecx
mov dword [eax + 0x20], ecx
mov ecx, dword [eax + 0x10]
xor ecx, edx
mov dword [eax + 0x28], ecx
xor ecx, ebx
cmp dword [ebp + 0x10], 0x438520
mov dword [eax + 0x24], edx
mov dword [eax + 0x2c], ecx
mov eax, edi
jl 0x429f9d
jmp 0x42a097
mov dword [ebp + 0x10], 0x438500
mov esi, 0xff
mov ebx, dword [eax + 0xc]
movzx edx, byte [eax + 0xf]
movzx edx, byte [edx + str.cw]
mov ecx, ebx
and ecx, esi
movzx ecx, byte [ecx + str.cw]
shl ecx, 8
xor ecx, edx
movzx edx, byte [eax + 0xe]
movzx edx, byte [edx + str.cw]
shl ecx, 8
xor ecx, edx
movzx edx, byte [eax + 0xd]
movzx edx, byte [edx + str.cw]
shl ecx, 8
xor ecx, edx
mov edx, dword [ebp + 0x10]
xor ecx, dword [edx]
mov edx, dword [eax + 4]
xor ecx, dword [eax]
add dword [ebp + 0x10], 4
xor edx, ecx
lea edi, [eax + 0x10]
mov dword [edi], ecx
mov ecx, dword [eax + 8]
xor ecx, edx
mov dword [eax + 0x18], ecx
xor ecx, ebx
cmp dword [ebp + 0x10], 0x438528
mov dword [eax + 0x14], edx
mov dword [eax + 0x1c], ecx
mov eax, edi
jl 0x42a029
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret