Function at 0x10066dc0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x150
push ebx
push ebp
mov ebp, ecx
push esi
push edi
mov dword [esp + 0x1c], ebp
xor edx, edx
lea eax, [ebp + 0x29]
xor ecx, ecx
mov ch, byte [eax - 1]
movzx esi, byte [eax + 1]
add edx, 4
add eax, 0x10
mov cl, byte [eax - 0x10]
shl ecx, 8
or ecx, esi
movzx esi, byte [eax - 0xe]
shl ecx, 8
or ecx, esi
mov dword [esp + edx*4 + 0x10], ecx
xor ecx, ecx
mov ch, byte [eax - 0xd]
movzx esi, byte [eax - 0xb]
mov cl, byte [eax - 0xc]
shl ecx, 8
or ecx, esi
movzx esi, byte [eax - 0xa]
shl ecx, 8
or ecx, esi
movzx esi, byte [eax - 7]
mov dword [esp + edx*4 + 0x14], ecx
xor ecx, ecx
mov ch, byte [eax - 9]
mov cl, byte [eax - 8]
shl ecx, 8
or ecx, esi
movzx esi, byte [eax - 6]
shl ecx, 8
or ecx, esi
movzx esi, byte [eax - 3]
mov dword [esp + edx*4 + 0x18], ecx
xor ecx, ecx
mov ch, byte [eax - 5]
mov cl, byte [eax - 4]
shl ecx, 8
or ecx, esi
movzx esi, byte [eax - 2]
shl ecx, 8
or ecx, esi
cmp edx, 0x10
mov dword [esp + edx*4 + 0x1c], ecx
jb 0x10066dd5
mov edx, dword [ebp + 0x10]
mov ebx, dword [ebp + 0x14]
mov edi, dword [ebp + 0x18]
mov esi, dword [ebp + 0x1c]
mov dword [esp + 0x10], edx
mov edx, dword [ebp + 0x20]
lea eax, [esp + 0x40]
mov dword [esp + 0x18], 0x10
jmp 0x10066e80
mov ecx, dword [eax - 0x20]
xor ecx, dword [eax + 0x14]
mov ebp, dword [eax - 0x18]
xor ecx, dword [eax]
add eax, 0x10
xor ecx, ebp
mov ebp, dword [eax - 0x2c]
xor ebp, dword [eax + 8]
rol ecx, 1
xor ebp, dword [eax - 0xc]
mov dword [eax + 0x10], ecx
mov dword [esp + 0x14], ecx
mov ecx, dword [eax - 0x24]
xor ebp, ecx
mov ecx, dword [eax + 0xc]
xor ecx, dword [eax - 0x20]
rol ebp, 1
xor ecx, dword [eax - 8]
mov dword [eax + 0x14], ebp
xor ecx, dword [eax - 0x28]
rol ecx, 1
mov dword [eax + 0x18], ecx
mov ecx, dword [eax - 0x1c]
xor ecx, dword [eax - 4]
xor ecx, dword [esp + 0x14]
xor ecx, dword [eax - 0x24]
rol ecx, 1
sub dword [esp + 0x18], 1
mov dword [eax + 0x1c], ecx
jne 0x10066e80
mov ecx, dword [esp + 0x10]
xor eax, eax
lea esp, [esp]
rol ecx, 5
add eax, 1
mov ebp, esi
xor ebp, edi
and ebp, ebx
xor ebp, esi
add ecx, ebp
add ecx, dword [esp + eax*4 + 0x1c]
rol ebx, 0x1e
lea edx, [edx + ecx + 0x5a827999]
mov ebp, edi
xor ebp, ebx
and ebp, dword [esp + 0x10]
mov ecx, edx
xor ebp, edi
rol ecx, 5
add ecx, ebp
add ecx, dword [esp + eax*4 + 0x20]
add eax, 1
lea esi, [esi + ecx + 0x5a827999]
mov ecx, dword [esp + 0x10]
rol ecx, 0x1e
mov dword [esp + 0x10], ecx
mov ebp, ebx
xor ebp, dword [esp + 0x10]
mov ecx, esi
and ebp, edx
xor ebp, ebx
rol ecx, 5
add ecx, ebp
add ecx, dword [esp + eax*4 + 0x20]
add eax, 1
lea edi, [edi + ecx + 0x5a827999]
mov ecx, dword [esp + 0x10]
rol edx, 0x1e
mov dword [esp + 0x14], edi
rol edi, 5
mov ebp, edx
xor ebp, ecx
and ebp, esi
xor ebp, ecx
add edi, ebp
add edi, dword [esp + eax*4 + 0x20]
add eax, 1
rol esi, 0x1e
lea ebx, [ebx + edi + 0x5a827999]
mov edi, dword [esp + 0x14]
mov ebp, edx
xor ebp, esi
and ebp, edi
xor ebp, edx
mov ecx, ebx
rol ecx, 5
add ecx, ebp
add ecx, dword [esp + eax*4 + 0x20]
mov ebp, dword [esp + 0x10]
add eax, 1
rol edi, 0x1e
cmp eax, 0x14
lea ecx, [ecx + ebp + 0x5a827999]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edi
jb 0x10066ee0
cmp eax, 0x28
jae 0x1006706f
rol ecx, 5
add eax, 1
mov ebp, esi
xor ebp, edi
xor ebp, ebx
add ecx, ebp
add ecx, dword [esp + eax*4 + 0x1c]
rol ebx, 0x1e
lea edx, [edx + ecx + 0x6ed9eba1]
mov dword [esp + 0x18], ebx
mov ecx, edi
xor ecx, ebx
mov ebx, ecx
mov ecx, dword [esp + 0x10]
xor ebx, ecx
mov ebp, edx
rol ebp, 5
add ebp, ebx
add ebp, dword [esp + eax*4 + 0x20]
add eax, 1
lea esi, [esi + ebp + 0x6ed9eba1]
rol ecx, 0x1e
mov ebp, edx
xor ebp, dword [esp + 0x18]
mov ebx, esi
xor ebp, ecx
rol ebx, 5
add ebx, ebp
add ebx, dword [esp + eax*4 + 0x20]
add eax, 1
rol edx, 0x1e
lea edi, [edi + ebx + 0x6ed9eba1]
mov ebp, edx
xor ebp, esi
xor ebp, ecx
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x18]
mov ebx, edi
rol ebx, 5
add ebx, ebp
add ebx, dword [esp + eax*4 + 0x20]
add eax, 1
lea ebx, [ecx + ebx + 0x6ed9eba1]
rol esi, 0x1e
mov ebp, edx
xor ebp, esi
xor ebp, edi
mov ecx, ebx
rol ecx, 5
add ecx, ebp
add ecx, dword [esp + eax*4 + 0x20]
mov ebp, dword [esp + 0x10]
add eax, 1
lea ecx, [ecx + ebp + 0x6ed9eba1]
rol edi, 0x1e
cmp eax, 0x28
mov dword [esp + 0x10], ecx
jb 0x10066fb2
mov dword [esp + 0x14], edi
cmp eax, 0x3c
jae 0x1006715f
mov ebp, edi
or ebp, ebx
and edi, ebx
and ebp, esi
or ebp, edi
add ebp, dword [esp + eax*4 + 0x20]
rol ecx, 5
add ebp, edx
lea edx, [ecx + ebp - 0x70e44324]
add eax, 1
rol ebx, 0x1e
mov edi, ebx
or edi, dword [esp + 0x10]
mov ebp, ebx
and edi, dword [esp + 0x14]
and ebp, dword [esp + 0x10]
add eax, 1
or edi, ebp
add edi, dword [esp + eax*4 + 0x1c]
mov ecx, edx
add edi, esi
rol ecx, 5
lea esi, [edi + ecx - 0x70e44324]
mov ecx, dword [esp + 0x10]
rol ecx, 0x1e
mov edi, edx
or edi, ecx
and edi, ebx
mov ebp, edx
and ebp, ecx
or edi, ebp
add edi, dword [esp + eax*4 + 0x20]
add eax, 1
add edi, dword [esp + 0x14]
mov dword [esp + 0x18], esi
rol esi, 5
lea esi, [edi + esi - 0x70e44324]
rol edx, 0x1e
mov dword [esp + 0x14], esi
mov edi, esi
mov esi, dword [esp + 0x18]
mov dword [esp + 0x10], ecx
mov ebp, edx
or ebp, esi
and ebp, ecx
mov ecx, edx
and ecx, esi
or ebp, ecx
add ebp, dword [esp + eax*4 + 0x20]
rol edi, 5
add ebp, ebx
add eax, 1
lea ecx, [edi + ebp - 0x70e44324]
mov edi, dword [esp + 0x14]
rol esi, 0x1e
mov ebx, esi
or ebx, edi
and ebx, edx
mov ebp, esi
and ebp, edi
or ebx, ebp
add ebx, dword [esp + eax*4 + 0x20]
mov dword [esp + 0x18], ecx
add ebx, dword [esp + 0x10]
rol ecx, 5
add eax, 1
lea ecx, [ebx + ecx - 0x70e44324]
mov ebx, dword [esp + 0x18]
rol edi, 0x1e
cmp eax, 0x3c
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edi
jb 0x10067078
cmp eax, 0x50
mov ebp, dword [esp + 0x1c]
jae 0x1006723b
lea esp, [esp]
rol ecx, 5
add eax, 1
mov ebp, esi
xor ebp, edi
xor ebp, ebx
add ebp, dword [esp + eax*4 + 0x1c]
add eax, 1
add ebp, edx
lea edx, [ecx + ebp - 0x359d3e2a]
rol ebx, 0x1e
mov ecx, edi
xor ecx, ebx
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x18], ebx
mov ebx, dword [esp + 0x14]
xor ebx, ecx
add ebx, dword [esp + eax*4 + 0x1c]
mov ebp, edx
rol ebp, 5
add ebx, esi
lea esi, [ebx + ebp - 0x359d3e2a]
rol ecx, 0x1e
mov dword [esp + 0x10], ecx
mov ebx, dword [esp + 0x10]
mov ebp, edx
xor ebp, dword [esp + 0x18]
add eax, 1
xor ebp, ebx
add ebp, dword [esp + eax*4 + 0x1c]
mov ecx, esi
add ebp, edi
rol ecx, 5
lea ecx, [ecx + ebp - 0x359d3e2a]
rol edx, 0x1e
mov ebp, edx
xor ebp, esi
xor ebp, ebx
add ebp, dword [esp + eax*4 + 0x20]
mov edi, ecx
add ebp, dword [esp + 0x18]
rol edi, 5
lea ebx, [edi + ebp - 0x359d3e2a]
add eax, 1
rol esi, 0x1e
mov ebp, edx
xor ebp, esi
xor ebp, ecx
add ebp, dword [esp + eax*4 + 0x20]
mov edi, ebx
add ebp, dword [esp + 0x10]
rol edi, 5
mov dword [esp + 0x14], ecx
lea ecx, [edi + ebp - 0x359d3e2a]
mov edi, dword [esp + 0x14]
add eax, 1
rol edi, 0x1e
cmp eax, 0x50
mov dword [esp + 0x10], ecx
jb 0x10067170
mov ebp, dword [esp + 0x1c]
mov eax, dword [ebp + 0x10]
add eax, ecx
mov dword [ebp + 0x10], eax
mov eax, dword [ebp + 0x14]
add eax, ebx
mov dword [ebp + 0x14], eax
mov eax, dword [ebp + 0x18]
add eax, edi
mov dword [ebp + 0x18], eax
mov eax, dword [ebp + 0x1c]
add eax, esi
mov dword [ebp + 0x1c], eax
mov eax, dword [ebp + 0x20]
pop edi
add eax, edx
pop esi
mov dword [ebp + 0x20], eax
pop ebp
pop ebx
add esp, 0x150
ret