Function at 0x41eb90
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x154
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x1c], ecx
xor esi, esi
movzx edi, byte [edx + 2]
xor eax, eax
mov ah, byte [edx]
add edx, 4
mov al, byte [edx - 3]
shl eax, 8
or eax, edi
movzx edi, byte [edx - 1]
shl eax, 8
or eax, edi
mov dword [esp + esi*4 + 0x24], eax
inc esi
cmp esi, 0x10
jl 0x41eba0
lea eax, [esp + esi*4 - 0x14]
lea ebx, [ebx]
mov edx, dword [eax + 0x2c]
mov ebp, dword [eax + 0x18]
mov ebx, dword [eax - 8]
mov edi, dword [eax]
xor edx, ebp
xor edx, ebx
xor edx, edi
rol edx, 1
mov dword [eax + 0x38], edx
inc esi
add eax, 4
cmp esi, 0x50
jl 0x41ebd0
mov eax, dword [ecx + 8]
mov esi, dword [ecx]
mov edx, dword [ecx + 4]
mov edi, dword [ecx + 0x10]
mov dword [esp + 0x18], eax
mov eax, dword [ecx + 0xc]
mov dword [esp + 0x10], eax
xor eax, eax
mov ebp, dword [esp + 0x10]
mov ebx, edx
not ebx
and ebx, ebp
mov ebp, dword [esp + 0x18]
and ebp, edx
or ebx, ebp
mov ebp, dword [esp + 0x18]
mov ecx, esi
rol ecx, 5
add ecx, ebx
add ecx, dword [esp + eax*4 + 0x24]
rol edx, 0x1e
mov ebx, esi
lea edi, [edi + ecx + 0x5a827999]
not ebx
and ebx, ebp
mov ebp, edx
and ebp, esi
or ebx, ebp
mov dword [esp + eax*4 + 0x24], 0
mov ecx, edi
rol ecx, 5
add ecx, ebx
add ecx, dword [esp + eax*4 + 0x28]
mov ebx, dword [esp + 0x10]
rol esi, 0x1e
mov dword [esp + 0x14], esi
mov ebp, dword [esp + 0x14]
mov dword [esp + 0x20], edx
lea ebx, [ebx + ecx + 0x5a827999]
mov esi, edi
not esi
and esi, edx
mov ecx, ebx
rol ecx, 5
mov edx, edi
and edx, ebp
or esi, edx
add ecx, esi
mov dword [esp + eax*4 + 0x28], 0
add ecx, dword [esp + eax*4 + 0x2c]
mov edx, dword [esp + 0x18]
rol edi, 0x1e
mov esi, ebx
not esi
and esi, ebp
lea ecx, [edx + ecx + 0x5a827999]
mov ebp, edi
and ebp, ebx
or esi, ebp
mov dword [esp + eax*4 + 0x2c], 0
mov ebp, dword [esp + eax*4 + 0x30]
mov edx, ecx
rol edx, 5
add edx, esi
mov esi, dword [esp + 0x20]
add edx, ebp
rol ebx, 0x1e
lea edx, [esi + edx + 0x5a827999]
mov ebp, ecx
not ebp
and ebp, edi
mov dword [esp + 0x10], ebx
and ebx, ecx
or ebp, ebx
mov ebx, dword [esp + 0x14]
mov esi, edx
rol esi, 5
add esi, ebp
mov dword [esp + eax*4 + 0x30], 0
add esi, dword [esp + eax*4 + 0x34]
rol ecx, 0x1e
mov dword [esp + eax*4 + 0x34], 0
lea esi, [ebx + esi + 0x5a827999]
mov dword [esp + 0x18], ecx
add eax, 5
cmp eax, 0x14
jl 0x41ec07
mov ebx, dword [esp + 0x10]
xor ebx, ecx
mov ebp, esi
rol ebp, 5
xor ebx, edx
add ebp, ebx
add ebp, dword [esp + eax*4 + 0x24]
lea edi, [edi + ebp + 0x6ed9eba1]
rol edx, 0x1e
mov dword [esp + eax*4 + 0x24], 0
mov ebp, ecx
xor ebp, edx
xor ebp, esi
mov ebx, edi
rol ebx, 5
add ebx, ebp
add ebx, dword [esp + eax*4 + 0x28]
mov ebp, dword [esp + 0x10]
rol esi, 0x1e
lea ebx, [ebx + ebp + 0x6ed9eba1]
mov dword [esp + 0x14], esi
mov ebp, edi
xor ebp, edx
xor ebp, dword [esp + 0x14]
mov dword [esp + eax*4 + 0x28], 0
mov esi, ebx
rol esi, 5
add esi, ebp
add esi, dword [esp + eax*4 + 0x2c]
lea ecx, [ecx + esi + 0x6ed9eba1]
rol edi, 0x1e
mov ebp, edi
xor ebp, ebx
xor ebp, dword [esp + 0x14]
mov esi, ecx
rol esi, 5
add esi, ebp
mov dword [esp + eax*4 + 0x2c], 0
add esi, dword [esp + eax*4 + 0x30]
lea edx, [edx + esi + 0x6ed9eba1]
rol ebx, 0x1e
mov ebp, edi
xor ebp, ebx
xor ebp, ecx
mov esi, edx
rol esi, 5
add esi, ebp
mov dword [esp + eax*4 + 0x30], 0
add esi, dword [esp + eax*4 + 0x34]
mov ebp, dword [esp + 0x14]
mov dword [esp + eax*4 + 0x34], 0
add eax, 5
rol ecx, 0x1e
cmp eax, 0x28
mov dword [esp + 0x10], ebx
lea esi, [esi + ebp + 0x6ed9eba1]
jl 0x41ed12
mov dword [esp + 0x18], ecx
or ebx, edx
and ebx, ecx
mov ecx, dword [esp + 0x10]
and ecx, edx
or ebx, ecx
add ebx, dword [esp + eax*4 + 0x24]
mov ecx, dword [esp + 0x18]
add ebx, edi
mov ebp, esi
rol ebp, 5
lea edi, [ebx + ebp - 0x70e44324]
mov ebp, ecx
or ebp, esi
and ecx, esi
rol edx, 0x1e
and ebp, edx
or ebp, ecx
mov dword [esp + eax*4 + 0x24], 0
add ebp, dword [esp + eax*4 + 0x28]
add ebp, dword [esp + 0x10]
mov ebx, edi
rol ebx, 5
lea ecx, [ebx + ebp - 0x70e44324]
rol esi, 0x1e
mov ebx, edi
or ebx, edx
and ebx, esi
mov dword [esp + eax*4 + 0x28], 0
mov ebp, edi
and ebp, edx
or ebx, ebp
add ebx, dword [esp + eax*4 + 0x2c]
add ebx, dword [esp + 0x18]
mov dword [esp + 0x10], ecx
rol ecx, 5
lea ecx, [ebx + ecx - 0x70e44324]
mov dword [esp + 0x18], ecx
mov ebx, ecx
mov ecx, dword [esp + 0x10]
rol edi, 0x1e
mov ebp, ecx
or ebp, esi
and ecx, esi
and ebp, edi
or ebp, ecx
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x14], esi
mov dword [esp + eax*4 + 0x2c], 0
add ebp, dword [esp + eax*4 + 0x30]
add ebp, edx
rol ebx, 5
lea edx, [ebx + ebp - 0x70e44324]
rol ecx, 0x1e
mov esi, ecx
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x10], esi
mov ebp, edi
or ebp, ecx
and ebp, esi
mov esi, edi
and esi, ecx
or ebp, esi
mov dword [esp + eax*4 + 0x30], 0
add ebp, dword [esp + eax*4 + 0x34]
mov esi, dword [esp + 0x14]
mov ebx, edx
rol ebx, 5
add ebp, esi
rol ecx, 0x1e
lea esi, [ebx + ebp - 0x70e44324]
mov ebx, dword [esp + 0x10]
mov dword [esp + eax*4 + 0x34], 0
mov dword [esp + 0x18], ecx
add eax, 5
cmp eax, 0x3c
jl 0x41ede3
xor ebx, ecx
xor ebx, edx
add ebx, dword [esp + eax*4 + 0x24]
mov ebp, esi
rol ebp, 5
add ebx, edi
lea edi, [ebx + ebp - 0x359d3e2a]
rol edx, 0x1e
mov dword [esp + eax*4 + 0x24], 0
mov ebp, ecx
xor ebp, edx
xor ebp, esi
add ebp, dword [esp + eax*4 + 0x28]
mov ebx, edi
add ebp, dword [esp + 0x10]
rol ebx, 5
lea ebx, [ebx + ebp - 0x359d3e2a]
rol esi, 0x1e
mov dword [esp + 0x14], esi
mov ebp, edi
xor ebp, edx
xor ebp, dword [esp + 0x14]
mov dword [esp + eax*4 + 0x28], 0
add ebp, dword [esp + eax*4 + 0x2c]
mov esi, ebx
add ebp, ecx
rol esi, 5
lea ecx, [esi + ebp - 0x359d3e2a]
rol edi, 0x1e
mov ebp, edi
xor ebp, ebx
xor ebp, dword [esp + 0x14]
mov dword [esp + eax*4 + 0x2c], 0
add ebp, dword [esp + eax*4 + 0x30]
mov esi, ecx
add ebp, edx
rol esi, 5
lea edx, [esi + ebp - 0x359d3e2a]
rol ebx, 0x1e
mov ebp, edi
xor ebp, ebx
xor ebp, ecx
mov dword [esp + eax*4 + 0x30], 0
add ebp, dword [esp + eax*4 + 0x34]
mov esi, edx
add ebp, dword [esp + 0x14]
rol esi, 5
mov dword [esp + eax*4 + 0x34], 0
add eax, 5
rol ecx, 0x1e
cmp eax, 0x50
mov dword [esp + 0x10], ebx
lea esi, [esi + ebp - 0x359d3e2a]
jl 0x41eee8
mov eax, dword [esp + 0x1c]
mov ebp, dword [eax]
add ebp, esi
mov esi, dword [eax + 4]
add esi, edx
mov edx, dword [eax + 8]
add edx, ecx
mov ecx, dword [eax + 0xc]
add ecx, ebx
mov dword [eax + 0xc], ecx
mov ecx, dword [eax + 0x10]
add ecx, edi
pop edi
mov dword [eax + 4], esi
pop esi
mov dword [eax], ebp
pop ebp
mov dword [eax + 8], edx
mov dword [eax + 0x10], ecx
pop ebx
add esp, 0x154
ret