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

Disassembly:
sub esp, 0x28
push ebx
push ebp
push esi
mov esi, ecx
mov ecx, dword [esi + 0x14]
mov dword [esp + 0x10], edx
mov eax, dword [esi]
add esi, 0x10
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x38]
push edi
mov edi, dword [esi]
mov edx, dword [eax + 4]
mov ebx, dword [eax]
mov ebp, dword [eax + 8]
xor ecx, edx
mov edx, dword [esi + 8]
xor edi, ebx
mov ebx, dword [eax + 0xc]
xor edx, ebp
mov ebp, dword [esi + 0xc]
mov dword [esp + 0x20], edx
xor eax, eax
xor ebp, ebx
mov al, byte [esp + 0x22]
xor ebx, ebx
mov dword [esp + 0x24], ebp
mov bl, ch
mov eax, dword [eax*4 + 0x100e5c80]
mov dword [esp + 0x18], edi
xor eax, dword [ebx*4 + 0x100e5880]
and edi, 0xff
shr ebp, 0x18
add esi, 0x10
mov dword [esp + 0x1c], ecx
mov ebx, dword [ebp*4 + 0x100e6080]
xor eax, ebx
mov ebx, dword [edi*4 + 0x100e5480]
mov edi, dword [esi]
xor eax, ebx
xor eax, edi
xor ebx, ebx
mov dword [esp + 0x28], eax
xor eax, eax
mov al, byte [esp + 0x26]
mov bl, dh
mov edx, dword [eax*4 + 0x100e5c80]
mov eax, dword [esp + 0x18]
mov ebp, dword [ebx*4 + 0x100e5880]
xor ebx, ebx
shr eax, 0x18
xor edx, ebp
mov bl, byte [esp + 0x1a]
mov ebp, dword [eax*4 + 0x100e6080]
mov eax, ecx
and eax, 0xff
xor edx, ebp
mov ebp, dword [ebx*4 + 0x100e5c80]
mov edi, dword [eax*4 + 0x100e5480]
mov eax, dword [esi + 4]
xor edx, edi
xor edx, eax
xor eax, eax
mov al, byte [esp + 0x25]
mov dword [esp + 0x2c], edx
shr ecx, 0x18
mov eax, dword [eax*4 + 0x100e5880]
xor eax, ebp
mov ebp, dword [ecx*4 + 0x100e6080]
mov ecx, dword [esp + 0x20]
xor eax, ebp
and ecx, 0xff
mov edi, dword [ecx*4 + 0x100e5480]
mov ecx, dword [esi + 8]
xor eax, edi
xor eax, ecx
mov dword [esp + 0x30], eax
xor eax, eax
mov al, byte [esp + 0x1e]
xor ecx, ecx
mov cl, byte [esp + 0x19]
mov edi, dword [eax*4 + 0x100e5c80]
mov eax, dword [esp + 0x20]
mov ebp, dword [ecx*4 + 0x100e5880]
shr eax, 0x18
xor edi, ebp
mov ebp, dword [esp + 0x10]
mov ecx, dword [eax*4 + 0x100e6080]
mov eax, dword [esp + 0x24]
and eax, 0xff
xor edi, ecx
mov ecx, dword [esi + 0xc]
xor edi, dword [eax*4 + 0x100e5480]
xor edi, ecx
dec ebp
mov dword [esp + 0x34], edi
je 0x1002706a
xor eax, eax
xor ecx, ecx
mov al, byte [esp + 0x32]
mov cl, dh
shr edi, 0x18
mov eax, dword [eax*4 + 0x100e5c80]
mov ebx, dword [ecx*4 + 0x100e5880]
mov ecx, dword [edi*4 + 0x100e6080]
xor eax, ebx
xor eax, ecx
mov ecx, dword [esp + 0x28]
mov ebx, dword [esi + 0x10]
and ecx, 0xff
add esi, 0x20
mov edi, dword [ecx*4 + 0x100e5480]
xor ecx, ecx
mov cl, byte [esp + 0x31]
xor eax, edi
xor eax, ebx
mov ebx, dword [esi - 0xc]
mov edi, dword [ecx*4 + 0x100e5880]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x18], eax
xor eax, eax
mov al, byte [esp + 0x36]
shr ecx, 0x18
mov eax, dword [eax*4 + 0x100e5c80]
xor eax, edi
mov edi, dword [ecx*4 + 0x100e6080]
mov ecx, edx
xor eax, edi
and ecx, 0xff
shr edx, 0x18
mov edi, dword [ecx*4 + 0x100e5480]
xor ecx, ecx
mov cl, byte [esp + 0x35]
xor eax, edi
xor eax, ebx
xor ebx, ebx
mov bl, byte [esp + 0x2a]
mov ecx, dword [ecx*4 + 0x100e5880]
mov dword [esp + 0x1c], eax
mov edi, dword [ebx*4 + 0x100e5c80]
xor ecx, edi
mov edi, dword [edx*4 + 0x100e6080]
mov edx, dword [esp + 0x30]
xor ecx, edi
and edx, 0xff
mov edi, dword [edx*4 + 0x100e5480]
mov edx, dword [esi - 8]
xor ecx, edi
xor ecx, edx
xor edx, edx
mov dl, byte [esp + 0x29]
mov dword [esp + 0x20], ecx
xor ecx, ecx
mov cl, byte [esp + 0x2e]
mov edi, dword [ecx*4 + 0x100e5c80]
mov ecx, dword [edx*4 + 0x100e5880]
xor edi, ecx
mov ecx, dword [esp + 0x30]
shr ecx, 0x18
mov edx, dword [ecx*4 + 0x100e6080]
xor ecx, ecx
xor edi, edx
mov edx, dword [esp + 0x34]
and edx, 0xff
mov cl, byte [esp + 0x22]
mov ebx, dword [edx*4 + 0x100e5480]
mov edx, dword [esi - 4]
xor edi, ebx
mov ecx, dword [ecx*4 + 0x100e5c80]
xor edi, edx
xor edx, edx
mov dl, ah
mov dword [esp + 0x24], edi
shr edi, 0x18
mov ebx, dword [edx*4 + 0x100e5880]
mov edx, dword [edi*4 + 0x100e6080]
xor ecx, ebx
xor ecx, edx
mov edx, dword [esp + 0x18]
mov ebx, dword [esi]
and edx, 0xff
mov edi, dword [edx*4 + 0x100e5480]
xor edx, edx
mov dl, byte [esp + 0x21]
xor ecx, edi
xor ecx, ebx
mov ebx, dword [esi + 4]
mov edi, dword [edx*4 + 0x100e5880]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x28], ecx
xor ecx, ecx
mov cl, byte [esp + 0x26]
shr edx, 0x18
mov ecx, dword [ecx*4 + 0x100e5c80]
xor ecx, edi
mov edi, dword [edx*4 + 0x100e6080]
mov edx, eax
xor ecx, edi
and edx, 0xff
shr eax, 0x18
xor ecx, dword [edx*4 + 0x100e5480]
xor ecx, ebx
xor ebx, ebx
mov bl, byte [esp + 0x1a]
mov edx, ecx
xor ecx, ecx
mov dword [esp + 0x2c], edx
mov cl, byte [esp + 0x25]
mov edi, dword [ebx*4 + 0x100e5c80]
mov ecx, dword [ecx*4 + 0x100e5880]
xor ecx, edi
mov edi, dword [eax*4 + 0x100e6080]
mov eax, dword [esp + 0x20]
xor ecx, edi
and eax, 0xff
mov edi, dword [eax*4 + 0x100e5480]
mov eax, dword [esi + 8]
xor ecx, edi
xor ecx, eax
xor eax, eax
mov al, byte [esp + 0x19]
mov dword [esp + 0x30], ecx
xor ecx, ecx
mov cl, byte [esp + 0x1e]
mov ebx, dword [eax*4 + 0x100e5880]
mov eax, dword [esp + 0x20]
mov edi, dword [ecx*4 + 0x100e5c80]
mov ecx, dword [esi + 0xc]
shr eax, 0x18
xor edi, ebx
mov ebx, dword [eax*4 + 0x100e6080]
mov eax, dword [esp + 0x24]
and eax, 0xff
xor edi, ebx
xor edi, dword [eax*4 + 0x100e5480]
xor edi, ecx
dec ebp
mov dword [esp + 0x34], edi
jne 0x10026e3d
xor ecx, ecx
mov ebp, dword [esp + 0x28]
mov cl, byte [esp + 0x32]
xor eax, eax
shr edi, 0x18
mov al, byte [ecx + str.cw]
xor ecx, ecx
mov ah, byte [edi + str.cw]
mov cl, dh
xor ebx, ebx
mov edi, dword [esp + 0x14]
mov bl, byte [ecx + str.cw]
mov ecx, ebp
shl eax, 8
or eax, ebx
and ecx, 0xff
xor ebx, ebx
add esi, 0x10
mov bl, byte [ecx + str.cw]
mov ecx, dword [esi]
shl eax, 8
or eax, ebx
xor ebx, ebx
xor eax, ecx
xor ecx, ecx
mov dword [edi], eax
xor eax, eax
mov al, byte [esp + 0x36]
shr ebp, 0x18
mov cl, byte [eax + str.cw]
xor eax, eax
mov al, byte [esp + 0x31]
mov ch, byte [ebp + str.cw]
shl ecx, 8
mov bl, byte [eax + str.cw]
mov eax, edx
or ecx, ebx
and eax, 0xff
xor ebx, ebx
mov bl, byte [eax + str.cw]
xor eax, eax
shl ecx, 8
or ecx, ebx
mov ebx, dword [esi + 4]
xor ecx, ebx
xor ebx, ebx
mov dword [edi + 4], ecx
xor ecx, ecx
mov cl, byte [esp + 0x2a]
shr edx, 0x18
mov bl, byte [ecx + str.cw]
mov ecx, dword [esp + 0x34]
mov bh, byte [edx + str.cw]
xor edx, edx
mov dl, ch
shl ebx, 8
mov al, byte [edx + str.cw]
xor edx, edx
or ebx, eax
mov eax, dword [esp + 0x30]
mov ebp, eax
and ebp, 0xff
shl ebx, 8
mov dl, byte [ebp + str.cw]
or ebx, edx
mov edx, dword [esi + 8]
xor ebx, edx
xor edx, edx
mov dl, byte [esp + 0x2e]
mov dword [edi + 8], ebx
xor ebx, ebx
mov bl, byte [edx + str.cw]
xor edx, edx
shr eax, 0x18
mov bh, byte [eax + str.cw]
xor eax, eax
mov al, byte [esp + 0x29]
shl ebx, 8
mov dl, byte [eax + str.cw]
or ebx, edx
shl ebx, 8
and ecx, 0xff
xor eax, eax
mov al, byte [ecx + str.cw]
or ebx, eax
mov eax, dword [esi + 0xc]
xor ebx, eax
mov dword [edi + 0xc], ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 4