Function at 0x480630
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x88
mov esi, esp
mov dword [esi + 0x70], ebp
mov dword [esi + 0x74], esp
mov dword [esi + 0x80], 0xffffffff
mov dword [esi + 0x7c], 0x5387f0
mov dword [esi + 0x14], ecx
mov ecx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [esi + 0x1c], edx
mov eax, dword fs:[0]
mov dword [esi + 0x78], eax
lea eax, [esi + 0x78]
mov dword fs:[0], eax
mov edx, dword [ecx + 8]
mov eax, dword [ecx + 4]
mov ecx, dword [edi + 8]
test edx, edx
mov dword [esi + 0x10], ecx
mov dword [esi + 8], eax
mov dword [esi + 0xc], edx
je 0x4807e7
lea edi, [eax + 5]
lea edx, [edx*8]
mov ecx, 0xcbf29ce4
mov eax, 0x84222325
nop word cs:[eax + eax]
nop
mov dword [esi + 4], edi
mov dword [esi + 0x18], edx
imul ebx, ecx, 0x1b3
mov edx, dword [esi + 4]
mov ecx, dword [esi + 4]
movzx edi, byte [edx - 1]
movzx ecx, byte [ecx]
mov edx, 0x1b3
xor edi, eax
mov eax, edi
shl edi, 8
mul edx
xor ecx, eax
add edi, edx
mov edx, 0x1b3
mov eax, ecx
add ebx, edi
shl ecx, 8
mul edx
imul edi, ebx, 0x1b3
add ecx, edx
mov edx, 0x1b3
add edi, ecx
mov ecx, eax
mov eax, dword [esi + 4]
xor ecx, dword [eax - 5]
mov eax, ecx
shl ecx, 8
mul edx
add ecx, edx
imul edx, edi, 0x1b3
mov edi, dword [esi + 4]
add ecx, edx
mov edx, dword [esi + 0x18]
add edi, 8
add edx, 0xfffffff8
jne 0x4806b0
mov edi, dword [esi + 0x10]
test edi, edi
je 0x4807fc
push 0
push edi
push ecx
push eax
call fcn.0053a3e0
mov ecx, eax
cmp edi, eax
jbe 0x48097e
mov edx, dword [ebp + 8]
mov dword [esi + 0x18], ecx
lea ecx, [ecx + ecx*4]
mov edi, dword [esi + 8]
mov dword [esi + 4], ecx
mov eax, dword [edx + 4]
movzx ecx, word [eax + ecx*4 + 0x10]
cmp cx, word [edx + 0x10]
jne 0x4807a0
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 4]
cmp dword [eax + edx*4 + 8], ecx
jne 0x4807a0
mov ecx, dword [esi + 4]
xor edx, edx
mov ecx, dword [eax + ecx*4 + 4]
cmp dword [esi + 0xc], edx
je 0x480961
movzx ebx, byte [ecx + edx*8 + 4]
cmp bl, byte [edi + edx*8 + 4]
jne 0x4807a0
movzx ebx, byte [ecx + edx*8 + 5]
cmp bl, byte [edi + edx*8 + 5]
jne 0x4807a0
mov edi, dword [ecx + edx*8]
mov ebx, dword [esi + 8]
cmp edi, dword [ebx + edx*8]
mov edi, dword [esi + 8]
lea edx, [edx + 1]
je 0x480770
mov eax, dword [esi + 0xc]
test eax, eax
je 0x480826
cmp eax, 0xfffffff
ja 0x4809b6
lea ebx, [eax*8]
test ebx, ebx
js 0x4809cb
movzx eax, byte [0x5b9430]
xor ecx, ecx
mov edx, ebx
call fcn.0051b940
test eax, eax
mov dword [esi + 0x80], 0
je 0x4809e0
mov edi, eax
jmp 0x48082d
mov ecx, 0xcbf29ce4
mov eax, 0x84222325
mov edi, dword [esi + 0x10]
test edi, edi
jne 0x48072a
mov byte [esi + 3], 0
mov dword [esi + 0x80], 0
mov ecx, str.attempt_to_calculate_the_remainder_with_a_divisor_of_zero_rustc_25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04librarycore_src_slice_sort.rs
mov edx, 0x39
push 0x557054
call fcn.0053bbd0
add esp, 4
jmp 0x4809f0
xor ebx, ebx
mov edi, 4
push ebx
push dword [esi + 8]
push edi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, dword [esi + 0xc]
mov edx, dword [esi + 0x1c]
mov byte [esi + 3], 0
mov dword [esi + 0x80], 0
lea ecx, [esi + 0x30]
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], eax
lea eax, [esi + 0x20]
mov dword [esi + 0x20], 2
push eax
call fcn.004745f0
add esp, 4
mov eax, dword [esi + 0x30]
mov edi, dword [ebp + 8]
mov ecx, dword [esi + 0x18]
cmp eax, 0x2a
jne 0x4808e5
mov eax, dword [ebp + 0xc]
mov edx, dword [edi + 8]
mov eax, dword [eax]
cmp edx, ecx
mov dword [esi + 0x10], eax
jbe 0x48099d
mov eax, dword [edi + 4]
mov ecx, dword [esi + 4]
cmp dword [eax + ecx*4], 0
lea ebx, [eax + ecx*4]
mov ecx, edi
mov edi, dword [esi + 0x34]
movzx ecx, word [ecx + 0x10]
je 0x4808bf
push dword [ebx + 4]
push 0
push dword [0x5b93c8]
mov word [esi + 4], cx
call dword [sym.imp.kernel32.dll_HeapFree]
movzx ecx, word [esi + 4]
mov eax, dword [esi + 0x10]
mov edx, dword [esi + 0xc]
mov dword [ebx], eax
mov eax, dword [esi + 8]
mov dword [ebx + 4], eax
mov dword [ebx + 8], edx
mov dword [ebx + 0xc], edi
mov word [ebx + 0x10], cx
mov ecx, dword [esi + 0x14]
mov dword [ecx + 4], edi
mov dword [ecx], 0x2a
jmp 0x480950
mov edx, dword [esi + 0x14]
movsd xmm2, qword [esi + 0x60]
movsd xmm1, qword [esi + 0x58]
movsd xmm0, qword [esi + 0x68]
mov ecx, dword [esi + 0x34]
mov edi, dword [esi + 8]
movsd qword [edx + 0x30], xmm2
movsd qword [edx + 0x28], xmm1
movsd xmm2, qword [esi + 0x50]
movsd xmm1, qword [esi + 0x48]
movsd qword [edx + 0x38], xmm0
movsd qword [edx + 0x20], xmm2
movsd qword [edx + 0x18], xmm1
movsd xmm2, qword [esi + 0x40]
movsd xmm1, qword [esi + 0x38]
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 0x480950
push edi
push 0
push dword [0x5b93c8]
call dword [sym.imp.kernel32.dll_HeapFree]
mov eax, dword [esi + 0x78]
mov dword fs:[0], eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, dword [esi + 4]
mov edx, dword [esi + 0x14]
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 0x480941
jmp 0x480950
mov byte [esi + 3], 0
mov dword [esi + 0x80], 0
mov edx, edi
push 0x557064
call fcn.0053bb10
add esp, 4
jmp 0x4809f0
mov dword [esi + 0x80], 1
push 0x557074
call fcn.0053bb10
add esp, 4
jmp 0x4809f0
mov byte [esi + 3], 0
mov dword [esi + 0x80], 0
call fcn.0044e3c0
jmp 0x4809f0
mov byte [esi + 3], 0
mov dword [esi + 0x80], 0
call fcn.0044e3c0
jmp 0x4809f0
mov ecx, 4
mov edx, ebx
mov byte [esi + 3], 0
call fcn.0053b730
ud2