Function at 0x40e170
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x180
push ebx
push esi
xor esi, esi
push edi
mov edi, dword [esp + 0x194]
mov ebx, dword [esp + 0x190]
lea ecx, [ebx + esi*4]
mov edx, dword [ecx + 8]
mov dword [esp + esi*4 + 0x158], edx
inc esi
cmp esi, 8
jb 0x40e189
mov dword [esp + 0x190], ebx
xor esi, esi
cmp byte [0x4661b8], 1
jne 0x40e1da
lea ecx, [edi + esi*4]
mov dword [esp + 0x180], ecx
push 4
push dword [esp + 0x184]
lea edx, [esp + 0x180]
push edx
call fcn.0045a4e0
add esp, 0xc
mov ecx, dword [esp + 0x178]
jmp 0x40e242
lea edx, [edi + esi*4]
mov dword [esp + 0x184], edx
push 4
push dword [esp + 0x188]
lea ecx, [esp + 0x184]
push ecx
call fcn.0045a4e0
add esp, 0xc
mov ecx, dword [esp + 0x17c]
and ecx, 0xff000000
mov edx, dword [esp + 0x17c]
shr ecx, 0x18
and edx, 0xff0000
mov eax, dword [esp + 0x17c]
shr edx, 8
and eax, 0xff
mov ebx, dword [esp + 0x17c]
shl eax, 0x18
and ebx, 0xff00
shl ebx, 8
or eax, ebx
or edx, eax
or ecx, edx
mov dword [esp + esi*4 + 0x58], ecx
inc esi
cmp esi, 0x10
jb 0x40e1a5
mov ebx, dword [esp + 0x190]
xor esi, esi
mov ecx, dword [esp + 0x168]
mov edx, dword [esp + 0x168]
shr ecx, 6
shl edx, 0x1a
or ecx, edx
mov edx, dword [esp + 0x168]
mov eax, dword [esp + 0x168]
shr edx, 0xb
shl eax, 0x15
or edx, eax
xor ecx, edx
mov edx, dword [esp + 0x168]
mov edi, dword [esp + 0x168]
shr edx, 0x19
shl edi, 7
or edx, edi
xor ecx, edx
mov edx, dword [esp + 0x16c]
mov eax, dword [esp + 0x158]
xor edx, dword [esp + 0x170]
shl eax, 0x13
and edx, dword [esp + 0x168]
mov edi, dword [esp + 0x158]
add ecx, dword [esp + 0x174]
shl edi, 0xa
xor edx, dword [esp + 0x170]
add ecx, edx
mov edx, dword [esp + 0x158]
add ecx, dword [esi*4 + 0x467054]
shl edx, 0x1e
add ecx, dword [esp + esi*4 + 0x58]
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x158]
shr ecx, 2
or ecx, edx
mov edx, dword [esp + 0x158]
shr edx, 0xd
or edx, eax
xor ecx, edx
mov edx, dword [esp + 0x158]
shr edx, 0x16
or edx, edi
xor ecx, edx
mov edx, dword [esp + 0x158]
mov eax, dword [esp + 0x158]
or eax, dword [esp + 0x15c]
and edx, dword [esp + 0x15c]
and eax, dword [esp + 0x160]
or edx, eax
add ecx, edx
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x50]
add edx, dword [esp + 0x54]
add dword [esp + 0x164], ecx
mov ecx, dword [esp + 0x164]
mov dword [esp + 0x174], edx
mov edx, dword [esp + 0x164]
shr ecx, 6
shl edx, 0x1a
or ecx, edx
mov edx, dword [esp + 0x164]
mov eax, dword [esp + 0x164]
shr edx, 0xb
shl eax, 0x15
or edx, eax
xor ecx, edx
mov edx, dword [esp + 0x164]
mov edi, dword [esp + 0x164]
shr edx, 0x19
shl edi, 7
or edx, edi
xor ecx, edx
mov edx, dword [esp + 0x168]
mov eax, dword [esp + 0x174]
xor edx, dword [esp + 0x16c]
shl eax, 0x13
and edx, dword [esp + 0x164]
add ecx, dword [esp + 0x170]
xor edx, dword [esp + 0x16c]
add ecx, edx
mov edx, dword [esp + 0x174]
add ecx, dword [esi*4 + 0x467058]
shl edx, 0x1e
add ecx, dword [esp + esi*4 + 0x5c]
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x174]
shr ecx, 2
or ecx, edx
mov edx, dword [esp + 0x174]
shr edx, 0xd
or edx, eax
xor ecx, edx
mov edx, dword [esp + 0x174]
shr edx, 0x16
mov edi, dword [esp + 0x174]
shl edi, 0xa
or edx, edi
xor ecx, edx
mov edx, dword [esp + 0x174]
mov eax, dword [esp + 0x174]
or eax, dword [esp + 0x158]
and edx, dword [esp + 0x158]
and eax, dword [esp + 0x15c]
or edx, eax
add ecx, edx
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x50]
add edx, dword [esp + 0x54]
add dword [esp + 0x160], ecx
mov ecx, dword [esp + 0x160]
mov dword [esp + 0x170], edx
mov edx, dword [esp + 0x160]
shr ecx, 6
shl edx, 0x1a
or ecx, edx
mov edx, dword [esp + 0x160]
mov eax, dword [esp + 0x160]
shr edx, 0xb
shl eax, 0x15
or edx, eax
xor ecx, edx
mov edx, dword [esp + 0x160]
mov edi, dword [esp + 0x160]
shr edx, 0x19
shl edi, 7
or edx, edi
xor ecx, edx
mov edx, dword [esp + 0x164]
mov eax, dword [esp + 0x170]
xor edx, dword [esp + 0x168]
shl eax, 0x13
and edx, dword [esp + 0x160]
mov edi, dword [esp + 0x170]
add ecx, dword [esp + 0x16c]
shl edi, 0xa
xor edx, dword [esp + 0x168]
add ecx, edx
mov edx, dword [esp + 0x170]
add ecx, dword [esi*4 + 0x46705c]
shl edx, 0x1e
add ecx, dword [esp + esi*4 + 0x60]
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x170]
shr ecx, 2
or ecx, edx
mov edx, dword [esp + 0x170]
shr edx, 0xd
or edx, eax
xor ecx, edx
mov edx, dword [esp + 0x170]
shr edx, 0x16
or edx, edi
xor ecx, edx
mov edx, dword [esp + 0x170]
mov eax, dword [esp + 0x170]
or eax, dword [esp + 0x174]
and edx, dword [esp + 0x174]
and eax, dword [esp + 0x158]
or edx, eax
add ecx, edx
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x50]
add edx, dword [esp + 0x54]
add dword [esp + 0x15c], ecx
mov ecx, dword [esp + 0x15c]
mov dword [esp + 0x16c], edx
mov edx, dword [esp + 0x15c]
shr ecx, 6
shl edx, 0x1a
or ecx, edx
mov edx, dword [esp + 0x15c]
mov eax, dword [esp + 0x15c]
shr edx, 0xb
shl eax, 0x15
or edx, eax
xor ecx, edx
mov edx, dword [esp + 0x15c]
mov edi, dword [esp + 0x15c]
shr edx, 0x19
shl edi, 7
or edx, edi
xor ecx, edx
mov edx, dword [esp + 0x160]
xor edx, dword [esp + 0x164]
add ecx, dword [esp + 0x168]
and edx, dword [esp + 0x15c]
xor edx, dword [esp + 0x164]
add ecx, edx
mov edx, dword [esp + 0x16c]
add ecx, dword [esi*4 + 0x467060]
shl edx, 0x1e
add ecx, dword [esp + esi*4 + 0x64]
mov eax, dword [esp + 0x16c]
shl eax, 0x13
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x16c]
shr ecx, 2
or ecx, edx
mov edx, dword [esp + 0x16c]
shr edx, 0xd
or edx, eax
xor ecx, edx
mov edx, dword [esp + 0x16c]
mov edi, dword [esp + 0x16c]
shr edx, 0x16
shl edi, 0xa
or edx, edi
xor ecx, edx
mov edx, dword [esp + 0x16c]
and edx, dword [esp + 0x170]
mov eax, dword [esp + 0x16c]
or eax, dword [esp + 0x170]
and eax, dword [esp + 0x174]
or edx, eax
add ecx, edx
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x50]
add edx, dword [esp + 0x54]
add dword [esp + 0x158], ecx
mov ecx, dword [esp + 0x158]
mov dword [esp + 0x168], edx
mov edx, dword [esp + 0x158]
shr ecx, 6
shl edx, 0x1a
or ecx, edx
mov edx, dword [esp + 0x158]
mov eax, dword [esp + 0x158]
shr edx, 0xb
shl eax, 0x15
or edx, eax
xor ecx, edx
mov edx, dword [esp + 0x158]
mov edi, dword [esp + 0x158]
shr edx, 0x19
shl edi, 7
or edx, edi
xor ecx, edx
mov edx, dword [esp + 0x15c]
mov eax, dword [esp + 0x168]
xor edx, dword [esp + 0x160]
shl eax, 0x13
and edx, dword [esp + 0x158]
mov edi, dword [esp + 0x168]
add ecx, dword [esp + 0x164]
shl edi, 0xa
xor edx, dword [esp + 0x160]
add ecx, edx
mov edx, dword [esp + 0x168]
add ecx, dword [esi*4 + 0x467064]
shl edx, 0x1e
add ecx, dword [esp + esi*4 + 0x68]
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x168]
shr ecx, 2
or ecx, edx
mov edx, dword [esp + 0x168]
shr edx, 0xd
or edx, eax
xor ecx, edx
mov edx, dword [esp + 0x168]
shr edx, 0x16
or edx, edi
xor ecx, edx
mov edx, dword [esp + 0x168]
mov eax, dword [esp + 0x168]
or eax, dword [esp + 0x16c]
and edx, dword [esp + 0x16c]
and eax, dword [esp + 0x170]
or edx, eax
add ecx, edx
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x50]
add edx, dword [esp + 0x54]
add dword [esp + 0x174], ecx
mov ecx, dword [esp + 0x174]
mov dword [esp + 0x164], edx
mov edx, dword [esp + 0x174]
shr ecx, 6
shl edx, 0x1a
or ecx, edx
mov edx, dword [esp + 0x174]
mov eax, dword [esp + 0x174]
shr edx, 0xb
shl eax, 0x15
or edx, eax
xor ecx, edx
mov edx, dword [esp + 0x174]
mov edi, dword [esp + 0x174]
shr edx, 0x19
shl edi, 7
or edx, edi
xor ecx, edx
mov edx, dword [esp + 0x158]
xor edx, dword [esp + 0x15c]
mov eax, dword [esp + 0x164]
and edx, dword [esp + 0x174]
shl eax, 0x13
add ecx, dword [esp + 0x160]
mov edi, dword [esp + 0x164]
xor edx, dword [esp + 0x15c]
add ecx, edx
mov edx, dword [esp + 0x164]
add ecx, dword [esi*4 + 0x467068]
shl edx, 0x1e
shl edi, 0xa
add ecx, dword [esp + esi*4 + 0x6c]
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x164]
shr ecx, 2
or ecx, edx
mov edx, dword [esp + 0x164]
shr edx, 0xd
or edx, eax
xor ecx, edx
mov edx, dword [esp + 0x164]
shr edx, 0x16
or edx, edi
xor ecx, edx
mov edx, dword [esp + 0x164]
mov eax, dword [esp + 0x164]
or eax, dword [esp + 0x168]
and edx, dword [esp + 0x168]
and eax, dword [esp + 0x16c]
or edx, eax
add ecx, edx
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x50]
add edx, dword [esp + 0x54]
add dword [esp + 0x170], ecx
mov ecx, dword [esp + 0x170]
mov dword [esp + 0x160], edx
mov edx, dword [esp + 0x170]
shr ecx, 6
shl edx, 0x1a
or ecx, edx
mov edx, dword [esp + 0x170]
mov eax, dword [esp + 0x170]
shr edx, 0xb
shl eax, 0x15
or edx, eax
xor ecx, edx
mov edx, dword [esp + 0x170]
mov edi, dword [esp + 0x170]
shr edx, 0x19
shl edi, 7
or edx, edi
xor ecx, edx
mov edx, dword [esp + 0x174]
mov eax, dword [esp + 0x160]
xor edx, dword [esp + 0x158]
shl eax, 0x13
and edx, dword [esp + 0x170]
mov edi, dword [esp + 0x160]
add ecx, dword [esp + 0x15c]
shl edi, 0xa
xor edx, dword [esp + 0x158]
add ecx, edx
mov edx, dword [esp + 0x160]
add ecx, dword [esi*4 + 0x46706c]
shl edx, 0x1e
add ecx, dword [esp + esi*4 + 0x70]
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x160]
shr ecx, 2
or ecx, edx
mov edx, dword [esp + 0x160]
shr edx, 0xd
or edx, eax
xor ecx, edx
mov edx, dword [esp + 0x160]
shr edx, 0x16
or edx, edi
xor ecx, edx
mov edx, dword [esp + 0x160]
mov eax, dword [esp + 0x160]
or eax, dword [esp + 0x164]
and edx, dword [esp + 0x164]
and eax, dword [esp + 0x168]
or edx, eax
add ecx, edx
mov edx, dword [esp + 0x50]
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + 0x50]
add edx, dword [esp + 0x54]
add dword [esp + 0x16c], ecx
mov ecx, dword [esp + 0x16c]
mov dword [esp + 0x15c], edx
mov edx, dword [esp + 0x16c]
shr ecx, 6
shl edx, 0x1a
or ecx, edx
mov edx, dword [esp + 0x16c]
mov eax, dword [esp + 0x16c]
shr edx, 0xb
shl eax, 0x15
or edx, eax
xor ecx, edx
mov edx, dword [esp + 0x16c]
mov edi, dword [esp + 0x16c]
shr edx, 0x19
shl edi, 7
or edx, edi
xor ecx, edx
mov edx, dword [esp + 0x170]
mov eax, dword [esp + 0x15c]
xor edx, dword [esp + 0x174]
shl eax, 0x13
and edx, dword [esp + 0x16c]
mov edi, dword [esp + 0x15c]
add ecx, dword [esp + 0x158]
shl edi, 0xa
xor edx, dword [esp + 0x174]
add ecx, edx
mov edx, dword [esp + 0x15c]
add ecx, dword [esi*4 + 0x467070]
shl edx, 0x1e
add ecx, dword [esp + esi*4 + 0x74]
add esi, 8
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x15c]
shr ecx, 2
or ecx, edx
mov edx, dword [esp + 0x15c]
shr edx, 0xd
or edx, eax
xor ecx, edx
mov edx, dword [esp + 0x15c]
shr edx, 0x16
or edx, edi
xor ecx, edx
mov edx, dword [esp + 0x15c]
mov eax, dword [esp + 0x15c]
or eax, dword [esp + 0x160]
and edx, dword [esp + 0x160]
and eax, dword [esp + 0x164]
or edx, eax
add ecx, edx
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x50]
add edx, dword [esp + 0x54]
add dword [esp + 0x168], ecx
mov ecx, 0x10
cmp esi, ecx
mov dword [esp + 0x158], edx
jb 0x40e259
mov dword [esp + 0x190], ebx
mov esi, ecx
mov dword [esp + 0x188], esi
mov ebx, dword [esp + 0x168]
mov eax, dword [esp + 0x168]
shr ebx, 6
shl eax, 0x1a
mov esi, dword [esp + 0x168]
mov edx, dword [esp + 0x168]
shr esi, 0xb
shl edx, 0x15
or ebx, eax
or esi, edx
mov ecx, dword [esp + 0x168]
mov edi, dword [esp + 0x168]
shr ecx, 0x19
shl edi, 7
xor ebx, esi
or ecx, edi
xor ebx, ecx
add ebx, dword [esp + 0x174]
mov eax, dword [esp + 0x16c]
xor eax, dword [esp + 0x170]
mov esi, dword [esp + 0x188]
and eax, dword [esp + 0x168]
mov edx, dword [esp + esi*4 + 0x50]
xor eax, dword [esp + 0x170]
add ebx, eax
mov dword [esp + 0x10], edx
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0x10]
shr ecx, 0x11
shl edi, 0xf
mov eax, dword [esp + 0x10]
or ecx, edi
mov edi, dword [esp + 0x10]
shr eax, 0x13
shl edi, 0xd
or eax, edi
shr edx, 0xa
xor ecx, eax
xor edx, ecx
mov ecx, dword [esp + esi*4 + 0x1c]
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x14]
shr eax, 7
shl edi, 0x19
or eax, edi
add ebx, dword [esi*4 + 0x467054]
mov edi, dword [esp + 0x14]
shr edi, 0x12
add edx, dword [esp + esi*4 + 0x3c]
mov esi, dword [esp + 0x14]
shl esi, 0xe
or edi, esi
shr ecx, 3
xor eax, edi
xor ecx, eax
add edx, ecx
mov ecx, dword [esp + 0x188]
add edx, dword [esp + ecx*4 + 0x18]
add ebx, edx
mov dword [esp + ecx*4 + 0x58], edx
mov eax, dword [esp + 0x158]
shr eax, 2
mov dword [esp + 0x50], ebx
mov edx, dword [esp + 0x158]
shl edx, 0x1e
mov ebx, dword [esp + 0x158]
mov esi, dword [esp + 0x158]
or eax, edx
shr ebx, 0xd
shl esi, 0x13
or ebx, esi
mov edi, dword [esp + 0x158]
mov edx, dword [esp + 0x158]
xor eax, ebx
shr edi, 0x16
shl edx, 0xa
or edi, edx
mov ebx, dword [esp + 0x158]
mov esi, dword [esp + 0x158]
xor eax, edi
or esi, dword [esp + 0x15c]
mov edi, dword [esp + 0x50]
and ebx, dword [esp + 0x15c]
and esi, dword [esp + 0x160]
or ebx, esi
add eax, ebx
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x50]
add edi, dword [esp + 0x54]
add dword [esp + 0x164], eax
mov edx, dword [esp + 0x164]
mov ebx, dword [esp + 0x164]
shr edx, 6
shl ebx, 0x1a
mov esi, dword [esp + 0x164]
mov eax, dword [esp + 0x164]
or edx, ebx
shr esi, 0xb
shl eax, 0x15
or esi, eax
mov dword [esp + 0x174], edi
mov edi, dword [esp + 0x164]
mov ebx, dword [esp + 0x164]
shr edi, 0x19
shl ebx, 7
xor edx, esi
or edi, ebx
xor edx, edi
mov esi, dword [esp + 0x168]
mov eax, dword [esp + ecx*4 + 0x54]
xor esi, dword [esp + 0x16c]
and esi, dword [esp + 0x164]
add edx, dword [esp + 0x170]
xor esi, dword [esp + 0x16c]
add edx, esi
mov dword [esp + 0x18], eax
mov edi, dword [esp + 0x18]
mov ebx, dword [esp + 0x18]
shr edi, 0x11
shl ebx, 0xf
mov esi, dword [esp + 0x18]
or edi, ebx
mov ebx, dword [esp + 0x18]
shr esi, 0x13
shl ebx, 0xd
or esi, ebx
shr eax, 0xa
xor edi, esi
xor eax, edi
mov edi, dword [esp + ecx*4 + 0x20]
mov dword [esp + 0x1c], edi
mov esi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x1c]
shr esi, 7
shl ebx, 0x19
or esi, ebx
add edx, dword [ecx*4 + 0x467058]
mov ebx, dword [esp + 0x1c]
shr ebx, 0x12
add eax, dword [esp + ecx*4 + 0x40]
mov ecx, dword [esp + 0x1c]
shl ecx, 0xe
or ebx, ecx
shr edi, 3
xor esi, ebx
xor edi, esi
add eax, edi
mov edi, dword [esp + 0x188]
add eax, dword [esp + edi*4 + 0x1c]
add edx, eax
mov dword [esp + edi*4 + 0x5c], eax
mov eax, dword [esp + 0x174]
shr eax, 2
mov dword [esp + 0x50], edx
mov edx, dword [esp + 0x174]
shl edx, 0x1e
mov ebx, dword [esp + 0x174]
mov ecx, dword [esp + 0x174]
or eax, edx
shr ebx, 0xd
shl ecx, 0x13
or ebx, ecx
mov esi, dword [esp + 0x174]
mov edx, dword [esp + 0x174]
xor eax, ebx
shr esi, 0x16
shl edx, 0xa
or esi, edx
mov ebx, dword [esp + 0x174]
mov ecx, dword [esp + 0x174]
xor eax, esi
or ecx, dword [esp + 0x158]
mov esi, dword [esp + 0x50]
and ebx, dword [esp + 0x158]
and ecx, dword [esp + 0x15c]
or ebx, ecx
add eax, ebx
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x50]
add esi, dword [esp + 0x54]
add dword [esp + 0x160], eax
mov edx, dword [esp + 0x160]
mov ebx, dword [esp + 0x160]
shr edx, 6
shl ebx, 0x1a
mov ecx, dword [esp + 0x160]
mov eax, dword [esp + 0x160]
or edx, ebx
shr ecx, 0xb
shl eax, 0x15
or ecx, eax
mov dword [esp + 0x170], esi
mov esi, dword [esp + 0x160]
xor edx, ecx
mov ebx, dword [esp + 0x160]
shr esi, 0x19
shl ebx, 7
or esi, ebx
xor edx, esi
mov ecx, dword [esp + 0x164]
xor ecx, dword [esp + 0x168]
mov eax, dword [esp + edi*4 + 0x58]
and ecx, dword [esp + 0x160]
add edx, dword [esp + 0x16c]
xor ecx, dword [esp + 0x168]
add edx, ecx
add edx, dword [edi*4 + 0x46705c]
mov dword [esp + 0x20], eax
mov esi, dword [esp + 0x20]
mov ebx, dword [esp + 0x20]
shr esi, 0x11
shl ebx, 0xf
mov ecx, dword [esp + 0x20]
or esi, ebx
mov ebx, dword [esp + 0x20]
shr ecx, 0x13
shl ebx, 0xd
or ecx, ebx
shr eax, 0xa
xor esi, ecx
xor eax, esi
mov esi, dword [esp + edi*4 + 0x24]
mov dword [esp + 0x24], esi
mov ecx, dword [esp + 0x24]
mov ebx, dword [esp + 0x24]
shr ecx, 7
shl ebx, 0x19
or ecx, ebx
add eax, dword [esp + edi*4 + 0x44]
mov ebx, dword [esp + 0x24]
mov edi, dword [esp + 0x24]
shr ebx, 0x12
shl edi, 0xe
or ebx, edi
shr esi, 3
xor ecx, ebx
xor esi, ecx
add eax, esi
mov esi, dword [esp + 0x188]
add eax, dword [esp + esi*4 + 0x20]
add edx, eax
mov dword [esp + esi*4 + 0x60], eax
mov eax, dword [esp + 0x170]
shr eax, 2
mov dword [esp + 0x50], edx
mov ecx, dword [esp + 0x170]
shl ecx, 0x1e
mov edx, dword [esp + 0x170]
mov ebx, dword [esp + 0x170]
or eax, ecx
shr edx, 0xd
shl ebx, 0x13
or edx, ebx
mov edi, dword [esp + 0x170]
mov ecx, dword [esp + 0x170]
xor eax, edx
shr edi, 0x16
shl ecx, 0xa
or edi, ecx
mov edx, dword [esp + 0x170]
mov ebx, dword [esp + 0x170]
xor eax, edi
or ebx, dword [esp + 0x174]
mov edi, dword [esp + 0x50]
and edx, dword [esp + 0x174]
and ebx, dword [esp + 0x158]
or edx, ebx
add eax, edx
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x50]
add edi, dword [esp + 0x54]
add dword [esp + 0x15c], eax
mov ecx, dword [esp + 0x15c]
mov edx, dword [esp + 0x15c]
shr ecx, 6
shl edx, 0x1a
mov ebx, dword [esp + 0x15c]
mov eax, dword [esp + 0x15c]
or ecx, edx
shr ebx, 0xb
shl eax, 0x15
or ebx, eax
mov dword [esp + 0x16c], edi
mov edi, dword [esp + 0x15c]
xor ecx, ebx
mov edx, dword [esp + 0x15c]
shr edi, 0x19
shl edx, 7
or edi, edx
xor ecx, edi
mov ebx, dword [esp + 0x160]
xor ebx, dword [esp + 0x164]
mov eax, dword [esp + esi*4 + 0x5c]
and ebx, dword [esp + 0x15c]
add ecx, dword [esp + 0x168]
xor ebx, dword [esp + 0x164]
add ecx, ebx
mov dword [esp + 0x28], eax
mov edi, dword [esp + 0x28]
mov edx, dword [esp + 0x28]
shr edi, 0x11
shl edx, 0xf
mov ebx, dword [esp + 0x28]
or edi, edx
mov edx, dword [esp + 0x28]
shr ebx, 0x13
shl edx, 0xd
or ebx, edx
shr eax, 0xa
xor edi, ebx
xor eax, edi
mov edi, dword [esp + esi*4 + 0x28]
add ecx, dword [esi*4 + 0x467060]
add eax, dword [esp + esi*4 + 0x48]
mov dword [esp + 0x2c], edi
mov ebx, dword [esp + 0x2c]
mov edx, dword [esp + 0x2c]
shr ebx, 7
shl edx, 0x19
or ebx, edx
mov edx, dword [esp + 0x2c]
mov esi, dword [esp + 0x2c]
shr edx, 0x12
shl esi, 0xe
or edx, esi
shr edi, 3
xor ebx, edx
xor edi, ebx
add eax, edi
mov edi, dword [esp + 0x188]
add eax, dword [esp + edi*4 + 0x24]
add ecx, eax
mov dword [esp + edi*4 + 0x64], eax
mov eax, dword [esp + 0x16c]
shr eax, 2
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x16c]
shl ecx, 0x1e
mov edx, dword [esp + 0x16c]
mov ebx, dword [esp + 0x16c]
or eax, ecx
shr edx, 0xd
shl ebx, 0x13
or edx, ebx
mov esi, dword [esp + 0x16c]
mov ecx, dword [esp + 0x16c]
xor eax, edx
shr esi, 0x16
shl ecx, 0xa
or esi, ecx
mov edx, dword [esp + 0x16c]
mov ebx, dword [esp + 0x16c]
xor eax, esi
or ebx, dword [esp + 0x170]
mov esi, dword [esp + 0x50]
and edx, dword [esp + 0x170]
and ebx, dword [esp + 0x174]
or edx, ebx
add eax, edx
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x50]
add esi, dword [esp + 0x54]
add dword [esp + 0x158], eax
mov ecx, dword [esp + 0x158]
mov edx, dword [esp + 0x158]
shr ecx, 6
shl edx, 0x1a
mov ebx, dword [esp + 0x158]
mov eax, dword [esp + 0x158]
or ecx, edx
shr ebx, 0xb
shl eax, 0x15
or ebx, eax
mov dword [esp + 0x168], esi
mov esi, dword [esp + 0x158]
xor ecx, ebx
mov edx, dword [esp + 0x158]
shr esi, 0x19
shl edx, 7
or esi, edx
xor ecx, esi
mov ebx, dword [esp + 0x15c]
xor ebx, dword [esp + 0x160]
mov eax, dword [esp + edi*4 + 0x60]
and ebx, dword [esp + 0x158]
add ecx, dword [esp + 0x164]
xor ebx, dword [esp + 0x160]
add ecx, ebx
mov dword [esp + 0x30], eax
mov esi, dword [esp + 0x30]
mov edx, dword [esp + 0x30]
shr esi, 0x11
shl edx, 0xf
mov ebx, dword [esp + 0x30]
or esi, edx
mov edx, dword [esp + 0x30]
shr ebx, 0x13
shl edx, 0xd
or ebx, edx
shr eax, 0xa
xor esi, ebx
xor eax, esi
mov esi, dword [esp + edi*4 + 0x2c]
mov dword [esp + 0x34], esi
mov ebx, dword [esp + 0x34]
mov edx, dword [esp + 0x34]
shr ebx, 7
shl edx, 0x19
or ebx, edx
add ecx, dword [edi*4 + 0x467064]
mov edx, dword [esp + 0x34]
shr edx, 0x12
add eax, dword [esp + edi*4 + 0x4c]
mov edi, dword [esp + 0x34]
shl edi, 0xe
or edx, edi
shr esi, 3
xor ebx, edx
xor esi, ebx
add eax, esi
mov esi, dword [esp + 0x188]
add eax, dword [esp + esi*4 + 0x28]
mov dword [esp + esi*4 + 0x68], eax
add ecx, eax
mov eax, dword [esp + 0x168]
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x168]
shr eax, 2
shl ecx, 0x1e
mov edx, dword [esp + 0x168]
shr edx, 0xd
mov ebx, dword [esp + 0x168]
shl ebx, 0x13
or eax, ecx
or edx, ebx
mov edi, dword [esp + 0x168]
mov ecx, dword [esp + 0x168]
shr edi, 0x16
shl ecx, 0xa
xor eax, edx
or edi, ecx
mov edx, dword [esp + 0x168]
mov ebx, dword [esp + 0x168]
or ebx, dword [esp + 0x16c]
xor eax, edi
mov edi, dword [esp + 0x50]
and edx, dword [esp + 0x16c]
and ebx, dword [esp + 0x170]
or edx, ebx
add eax, edx
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x50]
add edi, dword [esp + 0x54]
add dword [esp + 0x174], eax
mov ecx, dword [esp + 0x174]
mov edx, dword [esp + 0x174]
shr ecx, 6
shl edx, 0x1a
mov ebx, dword [esp + 0x174]
mov eax, dword [esp + 0x174]
or ecx, edx
shr ebx, 0xb
shl eax, 0x15
or ebx, eax
mov dword [esp + 0x164], edi
mov edi, dword [esp + 0x174]
xor ecx, ebx
mov edx, dword [esp + 0x174]
shr edi, 0x19
shl edx, 7
or edi, edx
xor ecx, edi
mov ebx, dword [esp + 0x158]
xor ebx, dword [esp + 0x15c]
mov eax, dword [esp + esi*4 + 0x64]
and ebx, dword [esp + 0x174]
add ecx, dword [esp + 0x160]
xor ebx, dword [esp + 0x15c]
add ecx, ebx
mov dword [esp + 0x38], eax
mov edi, dword [esp + 0x38]
mov edx, dword [esp + 0x38]
shr edi, 0x11
shl edx, 0xf
mov ebx, dword [esp + 0x38]
or edi, edx
mov edx, dword [esp + 0x38]
shr ebx, 0x13
shl edx, 0xd
or ebx, edx
shr eax, 0xa
xor edi, ebx
xor eax, edi
mov edi, dword [esp + esi*4 + 0x30]
mov dword [esp + 0x3c], edi
mov ebx, dword [esp + 0x3c]
mov edx, dword [esp + 0x3c]
shr ebx, 7
shl edx, 0x19
or ebx, edx
add ecx, dword [esi*4 + 0x467068]
mov edx, dword [esp + 0x3c]
shr edx, 0x12
add eax, dword [esp + esi*4 + 0x50]
mov esi, dword [esp + 0x3c]
shl esi, 0xe
or edx, esi
shr edi, 3
xor ebx, edx
xor edi, ebx
add eax, edi
mov edi, dword [esp + 0x188]
add eax, dword [esp + edi*4 + 0x2c]
add ecx, eax
mov dword [esp + edi*4 + 0x6c], eax
mov eax, dword [esp + 0x164]
shr eax, 2
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x164]
shl ecx, 0x1e
mov edx, dword [esp + 0x164]
mov ebx, dword [esp + 0x164]
or eax, ecx
shr edx, 0xd
shl ebx, 0x13
or edx, ebx
mov esi, dword [esp + 0x164]
mov ecx, dword [esp + 0x164]
xor eax, edx
shr esi, 0x16
shl ecx, 0xa
or esi, ecx
mov edx, dword [esp + 0x164]
mov ebx, dword [esp + 0x164]
or ebx, dword [esp + 0x168]
xor eax, esi
mov esi, dword [esp + 0x50]
and edx, dword [esp + 0x168]
and ebx, dword [esp + 0x16c]
or edx, ebx
add eax, edx
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x50]
add esi, dword [esp + 0x54]
add dword [esp + 0x170], eax
mov ecx, dword [esp + 0x170]
mov edx, dword [esp + 0x170]
shr ecx, 6
shl edx, 0x1a
mov ebx, dword [esp + 0x170]
mov eax, dword [esp + 0x170]
or ecx, edx
shr ebx, 0xb
shl eax, 0x15
or ebx, eax
mov dword [esp + 0x160], esi
mov esi, dword [esp + 0x170]
xor ecx, ebx
mov edx, dword [esp + 0x170]
shr esi, 0x19
shl edx, 7
or esi, edx
xor ecx, esi
mov ebx, dword [esp + 0x174]
xor ebx, dword [esp + 0x158]
mov eax, dword [esp + edi*4 + 0x68]
and ebx, dword [esp + 0x170]
add ecx, dword [esp + 0x15c]
xor ebx, dword [esp + 0x158]
add ecx, ebx
mov dword [esp + 0x40], eax
mov esi, dword [esp + 0x40]
mov edx, dword [esp + 0x40]
shr esi, 0x11
shl edx, 0xf
mov ebx, dword [esp + 0x40]
or esi, edx
mov edx, dword [esp + 0x40]
shr ebx, 0x13
shl edx, 0xd
or ebx, edx
shr eax, 0xa
xor esi, ebx
xor eax, esi
mov esi, dword [esp + edi*4 + 0x34]
mov dword [esp + 0x44], esi
mov ebx, dword [esp + 0x44]
mov edx, dword [esp + 0x44]
shr ebx, 7
shl edx, 0x19
or ebx, edx
add ecx, dword [edi*4 + 0x46706c]
mov edx, dword [esp + 0x44]
shr edx, 0x12
add eax, dword [esp + edi*4 + 0x54]
mov edi, dword [esp + 0x44]
shl edi, 0xe
or edx, edi
shr esi, 3
xor ebx, edx
xor esi, ebx
add eax, esi
mov esi, dword [esp + 0x188]
add eax, dword [esp + esi*4 + 0x30]
add ecx, eax
mov dword [esp + esi*4 + 0x70], eax
mov eax, dword [esp + 0x160]
shr eax, 2
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x160]
shl ecx, 0x1e
mov edx, dword [esp + 0x160]
mov ebx, dword [esp + 0x160]
or eax, ecx
shr edx, 0xd
shl ebx, 0x13
or edx, ebx
mov edi, dword [esp + 0x160]
mov ecx, dword [esp + 0x160]
xor eax, edx
shr edi, 0x16
shl ecx, 0xa
or edi, ecx
mov edx, dword [esp + 0x160]
mov ebx, dword [esp + 0x160]
xor eax, edi
or ebx, dword [esp + 0x164]
mov edi, dword [esp + 0x50]
and edx, dword [esp + 0x164]
and ebx, dword [esp + 0x168]
or edx, ebx
add eax, edx
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x50]
add dword [esp + 0x16c], eax
add edi, dword [esp + 0x54]
mov dword [esp + 0x15c], edi
mov ecx, dword [esp + 0x16c]
mov edx, dword [esp + 0x16c]
shr ecx, 6
shl edx, 0x1a
mov ebx, dword [esp + 0x16c]
mov eax, dword [esp + 0x16c]
shr ebx, 0xb
shl eax, 0x15
or ecx, edx
or ebx, eax
mov edi, dword [esp + 0x16c]
mov edx, dword [esp + 0x16c]
shr edi, 0x19
shl edx, 7
xor ecx, ebx
or edi, edx
xor ecx, edi
add ecx, dword [esp + 0x158]
mov ebx, dword [esp + 0x170]
xor ebx, dword [esp + 0x174]
mov eax, dword [esp + esi*4 + 0x6c]
and ebx, dword [esp + 0x16c]
xor ebx, dword [esp + 0x174]
add ecx, ebx
mov dword [esp + 0x48], eax
mov edi, dword [esp + 0x48]
mov edx, dword [esp + 0x48]
shr edi, 0x11
shl edx, 0xf
mov ebx, dword [esp + 0x48]
or edi, edx
mov edx, dword [esp + 0x48]
shr ebx, 0x13
shl edx, 0xd
or ebx, edx
shr eax, 0xa
xor edi, ebx
xor eax, edi
mov edi, dword [esp + esi*4 + 0x38]
mov dword [esp + 0x4c], edi
mov ebx, dword [esp + 0x4c]
mov edx, dword [esp + 0x4c]
shr ebx, 7
shl edx, 0x19
or ebx, edx
add ecx, dword [esi*4 + 0x467070]
mov edx, dword [esp + 0x4c]
shr edx, 0x12
add eax, dword [esp + esi*4 + 0x58]
mov esi, dword [esp + 0x4c]
shl esi, 0xe
or edx, esi
shr edi, 3
xor ebx, edx
xor edi, ebx
add eax, edi
mov edi, dword [esp + 0x188]
add eax, dword [esp + edi*4 + 0x34]
add ecx, eax
mov dword [esp + edi*4 + 0x74], eax
mov eax, dword [esp + 0x15c]
shr eax, 2
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x15c]
shl ecx, 0x1e
mov edx, dword [esp + 0x15c]
mov ebx, dword [esp + 0x15c]
or eax, ecx
shr edx, 0xd
shl ebx, 0x13
or edx, ebx
mov esi, dword [esp + 0x15c]
mov edi, dword [esp + 0x15c]
xor eax, edx
shr esi, 0x16
shl edi, 0xa
or esi, edi
mov ecx, dword [esp + 0x15c]
mov edx, dword [esp + 0x15c]
xor eax, esi
or edx, dword [esp + 0x160]
mov ebx, dword [esp + 0x50]
and ecx, dword [esp + 0x160]
and edx, dword [esp + 0x164]
or ecx, edx
add eax, ecx
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x50]
add ebx, dword [esp + 0x54]
add dword [esp + 0x168], eax
add dword [esp + 0x188], 8
mov dword [esp + 0x158], ebx
cmp dword [esp + 0x188], 0x40
jb 0x40eaa1
mov esi, dword [esp + 0x188]
mov ebx, dword [esp + 0x190]
xor esi, esi
lea edx, [ebx + esi*4]
mov ecx, dword [esp + esi*4 + 0x158]
inc esi
add dword [edx + 8], ecx
cmp esi, 8
jb 0x40f67e
push 0x128
lea esi, [esp + 0x54]
push esi
call fcn.0041a350
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 0x180
ret