Function at 0x45d4e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 8]
push ebx
mov ebx, ecx
push esi
lea eax, [eax*2 + 1]
movzx eax, ax
mov dword [ebx + 0x70], eax
mov eax, dword [ebx + 8]
push edi
mov ecx, dword [eax + 4]
mov eax, dword [eax + 8]
cdq
mov edi, eax
mov dword [ebp - 4], ecx
xor edi, edx
xor ecx, ecx
sub edi, edx
mov edx, 4
mov eax, edi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0044f5a2
mov esi, eax
add esp, 4
xor edx, edx
mov dword [ebp + 8], esi
mov ecx, esi
test edi, edi
jle 0x45d5ca
cmp edi, 0x10
jb 0x45d5b9
movaps xmm1, xmmword [0x4d8830]
mov eax, edi
and eax, 0x8000000f
jns 0x45d554
dec eax
or eax, 0xfffffff0
inc eax
mov esi, edi
sub esi, eax
nop dword [eax + eax]
movd xmm0, edx
lea eax, [edx + 4]
pshufd xmm0, xmm0, 0
paddd xmm0, xmm1
movups xmmword [ecx], xmm0
movd xmm0, eax
lea eax, [edx + 8]
pshufd xmm0, xmm0, 0
paddd xmm0, xmm1
movups xmmword [ecx + 0x10], xmm0
movd xmm0, eax
lea eax, [edx + 0xc]
pshufd xmm0, xmm0, 0
add edx, 0x10
paddd xmm0, xmm1
movups xmmword [ecx + 0x20], xmm0
movd xmm0, eax
pshufd xmm0, xmm0, 0
paddd xmm0, xmm1
movups xmmword [ecx + 0x30], xmm0
add ecx, 0x40
cmp edx, esi
jl 0x45d560
mov esi, dword [ebp + 8]
cmp edx, edi
jge 0x45d5ca
nop dword [eax]
mov dword [ecx], edx
lea ecx, [ecx + 4]
inc edx
cmp edx, edi
jl 0x45d5c0
mov dword [ebp - 0xc], 0
test edi, edi
jle 0x45d606
jmp 0x45d5da
mov esi, dword [ebp + 8]
push edi
mov ecx, ebx
call fcn.0045d760
push edi
mov ecx, ebx
lea esi, [esi + eax*4]
call fcn.0045d760
mov ecx, dword [ebp + 8]
lea edx, [ecx + eax*4]
mov ecx, dword [esi]
mov eax, dword [edx]
mov dword [esi], eax
mov eax, dword [ebp - 0xc]
inc eax
mov dword [edx], ecx
mov dword [ebp - 0xc], eax
cmp eax, edi
jl 0x45d5d7
mov eax, dword [ebx + 8]
push 0
mov eax, dword [eax + 4]
add eax, 3
and eax, 0xfffffffc
push eax
call fcn.004898f0
mov edx, dword [ebx + 8]
lea esi, [edi - 1]
add esp, 8
mov dword [ebp - 0xc], eax
cmp byte [ebp + 0xc], 0
mov dword [ebp - 8], esi
push dword [ebp - 4]
je 0x45d6bf
mov eax, dword [ebp + 8]
sub eax, 4
lea ecx, [eax + edi*4]
mov eax, dword [edx + 8]
cdq
mov edi, eax
mov eax, ecx
xor edi, edx
sub edi, edx
mov edx, dword [ebx + 8]
sub edi, dword [eax]
sub eax, 4
dec edi
mov dword [ebp + 0xc], eax
mov ecx, dword [edx + 4]
add ecx, 3
and ecx, 0xfffffffc
imul edi, ecx
add edi, dword [ebx + 0xc]
push edi
push dword [ebp - 0xc]
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
test esi, esi
jle 0x45d734
nop word [eax + eax]
mov ecx, dword [ebx + 8]
push dword [ebp - 4]
mov eax, dword [ecx + 8]
mov ecx, dword [ecx + 4]
cdq
add ecx, 3
mov esi, eax
and ecx, 0xfffffffc
mov eax, dword [ebp + 0xc]
xor esi, edx
sub esi, edx
sub esi, dword [eax]
sub eax, 4
dec esi
mov dword [ebp + 0xc], eax
imul esi, ecx
add esi, dword [ebx + 0xc]
push esi
push edi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov edi, esi
sub dword [ebp - 8], 1
jne 0x45d680
jmp 0x45d734
mov eax, dword [edx + 8]
mov ecx, dword [ebp + 8]
cdq
mov edi, eax
xor edi, edx
sub edi, edx
mov edx, dword [ebx + 8]
sub edi, dword [ecx]
dec edi
mov eax, dword [edx + 4]
add eax, 3
and eax, 0xfffffffc
imul edi, eax
lea eax, [ecx + 4]
mov dword [ebp + 0xc], eax
add edi, dword [ebx + 0xc]
push edi
push dword [ebp - 0xc]
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
test esi, esi
jle 0x45d734
mov ecx, dword [ebx + 8]
push dword [ebp - 4]
mov eax, dword [ecx + 8]
mov ecx, dword [ecx + 4]
cdq
add ecx, 3
mov esi, eax
and ecx, 0xfffffffc
mov eax, dword [ebp + 0xc]
xor esi, edx
sub esi, edx
sub esi, dword [eax]
add eax, 4
dec esi
mov dword [ebp + 0xc], eax
imul esi, ecx
add esi, dword [ebx + 0xc]
push esi
push edi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov edi, esi
sub dword [ebp - 8], 1
jne 0x45d6f7
push dword [ebp - 4]
mov ebx, dword [ebp - 0xc]
push ebx
push edi
call sub.VCRUNTIME140.dll_memcpy
push 0
push ebx
call fcn.00489940
push dword [ebp + 8]
call fcn.0044f34c
add esp, 0x18
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8