Function at 0x412680
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x7c
mov dword [esp + 0x78], ecx
mov eax, dword [edx]
mov dword [esp + 0x38], eax
mov eax, dword [edx + 4]
mov dword [esp + 0x3c], eax
mov eax, dword [edx + 8]
mov dword [esp + 0x40], eax
mov eax, dword [edx + 0xc]
mov dword [esp + 0x44], eax
mov eax, dword [edx + 0x10]
mov dword [esp + 0x48], eax
mov eax, dword [edx + 0x14]
mov dword [esp + 0x4c], eax
mov eax, dword [edx + 0x18]
mov dword [esp + 0x50], eax
mov eax, dword [edx + 0x1c]
mov dword [esp + 0x54], eax
mov eax, dword [edx + 0x20]
mov dword [esp + 0x58], eax
mov eax, dword [edx + 0x24]
mov dword [esp + 0x5c], eax
mov ebp, dword [edx + 0x28]
mov ebx, dword [edx + 0x2c]
mov edi, dword [edx + 0x30]
mov esi, dword [edx + 0x34]
mov ecx, dword [edx + 0x38]
mov eax, dword [edx + 0x3c]
mov dword [esp + 0x2c], 0xfffffff8
mov dword [esp + 0x74], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x70], ecx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x6c], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x68], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x64], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x60], ebp
mov dword [esp + 0x1c], ebp
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x58]
mov dword [esp], eax
mov ebp, dword [esp + 0x54]
mov ebx, dword [esp + 0x50]
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x40]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x3c]
mov dword [esp + 8], edx
mov edx, dword [esp + 0x38]
mov dword [esp + 4], edx
nop dword [eax]
mov esi, dword [esp + 4]
add esi, eax
mov edi, dword [esp + 0x24]
xor edi, esi
rol edi, 0x10
mov edx, dword [esp]
add edx, edi
xor eax, edx
rol eax, 0xc
add esi, eax
mov dword [esp + 4], esi
xor edi, esi
rol edi, 8
mov dword [esp + 0x24], edi
add edx, edi
mov dword [esp], edx
xor eax, edx
rol eax, 7
mov dword [esp + 0x30], eax
mov edi, dword [esp + 8]
add edi, ecx
mov esi, dword [esp + 0x28]
xor esi, edi
rol esi, 0x10
mov edx, dword [esp + 0x14]
add edx, esi
xor ecx, edx
rol ecx, 0xc
add edi, ecx
mov dword [esp + 8], edi
xor esi, edi
rol esi, 8
mov dword [esp + 0x28], esi
add edx, esi
mov dword [esp + 0x14], edx
xor ecx, edx
rol ecx, 7
mov edi, dword [esp + 0xc]
add edi, ebx
mov edx, dword [esp + 0x18]
xor edx, edi
rol edx, 0x10
mov eax, dword [esp + 0x1c]
add eax, edx
xor ebx, eax
rol ebx, 0xc
add edi, ebx
mov dword [esp + 0xc], edi
xor edx, edi
rol edx, 8
mov dword [esp + 0x18], edx
add eax, edx
xor ebx, eax
rol ebx, 7
mov edi, dword [esp + 0x10]
add edi, ebp
mov edx, dword [esp + 0x34]
xor edx, edi
rol edx, 0x10
mov esi, dword [esp + 0x20]
add esi, edx
xor ebp, esi
rol ebp, 0xc
add edi, ebp
mov dword [esp + 0x10], edi
xor edx, edi
rol edx, 8
add esi, edx
xor ebp, esi
rol ebp, 7
mov edi, dword [esp + 4]
add edi, ecx
xor edx, edi
rol edx, 0x10
add eax, edx
xor ecx, eax
rol ecx, 0xc
add edi, ecx
mov dword [esp + 4], edi
xor edx, edi
rol edx, 8
mov dword [esp + 0x34], edx
add eax, edx
mov dword [esp + 0x1c], eax
xor ecx, eax
rol ecx, 7
mov edx, dword [esp + 8]
add edx, ebx
mov edi, dword [esp + 0x24]
xor edi, edx
rol edi, 0x10
add esi, edi
xor ebx, esi
rol ebx, 0xc
add edx, ebx
mov dword [esp + 8], edx
xor edi, edx
rol edi, 8
mov edx, edi
mov dword [esp + 0x24], edi
add esi, edi
mov dword [esp + 0x20], esi
xor ebx, esi
rol ebx, 7
mov eax, dword [esp + 0xc]
add eax, ebp
mov esi, dword [esp + 0x28]
xor esi, eax
rol esi, 0x10
mov edx, dword [esp]
add edx, esi
xor ebp, edx
rol ebp, 0xc
add eax, ebp
mov dword [esp + 0xc], eax
xor esi, eax
rol esi, 8
mov dword [esp + 0x28], esi
add edx, esi
mov dword [esp], edx
xor ebp, edx
rol ebp, 7
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x30]
add edi, eax
mov edx, dword [esp + 0x18]
xor edx, edi
rol edx, 0x10
mov esi, dword [esp + 0x14]
add esi, edx
xor eax, esi
rol eax, 0xc
add edi, eax
mov dword [esp + 0x10], edi
xor edx, edi
rol edx, 8
mov dword [esp + 0x18], edx
add esi, edx
mov dword [esp + 0x14], esi
xor eax, esi
rol eax, 7
add dword [esp + 0x2c], 2
jne 0x412760
mov edx, dword [esp + 4]
add edx, dword [esp + 0x38]
mov dword [esp + 4], edx
mov edx, dword [esp + 8]
add edx, dword [esp + 0x3c]
mov dword [esp + 8], edx
mov edx, dword [esp + 0xc]
add edx, dword [esp + 0x40]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x10]
add edx, dword [esp + 0x44]
mov dword [esp + 0x10], edx
add eax, dword [esp + 0x48]
mov dword [esp + 0x30], eax
add ecx, dword [esp + 0x4c]
mov dword [esp + 0x2c], ecx
mov ecx, ebx
add ecx, dword [esp + 0x50]
add ebp, dword [esp + 0x54]
mov eax, dword [esp]
add eax, dword [esp + 0x58]
mov dword [esp], eax
mov eax, dword [esp + 0x14]
add eax, dword [esp + 0x5c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x1c]
add eax, dword [esp + 0x60]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x20]
add eax, dword [esp + 0x64]
mov dword [esp + 0x20], eax
mov ebx, dword [esp + 0x24]
add ebx, dword [esp + 0x68]
mov edi, dword [esp + 0x28]
add edi, dword [esp + 0x6c]
mov eax, dword [esp + 0x18]
add eax, dword [esp + 0x70]
mov dword [esp + 0x18], eax
mov edx, dword [esp + 0x34]
add edx, dword [esp + 0x74]
mov eax, dword [esp + 0x78]
mov esi, dword [esp + 4]
mov dword [eax], esi
mov esi, dword [esp + 8]
mov dword [eax + 4], esi
mov esi, dword [esp + 0xc]
mov dword [eax + 8], esi
mov esi, dword [esp + 0x10]
mov dword [eax + 0xc], esi
mov esi, dword [esp + 0x30]
mov dword [eax + 0x10], esi
mov esi, dword [esp + 0x2c]
mov dword [eax + 0x14], esi
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], ebp
mov ecx, dword [esp]
mov dword [eax + 0x20], ecx
mov ecx, dword [esp + 0x14]
mov dword [eax + 0x24], ecx
mov ecx, dword [esp + 0x1c]
mov dword [eax + 0x28], ecx
mov ecx, dword [esp + 0x20]
mov dword [eax + 0x2c], ecx
mov dword [eax + 0x30], ebx
mov dword [eax + 0x34], edi
mov ecx, dword [esp + 0x18]
mov dword [eax + 0x38], ecx
mov dword [eax + 0x3c], edx
add esp, 0x7c
pop esi
pop edi
pop ebx
pop ebp
ret