Function at 0x41c430
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x150
push ebx
push ebp
push esi
xor ecx, ecx
push edi
xor edx, edx
mov dh, byte [eax]
movzx esi, byte [eax + 2]
add ecx, 4
add eax, 0x10
mov dl, byte [eax - 0xf]
shl edx, 8
or edx, esi
movzx esi, byte [eax - 0xd]
shl edx, 8
or edx, esi
mov dword [esp + ecx*4 + 0x10], edx
xor edx, edx
mov dh, byte [eax - 0xc]
movzx esi, byte [eax - 0xa]
mov dl, byte [eax - 0xb]
shl edx, 8
or edx, esi
movzx esi, byte [eax - 9]
shl edx, 8
or edx, esi
movzx esi, byte [eax - 6]
mov dword [esp + ecx*4 + 0x14], edx
xor edx, edx
mov dh, byte [eax - 8]
mov dl, byte [eax - 7]
shl edx, 8
or edx, esi
movzx esi, byte [eax - 5]
shl edx, 8
or edx, esi
movzx esi, byte [eax - 2]
mov dword [esp + ecx*4 + 0x18], edx
xor edx, edx
mov dh, byte [eax - 4]
mov dl, byte [eax - 3]
shl edx, 8
or edx, esi
movzx esi, byte [eax - 1]
shl edx, 8
or edx, esi
cmp ecx, 0x10
mov dword [esp + ecx*4 + 0x1c], edx
jl 0x41c440
lea eax, [esp + ecx*4 - 0x18]
lea ebx, [ebx]
mov edx, dword [eax + 0x2c]
xor edx, dword [eax + 0x18]
add ecx, 1
xor edx, dword [eax - 8]
add eax, 4
xor edx, dword [eax - 4]
rol edx, 1
cmp ecx, 0x50
mov dword [eax + 0x34], edx
jl 0x41c4d0
mov eax, dword [esp + 0x164]
mov esi, dword [eax + 8]
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [esp + 0x18], esi
mov esi, dword [eax + 0xc]
mov dword [esp + 0x10], esi
mov esi, dword [eax + 0x10]
xor eax, eax
jmp 0x41c510
mov ebp, dword [esp + 0x18]
and ebp, ecx
mov ebx, ecx
mov edi, edx
rol edi, 5
not ebx
and ebx, dword [esp + 0x10]
add eax, 5
or ebx, ebp
add edi, ebx
add edi, dword [esp + eax*4 + 0xc]
ror ecx, 2
mov ebx, edx
lea esi, [esi + edi + 0x5a827999]
mov ebp, ecx
and ebp, edx
not ebx
and ebx, dword [esp + 0x18]
mov dword [esp + eax*4 + 0xc], 0
or ebx, ebp
mov edi, esi
rol edi, 5
add edi, ebx
add edi, dword [esp + eax*4 + 0x10]
mov ebx, dword [esp + 0x10]
ror edx, 2
lea ebx, [ebx + edi + 0x5a827999]
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], ecx
mov edi, esi
not edi
and edi, ecx
mov ecx, esi
and ecx, dword [esp + 0x14]
mov edx, ebx
rol edx, 5
or edi, ecx
mov ecx, dword [esp + 0x18]
add edx, edi
mov dword [esp + eax*4 + 0x10], 0
add edx, dword [esp + eax*4 + 0x14]
ror esi, 2
lea edi, [ecx + edx + 0x5a827999]
mov ecx, ebx
not ecx
and ecx, dword [esp + 0x14]
mov ebp, esi
and ebp, ebx
or ecx, ebp
mov edx, edi
rol edx, 5
add edx, ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + eax*4 + 0x14], 0
add edx, dword [esp + eax*4 + 0x18]
ror ebx, 2
lea ecx, [ecx + edx + 0x5a827999]
mov ebp, edi
not ebp
mov dword [esp + 0x10], ebx
and ebx, edi
and ebp, esi
or ebp, ebx
mov ebx, dword [esp + 0x14]
mov edx, ecx
rol edx, 5
add edx, ebp
mov dword [esp + eax*4 + 0x18], 0
add edx, dword [esp + eax*4 + 0x1c]
mov dword [esp + eax*4 + 0x1c], 0
ror edi, 2
cmp eax, 0x14
lea edx, [ebx + edx + 0x5a827999]
mov dword [esp + 0x18], edi
jl 0x41c510
mov ebx, dword [esp + 0x10]
xor ebx, edi
mov ebp, edx
rol ebp, 5
xor ebx, ecx
add ebp, ebx
add ebp, dword [esp + eax*4 + 0x20]
ror ecx, 2
lea esi, [esi + ebp + 0x6ed9eba1]
mov ebp, edi
xor ebp, ecx
xor ebp, edx
mov dword [esp + eax*4 + 0x20], 0
mov ebx, esi
rol ebx, 5
add ebx, ebp
add ebx, dword [esp + eax*4 + 0x24]
mov ebp, dword [esp + 0x10]
ror edx, 2
mov dword [esp + 0x14], edx
lea ebx, [ebx + ebp + 0x6ed9eba1]
mov ebp, esi
xor ebp, ecx
xor ebp, dword [esp + 0x14]
mov dword [esp + eax*4 + 0x24], 0
mov edx, ebx
rol edx, 5
add edx, ebp
add edx, dword [esp + eax*4 + 0x28]
ror esi, 2
lea edi, [edi + edx + 0x6ed9eba1]
mov ebp, esi
xor ebp, ebx
xor ebp, dword [esp + 0x14]
mov edx, edi
rol edx, 5
add edx, ebp
mov dword [esp + eax*4 + 0x28], 0
add edx, dword [esp + eax*4 + 0x2c]
ror ebx, 2
lea ecx, [ecx + edx + 0x6ed9eba1]
mov ebp, esi
xor ebp, ebx
xor ebp, edi
mov edx, ecx
rol edx, 5
add edx, ebp
mov ebp, dword [esp + 0x14]
mov dword [esp + eax*4 + 0x2c], 0
add edx, dword [esp + eax*4 + 0x30]
mov dword [esp + eax*4 + 0x30], 0
add eax, 5
ror edi, 2
cmp eax, 0x28
mov dword [esp + 0x10], ebx
lea edx, [edx + ebp + 0x6ed9eba1]
jl 0x41c615
mov dword [esp + 0x18], edi
or ebx, ecx
and ebx, edi
mov edi, dword [esp + 0x10]
and edi, ecx
or ebx, edi
add ebx, dword [esp + eax*4 + 0x20]
mov edi, dword [esp + 0x18]
add ebx, esi
mov ebp, edx
rol ebp, 5
lea esi, [ebx + ebp - 0x70e44324]
ror ecx, 2
mov ebp, edi
or ebp, edx
and ebp, ecx
and edi, edx
or ebp, edi
mov dword [esp + eax*4 + 0x20], 0
add ebp, dword [esp + eax*4 + 0x24]
mov ebx, esi
add ebp, dword [esp + 0x10]
rol ebx, 5
lea edi, [ebx + ebp - 0x70e44324]
ror edx, 2
mov ebx, esi
or ebx, ecx
and ebx, edx
mov dword [esp + eax*4 + 0x24], 0
mov ebp, esi
and ebp, ecx
or ebx, ebp
add ebx, dword [esp + eax*4 + 0x28]
mov dword [esp + 0x10], edi
add ebx, dword [esp + 0x18]
rol edi, 5
lea edi, [ebx + edi - 0x70e44324]
mov dword [esp + 0x18], edi
mov ebx, edi
mov edi, dword [esp + 0x10]
ror esi, 2
mov ebp, edi
or ebp, edx
and ebp, esi
and edi, edx
or ebp, edi
mov edi, dword [esp + 0x18]
mov dword [esp + eax*4 + 0x28], 0
add ebp, dword [esp + eax*4 + 0x2c]
rol ebx, 5
add ebp, ecx
lea ecx, [ebx + ebp - 0x70e44324]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x10]
ror edx, 2
mov ebp, esi
or ebp, edi
and ebp, edx
mov dword [esp + 0x10], edx
mov edx, esi
and edx, edi
or ebp, edx
mov dword [esp + eax*4 + 0x2c], 0
add ebp, dword [esp + eax*4 + 0x30]
mov ebx, ecx
add ebp, dword [esp + 0x14]
rol ebx, 5
mov dword [esp + eax*4 + 0x30], 0
ror edi, 2
add eax, 5
cmp eax, 0x3c
lea edx, [ebx + ebp - 0x70e44324]
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x18], edi
jl 0x41c6e6
xor ebx, edi
xor ebx, ecx
add ebx, dword [esp + eax*4 + 0x20]
mov ebp, edx
rol ebp, 5
add ebx, esi
lea esi, [ebx + ebp - 0x359d3e2a]
ror ecx, 2
mov dword [esp + eax*4 + 0x20], 0
mov ebp, edi
xor ebp, ecx
xor ebp, edx
add ebp, dword [esp + eax*4 + 0x24]
mov ebx, esi
add ebp, dword [esp + 0x10]
rol ebx, 5
lea ebx, [ebx + ebp - 0x359d3e2a]
ror edx, 2
mov dword [esp + 0x14], edx
mov ebp, esi
xor ebp, ecx
xor ebp, dword [esp + 0x14]
mov dword [esp + eax*4 + 0x24], 0
add ebp, dword [esp + eax*4 + 0x28]
mov edx, ebx
add ebp, edi
rol edx, 5
lea edi, [edx + ebp - 0x359d3e2a]
ror esi, 2
mov ebp, esi
xor ebp, ebx
xor ebp, dword [esp + 0x14]
mov dword [esp + eax*4 + 0x28], 0
add ebp, dword [esp + eax*4 + 0x2c]
mov edx, edi
add ebp, ecx
rol edx, 5
lea ecx, [edx + ebp - 0x359d3e2a]
ror ebx, 2
mov ebp, esi
xor ebp, ebx
xor ebp, edi
mov dword [esp + eax*4 + 0x2c], 0
add ebp, dword [esp + eax*4 + 0x30]
mov edx, ecx
add ebp, dword [esp + 0x14]
rol edx, 5
mov dword [esp + eax*4 + 0x30], 0
add eax, 5
ror edi, 2
cmp eax, 0x50
mov dword [esp + 0x10], ebx
lea edx, [edx + ebp - 0x359d3e2a]
jl 0x41c7e7
mov eax, dword [esp + 0x164]
mov ebp, dword [eax]
add edx, ebp
mov dword [eax], edx
mov edx, dword [eax + 4]
add edx, ecx
mov ecx, dword [eax + 8]
add ecx, edi
mov dword [eax + 8], ecx
mov ecx, dword [eax + 0xc]
add ecx, ebx
mov dword [eax + 0xc], ecx
mov ecx, dword [eax + 0x10]
pop edi
add ecx, esi
pop esi
pop ebp
mov dword [eax + 4], edx
mov dword [eax + 0x10], ecx
pop ebx
add esp, 0x150
ret