Function at 0x408620
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
push ebx
push esi
push edi
mov dword [ebp - 0x24], edx
lea edi, [ebp - 0x128]
lea edx, [ebp - 0x124]
xor esi, esi
sub edi, ecx
sub edx, ecx
lea eax, [ecx + 8]
mov dword [ebp - 0x20], edx
mov edx, dword [eax - 8]
mov ecx, edx
rol ecx, 0x18
and ecx, 0xff00ff00
add esi, 4
rol edx, 8
and edx, 0xff00ff
or ecx, edx
mov edx, dword [eax - 4]
mov dword [ebp + esi*4 - 0x138], ecx
mov ecx, edx
lea eax, [eax + 0x10]
rol ecx, 0x18
and ecx, 0xff00ff00
rol edx, 8
and edx, 0xff00ff
or ecx, edx
mov edx, dword [eax - 0x10]
mov dword [ebp + esi*4 - 0x134], ecx
mov ecx, edx
rol ecx, 0x18
and ecx, 0xff00ff00
rol edx, 8
and edx, 0xff00ff
or ecx, edx
mov edx, dword [eax - 0xc]
mov dword [edi + eax - 0x10], ecx
mov ecx, edx
rol ecx, 0x18
and ecx, 0xff00ff00
rol edx, 8
and edx, 0xff00ff
or ecx, edx
mov edx, dword [ebp - 0x20]
mov dword [edx + eax - 0x10], ecx
cmp esi, 0x10
jb 0x408647
lea edi, [ebp - 0xf0]
mov ebx, 0x30
mov edi, edi
mov ecx, dword [edi - 0x34]
mov edx, dword [edi]
mov esi, ecx
ror esi, 0x12
mov eax, ecx
shr ecx, 3
ror eax, 7
xor esi, eax
xor esi, ecx
mov ecx, edx
mov eax, edx
shr edx, 0xa
lea edi, [edi + 4]
ror ecx, 0x13
ror eax, 0x11
xor ecx, eax
xor ecx, edx
add esi, ecx
add esi, dword [edi - 0x3c]
add esi, dword [edi - 0x18]
mov dword [edi + 4], esi
dec ebx
jne 0x4086e0
mov ebx, dword [ebp - 0x24]
mov dword [ebp - 0x18], 0
mov eax, dword [ebx]
mov esi, dword [ebx + 0xc]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebx + 4]
mov dword [ebp - 4], eax
mov eax, dword [ebx + 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebx + 0x10]
mov edi, eax
mov dword [ebp - 0x20], eax
mov eax, dword [ebx + 0x14]
mov dword [ebp - 8], eax
mov eax, dword [ebx + 0x18]
mov dword [ebp - 0x10], eax
mov eax, dword [ebx + 0x1c]
mov ebx, dword [ebp - 0x1c]
mov dword [ebp - 0x14], eax
mov edx, edi
ror edx, 0x19
mov eax, edi
mov ecx, edi
ror eax, 0xb
xor edx, eax
not ecx
and ecx, dword [ebp - 0x10]
mov eax, edi
ror eax, 6
xor edx, eax
mov eax, dword [ebp - 8]
and eax, edi
xor ecx, eax
mov eax, dword [ebp - 0x18]
add edx, ecx
add edx, dword [eax + 0x44e670]
mov edi, dword [ebp - 4]
add edx, dword [ebp + eax - 0x128]
mov eax, dword [ebp - 0xc]
add edx, dword [ebp - 0x14]
and edi, eax
mov ecx, eax
add esi, edx
ror ecx, 0x16
mov dword [ebp - 0x1c], esi
mov esi, dword [ebp - 4]
xor esi, eax
ror eax, 0xd
xor ecx, eax
mov eax, dword [ebp - 0xc]
ror eax, 2
xor ecx, eax
add ecx, edx
mov eax, esi
and eax, ebx
xor eax, edi
add eax, ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x14], eax
mov edx, ecx
mov eax, ecx
ror eax, 0xb
and esi, dword [ebp - 0x14]
xor esi, edi
ror edx, 0x19
xor edx, eax
mov eax, ecx
ror eax, 6
xor edx, eax
mov eax, dword [ebp - 0x20]
and eax, dword [ebp - 0x1c]
not ecx
and ecx, dword [ebp - 8]
xor ecx, eax
mov eax, dword [ebp - 0x18]
add edx, ecx
add edx, dword [eax + 0x44e674]
add edx, dword [ebp + eax - 0x124]
mov eax, dword [ebp - 0x14]
add edx, dword [ebp - 0x10]
mov ecx, eax
ror eax, 0xd
add ebx, edx
ror ecx, 0x16
xor ecx, eax
mov eax, dword [ebp - 0x14]
ror eax, 2
xor ecx, eax
add ecx, edx
mov edx, ebx
mov eax, ebx
add esi, ecx
mov dword [ebp - 0x10], esi
ror eax, 0xb
mov ecx, ebx
ror edx, 0x19
xor edx, eax
mov eax, ebx
ror eax, 6
xor edx, eax
mov esi, dword [ebp - 0x1c]
not ecx
and ecx, dword [ebp - 0x20]
mov eax, esi
and eax, ebx
xor ecx, eax
mov eax, dword [ebp - 0x18]
add edx, ecx
add edx, dword [eax + 0x44e678]
add edx, dword [ebp + eax - 0x120]
mov eax, dword [ebp - 0x10]
add edx, dword [ebp - 8]
mov ecx, eax
ror eax, 0xd
add dword [ebp - 4], edx
ror ecx, 0x16
xor ecx, eax
mov eax, dword [ebp - 0x10]
ror eax, 2
xor ecx, eax
mov eax, dword [ebp - 0x10]
xor eax, dword [ebp - 0xc]
add ecx, edx
and eax, dword [ebp - 0x14]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x10]
and eax, dword [ebp - 0xc]
xor dword [ebp - 8], eax
add dword [ebp - 8], ecx
mov ecx, dword [ebp - 4]
mov edi, dword [ebp - 8]
mov edx, ecx
ror edx, 0x19
mov eax, ecx
ror eax, 0xb
xor edx, eax
mov eax, ecx
ror eax, 6
xor edx, eax
not ecx
and ecx, esi
mov eax, ebx
and eax, dword [ebp - 4]
xor ecx, eax
mov eax, dword [ebp - 0x18]
add edx, ecx
add edx, dword [eax + 0x44e67c]
mov ecx, edi
ror ecx, 0x16
add edx, dword [ebp + eax - 0x11c]
mov eax, edi
ror eax, 0xd
add edx, dword [ebp - 0x20]
xor ecx, eax
add dword [ebp - 0xc], edx
mov eax, edi
ror eax, 2
xor ecx, eax
mov eax, dword [ebp - 0x10]
mov edi, eax
and eax, dword [ebp - 8]
xor edi, dword [ebp - 8]
add ecx, edx
and edi, dword [ebp - 0x14]
xor edi, eax
add edi, ecx
mov ecx, dword [ebp - 0xc]
mov edx, ecx
mov eax, ecx
ror eax, 0xb
ror edx, 0x19
xor edx, eax
mov eax, ecx
ror eax, 6
xor edx, eax
mov eax, dword [ebp - 4]
and eax, dword [ebp - 0xc]
not ecx
and ecx, ebx
xor ecx, eax
add edx, ecx
mov eax, dword [ebp - 0x18]
mov ecx, edi
ror ecx, 0x16
add edx, dword [eax + 0x44e680]
add edx, dword [ebp + eax - 0x118]
mov eax, edi
add edx, esi
add dword [ebp - 0x14], edx
ror eax, 0xd
xor ecx, eax
mov eax, edi
ror eax, 2
xor ecx, eax
mov eax, dword [ebp - 8]
add ecx, edx
mov esi, eax
and eax, edi
xor esi, edi
and esi, dword [ebp - 0x10]
xor esi, eax
add esi, ecx
mov ecx, dword [ebp - 0x14]
mov edx, ecx
mov eax, ecx
ror eax, 0xb
ror edx, 0x19
xor edx, eax
mov eax, ecx
ror eax, 6
xor edx, eax
mov eax, dword [ebp - 0x14]
and eax, dword [ebp - 0xc]
not ecx
and ecx, dword [ebp - 4]
xor ecx, eax
mov eax, dword [ebp - 0x18]
add edx, ecx
add edx, dword [eax + 0x44e684]
mov ecx, esi
ror ecx, 0x16
add edx, dword [ebp + eax - 0x114]
mov eax, esi
ror eax, 0xd
xor ecx, eax
add edx, ebx
add dword [ebp - 0x10], edx
mov eax, esi
mov ebx, edi
xor ebx, esi
ror eax, 2
and ebx, dword [ebp - 8]
xor ecx, eax
add ecx, edx
mov eax, edi
and eax, esi
xor ebx, eax
add ebx, ecx
mov ecx, dword [ebp - 0x10]
mov edx, ecx
mov eax, ecx
ror eax, 0xb
ror edx, 0x19
xor edx, eax
mov eax, ecx
ror eax, 6
xor edx, eax
mov eax, dword [ebp - 0x14]
and eax, dword [ebp - 0x10]
not ecx
and ecx, dword [ebp - 0xc]
xor ecx, eax
mov eax, dword [ebp - 0x18]
add edx, ecx
add edx, dword [eax + 0x44e688]
mov ecx, ebx
ror ecx, 0x16
add edx, dword [ebp + eax - 0x110]
mov eax, ebx
add edx, dword [ebp - 4]
add dword [ebp - 8], edx
ror eax, 0xd
xor ecx, eax
mov eax, ebx
ror eax, 2
xor ecx, eax
add ecx, edx
mov eax, esi
xor eax, ebx
and eax, edi
mov dword [ebp - 4], eax
mov eax, esi
and eax, ebx
xor dword [ebp - 4], eax
add dword [ebp - 4], ecx
mov ecx, dword [ebp - 8]
mov edx, ecx
mov eax, ecx
ror eax, 0xb
ror edx, 0x19
xor edx, eax
mov eax, ecx
ror eax, 6
xor edx, eax
mov eax, dword [ebp - 0x10]
and eax, dword [ebp - 8]
not ecx
and ecx, dword [ebp - 0x14]
xor ecx, eax
mov eax, dword [ebp - 0x18]
add edx, ecx
add edx, dword [eax + 0x44e68c]
add edx, dword [ebp + eax - 0x10c]
mov eax, dword [ebp - 4]
add edx, dword [ebp - 0xc]
mov ecx, eax
ror eax, 0xd
add edi, edx
mov dword [ebp - 0x20], edi
ror ecx, 0x16
xor ecx, eax
mov eax, dword [ebp - 4]
ror eax, 2
xor ecx, eax
mov eax, ebx
xor eax, dword [ebp - 4]
add ecx, edx
and eax, esi
mov dword [ebp - 0xc], eax
mov eax, ebx
and eax, dword [ebp - 4]
xor dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
add eax, ecx
mov ecx, dword [ebp - 0x18]
add ecx, 0x20
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x18], ecx
cmp ecx, 0x100
jb 0x408756
add eax, dword [ebp - 0x28]
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x24]
add dword [ebx + 0x10], edi
add dword [ebx + 0xc], esi
mov dword [ebx], eax
mov eax, dword [ebp - 4]
add dword [ebx + 4], eax
mov eax, dword [ebp - 0x1c]
add dword [ebx + 8], eax
mov eax, dword [ebp - 8]
add dword [ebx + 0x14], eax
mov eax, dword [ebp - 0x10]
add dword [ebx + 0x18], eax
mov eax, dword [ebp - 0x14]
add dword [ebx + 0x1c], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret