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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push esi
mov esi, ecx
mov ecx, dword [esi]
mov dword [ebp - 4], ecx
mov ecx, dword [esi + 0x18]
xor ecx, dword [eax + 8]
push edi
mov edi, dword [esi + 0x14]
xor edi, dword [eax + 4]
mov dword [ebp - 0x10], ecx
mov ecx, dword [esi + 0x1c]
xor ecx, dword [eax + 0xc]
add esi, 0x10
mov ebx, dword [esi]
xor ebx, dword [eax]
mov dword [ebp - 0xc], ecx
movzx ecx, ch
mov dword [ebp - 0x14], edi
shr edi, 0x18
mov eax, ebx
shr eax, 0x10
mov edx, eax
mov eax, 0xff
and edx, eax
mov dword [ebp - 8], edx
mov edx, dword [ecx*4 + 0x460eb0]
mov ecx, dword [ebp - 8]
xor edx, dword [ecx*4 + 0x4612b0]
mov ecx, dword [ebp - 0x10]
xor edx, dword [edi*4 + 0x4616b0]
movzx edi, byte [ebp - 0x13]
and ecx, eax
xor edx, dword [ecx*4 + 0x460ab0]
mov ecx, dword [ebp - 0x10]
shr ecx, 0x10
and ecx, eax
mov dword [ebp - 8], edi
mov edi, dword [ecx*4 + 0x4612b0]
mov ecx, dword [ebp - 8]
xor edi, dword [ecx*4 + 0x460eb0]
mov ecx, dword [ebp - 0xc]
shr ecx, 0x18
xor edi, dword [ecx*4 + 0x4616b0]
mov ecx, ebx
and ecx, eax
xor edi, dword [ecx*4 + 0x460ab0]
mov ecx, dword [ebp - 0x14]
add esi, 0x10
xor edi, dword [esi]
shr ecx, 0x10
mov dword [ebp - 0x28], edi
and ecx, eax
movzx edi, bh
mov dword [ebp - 8], edi
mov edi, dword [ecx*4 + 0x4612b0]
mov ecx, dword [ebp - 8]
xor edi, dword [ecx*4 + 0x460eb0]
mov ecx, dword [ebp - 0x10]
shr ecx, 0x18
xor edi, dword [ecx*4 + 0x4616b0]
mov ecx, dword [ebp - 0xc]
xor edx, dword [esi + 8]
and ecx, eax
xor edi, dword [ecx*4 + 0x460ab0]
shr ebx, 0x18
xor edi, dword [esi + 0xc]
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], edi
mov edi, dword [ebp - 0xc]
shr edi, 0x10
and edi, eax
mov dword [ebp - 8], edi
movzx edi, byte [ebp - 0xf]
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx*4 + 0x4612b0]
xor ecx, dword [edi*4 + 0x460eb0]
mov edi, dword [ebp - 0x14]
xor ecx, dword [ebx*4 + 0x4616b0]
and edi, eax
xor ecx, dword [edi*4 + 0x460ab0]
xor ecx, dword [esi + 4]
dec dword [ebp - 4]
je 0x431b66
movzx edi, byte [ebp - 0x1b]
mov edi, dword [edi*4 + 0x460eb0]
mov ebx, dword [ebp - 0x28]
shr ebx, 0x10
and ebx, eax
xor edi, dword [ebx*4 + 0x4612b0]
mov ebx, ecx
shr ebx, 0x18
xor edi, dword [ebx*4 + 0x4616b0]
mov ebx, edx
and ebx, eax
xor edi, dword [ebx*4 + 0x460ab0]
mov ebx, edx
xor edi, dword [esi + 0x18]
shr ebx, 0x10
mov dword [ebp - 0x10], edi
movzx edi, ch
mov edi, dword [edi*4 + 0x460eb0]
and ebx, eax
xor edi, dword [ebx*4 + 0x4612b0]
mov ebx, dword [ebp - 0x28]
mov dword [ebp - 8], edi
mov edi, dword [ebp - 0x1c]
shr edi, 0x18
mov edi, dword [edi*4 + 0x4616b0]
xor dword [ebp - 8], edi
mov edi, dword [ebp - 8]
and ebx, eax
xor edi, dword [ebx*4 + 0x460ab0]
movzx ebx, byte [ebp - 0x27]
xor edi, dword [esi + 0x10]
add esi, 0x20
mov dword [ebp - 0x18], edi
mov edi, ecx
shr edi, 0x10
and edi, eax
mov edi, dword [edi*4 + 0x4612b0]
xor edi, dword [ebx*4 + 0x460eb0]
mov ebx, edx
shr ebx, 0x18
xor edi, dword [ebx*4 + 0x4616b0]
mov ebx, dword [ebp - 0x1c]
mov dword [ebp - 8], edi
and ebx, eax
xor edi, dword [ebx*4 + 0x460ab0]
movzx edx, dh
xor edi, dword [esi - 4]
and ecx, eax
mov dword [ebp - 0xc], edi
mov edi, dword [ebp - 0x1c]
shr edi, 0x10
and edi, eax
mov ebx, dword [edi*4 + 0x4612b0]
xor ebx, dword [edx*4 + 0x460eb0]
mov edx, dword [ebp - 0x28]
shr edx, 0x18
xor ebx, dword [edx*4 + 0x4616b0]
mov edx, dword [ebp - 0x18]
xor ebx, dword [ecx*4 + 0x460ab0]
movzx ecx, byte [ebp - 0xb]
mov ecx, dword [ecx*4 + 0x460eb0]
xor ebx, dword [esi - 0xc]
shr edx, 0x10
and edx, eax
xor ecx, dword [edx*4 + 0x4612b0]
mov edx, ebx
shr edx, 0x18
xor ecx, dword [edx*4 + 0x4616b0]
mov edx, dword [ebp - 0x10]
and edx, eax
xor ecx, dword [edx*4 + 0x460ab0]
movzx edi, bh
xor ecx, dword [esi + 8]
mov edx, ecx
mov ecx, dword [ebp - 0x10]
shr ecx, 0x10
and ecx, eax
mov ecx, dword [ecx*4 + 0x4612b0]
xor ecx, dword [edi*4 + 0x460eb0]
mov edi, dword [ebp - 0xc]
shr edi, 0x18
xor ecx, dword [edi*4 + 0x4616b0]
mov edi, dword [ebp - 0x18]
and edi, eax
xor ecx, dword [edi*4 + 0x460ab0]
movzx edi, byte [ebp - 0x17]
xor ecx, dword [esi]
mov dword [ebp - 0x28], ecx
mov ecx, ebx
shr ecx, 0x10
and ecx, eax
mov ecx, dword [ecx*4 + 0x4612b0]
xor ecx, dword [edi*4 + 0x460eb0]
mov edi, dword [ebp - 0x10]
shr edi, 0x18
xor ecx, dword [edi*4 + 0x4616b0]
mov edi, dword [ebp - 0xc]
and edi, eax
xor ecx, dword [edi*4 + 0x460ab0]
mov edi, dword [ebp - 0xc]
xor ecx, dword [esi + 0xc]
shr edi, 0x10
mov dword [ebp - 0x1c], ecx
movzx ecx, byte [ebp - 0xf]
and edi, eax
mov edi, dword [edi*4 + 0x4612b0]
xor edi, dword [ecx*4 + 0x460eb0]
and ebx, eax
mov ecx, edi
mov edi, dword [ebp - 0x18]
shr edi, 0x18
xor ecx, dword [edi*4 + 0x4616b0]
xor ecx, dword [ebx*4 + 0x460ab0]
xor ecx, dword [esi + 4]
dec dword [ebp - 4]
jne 0x431999
mov dword [ebp - 0x20], edx
shr edx, 0x10
and edx, eax
movzx edx, byte [edx + str.cw]
mov edi, dword [ebp - 0x1c]
shr edi, 0x18
mov dh, byte [edi + str.cw]
movzx edi, ch
movzx edi, byte [edi + str.cw]
shl edx, 8
or edx, edi
mov edi, dword [ebp - 0x28]
shl edx, 8
mov ebx, dword [ebp - 0x28]
and edi, eax
movzx edi, byte [edi + str.cw]
or edx, edi
mov edi, dword [ebp + 8]
add esi, 0x10
xor edx, dword [esi]
shr ebx, 0x18
mov dword [edi], edx
mov edx, dword [ebp - 0x1c]
shr edx, 0x10
and edx, eax
movzx edx, byte [edx + str.cw]
mov dh, byte [ebx + str.cw]
movzx ebx, byte [ebp - 0x1f]
movzx ebx, byte [ebx + str.cw]
shl edx, 8
or edx, ebx
shl edx, 8
mov ebx, ecx
and ebx, eax
movzx ebx, byte [ebx + str.cw]
or edx, ebx
xor edx, dword [esi + 4]
mov ebx, ecx
mov dword [edi + 4], edx
mov edx, dword [ebp - 0x28]
shr edx, 0x10
and edx, eax
movzx edx, byte [edx + str.cw]
shr ebx, 0x18
mov dh, byte [ebx + str.cw]
movzx ebx, byte [ebp - 0x1b]
movzx ebx, byte [ebx + str.cw]
shl edx, 8
or edx, ebx
mov ebx, dword [ebp - 0x20]
shl edx, 8
and ebx, eax
movzx ebx, byte [ebx + str.cw]
or edx, ebx
xor edx, dword [esi + 8]
shr ecx, 0x10
mov dword [edi + 8], edx
and ecx, eax
movzx edx, byte [ecx + str.cw]
mov ecx, dword [ebp - 0x20]
shr ecx, 0x18
mov dh, byte [ecx + str.cw]
movzx ecx, byte [ebp - 0x27]
movzx ecx, byte [ecx + str.cw]
shl edx, 8
or edx, ecx
mov ecx, dword [ebp - 0x1c]
and ecx, eax
movzx eax, byte [ecx + str.cw]
shl edx, 8
or edx, eax
xor edx, dword [esi + 0xc]
mov dword [edi + 0xc], edx
pop edi
pop esi
pop ebx
leave
ret