Function at 0x10180c70
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
push ebx
xor edx, edx
push ebp
push esi
mov esi, dword [esp + 0x1c]
mov dh, byte [esi + 0xb]
movzx eax, byte [esi + 9]
push edi
movzx edi, byte [esi + 0xd]
mov dl, byte [esi + 0xa]
mov dword [esp + 0x18], 8
shl edx, 8
or edx, eax
movzx eax, byte [esi + 8]
shl edx, 8
or edx, eax
xor eax, eax
mov ah, byte [esi + 0xf]
xor edx, dword [ecx + 0x10a0]
mov al, byte [esi + 0xe]
shl eax, 8
or eax, edi
movzx edi, byte [esi + 0xc]
shl eax, 8
or eax, edi
xor eax, dword [ecx + 0x10a4]
movzx edi, byte [esi + 1]
mov dword [esp + 0x10], eax
xor eax, eax
mov ah, byte [esi + 3]
mov al, byte [esi + 2]
shl eax, 8
or eax, edi
movzx edi, byte [esi]
shl eax, 8
or eax, edi
xor eax, dword [ecx + 0x1098]
movzx edi, byte [esi + 5]
mov dword [esp + 0x20], eax
xor eax, eax
mov ah, byte [esi + 7]
mov al, byte [esi + 6]
movzx esi, byte [esi + 4]
shl eax, 8
or eax, edi
shl eax, 8
or eax, esi
xor eax, dword [ecx + 0x109c]
lea edi, [ecx + 0x1118]
mov dword [esp + 0x14], eax
mov ebp, dword [esp + 0x20]
mov ebx, eax
shr ebx, 0x10
movzx esi, bl
mov esi, dword [ecx + esi*4 + 0xc88]
mov ebx, eax
shr ebx, 8
movzx ebx, bl
xor esi, dword [ecx + ebx*4 + 0x888]
mov ebx, eax
shr ebx, 0x18
xor esi, dword [ecx + ebx*4 + 0x88]
movzx eax, al
xor esi, dword [ecx + eax*4 + 0x488]
mov ebx, ebp
shr ebx, 0x10
movzx ebx, bl
mov eax, ebp
shr eax, 0x18
mov eax, dword [ecx + eax*4 + 0xc88]
xor eax, dword [ecx + ebx*4 + 0x888]
mov ebx, ebp
shr ebx, 8
movzx ebx, bl
xor eax, dword [ecx + ebx*4 + 0x488]
movzx ebx, byte [esp + 0x20]
xor eax, dword [ecx + ebx*4 + 0x88]
mov ebx, dword [edi + 8]
add eax, esi
add ebx, eax
rol edx, 1
xor edx, ebx
mov ebx, dword [edi + 0xc]
add ebx, eax
add ebx, esi
xor ebx, dword [esp + 0x10]
sub edi, 0x10
ror ebx, 1
mov eax, ebx
shr ebx, 0x10
movzx esi, bl
mov esi, dword [ecx + esi*4 + 0xc88]
mov ebx, eax
shr ebx, 8
movzx ebx, bl
xor esi, dword [ecx + ebx*4 + 0x888]
mov ebx, eax
shr ebx, 0x18
xor esi, dword [ecx + ebx*4 + 0x88]
mov dword [esp + 0x10], eax
movzx eax, al
xor esi, dword [ecx + eax*4 + 0x488]
mov ebx, edx
shr ebx, 0x10
movzx ebx, bl
mov eax, edx
shr eax, 0x18
mov eax, dword [ecx + eax*4 + 0xc88]
xor eax, dword [ecx + ebx*4 + 0x888]
mov ebx, edx
shr ebx, 8
movzx ebx, bl
xor eax, dword [ecx + ebx*4 + 0x488]
movzx ebx, dl
xor eax, dword [ecx + ebx*4 + 0x88]
mov ebx, ebp
mov ebp, dword [edi + 0x10]
add eax, esi
rol ebx, 1
add ebp, eax
xor ebx, ebp
mov dword [esp + 0x20], ebx
mov ebx, dword [edi + 0x14]
add ebx, eax
add ebx, esi
xor ebx, dword [esp + 0x14]
ror ebx, 1
sub dword [esp + 0x18], 1
mov eax, ebx
mov dword [esp + 0x14], eax
jne 0x10180d14
xor edx, dword [ecx + 0x1088]
xor eax, dword [ecx + 0x1094]
mov esi, dword [ecx + 0x108c]
mov ebx, dword [esp + 0x20]
xor ebx, dword [ecx + 0x1090]
xor dword [esp + 0x10], esi
mov esi, dword [esp + 0x24]
mov ecx, edx
shr ecx, 0x18
mov byte [esi + 3], cl
mov ecx, edx
shr ecx, 0x10
mov byte [esi + 2], cl
mov ecx, edx
shr ecx, 8
mov byte [esi], dl
mov byte [esi + 1], cl
mov ecx, dword [esp + 0x10]
mov edx, ecx
shr edx, 0x18
mov byte [esi + 7], dl
mov edx, ecx
shr edx, 0x10
mov byte [esi + 6], dl
mov edx, ecx
shr edx, 8
mov byte [esi + 4], cl
mov byte [esi + 5], dl
mov ecx, ebx
shr ecx, 0x18
mov byte [esi + 0xb], cl
mov edx, ebx
shr edx, 0x10
mov byte [esi + 0xa], dl
mov ecx, ebx
shr ecx, 8
mov edx, eax
shr edx, 0x18
mov byte [esi + 9], cl
mov byte [esi + 0xf], dl
mov ecx, eax
shr ecx, 0x10
mov edx, eax
pop edi
shr edx, 8
mov byte [esi + 8], bl
mov byte [esi + 0xe], cl
mov byte [esi + 0xd], dl
mov byte [esi + 0xc], al
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8