Function at 0x461600
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x130
lea eax, [ebp - 0x30]
mov dword [ebp - 8], 0x50e3c8
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x130]
push ebx
mov dword [ebp - 4], eax
lea eax, [ebp - 0xb0]
push esi
push edi
mov dword [ebp - 0x10], eax
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 4]
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
sub esi, 0x20
mov eax, dword [esi]
mov dword [edi + 0x1c], eax
mov eax, dword [esi + 4]
mov dword [edi + 0x18], eax
mov eax, dword [esi + 8]
mov dword [edi + 0x14], eax
mov eax, dword [esi + 0xc]
mov dword [edi + 0x10], eax
mov eax, dword [esi + 0x10]
mov dword [edi + 0xc], eax
mov eax, dword [esi + 0x14]
mov dword [edi + 8], eax
mov eax, dword [esi + 0x18]
mov dword [edi + 4], eax
mov eax, dword [esi + 0x1c]
mov dword [edi], eax
mov esi, edi
add edi, 0x20
mov ecx, 0x10
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp - 0x10]
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
sub esi, 0x20
mov eax, dword [esi]
mov dword [edi + 0x1c], eax
mov eax, dword [esi + 4]
mov dword [edi + 0x18], eax
mov eax, dword [esi + 8]
mov dword [edi + 0x14], eax
mov eax, dword [esi + 0xc]
mov dword [edi + 0x10], eax
mov eax, dword [esi + 0x10]
mov dword [edi + 0xc], eax
mov eax, dword [esi + 0x14]
mov dword [edi + 8], eax
mov eax, dword [esi + 0x18]
mov dword [edi + 4], eax
mov eax, dword [esi + 0x1c]
mov dword [edi], eax
mov esi, edi
add edi, 0x20
mov ecx, 0x10
rep movsd dword es:[edi], dword [esi]
pushal
mov esi, dword [ebp - 8]
mov eax, dword [esi]
mov edx, dword [esi + 4]
mov esi, dword [ebp - 4]
mov edi, dword [ebp + 0x14]
push ebp
mov ecx, 0x20
mov ebp, eax
add eax, dword [esi]
sub eax, dword [esi + 0x80]
add esi, 4
movzx ebx, al
xor edx, dword [edi + ebx*4]
mov bl, ah
xor edx, dword [edi + ebx*4 + 0x400]
shr eax, 0x10
mov bl, ah
xor edx, dword [edi + ebx*4 + 0xc00]
mov bl, al
xor edx, dword [edi + ebx*4 + 0x800]
mov eax, edx
mov edx, ebp
loop 0x4616d4
pop ebp
mov esi, dword [ebp - 0xc]
mov dword [esi], edx
mov dword [esi + 4], eax
popal
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 8], 0x50e3d0
mov eax, dword [ecx]
add dword [ebp - 0x30], eax
mov eax, dword [ecx + 4]
add dword [ebp - 0x2c], eax
lea eax, [ebp - 0x28]
mov dword [ebp - 0xc], eax
pushal
mov esi, dword [ebp - 8]
mov eax, dword [esi]
mov edx, dword [esi + 4]
mov esi, dword [ebp - 4]
mov edi, dword [ebp + 0x14]
push ebp
mov ecx, 0x20
mov ebp, eax
add eax, dword [esi]
sub eax, dword [esi + 0x80]
add esi, 4
movzx ebx, al
xor edx, dword [edi + ebx*4]
mov bl, ah
xor edx, dword [edi + ebx*4 + 0x400]
shr eax, 0x10
mov bl, ah
xor edx, dword [edi + ebx*4 + 0xc00]
mov bl, al
xor edx, dword [edi + ebx*4 + 0x800]
mov eax, edx
mov edx, ebp
loop 0x461745
pop ebp
mov esi, dword [ebp - 0xc]
mov dword [esi], edx
mov dword [esi + 4], eax
popal
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 8], 0x50e3d8
mov eax, dword [ecx + 8]
add dword [ebp - 0x28], eax
mov eax, dword [ecx + 0xc]
add dword [ebp - 0x24], eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0xc], eax
pushal
mov esi, dword [ebp - 8]
mov eax, dword [esi]
mov edx, dword [esi + 4]
mov esi, dword [ebp - 4]
mov edi, dword [ebp + 0x14]
push ebp
mov ecx, 0x20
mov ebp, eax
add eax, dword [esi]
sub eax, dword [esi + 0x80]
add esi, 4
movzx ebx, al
xor edx, dword [edi + ebx*4]
mov bl, ah
xor edx, dword [edi + ebx*4 + 0x400]
shr eax, 0x10
mov bl, ah
xor edx, dword [edi + ebx*4 + 0xc00]
mov bl, al
xor edx, dword [edi + ebx*4 + 0x800]
mov eax, edx
mov edx, ebp
loop 0x4617b7
pop ebp
mov esi, dword [ebp - 0xc]
mov dword [esi], edx
mov dword [esi + 4], eax
popal
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 8], 0x50e3e0
mov eax, dword [ecx + 0x10]
add dword [ebp - 0x20], eax
mov eax, dword [ecx + 0x14]
add dword [ebp - 0x1c], eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0xc], eax
pushal
mov esi, dword [ebp - 8]
mov eax, dword [esi]
mov edx, dword [esi + 4]
mov esi, dword [ebp - 4]
mov edi, dword [ebp + 0x14]
push ebp
mov ecx, 0x20
mov ebp, eax
add eax, dword [esi]
sub eax, dword [esi + 0x80]
add esi, 4
movzx ebx, al
xor edx, dword [edi + ebx*4]
mov bl, ah
xor edx, dword [edi + ebx*4 + 0x400]
shr eax, 0x10
mov bl, ah
xor edx, dword [edi + ebx*4 + 0xc00]
mov bl, al
xor edx, dword [edi + ebx*4 + 0x800]
mov eax, edx
mov edx, ebp
loop 0x461829
pop ebp
mov esi, dword [ebp - 0xc]
mov dword [esi], edx
mov dword [esi + 4], eax
popal
mov ecx, dword [ebp + 0xc]
push 0x20
mov eax, dword [ecx + 0x18]
add dword [ebp - 0x18], eax
mov eax, dword [ecx + 0x1c]
add dword [ebp - 0x14], eax
lea eax, [ebp - 0x30]
push eax
push dword [ebp + 8]
call fcn.004d0d60
add esp, 0xc
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 4]
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 4]
mov ecx, 0x10
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esi]
mov dword [edi + 0x1c], eax
mov eax, dword [esi + 4]
mov dword [edi + 0x18], eax
mov eax, dword [esi + 8]
mov dword [edi + 0x14], eax
mov eax, dword [esi + 0xc]
mov dword [edi + 0x10], eax
mov eax, dword [esi + 0x10]
mov dword [edi + 0xc], eax
mov eax, dword [esi + 0x14]
mov dword [edi + 8], eax
mov eax, dword [esi + 0x18]
mov dword [edi + 4], eax
mov eax, dword [esi + 0x1c]
mov dword [edi], eax
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp - 0x10]
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x10]
mov ecx, 0x10
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esi]
mov dword [edi + 0x1c], eax
mov eax, dword [esi + 4]
mov dword [edi + 0x18], eax
mov eax, dword [esi + 8]
mov dword [edi + 0x14], eax
mov eax, dword [esi + 0xc]
mov dword [edi + 0x10], eax
mov eax, dword [esi + 0x10]
mov dword [edi + 0xc], eax
mov eax, dword [esi + 0x14]
mov dword [edi + 8], eax
mov eax, dword [esi + 0x18]
mov dword [edi + 4], eax
mov eax, dword [esi + 0x1c]
mov dword [edi], eax
pushal
mov esi, dword [ebp + 0x10]
mov eax, dword [esi]
mov edx, dword [esi + 4]
mov esi, dword [ebp - 4]
mov edi, dword [ebp + 0x14]
push ebp
mov ecx, 0x20
mov ebp, eax
add eax, dword [esi]
sub eax, dword [esi + 0x80]
add esi, 4
movzx ebx, al
xor edx, dword [edi + ebx*4]
mov bl, ah
xor edx, dword [edi + ebx*4 + 0x400]
shr eax, 0x10
mov bl, ah
xor edx, dword [edi + ebx*4 + 0xc00]
mov bl, al
xor edx, dword [edi + ebx*4 + 0x800]
mov eax, edx
mov edx, ebp
loop 0x461929
pop ebp
mov esi, dword [ebp + 0x10]
mov dword [esi], edx
mov dword [esi + 4], eax
popal
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret