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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x18
call fcn.00596bf0
mov eax, dword [ebp + 8]
push edi
mov edi, edx
push edi
push eax
call fcn.0049cbe0
add esp, 8
test eax, eax
jne 0x49da50
mov edx, dword [edi + 0x110]
mov ecx, dword [edi + 4]
mov eax, dword [edi]
push ebx
mov ebx, dword [edi + 0xc]
shl edx, 4
add edx, edi
mov dword [ebp - 8], ebx
mov ebx, dword [edx]
push esi
mov esi, dword [edi + 8]
mov dword [edi], ebx
mov ebx, dword [edx + 4]
mov dword [edi + 4], ebx
mov ebx, dword [edx + 8]
mov dword [edi + 8], ebx
mov ebx, dword [edx + 0xc]
mov dword [edi + 0xc], ebx
mov dword [edx + 4], ecx
mov ecx, dword [ebp - 8]
mov dword [edx], eax
mov dword [edx + 8], esi
mov dword [edx + 0xc], ecx
add edi, 0x10
sub edx, 0x10
cmp edi, edx
jae 0x49d99c
mov esi, dword [edi]
mov eax, esi
ror eax, 8
mov ebx, dword [edi + 8]
mov ecx, eax
xor ecx, esi
mov esi, dword [edi + 4]
rol ecx, 0x10
xor ecx, eax
mov dword [ebp - 4], ecx
mov ecx, esi
ror ecx, 8
mov eax, ecx
xor eax, esi
rol eax, 0x10
xor eax, ecx
mov ecx, ebx
ror ecx, 8
mov esi, ecx
xor esi, ebx
mov ebx, dword [edi + 0xc]
rol esi, 0x10
xor esi, ecx
mov ecx, ebx
ror ecx, 8
mov dword [ebp - 8], ecx
xor ecx, ebx
mov ebx, dword [ebp - 4]
xor eax, esi
xor ebx, eax
rol ecx, 0x10
xor ecx, dword [ebp - 8]
mov dword [ebp - 4], ebx
xor esi, ecx
xor esi, ebx
xor ecx, eax
xor eax, esi
rol esi, 0x10
mov ebx, ecx
shr ebx, 0x10
mov dword [ebp - 8], esi
mov esi, ecx
and esi, 0xff0000
xor esi, ebx
mov ebx, ecx
shl ecx, 0x10
and ebx, 0xff00
xor ebx, ecx
shl ebx, 8
shr esi, 8
xor esi, ebx
mov ecx, eax
shr ecx, 8
mov ebx, eax
shl ebx, 8
xor ecx, ebx
mov ebx, dword [ebp - 4]
shl eax, 8
and ecx, 0xff00ff
xor ecx, eax
mov eax, dword [ebp - 8]
xor ecx, eax
xor eax, esi
xor ebx, ecx
xor esi, ecx
xor eax, ebx
mov dword [ebp - 0x18], esi
mov esi, dword [edx]
mov dword [ebp - 0xc], ebx
mov ebx, eax
xor ebx, ecx
mov dword [ebp - 0x14], eax
mov eax, esi
ror eax, 8
mov ecx, eax
xor ecx, esi
mov esi, dword [edx + 4]
rol ecx, 0x10
xor ecx, eax
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], ecx
mov ebx, dword [edx + 8]
mov ecx, esi
ror ecx, 8
mov eax, ecx
xor eax, esi
rol eax, 0x10
xor eax, ecx
mov ecx, ebx
ror ecx, 8
mov esi, ecx
xor esi, ebx
mov ebx, dword [edx + 0xc]
rol esi, 0x10
xor esi, ecx
mov ecx, ebx
ror ecx, 8
mov dword [ebp - 8], ecx
xor ecx, ebx
mov ebx, dword [ebp - 4]
xor eax, esi
xor ebx, eax
rol ecx, 0x10
xor ecx, dword [ebp - 8]
mov dword [ebp - 4], ebx
xor esi, ecx
xor esi, ebx
xor ecx, eax
xor eax, esi
rol esi, 0x10
mov ebx, ecx
shr ebx, 0x10
mov dword [ebp - 8], esi
mov esi, ecx
and esi, 0xff0000
xor esi, ebx
mov ebx, ecx
shl ecx, 0x10
and ebx, 0xff00
xor ebx, ecx
shl ebx, 8
mov ecx, eax
shr esi, 8
xor esi, ebx
mov ebx, eax
shr ecx, 8
shl ebx, 8
xor ecx, ebx
mov ebx, dword [ebp - 4]
shl eax, 8
and ecx, 0xff00ff
xor ecx, eax
mov eax, dword [ebp - 8]
xor ecx, eax
xor ebx, ecx
xor eax, esi
xor eax, ebx
mov dword [edi], ebx
mov dword [edi + 8], eax
mov ebx, eax
mov eax, dword [ebp - 0xc]
xor ebx, ecx
xor esi, ecx
mov ecx, dword [ebp - 0x10]
mov dword [edi + 4], ebx
mov dword [edi + 0xc], esi
mov dword [edx], eax
mov eax, dword [ebp - 0x14]
mov dword [edx + 4], ecx
mov ecx, dword [ebp - 0x18]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
add edi, 0x10
sub edx, 0x10
cmp edi, edx
jb 0x49d802
mov ecx, dword [edi]
mov esi, dword [edi + 4]
mov eax, ecx
ror eax, 8
mov ebx, eax
xor ebx, ecx
mov ecx, esi
rol ebx, 0x10
xor ebx, eax
ror ecx, 8
mov eax, ecx
xor eax, esi
rol eax, 0x10
xor eax, ecx
mov ecx, dword [edi + 8]
mov edi, dword [edi + 0xc]
mov esi, ecx
ror esi, 8
mov dword [ebp - 8], esi
xor esi, ecx
rol esi, 0x10
xor esi, dword [ebp - 8]
mov ecx, edi
ror ecx, 8
mov dword [ebp - 8], ecx
xor ecx, edi
xor eax, esi
rol ecx, 0x10
xor ecx, dword [ebp - 8]
xor ebx, eax
xor esi, ecx
xor ecx, eax
xor esi, ebx
xor eax, esi
rol esi, 0x10
mov dword [ebp - 8], esi
mov esi, ecx
mov edi, ecx
shr edi, 0x10
and esi, 0xff0000
xor esi, edi
mov edi, ecx
shl ecx, 0x10
and edi, 0xff00
xor edi, ecx
shl edi, 8
shr esi, 8
xor esi, edi
mov ecx, eax
mov edi, eax
shr ecx, 8
shl edi, 8
xor ecx, edi
shl eax, 8
and ecx, 0xff00ff
xor ecx, eax
mov eax, dword [ebp - 8]
xor ecx, eax
xor eax, esi
xor ebx, ecx
xor eax, ebx
xor esi, ecx
mov edi, eax
xor edi, ecx
mov dword [edx + 0xc], esi
pop esi
mov dword [edx], ebx
mov dword [edx + 8], eax
mov dword [edx + 4], edi
xor eax, eax
pop ebx
pop edi
mov esp, ebp
pop ebp
ret