Function at 0x459e70
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov edx, dword [ebp + 0x18]
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov eax, dword [edx + 8]
mov ecx, dword [edx + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x20], eax
mov eax, dword [edx + 4]
xor eax, ebx
mov dword [ebp - 0x1c], ecx
mov ecx, dword [edx]
mov dword [ebp + 0x14], eax
lea eax, [ebp - 0x20]
push edi
mov edi, dword [ebp + 0x10]
xor ecx, edi
push eax
lea eax, [ebp + 0x10]
mov dword [ebp + 0x10], ecx
push eax
call fcn.004568c0
mov ecx, dword [ebp + 0x10]
add esp, 8
mov eax, dword [ebp + 0x14]
xor ecx, dword [ebp - 0x20]
xor eax, dword [ebp - 0x1c]
xor edi, ecx
mov edx, dword [ebp + 0xc]
xor ebx, eax
cmp edx, 0x10
ja 0x459f7e
cmp edx, 4
jb 0x459f05
mov ecx, edx
mov dword [ebp + 8], 0
shr ecx, 1
mov eax, esi
and ecx, 0x7ffffffc
sub eax, ecx
mov eax, dword [eax + edx - 4]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
or eax, dword [esi + edx - 4]
mov edx, dword [ecx + esi]
mov dword [ebp + 8], eax
xor eax, eax
or eax, dword [esi]
mov esi, eax
jmp 0x45a10e
xorps xmm0, xmm0
movlpd qword [ebp - 0x20], xmm0
test edx, edx
je 0x459f62
mov eax, edx
shr eax, 1
movzx eax, byte [eax + esi]
cdq
mov ecx, eax
mov dword [ebp + 0x14], edx
movzx eax, byte [esi]
cdq
shld edx, eax, 8
shl eax, 8
or ecx, eax
mov eax, dword [ebp + 0x14]
or eax, edx
shld eax, ecx, 8
mov dword [ebp + 0x14], eax
mov eax, dword [ebp + 0xc]
shl ecx, 8
movzx eax, byte [esi + eax - 1]
mov esi, dword [ebp + 0x14]
cdq
or ecx, eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0xc], ecx
or esi, edx
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0xc]
mov dword [ebp + 8], eax
mov dword [ebp - 4], ecx
jmp 0x45a10e
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
movlpd qword [ebp + 0x10], xmm0
mov esi, dword [ebp + 0x14]
mov edx, dword [ebp + 0x10]
mov dword [ebp + 8], eax
mov dword [ebp - 4], ecx
jmp 0x45a10e
mov eax, edx
mov dword [ebp + 8], eax
cmp edx, 0x30
jbe 0x45a09e
mov edx, dword [ebp + 0x18]
mov dword [ebp + 0x14], edi
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], edi
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x10], eax
mov eax, dword [edx + 0x14]
mov dword [ebp - 0x14], eax
mov eax, dword [edx + 0x18]
mov dword [ebp - 0x18], eax
mov eax, dword [edx + 0x1c]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 0xc]
mov ecx, dword [edx + 8]
xor eax, ebx
xor ecx, dword [esi]
xor edi, dword [esi + 8]
mov dword [ebp - 0x2c], eax
mov eax, dword [esi + 4]
xor eax, dword [edx + 0xc]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x28]
mov dword [ebp - 0x30], edi
push eax
mov dword [ebp - 0x28], ecx
call fcn.004568c0
mov eax, dword [esi + 0x1c]
xor eax, dword [ebp - 8]
mov ecx, dword [ebp + 0x14]
xor ecx, dword [esi + 0x18]
mov edi, dword [ebp - 0x28]
mov ebx, dword [ebp - 0x24]
xor edi, dword [ebp - 0x30]
xor ebx, dword [ebp - 0x2c]
mov dword [ebp - 0x3c], eax
mov eax, dword [esi + 0x14]
xor eax, dword [ebp - 0x14]
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x40]
mov dword [ebp - 0x40], ecx
mov ecx, dword [ebp - 0x10]
xor ecx, dword [esi + 0x10]
push eax
lea eax, [ebp - 0x38]
mov dword [ebp - 0x38], ecx
push eax
call fcn.004568c0
mov eax, dword [ebp - 0x38]
xor eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0xc]
xor ecx, dword [esi + 0x28]
mov dword [ebp + 0x14], eax
mov eax, dword [ebp - 0x34]
xor eax, dword [ebp - 0x3c]
mov dword [ebp - 8], eax
mov eax, dword [esi + 0x2c]
xor eax, dword [ebp - 4]
mov dword [ebp - 0x4c], eax
mov eax, dword [esi + 0x24]
xor eax, dword [ebp - 0x1c]
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x50]
mov dword [ebp - 0x50], ecx
mov ecx, dword [ebp - 0x18]
xor ecx, dword [esi + 0x20]
push eax
lea eax, [ebp - 0x48]
mov dword [ebp - 0x48], ecx
push eax
call fcn.004568c0
mov eax, dword [ebp - 0x44]
add esp, 0x18
xor eax, dword [ebp - 0x4c]
add esi, 0x30
mov ecx, dword [ebp - 0x48]
xor ecx, dword [ebp - 0x50]
mov edx, dword [ebp + 0x18]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
sub eax, 0x30
mov dword [ebp - 0xc], ecx
mov dword [ebp + 8], eax
cmp eax, 0x30
ja 0x459fb3
mov edx, dword [ebp - 4]
xor ecx, dword [ebp + 0x14]
xor edx, dword [ebp - 8]
xor edi, ecx
xor ebx, edx
cmp eax, 0x10
jbe 0x45a0f8
add eax, 0xffffffef
shr eax, 4
inc eax
mov dword [ebp + 0x14], eax
mov eax, dword [esi + 0xc]
mov edx, dword [ebp + 0x18]
xor eax, ebx
xor edi, dword [esi + 8]
mov dword [ebp - 0x44], eax
mov eax, dword [esi + 4]
xor eax, dword [edx + 0xc]
mov ecx, dword [edx + 8]
xor ecx, dword [esi]
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x50]
mov dword [ebp - 0x48], edi
push eax
mov dword [ebp - 0x50], ecx
call fcn.004568c0
mov eax, dword [ebp + 8]
add esp, 8
mov edi, dword [ebp - 0x50]
sub eax, 0x10
mov ebx, dword [ebp - 0x4c]
add esi, 0x10
xor edi, dword [ebp - 0x48]
xor ebx, dword [ebp - 0x44]
sub dword [ebp + 0x14], 1
mov dword [ebp + 8], eax
jne 0x45a0a8
mov ecx, dword [eax + esi - 8]
mov edx, dword [eax + esi - 0x10]
mov dword [ebp - 4], ecx
mov ecx, dword [eax + esi - 4]
mov esi, dword [eax + esi - 0xc]
mov dword [ebp + 8], ecx
mov eax, dword [ebp + 0x18]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 0xc]
xor ecx, edx
xor eax, esi
mov dword [ebp - 0x50], ecx
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x4c], eax
xor ecx, ebx
mov eax, dword [ebp - 4]
xor eax, edi
mov dword [ebp + 0x14], ecx
mov dword [ebp + 0x10], eax
lea eax, [ebp + 0x10]
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.004568c0
mov edx, dword [ebp + 0x18]
mov eax, dword [edx + 8]
xor eax, dword [ebp + 0x10]
mov ecx, dword [edx + 0xc]
xor ecx, dword [ebp + 0x14]
mov dword [ebp - 0x48], eax
xor eax, eax
xor eax, dword [edx + 4]
xor eax, dword [ebp - 0x4c]
mov dword [ebp - 0x44], ecx
mov ecx, dword [ebp + 0xc]
xor ecx, dword [edx]
xor ecx, dword [ebp - 0x50]
mov dword [ebp + 0x14], eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp + 0x10]
mov dword [ebp + 0x10], ecx
push eax
call fcn.004568c0
mov eax, dword [ebp + 0x10]
add esp, 0x10
mov edx, dword [ebp + 0x14]
xor eax, dword [ebp - 0x48]
xor edx, dword [ebp - 0x44]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret