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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xd0
mov esi, dword [ebp + 8]
cmp dword [edx + 0xc], 0
mov dword [esp + 0x54], ecx
je 0x516d75
mov eax, dword [esp + 0x54]
movsd xmm1, qword [edx + 0x30]
movsd xmm2, qword [edx + 0x18]
movsd xmm0, qword [edx + 0x38]
movsd xmm3, qword [edx + 0x20]
lea edi, [esp + 0x80]
mov ecx, 0x12
movsd qword [eax + 0x10], xmm1
movsd xmm1, qword [edx + 0x28]
movsd qword [esp + 0x78], xmm2
movsd xmm2, qword [edx]
movsd qword [eax + 0x18], xmm0
movsd qword [eax], xmm3
movsd qword [eax + 8], xmm1
movsd xmm1, qword [edx + 0x10]
movsd qword [esp + 0x60], xmm2
add eax, 0x20
movsd qword [esp + 0x70], xmm1
movsd xmm1, qword [edx + 8]
movsd qword [esp + 0x68], xmm1
rep movsd dword es:[edi], dword [esi]
lea esi, [esp + 0x60]
mov ecx, 0x1a
mov edi, eax
rep movsd dword es:[edi], dword [esi]
jmp 0x517244
mov eax, dword [esi]
mov ebx, dword [esi + 0x30]
mov ecx, dword [esi + 0xc]
mov edi, dword [esi + 0x34]
mov dword [esp + 0x30], edx
mov dword [esp + 0x38], eax
mov eax, dword [esi + 4]
mov dword [esp + 0x4c], ebx
mov ebx, dword [esi + 8]
mov dword [esp], ecx
mov ecx, dword [esi + 0x14]
mov dword [esp + 0x34], eax
mov eax, dword [esi + 0x40]
mov dword [esp + 8], ebx
mov ebx, dword [esi + 0x10]
mov dword [esp + 0x24], ecx
mov ecx, dword [esi + 0x18]
mov dword [esp + 0x58], eax
mov eax, dword [esi + 0x44]
mov dword [esp + 0x20], ebx
mov ebx, dword [esi + 0x24]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x50], eax
mov eax, dword [esi + 0x20]
mov dword [esp + 4], eax
movzx eax, byte [esi + 0x38]
mov byte [esp + 0x2c], al
mov ecx, dword [edx + 0x20]
mov eax, dword [edx + 0x18]
mov esi, dword [edx + 0x14]
test byte [edx + 0x10], 1
mov dword [esp + 0x1c], ecx
mov ecx, dword [edx + 0x24]
mov dword [esp + 0x10], eax
mov eax, dword [edx + 0x1c]
mov dword [esp + 0x14], ecx
mov ecx, dword [edx + 0x28]
mov edx, dword [edx + 0x2c]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x18], edx
jne 0x516f9a
test esi, esi
mov dword [esp + 0x28], eax
jne 0x516fc3
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
cmp edx, 2
jne 0x517162
test byte [esp + 0x2c], 1
jne 0x516f78
cmp dword [esp + 4], ebx
je 0x516f78
mov eax, dword [ebp + 8]
mov esi, dword [esp + 0x4c]
add ebx, 0xffffffe0
mov ecx, ebx
jmp 0x516e5d
cmp ebx, dword [esp + 4]
lea ecx, [ebx - 0x20]
je 0x516f66
cmp esi, dword [ecx + 0x10]
mov ebx, ecx
mov ecx, edi
sbb ecx, dword [ebx + 0x14]
jae 0x516ec0
mov ecx, dword [esp + 8]
mov edx, dword [esp]
cmp ecx, dword [ebx + 8]
sbb edx, dword [ebx + 0xc]
jae 0x516e50
mov edx, dword [esp + 0x20]
mov ecx, dword [ebx + 4]
cmp dword [ebx], edx
sbb ecx, dword [esp + 0x24]
jae 0x516e50
mov dword [eax + 0x24], ebx
mov eax, dword [esp + 0x48]
mov dword [esp + 0x10], 3
mov ecx, dword [ebx + 0x18]
mov edx, dword [eax + 0x10]
cmp ecx, edx
jae 0x51728d
imul ecx, ecx, 0x150
lea edx, [esp + 0x5c]
add ecx, dword [eax + 0xc]
mov dword [esp + 0x3c], ecx
mov ecx, ebx
jmp 0x516eda
mov dword [eax + 0x24], ebx
mov dword [esp + 0x10], 3
mov byte [eax + 0x38], 1
xor ecx, ecx
mov byte [esp + 0x2c], 1
lea edx, [esp + 0x3c]
mov dword [edx], ecx
mov edx, dword [esp + 0x3c]
test edx, edx
je 0x51724c
lea esi, [esp + 0x68]
mov ecx, esi
push dword [esp + 0x50]
push dword [esp + 0x38]
push dword [esp + 0x40]
call sym.addr2line::ResUnit_LT_R_GT_::find_function_or_location::h261e9d3ed40b0e1a
add esp, 0xc
mov edx, dword [esp + 0x30]
movsd xmm1, qword [esi + 0x30]
movsd xmm2, qword [esi + 0x28]
movsd xmm0, qword [esi + 0x38]
movsd qword [edx + 0x30], xmm1
movsd xmm1, qword [esi + 0x20]
movsd qword [edx + 0x28], xmm2
movsd xmm2, qword [esi + 0x18]
movsd qword [edx + 0x38], xmm0
movsd qword [edx + 0x20], xmm1
movsd xmm1, qword [esi + 0x10]
movsd qword [edx + 0x18], xmm2
movsd xmm2, qword [esi]
movsd qword [edx + 0x10], xmm1
movsd xmm1, qword [esi + 8]
movsd qword [edx], xmm2
mov esi, dword [ebp + 8]
movsd qword [edx + 8], xmm1
cmp dword [edx + 0xc], 0
je 0x516dd2
jmp 0x516cfc
mov dword [eax + 0x24], ebx
mov dword [esp + 0x10], 3
xor esi, esi
jmp 0x517187
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x10], 3
xor esi, esi
mov dword [esp + 4], ecx
mov dword [esp], 2
jmp 0x51717b
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
mov ecx, 1
mov dword [esp], edx
mov edx, dword [esp + 0xc]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x14]
mov dword [esp + 0xc], edx
jmp 0x517189
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 4
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], esi
mov dword [esp + 8], 0
mov dword [esp + 0x20], 4
mov eax, dword [esi + 8]
mov edi, dword [esi + 0xc]
mov edx, dword [esi]
mov ecx, dword [esi + 4]
mov dword [esp], eax
mov dword [esp + 0x4c], edx
mov dword [esp + 0x2c], ecx
jmp 0x517040
mov eax, dword [esp + 0x40]
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x4c]
lea eax, [esi + esi*4]
mov edx, dword [esp + 8]
lea eax, [ecx + eax*8]
mov ecx, dword [esp + 0x20]
mov dword [ecx + edx*4], eax
mov eax, dword [esp + 4]
mov ecx, dword [esp]
inc edx
mov dword [esp + 8], edx
mov dword [esp + 0x44], edx
inc eax
sub edi, eax
lea eax, [eax + eax*2]
lea ecx, [ecx + eax*8]
mov dword [esp], ecx
cmp edi, 1
mov dword [esp + 0x24], edi
mov dword [esp + 4], 0
je 0x5170af
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x51711b
mov dword [esp + 4], 0
jmp 0x51707b
mov dword [esp + 4], edi
sub ecx, edx
cmp ecx, 1
jbe 0x5170af
mov eax, dword [esp + 4]
mov edx, ecx
mov ebx, dword [esp]
mov esi, dword [esp + 8]
shr edx, 1
lea edi, [edx + eax]
lea eax, [edi + edi*2]
cmp dword [ebx + eax*8 + 0x10], esi
ja 0x517074
jb 0x517070
mov ebx, dword [esp]
mov esi, dword [esp + 0x34]
lea eax, [ebx + eax*8]
mov ebx, dword [esp + 0x38]
cmp ebx, dword [eax]
sbb esi, dword [eax + 4]
jae 0x517070
jmp 0x517074
mov eax, dword [esp + 4]
mov esi, dword [esp]
mov edx, dword [esp + 8]
lea ecx, [eax + eax*2]
cmp dword [esi + ecx*8 + 0x10], edx
ja 0x51711b
jb 0x51711b
mov eax, dword [esp]
mov edi, dword [esp + 0x38]
mov esi, dword [esp + 0x34]
lea edx, [eax + ecx*8]
cmp edi, dword [edx]
sbb esi, dword [edx + 4]
jb 0x51711b
mov eax, dword [esp + 0x38]
mov esi, dword [esp + 0x34]
cmp eax, dword [edx + 8]
sbb esi, dword [edx + 0xc]
jae 0x51711b
mov eax, dword [esp]
mov esi, dword [eax + ecx*8 + 0x14]
cmp esi, dword [esp + 0x2c]
jae 0x517278
mov eax, dword [esp + 8]
mov edi, dword [esp + 0x24]
cmp eax, dword [esp + 0x3c]
jne 0x51700f
lea ecx, [esp + 0x3c]
call sym.alloc::raw_vec::RawVec_LT_T_C_A_GT_::grow_one::h0f01432c884a859c
jmp 0x517007
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x3c]
mov edi, dword [esp + 0x14]
mov ebx, dword [esp + 0x58]
mov esi, dword [esp + 0x48]
lea eax, [edx + eax*4]
mov dword [esp + 0x24], ecx
xor ecx, ecx
mov dword [esp + 8], eax
mov eax, dword [esp + 0x50]
mov eax, dword [eax]
add eax, 8
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x28]
mov dword [esp], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x1c]
jmp 0x517189
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
xor esi, esi
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 0x10], 4
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x28]
mov edi, dword [esp + 0x1c]
xor ecx, ecx
mov dword [esp + 0x68], ecx
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x6c], ecx
mov ecx, dword [esp]
mov dword [esp + 0x70], ecx
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], edi
mov edi, dword [esp + 4]
mov dword [esp + 0x7c], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x80], edi
mov dword [esp + 0x84], ebx
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], esi
mov dword [esp + 0x90], edx
mov dword [esp + 0x94], edx
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 8]
mov dword [esp + 0x98], edx
mov dword [esp + 0x9c], ecx
lea edx, [esp + 0x68]
mov ecx, dword [esp + 0x54]
movsd xmm0, qword [edx + 0x30]
movsd xmm1, qword [edx + 0x28]
movsd xmm2, qword [edx + 0x20]
movsd xmm3, qword [edx + 0x18]
movsd xmm4, qword [edx + 0x10]
movsd xmm5, qword [edx]
movsd xmm6, qword [edx + 8]
movsd qword [ecx + 0x30], xmm0
movsd qword [ecx + 0x28], xmm1
movsd qword [ecx + 0x20], xmm2
movsd qword [ecx + 0x18], xmm3
movsd qword [ecx + 0x10], xmm4
movsd qword [ecx + 8], xmm6
movsd qword [ecx], xmm5
mov byte [ecx + 0x78], 2
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [esp + 0xc]
mov ebx, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
xor esi, esi
xor ecx, ecx
mov dword [esp], 2
mov dword [esp + 4], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x28]
jmp 0x517189
mov edx, dword [esp + 0x2c]
mov ecx, esi
push 0x5b1284
call sym.core::panicking::panic_bounds_check::hf1cd1614d6353f3c
add esp, 4
jmp 0x51729a
push 0x5b1238
call sym.core::panicking::panic_bounds_check::hf1cd1614d6353f3c
add esp, 4
ud2