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

Disassembly:
test edx, 0xff000000
je 0x140301b4b
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x60
mov qword [rsp + 0x70], rbx
mov edi, edx
mov rbx, qword [0x14047ede8]
mov rsi, rcx
movaps xmmword [rsp + 0x50], xmm6
movaps xmmword [rsp + 0x40], xmm7
movaps xmmword [rsp + 0x30], xmm8
cmp dword [rbx + 0x4870], 0
movaps xmmword [rsp + 0x20], xmm9
jg 0x1403017d0
mov r8d, 0x6fa
lea rdx, str.C:Userspavel.cargo_registry_srcindex.crates.io_6f17d22bba15001fimgui_sys_0.11.0_third_partyimgui_masterimguiimgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [rbx + 0x4878]
mov rcx, qword [rax]
mov rax, qword [rsi + 0x370]
movss xmm8, dword [rcx + 4]
mov rbx, qword [rax + 0x290]
movaps xmm6, xmm8
movss xmm9, dword [rcx + 8]
addss xmm6, dword [rcx + 0xc]
movaps xmm7, xmm9
cmp dword [rbx], 0
addss xmm7, dword [rcx + 0x10]
jne 0x140301813
mov rcx, rbx
call fcn.1402d7450
movss xmm2, dword [0x140344f08]
lea r8, [rsp + 0x80]
movaps xmm0, xmm6
lea rdx, [rsp + 0x88]
addss xmm0, xmm2
movaps xmm1, xmm8
subss xmm1, xmm2
xor r9d, r9d
mov rcx, rbx
movss dword [rsp + 0x80], xmm0
movaps xmm0, xmm7
addss xmm0, xmm2
movss dword [rsp + 0x88], xmm1
movss dword [rsp + 0x84], xmm0
movaps xmm0, xmm9
subss xmm0, xmm2
movss dword [rsp + 0x8c], xmm0
call fcn.1402feb50
mov edx, 6
mov r8d, 4
mov rcx, rbx
call fcn.1402fea60
movzx edx, word [rbx + 0x34]
mov rax, qword [rbx + 0x38]
lea ecx, [rdx + 1]
movss xmm0, dword [rax]
movss xmm1, dword [rax + 4]
mov rax, qword [rbx + 0x50]
mov word [rax], dx
mov rax, qword [rbx + 0x50]
mov word [rax + 2], cx
lea ecx, [rdx + 2]
mov rax, qword [rbx + 0x50]
mov word [rax + 4], cx
mov rax, qword [rbx + 0x50]
mov word [rax + 6], dx
add dx, 3
mov rax, qword [rbx + 0x50]
mov word [rax + 8], cx
mov rax, qword [rbx + 0x50]
mov word [rax + 0xa], dx
mov rax, qword [rbx + 0x48]
movss dword [rax], xmm8
movss dword [rax + 4], xmm9
mov rax, qword [rbx + 0x48]
movss dword [rax + 8], xmm0
movss dword [rax + 0xc], xmm1
mov rax, qword [rbx + 0x48]
mov dword [rax + 0x10], edi
mov rax, qword [rbx + 0x48]
movss dword [rax + 0x14], xmm6
movss dword [rax + 0x18], xmm9
mov rax, qword [rbx + 0x48]
movss dword [rax + 0x1c], xmm0
movss dword [rax + 0x20], xmm1
mov rax, qword [rbx + 0x48]
mov dword [rax + 0x24], edi
mov rax, qword [rbx + 0x48]
movss dword [rax + 0x28], xmm6
movss dword [rax + 0x2c], xmm7
mov rax, qword [rbx + 0x48]
movss dword [rax + 0x30], xmm0
movss dword [rax + 0x34], xmm1
mov rax, qword [rbx + 0x48]
mov dword [rax + 0x38], edi
mov rax, qword [rbx + 0x48]
movss dword [rax + 0x3c], xmm8
movss dword [rax + 0x40], xmm7
mov rax, qword [rbx + 0x48]
movss dword [rax + 0x44], xmm0
movss dword [rax + 0x48], xmm1
mov rax, qword [rbx + 0x48]
mov dword [rax + 0x4c], edi
add qword [rbx + 0x48], 0x50
add dword [rbx + 0x34], 4
add qword [rbx + 0x50], 0xc
cmp dword [rbx], 0
jg 0x140301991
mov r8d, 0x703
lea rdx, str.C:Userspavel.cargo_registry_srcindex.crates.io_6f17d22bba15001fimgui_sys_0.11.0_third_partyimgui_masterimguiimgui.h
lea rcx, str.Size___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movsxd rax, dword [rbx]
imul rcx, rax, 0x38
mov rax, qword [rbx + 8]
movups xmm6, xmmword [rcx + rax - 0x18]
movups xmm7, xmmword [rcx + rax - 0x38]
movups xmm8, xmmword [rcx + rax - 0x28]
movsd xmm9, qword [rcx + rax - 8]
movd eax, xmm6
cmp eax, 6
je 0x1403019d6
mov r8d, 0x1289
lea rdx, str.C:Userspavel.cargo_registry_srcindex.crates.io_6f17d22bba15001fimgui_sys_0.11.0._third_party_imgui_master_imgui_imgui.cpp
lea rcx, str.cmd.ElemCount__6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
cmp dword [rbx], 0
jg 0x1403019f5
mov r8d, 0x710
lea rdx, str.C:Userspavel.cargo_registry_srcindex.crates.io_6f17d22bba15001fimgui_sys_0.11.0_third_partyimgui_masterimguiimgui.h
lea rcx, str.Size___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov ecx, dword [rbx]
lea eax, [rcx - 1]
mov dword [rbx], eax
test eax, eax
jne 0x140301a55
mov r8d, dword [rbx + 4]
cmp eax, r8d
jne 0x140301a2f
test r8d, r8d
je 0x140301a1b
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x140301a20
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
mov rcx, rbx
call fcn.140315840
movsxd rax, dword [rbx]
imul rcx, rax, 0x38
mov rax, qword [rbx + 8]
movups xmmword [rcx + rax], xmm7
movups xmmword [rcx + rax + 0x10], xmm8
movups xmmword [rcx + rax + 0x20], xmm6
movsd qword [rcx + rax + 0x30], xmm9
jmp 0x140301b14
mov rdi, qword [rbx + 8]
cdqe
imul rcx, rax, 0x38
add rcx, rdi
cmp rdi, rcx
jbe 0x140301a81
mov r8d, 0x715
lea rdx, str.C:Userspavel.cargo_registry_srcindex.crates.io_6f17d22bba15001fimgui_sys_0.11.0_third_partyimgui_masterimguiimgui.h
lea rcx, str.it___Data__it___Data__Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
sub rdi, qword [rbx + 8]
movabs rax, 0x4924924924924925
mov ecx, dword [rbx]
mov r8d, dword [rbx + 4]
imul rdi
mov rdi, rdx
sar rdi, 4
mov rax, rdi
shr rax, 0x3f
add rdi, rax
cmp ecx, r8d
jne 0x140301ad6
inc ecx
test r8d, r8d
je 0x140301ac2
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x140301ac7
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
mov rcx, rbx
call fcn.140315840
movsxd r8, dword [rbx]
cmp rdi, r8
jge 0x140301af6
imul rdx, rdi, 0x38
sub r8, rdi
add rdx, qword [rbx + 8]
imul r8, r8, 0x38
lea rcx, [rdx + 0x38]
call sub.VCRUNTIME140.dll_memmove
mov rax, qword [rbx + 8]
imul rdx, rdi, 0x38
movups xmmword [rdx + rax], xmm7
movups xmmword [rdx + rax + 0x10], xmm8
movups xmmword [rdx + rax + 0x20], xmm6
movsd qword [rdx + rax + 0x30], xmm9
inc dword [rbx]
mov rcx, rbx
call fcn.1402fe000
mov rcx, rbx
call fcn.1402d7450
movaps xmm9, xmmword [rsp + 0x20]
movaps xmm8, xmmword [rsp + 0x30]
movaps xmm7, xmmword [rsp + 0x40]
movaps xmm6, xmmword [rsp + 0x50]
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret