Function at 0x409a70
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
sub esp, 0x40
test ecx, ecx
jle 0x409cd3
mov eax, dword [ebp + 8]
dec ecx
push ebx
push esi
shr ecx, 1
mov edx, dword [eax]
inc ecx
mov dword [ebp - 0x24], edx
mov edx, dword [eax + 0x10]
mov ebx, dword [eax + 0x30]
mov dword [ebp - 0xc], edx
mov edx, dword [eax + 0x20]
mov esi, dword [eax + 0x28]
mov dword [ebp - 0x10], edx
mov edx, dword [eax + 0x14]
mov dword [ebp - 0x28], edx
mov edx, dword [eax + 4]
mov dword [ebp - 0x30], edx
mov edx, dword [eax + 0x24]
mov dword [ebp - 0x14], edx
mov edx, dword [eax + 0x34]
mov dword [ebp - 0x18], edx
mov edx, dword [eax + 0x38]
mov dword [ebp + 0xc], edx
mov edx, dword [eax + 8]
mov dword [ebp - 0x2c], edx
mov edx, dword [eax + 0x3c]
mov dword [ebp - 8], edx
mov edx, dword [eax + 0x2c]
mov dword [ebp - 4], edx
mov edx, dword [eax + 0xc]
push edi
mov edi, dword [eax + 0x18]
mov dword [ebp - 0x34], edx
mov edx, dword [eax + 0x1c]
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x30]
lea ecx, [ebx + edx]
rol ecx, 7
xor ecx, dword [ebp - 0xc]
add edx, ecx
mov dword [ebp - 0xc], ecx
rol edx, 9
xor edx, dword [ebp - 0x10]
add ecx, edx
mov dword [ebp - 0x10], edx
rol ecx, 0xd
xor ebx, ecx
mov dword [ebp - 0x40], ebx
lea ecx, [ebx + edx]
mov edx, dword [ebp - 0x28]
rol ecx, 0x12
xor ecx, dword [ebp - 0x24]
mov dword [ebp - 0x24], ecx
lea ecx, [edx + eax]
rol ecx, 7
xor ecx, dword [ebp - 0x14]
add edx, ecx
mov dword [ebp - 0x14], ecx
rol edx, 9
xor edx, dword [ebp - 0x18]
add ecx, edx
mov dword [ebp - 0x18], edx
rol ecx, 0xd
xor eax, ecx
lea ecx, [edi + esi]
rol ecx, 7
xor ecx, dword [ebp + 0xc]
mov dword [ebp + 0xc], ecx
lea ebx, [eax + edx]
mov edx, dword [ebp - 0x20]
rol ebx, 0x12
lea edi, [ecx + esi]
xor ebx, dword [ebp - 0x28]
rol edi, 9
xor edi, dword [ebp - 0x2c]
add ecx, edi
rol ecx, 0xd
xor edx, ecx
mov dword [ebp - 0x20], edx
lea ecx, [edx + edi]
rol ecx, 0x12
xor esi, ecx
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x3c], esi
mov esi, dword [ebp - 4]
lea esi, [esi + ecx]
rol esi, 7
xor esi, dword [ebp - 0x34]
lea edx, [ecx + esi]
rol edx, 9
xor edx, dword [ebp - 0x1c]
mov dword [ebp - 0x1c], edx
lea ecx, [edx + esi]
rol ecx, 0xd
xor dword [ebp - 4], ecx
mov ecx, dword [ebp - 4]
add ecx, edx
mov edx, dword [ebp - 0x24]
rol ecx, 0x12
xor dword [ebp - 8], ecx
lea ecx, [edx + esi]
rol ecx, 7
xor ecx, eax
mov dword [ebp - 0x30], ecx
lea eax, [edx + ecx]
rol eax, 9
xor eax, edi
mov edi, eax
mov dword [ebp - 0x2c], eax
lea eax, [ecx + edi]
rol eax, 0xd
xor eax, esi
mov dword [ebp - 0x34], eax
lea ecx, [eax + edi]
rol ecx, 0x12
mov eax, dword [ebp - 0xc]
xor ecx, edx
mov edi, dword [ebp - 0x20]
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x1c]
lea ecx, [ebx + eax]
mov esi, dword [ebp - 0x3c]
rol ecx, 7
xor edi, ecx
mov dword [ebp - 0x20], edi
lea ecx, [ebx + edi]
rol ecx, 9
xor edx, ecx
mov dword [ebp - 0x1c], edx
lea ecx, [edi + edx]
rol ecx, 0xd
xor eax, ecx
mov dword [ebp - 0xc], eax
lea ecx, [eax + edx]
mov edx, dword [ebp - 4]
rol ecx, 0x12
xor ecx, ebx
mov eax, dword [ebp - 0x10]
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x28], ecx
lea ecx, [esi + ebx]
rol ecx, 7
xor edx, ecx
mov dword [ebp - 4], edx
lea ecx, [edx + esi]
rol ecx, 9
xor eax, ecx
mov dword [ebp - 0x10], eax
lea ecx, [eax + edx]
mov edx, dword [ebp - 8]
rol ecx, 0xd
xor ebx, ecx
mov dword [ebp - 0x14], ebx
lea ecx, [eax + ebx]
mov ebx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x18]
rol ecx, 0x12
xor esi, ecx
mov ecx, dword [ebp + 0xc]
lea ecx, [edx + ecx]
rol ecx, 7
xor ebx, ecx
lea ecx, [ebx + edx]
rol ecx, 9
xor eax, ecx
mov dword [ebp - 0x18], eax
lea ecx, [ebx + eax]
rol ecx, 0xd
xor dword [ebp + 0xc], ecx
mov ecx, dword [ebp + 0xc]
add ecx, eax
rol ecx, 0x12
xor edx, ecx
sub dword [ebp - 0x38], 1
mov dword [ebp - 8], edx
jne 0x409ae7
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword [eax + 0x10], ecx
mov ecx, dword [ebp - 0x10]
mov dword [eax + 0x20], ecx
mov ecx, dword [ebp - 0x28]
mov dword [eax + 0x14], ecx
mov ecx, dword [ebp - 0x30]
mov dword [eax + 4], ecx
mov ecx, dword [ebp + 0xc]
mov dword [eax + 0x30], ebx
mov ebx, dword [ebp - 0x24]
mov dword [eax + 0x38], ecx
mov ecx, dword [ebp - 0x2c]
mov dword [eax], ebx
mov ebx, dword [ebp - 0x14]
mov dword [eax + 0x18], edi
mov dword [eax + 8], ecx
mov ecx, dword [ebp - 4]
pop edi
mov dword [eax + 0x24], ebx
mov ebx, dword [ebp - 0x18]
mov dword [eax + 0x28], esi
mov dword [eax + 0x3c], edx
mov edx, dword [ebp - 0x34]
mov dword [eax + 0x2c], ecx
mov ecx, dword [ebp - 0x1c]
pop esi
mov dword [eax + 0x34], ebx
mov dword [eax + 0xc], edx
mov dword [eax + 0x1c], ecx
pop ebx
mov esp, ebp
pop ebp
ret