Function at 0x4cf5b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x70
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], ecx
mov ecx, dword [ebp + 8]
mov dword [esp + 0x14], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 4]
mov ecx, dword [ecx + 8]
test edx, edx
mov dword [esp + 8], ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], edx
je 0x4cf72a
lea edi, [eax + 5]
lea edx, [edx*8]
mov ecx, 0xcbf29ce4
mov eax, 0x84222325
nop dword [eax + eax]
movzx esi, byte [edi - 1]
imul ebx, ecx, 0x1b3
movzx ecx, byte [edi]
mov dword [esp], edx
mov edx, 0x1b3
xor esi, eax
mov eax, esi
shl esi, 8
mul edx
xor ecx, eax
add esi, edx
mov edx, 0x1b3
mov eax, ecx
add ebx, esi
shl ecx, 8
mul edx
imul esi, ebx, 0x1b3
add ecx, edx
mov edx, 0x1b3
add esi, ecx
mov ecx, eax
xor ecx, dword [edi - 5]
add edi, 8
mov eax, ecx
shl ecx, 8
mul edx
add ecx, edx
imul edx, esi, 0x1b3
add ecx, edx
mov edx, dword [esp]
add edx, 0xfffffff8
jne 0x4cf600
mov esi, dword [esp + 8]
test esi, esi
je 0x4cf740
push 0
push esi
push ecx
push eax
call fcn.007bcb80
mov ecx, eax
cmp esi, eax
jbe 0x4cf894
mov edx, dword [ebp + 8]
mov dword [esp + 8], ecx
lea ecx, [ecx + ecx*4]
mov edi, dword [esp + 0x10]
mov dword [esp], ecx
mov eax, dword [edx + 4]
movzx ecx, word [eax + ecx*4 + 0x10]
cmp cx, word [edx + 0x10]
jne 0x4cf6eb
mov ecx, dword [esp + 0xc]
mov edx, dword [esp]
cmp dword [eax + edx*4 + 8], ecx
jne 0x4cf6eb
mov ecx, dword [esp]
xor edx, edx
mov ecx, dword [eax + ecx*4 + 4]
nop word cs:[eax + eax]
nop
cmp dword [esp + 0xc], edx
je 0x4cf876
movzx ebx, byte [ecx + edx*8 + 4]
cmp bl, byte [edi + edx*8 + 4]
jne 0x4cf6eb
movzx ebx, byte [ecx + edx*8 + 5]
cmp bl, byte [edi + edx*8 + 5]
jne 0x4cf6eb
mov esi, dword [ecx + edx*8]
cmp esi, dword [edi + edx*8]
lea edx, [edx + 1]
je 0x4cf6c0
mov ebx, dword [esp + 0xc]
test ebx, ebx
je 0x4cf754
cmp ebx, 0xfffffff
ja 0x4cf8aa
lea edi, [ebx*8]
test edi, edi
js 0x4cf8aa
movzx eax, byte [0x94bfc5]
xor ecx, ecx
mov edx, edi
call fcn.0071ee80
test eax, eax
je 0x4cf8af
mov esi, eax
jmp 0x4cf75b
mov ecx, 0xcbf29ce4
mov eax, 0x84222325
mov esi, dword [esp + 8]
test esi, esi
jne 0x4cf66c
mov ecx, str.attempt_to_calculate_the_remainder_with_a_divisor_of_zero_rustc_25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04librarycore_src_slice_sort.rs
mov edx, 0x39
push 0x8506bc
call fcn.007c1ca0
xor edi, edi
mov esi, 4
push edi
mov edi, dword [esp + 0x14]
push edi
push esi
call fcn.007bd9b0
add esp, 0xc
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x18]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], ebx
mov dword [esp + 0x18], 2
lea ecx, [esp + 0x28]
push eax
call fcn.004c6b00
add esp, 4
mov eax, dword [esp + 0x28]
cmp eax, 0x2a
jne 0x4cf7fd
mov edi, dword [ebp + 8]
mov ecx, dword [esp + 8]
mov edx, dword [edi + 8]
cmp edx, ecx
jbe 0x4cf8a0
mov eax, dword [edi + 4]
mov ecx, dword [esp]
mov esi, dword [esp + 0x2c]
movzx edi, word [edi + 0x10]
cmp dword [eax + ecx*4], 0
lea ebx, [eax + ecx*4]
je 0x4cf7d6
push dword [ebx + 4]
push 0
push dword [0x94bf18]
call dword [sym.imp.kernel32.dll_HeapFree]
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx + 8]
mov dword [ebx + 8], eax
mov eax, dword [esp + 4]
movsd xmm0, qword [ecx]
movsd qword [ebx], xmm0
mov dword [ebx + 0xc], esi
mov word [ebx + 0x10], di
mov dword [eax + 4], esi
mov dword [eax], 0x2a
jmp 0x4cf86e
mov edx, dword [esp + 4]
movsd xmm2, qword [esp + 0x58]
movsd xmm1, qword [esp + 0x50]
movsd xmm0, qword [esp + 0x60]
mov ecx, dword [esp + 0x2c]
movsd qword [edx + 0x30], xmm2
movsd qword [edx + 0x28], xmm1
movsd xmm2, qword [esp + 0x48]
movsd xmm1, qword [esp + 0x40]
movsd qword [edx + 0x38], xmm0
movsd qword [edx + 0x20], xmm2
movsd qword [edx + 0x18], xmm1
movsd xmm2, qword [esp + 0x38]
movsd xmm1, qword [esp + 0x30]
movsd qword [edx + 0x10], xmm2
movsd qword [edx + 8], xmm1
mov dword [edx], eax
mov dword [edx + 4], ecx
mov eax, dword [ebp + 0xc]
cmp dword [eax], 0
je 0x4cf86e
push edi
push 0
push dword [0x94bf18]
call dword [sym.imp.kernel32.dll_HeapFree]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, dword [esp]
mov edx, dword [esp + 4]
mov eax, dword [eax + ecx*4 + 0xc]
mov dword [edx + 4], eax
mov dword [edx], 0x2a
mov eax, dword [ebp + 0xc]
cmp dword [eax], 0
jne 0x4cf85f
jmp 0x4cf86e
mov edx, esi
push 0x8506cc
call fcn.007c1be0
push 0x8506dc
call fcn.007c1be0
call fcn.00418cb0
mov ecx, 4
mov edx, edi
call fcn.007c1490
int3