Function at 0x10087550
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov ecx, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [ecx]
mov eax, edi
shl eax, 5
add eax, ecx
mov ecx, dword [ebp + 0x10]
mov edx, dword [eax + 0x14]
xor edx, dword [ecx + 4]
mov ebx, dword [eax + 0x10]
xor ebx, dword [ecx]
mov dword [ebp + 8], edx
mov dword [ebp - 0x20], edx
mov edx, dword [eax + 0x18]
xor edx, dword [ecx + 8]
mov dword [ebp + 0x10], edx
mov dword [ebp - 0x1c], edx
mov edx, dword [eax + 0x1c]
sub eax, 0x10
xor edx, dword [ecx + 0xc]
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], edx
movzx edx, dh
movzx ecx, bl
mov dword [ebp - 0x24], ebx
mov ecx, dword [ecx*4 + 0x1025aa88]
xor ecx, dword [edx*4 + 0x1025ae88]
mov dword [ebp - 4], ecx
movzx ecx, byte [ebp - 0x1a]
mov edx, dword [ebp - 4]
xor edx, dword [ecx*4 + 0x1025b288]
movzx ecx, byte [ebp - 0x1d]
xor edx, dword [ecx*4 + 0x1025b688]
xor edx, dword [eax + 0x10]
mov ecx, dword [ebp + 8]
movzx ecx, cl
mov dword [ebp - 4], edx
movzx edx, bh
mov ebx, dword [ecx*4 + 0x1025aa88]
movzx ecx, byte [ebp - 0x16]
xor ebx, dword [edx*4 + 0x1025ae88]
mov edx, dword [ebp + 8]
movzx edx, dh
xor ebx, dword [ecx*4 + 0x1025b288]
movzx ecx, byte [ebp - 0x19]
xor ebx, dword [ecx*4 + 0x1025b688]
xor ebx, dword [eax + 0x14]
mov dword [ebp - 8], ebx
mov ebx, dword [ebp + 0x10]
movzx ecx, bl
mov ecx, dword [ecx*4 + 0x1025aa88]
xor ecx, dword [edx*4 + 0x1025ae88]
mov dword [ebp + 8], ecx
movzx ecx, byte [ebp - 0x22]
mov edx, dword [ebp + 8]
xor edx, dword [ecx*4 + 0x1025b288]
movzx ecx, byte [ebp - 0x15]
xor edx, dword [ecx*4 + 0x1025b688]
xor edx, dword [eax + 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [ebp + 8], edx
movzx ecx, cl
movzx edx, bh
mov ecx, dword [ecx*4 + 0x1025aa88]
xor ecx, dword [edx*4 + 0x1025ae88]
mov dword [ebp + 0x10], ecx
movzx ecx, byte [ebp - 0x1e]
mov edx, dword [ebp + 0x10]
xor edx, dword [ecx*4 + 0x1025b288]
movzx ecx, byte [ebp - 0x21]
xor edx, dword [ecx*4 + 0x1025b688]
xor edx, dword [eax + 0x1c]
mov dword [ebp + 0x10], edx
sub edi, 1
je 0x10087894
nop
mov ecx, edx
shr ecx, 8
movzx edx, cl
mov ecx, dword [ebp + 8]
shr ecx, 0x10
movzx ecx, cl
mov edx, dword [edx*4 + 0x1025ae88]
xor edx, dword [ecx*4 + 0x1025b288]
mov ecx, dword [ebp - 8]
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x1025b688]
mov ecx, dword [ebp - 4]
movzx ecx, cl
xor edx, dword [ecx*4 + 0x1025aa88]
xor edx, dword [eax]
mov ecx, dword [ebp + 0x10]
shr ecx, 0x10
movzx ecx, cl
mov dword [ebp - 0x10], edx
mov edx, dword [ebp + 8]
shr edx, 0x18
mov ebx, dword [ecx*4 + 0x1025b288]
mov ecx, dword [ebp - 4]
shr ecx, 8
xor ebx, dword [edx*4 + 0x1025b688]
movzx ecx, cl
mov edx, dword [ebp + 0x10]
shr edx, 0x18
xor ebx, dword [ecx*4 + 0x1025ae88]
mov ecx, dword [ebp - 8]
movzx ecx, cl
mov edx, dword [edx*4 + 0x1025b688]
xor ebx, dword [ecx*4 + 0x1025aa88]
xor ebx, dword [eax + 4]
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 8]
mov ecx, ebx
shr ecx, 8
movzx ecx, cl
shr ebx, 0x10
xor edx, dword [ecx*4 + 0x1025ae88]
mov ecx, dword [ebp - 4]
shr ecx, 0x10
movzx ecx, cl
xor edx, dword [ecx*4 + 0x1025b288]
mov ecx, dword [ebp + 8]
movzx ecx, cl
xor edx, dword [ecx*4 + 0x1025aa88]
xor edx, dword [eax + 8]
mov ecx, dword [ebp + 8]
shr ecx, 8
mov dword [ebp - 0x14], edx
movzx edx, cl
movzx ecx, bl
mov ebx, dword [edx*4 + 0x1025ae88]
xor ebx, dword [ecx*4 + 0x1025b288]
mov ecx, dword [ebp - 4]
shr ecx, 0x18
xor ebx, dword [ecx*4 + 0x1025b688]
mov ecx, dword [ebp + 0x10]
movzx ecx, cl
xor ebx, dword [ecx*4 + 0x1025aa88]
xor ebx, dword [eax + 0xc]
sub eax, 0x20
mov ecx, ebx
sar ecx, 8
movzx edx, cl
mov ecx, dword [ebp - 0x14]
sar ecx, 0x10
movzx ecx, cl
mov edx, dword [edx*4 + 0x1025ae88]
xor edx, dword [ecx*4 + 0x1025b288]
mov ecx, dword [ebp - 0xc]
sar ecx, 0x18
movzx ecx, cl
xor edx, dword [ecx*4 + 0x1025b688]
mov ecx, dword [ebp - 0x10]
movzx ecx, cl
xor edx, dword [ecx*4 + 0x1025aa88]
xor edx, dword [eax + 0x10]
mov dword [ebp - 4], edx
mov ecx, ebx
sar ecx, 0x10
movzx edx, cl
mov ecx, dword [ebp - 0x14]
sar ecx, 0x18
movzx ecx, cl
mov edx, dword [edx*4 + 0x1025b288]
xor edx, dword [ecx*4 + 0x1025b688]
mov ecx, dword [ebp - 0x10]
sar ecx, 8
movzx ecx, cl
xor edx, dword [ecx*4 + 0x1025ae88]
mov ecx, dword [ebp - 0xc]
movzx ecx, cl
xor edx, dword [ecx*4 + 0x1025aa88]
mov ecx, ebx
xor edx, dword [eax + 0x14]
sar ecx, 0x18
mov dword [ebp - 8], edx
movzx edx, cl
mov ecx, dword [ebp - 0xc]
sar ecx, 8
movzx ecx, cl
mov edx, dword [edx*4 + 0x1025b688]
xor edx, dword [ecx*4 + 0x1025ae88]
mov ecx, dword [ebp - 0x10]
sar ecx, 0x10
movzx ecx, cl
xor edx, dword [ecx*4 + 0x1025b288]
mov dword [ebp + 8], edx
mov edx, dword [ebp - 0x14]
mov esi, dword [ebp + 8]
movzx ecx, dl
sar edx, 8
movzx edx, dl
xor esi, dword [ecx*4 + 0x1025aa88]
mov ecx, esi
mov dword [ebp + 8], esi
xor ecx, dword [eax + 0x18]
mov edx, dword [edx*4 + 0x1025ae88]
mov dword [ebp + 8], ecx
mov ecx, dword [ebp - 0xc]
sar ecx, 0x10
movzx ecx, cl
xor edx, dword [ecx*4 + 0x1025b288]
mov ecx, dword [ebp - 0x10]
sar ecx, 0x18
movzx ecx, cl
xor edx, dword [ecx*4 + 0x1025b688]
movzx ecx, bl
xor edx, dword [ecx*4 + 0x1025aa88]
xor edx, dword [eax + 0x1c]
mov dword [ebp + 0x10], edx
sub edi, 1
jne 0x10087680
mov ecx, dword [ebp - 8]
shr ecx, 0x18
mov ebx, dword [ebp - 4]
mov esi, dword [ebp + 0xc]
movzx edx, byte [ecx + 0x1025ba88]
mov ecx, dword [ebp + 8]
shr ecx, 0x10
movzx ecx, cl
shl edx, 8
movzx ecx, byte [ecx + 0x1025ba88]
or edx, ecx
mov ecx, dword [ebp + 0x10]
shr ecx, 8
movzx ecx, cl
shl edx, 8
movzx ecx, byte [ecx + 0x1025ba88]
or edx, ecx
movzx ecx, bl
shl edx, 8
movzx ecx, byte [ecx + 0x1025ba88]
or edx, ecx
mov ecx, dword [ebp + 8]
xor edx, dword [eax]
shr ecx, 0x18
mov dword [esi], edx
movzx edx, byte [ecx + 0x1025ba88]
mov ecx, dword [ebp + 0x10]
shr ecx, 0x10
movzx ecx, cl
shl edx, 8
movzx ecx, byte [ecx + 0x1025ba88]
or edx, ecx
mov ecx, ebx
shr ecx, 8
movzx ecx, cl
shl edx, 8
movzx ecx, byte [ecx + 0x1025ba88]
or edx, ecx
mov ecx, dword [ebp - 8]
movzx ecx, cl
shl edx, 8
movzx ecx, byte [ecx + 0x1025ba88]
or edx, ecx
mov ecx, dword [ebp + 0x10]
xor edx, dword [eax + 4]
shr ecx, 0x18
mov dword [esi + 4], edx
movzx edx, byte [ecx + 0x1025ba88]
mov ecx, ebx
shr ecx, 0x10
movzx ecx, cl
shl edx, 8
shr ebx, 0x18
movzx ecx, byte [ecx + 0x1025ba88]
or edx, ecx
mov ecx, dword [ebp - 8]
shr ecx, 8
movzx ecx, cl
shl edx, 8
movzx ecx, byte [ecx + 0x1025ba88]
or edx, ecx
mov ecx, dword [ebp + 8]
movzx ecx, cl
shl edx, 8
movzx ecx, byte [ecx + 0x1025ba88]
or edx, ecx
mov ecx, dword [ebp - 8]
xor edx, dword [eax + 8]
shr ecx, 0x10
movzx ecx, cl
mov dword [esi + 8], edx
movzx edx, byte [ebx + 0x1025ba88]
shl edx, 8
movzx ecx, byte [ecx + 0x1025ba88]
or edx, ecx
mov ecx, dword [ebp + 8]
shr ecx, 8
movzx ecx, cl
shl edx, 8
movzx ecx, byte [ecx + 0x1025ba88]
or edx, ecx
mov ecx, dword [ebp + 0x10]
movzx ecx, cl
shl edx, 8
pop edi
movzx ecx, byte [ecx + 0x1025ba88]
or edx, ecx
xor edx, dword [eax + 0xc]
mov dword [esi + 0xc], edx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret