Function at 0x419890
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x148
push ebx
push ebp
mov ebp, dword [esp + 0x154]
push esi
push edi
xor ecx, ecx
lea eax, [ebp + 0x21]
xor edx, edx
mov dh, byte [eax - 1]
movzx esi, byte [eax + 1]
add ecx, 4
add eax, 0x10
mov dl, byte [eax - 0x10]
shl edx, 8
or edx, esi
movzx esi, byte [eax - 0xe]
shl edx, 8
or edx, esi
mov dword [esp + ecx*4 + 8], edx
xor edx, edx
mov dh, byte [eax - 0xd]
movzx esi, byte [eax - 0xb]
mov dl, byte [eax - 0xc]
shl edx, 8
or edx, esi
movzx esi, byte [eax - 0xa]
shl edx, 8
or edx, esi
movzx esi, byte [eax - 7]
mov dword [esp + ecx*4 + 0xc], edx
xor edx, edx
mov dh, byte [eax - 9]
mov dl, byte [eax - 8]
shl edx, 8
or edx, esi
movzx esi, byte [eax - 6]
shl edx, 8
or edx, esi
movzx esi, byte [eax - 3]
mov dword [esp + ecx*4 + 0x10], edx
xor edx, edx
mov dh, byte [eax - 5]
mov dl, byte [eax - 4]
shl edx, 8
or edx, esi
movzx esi, byte [eax - 2]
shl edx, 8
or edx, esi
cmp ecx, 0x10
mov dword [esp + ecx*4 + 0x14], edx
jl 0x4198a6
lea eax, [esp + 0x38]
mov dword [esp + 0x14], 0x10
lea esp, [esp]
mov ebx, dword [eax + 0x14]
mov esi, dword [eax - 0x18]
mov ecx, dword [eax - 0x20]
mov edx, dword [eax]
xor ecx, ebx
mov ebx, dword [eax + 0x18]
xor ecx, esi
xor ecx, edx
mov edi, dword [eax - 0x14]
mov edx, ecx
add ecx, ecx
shr edx, 0x1f
or edx, ecx
mov ecx, dword [eax - 0x1c]
xor ecx, ebx
xor ecx, dword [eax + 4]
xor ecx, edi
mov ebx, ecx
add ecx, ecx
shr ebx, 0x1f
or ebx, ecx
mov ecx, dword [eax + 0x1c]
mov dword [eax + 0x24], ebx
xor ecx, dword [eax - 0x10]
xor ecx, dword [eax + 8]
mov ebx, dword [eax + 0xc]
xor ecx, esi
mov esi, ecx
add ecx, ecx
shr esi, 0x1f
or esi, ecx
mov ecx, dword [eax - 0xc]
xor ecx, ebx
xor ecx, edx
xor ecx, edi
mov dword [eax + 0x20], edx
mov edx, ecx
add ecx, ecx
shr edx, 0x1f
or edx, ecx
mov ecx, dword [esp + 0x14]
mov dword [eax + 0x28], esi
mov dword [eax + 0x2c], edx
add eax, 0x10
dec ecx
mov dword [esp + 0x14], ecx
jne 0x419940
mov ecx, dword [ebp]
mov eax, dword [ebp + 4]
mov edx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov ebp, dword [ebp + 0x10]
mov dword [esp + 0x14], ebp
mov dword [esp + 0x10], 0
mov ebx, eax
not ebx
and ebx, esi
mov ebp, ecx
shl ebp, 5
mov edi, edx
and edi, eax
or ebx, edi
mov edi, ecx
shr edi, 0x1b
or edi, ebp
add ebx, edi
mov edi, dword [esp + 0x10]
add ebx, dword [esp + edi*4 + 0x18]
mov ebp, dword [esp + 0x14]
lea ebx, [ebx + ebp + 0x5a827999]
mov ebp, eax
mov dword [esp + 0x14], esi
shr eax, 2
shl ebp, 0x1e
or ebp, eax
mov eax, ecx
mov dword [esp + 0x10], ebx
not eax
and eax, edx
mov esi, ebp
and esi, ecx
or eax, esi
mov esi, ebx
shl ebx, 5
shr esi, 0x1b
or esi, ebx
add eax, esi
add eax, dword [esp + edi*4 + 0x1c]
mov esi, dword [esp + 0x14]
lea esi, [eax + esi + 0x5a827999]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x14], edx
mov edx, ecx
shr ecx, 2
shl edx, 0x1e
or edx, ecx
mov ecx, eax
not ecx
and ecx, ebp
mov dword [esp + 0x10], esi
mov ebx, edx
and ebx, eax
or ecx, ebx
mov ebx, esi
shr ebx, 0x1b
shl esi, 5
or ebx, esi
mov esi, dword [esp + edi*4 + 0x20]
add ecx, ebx
add ecx, esi
mov esi, dword [esp + 0x14]
lea ecx, [ecx + esi + 0x5a827999]
mov esi, eax
shr eax, 2
shl esi, 0x1e
mov dword [esp + 0x14], ebp
or esi, eax
mov eax, dword [esp + 0x10]
mov ebx, eax
not ebx
and ebx, edx
mov ebp, esi
and ebp, eax
or ebx, ebp
mov ebp, ecx
mov dword [esp + 0x10], ecx
shr ebp, 0x1b
shl ecx, 5
or ebp, ecx
mov ecx, dword [esp + 0x14]
add ebx, ebp
add ebx, dword [esp + edi*4 + 0x24]
lea ecx, [ebx + ecx + 0x5a827999]
mov ebx, esi
mov esi, eax
shr eax, 2
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x10]
shl esi, 0x1e
or esi, eax
mov eax, edx
not eax
and eax, ebx
mov ebp, esi
and ebp, edx
or eax, ebp
mov dword [esp + 0x10], ecx
mov ebp, ecx
shl ecx, 5
shr ebp, 0x1b
or ebp, ecx
mov ecx, dword [esp + 0x14]
add eax, ebp
add eax, dword [esp + edi*4 + 0x28]
lea ecx, [eax + ecx + 0x5a827999]
mov eax, edx
shl eax, 0x1e
shr edx, 2
add edi, 5
or edx, eax
cmp edi, 0x14
mov eax, dword [esp + 0x10]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], edi
jl 0x4199d1
mov edi, 0x14
lea esp, [esp]
mov ebx, ecx
shr ebx, 0x1b
mov ebp, ecx
shl ebp, 5
or ebx, ebp
mov ebp, esi
xor ebp, edx
xor ebp, eax
add ebx, ebp
add ebx, dword [esp + edi*4 + 0x18]
mov ebp, dword [esp + 0x14]
lea ebx, [ebx + ebp + 0x6ed9eba1]
mov ebp, eax
shr eax, 2
mov dword [esp + 0x10], ebx
shl ebp, 0x1e
or ebp, eax
mov eax, ebx
shl ebx, 5
shr eax, 0x1b
or eax, ebx
mov ebx, edx
xor ebx, ebp
xor ebx, ecx
add eax, ebx
add eax, dword [esp + edi*4 + 0x1c]
lea eax, [eax + esi + 0x6ed9eba1]
mov esi, edx
mov edx, ecx
mov ebx, eax
shr ecx, 2
shr ebx, 0x1b
shl edx, 0x1e
or edx, ecx
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x10], eax
shl eax, 5
or ebx, eax
mov eax, ebp
xor eax, edx
xor eax, ecx
add ebx, eax
add ebx, dword [esp + edi*4 + 0x20]
lea eax, [ebx + esi + 0x6ed9eba1]
mov esi, ecx
shr ecx, 2
mov ebx, ebp
mov ebp, eax
shl esi, 0x1e
or esi, ecx
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x10], eax
shl eax, 5
shr ebp, 0x1b
or ebp, eax
mov eax, edx
xor eax, esi
xor eax, ecx
add ebp, eax
add ebp, dword [esp + edi*4 + 0x24]
lea ebx, [ebx + ebp + 0x6ed9eba1]
mov ebp, dword [esp + 0x10]
mov eax, edx
mov edx, ecx
shr ecx, 2
shl edx, 0x1e
or edx, ecx
mov ecx, ebx
mov dword [esp + 0x10], ebx
shl ebx, 5
shr ecx, 0x1b
or ecx, ebx
mov ebx, esi
xor ebx, edx
xor ebx, ebp
add ecx, ebx
mov ebx, dword [esp + edi*4 + 0x28]
mov dword [esp + 0x14], esi
mov esi, edx
mov edx, ebp
shl edx, 0x1e
shr ebp, 2
add ecx, ebx
add edi, 5
or edx, ebp
cmp edi, 0x28
lea ecx, [ecx + eax + 0x6ed9eba1]
mov eax, dword [esp + 0x10]
jl 0x419b20
mov dword [esp + 0x10], 0x28
jmp 0x419c30
mov edi, edx
or edi, eax
and edi, esi
mov ebx, edx
and ebx, eax
or edi, ebx
mov ebx, ecx
mov ebp, ecx
shl ebp, 5
shr ebx, 0x1b
or ebx, ebp
add edi, ebx
mov ebx, dword [esp + 0x10]
add edi, dword [esp + ebx*4 + 0x18]
mov ebp, dword [esp + 0x14]
lea ebp, [edi + ebp - 0x70e44324]
mov edi, eax
shr eax, 2
mov dword [esp + 0x14], esi
shl edi, 0x1e
or edi, eax
mov dword [esp + 0x10], ebp
mov eax, edi
or eax, ecx
and eax, edx
mov esi, edi
and esi, ecx
or eax, esi
mov esi, ebp
shl ebp, 5
shr esi, 0x1b
or esi, ebp
add eax, esi
add eax, dword [esp + ebx*4 + 0x1c]
mov esi, dword [esp + 0x14]
lea esi, [eax + esi - 0x70e44324]
mov dword [esp + 0x14], edx
mov eax, ecx
shr ecx, 2
shl eax, 0x1e
or eax, ecx
mov ecx, dword [esp + 0x10]
mov edx, eax
or edx, ecx
and edx, edi
mov dword [esp + 0x10], esi
mov ebp, eax
and ebp, ecx
or edx, ebp
mov ebp, esi
shr ebp, 0x1b
shl esi, 5
or ebp, esi
mov esi, dword [esp + 0x14]
add edx, ebp
add edx, dword [esp + ebx*4 + 0x20]
lea esi, [edx + esi - 0x70e44324]
mov edx, ecx
mov dword [esp + 0x14], edi
shr ecx, 2
shl edx, 0x1e
or edx, ecx
mov ecx, dword [esp + 0x10]
mov edi, edx
or edi, ecx
and edi, eax
mov ebp, edx
and ebp, ecx
or edi, ebp
mov ebp, esi
mov dword [esp + 0x10], esi
shr ebp, 0x1b
shl esi, 5
or ebp, esi
mov esi, dword [esp + 0x14]
add edi, ebp
add edi, dword [esp + ebx*4 + 0x24]
lea ebp, [edi + esi - 0x70e44324]
mov edi, dword [esp + 0x10]
mov esi, ecx
shr ecx, 2
mov dword [esp + 0x14], eax
shl esi, 0x1e
or esi, ecx
mov eax, esi
or eax, edi
and eax, edx
mov ecx, esi
and ecx, edi
or eax, ecx
mov dword [esp + 0x10], ebp
mov ecx, ebp
shr ecx, 0x1b
shl ebp, 5
or ecx, ebp
add eax, ecx
add eax, dword [esp + ebx*4 + 0x28]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x14], edx
mov edx, edi
shl edx, 0x1e
shr edi, 2
add ebx, 5
lea ecx, [eax + ecx - 0x70e44324]
mov eax, dword [esp + 0x10]
or edx, edi
cmp ebx, 0x3c
mov dword [esp + 0x10], ebx
jl 0x419c30
mov edi, 0x3c
mov ebx, ecx
shr ebx, 0x1b
mov ebp, ecx
shl ebp, 5
or ebx, ebp
mov ebp, esi
xor ebp, edx
xor ebp, eax
add ebx, ebp
add ebx, dword [esp + edi*4 + 0x18]
mov ebp, dword [esp + 0x14]
lea ebx, [ebx + ebp - 0x359d3e2a]
mov ebp, eax
shr eax, 2
mov dword [esp + 0x10], ebx
shl ebp, 0x1e
or ebp, eax
mov eax, ebx
shl ebx, 5
shr eax, 0x1b
or eax, ebx
mov ebx, edx
xor ebx, ebp
xor ebx, ecx
add eax, ebx
add eax, dword [esp + edi*4 + 0x1c]
lea eax, [eax + esi - 0x359d3e2a]
mov esi, edx
mov edx, ecx
mov ebx, eax
shr ecx, 2
shr ebx, 0x1b
shl edx, 0x1e
or edx, ecx
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x10], eax
shl eax, 5
or ebx, eax
mov eax, ebp
xor eax, edx
xor eax, ecx
add ebx, eax
add ebx, dword [esp + edi*4 + 0x20]
lea eax, [ebx + esi - 0x359d3e2a]
mov esi, ecx
shr ecx, 2
mov ebx, ebp
mov ebp, eax
shl esi, 0x1e
or esi, ecx
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x10], eax
shl eax, 5
shr ebp, 0x1b
or ebp, eax
mov eax, edx
xor eax, esi
xor eax, ecx
add ebp, eax
add ebp, dword [esp + edi*4 + 0x24]
lea ebx, [ebx + ebp - 0x359d3e2a]
mov ebp, dword [esp + 0x10]
mov eax, edx
mov edx, ecx
shr ecx, 2
shl edx, 0x1e
or edx, ecx
mov ecx, ebx
mov dword [esp + 0x10], ebx
shl ebx, 5
shr ecx, 0x1b
or ecx, ebx
mov ebx, esi
xor ebx, edx
xor ebx, ebp
add ecx, ebx
add ecx, dword [esp + edi*4 + 0x28]
mov ebx, esi
mov esi, edx
mov edx, ebp
shl edx, 0x1e
shr ebp, 2
add edi, 5
or edx, ebp
cmp edi, 0x50
lea ecx, [ecx + eax - 0x359d3e2a]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x14], ebx
jl 0x419d74
mov edi, dword [esp + 0x15c]
mov ebp, dword [edi]
add ebp, ecx
mov ecx, dword [edi + 4]
add ecx, eax
mov eax, dword [edi + 8]
add eax, edx
mov dword [edi + 8], eax
mov eax, dword [edi + 0xc]
add eax, esi
mov dword [edi + 0xc], eax
mov eax, dword [edi + 0x10]
add eax, ebx
mov dword [edi], ebp
mov dword [edi + 4], ecx
mov dword [edi + 0x10], eax
mov dword [edi + 0x1c], 0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x148
ret