Function at 0x40d200
Capabilities:
Encode data using xor

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x4c
mov esi, dword [edx + 0x1c]
mov ebp, dword [edx]
mov dword [esp + 0x44], eax
mov eax, dword [edx + 4]
mov edi, dword [edx + 0x38]
mov ecx, dword [edx + 0x10]
mov dword [esp + 0x20], esi
mov esi, dword [edx + 0x24]
mov dword [esp + 8], eax
mov eax, dword [edx + 8]
mov ebx, dword [edx + 0x14]
mov dword [esp + 0x48], edx
mov dword [esp + 0x28], esi
mov esi, dword [edx + 0x28]
mov dword [esp + 0x18], eax
mov eax, dword [edx + 0xc]
mov dword [esp + 0x40], ebp
mov dword [esp + 0x30], esi
mov esi, dword [edx + 0x34]
mov dword [esp + 0x1c], eax
mov eax, dword [edx + 0x18]
mov dword [esp + 0xc], eax
mov eax, dword [edx + 0x20]
mov dword [esp + 0x2c], eax
mov eax, dword [edx + 0x2c]
mov dword [esp + 0x24], eax
mov eax, dword [edx + 0x30]
mov dword [esp + 0x14], edi
mov edi, dword [edx + 0x3c]
mov dword [esp + 0x10], ecx
mov ecx, ebx
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x3c], 0xa
mov dword [esp + 4], ebp
mov dword [esp], edi
mov edi, dword [esp + 0x2c]
mov esi, esi
lea edi, [edi]
mov ebp, dword [esp + 4]
mov edx, ebp
add edx, eax
rol edx, 7
xor edx, dword [esp + 0x10]
mov dword [esp + 0x10], edx
add edx, ebp
rol edx, 9
xor edx, edi
mov edi, edx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x2c], edi
add edx, edi
rol edx, 0xd
xor edx, eax
mov eax, edi
add eax, edx
mov dword [esp + 0x30], edx
ror eax, 0xe
xor eax, ebp
mov ebp, dword [esp + 8]
mov dword [esp + 4], eax
lea eax, [ebp + ecx]
rol eax, 7
xor eax, dword [esp + 0x28]
mov edi, eax
add eax, ecx
rol eax, 9
mov dword [esp + 0x28], edi
xor eax, esi
mov esi, eax
mov eax, edi
add eax, esi
mov dword [esp + 0x34], esi
mov edi, eax
rol edi, 0xd
xor edi, ebp
mov ebp, dword [esp + 0xc]
lea eax, [esi + edi]
ror eax, 0xe
lea edx, [ebp + ebx]
mov esi, eax
mov eax, dword [esp + 0x14]
rol edx, 7
xor esi, ecx
mov dword [esp + 0x38], esi
xor eax, edx
mov edx, dword [esp]
lea ecx, [eax + ebx]
mov dword [esp + 0x14], eax
rol ecx, 9
xor ecx, dword [esp + 0x18]
lea esi, [eax + ecx]
rol esi, 0xd
xor esi, ebp
mov ebp, dword [esp + 0x24]
lea eax, [ecx + esi]
mov dword [esp + 0xc], esi
ror eax, 0xe
mov esi, eax
xor esi, ebx
mov ebx, ebp
add ebx, edx
mov eax, ebx
rol eax, 7
xor eax, dword [esp + 0x1c]
lea edx, [eax + edx]
rol edx, 9
xor edx, dword [esp + 0x20]
lea ebx, [eax + edx]
rol ebx, 0xd
xor ebx, ebp
lea ebp, [edx + ebx]
ror ebp, 0xe
xor ebp, dword [esp]
mov dword [esp], ebp
mov ebp, dword [esp + 4]
add ebp, eax
rol ebp, 7
xor ebp, edi
mov edi, ebp
mov ebp, dword [esp + 4]
mov dword [esp + 8], edi
add ebp, edi
mov edi, ebp
rol edi, 9
mov ebp, edi
mov edi, dword [esp + 0x10]
xor ebp, ecx
mov ecx, dword [esp + 8]
mov dword [esp + 0x18], ebp
add ecx, ebp
rol ecx, 0xd
xor ecx, eax
mov eax, dword [esp + 4]
add ebp, ecx
mov dword [esp + 0x1c], ecx
ror ebp, 0xe
xor eax, ebp
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x38]
mov eax, edi
mov ebp, dword [esp + 0xc]
add eax, ecx
rol eax, 7
xor ebp, eax
mov eax, ebp
mov ebp, ecx
mov dword [esp + 0xc], eax
add eax, ecx
rol eax, 9
xor eax, edx
mov edx, eax
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0xc]
lea ecx, [eax + edx]
rol ecx, 0xd
xor ecx, edi
add edx, ecx
mov dword [esp + 0x10], ecx
mov ecx, ebp
mov eax, edx
mov edx, dword [esp + 0x28]
mov ebp, dword [esp + 0x14]
ror eax, 0xe
xor ecx, eax
lea eax, [edx + esi]
rol eax, 7
mov edi, eax
xor edi, ebx
mov eax, edi
mov dword [esp + 0x24], edi
lea edi, [esi + edi]
rol edi, 9
xor edi, dword [esp + 0x2c]
lea eax, [eax + edi]
rol eax, 0xd
mov ebx, eax
xor ebx, edx
lea eax, [edi + ebx]
mov dword [esp + 0x28], ebx
ror eax, 0xe
mov ebx, eax
mov eax, dword [esp + 0x14]
xor ebx, esi
mov esi, dword [esp]
add eax, esi
rol eax, 7
xor eax, dword [esp + 0x30]
add esi, eax
rol esi, 9
xor esi, dword [esp + 0x34]
lea edx, [eax + esi]
rol edx, 0xd
xor ebp, edx
lea edx, [esi + ebp]
mov dword [esp + 0x14], ebp
mov ebp, dword [esp]
ror edx, 0xe
xor ebp, edx
sub dword [esp + 0x3c], 1
mov dword [esp], ebp
jne 0x40d290
mov ebp, dword [esp + 4]
mov edx, dword [esp + 0x40]
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], ebx
mov edi, dword [esp + 0x48]
mov ebx, dword [esp + 0x44]
add edx, ebp
mov ebp, dword [esp + 0x18]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x10]
mov dword [ebx], edx
mov edx, dword [esp + 8]
add edx, dword [edi + 4]
mov dword [ebx + 4], edx
add ebp, dword [edi + 8]
mov edx, ebx
mov dword [ebx + 8], ebp
mov ebp, dword [esp + 0x1c]
mov ebx, edx
add ebp, dword [edi + 0xc]
mov dword [edx + 0xc], ebp
add ecx, dword [edi + 0x10]
mov ebp, edi
mov dword [edx + 0x10], ecx
mov edx, dword [esp + 4]
add edx, dword [edi + 0x14]
mov ecx, dword [esp + 0xc]
mov dword [ebx + 0x14], edx
add ecx, dword [edi + 0x18]
mov dword [ebx + 0x18], ecx
mov ecx, dword [esp + 0x20]
add ecx, dword [edi + 0x1c]
mov edi, dword [esp + 0x2c]
mov dword [ebx + 0x1c], ecx
add edi, dword [ebp + 0x20]
mov dword [ebx + 0x20], edi
mov edx, dword [esp + 0x28]
add edx, dword [ebp + 0x24]
mov dword [ebx + 0x24], edx
mov edx, dword [esp + 0x30]
add edx, dword [ebp + 0x28]
mov dword [ebx + 0x28], edx
mov edx, dword [esp + 0x24]
add edx, dword [ebp + 0x2c]
mov dword [ebx + 0x2c], edx
add eax, dword [ebp + 0x30]
mov edx, dword [esp]
mov dword [ebx + 0x30], eax
add esi, dword [ebp + 0x34]
mov eax, ebx
mov dword [ebx + 0x34], esi
mov ebx, dword [esp + 0x14]
add ebx, dword [ebp + 0x38]
mov dword [eax + 0x38], ebx
add edx, dword [ebp + 0x3c]
mov dword [eax + 0x3c], edx
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret