Function at 0x46e5c0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x148
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x15c]
xor eax, eax
lea edx, [edi + 0x20]
mov ecx, dword [edx - 4]
mov esi, ecx
ror esi, 8
and esi, 0xff00ff00
rol ecx, 8
and ecx, 0xff00ff
or esi, ecx
mov ecx, dword [edx]
mov dword [esp + eax*4 + 0x18], esi
mov esi, ecx
ror esi, 8
and esi, 0xff00ff00
rol ecx, 8
and ecx, 0xff00ff
or esi, ecx
mov ecx, dword [edx + 4]
mov dword [esp + eax*4 + 0x1c], esi
mov esi, ecx
ror esi, 8
and esi, 0xff00ff00
rol ecx, 8
and ecx, 0xff00ff
or esi, ecx
mov ecx, dword [edx + 8]
mov dword [esp + eax*4 + 0x20], esi
mov esi, ecx
ror esi, 8
and esi, 0xff00ff00
rol ecx, 8
and ecx, 0xff00ff
or esi, ecx
mov dword [esp + eax*4 + 0x24], esi
add eax, 4
add edx, 0x10
cmp eax, 0x10
jb 0x46e5d6
lea eax, [esp + 0x38]
mov ebx, 0x10
lea ecx, [ecx]
mov ecx, dword [eax - 0x20]
xor ecx, dword [eax + 0x14]
mov ebp, dword [eax - 0x1c]
xor ebp, dword [eax + 0x18]
xor ecx, dword [eax]
xor ebp, dword [eax + 4]
mov edx, dword [eax - 0x18]
mov esi, dword [eax - 0x14]
xor ecx, edx
xor ebp, esi
rol ecx, 1
rol ebp, 1
mov dword [eax + 0x24], ebp
mov ebp, dword [eax + 0x1c]
xor ebp, dword [eax - 0x10]
mov dword [eax + 0x20], ecx
xor ebp, dword [eax + 8]
add eax, 0x10
xor ebp, edx
mov edx, dword [eax - 0x1c]
xor edx, dword [eax - 4]
rol ebp, 1
xor edx, ecx
xor edx, esi
rol edx, 1
sub ebx, 1
mov dword [eax + 0x18], ebp
mov dword [eax + 0x1c], edx
jne 0x46e660
mov edx, dword [edi + 8]
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 0x10]
mov esi, dword [edi + 0x14]
mov edi, dword [edi + 0x18]
mov dword [esp + 0x14], ebx
nop
mov dword [esp + 0x10], edx
rol edx, 5
mov ebx, eax
mov ebp, ecx
and ebp, eax
not ebx
and ebx, esi
xor ebx, ebp
mov ebp, dword [esp + 0x10]
add edx, ebx
mov ebx, dword [esp + 0x14]
add edx, dword [esp + ebx*4 + 0x18]
ror eax, 2
lea edi, [edx + edi + 0x5a827999]
mov dword [esp + 0x14], esi
mov esi, eax
and esi, ebp
mov dword [esp + 0x10], edi
rol edi, 5
mov edx, ebp
not edx
and edx, ecx
xor edx, esi
add edi, edx
add edi, dword [esp + ebx*4 + 0x1c]
mov edx, dword [esp + 0x14]
lea edx, [edi + edx + 0x5a827999]
mov edi, eax
ror ebp, 2
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x10], edx
rol edx, 5
mov eax, ecx
not eax
and eax, edi
mov esi, ebp
and esi, ecx
xor eax, esi
mov esi, dword [esp + 0x10]
add edx, eax
add edx, dword [esp + ebx*4 + 0x20]
mov eax, dword [esp + 0x14]
lea eax, [edx + eax + 0x5a827999]
ror ecx, 2
mov dword [esp + 0x10], eax
rol eax, 5
mov dword [esp + 0x14], edi
mov edx, esi
not edx
and edx, ebp
mov edi, ecx
and edi, esi
xor edx, edi
add eax, edx
add eax, dword [esp + ebx*4 + 0x24]
mov edx, dword [esp + 0x14]
lea edx, [eax + edx + 0x5a827999]
mov edi, ecx
mov ecx, dword [esp + 0x10]
ror esi, 2
mov dword [esp + 0x14], ebp
mov eax, ecx
not eax
and eax, edi
mov dword [esp + 0x10], edx
rol edx, 5
mov ebp, esi
and ebp, ecx
xor eax, ebp
add edx, eax
add edx, dword [esp + ebx*4 + 0x28]
mov eax, dword [esp + 0x14]
add ebx, 5
ror ecx, 2
lea edx, [edx + eax + 0x5a827999]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x14], ebx
cmp ebx, 0x14
jb 0x46e6c0
mov ebx, 0x14
mov dword [esp + 0x10], edx
rol edx, 5
mov ebp, esi
xor ebp, ecx
xor ebp, eax
add edx, ebp
add edx, dword [esp + ebx*4 + 0x18]
mov ebp, dword [esp + 0x10]
lea edi, [edx + edi + 0x6ed9eba1]
ror eax, 2
mov edx, esi
mov dword [esp + 0x10], edi
rol edi, 5
mov esi, ecx
xor esi, eax
xor esi, ebp
add edi, esi
add edi, dword [esp + ebx*4 + 0x1c]
ror ebp, 2
lea edx, [edi + edx + 0x6ed9eba1]
mov edi, eax
xor eax, ebp
mov esi, ecx
mov ecx, dword [esp + 0x10]
xor eax, ecx
mov dword [esp + 0x10], edx
rol edx, 5
add edx, eax
add edx, dword [esp + ebx*4 + 0x20]
ror ecx, 2
lea eax, [edx + esi + 0x6ed9eba1]
mov esi, dword [esp + 0x10]
mov edx, edi
mov dword [esp + 0x10], eax
rol eax, 5
mov edi, ebp
xor edi, ecx
xor edi, esi
add eax, edi
add eax, dword [esp + ebx*4 + 0x24]
mov edi, ebp
lea edx, [eax + edx + 0x6ed9eba1]
mov eax, ecx
mov ecx, dword [esp + 0x10]
ror esi, 2
mov dword [esp + 0x10], edx
mov ebp, eax
rol edx, 5
xor ebp, esi
xor ebp, ecx
add edx, ebp
add edx, dword [esp + ebx*4 + 0x28]
add ebx, 5
lea edx, [edx + edi + 0x6ed9eba1]
ror ecx, 2
mov edi, eax
mov eax, dword [esp + 0x10]
cmp ebx, 0x28
jb 0x46e7c0
mov dword [esp + 0x14], 0x28
mov dword [esp + 0x10], edx
rol edx, 5
add edx, edi
mov edi, dword [esp + 0x10]
mov ebp, ecx
xor ebp, eax
and ebp, esi
mov ebx, ecx
and ebx, eax
xor ebp, ebx
mov ebx, dword [esp + 0x14]
add ebp, dword [esp + ebx*4 + 0x18]
ror eax, 2
lea edx, [edx + ebp - 0x70e44324]
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], edx
rol edx, 5
add edx, dword [esp + 0x14]
mov esi, eax
xor esi, edi
and esi, ecx
mov ebp, eax
and ebp, edi
xor esi, ebp
add esi, dword [esp + ebx*4 + 0x1c]
ror edi, 2
lea edx, [esi + edx - 0x70e44324]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x10], edx
rol edx, 5
add edx, dword [esp + 0x14]
mov esi, edi
xor esi, ecx
and esi, eax
mov ebp, edi
and ebp, ecx
xor esi, ebp
add esi, dword [esp + ebx*4 + 0x20]
ror ecx, 2
lea edx, [esi + edx - 0x70e44324]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x10], edx
mov esi, ecx
xor esi, eax
and esi, edi
rol edx, 5
add edx, dword [esp + 0x14]
mov ebp, ecx
and ebp, eax
xor esi, ebp
add esi, dword [esp + ebx*4 + 0x24]
ror eax, 2
lea edx, [esi + edx - 0x70e44324]
mov esi, eax
mov dword [esp + 0x14], edi
mov edi, ecx
mov ecx, dword [esp + 0x10]
xor eax, ecx
and eax, edi
mov dword [esp + 0x10], edx
mov ebp, esi
and ebp, ecx
rol edx, 5
add edx, dword [esp + 0x14]
xor eax, ebp
add eax, dword [esp + ebx*4 + 0x28]
add ebx, 5
ror ecx, 2
lea edx, [eax + edx - 0x70e44324]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x14], ebx
cmp ebx, 0x3c
jb 0x46e885
mov ebx, 0x3c
jmp 0x46e980
mov dword [esp + 0x10], edx
rol edx, 5
add edx, edi
mov edi, dword [esp + 0x10]
mov ebp, esi
xor ebp, ecx
xor ebp, eax
add ebp, dword [esp + ebx*4 + 0x18]
ror eax, 2
lea edx, [edx + ebp - 0x359d3e2a]
mov ebp, ecx
xor ebp, eax
xor ebp, edi
add ebp, dword [esp + ebx*4 + 0x1c]
mov dword [esp + 0x14], esi
mov esi, edx
rol edx, 5
add edx, dword [esp + 0x14]
ror edi, 2
lea edx, [edx + ebp - 0x359d3e2a]
mov ebp, eax
xor eax, edi
mov dword [esp + 0x14], ecx
mov ecx, esi
mov esi, edx
rol edx, 5
add edx, dword [esp + 0x14]
xor eax, ecx
add eax, dword [esp + ebx*4 + 0x20]
mov dword [esp + 0x14], ebp
lea eax, [eax + edx - 0x359d3e2a]
ror ecx, 2
mov ebp, eax
rol eax, 5
add eax, dword [esp + 0x14]
mov edx, edi
xor edx, ecx
xor edx, esi
add edx, dword [esp + ebx*4 + 0x24]
mov dword [esp + 0x14], edi
mov edi, ecx
mov ecx, ebp
ror esi, 2
lea edx, [edx + eax - 0x359d3e2a]
mov ebp, edi
xor ebp, esi
mov eax, edx
rol edx, 5
add edx, dword [esp + 0x14]
xor ebp, ecx
add ebp, dword [esp + ebx*4 + 0x28]
add ebx, 5
ror ecx, 2
lea edx, [edx + ebp - 0x359d3e2a]
cmp ebx, 0x50
jb 0x46e980
mov ebx, dword [esp + 0x15c]
mov ebp, dword [ebx + 8]
add ebp, edx
mov edx, dword [ebx + 0xc]
add edx, eax
mov eax, dword [ebx + 0x10]
add eax, ecx
mov dword [ebx + 0x10], eax
mov eax, dword [ebx + 0x14]
add eax, esi
mov dword [ebx + 0x14], eax
mov eax, dword [ebx + 0x18]
add eax, edi
pop edi
pop esi
mov dword [ebx + 8], ebp
pop ebp
mov dword [ebx + 0xc], edx
mov dword [ebx + 0x18], eax
pop ebx
add esp, 0x148
ret 4