Function at 0x150212c0
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 0x150212d2
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 0x15021360
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]
rol edx, 0x1e
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]
rol esi, 0x1e
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]
rol edi, 0x1e
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]
rol ebx, 0x1e
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
rol ecx, 0x1e
cmp eax, 0x14
lea esi, [ebx + esi + 0x5a827999]
mov dword [esp + 0x18], ecx
jl 0x15021394
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]
rol edx, 0x1e
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]
rol esi, 0x1e
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]
rol edi, 0x1e
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]
rol ebx, 0x1e
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
rol ecx, 0x1e
cmp eax, 0x28
mov dword [esp + 0x10], ebx
lea esi, [esi + ebp + 0x6ed9eba1]
jl 0x150214a0
mov dword [esp + 0x18], ecx
or ecx, edx
and ecx, ebx
mov ebx, dword [esp + 0x18]
and ebx, edx
or ecx, ebx
add ecx, dword [esp + eax*4 + 0x24]
mov ebp, esi
rol ebp, 5
add ecx, edi
lea edi, [ecx + ebp - 0x70e44324]
rol edx, 0x1e
mov ebx, edx
or ebx, esi
and ebx, dword [esp + 0x18]
mov dword [esp + eax*4 + 0x24], 0
mov ebp, edx
and ebp, esi
or ebx, ebp
add ebx, dword [esp + eax*4 + 0x28]
mov ecx, edi
add ebx, dword [esp + 0x10]
rol ecx, 5
lea ecx, [ebx + ecx - 0x70e44324]
rol esi, 0x1e
mov ebx, edi
or ebx, esi
and ebx, edx
mov dword [esp + eax*4 + 0x28], 0
mov ebp, edi
and ebp, esi
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]
rol edi, 0x1e
mov dword [esp + 0x18], ecx
mov ebx, ecx
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x14], esi
mov ebp, edi
or ebp, ecx
and ebp, esi
mov esi, edi
and esi, ecx
or ebp, esi
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]
rol ecx, 0x1e
mov esi, ecx
mov ecx, dword [esp + 0x18]
mov ebp, esi
or ebp, ecx
and ebp, edi
mov dword [esp + 0x10], esi
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
rol ecx, 0x1e
add eax, 5
cmp eax, 0x3c
lea esi, [ebx + ebp - 0x70e44324]
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x18], ecx
jl 0x15021571
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 0x15021670
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