Function at 0x460def
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, dword [esp + 0x10]
mov ebx, 0x639850
push edi
call fcn.00460bb4
mov edx, dword [edi + 0xc]
xor eax, eax
mov esi, dword [edi + 8]
mov ecx, edx
shld edx, esi, 1
shr ecx, 0x1f
xor eax, edx
add esi, esi
xor ecx, esi
mov edx, dword [edi + 0x14]
mov esi, dword [edi + 0x10]
mov dword [edi + 8], ecx
mov ecx, esi
shrd esi, edx, 2
shl ecx, 0x1e
shr edx, 2
xor ecx, edx
mov dword [edi + 0xc], eax
mov edx, dword [edi + 0x1c]
xor eax, eax
xor eax, esi
mov dword [edi + 0x14], ecx
mov esi, dword [edi + 0x18]
mov ecx, edx
shld edx, esi, 0x1c
shr ecx, 4
shl esi, 0x1c
xor ecx, esi
mov dword [edi + 0x10], eax
mov esi, dword [edi + 0x20]
xor eax, eax
xor eax, edx
mov dword [edi + 0x18], ecx
mov edx, dword [edi + 0x24]
mov ecx, edx
shld edx, esi, 0x1b
shr ecx, 5
shl esi, 0x1b
xor ecx, esi
mov dword [edi + 0x1c], eax
mov esi, dword [edi + 0x28]
xor eax, eax
xor eax, edx
mov dword [edi + 0x20], ecx
mov edx, dword [edi + 0x2c]
mov ecx, esi
shrd esi, edx, 0x1c
shl ecx, 4
shr edx, 0x1c
xor ecx, edx
mov dword [edi + 0x24], eax
mov edx, dword [edi + 0x34]
xor eax, eax
xor eax, esi
mov dword [edi + 0x2c], ecx
mov esi, dword [edi + 0x30]
mov ecx, esi
shrd esi, edx, 0x14
shl ecx, 0xc
shr edx, 0x14
xor ecx, edx
mov dword [edi + 0x28], eax
mov edx, dword [edi + 0x3c]
xor eax, eax
xor eax, esi
mov dword [edi + 0x34], ecx
mov esi, dword [edi + 0x38]
mov ecx, edx
shld edx, esi, 6
mov dword [edi + 0x30], eax
xor eax, eax
shl esi, 6
shr ecx, 0x1a
xor ecx, esi
mov esi, dword [edi + 0x40]
xor eax, edx
mov dword [edi + 0x38], ecx
mov edx, dword [edi + 0x44]
mov dword [edi + 0x3c], eax
mov ecx, esi
xor eax, eax
shrd esi, edx, 9
shl ecx, 0x17
xor eax, esi
shr edx, 9
xor ecx, edx
mov esi, dword [edi + 0x48]
mov edx, dword [edi + 0x4c]
mov dword [edi + 0x44], ecx
mov ecx, edx
shld edx, esi, 0x14
shr ecx, 0xc
shl esi, 0x14
xor ecx, esi
mov dword [edi + 0x40], eax
mov esi, dword [edi + 0x50]
xor eax, eax
xor eax, edx
mov dword [edi + 0x48], ecx
mov edx, dword [edi + 0x54]
mov ecx, edx
shld edx, esi, 3
shr ecx, 0x1d
shl esi, 3
xor ecx, esi
mov dword [edi + 0x4c], eax
mov esi, dword [edi + 0x58]
xor eax, eax
xor eax, edx
mov dword [edi + 0x50], ecx
mov edx, dword [edi + 0x5c]
mov ecx, edx
shld edx, esi, 0xa
shr ecx, 0x16
shl esi, 0xa
xor ecx, esi
mov dword [edi + 0x54], eax
mov esi, dword [edi + 0x60]
xor eax, eax
xor eax, edx
mov dword [edi + 0x58], ecx
mov edx, dword [edi + 0x64]
mov ecx, esi
shrd esi, edx, 0x15
shl ecx, 0xb
shr edx, 0x15
xor ecx, edx
mov dword [edi + 0x5c], eax
mov edx, dword [edi + 0x6c]
xor eax, eax
xor eax, esi
mov dword [edi + 0x64], ecx
mov esi, dword [edi + 0x68]
mov ecx, edx
shld edx, esi, 0x19
shr ecx, 7
mov dword [edi + 0x60], eax
xor eax, eax
xor eax, edx
shl esi, 0x19
mov edx, dword [edi + 0x74]
xor ecx, esi
mov esi, dword [edi + 0x70]
mov dword [edi + 0x68], ecx
mov ecx, esi
shrd esi, edx, 0x19
shl ecx, 7
mov dword [edi + 0x6c], eax
xor eax, eax
shr edx, 0x19
xor eax, esi
mov esi, dword [edi + 0x78]
xor ecx, edx
mov edx, dword [edi + 0x7c]
mov dword [edi + 0x74], ecx
mov ecx, esi
mov dword [edi + 0x70], eax
xor eax, eax
shl ecx, 9
shrd esi, edx, 0x17
xor eax, esi
shr edx, 0x17
xor ecx, edx
mov esi, dword [edi + 0x80]
mov edx, dword [edi + 0x84]
mov dword [edi + 0x7c], ecx
mov ecx, esi
shrd esi, edx, 0x13
shl ecx, 0xd
shr edx, 0x13
xor ecx, edx
mov dword [edi + 0x78], eax
mov edx, dword [edi + 0x8c]
xor eax, eax
xor eax, esi
mov dword [edi + 0x84], ecx
mov esi, dword [edi + 0x88]
mov ecx, edx
shld edx, esi, 0xf
shr ecx, 0x11
shl esi, 0xf
xor ecx, esi
mov dword [edi + 0x80], eax
mov esi, dword [edi + 0x90]
xor eax, eax
xor eax, edx
mov dword [edi + 0x88], ecx
mov edx, dword [edi + 0x94]
mov ecx, edx
shld edx, esi, 0x15
shr ecx, 0xb
shl esi, 0x15
xor ecx, esi
mov dword [edi + 0x8c], eax
mov esi, dword [edi + 0x98]
xor eax, eax
xor eax, edx
mov dword [edi + 0x90], ecx
mov edx, dword [edi + 0x9c]
mov ecx, edx
shld edx, esi, 8
shr ecx, 0x18
shl esi, 8
xor ecx, esi
mov dword [edi + 0x94], eax
mov esi, dword [edi + 0xa0]
xor eax, eax
xor eax, edx
mov dword [edi + 0x98], ecx
mov edx, dword [edi + 0xa4]
mov ecx, edx
shld edx, esi, 0x12
shr ecx, 0xe
shl esi, 0x12
xor ecx, esi
mov dword [edi + 0x9c], eax
mov esi, dword [edi + 0xa8]
xor eax, eax
xor eax, edx
mov dword [edi + 0xa0], ecx
mov edx, dword [edi + 0xac]
mov ecx, edx
shld edx, esi, 2
mov dword [edi + 0xa4], eax
xor eax, eax
shr ecx, 0x1e
xor eax, edx
mov edx, dword [edi + 0xb4]
shl esi, 2
xor ecx, esi
mov dword [edi + 0xac], eax
mov esi, dword [edi + 0xb0]
xor eax, eax
mov dword [edi + 0xa8], ecx
mov ecx, esi
shrd esi, edx, 3
shl ecx, 0x1d
xor eax, esi
shr edx, 3
xor ecx, edx
mov dword [edi + 0xb0], eax
mov esi, dword [edi + 0xb8]
xor eax, eax
mov edx, dword [edi + 0xbc]
mov dword [edi + 0xb4], ecx
mov ecx, esi
shrd esi, edx, 8
shl ecx, 0x18
shr edx, 8
xor eax, esi
mov esi, dword [edi + 0xc0]
xor ecx, edx
mov edx, dword [edi + 0xc4]
mov dword [edi + 0xbc], ecx
mov ecx, edx
shld edx, esi, 0xe
mov dword [edi + 0xb8], eax
xor eax, eax
shr ecx, 0x12
xor eax, edx
shl esi, 0xe
xor ecx, esi
mov dword [edi + 0xc4], eax
push edi
mov dword [edi + 0xc0], ecx
call fcn.00460a21
push edi
call fcn.00460988
mov eax, dword [ebx]
add esp, 0xc
xor dword [edi], eax
mov eax, dword [ebx + 4]
add ebx, 8
xor dword [edi + 4], eax
cmp ebx, 0x639910
jl 0x460dfb
pop edi
pop esi
pop ebx
ret