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

Disassembly:
push rbx
push rbp
push rsi
sub rsp, 0x80
mov rsi, qword [0x1400c9a50]
xor ebp, ebp
mov eax, dword [rsi + 0x1e18]
sub eax, 1
js 0x1400098c5
mov r8, qword [rsi + 0x1e20]
movsxd rdx, eax
add r8, 8
lea rcx, [rdx + rdx*2]
shl rcx, 4
add r8, rcx
mov rbx, qword [r8]
test rbx, rbx
je 0x1400098bb
test dword [rbx + 0xc], 0x8000000
je 0x1400098bb
cmp byte [rbx + 0x8e], bpl
je 0x1400098bb
cmp byte [rbx + 0x96], bpl
je 0x1400098c8
sub r8, 0x30
sub rdx, 1
jns 0x140009898
mov rbx, rbp
mov r8, qword [rsi + 0x1fc0]
test r8, r8
je 0x1400098e1
cmp byte [r8 + 0x8e], bpl
je 0x1400098e1
mov al, 1
jmp 0x1400098e3
xor al, al
mov qword [rsp + 0xb0], rdi
test rbx, rbx
jne 0x140009bbd
test al, al
je 0x140009cbb
movups xmm1, xmmword [rsi + 0x1974]
lea rcx, [rsp + 0x30]
movss xmm0, dword [rsi + 0x1fdc]
mulss xmm0, dword [rsi + 0x1570]
movups xmmword [rsp + 0x30], xmm1
movaps xmmword [rsp + 0x70], xmm6
shufps xmm1, xmm1, 0xff
mulss xmm1, xmm0
movaps xmmword [rsp + 0x60], xmm7
movaps xmmword [rsp + 0x50], xmm8
movss dword [rsp + 0x3c], xmm1
movaps xmmword [rsp + 0x40], xmm9
call fcn.140002ea0
mov edx, eax
mov rcx, r8
call fcn.140009540
mov rbx, qword [0x1400c9a50]
mov rdi, qword [rsi + 0x1fc0]
cmp dword [rbx + 0x1e40], ebp
jg 0x140009980
mov r8d, 0x6bb
lea rdx, str.D:Sourcesimgui_512c54bbc062c41c74f8a8bd8ff1fd6bebd1e6d0imgui.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 + 0x19b0]
movss xmm7, dword [rdi + 0x10]
movss xmm6, dword [rdi + 0x14]
movaps xmm9, xmm7
addss xmm7, dword [rdi + 0x18]
mov rax, qword [rbx + 0x1e48]
subss xmm9, xmm1
movaps xmm8, xmm6
addss xmm6, dword [rdi + 0x1c]
subss xmm8, xmm1
mov rbx, qword [rax]
addss xmm7, xmm1
addss xmm6, xmm1
movaps xmm0, xmm7
subss xmm0, xmm9
comiss xmm0, dword [rbx + 0xc]
jb 0x140009a06
movaps xmm0, xmm6
subss xmm0, xmm8
comiss xmm0, dword [rbx + 0x10]
jb 0x140009a06
xorps xmm1, xmmword [0x14006d0d0]
subss xmm1, dword [0x14006cd38]
movaps xmm0, xmm1
subss xmm9, xmm1
subss xmm8, xmm1
addss xmm0, xmm7
addss xmm1, xmm6
movaps xmm7, xmm0
movaps xmm6, xmm1
mov rcx, qword [rdi + 0x270]
cmp dword [rcx], ebp
jne 0x140009a16
call fcn.140024b60
movss xmm3, dword [rbx + 4]
xor r9d, r9d
movss xmm2, dword [rbx + 8]
movaps xmm0, xmm3
addss xmm0, dword [rbx + 0xc]
mov rcx, qword [rdi + 0x270]
movaps xmm1, xmm2
addss xmm1, dword [rbx + 0x10]
unpcklps xmm0, xmm1
movaps xmm1, xmm3
unpcklps xmm1, xmm2
movq r8, xmm0
movq rdx, xmm1
call fcn.140024e90
mov rax, qword [0x1400c9a50]
lea rcx, [rsp + 0x30]
movss xmm0, dword [rsi + 0x1fd4]
mov rbx, qword [rdi + 0x270]
movups xmm1, xmmword [rax + 0x1964]
mulss xmm0, dword [rax + 0x1570]
movups xmmword [rsp + 0x30], xmm1
shufps xmm1, xmm1, 0xff
mulss xmm1, xmm0
movss dword [rsp + 0x3c], xmm1
call fcn.140002ea0
mov esi, eax
test eax, 0xff000000
je 0x140009b49
test byte [rbx + 0x30], 1
lea r8, [rsp + 0xa0]
movss xmm0, dword [0x14006cccc]
lea rdx, [rsp + 0xa8]
movss xmm3, dword [rdi + 0x48]
addss xmm9, xmm0
addss xmm8, xmm0
mov dword [rsp + 0x20], ebp
mov rcx, rbx
movss dword [rsp + 0xa8], xmm9
movss dword [rsp + 0xac], xmm8
je 0x140009af3
subss xmm7, xmm0
subss xmm6, xmm0
jmp 0x140009b03
subss xmm7, dword [0x14006ccc8]
subss xmm6, dword [0x14006ccc8]
movss dword [rsp + 0xa0], xmm7
movss dword [rsp + 0xa4], xmm6
call fcn.140027080
movss xmm0, dword [0x14006cd98]
mov r9d, esi
mov r8d, dword [rbx + 0x78]
mov rcx, rbx
mov rdx, qword [rbx + 0x80]
movss dword [rsp + 0x28], xmm0
mov dword [rsp + 0x20], 1
call fcn.1400252c0
mov dword [rbx + 0x78], ebp
mov rbx, qword [rdi + 0x270]
movaps xmm9, xmmword [rsp + 0x40]
movaps xmm8, xmmword [rsp + 0x50]
movaps xmm7, xmmword [rsp + 0x60]
movaps xmm6, xmmword [rsp + 0x70]
cmp dword [rbx + 0x58], ebp
jg 0x140009b85
mov r8d, 0x6d0
lea rdx, str.D:Sourcesimgui_512c54bbc062c41c74f8a8bd8ff1fd6bebd1e6d0imgui.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 0x140009b9a
mov rax, qword [rbx + 0x38]
add rax, 0x1c
jmp 0x140009ba6
dec eax
cdqe
shl rax, 4
add rax, qword [rbx + 0x60]
movups xmm0, xmmword [rax]
mov rcx, rbx
movups xmmword [rbx + 0x88], xmm0
call fcn.140024c50
jmp 0x140009cbb
mov rcx, rbx
mov qword [rsp + 0xb8], r14
mov rbp, rbx
call fcn.140010e60
movsxd r14, eax
mov rdi, r14
test eax, eax
js 0x140009c6e
nop
test rdi, rdi
js 0x140009bee
cmp r14d, dword [rsi + 0x1bf0]
jl 0x140009c08
mov r8d, 0x6bb
lea rdx, str.D:Sourcesimgui_512c54bbc062c41c74f8a8bd8ff1fd6bebd1e6d0imgui.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 + 0x1bf8]
mov rcx, qword [rax + rdi*8]
mov edx, dword [rcx + 0xc]
bt edx, 0x18
jb 0x140009c61
mov rax, rcx
cmp qword [rcx + 0x350], rbx
je 0x140009c3b
cmp rax, rbx
je 0x140009c3b
mov rax, qword [rax + 0x348]
test rax, rax
jne 0x140009c28
jmp 0x140009c6e
cmp byte [rcx + 0x8e], 0
je 0x140009c61
cmp byte [rcx + 0x96], 0
jne 0x140009c61
mov eax, dword [rbx + 0xc]
and edx, 0x2000000
and eax, 0x2000000
cmp edx, eax
cmovbe rbp, rcx
dec r14d
sub rdi, 1
jns 0x140009be0
mov rax, qword [0x1400c9a50]
lea rcx, [rsp + 0x30]
movss xmm0, dword [rsi + 0x1fdc]
movups xmm1, xmmword [rax + 0x1984]
mulss xmm0, dword [rax + 0x1570]
movups xmmword [rsp + 0x30], xmm1
shufps xmm1, xmm1, 0xff
mulss xmm1, xmm0
movss dword [rsp + 0x3c], xmm1
call fcn.140002ea0
mov edx, eax
mov rcx, rbp
call fcn.140009540
mov r14, qword [rsp + 0xb8]
mov rdi, qword [rsp + 0xb0]
add rsp, 0x80
pop rsi
pop rbp
pop rbx
ret