Function at 0x401284
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, ecx
mov dword [ebp - 0x34], 0xa
push ebx
push esi
push edi
push 0x10
lea esi, [eax + 0x78]
mov dword [ebp - 0x50], eax
mov edi, eax
pop ecx
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [eax + 0x10]
mov edx, dword [eax]
mov edi, dword [eax + 0x30]
mov ebx, dword [eax + 0x14]
mov esi, dword [eax + 0x34]
mov dword [ebp - 0x38], ecx
mov ecx, dword [eax + 0x20]
mov dword [ebp - 0xc], ecx
mov ecx, dword [eax + 0x24]
mov dword [ebp - 0x14], ecx
mov ecx, dword [eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [eax + 8]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [eax + 0x38]
mov dword [ebp - 0x30], ecx
mov ecx, dword [eax + 0x28]
mov dword [ebp - 4], edx
mov edx, dword [eax + 4]
mov dword [ebp - 0x20], ecx
mov ecx, dword [eax + 0x1c]
mov dword [ebp - 0x10], edx
mov edx, dword [eax + 0x3c]
mov dword [ebp - 0x24], ecx
mov ecx, dword [eax + 0xc]
mov eax, dword [eax + 0x2c]
mov dword [ebp - 0x28], edx
mov edx, dword [ebp - 0x38]
mov dword [ebp - 8], ecx
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 4]
add eax, edx
xor edi, eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
rol edi, 0x10
add eax, edi
mov ecx, eax
xor ecx, edx
mov edx, dword [ebp - 4]
rol ecx, 0xc
add edx, ecx
mov dword [ebp - 0x38], edx
xor edx, edi
rol edx, 8
add eax, edx
mov edi, dword [ebp - 0x1c]
mov dword [ebp - 0x40], eax
xor eax, ecx
add edi, dword [ebp - 0x18]
mov dword [ebp - 0xc], edx
mov edx, dword [ebp - 0x10]
rol eax, 7
add edx, ebx
xor esi, edx
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x14]
rol esi, 0x10
add eax, esi
mov ecx, eax
xor ecx, ebx
rol ecx, 0xc
add edx, ecx
mov dword [ebp - 0x14], edx
xor edx, esi
mov esi, dword [ebp - 0x30]
rol edx, 8
xor esi, edi
add eax, edx
rol esi, 0x10
mov ebx, eax
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x20]
xor ebx, ecx
add eax, esi
mov dword [ebp - 0x3c], edx
mov ecx, eax
rol ebx, 7
xor ecx, dword [ebp - 0x18]
rol ecx, 0xc
lea edx, [ecx + edi]
mov edi, dword [ebp - 0x28]
mov dword [ebp - 0x1c], edx
xor edx, esi
rol edx, 8
mov dword [ebp - 0x48], edx
lea esi, [edx + eax]
mov eax, esi
xor eax, ecx
rol eax, 7
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0x24]
xor edi, eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x2c]
mov edx, dword [ebp - 8]
rol edi, 0x10
add eax, edi
mov ecx, eax
xor ecx, dword [ebp - 0x24]
rol ecx, 0xc
add edx, ecx
mov dword [ebp - 8], edx
xor edx, edi
rol edx, 8
lea edi, [edx + eax]
mov eax, edi
xor eax, ecx
rol eax, 7
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x38]
add eax, ebx
xor edx, eax
rol edx, 0x10
lea ecx, [esi + edx]
mov esi, dword [ebp - 0xc]
xor ebx, ecx
rol ebx, 0xc
add eax, ebx
mov dword [ebp - 4], eax
xor eax, edx
mov edx, dword [ebp - 0x30]
rol eax, 8
mov dword [ebp - 0x28], eax
add eax, ecx
mov dword [ebp - 0x20], eax
xor eax, ebx
rol eax, 7
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x14]
add eax, edx
mov ebx, dword [ebp - 0x44]
xor esi, eax
rol esi, 0x10
lea ecx, [edi + esi]
xor edx, ecx
rol edx, 0xc
lea edi, [eax + edx]
mov dword [ebp - 0x10], edi
xor edi, esi
mov esi, dword [ebp - 0x3c]
rol edi, 8
lea eax, [edi + ecx]
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 0x2c], eax
xor eax, edx
mov edx, dword [ebp - 0x24]
rol eax, 7
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x1c]
add eax, edx
xor esi, eax
rol esi, 0x10
add ecx, esi
xor edx, ecx
rol edx, 0xc
add eax, edx
mov dword [ebp - 0x1c], eax
xor eax, esi
mov esi, eax
mov dword [ebp - 0x40], eax
rol esi, 8
lea eax, [esi + ecx]
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0xc], eax
xor eax, edx
mov edx, dword [ebp - 0x48]
rol eax, 7
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 8]
add eax, ebx
xor edx, eax
rol edx, 0x10
add ecx, edx
xor ebx, ecx
rol ebx, 0xc
add eax, ebx
mov dword [ebp - 8], eax
xor eax, edx
rol eax, 8
mov dword [ebp - 0x30], eax
lea edx, [eax + ecx]
mov dword [ebp - 0x14], edx
xor edx, ebx
mov ebx, dword [ebp - 0x38]
rol edx, 7
sub dword [ebp - 0x34], 1
jne 0x4012fc
mov ecx, dword [ebp - 0x50]
mov dword [ecx + 0x10], edx
mov edx, dword [ebp - 4]
mov dword [ecx], edx
mov edx, dword [ebp - 0xc]
mov dword [ecx + 0x20], edx
mov edx, dword [ebp - 0x10]
mov dword [ecx + 4], edx
mov edx, dword [ebp - 0x18]
mov dword [ecx + 0x18], edx
mov edx, dword [ebp - 0x1c]
mov dword [ecx + 0x30], edi
mov edi, dword [ebp - 0x14]
mov dword [ecx + 0x38], eax
mov eax, dword [ebp - 0x20]
mov dword [ecx + 8], edx
mov edx, dword [ebp - 0x24]
mov dword [ecx + 0x24], edi
mov dword [ecx + 0x28], eax
mov eax, dword [ebp - 8]
pop edi
mov dword [ecx + 0x1c], edx
mov edx, dword [ebp - 0x28]
mov dword [ecx + 0x34], esi
mov dword [ecx + 0xc], eax
mov eax, dword [ebp - 0x2c]
pop esi
mov dword [ecx + 0x14], ebx
mov dword [ecx + 0x3c], edx
xor edx, edx
mov dword [ecx + 0x2c], eax
pop ebx
mov eax, dword [ecx + edx*4 + 0x78]
add dword [ecx + edx*4], eax
inc edx
cmp edx, 0x10
jl 0x4014fa
add dword [ecx + 0xa8], 1
jne 0x401516
inc dword [ecx + 0xac]
leave
ret