Function at 0x417701
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
shl eax, 5
add esi, eax
mov eax, dword [ecx + 8]
mov ebx, dword [ecx + 4]
mov dword [ebp - 4], edx
xor eax, dword [esi + 8]
mov edx, dword [ecx + 0xc]
xor edx, dword [esi + 0xc]
xor ebx, dword [esi + 4]
mov dword [ebp - 0x1c], eax
push edi
mov edi, dword [ecx]
xor eax, eax
mov al, dh
xor ecx, ecx
mov cl, byte [ebp - 0x1a]
xor edi, dword [esi]
mov eax, dword [eax*4 + 0x421fa0]
mov dword [ebp - 0x20], ebx
xor eax, dword [ecx*4 + 0x4223a0]
mov ecx, ebx
shr ecx, 0x18
mov dword [ebp - 0x24], edi
sub esi, 0x20
xor eax, dword [ecx*4 + 0x4227a0]
mov ecx, edi
mov edi, 0xff
mov dword [ebp - 0x18], edx
and ecx, edi
xor eax, dword [ecx*4 + 0x421ba0]
xor ecx, ecx
mov cl, bh
xor ebx, ebx
mov bl, byte [ebp - 0x22]
xor eax, dword [esi + 0x10]
mov ecx, dword [ecx*4 + 0x421fa0]
xor ecx, dword [ebx*4 + 0x4223a0]
mov ebx, edx
shr ebx, 0x18
and edx, edi
mov dword [ebp - 0x14], eax
xor ecx, dword [ebx*4 + 0x4227a0]
mov ebx, dword [ebp - 0x1c]
and ebx, edi
xor ecx, dword [ebx*4 + 0x421ba0]
xor ebx, ebx
mov bl, byte [ebp - 0x1e]
xor ecx, dword [esi + 0x18]
mov dword [ebp - 0xc], ecx
xor ecx, ecx
mov cl, byte [ebp - 0x1b]
mov ecx, dword [ecx*4 + 0x421fa0]
xor ecx, dword [ebx*4 + 0x4223a0]
mov ebx, dword [ebp - 0x24]
shr ebx, 0x18
xor ecx, dword [ebx*4 + 0x4227a0]
xor ecx, dword [edx*4 + 0x421ba0]
xor edx, edx
mov dl, byte [ebp - 0x23]
xor ecx, dword [esi + 0x1c]
mov dword [ebp - 8], ecx
xor ecx, ecx
mov cl, byte [ebp - 0x16]
mov ecx, dword [ecx*4 + 0x4223a0]
xor ecx, dword [edx*4 + 0x421fa0]
mov edx, dword [ebp - 0x1c]
shr edx, 0x18
xor ecx, dword [edx*4 + 0x4227a0]
mov edx, dword [ebp - 0x20]
and edx, edi
xor ecx, dword [edx*4 + 0x421ba0]
mov edx, dword [ebp + 0xc]
xor ecx, dword [esi + 0x14]
dec edx
mov dword [ebp - 0x10], ecx
je 0x4179dc
mov dword [ebp + 0xc], edx
xor edx, edx
xor ebx, ebx
mov dl, byte [ebp - 7]
mov bl, byte [ebp - 0xa]
mov edx, dword [edx*4 + 0x421fa0]
xor edx, dword [ebx*4 + 0x4223a0]
mov ebx, ecx
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x4227a0]
mov ebx, eax
and ebx, edi
xor edx, dword [ebx*4 + 0x421ba0]
xor ebx, ebx
mov bl, byte [ebp - 0x12]
xor edx, dword [esi]
sub esi, 0x20
mov dword [ebp - 0x24], edx
xor edx, edx
mov dl, ch
mov ecx, dword [edx*4 + 0x421fa0]
mov edx, dword [ebp - 8]
xor ecx, dword [ebx*4 + 0x4223a0]
xor ebx, ebx
shr edx, 0x18
mov bl, byte [ebp - 0xb]
xor ecx, dword [edx*4 + 0x4227a0]
mov edx, dword [ebp - 0xc]
and edx, edi
xor ecx, dword [edx*4 + 0x421ba0]
xor ecx, dword [esi + 0x28]
mov dword [ebp - 0x1c], ecx
xor ecx, ecx
mov cl, byte [ebp - 0xe]
mov edx, dword [ecx*4 + 0x4223a0]
mov ecx, eax
xor edx, dword [ebx*4 + 0x421fa0]
xor ebx, ebx
shr ecx, 0x18
mov bl, ah
mov eax, dword [ebp - 0xc]
xor edx, dword [ecx*4 + 0x4227a0]
mov ecx, dword [ebp - 8]
and ecx, edi
shr eax, 0x18
xor edx, dword [ecx*4 + 0x421ba0]
xor ecx, ecx
mov cl, byte [ebp - 6]
xor edx, dword [esi + 0x2c]
mov ecx, dword [ecx*4 + 0x4223a0]
xor ecx, dword [ebx*4 + 0x421fa0]
xor ebx, ebx
mov bl, byte [ebp - 0x1a]
mov dword [ebp - 0x18], edx
xor ecx, dword [eax*4 + 0x4227a0]
mov eax, dword [ebp - 0x10]
and eax, edi
xor ecx, dword [eax*4 + 0x421ba0]
xor eax, eax
mov al, dh
xor ecx, dword [esi + 0x24]
mov eax, dword [eax*4 + 0x421fa0]
xor eax, dword [ebx*4 + 0x4223a0]
mov ebx, ecx
shr ebx, 0x18
mov dword [ebp - 0x20], ecx
xor eax, dword [ebx*4 + 0x4227a0]
mov ebx, dword [ebp - 0x24]
and ebx, edi
xor eax, dword [ebx*4 + 0x421ba0]
xor ebx, ebx
mov bl, ch
xor ecx, ecx
mov cl, byte [ebp - 0x22]
xor eax, dword [esi + 0x10]
mov ebx, dword [ebx*4 + 0x421fa0]
xor ebx, dword [ecx*4 + 0x4223a0]
mov ecx, edx
shr ecx, 0x18
mov dword [ebp - 0x14], eax
xor ebx, dword [ecx*4 + 0x4227a0]
mov ecx, dword [ebp - 0x1c]
and ecx, edi
and edx, edi
xor ebx, dword [ecx*4 + 0x421ba0]
xor ecx, ecx
mov cl, byte [ebp - 0x1b]
xor ebx, dword [esi + 0x18]
mov ecx, dword [ecx*4 + 0x421fa0]
mov dword [ebp - 0xc], ebx
xor ebx, ebx
mov bl, byte [ebp - 0x1e]
xor ecx, dword [ebx*4 + 0x4223a0]
mov ebx, dword [ebp - 0x24]
shr ebx, 0x18
xor ecx, dword [ebx*4 + 0x4227a0]
xor ecx, dword [edx*4 + 0x421ba0]
xor edx, edx
mov dl, byte [ebp - 0x23]
xor ecx, dword [esi + 0x1c]
mov dword [ebp - 8], ecx
xor ecx, ecx
mov cl, byte [ebp - 0x16]
mov ebx, dword [ecx*4 + 0x4223a0]
mov ecx, dword [ebp - 0x1c]
xor ebx, dword [edx*4 + 0x421fa0]
shr ecx, 0x18
xor ebx, dword [ecx*4 + 0x4227a0]
mov ecx, dword [ebp - 0x20]
and ecx, edi
xor ebx, dword [ecx*4 + 0x421ba0]
xor ebx, dword [esi + 0x14]
dec dword [ebp + 0xc]
mov ecx, ebx
mov dword [ebp - 0x10], ecx
jne 0x417823
xor edx, edx
xor ebx, ebx
mov dl, byte [ebp - 0xa]
shr ecx, 0x18
mov bl, byte [edx + 0x423ba0]
xor edx, edx
mov bh, byte [ecx + 0x423ba0]
xor ecx, ecx
mov cl, byte [ebp - 7]
mov dl, byte [ebp - 6]
shl ebx, 8
movzx ecx, byte [ecx + 0x423ba0]
or ebx, ecx
mov ecx, eax
and ecx, edi
shl ebx, 8
movzx ecx, byte [ecx + 0x423ba0]
or ebx, ecx
mov ecx, dword [ebp - 4]
xor ebx, dword [esi]
mov dword [ecx], ebx
xor ebx, ebx
mov bl, byte [edx + 0x423ba0]
mov edx, dword [ebp - 0xc]
shr edx, 0x18
mov bh, byte [edx + 0x423ba0]
xor edx, edx
mov dl, ah
shl ebx, 8
movzx edx, byte [edx + 0x423ba0]
or ebx, edx
mov edx, dword [ebp - 0x10]
and edx, edi
shl ebx, 8
movzx edx, byte [edx + 0x423ba0]
or ebx, edx
xor edx, edx
xor ebx, dword [esi + 4]
shr eax, 0x18
mov dword [ecx + 4], ebx
xor ecx, ecx
mov cl, byte [ebp - 0x12]
xor ebx, ebx
mov dl, byte [ecx + 0x423ba0]
mov ecx, dword [ebp - 8]
shr ecx, 0x18
mov dh, byte [ecx + 0x423ba0]
xor ecx, ecx
mov cl, byte [ebp - 0xf]
shl edx, 8
movzx ecx, byte [ecx + 0x423ba0]
or edx, ecx
mov ecx, dword [ebp - 0xc]
and ecx, edi
shl edx, 8
movzx ecx, byte [ecx + 0x423ba0]
or edx, ecx
mov ecx, dword [ebp - 4]
xor edx, dword [esi + 8]
mov dword [ecx + 8], edx
xor edx, edx
mov dl, byte [ebp - 0xe]
mov bl, byte [edx + 0x423ba0]
mov bh, byte [eax + 0x423ba0]
xor eax, eax
mov al, byte [ebp - 0xb]
shl ebx, 8
movzx eax, byte [eax + 0x423ba0]
or ebx, eax
mov eax, dword [ebp - 8]
and eax, edi
pop edi
shl ebx, 8
movzx eax, byte [eax + 0x423ba0]
or ebx, eax
xor ebx, dword [esi + 0xc]
pop esi
mov dword [ecx + 0xc], ebx
pop ebx
leave
ret 8