Function at 0x43ee60
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x4a100c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov dword [ebp - 0x30], edx
test byte [edi + 0x104], 1
jne 0x43ee95
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047179f
mov esp, ebp
pop ebp
ret
movzx eax, byte [esi + 2]
movzx ecx, byte [esi + 7]
shl ecx, 8
push ebx
movzx ebx, byte [esi + 3]
shl ebx, 8
or ebx, eax
movzx eax, byte [esi + 1]
shl ebx, 8
or ebx, eax
movzx eax, byte [esi]
shl ebx, 8
or ebx, eax
movzx eax, byte [esi + 6]
or ecx, eax
xor ebx, dword [edi]
movzx eax, byte [esi + 5]
shl ecx, 8
or ecx, eax
mov dword [ebp - 0x24], ebx
movzx eax, byte [esi + 4]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 0xa]
xor ecx, dword [edi + 4]
mov dword [ebp - 0x20], ecx
movzx ecx, byte [esi + 0xb]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 9]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 8]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 0xe]
xor ecx, dword [edi + 8]
mov dword [ebp - 0x1c], ecx
movzx ecx, byte [esi + 0xf]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 0xd]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 0xc]
shl ecx, 8
or ecx, eax
lea eax, [ebp - 0x24]
xor ecx, dword [edi + 0xc]
mov dword [ebp - 0x18], ecx
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x28], ecx
mov ecx, dword [edi + 0x100]
sub ecx, 1
mov dword [ebp - 0x2c], ecx
je 0x43f03b
mov ecx, dword [eax + 4]
add edi, 0x10
movzx edx, byte [eax + 0xa]
shr ecx, 8
movzx ecx, cl
mov esi, dword [ecx*4 + 0x484580]
xor esi, dword [edx*4 + 0x484980]
movzx ecx, byte [eax + 0xf]
xor esi, dword [ecx*4 + 0x484d80]
movzx ecx, bl
xor esi, dword [ecx*4 + 0x484180]
mov ecx, dword [ebp - 0x28]
mov ebx, esi
xor ebx, dword [edi]
mov dword [ecx], ebx
mov ecx, dword [eax + 8]
movzx edx, byte [eax + 0xe]
shr ecx, 8
movzx ecx, cl
mov esi, dword [ecx*4 + 0x484580]
xor esi, dword [edx*4 + 0x484980]
movzx ecx, byte [eax + 3]
xor esi, dword [ecx*4 + 0x484d80]
movzx ecx, byte [eax + 4]
xor esi, dword [ecx*4 + 0x484180]
xor esi, dword [edi + 4]
mov ecx, dword [ebp - 0x28]
mov dword [ecx + 4], esi
mov ecx, dword [eax + 0xc]
movzx edx, byte [eax + 7]
shr ecx, 8
movzx ecx, cl
mov esi, dword [ecx*4 + 0x484580]
xor esi, dword [edx*4 + 0x484d80]
movzx ecx, byte [eax + 2]
xor esi, dword [ecx*4 + 0x484980]
movzx ecx, byte [eax + 8]
xor esi, dword [ecx*4 + 0x484180]
xor esi, dword [edi + 8]
mov ecx, dword [ebp - 0x28]
mov dword [ecx + 8], esi
mov ecx, dword [eax]
movzx edx, byte [eax + 6]
shr ecx, 8
movzx ecx, cl
mov esi, dword [ecx*4 + 0x484580]
movzx ecx, byte [eax + 0xb]
xor esi, dword [edx*4 + 0x484980]
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x28], eax
xor esi, dword [ecx*4 + 0x484d80]
movzx ecx, byte [eax + 0xc]
mov eax, edx
xor esi, dword [ecx*4 + 0x484180]
xor esi, dword [edi + 0xc]
sub dword [ebp - 0x2c], 1
mov dword [edx + 0xc], esi
jne 0x43ef43
mov eax, dword [ebp - 0x10]
shr eax, 8
movzx ecx, al
mov eax, dword [ebp - 0xc]
shr eax, 0x10
movzx eax, al
mov ecx, dword [ecx*4 + 0x482508]
mov ebx, dword [ebp - 8]
mov edx, dword [ebp - 0x14]
xor ecx, dword [eax*4 + 0x482908]
mov eax, ebx
shr eax, 0x18
xor ecx, dword [eax*4 + 0x482d08]
movzx eax, dl
xor ecx, dword [eax*4 + str.cwko0]
xor ecx, dword [edi + 0x10]
mov eax, dword [ebp - 0xc]
shr eax, 8
mov dword [ebp - 0x2c], ecx
movzx ecx, al
mov eax, ebx
shr eax, 0x10
movzx eax, al
mov ecx, dword [ecx*4 + 0x482508]
xor ecx, dword [eax*4 + 0x482908]
mov eax, edx
shr eax, 0x18
xor ecx, dword [eax*4 + 0x482d08]
mov eax, dword [ebp - 0x10]
movzx eax, al
xor ecx, dword [eax*4 + str.cwko0]
mov eax, edx
xor ecx, dword [edi + 0x14]
shr eax, 0x10
mov dword [ebp - 0x28], ecx
movzx ecx, al
mov eax, ebx
shr eax, 8
movzx eax, al
shr edx, 8
mov ecx, dword [ecx*4 + 0x482908]
xor ecx, dword [eax*4 + 0x482508]
mov eax, dword [ebp - 0x10]
shr eax, 0x18
xor ecx, dword [eax*4 + 0x482d08]
mov eax, dword [ebp - 0xc]
movzx eax, al
xor ecx, dword [eax*4 + str.cwko0]
xor ecx, dword [edi + 0x18]
mov eax, dword [ebp - 0x10]
shr eax, 0x10
movzx eax, al
mov dword [ebp - 0x34], ecx
movzx ecx, dl
mov edx, dword [ebp - 0x2c]
mov ecx, dword [ecx*4 + 0x482508]
xor ecx, dword [eax*4 + 0x482908]
mov eax, dword [ebp - 0xc]
shr eax, 0x18
xor ecx, dword [eax*4 + 0x482d08]
movzx eax, bl
mov ebx, dword [ebp - 0x30]
xor ecx, dword [eax*4 + str.cwko0]
mov eax, edx
xor ecx, dword [edi + 0x1c]
shr eax, 8
mov byte [ebx + 1], al
mov eax, edx
shr eax, 0x10
mov byte [ebx], dl
shr edx, 0x18
mov byte [ebx + 2], al
mov byte [ebx + 3], dl
mov edx, dword [ebp - 0x28]
mov eax, edx
shr eax, 8
mov byte [ebx + 5], al
mov eax, edx
shr eax, 0x10
mov byte [ebx + 4], dl
mov byte [ebx + 6], al
shr edx, 0x18
mov byte [ebx + 7], dl
mov edx, dword [ebp - 0x34]
mov eax, edx
shr eax, 8
mov byte [ebx + 9], al
mov eax, edx
shr eax, 0x10
mov byte [ebx + 0xa], al
mov eax, ecx
shr eax, 8
mov byte [ebx + 0xd], al
mov eax, ecx
mov byte [ebx + 0xc], cl
shr ecx, 0x18
mov byte [ebx + 8], dl
shr eax, 0x10
shr edx, 0x18
mov byte [ebx + 0xf], cl
mov ecx, dword [ebp - 4]
mov byte [ebx + 0xe], al
xor ecx, ebp
mov byte [ebx + 0xb], dl
mov eax, 1
pop ebx
pop edi
pop esi
call fcn.0047179f
mov esp, ebp
pop ebp
ret