Function at 0x100025f2
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x1c
movzx eax, byte [edx + 2]
push ebx
movzx ebx, byte [edx + 3]
shl ebx, 8
or ebx, eax
movzx eax, byte [edx + 1]
shl ebx, 8
or ebx, eax
movzx eax, byte [edx]
push ebp
push esi
mov esi, dword [ecx + 4]
mov ebp, 0xff
push edi
movzx edi, byte [edx + 7]
shl edi, 8
shl ebx, 8
or ebx, eax
movzx eax, byte [edx + 6]
or edi, eax
xor ebx, dword [esi]
movzx eax, byte [edx + 5]
shl edi, 8
or edi, eax
mov dword [esp + 0x18], ebx
movzx eax, byte [edx + 4]
shl edi, 8
or edi, eax
movzx eax, byte [edx + 0xb]
xor edi, dword [esi + 4]
add esi, 8
shl eax, 8
mov dword [esp + 0x10], eax
movzx eax, byte [edx + 0xa]
or dword [esp + 0x10], eax
shl dword [esp + 0x10], 8
movzx eax, byte [edx + 9]
or dword [esp + 0x10], eax
movzx eax, byte [edx + 8]
shl dword [esp + 0x10], 8
or dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
xor eax, dword [esi]
mov dword [esp + 0x10], eax
movzx eax, byte [edx + 0xf]
shl eax, 8
mov dword [esp + 0x14], eax
movzx eax, byte [edx + 0xe]
or dword [esp + 0x14], eax
shl dword [esp + 0x14], 8
movzx eax, byte [edx + 0xd]
or dword [esp + 0x14], eax
shl dword [esp + 0x14], 8
movzx eax, byte [edx + 0xc]
mov edx, dword [esp + 0x14]
push 4
mov dword [esp + 0x28], edi
or edx, eax
mov eax, dword [ecx]
pop edi
add esi, edi
sar eax, 1
xor edx, dword [esi]
add esi, edi
dec eax
mov dword [esp + 0x14], edx
mov dword [esp + 0x28], eax
test eax, eax
jle 0x100028f6
mov edx, dword [esp + 0x24]
mov eax, edx
mov ecx, dword [esp + 0x10]
shr eax, 8
and eax, ebp
shr ecx, 0x10
and ecx, ebp
mov ebp, dword [esp + 0x14]
push 4
pop edi
mov ecx, dword [ecx*4 + 0x51ba90]
xor ecx, dword [eax*4 + 0x51b690]
mov eax, ebp
shr eax, 0x18
xor ecx, dword [eax*4 + 0x51be90]
movzx eax, bl
xor ecx, dword [eax*4 + 0x51b290]
xor ecx, dword [esi]
add esi, 4
mov eax, dword [esp + 0x10]
mov dword [esp + 0x1c], ecx
mov ecx, ebp
shr eax, 8
and eax, 0xff
shr ecx, 0x10
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x51ba90]
xor ecx, dword [eax*4 + 0x51b690]
mov eax, ebx
shr eax, 0x18
xor ecx, dword [eax*4 + 0x51be90]
movzx eax, dl
xor ecx, dword [eax*4 + 0x51b290]
mov eax, ebx
xor ecx, dword [esi]
add esi, edi
mov dword [esp + 0x20], ecx
mov ecx, ebp
shr eax, 0x10
mov ebp, 0xff
and eax, ebp
shr ecx, 8
and ecx, ebp
mov ebx, dword [ecx*4 + 0x51b690]
xor ebx, dword [eax*4 + 0x51ba90]
mov eax, edx
mov ecx, dword [esp + 0x18]
shr eax, 0x18
shr edx, 0x10
shr ecx, 8
and edx, ebp
and ecx, ebp
xor ebx, dword [eax*4 + 0x51be90]
mov eax, dword [esp + 0x10]
mov edx, dword [edx*4 + 0x51ba90]
xor edx, dword [ecx*4 + 0x51b690]
movzx eax, al
xor ebx, dword [eax*4 + 0x51b290]
mov eax, dword [esp + 0x10]
xor ebx, dword [esi]
add esi, edi
shr eax, 0x18
mov ecx, ebx
shr ecx, 0x10
and ecx, ebp
xor edx, dword [eax*4 + 0x51be90]
mov eax, dword [esp + 0x14]
mov ecx, dword [ecx*4 + 0x51ba90]
movzx eax, al
xor edx, dword [eax*4 + 0x51b290]
mov eax, dword [esp + 0x20]
xor edx, dword [esi]
add esi, edi
shr eax, 8
and eax, ebp
xor ecx, dword [eax*4 + 0x51b690]
mov eax, edx
shr eax, 0x18
xor ecx, dword [eax*4 + 0x51be90]
mov eax, dword [esp + 0x1c]
movzx eax, al
xor ecx, dword [eax*4 + 0x51b290]
mov eax, ebx
xor ecx, dword [esi]
add esi, edi
mov dword [esp + 0x18], ecx
mov ecx, edx
shr ecx, 0x10
and ecx, ebp
shr eax, 8
and eax, ebp
push 4
mov ecx, dword [ecx*4 + 0x51ba90]
xor ecx, dword [eax*4 + 0x51b690]
mov eax, dword [esp + 0x20]
shr eax, 0x18
xor ecx, dword [eax*4 + 0x51be90]
mov eax, dword [esp + 0x24]
movzx eax, al
xor ecx, dword [eax*4 + 0x51b290]
xor ecx, dword [esi]
add esi, edi
mov eax, dword [esp + 0x20]
mov dword [esp + 0x28], ecx
mov ecx, edx
shr ecx, 8
shr eax, 0x10
and ecx, ebp
and eax, ebp
mov ecx, dword [ecx*4 + 0x51b690]
xor ecx, dword [eax*4 + 0x51ba90]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x24]
mov eax, ecx
mov edi, dword [esp + 0x14]
shr eax, 0x18
shr ecx, 0x10
and ecx, ebp
xor edi, dword [eax*4 + 0x51be90]
movzx eax, bl
mov ecx, dword [ecx*4 + 0x51ba90]
shr ebx, 0x18
xor edi, dword [eax*4 + 0x51b290]
mov eax, edi
mov dword [esp + 0x14], edi
xor eax, dword [esi]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x20]
shr eax, 8
and eax, ebp
pop edi
add esi, edi
xor ecx, dword [eax*4 + 0x51b690]
xor ecx, dword [ebx*4 + 0x51be90]
mov ebx, dword [esp + 0x18]
movzx eax, dl
xor ecx, dword [eax*4 + 0x51b290]
xor ecx, dword [esi]
add esi, edi
mov eax, dword [esp + 0x28]
dec eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x28], eax
test eax, eax
jg 0x100026d2
mov edx, dword [esp + 0x24]
mov eax, edx
mov ecx, dword [esp + 0x10]
shr eax, 8
and eax, ebp
shr ecx, 0x10
and ecx, ebp
mov ecx, dword [ecx*4 + 0x51ba90]
xor ecx, dword [eax*4 + 0x51b690]
mov eax, dword [esp + 0x14]
shr eax, 0x18
xor ecx, dword [eax*4 + 0x51be90]
movzx eax, bl
xor ecx, dword [eax*4 + 0x51b290]
xor ecx, dword [esi]
add esi, edi
mov eax, dword [esp + 0x10]
shr eax, 8
and eax, ebp
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x14]
shr ecx, 0x10
and ecx, ebp
mov ecx, dword [ecx*4 + 0x51ba90]
xor ecx, dword [eax*4 + 0x51b690]
mov eax, ebx
shr eax, 0x18
xor ecx, dword [eax*4 + 0x51be90]
movzx eax, dl
xor ecx, dword [eax*4 + 0x51b290]
mov eax, ebx
xor ecx, dword [esi]
add esi, edi
shr eax, 0x10
and eax, ebp
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x14]
shr ecx, 8
and ecx, ebp
mov ebx, dword [ecx*4 + 0x51b690]
xor ebx, dword [eax*4 + 0x51ba90]
mov eax, edx
mov ecx, dword [esp + 0x18]
shr eax, 0x18
shr edx, 0x10
and edx, ebp
shr ecx, 8
and ecx, ebp
xor ebx, dword [eax*4 + 0x51be90]
mov eax, dword [esp + 0x10]
mov edx, dword [edx*4 + 0x51ba90]
xor edx, dword [ecx*4 + 0x51b690]
movzx eax, al
xor ebx, dword [eax*4 + 0x51b290]
mov eax, dword [esp + 0x10]
xor ebx, dword [esi]
add esi, edi
shr eax, 0x18
mov dword [esp + 0x28], ebx
xor edx, dword [eax*4 + 0x51be90]
mov eax, dword [esp + 0x14]
movzx eax, al
xor edx, dword [eax*4 + 0x51b290]
mov eax, ebx
xor edx, dword [esi]
add esi, edi
shr eax, 0x10
and eax, ebp
mov dword [esp + 0x14], edx
movzx ecx, byte [eax + 0x51d2c0]
mov eax, edx
shr eax, 0x18
movzx eax, byte [eax + 0x51d2c0]
shl eax, 8
xor ecx, eax
mov eax, dword [esp + 0x1c]
shr eax, 8
and eax, ebp
shl ecx, 8
movzx eax, byte [eax + 0x51d2c0]
xor ecx, eax
mov eax, dword [esp + 0x20]
movzx eax, al
shl ecx, 8
movzx eax, byte [eax + 0x51d2c0]
xor ecx, eax
mov eax, edx
xor ecx, dword [esi]
add esi, edi
shr eax, 0x10
and eax, ebp
mov dword [esp + 0x24], ecx
movzx ecx, byte [eax + 0x51d2c0]
mov eax, dword [esp + 0x20]
shr eax, 0x18
movzx eax, byte [eax + 0x51d2c0]
shl eax, 8
xor ecx, eax
mov eax, ebx
shr eax, 8
and eax, ebp
shl ecx, 8
movzx eax, byte [eax + 0x51d2c0]
xor ecx, eax
mov eax, dword [esp + 0x1c]
movzx eax, al
shl ecx, 8
movzx eax, byte [eax + 0x51d2c0]
xor ecx, eax
mov eax, dword [esp + 0x20]
shr eax, 0x10
and eax, ebp
xor ecx, dword [esi]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x28]
movzx ebx, byte [eax + 0x51d2c0]
mov eax, dword [esp + 0x1c]
shr eax, 0x18
movzx eax, byte [eax + 0x51d2c0]
shl eax, 8
xor ebx, eax
mov eax, edx
shr eax, 8
and eax, ebp
shl ebx, 8
movzx eax, byte [eax + 0x51d2c0]
xor ebx, eax
movzx eax, cl
shl ebx, 8
shr ecx, 0x18
movzx eax, byte [eax + 0x51d2c0]
xor ebx, eax
mov eax, dword [esp + 0x1c]
shr eax, 0x10
and eax, ebp
xor ebx, dword [esi + edi]
movzx edx, byte [eax + 0x51d2c0]
movzx eax, byte [ecx + 0x51d2c0]
shl eax, 8
xor edx, eax
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x20]
shr eax, 8
and eax, ebp
shl edx, 8
movzx eax, byte [eax + 0x51d2c0]
xor edx, eax
mov eax, dword [esp + 0x14]
movzx eax, al
shl edx, 8
movzx eax, byte [eax + 0x51d2c0]
xor edx, eax
mov eax, dword [esp + 0x24]
xor edx, dword [esi + edi + 4]
mov byte [ecx], al
shr eax, 8
mov byte [ecx + 1], al
mov eax, dword [esp + 0x24]
shr eax, 0x10
mov byte [ecx + 2], al
mov eax, dword [esp + 0x24]
shr eax, 0x18
mov byte [ecx + 3], al
mov eax, dword [esp + 0x18]
mov byte [ecx + 4], al
shr eax, 8
mov byte [ecx + 5], al
mov eax, dword [esp + 0x18]
shr eax, 0x10
mov byte [ecx + 6], al
mov eax, dword [esp + 0x18]
shr eax, 0x18
mov byte [ecx + 7], al
mov eax, ebx
shr eax, 8
mov byte [ecx + 9], al
mov eax, ebx
shr eax, 0x10
mov byte [ecx + 0xa], al
mov eax, edx
shr eax, 8
pop edi
mov byte [ecx + 0xd], al
mov eax, edx
mov byte [ecx + 8], bl
shr ebx, 0x18
pop esi
shr eax, 0x10
mov byte [ecx + 0xc], dl
shr edx, 0x18
pop ebp
mov byte [ecx + 0xb], bl
mov byte [ecx + 0xe], al
mov byte [ecx + 0xf], dl
pop ebx
add esp, 0x1c
ret