Function at 0x100f1fc0
Capabilities:
Encode data using add xor sub operations
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
sub esp, 0x18
mov eax, dword [esp + 0x1c]
push ebx
mov ebx, dword [ecx + 0x14]
push ebp
xor ebx, dword [eax + 4]
mov ebp, edx
mov edx, dword [ecx + 0x10]
xor edx, dword [eax]
mov dword [esp + 0xc], edx
mov edx, dword [ecx + 0x18]
xor edx, dword [eax + 8]
mov dword [esp + 8], edx
mov edx, dword [ecx + 0x1c]
xor edx, dword [eax + 0xc]
mov eax, ebx
sar eax, 8
movzx eax, al
push esi
lea esi, [ecx + 0x20]
mov dword [esp + 0x18], edx
push edi
mov edi, dword [ecx]
mov ecx, dword [esp + 0x10]
sar ecx, 0x10
movzx ecx, cl
mov dword [esp + 0x24], ebp
mov ecx, dword [ecx*4 + 0x10140e40]
xor ecx, dword [eax*4 + 0x10140a40]
mov eax, edx
shr eax, 0x18
xor ecx, dword [eax*4 + 0x10141240]
mov eax, dword [esp + 0x14]
movzx eax, al
xor ecx, dword [eax*4 + 0x10140640]
xor ecx, dword [esi]
mov eax, dword [esp + 0x10]
sar eax, 8
mov dword [esp + 0x20], ecx
movzx ecx, al
mov eax, edx
shr eax, 0x10
movzx eax, al
mov edx, dword [ecx*4 + 0x10140a40]
xor edx, dword [eax*4 + 0x10140e40]
mov eax, dword [esp + 0x14]
shr eax, 0x18
xor edx, dword [eax*4 + 0x10141240]
movzx eax, bl
xor edx, dword [eax*4 + 0x10140640]
xor edx, dword [esi + 4]
mov eax, dword [esp + 0x14]
sar eax, 0x10
mov dword [esp + 0x2c], edx
movzx edx, al
mov eax, dword [esp + 0x1c]
shr eax, 8
movzx ecx, al
mov eax, dword [edx*4 + 0x10140e40]
xor eax, dword [ecx*4 + 0x10140a40]
mov ecx, ebx
shr ecx, 0x18
sar ebx, 0x10
xor eax, dword [ecx*4 + 0x10141240]
mov ecx, dword [esp + 0x10]
movzx ecx, cl
xor eax, dword [ecx*4 + 0x10140640]
mov ecx, dword [esp + 0x14]
xor eax, dword [esi + 8]
sar ecx, 8
movzx edx, cl
movzx ecx, bl
mov edx, dword [edx*4 + 0x10140a40]
xor edx, dword [ecx*4 + 0x10140e40]
mov ecx, dword [esp + 0x10]
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x10141240]
mov ecx, dword [esp + 0x1c]
movzx ecx, cl
xor edx, dword [ecx*4 + 0x10140640]
xor edx, dword [esi + 0xc]
mov dword [esp + 0x10], edx
sub edi, 1
je 0x100f230e
mov ebp, edi
mov edi, dword [esp + 0x10]
mov ecx, eax
shr ecx, 0x10
movzx edx, cl
mov ecx, dword [esp + 0x2c]
shr ecx, 8
movzx ecx, cl
mov edx, dword [edx*4 + 0x10140e40]
mov ebx, dword [esp + 0x20]
xor edx, dword [ecx*4 + 0x10140a40]
mov ecx, edi
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x10141240]
movzx ecx, bl
xor edx, dword [ecx*4 + 0x10140640]
mov ecx, edi
xor edx, dword [esi + 0x10]
shr ecx, 0x10
mov dword [esp + 0x18], edx
movzx edx, cl
mov ecx, eax
shr ecx, 8
movzx ecx, cl
mov edx, dword [edx*4 + 0x10140e40]
xor edx, dword [ecx*4 + 0x10140a40]
mov ecx, ebx
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x10141240]
mov ecx, dword [esp + 0x2c]
movzx ecx, cl
xor edx, dword [ecx*4 + 0x10140640]
mov ecx, edi
xor edx, dword [esi + 0x14]
shr ecx, 8
mov dword [esp + 0x14], edx
movzx edx, cl
mov ecx, ebx
shr ecx, 0x10
movzx ecx, cl
shr ebx, 8
mov edx, dword [edx*4 + 0x10140a40]
xor edx, dword [ecx*4 + 0x10140e40]
mov ecx, dword [esp + 0x2c]
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x10141240]
movzx ecx, al
shr eax, 0x18
xor edx, dword [ecx*4 + 0x10140640]
xor edx, dword [esi + 0x18]
mov ecx, dword [esp + 0x2c]
shr ecx, 0x10
mov dword [esp + 0x1c], edx
movzx edx, cl
movzx ecx, bl
mov ebx, dword [edx*4 + 0x10140e40]
xor ebx, dword [ecx*4 + 0x10140a40]
xor ebx, dword [eax*4 + 0x10141240]
mov eax, edi
movzx eax, al
xor ebx, dword [eax*4 + 0x10140640]
mov eax, dword [esp + 0x1c]
xor ebx, dword [esi + 0x1c]
add esi, 0x20
shr eax, 0x10
movzx ecx, al
mov eax, dword [esp + 0x14]
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0x10140e40]
xor ecx, dword [eax*4 + 0x10140a40]
mov eax, ebx
shr eax, 0x18
xor ecx, dword [eax*4 + 0x10141240]
mov eax, dword [esp + 0x18]
movzx eax, al
xor ecx, dword [eax*4 + 0x10140640]
mov eax, ebx
xor ecx, dword [esi]
shr eax, 0x10
mov dword [esp + 0x20], ecx
movzx ecx, al
mov edx, dword [ecx*4 + 0x10140e40]
mov eax, dword [esp + 0x1c]
shr eax, 8
movzx eax, al
xor edx, dword [eax*4 + 0x10140a40]
mov eax, dword [esp + 0x18]
shr eax, 0x18
xor edx, dword [eax*4 + 0x10141240]
mov eax, dword [esp + 0x14]
movzx eax, al
xor edx, dword [eax*4 + 0x10140640]
mov eax, ebx
xor edx, dword [esi + 4]
shr eax, 8
mov dword [esp + 0x2c], edx
movzx edx, al
mov eax, dword [esp + 0x18]
shr eax, 0x10
movzx ecx, al
mov eax, dword [edx*4 + 0x10140a40]
mov edx, dword [esp + 0x14]
xor eax, dword [ecx*4 + 0x10140e40]
mov ecx, edx
shr ecx, 0x18
shr edx, 0x10
movzx edx, dl
xor eax, dword [ecx*4 + 0x10141240]
mov ecx, dword [esp + 0x1c]
mov edx, dword [edx*4 + 0x10140e40]
movzx ecx, cl
xor eax, dword [ecx*4 + 0x10140640]
mov ecx, dword [esp + 0x18]
xor eax, dword [esi + 8]
shr ecx, 8
movzx ecx, cl
xor edx, dword [ecx*4 + 0x10140a40]
mov ecx, dword [esp + 0x1c]
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x10141240]
movzx ecx, bl
xor edx, dword [ecx*4 + 0x10140640]
xor edx, dword [esi + 0xc]
mov dword [esp + 0x10], edx
sub ebp, 1
jne 0x100f2103
mov ebp, dword [esp + 0x24]
shr edx, 0x18
mov ecx, eax
shr ecx, 0x10
movzx ecx, cl
mov ebx, dword [esp + 0x20]
movzx edx, byte [edx + str.cw]
shl edx, 8
movzx ecx, byte [ecx + str.cw]
or edx, ecx
mov ecx, dword [esp + 0x2c]
shr ecx, 8
movzx ecx, cl
shl edx, 8
movzx ecx, byte [ecx + str.cw]
or edx, ecx
movzx ecx, bl
shl edx, 8
movzx ecx, byte [ecx + str.cw]
or edx, ecx
mov ecx, dword [esp + 0x10]
xor edx, dword [esi + 0x10]
shr ecx, 0x10
movzx ecx, cl
mov dword [ebp], edx
movzx edx, byte [ecx + str.cw]
mov ecx, ebx
shr ecx, 0x18
movzx ecx, byte [ecx + str.cw]
shl ecx, 8
or edx, ecx
mov ecx, eax
shr ecx, 8
movzx ecx, cl
shl edx, 8
movzx ecx, byte [ecx + str.cw]
or edx, ecx
mov ecx, dword [esp + 0x2c]
movzx ecx, cl
shl edx, 8
movzx ecx, byte [ecx + str.cw]
or edx, ecx
mov ecx, dword [esp + 0x2c]
xor edx, dword [esi + 0x14]
shr ecx, 0x18
mov dword [ebp + 4], edx
movzx edx, byte [ecx + str.cw]
mov ecx, ebx
shr ecx, 0x10
movzx ecx, cl
shl edx, 8
shr ebx, 8
movzx ecx, byte [ecx + str.cw]
or edx, ecx
mov ecx, dword [esp + 0x10]
shr ecx, 8
movzx ecx, cl
shl edx, 8
movzx ecx, byte [ecx + str.cw]
or edx, ecx
movzx ecx, al
shr eax, 0x18
shl edx, 8
movzx ecx, byte [ecx + str.cw]
or edx, ecx
movzx ecx, byte [eax + str.cw]
mov eax, dword [esp + 0x2c]
xor edx, dword [esi + 0x18]
shr eax, 0x10
movzx eax, al
shl ecx, 8
mov dword [ebp + 8], edx
movzx eax, byte [eax + str.cw]
or ecx, eax
movzx eax, bl
shl ecx, 8
movzx eax, byte [eax + str.cw]
or ecx, eax
mov eax, dword [esp + 0x10]
movzx eax, al
shl ecx, 8
movzx eax, byte [eax + str.cw]
pop edi
or ecx, eax
xor ecx, dword [esi + 0x1c]
pop esi
mov dword [ebp + 0xc], ecx
pop ebp
pop ebx
add esp, 0x18
ret 4