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

Disassembly:
push rbx
push r14
sub rsp, 0x68
mov r14, qword [0x14047ede8]
mov eax, dword [r14 + 0x4848]
sub eax, 1
js 0x140301bad
movsxd rdx, eax
mov rax, qword [r14 + 0x4850]
imul r8, rdx, 0x38
add rax, 8
add r8, rax
mov rbx, qword [r8]
test rbx, rbx
je 0x140301ba3
test dword [rbx + 0xc], 0x8000000
je 0x140301ba3
cmp byte [rbx + 0xae], 0
je 0x140301ba3
cmp byte [rbx + 0xb5], 0
je 0x140301baf
sub r8, 0x38
sub rdx, 1
jns 0x140301b80
xor ebx, ebx
movss xmm1, dword [r14 + 0x4a24]
xorps xmm0, xmm0
comiss xmm0, xmm1
jb 0x140301bce
comiss xmm0, dword [r14 + 0x4a0c]
jae 0x140301ed3
mov qword [rsp + 0x60], rdi
mov rdi, qword [r14 + 0x49f8]
test rdi, rdi
je 0x140301bec
cmp byte [rdi + 0xae], 0
je 0x140301bec
mov al, 1
jmp 0x140301bee
xor al, al
test rbx, rbx
jne 0x140301dc2
test al, al
je 0x140301ece
movups xmm0, xmmword [r14 + 0x3bd8]
lea rcx, [rsp + 0x40]
mulss xmm1, dword [r14 + 0x37e0]
movups xmmword [rsp + 0x40], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, xmm1
movss dword [rsp + 0x4c], xmm0
call fcn.1402e43b0
mov edx, eax
mov rcx, rdi
call fcn.140301770
mov rbx, qword [r14 + 0x49f8]
call fcn.1402ee000
movss xmm1, dword [r14 + 0x3c00]
mov rdi, rax
movss xmm4, dword [rbx + 0x18]
movss xmm2, dword [rbx + 0x1c]
movaps xmm5, xmm4
addss xmm4, dword [rbx + 0x20]
movaps xmm3, xmm2
subss xmm5, xmm1
addss xmm2, dword [rbx + 0x24]
subss xmm3, xmm1
addss xmm4, xmm1
movss dword [rsp + 0x40], xmm5
addss xmm2, xmm1
movss dword [rsp + 0x44], xmm3
movaps xmm0, xmm4
movss dword [rsp + 0x48], xmm4
subss xmm0, xmm5
movss dword [rsp + 0x4c], xmm2
comiss xmm0, dword [rax + 0xc]
jb 0x140301ce2
movaps xmm0, xmm2
subss xmm0, xmm3
comiss xmm0, dword [rax + 0x10]
jb 0x140301ce2
xorps xmm1, xmmword [0x14033b070]
subss xmm1, dword [0x140344f08]
subss xmm5, xmm1
subss xmm3, xmm1
addss xmm4, xmm1
addss xmm2, xmm1
movss dword [rsp + 0x40], xmm5
movss dword [rsp + 0x44], xmm3
movss dword [rsp + 0x48], xmm4
movss dword [rsp + 0x4c], xmm2
mov rcx, qword [rbx + 0x290]
cmp dword [rcx], 0
jne 0x140301cf3
call fcn.1402d7450
movss xmm0, dword [rdi + 4]
lea rdx, [rdi + 4]
movss xmm1, dword [rdx + 4]
lea r8, [rsp + 0x80]
addss xmm0, dword [rdi + 0xc]
addss xmm1, dword [rdi + 0x10]
mov rcx, qword [rbx + 0x290]
xor r9d, r9d
movss dword [rsp + 0x80], xmm0
movss dword [rsp + 0x84], xmm1
call fcn.1402feb50
mov rax, qword [0x14047ede8]
lea rcx, [rsp + 0x50]
movss xmm0, dword [r14 + 0x4a0c]
movups xmm1, xmmword [rax + 0x3bc8]
mulss xmm0, dword [rax + 0x37e0]
movups xmmword [rsp + 0x50], xmm1
shufps xmm1, xmm1, 0xff
mulss xmm1, xmm0
movss dword [rsp + 0x5c], xmm1
call fcn.1402e43b0
movss xmm0, dword [0x140344f1c]
lea r8, [rsp + 0x48]
mov rcx, qword [rbx + 0x290]
lea rdx, [rsp + 0x40]
movss dword [rsp + 0x30], xmm0
mov r9d, eax
movss xmm0, dword [rbx + 0x50]
mov dword [rsp + 0x28], 0
movss dword [rsp + 0x20], xmm0
call fcn.1402d9c10
mov rcx, qword [rbx + 0x290]
mov rdi, qword [rsp + 0x60]
add rsp, 0x68
pop r14
pop rbx
jmp fcn.1402fe000
mov qword [rsp + 0x88], rbp
mov rcx, rbx
mov qword [rsp + 0x90], rsi
mov rdi, rbx
call fcn.1402ed1b0
movsxd rsi, eax
mov rbp, rsi
test eax, eax
js 0x140301e78
nop dword [rax + rax]
cmp esi, dword [r14 + 0x3e40]
jl 0x140301e13
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 [r14 + 0x3e48]
mov rcx, qword [rax + rbp*8]
mov edx, dword [rcx + 0xc]
bt edx, 0x18
jb 0x140301e6c
mov rax, rcx
cmp qword [rcx + 0x370], rbx
je 0x140301e46
cmp rax, rbx
je 0x140301e46
mov rax, qword [rax + 0x368]
test rax, rax
jne 0x140301e33
jmp 0x140301e78
cmp byte [rcx + 0xae], 0
je 0x140301e6c
cmp byte [rcx + 0xb5], 0
jne 0x140301e6c
mov eax, dword [rbx + 0xc]
and edx, 0x2000000
and eax, 0x2000000
cmp edx, eax
cmovbe rdi, rcx
dec esi
sub rbp, 1
jns 0x140301df0
mov rax, qword [0x14047ede8]
lea rcx, [rsp + 0x50]
movss xmm0, dword [r14 + 0x4a24]
movups xmm1, xmmword [rax + 0x3be8]
mulss xmm0, dword [rax + 0x37e0]
movups xmmword [rsp + 0x50], xmm1
shufps xmm1, xmm1, 0xff
mulss xmm1, xmm0
movss dword [rsp + 0x5c], xmm1
call fcn.1402e43b0
mov edx, eax
mov rcx, rdi
call fcn.140301770
mov rsi, qword [rsp + 0x90]
mov rbp, qword [rsp + 0x88]
mov rdi, qword [rsp + 0x60]
add rsp, 0x68
pop r14
pop rbx
ret