Function at 0x470550
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffa8
mov dword [esp], ecx
mov edi, edx
mov ebp, eax
xor ebx, ebx
mov esi, dword [esp]
push dword [ebp + ebx*8 + 4]
push dword [ebp + ebx*8]
call fcn.004576cc
mov dword [esi], eax
mov dword [esi + 4], edx
inc ebx
add esi, 8
cmp ebx, 0x10
jne 0x470563
mov ebx, 0x40
mov ecx, dword [esp]
add ecx, 0x70
mov eax, dword [ecx]
mov edx, dword [ecx + 4]
shrd eax, edx, 0x13
shr edx, 0x13
push edx
push eax
mov edx, dword [ecx]
shl edx, 0xd
xor eax, eax
or eax, dword [esp]
or edx, dword [esp + 4]
add esp, 8
push edx
push eax
mov eax, dword [ecx + 4]
shr eax, 0x1d
xor edx, edx
push edx
push eax
mov eax, dword [ecx]
mov edx, dword [ecx + 4]
shld edx, eax, 3
shl eax, 3
or eax, dword [esp]
or edx, dword [esp + 4]
add esp, 8
xor eax, dword [esp]
xor edx, dword [esp + 4]
add esp, 8
push edx
push eax
mov eax, dword [ecx]
mov edx, dword [ecx + 4]
shrd eax, edx, 6
shr edx, 6
xor eax, dword [esp]
xor edx, dword [esp + 4]
add esp, 8
add eax, dword [ecx - 0x28]
adc edx, dword [ecx - 0x24]
push edx
push eax
mov eax, dword [ecx - 0x68]
mov edx, dword [ecx - 0x64]
shrd eax, edx, 1
shr edx, 1
push edx
push eax
mov edx, dword [ecx - 0x68]
shl edx, 0x1f
xor eax, eax
or eax, dword [esp]
or edx, dword [esp + 4]
add esp, 8
push edx
push eax
mov eax, dword [ecx - 0x68]
mov edx, dword [ecx - 0x64]
shrd eax, edx, 8
shr edx, 8
push edx
push eax
mov edx, dword [ecx - 0x68]
shl edx, 0x18
xor eax, eax
or eax, dword [esp]
or edx, dword [esp + 4]
add esp, 8
xor eax, dword [esp]
xor edx, dword [esp + 4]
add esp, 8
push edx
push eax
mov eax, dword [ecx - 0x68]
mov edx, dword [ecx - 0x64]
shrd eax, edx, 7
shr edx, 7
xor eax, dword [esp]
xor edx, dword [esp + 4]
add esp, 8
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
add eax, dword [ecx - 0x70]
adc edx, dword [ecx - 0x6c]
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], edx
add ecx, 8
dec ebx
jne 0x470589
mov eax, dword [edi + 0x8c]
mov dword [esp + 8], eax
mov eax, dword [edi + 0x90]
mov dword [esp + 0xc], eax
mov eax, dword [edi + 0x94]
mov dword [esp + 0x10], eax
mov eax, dword [edi + 0x98]
mov dword [esp + 0x14], eax
mov eax, dword [edi + 0x9c]
mov dword [esp + 0x18], eax
mov eax, dword [edi + 0xa0]
mov dword [esp + 0x1c], eax
mov eax, dword [edi + 0xa4]
mov dword [esp + 0x20], eax
mov eax, dword [edi + 0xa8]
mov dword [esp + 0x24], eax
mov eax, dword [edi + 0xac]
mov dword [esp + 0x28], eax
mov eax, dword [edi + 0xb0]
mov dword [esp + 0x2c], eax
mov eax, dword [edi + 0xb4]
mov dword [esp + 0x30], eax
mov eax, dword [edi + 0xb8]
mov dword [esp + 0x34], eax
mov eax, dword [edi + 0xbc]
mov dword [esp + 0x38], eax
mov eax, dword [edi + 0xc0]
mov dword [esp + 0x3c], eax
mov eax, dword [edi + 0xc4]
mov dword [esp + 0x40], eax
mov eax, dword [edi + 0xc8]
mov dword [esp + 0x44], eax
mov ebx, 0x50
mov ecx, 0x4e05b4
mov esi, dword [esp]
mov eax, dword [esp + 0x40]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
shrd eax, edx, 0xe
shr edx, 0xe
push edx
push eax
mov edx, dword [esp + 0x30]
shl edx, 0x12
xor eax, eax
or eax, dword [esp]
or edx, dword [esp + 4]
add esp, 8
push edx
push eax
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
shrd eax, edx, 0x12
shr edx, 0x12
push edx
push eax
mov edx, dword [esp + 0x38]
shl edx, 0xe
xor eax, eax
or eax, dword [esp]
or edx, dword [esp + 4]
add esp, 8
xor eax, dword [esp]
xor edx, dword [esp + 4]
add esp, 8
push edx
push eax
mov eax, dword [esp + 0x34]
shr eax, 9
xor edx, edx
push edx
push eax
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
shld edx, eax, 0x17
shl eax, 0x17
or eax, dword [esp]
or edx, dword [esp + 4]
add esp, 8
xor eax, dword [esp]
xor edx, dword [esp + 4]
add esp, 8
add dword [esp + 0x48], eax
adc dword [esp + 0x4c], edx
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
and eax, dword [esp + 0x30]
and edx, dword [esp + 0x34]
push edx
push eax
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
not eax
not edx
and eax, dword [esp + 0x40]
and edx, dword [esp + 0x44]
xor eax, dword [esp]
xor edx, dword [esp + 4]
add esp, 8
add dword [esp + 0x48], eax
adc dword [esp + 0x4c], edx
mov eax, dword [ecx]
mov edx, dword [ecx + 4]
add dword [esp + 0x48], eax
adc dword [esp + 0x4c], edx
mov eax, dword [esi]
mov edx, dword [esi + 4]
add dword [esp + 0x48], eax
adc dword [esp + 0x4c], edx
mov eax, dword [esp + 8]
mov edx, dword [esp + 0xc]
shrd eax, edx, 0x1c
shr edx, 0x1c
push edx
push eax
mov edx, dword [esp + 0x10]
shl edx, 4
xor eax, eax
or eax, dword [esp]
or edx, dword [esp + 4]
add esp, 8
push edx
push eax
mov eax, dword [esp + 0x14]
shr eax, 2
xor edx, edx
push edx
push eax
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
shld edx, eax, 0x1e
shl eax, 0x1e
or eax, dword [esp]
or edx, dword [esp + 4]
add esp, 8
xor eax, dword [esp]
xor edx, dword [esp + 4]
add esp, 8
push edx
push eax
mov eax, dword [esp + 0x14]
shr eax, 7
xor edx, edx
push edx
push eax
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
shld edx, eax, 0x19
shl eax, 0x19
or eax, dword [esp]
or edx, dword [esp + 4]
add esp, 8
xor eax, dword [esp]
xor edx, dword [esp + 4]
add esp, 8
push edx
push eax
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
and eax, dword [esp + 0x18]
and edx, dword [esp + 0x1c]
push edx
push eax
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
and eax, dword [esp + 0x28]
and edx, dword [esp + 0x2c]
xor eax, dword [esp]
xor edx, dword [esp + 4]
add esp, 8
push edx
push eax
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
and eax, dword [esp + 0x28]
and edx, dword [esp + 0x2c]
xor eax, dword [esp]
xor edx, dword [esp + 4]
add esp, 8
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], edx
mov eax, dword [esp + 0x38]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
add eax, dword [esp + 0x48]
adc edx, dword [esp + 0x4c]
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], edx
mov eax, dword [esp + 0x18]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 8]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
add eax, dword [esp + 0x50]
adc edx, dword [esp + 0x54]
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
add esi, 8
add ecx, 8
dec ebx
jne 0x470727
mov eax, dword [esp + 8]
mov edx, dword [esp + 0xc]
add dword [edi + 0x8c], eax
adc dword [edi + 0x90], edx
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
add dword [edi + 0x94], eax
adc dword [edi + 0x98], edx
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
add dword [edi + 0x9c], eax
adc dword [edi + 0xa0], edx
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
add dword [edi + 0xa4], eax
adc dword [edi + 0xa8], edx
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
add dword [edi + 0xac], eax
adc dword [edi + 0xb0], edx
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
add dword [edi + 0xb4], eax
adc dword [edi + 0xb8], edx
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
add dword [edi + 0xbc], eax
adc dword [edi + 0xc0], edx
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
add dword [edi + 0xc4], eax
adc dword [edi + 0xc8], edx
add esp, 0x58
pop ebp
pop edi
pop esi
pop ebx
ret