Function at 0x495660
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x390
mov eax, dword [ebp + 0x1c]
mov edi, dword [ebp + 0x18]
cmp edi, eax
jne 0x495c0c
mov esi, dword [ebp + 8]
mov edi, dword [esi + 0x48]
mov eax, dword [edi + 0x48]
cmp dword [edi + 0x50], eax
mov dword [esp + 0x14], eax
jb 0x495c2f
mov eax, dword [ebp + 0x14]
movsd xmm1, qword [esi + 8]
xorps xmm0, xmm0
movsd xmm2, qword [esi + 0x10]
movsd xmm3, qword [esi]
lea ebx, [esp + 0x78]
movaps xmmword [esp + 0x210], xmm0
movaps xmmword [esp + 0x200], xmm0
movaps xmmword [esp + 0x1f0], xmm0
movaps xmmword [esp + 0x1e0], xmm0
movaps xmmword [esp + 0x1d0], xmm0
movaps xmmword [esp + 0x1c0], xmm0
movaps xmmword [esp + 0x1b0], xmm0
movaps xmmword [esp + 0x1a0], xmm0
mov dword [esp + 0xc], eax
mov eax, dword [esi + 0x40]
movsd qword [esp + 0x228], xmm1
movsd xmm1, qword [esi + 0x18]
movsd qword [esp + 0x230], xmm2
movsd xmm2, qword [esi + 0x20]
movsd qword [esp + 0x220], xmm3
mov dword [esp + 0x28], eax
mov eax, dword [esi + 0x44]
movsd qword [esp + 0x238], xmm1
movsd xmm1, qword [esi + 0x28]
movsd qword [esp + 0x240], xmm2
movsd xmm2, qword [esi + 0x30]
mov dword [esp + 0x24], eax
lea eax, [esi + 0x50]
movsd qword [esp + 0x248], xmm1
movsd xmm1, qword [esi + 0x38]
movsd qword [esp + 0x250], xmm2
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 0x90]
movsd qword [esp + 0x258], xmm1
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0x94]
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0x98]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x1a0]
push 0xc0
push eax
push ebx
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebp + 0x10]
add esp, 0xc
mov ecx, dword [esp + 0x24]
movsd xmm1, qword [esi + 0x58]
movsd xmm2, qword [esi + 0x60]
movsd xmm0, qword [esi + 0x50]
mov edx, dword [esp + 0x18]
test eax, eax
mov dword [esp + 0x30], edi
mov dword [esp + 0x13c], ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x138], ecx
mov dword [esp + 0x140], edi
mov dword [esp + 0x148], 0
movsd qword [esp + 0x158], xmm1
movsd xmm1, qword [esi + 0x68]
movsd qword [esp + 0x160], xmm2
movsd xmm2, qword [esi + 0x70]
mov ecx, dword [esp + 0x1c]
movsd qword [esp + 0x150], xmm0
movsd qword [esp + 0x168], xmm1
movsd xmm1, qword [esi + 0x78]
movsd qword [esp + 0x170], xmm2
movsd xmm2, qword [esi + 0x80]
movsd qword [esp + 0x178], xmm1
movsd xmm1, qword [esi + 0x88]
mov esi, dword [esp + 0x20]
movsd qword [esp + 0x180], xmm2
movsd qword [esp + 0x188], xmm1
mov dword [esp + 0x194], ecx
mov dword [esp + 0x190], esi
mov dword [esp + 0x198], edx
je 0x495a13
mov edi, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x18]
mov byte [esp + 0xb], 1
lea esi, [edi + eax*8]
mov dword [esp + 0x10], ecx
nop dword [eax]
push dword [edi + 4]
push dword [edi]
push ebx
call fcn.0048f8e0
add esp, 0xc
add edi, 8
cmp edi, esi
jne 0x495880
movzx eax, byte [esp + 0xb]
mov byte [esp + 0x260], al
push 1
lea edi, [esp + 0x264]
push edi
push ebx
call fcn.0048f8e0
add esp, 0xc
push 0x128
push ebx
push edi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
push edi
lea eax, [esp + 0x38]
push eax
call fcn.004906e0
add esp, 8
mov eax, dword [esp + 0x34]
mov eax, dword [eax + 0x48]
cmp eax, 0x41
jae 0x495be3
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edi, edx
sub edi, ecx
jb 0x495bf0
cmp ecx, eax
jne 0x495c19
push ecx
lea eax, [esp + 0x3c]
push eax
push dword [esp + 0x14]
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
test edi, edi
je 0x495c06
push 0xc0
lea eax, [esp + 0x1a4]
push eax
push ebx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, dword [esp + 0x2c]
movsd xmm1, qword [eax + 8]
movsd xmm2, qword [eax + 0x10]
movsd xmm0, qword [eax]
movsd qword [ebx + 0xe0], xmm1
movsd xmm1, qword [eax + 0x18]
movsd qword [ebx + 0xe8], xmm2
movsd xmm2, qword [eax + 0x20]
movsd qword [ebx + 0xd8], xmm0
movsd qword [ebx + 0xf0], xmm1
movsd xmm1, qword [eax + 0x28]
movsd qword [ebx + 0xf8], xmm2
movsd xmm2, qword [eax + 0x30]
movsd qword [ebx + 0x100], xmm1
movsd xmm1, qword [eax + 0x38]
mov eax, dword [esp + 0x24]
movsd qword [ebx + 0x108], xmm2
movsd qword [ebx + 0x110], xmm1
mov dword [esp + 0x13c], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x138], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x140], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x148], 0
mov dword [esp + 0x194], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x190], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x198], eax
push dword [esp + 0x14]
lea eax, [esp + 0x3c]
push eax
push ebx
call fcn.0048f8e0
add esp, 0xc
inc byte [esp + 0xb]
je 0x495c25
mov eax, dword [esp + 0x14]
mov dword [esp + 0x10], edi
mov edi, dword [ebp + 0xc]
add dword [esp + 0xc], eax
jmp 0x495880
mov byte [esp + 0x260], 1
lea esi, [esp + 0x260]
push 1
push esi
push ebx
call fcn.0048f8e0
add esp, 0xc
push 0x128
push ebx
push esi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
lea eax, [esp + 0x34]
push esi
push eax
call fcn.004906e0
add esp, 8
mov eax, dword [esp + 0x34]
mov eax, dword [eax + 0x48]
cmp eax, 0x40
ja 0x495be3
mov edx, dword [ebp + 0x18]
mov ecx, dword [esp + 0x14]
mov byte [esp + 0xb], 1
mov esi, edx
nop dword [eax]
sub esi, ecx
jb 0x495bf0
cmp ecx, eax
mov dword [esp + 0x10], esi
jne 0x495c19
mov esi, edx
push ecx
lea eax, [esp + 0x3c]
push eax
push dword [esp + 0x14]
mov edi, ecx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
cmp esi, edi
je 0x495c06
push 0xc0
lea eax, [esp + 0x1a4]
push eax
push ebx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, dword [esp + 0x2c]
movsd xmm1, qword [eax + 8]
movsd xmm2, qword [eax + 0x10]
movsd xmm0, qword [eax]
movsd qword [ebx + 0xe0], xmm1
movsd xmm1, qword [eax + 0x18]
movsd qword [ebx + 0xe8], xmm2
movsd xmm2, qword [eax + 0x20]
movsd qword [ebx + 0xd8], xmm0
movsd qword [ebx + 0xf0], xmm1
movsd xmm1, qword [eax + 0x28]
movsd qword [ebx + 0xf8], xmm2
movsd xmm2, qword [eax + 0x30]
movsd qword [ebx + 0x100], xmm1
movsd xmm1, qword [eax + 0x38]
mov eax, dword [esp + 0x24]
movsd qword [ebx + 0x108], xmm2
movsd qword [ebx + 0x110], xmm1
mov dword [esp + 0x13c], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x138], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x140], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x148], 0
mov dword [esp + 0x194], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x190], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x198], eax
push edi
lea eax, [esp + 0x3c]
push eax
push ebx
call fcn.0048f8e0
add esp, 0xc
movzx eax, byte [esp + 0xb]
inc al
je 0x495c25
add dword [esp + 0xc], edi
mov byte [esp + 0xb], al
mov byte [esp + 0x260], al
push 1
lea esi, [esp + 0x264]
push esi
push ebx
call fcn.0048f8e0
add esp, 0xc
push 0x128
push ebx
push esi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
push esi
lea eax, [esp + 0x38]
push eax
call fcn.004906e0
add esp, 8
mov eax, dword [esp + 0x34]
mov esi, dword [esp + 0x10]
mov ecx, edi
mov eax, dword [eax + 0x48]
mov edx, esi
cmp eax, 0x40
jbe 0x495a70
push 0x528288
push 0x40
push eax
call fcn.00500430
cmp edx, eax
lea ecx, [esp + 0x38]
ja 0x495c40
push edx
push ecx
push dword [esp + 0x14]
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, dword [ebp + 0x1c]
mov edi, dword [ebp + 0x18]
cmp edi, eax
setne al
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x5285e4
push eax
push ecx
call fcn.005008b0
push 0x528604
call fcn.00500310
push 0x5285c0
push 0x43
push str.assertion_failed:_digest_alg.block_len_____digest_alg.output_len__C:Userslucak.cargo_registry_srcindex.crates.io_6f17d22bba15001f_ring_0.17.8_srchkdf.rs
call fcn.005005f0
push 0x5285f4
push eax
push edx
call fcn.00500430
int3