Function at 0x668b00
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x24
mov edx, dword [ecx + 0xbc]
mov eax, dword [esp + 0x28]
push ebx
push ebp
mov ecx, dword [edx]
add ecx, dword [eax]
mov ebp, dword [edx + 8]
mov ebx, ecx
add ebp, dword [eax + 8]
push esi
mov esi, dword [eax + 0xc]
mov dword [esp + 0x14], edx
movzx edx, cl
push edi
mov edi, dword [eax + 4]
mov eax, ecx
shr eax, 0x10
mov dword [esp + 0x24], eax
rol ecx, 8
mov dword [esp + 0x38], ecx
movzx eax, cl
mov ecx, dword [esp + 0x18]
shr ebx, 8
mov ecx, dword [ecx + 0xc]
add ecx, esi
mov esi, dword [eax*4 + 0x6e6a88]
mov eax, dword [esp + 0x38]
xor esi, ecx
add eax, esi
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 4]
movzx eax, bl
add ecx, edi
xor ecx, dword [edx*4 + 0x6e6688]
add ecx, dword [eax*4 + 0x6e6a88]
mov eax, dword [esp + 0x24]
mov edx, ecx
movzx eax, al
mov dword [esp + 0x38], ecx
rol ecx, 8
mov ebx, dword [eax*4 + 0x6e6688]
movzx eax, dl
add ebx, ebp
xor ebx, dword [eax*4 + 0x6e6688]
mov eax, edx
shr eax, 8
movzx eax, al
shr edx, 0x10
mov eax, dword [eax*4 + 0x6e6a88]
add ebx, eax
mov eax, ebx
rol eax, 8
mov dword [esp + 0x20], eax
movzx eax, dl
mov edx, dword [eax*4 + 0x6e6688]
add edx, esi
movzx eax, bl
xor edx, dword [eax*4 + 0x6e6688]
mov eax, ebx
shr eax, 8
movzx eax, al
add edx, dword [eax*4 + 0x6e6a88]
mov eax, edx
mov dword [esp + 0x24], edx
rol eax, 8
mov dword [esp + 0x38], eax
movzx eax, cl
mov esi, dword [eax*4 + 0x6e6a88]
mov eax, ebx
xor esi, dword [esp + 0x1c]
shr eax, 0x10
movzx eax, al
add esi, dword [eax*4 + 0x6e6688]
movzx eax, dl
xor esi, dword [eax*4 + 0x6e6688]
mov eax, edx
shr eax, 8
movzx eax, al
add esi, dword [eax*4 + 0x6e6a88]
mov dword [esp + 0x1c], esi
lea edx, [ebx + ecx]
mov ecx, esi
rol ecx, 8
movzx eax, cl
mov esi, dword [eax*4 + 0x6e6a88]
mov eax, dword [esp + 0x20]
movzx eax, al
xor esi, dword [esp + 0x38]
mov ebx, dword [eax*4 + 0x6e6a88]
mov eax, dword [esp + 0x24]
lea edi, [esi + ecx]
shr eax, 0x10
xor ebx, edx
movzx eax, al
mov edx, dword [esp + 0x1c]
add ebx, dword [eax*4 + 0x6e6688]
movzx eax, dl
xor ebx, dword [eax*4 + 0x6e6688]
mov eax, edx
shr eax, 8
movzx eax, al
shr edx, 0x10
add ebx, dword [eax*4 + 0x6e6a88]
mov eax, dword [esp + 0x38]
movzx eax, al
mov dword [esp + 0x24], ebx
mov ecx, dword [eax*4 + 0x6e6a88]
xor ecx, dword [esp + 0x20]
movzx eax, dl
add ecx, dword [eax*4 + 0x6e6688]
movzx eax, bl
xor ecx, dword [eax*4 + 0x6e6688]
mov eax, ebx
shr eax, 8
movzx eax, al
rol ebx, 8
mov eax, dword [eax*4 + 0x6e6a88]
add ecx, eax
mov eax, ecx
mov dword [esp + 0x20], ecx
rol eax, 8
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x24]
shr eax, 0x10
movzx eax, al
mov edx, dword [eax*4 + 0x6e6688]
movzx eax, cl
add edx, esi
xor edx, dword [eax*4 + 0x6e6688]
mov eax, ecx
shr eax, 8
add ecx, ebx
movzx eax, al
add edx, dword [eax*4 + 0x6e6a88]
mov eax, dword [esp + 0x38]
movzx eax, al
mov dword [esp + 0x24], edx
xor ecx, dword [eax*4 + 0x6e6a88]
mov eax, edx
shr eax, 0x10
movzx eax, al
rol edx, 8
mov dword [esp + 0x10], edx
add ecx, dword [eax*4 + 0x6e6688]
movzx eax, bl
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x24]
mov ebx, dword [eax*4 + 0x6e6a88]
mov eax, dword [esp + 0x20]
xor ebx, edi
shr eax, 0x10
movzx eax, al
add ebx, dword [eax*4 + 0x6e6688]
movzx eax, cl
shr ecx, 8
xor ebx, dword [eax*4 + 0x6e6688]
movzx eax, cl
add ebx, dword [eax*4 + 0x6e6a88]
movzx eax, dl
mov dword [esp + 0x1c], ebx
mov eax, dword [eax*4 + 0x6e6a88]
xor eax, dword [esp + 0x38]
xor edx, edx
mov ebx, dword [esp + 0x18]
add ebx, 0x10
mov dword [esp + 0x38], eax
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], ebx
mov esi, dword [esp + 0x1c]
lea edi, [esp + 0x10]
mov ecx, dword [ebx + 4]
mov eax, esi
mov ebp, dword [ebx]
rol eax, 0xd
add ebp, esi
imul ecx, eax
lea esi, [esp + 0x14]
rol ecx, 0xa
cmp edx, 8
mov ebx, ecx
mov dword [esp + 0x1c], ecx
cmovae esi, edi
movzx ecx, cl
mov edi, dword [esp + 0x1c]
mov edx, ebp
and edx, 0x1ff
ror ebx, 5
and ecx, 0x1f
mov edx, dword [edx*4 + 0x6e6688]
xor edx, ebx
xor edx, edi
rol edx, cl
lea ecx, [esp + 0x10]
add dword [esi], edx
lea esi, [esp + 0x14]
mov edx, dword [esp + 0x20]
cmp edx, 8
cmovae ecx, esi
inc edx
mov dword [esp + 0x20], edx
xor dword [ecx], edi
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x38]
mov dword [esp + 0x1c], ecx
movzx ecx, bl
mov ebx, dword [esp + 0x24]
and ecx, 0x1f
rol ebp, cl
add ebx, 8
mov ecx, dword [esp + 0x10]
add edi, ebp
mov dword [esp + 0x14], edi
mov dword [esp + 0x38], ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x24], ebx
cmp edx, 0x10
jb 0x668d80
mov edx, dword [esp + 0x1c]
mov esi, edx
mov ecx, edx
mov ebp, dword [esp + 0x38]
ror ecx, 8
mov ebx, edx
mov dword [esp + 0x1c], ecx
movzx ecx, cl
mov dword [esp + 0x24], ecx
movzx ecx, dl
shr esi, 0x18
shr ebx, 0x10
mov ecx, dword [ecx*4 + 0x6e6a88]
xor ecx, edi
sub ebp, dword [esi*4 + 0x6e6688]
mov edx, ecx
mov edi, ecx
ror edx, 8
mov dword [esp + 0x10], edx
mov edx, ecx
movzx ecx, cl
shr edx, 0x10
shr edi, 0x18
xor ebp, dword [ecx*4 + 0x6e6a88]
mov ecx, ebp
mov dword [esp + 0x38], ebp
sub ecx, dword [esp + 0x10]
mov dword [esp + 0x38], ecx
mov esi, dword [esp + 0x38]
movzx ecx, dl
mov edx, dword [esp + 0x1c]
sub edx, dword [ecx*4 + 0x6e6a88]
mov ecx, dword [esp + 0x10]
movzx ecx, cl
xor edx, dword [ecx*4 + 0x6e6688]
mov ecx, esi
shr ecx, 0x18
sub edx, dword [ecx*4 + 0x6e6688]
mov ecx, esi
ror ecx, 8
mov dword [esp + 0x14], ecx
mov ecx, esi
shr ecx, 0x10
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x14]
movzx ebp, cl
movzx ecx, bl
mov dword [esp + 0x1c], edx
sub eax, dword [ecx*4 + 0x6e6a88]
mov ecx, dword [esp + 0x24]
xor eax, dword [ecx*4 + 0x6e6688]
mov ecx, esi
sub eax, dword [edi*4 + 0x6e6688]
movzx ecx, cl
xor eax, dword [ecx*4 + 0x6e6a88]
sub eax, edx
mov edx, eax
mov ecx, eax
mov ebx, eax
ror ecx, 8
movzx eax, al
mov dword [esp + 0x20], ecx
movzx edi, cl
shr ebx, 0x10
mov ecx, dword [eax*4 + 0x6e6a88]
xor ecx, dword [esp + 0x1c]
mov eax, ecx
shr edx, 0x18
ror eax, 8
mov esi, ecx
mov dword [esp + 0x24], eax
mov eax, ecx
shr esi, 0x18
shr eax, 0x10
mov dword [esp + 0x1c], eax
mov dword [esp + 0x2c], ebx
mov ebx, dword [esp + 0x24]
movzx eax, bl
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x28]
movzx eax, al
mov ebx, dword [esp + 0x10]
sub ebx, dword [eax*4 + 0x6e6a88]
xor ebx, dword [ebp*4 + 0x6e6688]
sub ebx, dword [edx*4 + 0x6e6688]
movzx eax, cl
xor ebx, dword [eax*4 + 0x6e6a88]
mov eax, ebx
mov dword [esp + 0x10], ebx
ror eax, 8
mov edx, ebx
mov dword [esp + 0x38], eax
mov ecx, ebx
mov ebx, dword [esp + 0x2c]
movzx eax, bl
mov ebx, dword [esp + 0x14]
shr ecx, 0x10
shr edx, 0x18
sub ebx, dword [eax*4 + 0x6e6a88]
xor ebx, dword [edi*4 + 0x6e6688]
sub ebx, dword [esi*4 + 0x6e6688]
mov eax, dword [esp + 0x10]
movzx eax, al
mov esi, dword [esp + 0x20]
xor ebx, dword [eax*4 + 0x6e6a88]
sub ebx, dword [esp + 0x38]
movzx eax, cl
mov dword [esp + 0x14], ebx
mov ebx, dword [esp + 0x24]
mov ecx, dword [esp + 0x14]
sub ebx, dword [eax*4 + 0x6e6a88]
mov eax, dword [esp + 0x38]
movzx eax, al
xor ebx, dword [eax*4 + 0x6e6688]
mov eax, ecx
shr eax, 0x18
sub ebx, dword [eax*4 + 0x6e6688]
mov eax, ecx
ror eax, 8
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x1c]
movzx eax, al
shr ecx, 0x10
sub esi, dword [eax*4 + 0x6e6a88]
mov eax, dword [esp + 0x30]
xor esi, dword [eax*4 + 0x6e6688]
sub esi, dword [edx*4 + 0x6e6688]
mov eax, dword [esp + 0x14]
mov edx, esi
movzx eax, al
mov dword [esp + 0x20], esi
xor edx, dword [eax*4 + 0x6e6a88]
movzx eax, cl
sub edx, ebx
mov ecx, dword [esp + 0x38]
sub ecx, dword [eax*4 + 0x6e6a88]
mov eax, dword [esp + 0x10]
movzx eax, al
xor ecx, dword [eax*4 + 0x6e6688]
mov eax, edx
shr eax, 0x18
sub ecx, dword [eax*4 + 0x6e6688]
mov eax, edx
ror eax, 8
mov dword [esp + 0x38], ecx
mov ecx, edx
mov dword [esp + 0x14], eax
movzx eax, dl
mov edx, dword [esp + 0x14]
shr ecx, 0x10
mov esi, dword [eax*4 + 0x6e6a88]
movzx eax, cl
xor esi, ebx
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + 0x18]
sub ecx, dword [eax*4 + 0x6e6a88]
movzx eax, dl
xor ecx, dword [eax*4 + 0x6e6688]
mov eax, dword [esp + 0x38]
sub eax, dword [ebx + 0x94]
sub ecx, dword [ebx + 0x98]
mov dword [esp + 0x38], eax
sub edx, dword [ebx + 0x9c]
sub esi, dword [ebx + 0x90]
mov ebx, dword [esp + 0x40]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x10], ecx
test edx, edx
je 0x669101
mov eax, dword [edx]
lea ecx, [edx + 4]
xor eax, esi
lea edx, [ebx + 8]
mov dword [ebx], eax
test ecx, ecx
je 0x66911e
mov eax, dword [ecx]
xor eax, dword [esp + 0x38]
mov dword [ebx + 4], eax
mov eax, edx
add ecx, 4
je 0x66913e
mov eax, dword [ecx]
xor eax, dword [esp + 0x10]
mov dword [edx], eax
add ecx, 4
je 0x669144
mov eax, dword [ecx]
xor eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
mov dword [edx + 4], eax
pop ebx
add esp, 0x24
ret 0xc
mov dword [ebx], esi
lea edx, [ebx + 8]
mov dword [ebx + 4], eax
mov eax, edx
pop edi
pop esi
pop ebp
mov dword [eax], ecx
mov ecx, dword [esp + 8]
mov dword [edx + 4], ecx
pop ebx
add esp, 0x24
ret 0xc
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x10]
mov dword [ebx + 4], eax
mov eax, edx
pop edi
pop esi
pop ebp
mov dword [eax], ecx
mov ecx, dword [esp + 8]
mov dword [edx + 4], ecx
pop ebx
add esp, 0x24
ret 0xc
mov ecx, dword [esp + 0x10]
mov dword [eax], ecx
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebp
mov dword [edx + 4], ecx
pop ebx
add esp, 0x24
ret 0xc