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

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xe8
mov rax, qword [0x1402708d0]
mov qword [rsp + 0x40], rax
movss xmm2, dword [0x1401fa69c]
movss xmm1, dword [0x1401fa69c]
lea rcx, [rsp + 0x98]
call fcn.14000b4d0
mov rcx, qword [rsp + 0xf8]
add rcx, 0x238
mov r8, rax
mov rdx, rcx
lea rcx, [rsp + 0xa0]
call fcn.14000c920
mov qword [rsp + 0x60], rax
movss xmm2, dword [0x1401fa69c]
movss xmm1, dword [0x1401fa69c]
lea rcx, [rsp + 0xa8]
call fcn.14000b4d0
mov rcx, qword [rsp + 0xf8]
add rcx, 0x230
mov r8, rax
mov rdx, rcx
lea rcx, [rsp + 0xb0]
call fcn.14000c8d0
mov qword [rsp + 0x68], rax
mov r8, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x30]
call fcn.14000b340
mov rax, qword [rsp + 0xf8]
movss xmm0, dword [rsp + 0x30]
addss xmm0, dword [rax + 0xa0]
movss xmm1, dword [rsp + 0x38]
call fcn.1400075a0
movss dword [rsp + 0x30], xmm0
mov rax, qword [rsp + 0xf8]
movss xmm0, dword [rsp + 0x34]
addss xmm0, dword [rax + 0xa4]
movss xmm1, dword [rsp + 0x3c]
call fcn.1400075a0
movss dword [rsp + 0x34], xmm0
mov eax, dword [rsp + 0x108]
and eax, 0x15
test eax, eax
je 0x1400407a3
mov eax, dword [rsp + 0x108]
and eax, 0x15
mov ecx, eax
call fcn.14002e940
movzx eax, al
test eax, eax
jne 0x1400407a3
mov r8d, 0x299d
lea rdx, [0x1401e7a80]
lea rcx, str._flags__ImGuiScrollFlags_MaskX____0__ImIsPowerOfTwo_flags__ImGuiScrollFlags_MaskX__
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
xor eax, eax
mov eax, dword [rsp + 0x108]
and eax, 0x2a
test eax, eax
je 0x1400407e5
mov eax, dword [rsp + 0x108]
and eax, 0x2a
mov ecx, eax
call fcn.14002e940
movzx eax, al
test eax, eax
jne 0x1400407e5
mov r8d, 0x299e
lea rdx, [0x1401e7bb0]
lea rcx, str._flags__ImGuiScrollFlags_MaskY____0__ImIsPowerOfTwo_flags__ImGuiScrollFlags_MaskY__
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
xor eax, eax
mov eax, dword [rsp + 0x108]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x108]
and eax, 0x15
test eax, eax
jne 0x140040822
mov rax, qword [rsp + 0xf8]
movzx eax, byte [rax + 0xe8]
test eax, eax
je 0x140040822
mov eax, dword [rsp + 0x108]
or eax, 1
mov dword [rsp + 0x108], eax
mov eax, dword [rsp + 0x108]
and eax, 0x2a
test eax, eax
jne 0x14004086b
mov rax, qword [rsp + 0xf8]
movzx eax, byte [rax + 0xf1]
test eax, eax
je 0x14004084d
mov dword [rsp + 0x48], reloc.WLDAP32.dll_Ordinal_32
jmp 0x140040855
mov dword [rsp + 0x48], 2
mov eax, dword [rsp + 0x48]
mov ecx, dword [rsp + 0x108]
or ecx, eax
mov eax, ecx
mov dword [rsp + 0x108], eax
mov rax, qword [rsp + 0x100]
movss xmm0, dword [rax]
comiss xmm0, dword [rsp + 0x30]
jb 0x140040899
mov rax, qword [rsp + 0x100]
movss xmm0, dword [rsp + 0x38]
comiss xmm0, dword [rax + 8]
jb 0x140040899
mov byte [rsp + 0x20], 1
jmp 0x14004089e
mov byte [rsp + 0x20], 0
movzx eax, byte [rsp + 0x20]
mov byte [rsp + 0x24], al
mov rax, qword [rsp + 0x100]
movss xmm0, dword [rax + 4]
comiss xmm0, dword [rsp + 0x34]
jb 0x1400408d6
mov rax, qword [rsp + 0x100]
movss xmm0, dword [rsp + 0x3c]
comiss xmm0, dword [rax + 0xc]
jb 0x1400408d6
mov byte [rsp + 0x21], 1
jmp 0x1400408db
mov byte [rsp + 0x21], 0
movzx eax, byte [rsp + 0x21]
mov byte [rsp + 0x26], al
mov rcx, qword [rsp + 0x100]
call fcn.14002d730
mov rax, qword [rsp + 0x40]
movss xmm1, dword [rax + 0x3924]
mulss xmm1, dword [0x1401fa6bc]
addss xmm0, xmm1
movss dword [rsp + 0x58], xmm0
lea rcx, [rsp + 0x30]
call fcn.14002d730
movss xmm1, dword [rsp + 0x58]
comiss xmm0, xmm1
jae 0x140040951
mov rax, qword [rsp + 0xf8]
movsx eax, byte [rax + 0x108]
test eax, eax
jg 0x140040951
mov rax, qword [rsp + 0xf8]
mov eax, dword [rax + 0x14]
and eax, 0x40
test eax, eax
jne 0x140040951
mov byte [rsp + 0x22], 0
jmp 0x140040956
mov byte [rsp + 0x22], 1
movzx eax, byte [rsp + 0x22]
mov byte [rsp + 0x25], al
mov rcx, qword [rsp + 0x100]
call fcn.14002be90
mov rax, qword [rsp + 0x40]
movss xmm1, dword [rax + 0x3928]
mulss xmm1, dword [0x1401fa6bc]
addss xmm0, xmm1
movss dword [rsp + 0x5c], xmm0
lea rcx, [rsp + 0x30]
call fcn.14002be90
movss xmm1, dword [rsp + 0x5c]
comiss xmm0, xmm1
jae 0x1400409cc
mov rax, qword [rsp + 0xf8]
movsx eax, byte [rax + 0x109]
test eax, eax
jg 0x1400409cc
mov rax, qword [rsp + 0xf8]
mov eax, dword [rax + 0x14]
and eax, 0x40
test eax, eax
jne 0x1400409cc
mov byte [rsp + 0x23], 0
jmp 0x1400409d1
mov byte [rsp + 0x23], 1
movzx eax, byte [rsp + 0x23]
mov byte [rsp + 0x27], al
mov eax, dword [rsp + 0x108]
and eax, 1
test eax, eax
je 0x140040aa8
movzx eax, byte [rsp + 0x24]
test eax, eax
jne 0x140040aa8
mov rax, qword [rsp + 0x100]
movss xmm0, dword [rsp + 0x30]
comiss xmm0, dword [rax]
ja 0x140040a15
movzx eax, byte [rsp + 0x25]
test eax, eax
jne 0x140040a50
mov rax, qword [rsp + 0x100]
mov rcx, qword [rsp + 0x40]
movss xmm0, dword [rax]
subss xmm0, dword [rcx + 0x3924]
mov rax, qword [rsp + 0xf8]
subss xmm0, dword [rax + 0x50]
xorps xmm2, xmm2
movaps xmm1, xmm0
mov rcx, qword [rsp + 0xf8]
call fcn.140042930
jmp 0x140040aa3
mov rax, qword [rsp + 0x100]
movss xmm0, dword [rax + 8]
comiss xmm0, dword [rsp + 0x38]
jb 0x140040aa3
mov rax, qword [rsp + 0x100]
mov rcx, qword [rsp + 0x40]
movss xmm0, dword [rax + 8]
addss xmm0, dword [rcx + 0x3924]
mov rax, qword [rsp + 0xf8]
subss xmm0, dword [rax + 0x50]
movss xmm2, dword [0x1401fa69c]
movaps xmm1, xmm0
mov rcx, qword [rsp + 0xf8]
call fcn.140042930
jmp 0x140040b53
mov eax, dword [rsp + 0x108]
and eax, 4
test eax, eax
je 0x140040abf
movzx eax, byte [rsp + 0x24]
test eax, eax
je 0x140040ad1
mov eax, dword [rsp + 0x108]
and eax, 0x10
test eax, eax
je 0x140040b53
movzx eax, byte [rsp + 0x25]
test eax, eax
je 0x140040b27
mov rax, qword [rsp + 0x100]
mov rcx, qword [rsp + 0x100]
movss xmm0, dword [rax]
addss xmm0, dword [rcx + 8]
mulss xmm0, dword [0x1401fa66c]
call fcn.14002e150
mov rax, qword [rsp + 0xf8]
subss xmm0, dword [rax + 0x50]
movss xmm2, dword [0x1401fa66c]
movaps xmm1, xmm0
mov rcx, qword [rsp + 0xf8]
call fcn.140042930
jmp 0x140040b53
mov rax, qword [rsp + 0x100]
mov rcx, qword [rsp + 0xf8]
movss xmm0, dword [rax]
subss xmm0, dword [rcx + 0x50]
xorps xmm2, xmm2
movaps xmm1, xmm0
mov rcx, qword [rsp + 0xf8]
call fcn.140042930
mov eax, dword [rsp + 0x108]
and eax, 2
test eax, eax
je 0x140040c23
movzx eax, byte [rsp + 0x26]
test eax, eax
jne 0x140040c23
mov rax, qword [rsp + 0x100]
movss xmm0, dword [rsp + 0x34]
comiss xmm0, dword [rax + 4]
ja 0x140040b8f
movzx eax, byte [rsp + 0x27]
test eax, eax
jne 0x140040bcb
mov rax, qword [rsp + 0x100]
mov rcx, qword [rsp + 0x40]
movss xmm0, dword [rax + 4]
subss xmm0, dword [rcx + 0x3928]
mov rax, qword [rsp + 0xf8]
subss xmm0, dword [rax + 0x54]
xorps xmm2, xmm2
movaps xmm1, xmm0
mov rcx, qword [rsp + 0xf8]
call fcn.1400429f0
jmp 0x140040c1e
mov rax, qword [rsp + 0x100]
movss xmm0, dword [rax + 0xc]
comiss xmm0, dword [rsp + 0x3c]
jb 0x140040c1e
mov rax, qword [rsp + 0x100]
mov rcx, qword [rsp + 0x40]
movss xmm0, dword [rax + 0xc]
addss xmm0, dword [rcx + 0x3928]
mov rax, qword [rsp + 0xf8]
subss xmm0, dword [rax + 0x54]
movss xmm2, dword [0x1401fa69c]
movaps xmm1, xmm0
mov rcx, qword [rsp + 0xf8]
call fcn.1400429f0
jmp 0x140040cd0
mov eax, dword [rsp + 0x108]
and eax, 8
test eax, eax
je 0x140040c3a
movzx eax, byte [rsp + 0x26]
test eax, eax
je 0x140040c4c
mov eax, dword [rsp + 0x108]
and eax, 0x20
test eax, eax
je 0x140040cd0
movzx eax, byte [rsp + 0x27]
test eax, eax
je 0x140040ca3
mov rax, qword [rsp + 0x100]
mov rcx, qword [rsp + 0x100]
movss xmm0, dword [rax + 4]
addss xmm0, dword [rcx + 0xc]
mulss xmm0, dword [0x1401fa66c]
call fcn.14002e150
mov rax, qword [rsp + 0xf8]
subss xmm0, dword [rax + 0x54]
movss xmm2, dword [0x1401fa66c]
movaps xmm1, xmm0
mov rcx, qword [rsp + 0xf8]
call fcn.1400429f0
jmp 0x140040cd0
mov rax, qword [rsp + 0x100]
mov rcx, qword [rsp + 0xf8]
movss xmm0, dword [rax + 4]
subss xmm0, dword [rcx + 0x54]
xorps xmm2, xmm2
movaps xmm1, xmm0
mov rcx, qword [rsp + 0xf8]
call fcn.1400429f0
mov rdx, qword [rsp + 0xf8]
lea rcx, [rsp + 0x70]
call fcn.1400154f0
mov rax, qword [rsp + 0xf8]
add rax, 0xb8
mov r8, rax
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x50]
call fcn.14000c8d0
mov eax, dword [rsp + 0x108]
and eax, 0x40
test eax, eax
jne 0x140040e11
mov rax, qword [rsp + 0xf8]
mov eax, dword [rax + 0x14]
and eax, 0x1000000
test eax, eax
je 0x140040e11
mov eax, dword [rsp + 0x28]
and eax, 0x14
test eax, eax
je 0x140040d45
mov eax, dword [rsp + 0x28]
and eax, 0xffffffea
or eax, 1
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x28]
and eax, 0x28
test eax, eax
je 0x140040d5e
mov eax, dword [rsp + 0x28]
and eax, 0xffffffd5
or eax, 2
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x100]
add rax, 8
lea r8, [rsp + 0x50]
mov rdx, rax
lea rcx, [rsp + 0xb8]
call fcn.14000c8d0
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x100]
lea r8, [rsp + 0x50]
mov rdx, rax
lea rcx, [rsp + 0xc0]
call fcn.14000c8d0
mov qword [rsp + 0x80], rax
mov r8, qword [rsp + 0x78]
mov rdx, qword [rsp + 0x80]
lea rcx, [rsp + 0xd0]
call fcn.14000b340
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0xf8]
mov rax, qword [rax + 0x3a8]
mov qword [rsp + 0x90], rax
mov r9d, dword [rsp + 0x28]
mov r8, qword [rsp + 0x88]
mov rdx, qword [rsp + 0x90]
lea rcx, [rsp + 0xc8]
call fcn.140040650
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.14000c9c0
mov rax, qword [rsp + 0xf0]
mov rcx, qword [rsp + 0x50]
mov qword [rax], rcx
mov rax, qword [rsp + 0xf0]
add rsp, 0xe8
ret