Function at 0x4422b0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x154
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov dword [esp + 0x1c], edi
xor eax, eax
xor ecx, ecx
mov ch, byte [edx]
movzx esi, byte [edx + 2]
add eax, 4
add edx, 0x10
mov cl, byte [edx - 0xf]
shl ecx, 8
or ecx, esi
movzx esi, byte [edx - 0xd]
shl ecx, 8
or ecx, esi
mov dword [esp + eax*4 + 0x14], ecx
xor ecx, ecx
mov ch, byte [edx - 0xc]
movzx esi, byte [edx - 0xa]
mov cl, byte [edx - 0xb]
shl ecx, 8
or ecx, esi
movzx esi, byte [edx - 9]
shl ecx, 8
or ecx, esi
movzx esi, byte [edx - 6]
mov dword [esp + eax*4 + 0x18], ecx
xor ecx, ecx
mov ch, byte [edx - 8]
mov cl, byte [edx - 7]
shl ecx, 8
or ecx, esi
movzx esi, byte [edx - 5]
shl ecx, 8
or ecx, esi
movzx esi, byte [edx - 2]
mov dword [esp + eax*4 + 0x1c], ecx
xor ecx, ecx
mov ch, byte [edx - 4]
mov cl, byte [edx - 3]
shl ecx, 8
or ecx, esi
movzx esi, byte [edx - 1]
shl ecx, 8
or ecx, esi
cmp eax, 0x10
mov dword [esp + eax*4 + 0x20], ecx
jl 0x4422c2
lea edx, [esp + eax*4 - 0x14]
lea esp, [esp]
mov ecx, dword [edx + 0x2c]
xor ecx, dword [edx + 0x18]
add eax, 1
xor ecx, dword [edx - 8]
add edx, 4
xor ecx, dword [edx - 4]
rol ecx, 1
cmp eax, 0x50
mov dword [edx + 0x34], ecx
jl 0x442350
mov eax, dword [edi + 8]
mov esi, dword [edi]
mov edx, dword [edi + 4]
mov dword [esp + 0x18], eax
mov eax, dword [edi + 0xc]
mov edi, dword [edi + 0x10]
mov dword [esp + 0x10], eax
xor eax, eax
mov ebp, dword [esp + 0x18]
and ebp, edx
mov ecx, esi
rol ecx, 5
mov ebx, edx
not ebx
and ebx, dword [esp + 0x10]
add eax, 5
or ebx, ebp
add ecx, ebx
add ecx, dword [esp + eax*4 + 0x10]
ror edx, 2
mov ebx, esi
lea edi, [edi + ecx + 0x5a827999]
mov ebp, edx
and ebp, esi
not ebx
and ebx, dword [esp + 0x18]
mov dword [esp + eax*4 + 0x10], 0
or ebx, ebp
mov ecx, edi
rol ecx, 5
add ecx, ebx
add ecx, dword [esp + eax*4 + 0x14]
mov ebx, dword [esp + 0x10]
ror esi, 2
mov dword [esp + 0x14], esi
mov dword [esp + 0x20], edx
lea ebx, [ebx + ecx + 0x5a827999]
mov esi, edi
not esi
and esi, edx
mov edx, edi
and edx, dword [esp + 0x14]
mov ecx, ebx
or esi, edx
mov edx, dword [esp + 0x18]
rol ecx, 5
add ecx, esi
mov dword [esp + eax*4 + 0x14], 0
add ecx, dword [esp + eax*4 + 0x18]
ror edi, 2
lea ecx, [edx + ecx + 0x5a827999]
mov esi, ebx
not esi
and esi, dword [esp + 0x14]
mov ebp, edi
and ebp, ebx
or esi, ebp
mov edx, ecx
rol edx, 5
add edx, esi
mov esi, dword [esp + 0x20]
mov dword [esp + eax*4 + 0x18], 0
add edx, dword [esp + eax*4 + 0x1c]
ror ebx, 2
lea edx, [esi + edx + 0x5a827999]
mov ebp, ecx
not ebp
mov dword [esp + 0x10], ebx
and ebx, ecx
and ebp, edi
or ebp, ebx
mov ebx, dword [esp + 0x14]
mov esi, edx
rol esi, 5
add esi, ebp
mov dword [esp + eax*4 + 0x1c], 0
add esi, dword [esp + eax*4 + 0x20]
mov dword [esp + eax*4 + 0x20], 0
ror ecx, 2
cmp eax, 0x14
lea esi, [ebx + esi + 0x5a827999]
mov dword [esp + 0x18], ecx
jl 0x442384
mov ebx, dword [esp + 0x10]
lea esp, [esp]
xor ebx, ecx
mov ebp, esi
rol ebp, 5
xor ebx, edx
add ebp, ebx
add ebp, dword [esp + eax*4 + 0x24]
ror edx, 2
lea edi, [edi + ebp + 0x6ed9eba1]
mov ebp, ecx
xor ebp, edx
xor ebp, esi
mov dword [esp + eax*4 + 0x24], 0
mov ebx, edi
rol ebx, 5
add ebx, ebp
add ebx, dword [esp + eax*4 + 0x28]
mov ebp, dword [esp + 0x10]
ror esi, 2
mov dword [esp + 0x14], esi
lea ebx, [ebx + ebp + 0x6ed9eba1]
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]
ror edi, 2
lea ecx, [ecx + esi + 0x6ed9eba1]
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]
ror ebx, 2
lea edx, [edx + esi + 0x6ed9eba1]
mov ebp, edi
xor ebp, ebx
xor ebp, ecx
mov esi, edx
rol esi, 5
add esi, ebp
mov ebp, dword [esp + 0x14]
mov dword [esp + eax*4 + 0x30], 0
add esi, dword [esp + eax*4 + 0x34]
mov dword [esp + eax*4 + 0x34], 0
add eax, 5
ror ecx, 2
cmp eax, 0x28
mov dword [esp + 0x10], ebx
lea esi, [esi + ebp + 0x6ed9eba1]
jl 0x442490
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]
ror edx, 2
mov ebp, ecx
or ebp, esi
and ebp, edx
and ecx, esi
or ebp, ecx
mov dword [esp + eax*4 + 0x24], 0
add ebp, dword [esp + eax*4 + 0x28]
mov ebx, edi
add ebp, dword [esp + 0x10]
rol ebx, 5
lea ecx, [ebx + ebp - 0x70e44324]
ror esi, 2
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]
mov dword [esp + 0x10], ecx
add ebx, dword [esp + 0x18]
rol ecx, 5
lea ecx, [ebx + ecx - 0x70e44324]
mov dword [esp + 0x18], ecx
mov ebx, ecx
mov ecx, dword [esp + 0x10]
ror edi, 2
mov ebp, ecx
or ebp, esi
and ebp, edi
and ecx, esi
or ebp, ecx
mov ecx, dword [esp + 0x10]
mov dword [esp + eax*4 + 0x2c], 0
add ebp, dword [esp + eax*4 + 0x30]
rol ebx, 5
add ebp, edx
lea edx, [ebx + ebp - 0x70e44324]
ror ecx, 2
mov dword [esp + 0x14], esi
mov esi, ecx
mov ecx, dword [esp + 0x18]
mov ebp, edi
or ebp, ecx
and ebp, esi
mov dword [esp + 0x10], 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 ebx, edx
add ebp, dword [esp + 0x14]
rol ebx, 5
mov dword [esp + eax*4 + 0x34], 0
ror ecx, 2
add eax, 5
cmp eax, 0x3c
lea esi, [ebx + ebp - 0x70e44324]
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x18], ecx
jl 0x442561
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]
ror edx, 2
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]
ror esi, 2
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]
ror edi, 2
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]
ror ebx, 2
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
ror ecx, 2
cmp eax, 0x50
mov dword [esp + 0x10], ebx
lea esi, [esi + ebp - 0x359d3e2a]
jl 0x442664
mov eax, dword [esp + 0x1c]
mov ebp, dword [eax]
add esi, ebp
mov dword [eax], 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
pop ebp
mov dword [eax + 8], edx
mov dword [eax + 0x10], ecx
pop ebx
add esp, 0x154
ret