Function at 0x45cad0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0xd8
call fcn.00580860
mov eax, dword [0x64ef14]
xor eax, esp
mov dword [esp + 0xd4], eax
mov edx, dword [esp + 0xdc]
mov eax, dword [esp + 0xe4]
mov ecx, dword [esp + 0xe8]
push ebx
mov ebx, dword [esp + 0xe4]
push esi
push edi
mov edi, dword [edx + 0x64]
mov dword [esp + 0xc], eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], edx
mov esi, dword [edi + 0xc8]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x24], edi
mov dword [esp + 0x18], esi
lea eax, [esi + 0x10]
cmp ecx, eax
je 0x45cb4a
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov ecx, dword [esp + 0xd4]
xor ecx, esp
call fcn.0057ffc6
add esp, 0xd8
ret
lea eax, [esp + 0x40]
mov dword [edi + 0x20], 0
neg eax
lea ecx, [esp + 0x40]
and eax, 0xf
add ecx, eax
mov dword [esp + 0x2c], ecx
push ebp
lea eax, [ecx + 0x30]
mov dword [esp + 0x2c], eax
lea eax, [edi + 0x20]
lea ebp, [ecx + 0x40]
mov dword [esp + 0x14], ebp
push eax
push edi
cmp esi, 0x40
ja 0x45cd7f
push 0x80
push 0x5c1bd0
push ecx
mov dword [esp + 0x50], 0x80
call fcn.00401600
push dword [esp + 0x44]
lea eax, [edi + 0xd0]
push eax
call fcn.00480170
mov eax, dword [esp + 0x48]
movups xmm0, xmmword [edi + 0x94]
mov dword [edi + 0x70], 0
push dword [esp + 0x40]
movups xmmword [eax], xmm0
mov dword [edi + 0xa8], 0xd
mov dword [edi + 0xac], 0
mov dword [edi + 0xb0], esi
mov dword [edi + 0xb4], 0
call fcn.004860c0
add esp, 0x20
xor ebp, ebp
test eax, eax
je 0x45cc3e
test esi, esi
je 0x45cd53
mov eax, dword [esp + 0x14]
mov ebp, esi
mov ecx, dword [esp + 0x10]
mov edx, eax
sub ecx, eax
mov dword [esp + 0x34], ecx
mov ecx, ebx
mov ebx, dword [esp + 0x34]
sub ecx, eax
mov edi, ecx
nop dword [eax + eax]
movzx ecx, byte [ebx + edx]
lea edx, [edx + 1]
movzx eax, byte [edx - 1]
xor ecx, eax
mov byte [edx - 1], cl
mov byte [edi + edx - 1], cl
sub esi, 1
jne 0x45cc20
jmp 0x45cd4b
test esi, esi
je 0x45cd53
mov ecx, dword [esp + 0x14]
cmp esi, 0x20
jb 0x45cd0a
lea eax, [ebx - 1]
xor ebp, ebp
lea edx, [ecx - 1]
add eax, esi
add edx, esi
mov dword [esp + 0x18], edx
cmp ecx, eax
ja 0x45cc6f
cmp edx, ebx
jae 0x45cd0a
mov edx, dword [esp + 0x10]
lea eax, [edx - 1]
add eax, esi
cmp ecx, eax
ja 0x45cc86
cmp dword [esp + 0x18], edx
jae 0x45cd0e
cmp ebx, eax
ja 0x45cc93
lea eax, [ebx - 1]
add eax, esi
cmp eax, edx
jae 0x45cd0e
mov eax, esi
lea edi, [ebx + 0x10]
and eax, 0xffffffe0
mov edx, ecx
mov dword [esp + 0x34], eax
mov eax, ebx
sub eax, ecx
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 0x38]
sub eax, ebx
mov ebx, dword [esp + 0x34]
mov ecx, eax
nop dword [eax]
movups xmm0, xmmword [edx]
lea eax, [edx + esi]
add ebp, 0x20
lea edx, [edx + 0x20]
lea edi, [edi + 0x20]
movups xmm1, xmmword [eax + ecx]
pxor xmm0, xmm1
movups xmmword [eax], xmm0
movups xmm2, xmmword [ecx + edi - 0x20]
movups xmmword [edx - 0x20], xmm1
movaps xmm1, xmm2
movups xmm0, xmmword [edx - 0x10]
movups xmmword [edx - 0x10], xmm2
pxor xmm1, xmm0
movups xmmword [edi - 0x20], xmm1
cmp ebp, ebx
jb 0x45ccc0
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x28]
mov ebx, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
cmp ebp, esi
jae 0x45cd53
mov eax, dword [esp + 0x20]
lea ebx, [ecx + ebp]
mov edi, edx
sub esi, ebp
sub edi, eax
sub eax, ecx
add ebp, esi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x38], ebp
mov ebp, eax
nop dword [eax]
mov al, byte [ebx]
lea ecx, [ebx + ebp]
mov dl, byte [edi + ecx]
lea ebx, [ebx + 1]
xor al, dl
mov byte [ebx - 1], dl
mov byte [ecx], al
sub esi, 1
jne 0x45cd30
mov ebp, dword [esp + 0x38]
mov ebx, dword [esp + 0x20]
mov edi, dword [esp + 0x28]
mov eax, dword [esp + 0x14]
mov esi, ebp
neg esi
add eax, ebp
and esi, 0xf
push esi
push 0
push eax
call fcn.00599040
mov ecx, dword [esp + 0x20]
lea eax, [esi + ebp]
add esp, 0xc
lea edx, [eax + 0x10]
add ecx, eax
mov esi, ebp
jmp 0x45ce65
push 0x40
push 0x5c1bd0
push ecx
mov dword [esp + 0x50], 0x40
call fcn.00401600
push dword [esp + 0x44]
lea eax, [edi + 0xd0]
push eax
call fcn.00480170
push 0x10
lea eax, [edi + 0x94]
mov dword [edi + 0x20], 1
push eax
lea eax, [edi + 0xd0]
mov dword [edi + 0x70], 0
push eax
call fcn.00480240
push dword [esp + 0x4c]
mov dword [esp + 0x58], ebp
mov dword [edi + 0xa8], 0xd
mov dword [edi + 0xac], 0
mov dword [edi + 0xb0], esi
mov dword [edi + 0xb4], 0
call fcn.004860c0
add esp, 0x2c
test eax, eax
je 0x45ce1f
lea eax, [edi + 0x20]
push eax
push edi
push esi
push dword [esp + 0x1c]
push ebx
call fcn.00401600
push esi
lea eax, [edi + 0xd0]
push ebx
push eax
call fcn.00480240
jmp 0x45ce3e
mov ebp, dword [esp + 0x10]
lea eax, [edi + 0xd0]
push esi
push ebp
push eax
call fcn.00480240
lea eax, [edi + 0x20]
push eax
push edi
push esi
push ebp
push ebx
call fcn.00401600
add esp, 0x20
mov eax, esi
neg eax
and eax, 0xf
push eax
lea eax, [edi + 0xd0]
push 0x5c1bd0
push eax
call fcn.00480240
mov ecx, dword [esp + 0x20]
add esp, 0xc
mov ebp, esi
xor edx, edx
mov eax, dword [esp + 0x10]
movups xmm0, xmmword [edi + 0xa8]
add eax, esi
lea esi, [ebx + ebp]
mov ebp, dword [esp + 0x2c]
lea ebx, [edi + 0xd0]
mov dword [esp + 0x1c], eax
lea eax, [edx + 0x10]
push eax
push ebp
push ebx
movups xmmword [ecx], xmm0
call fcn.00480240
push dword [esp + 0x48]
push dword [esp + 0x40]
call fcn.00401320
push dword [esp + 0x38]
call fcn.004860c0
add esp, 0x18
test eax, eax
lea eax, [edi + 0x84]
jne 0x45ceb6
mov eax, ebp
push eax
push ebx
call fcn.004800f0
push dword [esp + 0x2c]
mov dword [edi + 0xc8], 0xffffffff
call fcn.004860c0
add esp, 0xc
test eax, eax
je 0x45cefe
movups xmm0, xmmword [edi + 0x84]
movups xmmword [esi], xmm0
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0xe4]
pop ebp
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0057ffc6
add esp, 0xd8
ret
push 0x10
push dword [esp + 0x20]
push ebp
call fcn.00401390
add esp, 0xc
test eax, eax
je 0x45cee1
mov ecx, dword [esp + 0x40]
sub esi, ecx
add esi, 0x10
lea eax, [ecx - 0x10]
push eax
push 0
push esi
call fcn.00599040
add esp, 0xc
or eax, 0xffffffff
jmp 0x45cee5