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

Disassembly:
push rbx
push rbp
push rsi
sub rsp, 0x50
mov rsi, qword [0x14020e360]
xor ebp, ebp
mov eax, dword [rsi + 0x4898]
sub eax, 1
js 0x14000ae7e
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 0x14000ae74
test dword [rbx + 0x14], 0x8000000
je 0x14000ae74
cmp byte [rbx + 0xb6], bpl
je 0x14000ae74
cmp byte [rbx + 0xbd], bpl
je 0x14000ae81
sub r8, 0x38
sub rdx, 1
jns 0x14000ae51
mov rbx, rbp
movss xmm1, dword [rsi + 0x4a6c]
xorps xmm0, xmm0
comiss xmm0, xmm1
jb 0x14000ae9e
comiss xmm0, dword [rsi + 0x4a54]
jae 0x14000b21e
mov r8, qword [rsi + 0x4a40]
test r8, r8
je 0x14000aeb7
cmp byte [r8 + 0xb6], bpl
je 0x14000aeb7
mov al, 1
jmp 0x14000aeb9
xor al, al
mov qword [rsp + 0x78], rdi
test rbx, rbx
jne 0x14000b11e
test al, al
je 0x14000b219
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.140004370
mov edx, eax
mov rcx, r8
call fcn.14000aad0
mov rdi, qword [0x14020e360]
mov rbx, qword [rsi + 0x4a40]
cmp dword [rdi + 0x48c0], ebp
jg 0x14000af35
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 0x14000afdd
movaps xmm0, xmm2
subss xmm0, xmm3
comiss xmm0, dword [rdi + 0x10]
jb 0x14000afdd
xorps xmm1, xmmword [0x140161850]
subss xmm1, dword [0x14016133c]
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 0x14000afed
call fcn.140022090
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.1400223d0
mov rax, qword [0x14020e360]
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.140004370
mov esi, eax
test eax, 0xff000000
je 0x14000b0b9
movss xmm3, dword [rbx + 0x58]
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x20], ebp
mov rcx, rdi
call fcn.140024670
movss xmm0, dword [0x140161368]
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.1400227f0
mov dword [rdi + 0x78], ebp
mov rbx, qword [rbx + 0x298]
cmp dword [rbx + 0x58], ebp
jg 0x14000b0df
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 0x14000b0f4
mov rax, qword [rbx + 0x38]
add rax, 0x1c
jmp 0x14000b100
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.140022180
mov qword [rsp + 0x80], r14
mov rcx, rbx
mov r14, rbx
call fcn.140012320
movsxd rbp, eax
mov rdi, rbp
test eax, eax
js 0x14000b1cc
nop
test rdi, rdi
js 0x14000b14d
cmp ebp, dword [rsi + 0x3e90]
jl 0x14000b167
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 0x14000b1c0
mov rax, rcx
cmp qword [rcx + 0x378], rbx
je 0x14000b19a
cmp rax, rbx
je 0x14000b19a
mov rax, qword [rax + 0x370]
test rax, rax
jne 0x14000b187
jmp 0x14000b1cc
cmp byte [rcx + 0xb6], 0
je 0x14000b1c0
cmp byte [rcx + 0xbd], 0
jne 0x14000b1c0
mov eax, dword [rbx + 0x14]
and edx, 0x2000000
and eax, 0x2000000
cmp edx, eax
cmovbe r14, rcx
dec ebp
sub rdi, 1
jns 0x14000b140
mov rax, qword [0x14020e360]
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.140004370
mov edx, eax
mov rcx, r14
call fcn.14000aad0
mov r14, qword [rsp + 0x80]
mov rdi, qword [rsp + 0x78]
add rsp, 0x50
pop rsi
pop rbp
pop rbx
ret