Function at 0x4078b2
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
mov eax, dword [0x49b008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov eax, edx
mov dword [ebp - 0x88], ecx
mov esi, eax
mov dword [ebp - 0x84], eax
push 0x10
pop ecx
lea edi, [ebp - 0x44]
mov dword [ebp - 0x60], 0xa
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 8]
mov esi, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x28]
mov edi, dword [ebp - 0x2c]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x4c], esi
mov eax, dword [ebp - 0x44]
add eax, esi
mov edx, eax
xor edx, ecx
mov ecx, dword [ebp - 0x24]
rol edx, 0x10
add ecx, edx
mov esi, ecx
xor esi, dword [ebp - 0x4c]
rol esi, 0xc
add eax, esi
mov dword [ebp - 0x64], eax
xor eax, edx
rol eax, 8
mov dword [ebp - 0x58], eax
add eax, ecx
mov dword [ebp - 0x74], eax
xor eax, esi
mov ecx, dword [ebp - 0x20]
rol eax, 7
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x48]
add eax, dword [ebp - 0x40]
mov edx, eax
xor edx, dword [ebp - 0x50]
rol edx, 0x10
add ecx, edx
mov esi, ecx
xor esi, dword [ebp - 0x48]
rol esi, 0xc
add eax, esi
mov dword [ebp - 0x50], eax
xor eax, edx
rol eax, 8
mov dword [ebp - 0x70], eax
add eax, ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x80], eax
xor eax, esi
rol eax, 7
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x3c]
add eax, edi
mov edx, eax
xor edx, dword [ebp - 0x54]
rol edx, 0x10
add ecx, edx
mov esi, ecx
xor esi, edi
rol esi, 0xc
add eax, esi
mov dword [ebp - 0x68], eax
xor eax, edx
mov edx, dword [ebp - 0x18]
rol eax, 8
mov dword [ebp - 0x7c], eax
lea edi, [eax + ecx]
mov ecx, dword [ebp - 0x38]
add ecx, ebx
mov eax, edi
xor eax, esi
mov esi, dword [ebp - 0x5c]
xor esi, ecx
rol eax, 7
rol esi, 0x10
add edx, esi
mov dword [ebp - 0x54], eax
xor ebx, edx
rol ebx, 0xc
mov eax, ebx
add ecx, eax
mov dword [ebp - 0x78], ecx
xor ecx, esi
rol ecx, 8
lea ebx, [ecx + edx]
mov edx, ebx
xor edx, eax
mov eax, dword [ebp - 0x48]
rol edx, 7
add eax, dword [ebp - 0x64]
mov dword [ebp - 0x6c], edx
mov edx, eax
xor edx, ecx
rol edx, 0x10
lea ecx, [edx + edi]
mov edi, dword [ebp - 0x54]
mov esi, ecx
xor esi, dword [ebp - 0x48]
rol esi, 0xc
add eax, esi
mov dword [ebp - 0x44], eax
xor eax, edx
rol eax, 8
mov dword [ebp - 0x5c], eax
mov dword [ebp - 8], eax
add eax, ecx
mov dword [ebp - 0x1c], eax
xor eax, esi
rol eax, 7
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x50]
add eax, edi
mov esi, dword [ebp - 0x4c]
mov ecx, eax
xor ecx, dword [ebp - 0x58]
rol ecx, 0x10
lea edx, [ecx + ebx]
mov ebx, dword [ebp - 0x6c]
xor edi, edx
rol edi, 0xc
add eax, edi
mov dword [ebp - 0x40], eax
xor eax, ecx
rol eax, 8
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x14], eax
add eax, edx
mov edx, dword [ebp - 0x74]
xor edi, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x68]
add eax, ebx
rol edi, 7
mov ecx, eax
mov dword [ebp - 0x2c], edi
xor ecx, dword [ebp - 0x70]
rol ecx, 0x10
add edx, ecx
xor ebx, edx
rol ebx, 0xc
add eax, ebx
mov dword [ebp - 0x3c], eax
xor eax, ecx
rol eax, 8
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x10], eax
add eax, edx
mov edx, dword [ebp - 0x80]
xor ebx, eax
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x78]
add eax, esi
rol ebx, 7
mov ecx, eax
mov dword [ebp - 0x28], ebx
xor ecx, dword [ebp - 0x7c]
rol ecx, 0x10
add edx, ecx
xor esi, edx
rol esi, 0xc
add eax, esi
mov dword [ebp - 0x38], eax
xor eax, ecx
rol eax, 8
mov dword [ebp - 0x54], eax
mov dword [ebp - 0xc], eax
add eax, edx
xor esi, eax
mov dword [ebp - 0x20], eax
rol esi, 7
mov dword [ebp - 0x4c], esi
sub dword [ebp - 0x60], 1
mov ecx, dword [ebp - 0x58]
mov dword [ebp - 0x34], esi
jne 0x40790e
mov edx, dword [ebp - 0x84]
xor ecx, ecx
mov esi, dword [ebp - 0x88]
mov eax, dword [edx + ecx*4]
add eax, dword [ebp + ecx*4 - 0x44]
mov dword [esi + ecx*4], eax
inc ecx
cmp ecx, 0x10
jl 0x407ad2
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00473c7a
leave
ret