Function at 0x412cd7
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push 8
lea esi, [eax + 0xc]
pop ecx
lea edi, [ebp - 0x20]
mov dword [ebp + 8], esi
push 0x10
rep movsd dword es:[edi], dword [esi]
lea esi, [eax + 0x2c]
pop ecx
lea edi, [ebp - 0x120]
push 0x30
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0xe8]
pop esi
mov edx, dword [eax - 0x34]
mov ecx, dword [eax]
mov edi, edx
mov ebx, edx
ror edi, 0x12
ror ebx, 7
xor edi, ebx
mov ebx, ecx
shr edx, 3
xor edi, edx
mov edx, ecx
ror edx, 0x13
ror ebx, 0x11
xor edx, ebx
add eax, 4
shr ecx, 0xa
xor edx, ecx
add edi, edx
add edi, dword [eax - 0x3c]
add edi, dword [eax - 0x18]
dec esi
mov dword [eax + 4], edi
jne 0x412d0b
mov edx, dword [ebp - 0x14]
xor eax, eax
mov esi, dword [ebp - 0x10]
mov ebx, dword [ebp - 0x1c]
mov ecx, esi
mov edi, esi
ror ecx, 0x19
ror edi, 0xb
xor ecx, edi
mov edi, esi
ror edi, 6
xor ecx, edi
mov edi, dword [ebp - 0xc]
xor edi, dword [ebp - 8]
and ebx, dword [ebp - 0x20]
and edi, esi
mov esi, dword [ebp - 0x20]
xor edi, dword [ebp - 8]
add ecx, edi
mov edi, dword [ebp - 0x20]
add ecx, dword [eax + 0x41d86c]
add ecx, dword [ebp + eax - 0x120]
add ecx, dword [ebp - 4]
add edx, ecx
ror esi, 0x16
ror edi, 0xd
xor esi, edi
mov edi, dword [ebp - 0x20]
ror edi, 2
xor esi, edi
mov edi, dword [ebp - 0x1c]
or edi, dword [ebp - 0x20]
add ecx, esi
and edi, dword [ebp - 0x18]
or edi, ebx
add edi, ecx
mov ecx, edx
mov esi, edi
mov edi, edx
ror ecx, 0x19
ror edi, 0xb
xor ecx, edi
mov edi, edx
ror edi, 6
xor ecx, edi
mov edi, dword [ebp - 0xc]
xor edi, dword [ebp - 0x10]
mov ebx, esi
mov dword [ebp - 4], esi
and edi, edx
xor edi, dword [ebp - 0xc]
add ecx, edi
mov edi, esi
add ecx, dword [ebp + eax - 0x11c]
add ecx, dword [eax + 0x41d870]
add ecx, dword [ebp - 8]
add dword [ebp - 0x18], ecx
ror edi, 0x16
ror ebx, 0xd
xor edi, ebx
mov ebx, esi
ror ebx, 2
xor edi, ebx
mov ebx, dword [ebp - 0x20]
or ebx, esi
mov esi, dword [ebp - 0x20]
and ebx, dword [ebp - 0x1c]
and esi, dword [ebp - 4]
add ecx, edi
mov edi, dword [ebp - 0x18]
or ebx, esi
add ebx, ecx
mov ecx, edi
mov esi, ebx
mov ebx, edi
ror ecx, 0x19
ror ebx, 0xb
xor ecx, ebx
mov ebx, edi
ror ebx, 6
xor ecx, ebx
mov dword [ebp - 8], esi
mov ebx, edx
xor ebx, dword [ebp - 0x10]
and ebx, edi
mov edi, esi
xor ebx, dword [ebp - 0x10]
add ecx, ebx
mov ebx, esi
add ecx, dword [ebp + eax - 0x118]
add ecx, dword [eax + 0x41d874]
add ecx, dword [ebp - 0xc]
add dword [ebp - 0x1c], ecx
ror edi, 0x16
ror ebx, 0xd
xor edi, ebx
mov ebx, esi
or esi, dword [ebp - 4]
ror ebx, 2
and esi, dword [ebp - 0x20]
xor edi, ebx
mov ebx, dword [ebp - 8]
add ecx, edi
and ebx, dword [ebp - 4]
mov edi, dword [ebp - 0x1c]
or esi, ebx
mov ebx, edi
add esi, ecx
mov ecx, edi
ror ecx, 0x19
ror ebx, 0xb
xor ecx, ebx
mov ebx, edi
ror ebx, 6
xor ecx, ebx
mov ebx, edx
xor ebx, dword [ebp - 0x18]
mov dword [ebp - 0xc], esi
and ebx, edi
mov edi, esi
xor ebx, edx
add ecx, ebx
mov ebx, esi
add ecx, dword [ebp + eax - 0x114]
add ecx, dword [eax + 0x41d878]
add ecx, dword [ebp - 0x10]
add dword [ebp - 0x20], ecx
ror edi, 0x16
ror ebx, 0xd
xor edi, ebx
mov ebx, esi
or esi, dword [ebp - 8]
ror ebx, 2
and esi, dword [ebp - 4]
xor edi, ebx
mov ebx, dword [ebp - 0xc]
add ecx, edi
and ebx, dword [ebp - 8]
or esi, ebx
add esi, ecx
mov edi, esi
mov esi, dword [ebp - 0x20]
mov ecx, esi
mov ebx, esi
ror ecx, 0x19
ror ebx, 0xb
xor ecx, ebx
mov ebx, esi
ror ebx, 6
xor ecx, ebx
mov ebx, dword [ebp - 0x18]
xor ebx, dword [ebp - 0x1c]
mov dword [ebp - 0x10], edi
and ebx, esi
xor ebx, dword [ebp - 0x18]
add ecx, ebx
mov ebx, edi
add ecx, dword [ebp + eax - 0x110]
add ecx, dword [eax + 0x41d87c]
add ecx, edx
mov edx, edi
add dword [ebp - 4], ecx
ror edx, 0x16
ror ebx, 0xd
xor edx, ebx
mov ebx, edi
ror ebx, 2
xor edx, ebx
mov ebx, dword [ebp - 0xc]
or ebx, edi
mov edi, dword [ebp - 0xc]
and ebx, dword [ebp - 8]
and edi, dword [ebp - 0x10]
add ecx, edx
or ebx, edi
mov edi, dword [ebp - 4]
add ebx, ecx
mov ecx, edi
mov edx, ebx
mov ebx, edi
ror ecx, 0x19
ror ebx, 0xb
xor ecx, ebx
mov ebx, edi
ror ebx, 6
xor ecx, ebx
mov ebx, dword [ebp - 0x1c]
xor ebx, esi
mov esi, edx
and ebx, edi
mov edi, edx
xor ebx, dword [ebp - 0x1c]
add ecx, ebx
mov ebx, edx
add ecx, dword [ebp + eax - 0x10c]
and ebx, dword [ebp - 0x10]
add ecx, dword [eax + 0x41d880]
add ecx, dword [ebp - 0x18]
add dword [ebp - 8], ecx
ror esi, 0x16
ror edi, 0xd
xor esi, edi
mov edi, edx
ror edi, 2
xor esi, edi
mov edi, edx
or edi, dword [ebp - 0x10]
add ecx, esi
mov esi, dword [ebp - 8]
and edi, dword [ebp - 0xc]
or edi, ebx
mov ebx, esi
add edi, ecx
mov ecx, esi
ror ecx, 0x19
ror ebx, 0xb
xor ecx, ebx
mov ebx, esi
ror ebx, 6
xor ecx, ebx
mov ebx, dword [ebp - 0x20]
xor ebx, dword [ebp - 4]
mov dword [ebp - 0x18], edi
and ebx, esi
mov esi, edi
xor ebx, dword [ebp - 0x20]
add ecx, ebx
mov ebx, edi
add ecx, dword [ebp + eax - 0x108]
add ecx, dword [eax + 0x41d884]
add ecx, dword [ebp - 0x1c]
add dword [ebp - 0xc], ecx
ror esi, 0x16
ror ebx, 0xd
xor esi, ebx
mov ebx, edi
ror ebx, 2
xor esi, ebx
mov ebx, edx
or ebx, edi
mov edi, edx
and ebx, dword [ebp - 0x10]
and edi, dword [ebp - 0x18]
or ebx, edi
add ecx, esi
mov esi, dword [ebp - 0xc]
add ebx, ecx
mov edi, ebx
mov ecx, esi
mov ebx, esi
mov dword [ebp - 0x1c], edi
ror ecx, 0x19
ror ebx, 0xb
xor ecx, ebx
mov ebx, esi
ror ebx, 6
xor ecx, ebx
mov ebx, dword [ebp - 8]
xor ebx, dword [ebp - 4]
add eax, 0x20
and ebx, esi
mov esi, edi
xor ebx, dword [ebp - 4]
add ecx, ebx
mov ebx, edi
add ecx, dword [ebp + eax - 0x124]
add ecx, dword [eax + 0x41d868]
add ecx, dword [ebp - 0x20]
add dword [ebp - 0x10], ecx
ror esi, 0x16
ror ebx, 0xd
xor esi, ebx
mov ebx, edi
ror ebx, 2
xor esi, ebx
mov ebx, dword [ebp - 0x18]
or ebx, edi
mov edi, dword [ebp - 0x18]
and edi, dword [ebp - 0x1c]
and ebx, edx
add ecx, esi
or ebx, edi
add ebx, ecx
cmp eax, 0x100
mov dword [ebp - 0x20], ebx
jl 0x412d48
mov eax, dword [ebp + 8]
push 8
mov dword [ebp - 0x14], edx
lea ecx, [ebp - 0x20]
pop edx
mov esi, dword [ecx]
add ecx, 4
add dword [eax], esi
add eax, 4
dec edx
jne 0x41305c
pop edi
pop esi
pop ebx
leave
ret 4