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

Disassembly:
sub esp, 0x84
mov eax, dword [0x1008d470]
xor eax, esp
mov dword [esp + 0x80], eax
mov eax, dword [0x1008df28]
xorps xmm0, xmm0
push esi
push edi
mov edi, dword [esp + 0x90]
xor esi, esi
mov dword [esp + 0x4c], eax
xor eax, eax
mov dword [esp + 0x1c], edi
mov byte [esp + 0x44], 0
mov ecx, dword [edi]
mov byte [edi + 0x67], 0
mov dword [esp + 0x84], esi
mov dword [esp + 0x34], eax
movups xmmword [esp + 0x64], xmm0
movups xmmword [esp + 0x74], xmm0
test ecx, ecx
jle 0x1005431b
mov dword [esp + 0x3c], eax
mov dword [esp + 0x48], eax
test eax, eax
js 0x10054159
cmp eax, ecx
jl 0x10054173
push 0x72e
push str.D:Projectm2extLibrariesimguiimgui.h
push str.i___0__i___Size
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov ecx, dword [edi]
add esp, 0xc
mov edx, dword [edi + 8]
add edx, dword [esp + 0x48]
mov eax, dword [edx + 8]
cmp eax, dword [edi + 0x24]
jl 0x100542d9
cmp byte [edx + 0x28], 0
jne 0x100542d9
mov eax, dword [esp + 0x34]
cmp esi, eax
je 0x10054214
test esi, esi
js 0x100541a0
cmp esi, ecx
jl 0x100541be
push 0x72e
push str.D:Projectm2extLibrariesimguiimgui.h
push str.i___0__i___Size
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov ecx, dword [edi]
add esp, 0xc
mov eax, dword [esp + 0x34]
mov edx, dword [edi + 8]
add edx, dword [esp + 0x3c]
mov dword [esp + 0x50], edx
test eax, eax
js 0x100541d1
cmp eax, ecx
jl 0x100541ed
push 0x72e
push str.D:Projectm2extLibrariesimguiimgui.h
push str.i___0__i___Size
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov edx, dword [esp + 0x5c]
add esp, 0xc
mov eax, dword [edi + 8]
add eax, dword [esp + 0x48]
movups xmm0, xmmword [eax]
movups xmmword [edx], xmm0
movups xmm0, xmmword [eax + 0x10]
movups xmmword [edx + 0x10], xmm0
movq xmm0, qword [eax + 0x20]
movq qword [edx + 0x20], xmm0
mov eax, dword [eax + 0x28]
mov dword [edx + 0x28], eax
mov ecx, dword [edi]
test esi, esi
js 0x1005421c
cmp esi, ecx
jl 0x10054234
push 0x72e
push str.D:Projectm2extLibrariesimguiimgui.h
push str.i___0__i___Size
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
add esp, 0xc
mov eax, dword [edi + 8]
mov ecx, dword [esp + 0x3c]
mov word [eax + ecx + 0x26], si
mov eax, dword [eax + ecx + 4]
test al, 0x40
je 0x1005424c
xor eax, eax
jmp 0x10054257
test al, 0x80
mov eax, 0
setne al
inc eax
mov dword [esp + 0x40], eax
test esi, esi
jle 0x100542ca
cmp esi, dword [edi]
jle 0x1005427f
push 0x72e
push str.D:Projectm2extLibrariesimguiimgui.h
push str.i___0__i___Size
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov ecx, dword [esp + 0x48]
add esp, 0xc
mov eax, dword [edi + 8]
mov eax, dword [ecx + eax - 0x28]
test al, 0x40
je 0x1005428e
xor ecx, ecx
jmp 0x10054299
test al, 0x80
mov ecx, 0
setne cl
inc ecx
mov eax, dword [esp + 0x40]
test eax, eax
jne 0x100542b0
test ecx, ecx
je 0x100542ca
mov edx, 1
mov dword [esp + 0x44], edx
jmp 0x100542b4
mov edx, dword [esp + 0x44]
cmp ecx, 2
jne 0x100542ca
cmp eax, ecx
movzx edx, dl
mov ecx, 1
cmovne edx, ecx
mov dword [esp + 0x44], edx
lea eax, [eax + eax*2]
inc esi
inc dword [esp + eax*4 + 0x64]
add dword [esp + 0x3c], 0x2c
jmp 0x10054303
mov eax, dword [edi + 0x1c]
cmp eax, dword [edx]
jne 0x100542e7
mov dword [edi + 0x1c], 0
mov eax, dword [edi + 0x14]
cmp eax, dword [edx]
jne 0x100542f5
mov dword [edi + 0x14], 0
mov eax, dword [edi + 0x18]
cmp eax, dword [edx]
jne 0x10054303
mov dword [edi + 0x18], 0
mov eax, dword [esp + 0x34]
add dword [esp + 0x48], 0x2c
inc eax
mov ecx, dword [edi]
mov dword [esp + 0x34], eax
cmp eax, ecx
jl 0x10054151
cmp ecx, esi
je 0x10054388
mov ecx, dword [edi + 4]
cmp esi, ecx
jle 0x10054384
test ecx, ecx
je 0x10054335
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x1005433a
mov eax, 8
cmp eax, esi
mov edx, esi
cmovg edx, eax
mov dword [esp + 0x30], edx
cmp edx, ecx
jle 0x10054384
imul eax, edx, 0x2c
push eax
call fcn.10015af0
mov edx, dword [edi + 8]
add esp, 4
mov dword [esp + 0x50], eax
test edx, edx
je 0x1005437a
imul ecx, dword [edi], 0x2c
push ecx
push edx
push eax
call sub.VCRUNTIME140.dll_memcpy
push dword [edi + 8]
call fcn.10015b20
mov eax, dword [esp + 0x60]
add esp, 0x10
mov dword [edi + 8], eax
mov eax, dword [esp + 0x30]
mov dword [edi + 4], eax
mov dword [edi], esi
mov ecx, esi
cmp byte [esp + 0x44], 0
je 0x100543a8
cmp ecx, 1
jbe 0x100543a8
push 0x10055aa0
push 0x2c
push ecx
push dword [edi + 8]
call dword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_qsort]
add esp, 0x10
mov esi, dword [esp + 0x64]
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x7c]
mov dword [esp + 0x38], ecx
test esi, esi
jle 0x100543d1
lea eax, [ecx + edx]
test eax, eax
jle 0x100543d1
mov eax, dword [esp + 0x4c]
movss xmm1, dword [eax + 0x37dc]
jmp 0x100543d8
mov eax, dword [esp + 0x4c]
xorps xmm1, xmm1
movss dword [esp + 0x34], xmm1
xorps xmm0, xmm0
movss dword [esp + 0x6c], xmm1
test ecx, ecx
jle 0x100543f7
test edx, edx
jle 0x100543f7
movss xmm0, dword [eax + 0x37dc]
mov eax, dword [edi + 0x18]
movss dword [esp + 0x3c], xmm0
movss dword [esp + 0x78], xmm0
mov dword [esp + 0x44], 0
test eax, eax
je 0x10054422
mov ecx, eax
mov dword [edi + 0x18], 0
mov dword [esp + 0x44], ecx
mov dword [edi + 0x14], ecx
mov eax, dword [edi + 0x60]
mov dword [esp + 0x50], eax
test eax, eax
je 0x100545a7
mov eax, dword [edi]
xor esi, esi
test eax, eax
jle 0x1005459c
xor ecx, ecx
mov edx, eax
mov dword [esp + 0x40], ecx
test esi, esi
js 0x1005444d
cmp esi, eax
jl 0x1005446b
push 0x72e
push str.D:Projectm2extLibrariesimguiimgui.h
push str.i___0__i___Size
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov edx, dword [edi]
add esp, 0xc
mov ecx, dword [esp + 0x40]
mov eax, dword [edi + 8]
mov edi, dword [esp + 0x50]
cmp dword [ecx + eax], edi
mov edi, dword [esp + 0x1c]
je 0x10054490
mov eax, dword [edi]
inc esi
add ecx, 0x2c
mov edx, eax
mov dword [esp + 0x40], ecx
cmp esi, eax
jl 0x10054445
jmp 0x1005459c
test esi, esi
js 0x10054498
cmp esi, edx
jl 0x100544b0
push 0x72e
push str.D:Projectm2extLibrariesimguiimgui.h
push str.i___0__i___Size
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
add esp, 0xc
imul esi, esi, 0x2c
add esi, dword [edi + 8]
je 0x1005459c
test byte [esi + 4], 0x20
jne 0x1005459c
push esi
push edi
call fcn.100540a0
movsx ecx, word [edi + 0x64]
add esp, 8
add eax, ecx
js 0x1005459c
cmp eax, dword [edi]
jge 0x1005459c
push eax
mov ecx, edi
call fcn.10044650
mov edx, eax
mov dword [esp + 0x30], edx
mov eax, dword [edx + 4]
test al, 0x20
jne 0x1005459c
mov ecx, dword [esi + 4]
xor ecx, eax
test cl, 0xc0
jne 0x1005459c
movups xmm0, xmmword [esi]
mov eax, dword [esi + 0x28]
mov dword [esp + 0x40], eax
movzx eax, word [edi + 0x64]
movsx ecx, ax
movups xmmword [esp + 0x54], xmm0
movups xmm0, xmmword [esi + 0x10]
movups xmmword [esp + 8], xmm0
movq xmm0, qword [esi + 0x20]
movq qword [esp + 0x24], xmm0
test ax, ax
jle 0x1005453f
lea edx, [esi + 0x2c]
jmp 0x10054548
mov dword [esp + 0x50], edx
lea esi, [edx + 0x2c]
neg ecx
imul eax, ecx, 0x2c
push eax
push edx
push esi
call sub.VCRUNTIME140.dll_memmove
mov eax, dword [esp + 0x3c]
add esp, 0xc
movups xmm0, xmmword [esp + 0x54]
mov ecx, dword [esp + 0x40]
movups xmmword [eax], xmm0
movups xmm0, xmmword [esp + 8]
movups xmmword [eax + 0x10], xmm0
movq xmm0, qword [esp + 0x24]
movq qword [eax + 0x20], xmm0
mov dword [eax + 0x28], ecx
test dword [edi + 0xc], 0x400000
je 0x1005458b
call fcn.10015a60
mov eax, dword [edi + 0x60]
mov ecx, dword [esp + 0x44]
cmp eax, dword [edi + 0x14]
cmove ecx, eax
mov dword [esp + 0x44], ecx
mov esi, dword [esp + 0x64]
mov dword [edi + 0x60], 0
mov eax, dword [edi + 0xc]
shr eax, 2
test al, 1
je 0x100545c7
push edi
call fcn.10055540
add esp, 4
test eax, eax
je 0x100545c7
mov eax, dword [eax]
mov dword [esp + 0x44], eax
mov dword [edi + 0x14], eax
mov eax, dword [esp + 0x7c]
mov edx, dword [edi]
add eax, esi
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x58], 0
mov dword [esp + 0x60], esi
mov dword [esp + 0x40], edx
mov ecx, dword [eax + 0x4af4]
cmp edx, ecx
jle 0x1005467f
test ecx, ecx
je 0x10054608
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x40]
sar eax, 1
add eax, ecx
jmp 0x1005460d
mov eax, 8
cmp eax, edx
mov esi, edx
cmovg esi, eax
cmp esi, ecx
jle 0x10054679
lea eax, [esi + esi*2]
shl eax, 2
push eax
call fcn.10015af0
mov ecx, dword [esp + 0x50]
add esp, 4
mov dword [esp + 0x50], eax
mov edx, dword [ecx + 0x4af8]
test edx, edx
je 0x10054667
mov ecx, dword [ecx + 0x4af0]
lea ecx, [ecx + ecx*2]
shl ecx, 2
push ecx
push edx
push eax
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [esp + 0x58]
push dword [eax + 0x4af8]
call fcn.10015b20
mov eax, dword [esp + 0x60]
add esp, 0x10
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x40]
mov dword [ecx + 0x4af8], eax
mov dword [ecx + 0x4af4], esi
jmp 0x10054681
mov ecx, dword [esp + 0x4c]
jmp 0x10054681
mov ecx, eax
mov dword [ecx + 0x4af0], edx
xor edx, edx
mov eax, dword [edi]
mov dword [esp + 0x40], 0
mov dword [esp + 0x2c], 0xffffffff
mov byte [esp + 0x20], 0
mov dword [esp + 0x48], edx
test eax, eax
jle 0x10054912
xor ecx, ecx
mov dword [esp + 0x38], ecx
test edx, edx
js 0x100546ba
cmp edx, eax
jl 0x100546d6
push 0x72e
push str.D:Projectm2extLibrariesimguiimgui.h
push str.i___0__i___Size
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov ecx, dword [esp + 0x44]
add esp, 0xc
mov esi, dword [edi + 8]
add esi, ecx
mov eax, dword [esi + 8]
cmp eax, dword [edi + 0x24]
jge 0x100546fb
push 0x1efb
push str.D:Projectm2extLibrariesimguiimgui_widgets.cpp
push str.tab__LastFrameVisible___tab_bar__PrevFrameVisible
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
add esp, 0xc
mov ecx, dword [esp + 0x40]
test ecx, ecx
je 0x1005470b
mov eax, dword [ecx + 0xc]
cmp eax, dword [esi + 0xc]
jge 0x10054719
test dword [esi + 4], 0x200000
cmove ecx, esi
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x20]
mov edx, 1
mov eax, dword [esi]
cmp eax, dword [edi + 0x14]
movzx ecx, cl
cmove ecx, edx
mov edx, dword [esp + 0x44]
mov dword [esp + 0x20], ecx
test edx, edx
jne 0x1005474a
mov ecx, dword [esp + 0x4c]
cmp dword [ecx + 0x4814], eax
cmove edx, eax
mov dword [esp + 0x44], edx
mov eax, dword [esi + 0x20]
cmp eax, 0xffffffff
jne 0x10054759
mov eax, 0x100796d4
jmp 0x10054782
cmp eax, dword [edi + 0x84]
jl 0x10054779
push 0x1fc9
push str.D:Projectm2extLibrariesimguiimgui_widgets.cpp
push str.tab__NameOffset___tab_bar__TabsNames.Buf.Size
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
add esp, 0xc
mov eax, dword [edi + 0x8c]
add eax, dword [esi + 0x20]
mov ecx, dword [esi + 4]
xorps xmm0, xmm0
movss xmm1, dword [esi + 0x1c]
and ecx, 0x100001
comiss xmm1, xmm0
mov dword [esp + 0x30], ecx
jae 0x10054822
mov ecx, dword [0x1008df28]
push ecx
mov dword [esp], 0xbf800000
push 1
push 0
push eax
lea eax, [esp + 0x34]
mov dword [esp + 0x60], ecx
push eax
call fcn.1000b150
mov eax, dword [esp + 0x64]
add esp, 0x14
cmp dword [esp + 0x30], 0x100000
movss xmm0, dword [esp + 0x24]
movss xmm2, dword [eax + 0x37c4]
addss xmm0, xmm2
je 0x100547f6
movss xmm1, dword [eax + 0x3bcc]
addss xmm1, dword [eax + 0x37dc]
jmp 0x100547fe
movss xmm1, dword [0x10076240]
mov eax, dword [0x1008df28]
addss xmm1, xmm2
addss xmm1, xmm0
movss xmm0, dword [eax + 0x3bcc]
mulss xmm0, dword [0x1007627c]
minss xmm1, xmm0
xorps xmm0, xmm0
mov eax, dword [esi + 4]
movss dword [esi + 0x18], xmm1
test al, 0x40
je 0x10054832
xor ecx, ecx
jmp 0x1005483d
test al, 0x80
mov ecx, 0
setne cl
inc ecx
lea eax, [ecx + ecx*2]
cmp ecx, dword [esp + 0x2c]
jne 0x10054852
mov edx, dword [esp + 0x4c]
movss xmm0, dword [edx + 0x37dc]
mov edx, dword [esp + ecx*4 + 0x58]
addss xmm1, xmm0
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x50], edx
addss xmm1, dword [esp + eax*4 + 0x68]
movss dword [esp + eax*4 + 0x68], xmm1
lea eax, [edx + 1]
mov dword [esp + ecx*4 + 0x58], eax
test edx, edx
js 0x10054885
mov eax, dword [esp + 0x4c]
cmp edx, dword [eax + 0x4af0]
jl 0x100548a5
push 0x72e
push str.D:Projectm2extLibrariesimguiimgui.h
push str.i___0__i___Size
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov edx, dword [esp + 0x5c]
add esp, 0xc
mov eax, dword [esp + 0x4c]
mov eax, dword [eax + 0x4af8]
lea ecx, [edx + edx*2]
mov edx, dword [esp + 0x48]
mov dword [eax + ecx*4], edx
inc edx
movss xmm0, dword [esi + 0x18]
movss dword [eax + ecx*4 + 8], xmm0
movss dword [eax + ecx*4 + 4], xmm0
movss xmm0, dword [esi + 0x18]
maxss xmm0, dword [0x10076240]
mov ecx, dword [esp + 0x38]
add ecx, 0x2c
mov dword [esp + 0x48], edx
mov dword [esp + 0x38], ecx
movss dword [esi + 0x14], xmm0
mov eax, dword [edi]
cmp edx, eax
jl 0x100546b2
movss xmm0, dword [esp + 0x78]
mov ecx, dword [esp + 0x70]
movss dword [esp + 0x3c], xmm0
movss xmm0, dword [esp + 0x6c]
mov dword [esp + 0x38], ecx
movss dword [esp + 0x34], xmm0
movss xmm0, dword [esp + 0x68]
xorps xmm4, xmm4
movss xmm1, dword [esp + 0x80]
addss xmm1, dword [esp + 0x84]
addss xmm0, dword [esp + 0x34]
movss xmm2, dword [esp + 0x74]
addss xmm2, dword [esp + 0x3c]
movss dword [esp + 0x2c], xmm1
movaps xmm1, xmm0
movss dword [esp + 0x50], xmm0
addss xmm1, xmm4
movss dword [esp + 0x48], xmm2
addss xmm1, xmm2
addss xmm1, dword [esp + 0x2c]
movss dword [edi + 0x44], xmm1
movss xmm0, dword [edi + 0x30]
subss xmm0, dword [edi + 0x28]
comiss xmm1, xmm0
jbe 0x100549ae
cmp eax, 1
jle 0x100549ae
mov eax, dword [edi + 0xc]
test al, 0x10
jne 0x100549ae
test al, al
jns 0x100549ae
push edi
call fcn.100552b0
movss xmm2, dword [esp + 0x4c]
add esp, 4
xorps xmm4, xmm4
test eax, eax
je 0x100549ae
test dword [eax + 4], 0x200000
mov ecx, dword [eax]
mov dword [esp + 0x44], ecx
jne 0x100549ae
mov dword [edi + 0x14], ecx
movss xmm1, dword [esp + 0x2c]
movss xmm3, dword [esp + 0x50]
movss xmm0, dword [edi + 0x30]
addss xmm1, xmm3
subss xmm0, dword [edi + 0x28]
comiss xmm0, xmm1
seta al
test al, al
je 0x100549e6
subss xmm0, xmm3
subss xmm0, dword [esp + 0x2c]
subss xmm2, xmm0
maxss xmm2, xmm4
jmp 0x100549ed
movaps xmm2, xmm1
subss xmm2, xmm0
comiss xmm2, dword [0x10076240]
jb 0x10054ba1
test byte [edi + 0xc], 0x40
jne 0x10054a20
test al, al
jne 0x10054ba1
mov edx, dword [esp + 0x7c]
mov esi, dword [esp + 0x64]
add edx, esi
mov dword [esp + 0x38], edx
test al, al
je 0x10054a32
add esi, dword [esp + 0x7c]
jmp 0x10054a38
test al, al
je 0x10054a08
mov esi, dword [esp + 0x64]
mov edx, dword [esp + 0x70]
add esi, dword [esp + 0x7c]
jmp 0x10054a38
xor esi, esi
mov dword [esp + 0x38], edx
mov eax, dword [esp + 0x4c]
lea ecx, [esi + esi*2]
shl ecx, 2
push ecx
movss dword [esp], xmm2
mov eax, dword [eax + 0x4af8]
push edx
add eax, ecx
mov dword [esp + 0x50], ecx
push eax
call fcn.100532a0
mov eax, dword [esp + 0x44]
add esp, 0xc
add eax, esi
mov dword [esp + 0x30], eax
cmp esi, eax
jge 0x10054ba1
mov edx, dword [esp + 0x48]
test esi, esi
js 0x10054a84
mov eax, dword [esp + 0x4c]
cmp esi, dword [eax + 0x4af0]
jl 0x10054aa4
push 0x72e
push str.D:Projectm2extLibrariesimguiimgui.h
push str.i___0__i___Size
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov edx, dword [esp + 0x54]
add esp, 0xc
mov eax, dword [esp + 0x4c]
mov eax, dword [eax + 0x4af8]
mov eax, dword [edx + eax]
mov dword [esp + 0x50], eax
test eax, eax
js 0x10054ab9
cmp eax, dword [edi]
jl 0x10054ad9
push 0x72e
push str.D:Projectm2extLibrariesimguiimgui.h
push str.i___0__i___Size
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov eax, dword [esp + 0x5c]
add esp, 0xc
mov edx, dword [esp + 0x48]
imul ecx, eax, 0x2c
add ecx, dword [edi + 8]
mov dword [esp + 0x50], ecx
test esi, esi
js 0x10054af3
mov eax, dword [esp + 0x4c]
cmp esi, dword [eax + 0x4af0]
jl 0x10054b17
push 0x72e
push str.D:Projectm2extLibrariesimguiimgui.h
push str.i___0__i___Size
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov ecx, dword [esp + 0x5c]
add esp, 0xc
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x4c]
mov eax, dword [eax + 0x4af8]
xorps xmm3, xmm3
cvttss2si eax, dword [edx + eax + 4]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm3, xmm0
ja 0x10054b75
movss xmm2, dword [0x10076240]
mov eax, dword [ecx + 4]
maxss xmm2, xmm0
test al, 0x40
je 0x10054b49
xor eax, eax
jmp 0x10054b54
test al, 0x80
mov eax, 0
setne al
inc eax
movss xmm1, dword [ecx + 0x14]
lea eax, [eax + eax*2]
movss xmm0, dword [esp + eax*4 + 0x68]
subss xmm1, xmm2
movss dword [ecx + 0x14], xmm2
subss xmm0, xmm1
movss dword [esp + eax*4 + 0x68], xmm0
inc esi
add edx, 0xc
mov dword [esp + 0x48], edx
cmp esi, dword [esp + 0x30]
jl 0x10054a74
movss xmm0, dword [esp + 0x78]
movss dword [esp + 0x3c], xmm0
movss xmm0, dword [esp + 0x6c]
movss dword [esp + 0x34], xmm0
jmp 0x10054ba4
xorps xmm3, xmm3
xor ecx, ecx
xorps xmm2, xmm2
xor esi, esi
mov dword [esp + 0x48], ecx
movss dword [esp + 0x38], xmm2
mov dword [edi + 0x40], ecx
mov dword [esp + 0x50], esi
nop dword [eax]
lea edx, [esi + esi*2]
shl edx, 2
lea eax, [esp + 0x68]
add eax, edx
mov dword [esp + 0x30], edx
cmp esi, 2
jne 0x10054bf7
movss xmm1, dword [edi + 0x30]
movaps xmm0, xmm3
subss xmm1, dword [edi + 0x28]
subss xmm1, dword [eax]
maxss xmm0, xmm1
minss xmm0, xmm2
movaps xmm2, xmm0
movss dword [esp + 0x38], xmm2
mov edx, dword [esp + edx + 0x64]
xor esi, esi
mov dword [esp + 0x18], edx
test edx, edx
jle 0x10054cb0
lea eax, [edx - 1]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x48]
imul ecx, eax, 0x2c
mov dword [esp + 0x2c], ecx
nop dword [eax + eax]
add eax, esi
js 0x10054c28
cmp eax, dword [edi]
jl 0x10054c4b
push 0x72e
push str.D:Projectm2extLibrariesimguiimgui.h
push str.i___0__i___Size
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov ecx, dword [esp + 0x38]
add esp, 0xc
mov edx, dword [esp + 0x18]
xorps xmm3, xmm3
mov eax, dword [edi + 8]
movss xmm1, dword [esp + 0x38]
movss dword [eax + ecx + 0x10], xmm1
mov dword [eax + ecx + 0x20], 0xffffffff
cmp esi, dword [esp + 0x28]
jge 0x10054c7a
mov edi, dword [esp + 0x4c]
movss xmm0, dword [edi + 0x37dc]
mov edi, dword [esp + 0x1c]
jmp 0x10054c7d
movaps xmm0, xmm3
addss xmm0, dword [eax + ecx + 0x14]
mov eax, dword [esp + 0x48]
inc esi
add ecx, 0x2c
mov dword [esp + 0x2c], ecx
addss xmm0, xmm1
movaps xmm2, xmm0
movss dword [esp + 0x38], xmm2
cmp esi, edx
jl 0x10054c20
mov esi, dword [esp + 0x30]
lea eax, [esp + 0x68]
mov ecx, dword [esp + 0x48]
add eax, esi
jmp 0x10054cb4
mov esi, dword [esp + 0x30]
movss xmm1, dword [esp + esi + 0x6c]
add ecx, edx
mov esi, dword [esp + 0x50]
addss xmm2, xmm1
movaps xmm0, xmm1
mov dword [esp + 0x48], ecx
addss xmm0, dword [eax]
inc esi
mov dword [esp + 0x50], esi
movss dword [esp + 0x38], xmm2
maxss xmm0, xmm3
addss xmm0, dword [edi + 0x40]
movss dword [edi + 0x40], xmm0
cmp esi, 3
jl 0x10054bc0
push 0
lea ecx, [edi + 0x84]
call fcn.100264d0
cmp byte [esp + 0x20], 0
jne 0x10054d0c
mov dword [edi + 0x14], 0
mov ecx, dword [edi + 0x14]
mov eax, ecx
test ecx, ecx
jne 0x10054d2b
cmp dword [edi + 0x18], ecx
jne 0x10054d2b
mov ecx, dword [esp + 0x40]
test ecx, ecx
je 0x10054d2b
mov eax, dword [ecx]
mov dword [esp + 0x44], eax
mov dword [edi + 0x14], eax
mov dword [edi + 0x1c], eax
mov eax, dword [esp + 0x44]
mov byte [edi + 0x68], 0
test eax, eax
je 0x10054e49
push eax
push edi
call fcn.10054010
mov esi, eax
add esp, 8
test esi, esi
je 0x10054f4c
test byte [esi + 4], 0xc0
jne 0x10054f4c
mov ecx, dword [0x1008df28]
push esi
push edi
movss xmm0, dword [ecx + 0x3bcc]
movss dword [esp + 0x58], xmm0
call fcn.100540a0
movss xmm3, dword [edi + 0x30]
add esp, 8
subss xmm3, dword [edi + 0x28]
movss xmm7, dword [esp + 0x68]
xorps xmm5, xmm5
mov ecx, dword [esp + 0x64]
movss xmm0, dword [esp + 0x50]
dec ecx
subss xmm3, xmm7
subss xmm3, dword [esp + 0x80]
subss xmm3, dword [esp + 0x3c]
cmp eax, ecx
jle 0x10054dbb
movaps xmm1, xmm0
xorps xmm1, xmmword [0x100762c0]
jmp 0x10054dbe
xorps xmm1, xmm1
movss xmm2, dword [esi + 0x10]
inc eax
mov ecx, dword [edi]
subss xmm2, xmm7
sub ecx, dword [esp + 0x7c]
addss xmm1, xmm2
cmp eax, ecx
jl 0x10054dde
movss xmm0, dword [0x10076240]
addss xmm2, dword [esi + 0x14]
movss xmm4, dword [edi + 0x4c]
comiss xmm4, xmm1
mov dword [edi + 0x50], 0
addss xmm2, xmm0
ja 0x10054e2d
movaps xmm0, xmm2
subss xmm0, xmm1
comiss xmm0, xmm3
jae 0x10054e2d
subss xmm2, xmm3
comiss xmm2, xmm4
jbe 0x10054f52
subss xmm1, xmm3
movss dword [edi + 0x4c], xmm2
subss xmm1, dword [edi + 0x48]
maxss xmm1, xmm5
movss dword [edi + 0x50], xmm1
jmp 0x10054f52
movss xmm0, dword [edi + 0x48]
subss xmm0, xmm2
movss dword [edi + 0x4c], xmm1
maxss xmm0, xmm5
movss dword [edi + 0x50], xmm0
jmp 0x10054f52
test byte [edi + 0xc], 0x80
je 0x10054f4c
push 1
lea esi, [edi + 0x30]
lea ecx, [edi + 0x28]
push esi
push ecx
call fcn.10014740
add esp, 0xc
test al, al
je 0x10054f4c
mov eax, dword [esp + 0x4c]
push 0
push dword [eax + 0x3e60]
call fcn.10014ad0
add esp, 8
test al, al
je 0x10054f4c
mov eax, dword [esp + 0x4c]
mov cl, byte [eax + 0x372d]
test cl, cl
je 0x10054ea1
movss xmm0, dword [eax + 0xdcc]
jmp 0x10054ea9
movss xmm0, dword [eax + 0xdd0]
push dword [edi + 0x10]
xor eax, eax
movss dword [esp + 0x54], xmm0
test cl, cl
setne al
add eax, 0x286
push eax
mov dword [esp + 0x30], eax
call fcn.10021dc0
add esp, 8
test al, al
je 0x10054f3b
movss xmm1, dword [esp + 0x50]
xorps xmm4, xmm4
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jnp 0x10054f3b
movss xmm0, dword [edi + 0x30]
subss xmm0, dword [edi + 0x28]
movss xmm2, dword [edi + 0x4c]
mov dword [edi + 0x50], 0
subss xmm0, dword [esp + 0x68]
subss xmm0, dword [esp + 0x80]
subss xmm0, dword [esp + 0x3c]
mulss xmm0, xmm1
movss xmm1, dword [esi]
subss xmm1, dword [edi + 0x28]
divss xmm0, dword [0x10076250]
subss xmm2, xmm0
movss xmm0, dword [edi + 0x40]
subss xmm0, xmm1
minss xmm2, xmm0
maxss xmm2, xmm4
movss dword [edi + 0x4c], xmm2
push 0
push dword [edi + 0x10]
push dword [esp + 0x30]
call fcn.1001fc00
add esp, 0xc
movss xmm7, dword [esp + 0x68]
movss xmm6, dword [edi + 0x28]
movss xmm0, dword [edi + 0x30]
movss xmm2, dword [edi + 0x40]
subss xmm0, xmm6
movss xmm3, dword [edi + 0x48]
movaps xmm1, xmm2
movss xmm4, dword [edi + 0x4c]
mov ecx, dword [esp + 0x4c]
subss xmm1, xmm0
minss xmm3, xmm1
xorps xmm1, xmm1
maxss xmm3, xmm1
movss dword [edi + 0x48], xmm3
movss xmm5, dword [edi + 0x30]
movaps xmm0, xmm5
subss xmm0, xmm6
subss xmm2, xmm0
minss xmm4, xmm2
maxss xmm4, xmm1
ucomiss xmm3, xmm4
movss dword [edi + 0x4c], xmm4
lahf
test ah, 0x44
jnp 0x10055049
movss xmm0, dword [ecx + 0x3bcc]
mulss xmm0, dword [0x10085b08]
mov eax, dword [edi + 0x24]
movss xmm2, dword [edi + 0x54]
inc eax
maxss xmm2, xmm0
movaps xmm0, xmm4
subss xmm0, xmm3
andps xmm0, xmmword [0x1007d4a0]
divss xmm0, dword [0x10076230]
maxss xmm2, xmm0
movss dword [edi + 0x54], xmm2
cmp eax, dword [ecx + 0x3de0]
jl 0x1005503f
movss xmm1, dword [ecx + 0x3bcc]
mulss xmm1, dword [0x10076270]
movss xmm0, dword [edi + 0x50]
comiss xmm0, xmm1
ja 0x1005503f
comiss xmm4, xmm3
mulss xmm2, dword [ecx + 0x18]
jbe 0x1005502b
addss xmm3, xmm2
minss xmm3, xmm4
movss dword [edi + 0x48], xmm3
jmp 0x10055050
comiss xmm3, xmm4
jbe 0x10055042
subss xmm3, xmm2
maxss xmm3, xmm4
movss dword [edi + 0x48], xmm3
jmp 0x10055050
movaps xmm3, xmm4
movss dword [edi + 0x48], xmm3
jmp 0x10055050
mov dword [edi + 0x54], 0
subss xmm5, dword [esp + 0x80]
mov eax, dword [edi + 0x28]
addss xmm7, xmm6
subss xmm5, dword [esp + 0x3c]
addss xmm7, dword [esp + 0x34]
movss dword [edi + 0x5c], xmm5
movss dword [edi + 0x58], xmm7
mov esi, dword [ecx + 0x3e60]
mov ecx, dword [edi + 0x2c]
push ecx
mov dword [esi + 0xf0], eax
lea eax, [esp + 0x28]
mov dword [esi + 0xf4], ecx
movss xmm0, dword [edi + 0x40]
movss dword [esp + 0x28], xmm0
movss xmm0, dword [edi + 0x34]
subss xmm0, dword [edi + 0x2c]
movss dword [esp + 0x2c], xmm0
movss xmm0, dword [edi + 0x78]
movss dword [esp], xmm0
push eax
call fcn.10015110
movss xmm1, dword [edi + 0x28]
add esp, 8
addss xmm1, dword [edi + 0x44]
movss xmm0, dword [esi + 0x110]
mov ecx, dword [esp + 0x88]
pop edi
maxss xmm0, xmm1
movss dword [esi + 0x110], xmm0
pop esi
xor ecx, esp
call fcn.10071a96
add esp, 0x84
ret