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

Disassembly:
push rbx
push rbp
push rsi
sub rsp, 0x50
mov rsi, qword [0x14020d360]
xor ebp, ebp
mov eax, dword [rsi + 0x4898]
sub eax, 1
js 0x14000aeae
mov r8, qword [rsi + 0x48a0]
movsxd rdx, eax
add r8, 8
imul rcx, rdx, 0x38
add r8, rcx
mov rbx, qword [r8]
test rbx, rbx
je 0x14000aea4
test dword [rbx + 0x14], 0x8000000
je 0x14000aea4
cmp byte [rbx + 0xb6], bpl
je 0x14000aea4
cmp byte [rbx + 0xbd], bpl
je 0x14000aeb1
sub r8, 0x38
sub rdx, 1
jns 0x14000ae81
mov rbx, rbp
movss xmm1, dword [rsi + 0x4a6c]
xorps xmm0, xmm0
comiss xmm0, xmm1
jb 0x14000aece
comiss xmm0, dword [rsi + 0x4a54]
jae 0x14000b24e
mov r8, qword [rsi + 0x4a40]
test r8, r8
je 0x14000aee7
cmp byte [r8 + 0xb6], bpl
je 0x14000aee7
mov al, 1
jmp 0x14000aee9
xor al, al
mov qword [rsp + 0x78], rdi
test rbx, rbx
jne 0x14000b14e
test al, al
je 0x14000b249
movups xmm0, xmmword [rsi + 0x3c08]
lea rcx, [rsp + 0x30]
mulss xmm1, dword [rsi + 0x37f0]
movups xmmword [rsp + 0x30], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, xmm1
movss dword [rsp + 0x3c], xmm0
call fcn.140004380
mov edx, eax
mov rcx, r8
call fcn.14000ab00
mov rdi, qword [0x14020d360]
mov rbx, qword [rsi + 0x4a40]
cmp dword [rdi + 0x48c0], ebp
jg 0x14000af65
mov r8d, 0x705
lea rdx, str.C:UsersAszDownloadsSBAGGYSBAGGYSBAGGYSBAGGYimgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movss xmm1, dword [rsi + 0x3c40]
movss xmm4, dword [rbx + 0x20]
movss xmm2, dword [rbx + 0x24]
movaps xmm5, xmm4
addss xmm4, dword [rbx + 0x28]
mov rax, qword [rdi + 0x48c8]
subss xmm5, xmm1
movaps xmm3, xmm2
addss xmm2, dword [rbx + 0x2c]
subss xmm3, xmm1
mov rdi, qword [rax]
addss xmm4, xmm1
movss dword [rsp + 0x30], xmm5
addss xmm2, xmm1
movss dword [rsp + 0x34], xmm3
movaps xmm0, xmm4
movss dword [rsp + 0x38], xmm4
subss xmm0, xmm5
movss dword [rsp + 0x3c], xmm2
comiss xmm0, dword [rdi + 0xc]
jb 0x14000b00d
movaps xmm0, xmm2
subss xmm0, xmm3
comiss xmm0, dword [rdi + 0x10]
jb 0x14000b00d
xorps xmm1, xmmword [0x140160770]
subss xmm1, dword [0x140160274]
movaps xmm0, xmm1
subss xmm5, xmm1
subss xmm3, xmm1
addss xmm0, xmm4
addss xmm1, xmm2
movss dword [rsp + 0x30], xmm5
movss dword [rsp + 0x34], xmm3
movss dword [rsp + 0x38], xmm0
movss dword [rsp + 0x3c], xmm1
mov rcx, qword [rbx + 0x298]
cmp dword [rcx], ebp
jne 0x14000b01d
call fcn.140022010
movss xmm0, dword [rdi + 0xc]
lea rdx, [rdi + 4]
movss xmm1, dword [rdi + 0x10]
lea r8, [rsp + 0x70]
addss xmm0, dword [rdx]
addss xmm1, dword [rdx + 4]
mov rcx, qword [rbx + 0x298]
xor r9d, r9d
movss dword [rsp + 0x70], xmm0
movss dword [rsp + 0x74], xmm1
call fcn.140022350
mov rax, qword [0x14020d360]
lea rcx, [rsp + 0x40]
movss xmm0, dword [rsi + 0x4a54]
mov rdi, qword [rbx + 0x298]
movups xmm1, xmmword [rax + 0x3bf8]
mulss xmm0, dword [rax + 0x37f0]
movups xmmword [rsp + 0x40], xmm1
shufps xmm1, xmm1, 0xff
mulss xmm1, xmm0
movss dword [rsp + 0x4c], xmm1
call fcn.140004380
mov esi, eax
test eax, 0xff000000
je 0x14000b0e9
movss xmm3, dword [rbx + 0x58]
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x20], ebp
mov rcx, rdi
call fcn.1400245f0
movss xmm0, dword [0x1401602a0]
mov r9d, esi
mov r8d, dword [rdi + 0x78]
mov rcx, rdi
mov rdx, qword [rdi + 0x80]
movss dword [rsp + 0x28], xmm0
mov dword [rsp + 0x20], 1
call fcn.140022770
mov dword [rdi + 0x78], ebp
mov rbx, qword [rbx + 0x298]
cmp dword [rbx + 0x58], ebp
jg 0x14000b10f
mov r8d, 0x71b
lea rdx, str.C:UsersAszDownloadsSBAGGYSBAGGYSBAGGYSBAGGYimgui.h
lea rcx, str.Size___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov eax, dword [rbx + 0x58]
sub eax, 1
mov dword [rbx + 0x58], eax
jne 0x14000b124
mov rax, qword [rbx + 0x38]
add rax, 0x1c
jmp 0x14000b130
dec eax
cdqe
shl rax, 4
add rax, qword [rbx + 0x60]
movups xmm0, xmmword [rax]
mov rcx, rbx
movups xmmword [rbx + 0x88], xmm0
mov rdi, qword [rsp + 0x78]
add rsp, 0x50
pop rsi
pop rbp
pop rbx
jmp fcn.140022100
mov qword [rsp + 0x80], r14
mov rcx, rbx
mov r14, rbx
call fcn.140012350
movsxd rbp, eax
mov rdi, rbp
test eax, eax
js 0x14000b1fc
nop
test rdi, rdi
js 0x14000b17d
cmp ebp, dword [rsi + 0x3e90]
jl 0x14000b197
mov r8d, 0x705
lea rdx, str.C:UsersAszDownloadsSBAGGYSBAGGYSBAGGYSBAGGYimgui.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 [rsi + 0x3e98]
mov rcx, qword [rax + rdi*8]
mov edx, dword [rcx + 0x14]
bt edx, 0x18
jb 0x14000b1f0
mov rax, rcx
cmp qword [rcx + 0x378], rbx
je 0x14000b1ca
cmp rax, rbx
je 0x14000b1ca
mov rax, qword [rax + 0x370]
test rax, rax
jne 0x14000b1b7
jmp 0x14000b1fc
cmp byte [rcx + 0xb6], 0
je 0x14000b1f0
cmp byte [rcx + 0xbd], 0
jne 0x14000b1f0
mov eax, dword [rbx + 0x14]
and edx, 0x2000000
and eax, 0x2000000
cmp edx, eax
cmovbe r14, rcx
dec ebp
sub rdi, 1
jns 0x14000b170
mov rax, qword [0x14020d360]
lea rcx, [rsp + 0x40]
movups xmm1, xmmword [rax + 0x3c18]
movss xmm0, dword [rax + 0x37f0]
mulss xmm0, dword [rsi + 0x4a6c]
movups xmmword [rsp + 0x40], xmm1
shufps xmm1, xmm1, 0xff
mulss xmm1, xmm0
movss dword [rsp + 0x4c], xmm1
call fcn.140004380
mov edx, eax
mov rcx, r14
call fcn.14000ab00
mov r14, qword [rsp + 0x80]
mov rdi, qword [rsp + 0x78]
add rsp, 0x50
pop rsi
pop rbp
pop rbx
ret