Function at 0x428520
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x44
mov ecx, dword [esp + 0x5c]
mov eax, dword [esp + 0x58]
mov edx, dword [eax + 4]
mov edi, dword [eax + edx*4 + 8]
mov esi, dword [eax + edx*4 + 0xc]
xor edi, dword [ecx]
mov dword [esp + 4], edi
xor esi, dword [ecx + 4]
mov dword [esp], esi
mov esi, dword [eax + edx*4 + 0x10]
xor esi, dword [ecx + 8]
mov dword [esp + 8], esi
mov ebx, dword [eax + edx*4 + 0x14]
xor ebx, dword [ecx + 0xc]
lea edi, [eax + edx*4]
add edi, 0x18
mov eax, dword [eax]
sar eax, 1
cmp eax, 2
jl 0x428771
inc eax
mov edx, dword [esp]
nop
mov dword [esp + 0x14], eax
movzx eax, byte [esp + 4]
mov ecx, dword [eax*4 + 0x441e5c]
mov ebp, edi
xor ecx, dword [edi]
movzx eax, bh
xor ecx, dword [eax*4 + 0x44225c]
mov edi, dword [esp + 8]
mov eax, edi
shr eax, 0xe
and eax, 0x3fc
xor ecx, dword [eax + 0x44265c]
mov eax, edx
shr eax, 0x18
xor ecx, dword [eax*4 + 0x442a5c]
mov dword [esp], ecx
movzx eax, dl
mov ecx, dword [eax*4 + 0x441e5c]
xor ecx, dword [ebp + 4]
mov eax, dword [esp + 4]
movzx eax, ah
xor ecx, dword [eax*4 + 0x44225c]
mov eax, ebx
shr eax, 0xe
and eax, 0x3fc
xor ecx, dword [eax + 0x44265c]
mov eax, edi
shr eax, 0x18
xor ecx, dword [eax*4 + 0x442a5c]
mov dword [esp + 0x10], ecx
mov eax, edi
movzx eax, al
mov eax, dword [eax*4 + 0x441e5c]
xor eax, dword [ebp + 8]
movzx ecx, dh
xor eax, dword [ecx*4 + 0x44225c]
mov ecx, edi
movzx esi, ch
mov ecx, dword [esp + 4]
shr ecx, 0xe
and ecx, 0x3fc
xor eax, dword [ecx + 0x44265c]
movzx edi, bl
shr ebx, 0x18
xor eax, dword [ebx*4 + 0x442a5c]
mov dword [esp + 0xc], eax
mov ecx, dword [edi*4 + 0x441e5c]
xor ecx, dword [ebp + 0xc]
xor ecx, dword [esi*4 + 0x44225c]
shr edx, 0xe
and edx, 0x3fc
xor ecx, dword [edx + 0x44265c]
mov edx, dword [esp + 4]
shr edx, 0x18
xor ecx, dword [edx*4 + 0x442a5c]
movzx esi, byte [esp]
mov edx, dword [esi*4 + 0x441e5c]
xor edx, dword [ebp + 0x10]
movzx esi, ch
xor edx, dword [esi*4 + 0x44225c]
mov esi, eax
shr esi, 0xe
and esi, 0x3fc
xor edx, dword [esi + 0x44265c]
mov eax, dword [esp + 0x10]
mov ebx, eax
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x442a5c]
mov dword [esp + 4], edx
movzx esi, al
mov edx, dword [esi*4 + 0x441e5c]
xor edx, dword [ebp + 0x14]
mov eax, dword [esp]
movzx esi, ah
xor edx, dword [esi*4 + 0x44225c]
mov esi, ecx
shr esi, 0xe
and esi, 0x3fc
xor edx, dword [esi + 0x44265c]
mov edi, ebp
mov ebx, dword [esp + 0xc]
mov eax, ebx
shr eax, 0x18
xor edx, dword [eax*4 + 0x442a5c]
movzx eax, bl
mov ebp, dword [eax*4 + 0x441e5c]
xor ebp, dword [edi + 0x18]
mov eax, dword [esp + 0x10]
movzx eax, ah
xor ebp, dword [eax*4 + 0x44225c]
mov esi, dword [esp]
mov eax, esi
shr eax, 0xe
and eax, 0x3fc
xor ebp, dword [eax + 0x44265c]
mov eax, ecx
shr eax, 0x18
xor ebp, dword [eax*4 + 0x442a5c]
mov dword [esp + 8], ebp
movzx eax, cl
mov ebx, dword [eax*4 + 0x441e5c]
xor ebx, dword [edi + 0x1c]
mov eax, dword [esp + 0xc]
movzx eax, ah
xor ebx, dword [eax*4 + 0x44225c]
mov eax, dword [esp + 0x10]
mov ebp, eax
shr eax, 0xe
and eax, 0x3fc
xor ebx, dword [eax + 0x44265c]
mov eax, dword [esp + 0x14]
shr esi, 0x18
xor ebx, dword [esi*4 + 0x442a5c]
add edi, 0x20
dec eax
cmp eax, 2
ja 0x428570
mov dword [esp], edx
mov dword [esp + 0x38], ebp
mov eax, dword [esp + 0xc]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], ecx
mov edx, dword [esp + 4]
mov dword [esp + 0x30], ebx
mov eax, dword [esp + 8]
mov dword [esp + 0x2c], eax
mov ebp, eax
mov dword [esp + 8], eax
movzx eax, dl
mov esi, dword [eax*4 + 0x441e5c]
xor esi, dword [edi]
movzx eax, bh
mov ecx, ebx
xor esi, dword [eax*4 + 0x44225c]
mov eax, ebp
shr eax, 0xe
and eax, 0x3fc
xor esi, dword [eax + 0x44265c]
mov ebx, dword [esp]
mov eax, ebx
shr eax, 0x18
xor esi, dword [eax*4 + 0x442a5c]
mov dword [esp + 0x10], esi
mov dword [esp + 0x34], esi
movzx eax, bl
mov eax, dword [eax*4 + 0x441e5c]
xor eax, dword [edi + 4]
mov ebp, eax
movzx eax, dh
mov esi, edx
xor ebp, dword [eax*4 + 0x44225c]
mov edx, ecx
mov eax, ecx
shr eax, 0xe
and eax, 0x3fc
xor ebp, dword [eax + 0x44265c]
mov ecx, dword [esp + 8]
mov eax, ecx
shr eax, 0x18
xor ebp, dword [eax*4 + 0x442a5c]
mov dword [esp + 0xc], ebp
mov dword [esp + 0x38], ebp
movzx eax, cl
mov eax, dword [eax*4 + 0x441e5c]
xor eax, dword [edi + 8]
mov ebp, eax
movzx eax, bh
xor ebp, dword [eax*4 + 0x44225c]
mov eax, esi
shr eax, 0xe
and eax, 0x3fc
xor ebp, dword [eax + 0x44265c]
mov eax, edx
shr eax, 0x18
xor ebp, dword [eax*4 + 0x442a5c]
movzx eax, dl
mov ecx, dword [esp + 8]
movzx ecx, ch
mov dword [esp + 0x3c], ebp
mov eax, dword [eax*4 + 0x441e5c]
xor eax, dword [edi + 0xc]
xor eax, dword [ecx*4 + 0x44225c]
shr ebx, 0xe
and ebx, 0x3fc
xor eax, dword [ebx + 0x44265c]
shr esi, 0x18
xor eax, dword [esi*4 + 0x442a5c]
mov dword [esp + 0x14], ebp
mov ecx, ebp
shr ecx, 0x10
movzx ecx, cl
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0xc]
shr ecx, 0x18
movzx ecx, byte [ecx + 0x441d5c]
mov dword [esp + 4], ecx
mov edx, eax
shr edx, 0x10
movzx ecx, dl
mov dword [esp + 0x20], ecx
mov edx, ebp
shr edx, 0x18
movzx ecx, byte [edx + 0x441d5c]
mov dword [esp], ecx
mov ecx, dword [esp + 0x10]
mov ebx, ecx
shr ebx, 0x10
mov esi, edi
movzx edx, bl
mov dword [esp + 0x1c], edx
mov ebx, eax
shr ebx, 0x18
movzx ebx, byte [ebx + 0x441d5c]
mov dword [esp + 0x40], eax
movzx edi, cl
mov edx, ecx
movzx edi, byte [edi + 0x441d5c]
xor edi, dword [esi + 0x10]
movzx ebp, ah
movzx ebp, byte [ebp + 0x441d5c]
shl ebp, 8
xor ebp, edi
mov ecx, dword [esp + 8]
movzx edi, byte [ecx + 0x441d5c]
shl edi, 0x10
xor edi, ebp
mov ecx, dword [esp + 4]
shl ecx, 0x18
xor ecx, edi
mov dword [esp + 4], ecx
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0xc]
movzx edi, cl
movzx edi, byte [edi + 0x441d5c]
mov dword [esp + 0x18], esi
xor edi, dword [esi + 0x14]
movzx ebp, dh
movzx ebp, byte [ebp + 0x441d5c]
shl ebp, 8
xor ebp, edi
mov edx, dword [esp + 0x20]
movzx edi, byte [edx + 0x441d5c]
shl edi, 0x10
xor edi, ebp
mov edx, dword [esp]
shl edx, 0x18
xor edx, edi
mov dword [esp], edx
movzx edi, ch
movzx edi, byte [edi + 0x441d5c]
mov dword [esp + 0x28], edx
mov edx, dword [esp + 0x14]
movzx ebp, dl
movzx ebp, byte [ebp + 0x441d5c]
xor ebp, dword [esi + 0x18]
shl edi, 8
xor edi, ebp
mov esi, dword [esp + 0x1c]
movzx esi, byte [esi + 0x441d5c]
shl esi, 0x10
xor esi, edi
shl ebx, 0x18
xor ebx, esi
movzx eax, al
mov dword [esp + 0x2c], ebx
movzx esi, byte [eax + 0x441d5c]
mov eax, dword [esp + 0x18]
xor esi, dword [eax + 0x1c]
movzx eax, dh
movzx eax, byte [eax + 0x441d5c]
shl eax, 8
xor eax, esi
shr ecx, 0x10
movzx esi, cl
mov ecx, dword [esp + 0x10]
shr ecx, 0x18
movzx edi, byte [ecx + 0x441d5c]
movzx esi, byte [esi + 0x441d5c]
shl esi, 0x10
xor esi, eax
shl edi, 0x18
xor edi, esi
mov dword [esp + 0x30], edi
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 4]
mov dword [eax], ecx
mov ecx, dword [esp]
mov dword [eax + 4], ecx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], edi
lea eax, [esp + 0x24]
push 0x20
push eax
call fcn.00422e20
add esp, 8
xor eax, eax
add esp, 0x44
pop esi
pop edi
pop ebx
pop ebp
ret