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

Disassembly:
push rbx
push rbp
push rsi
sub rsp, 0x50
mov rsi, qword [0x140134318]
xor ebp, ebp
mov eax, dword [rsi + 0x4898]
sub eax, 1
js 0x140009bbe
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 0x140009bb4
test dword [rbx + 0x14], 0x8000000
je 0x140009bb4
cmp byte [rbx + 0xb6], bpl
je 0x140009bb4
cmp byte [rbx + 0xbd], bpl
je 0x140009bc1
sub r8, 0x38
sub rdx, 1
jns 0x140009b91
mov rbx, rbp
movss xmm1, dword [rsi + 0x4a6c]
xorps xmm0, xmm0
comiss xmm0, xmm1
jb 0x140009bde
comiss xmm0, dword [rsi + 0x4a54]
jae 0x140009f5e
mov r8, qword [rsi + 0x4a40]
test r8, r8
je 0x140009bf7
cmp byte [r8 + 0xb6], bpl
je 0x140009bf7
mov al, 1
jmp 0x140009bf9
xor al, al
mov qword [rsp + 0x78], rdi
test rbx, rbx
jne 0x140009e5e
test al, al
je 0x140009f59
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.1400038a0
mov edx, eax
mov rcx, r8
call fcn.140009810
mov rdi, qword [0x140134318]
mov rbx, qword [rsi + 0x4a40]
cmp dword [rdi + 0x48c0], ebp
jg 0x140009c75
mov r8d, 0x702
lea rdx, str.C:UsersAdminDownloadsSBAGGYBESTUI1SBAGGYimgui.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 0x140009d1d
movaps xmm0, xmm2
subss xmm0, xmm3
comiss xmm0, dword [rdi + 0x10]
jb 0x140009d1d
xorps xmm1, xmmword [0x1400d21a0]
subss xmm1, dword [0x1400d1dec]
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 0x140009d2d
call fcn.14001fd80
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.1400200c0
mov rax, qword [0x140134318]
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.1400038a0
mov esi, eax
test eax, 0xff000000
je 0x140009df9
movss xmm3, dword [rbx + 0x58]
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x20], ebp
mov rcx, rdi
call fcn.140022350
movss xmm0, dword [0x1400d1e78]
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.1400204e0
mov dword [rdi + 0x78], ebp
mov rbx, qword [rbx + 0x298]
cmp dword [rbx + 0x58], ebp
jg 0x140009e1f
mov r8d, 0x718
lea rdx, str.C:UsersAdminDownloadsSBAGGYBESTUI1SBAGGYimgui.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 0x140009e34
mov rax, qword [rbx + 0x38]
add rax, 0x1c
jmp 0x140009e40
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.14001fe70
mov qword [rsp + 0x80], r14
mov rcx, rbx
mov r14, rbx
call fcn.140010a80
movsxd rbp, eax
mov rdi, rbp
test eax, eax
js 0x140009f0c
nop
test rdi, rdi
js 0x140009e8d
cmp ebp, dword [rsi + 0x3e90]
jl 0x140009ea7
mov r8d, 0x702
lea rdx, str.C:UsersAdminDownloadsSBAGGYBESTUI1SBAGGYimgui.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 0x140009f00
mov rax, rcx
cmp qword [rcx + 0x378], rbx
je 0x140009eda
cmp rax, rbx
je 0x140009eda
mov rax, qword [rax + 0x370]
test rax, rax
jne 0x140009ec7
jmp 0x140009f0c
cmp byte [rcx + 0xb6], 0
je 0x140009f00
cmp byte [rcx + 0xbd], 0
jne 0x140009f00
mov eax, dword [rbx + 0x14]
and edx, 0x2000000
and eax, 0x2000000
cmp edx, eax
cmovbe r14, rcx
dec ebp
sub rdi, 1
jns 0x140009e80
mov rax, qword [0x140134318]
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.1400038a0
mov edx, eax
mov rcx, r14
call fcn.140009810
mov r14, qword [rsp + 0x80]
mov rdi, qword [rsp + 0x78]
add rsp, 0x50
pop rsi
pop rbp
pop rbx
ret