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

Disassembly:
test edx, 0xff000000
je 0x180125f6c
mov rax, rsp
mov qword [rax + 0x18], rbp
push rdi
sub rsp, 0x70
mov qword [rax + 8], rbx
mov ebp, edx
mov rbx, qword [0x1801b0620]
mov rdi, rcx
mov qword [rax + 0x10], rsi
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm7
cmp dword [rbx + 0x4870], 0
movaps xmmword [rax - 0x38], xmm8
movaps xmmword [rax - 0x48], xmm9
jg 0x180125bb1
mov r8d, 0x6fa
lea rdx, str.C:Users_runneradmin.cargo_registry_srcindex.crates.io_6f17d22bba15001fimgui_sys_0.12.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 [rdi + 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 0x180125bf4
mov rcx, rbx
call fcn.180105430
movss xmm2, dword [0x18014b4b0]
movaps xmm1, xmm8
mov ecx, dword [rbx + 0x58]
subss xmm1, xmm2
mov r8d, dword [rbx + 0x5c]
movaps xmm0, xmm6
addss xmm0, xmm2
movaps xmm3, xmm9
subss xmm3, xmm2
mov edi, 8
movss dword [rsp + 0x20], xmm1
maxss xmm1, xmm0
movss dword [rsp + 0x24], xmm3
movss dword [rsp + 0x28], xmm1
movaps xmm1, xmm7
addss xmm1, xmm2
maxss xmm3, xmm1
movss dword [rsp + 0x2c], xmm3
cmp ecx, r8d
jne 0x180125c71
inc ecx
test r8d, r8d
je 0x180125c5f
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x180125c61
mov eax, edi
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
lea rcx, [rbx + 0x58]
call fcn.180136fe0
movsxd rcx, dword [rbx + 0x58]
mov rax, qword [rbx + 0x60]
add rcx, rcx
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rax + rcx*8], xmm0
inc dword [rbx + 0x58]
mov rcx, rbx
movups xmmword [rbx + 0x88], xmm0
call fcn.1801357d0
mov edx, 6
mov r8d, 4
mov rcx, rbx
call fcn.180124840
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], ebp
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], ebp
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], ebp
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], ebp
add qword [rbx + 0x48], 0x50
add dword [rbx + 0x34], 4
add qword [rbx + 0x50], 0xc
cmp dword [rbx], 0
jg 0x180125db0
mov r8d, 0x703
lea rdx, str.C:Users_runneradmin.cargo_registry_srcindex.crates.io_6f17d22bba15001fimgui_sys_0.12.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 0x180125df5
mov r8d, 0x1289
lea rdx, str.C:Users_runneradmin.cargo_registry_srcindex.crates.io_6f17d22bba15001fimgui_sys_0.12.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 0x180125e14
mov r8d, 0x710
lea rdx, str.C:Users_runneradmin.cargo_registry_srcindex.crates.io_6f17d22bba15001fimgui_sys_0.12.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 0x180125e6e
mov r8d, dword [rbx + 4]
cmp eax, r8d
jne 0x180125e48
test r8d, r8d
je 0x180125e39
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
lea edi, [r8 + rax]
cmp edi, ecx
cmovg ecx, edi
mov edx, ecx
mov rcx, rbx
call fcn.180136e00
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 0x180125f27
mov rsi, qword [rbx + 8]
cdqe
imul rcx, rax, 0x38
add rcx, rsi
cmp rsi, rcx
jbe 0x180125e9a
mov r8d, 0x715
lea rdx, str.C:Users_runneradmin.cargo_registry_srcindex.crates.io_6f17d22bba15001fimgui_sys_0.12.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 rsi, qword [rbx + 8]
movabs rax, 0x4924924924924925
mov ecx, dword [rbx]
mov r8d, dword [rbx + 4]
imul rsi
mov rsi, rdx
sar rsi, 4
mov rax, rsi
shr rax, 0x3f
add rsi, rax
cmp ecx, r8d
jne 0x180125ee9
inc ecx
test r8d, r8d
je 0x180125eda
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
lea edi, [r8 + rax]
cmp edi, ecx
cmovg ecx, edi
mov edx, ecx
mov rcx, rbx
call fcn.180136e00
movsxd r8, dword [rbx]
cmp rsi, r8
jge 0x180125f09
imul rdx, rsi, 0x38
sub r8, rsi
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, rsi, 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.180123e80
mov rcx, rbx
call fcn.180105430
movaps xmm9, xmmword [rsp + 0x30]
movaps xmm8, xmmword [rsp + 0x40]
movaps xmm7, xmmword [rsp + 0x50]
movaps xmm6, xmmword [rsp + 0x60]
mov rsi, qword [rsp + 0x88]
mov rbx, qword [rsp + 0x80]
mov rbp, qword [rsp + 0x90]
add rsp, 0x70
pop rdi
ret