Function at 0x4187a0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffffd8
mov dword [esp + 4], edx
mov dword [esp], eax
mov dword [esp + 0x24], 0x4b6254
mov dword [esp + 0x20], 0x4b6054
mov eax, dword [esp]
mov ebx, dword [eax + 0x98]
mov eax, dword [esp]
mov eax, dword [eax + 0x9c]
mov dword [esp + 8], eax
mov eax, dword [esp]
mov edx, dword [eax + 0xa0]
mov eax, dword [esp]
mov eax, dword [eax + 0xa4]
mov dword [esp + 0xc], eax
mov eax, dword [esp]
mov eax, dword [eax + 0xa8]
mov ecx, dword [esp]
mov ecx, dword [ecx + 0xac]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp]
mov ecx, dword [ecx + 0xb0]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp]
mov ecx, dword [ecx + 0xb4]
mov dword [esp + 0x18], ecx
xor ecx, ecx
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0xc]
xor ecx, eax
and ecx, edx
mov esi, dword [esp + 0x14]
and esi, ebx
xor ecx, esi
mov esi, dword [esp + 0x10]
and esi, dword [esp + 8]
xor ecx, esi
xor ecx, eax
mov esi, ecx
shr esi, 7
shl ecx, 0x19
or esi, ecx
mov ecx, dword [esp + 0x18]
shr ecx, 0xb
mov edi, dword [esp + 0x18]
shl edi, 0x15
or ecx, edi
add esi, ecx
mov ecx, dword [esp + 4]
mov edi, dword [esp + 0x1c]
add esi, dword [ecx + edi*4]
mov ecx, esi
mov esi, dword [esp + 0x14]
mov dword [esp + 0x18], esi
mov esi, dword [esp + 0x10]
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 8]
mov dword [esp + 8], ebx
mov ebx, ecx
inc dword [esp + 0x1c]
cmp dword [esp + 0x1c], 0x20
jne 0x41881f
mov dword [esp + 0x1c], 0x20
mov ecx, ebx
not ecx
and ecx, dword [esp + 0xc]
mov esi, dword [esp + 8]
and esi, edx
xor ecx, esi
xor ecx, eax
xor ecx, dword [esp + 0x14]
and ecx, dword [esp + 0x10]
mov esi, dword [esp + 0xc]
xor esi, edx
and esi, dword [esp + 8]
xor ecx, esi
mov esi, edx
and esi, ebx
xor ecx, esi
xor ecx, dword [esp + 0x14]
mov esi, ecx
shr esi, 7
shl ecx, 0x19
or esi, ecx
mov ecx, dword [esp + 0x18]
shr ecx, 0xb
mov edi, dword [esp + 0x18]
shl edi, 0x15
or ecx, edi
add esi, ecx
mov ecx, dword [esp + 0x24]
movzx ecx, byte [ecx]
mov edi, dword [esp + 4]
add esi, dword [edi + ecx*4]
mov ecx, dword [esp + 0x20]
add esi, dword [ecx]
mov ecx, esi
inc dword [esp + 0x24]
add dword [esp + 0x20], 4
mov esi, dword [esp + 0x14]
mov dword [esp + 0x18], esi
mov esi, dword [esp + 0x10]
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 8]
mov dword [esp + 8], ebx
mov ebx, ecx
dec dword [esp + 0x1c]
jne 0x41889d
mov dword [esp + 0x1c], 0x20
mov ecx, dword [esp + 0x10]
and ecx, eax
xor ecx, dword [esp + 0x14]
xor ecx, ebx
and ecx, dword [esp + 0xc]
mov esi, dword [esp + 0x10]
and esi, edx
xor ecx, esi
mov esi, dword [esp + 8]
and esi, eax
xor ecx, esi
xor ecx, ebx
mov esi, ecx
shr esi, 7
shl ecx, 0x19
or esi, ecx
mov ecx, dword [esp + 0x18]
shr ecx, 0xb
mov edi, dword [esp + 0x18]
shl edi, 0x15
or ecx, edi
add esi, ecx
mov ecx, dword [esp + 0x24]
movzx ecx, byte [ecx]
mov edi, dword [esp + 4]
add esi, dword [edi + ecx*4]
mov ecx, dword [esp + 0x20]
add esi, dword [ecx]
mov ecx, esi
inc dword [esp + 0x24]
add dword [esp + 0x20], 4
mov esi, dword [esp + 0x14]
mov dword [esp + 0x18], esi
mov esi, dword [esp + 0x10]
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 8]
mov dword [esp + 8], ebx
mov ebx, ecx
dec dword [esp + 0x1c]
jne 0x418940
mov ecx, dword [esp]
add dword [ecx + 0x98], ebx
mov ecx, dword [esp]
mov ebx, dword [esp + 8]
add dword [ecx + 0x9c], ebx
mov ecx, dword [esp]
add dword [ecx + 0xa0], edx
mov edx, dword [esp]
mov ecx, dword [esp + 0xc]
add dword [edx + 0xa4], ecx
mov edx, dword [esp]
add dword [edx + 0xa8], eax
mov eax, dword [esp]
mov edx, dword [esp + 0x10]
add dword [eax + 0xac], edx
mov eax, dword [esp]
mov edx, dword [esp + 0x14]
add dword [eax + 0xb0], edx
mov eax, dword [esp]
mov edx, dword [esp + 0x18]
add dword [eax + 0xb4], edx
add esp, 0x28
pop edi
pop esi
pop ebx
ret