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

Disassembly:
sub esp, 0x84
mov eax, dword [0x10092c4c]
xor eax, esp
mov dword [esp + 0x80], eax
mov eax, dword [0x10093708]
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 0x10056d3b
mov dword [esp + 0x3c], eax
mov dword [esp + 0x48], eax
test eax, eax
js 0x10056b79
cmp eax, ecx
jl 0x10056b93
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 0x10056cf9
cmp byte [edx + 0x28], 0
jne 0x10056cf9
mov eax, dword [esp + 0x34]
cmp esi, eax
je 0x10056c34
test esi, esi
js 0x10056bc0
cmp esi, ecx
jl 0x10056bde
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 0x10056bf1
cmp eax, ecx
jl 0x10056c0d
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 0x10056c3c
cmp esi, ecx
jl 0x10056c54
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 0x10056c6c
xor eax, eax
jmp 0x10056c77
test al, 0x80
mov eax, 0
setne al
inc eax
mov dword [esp + 0x40], eax
test esi, esi
jle 0x10056cea
cmp esi, dword [edi]
jle 0x10056c9f
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 0x10056cae
xor ecx, ecx
jmp 0x10056cb9
test al, 0x80
mov ecx, 0
setne cl
inc ecx
mov eax, dword [esp + 0x40]
test eax, eax
jne 0x10056cd0
test ecx, ecx
je 0x10056cea
mov edx, 1
mov dword [esp + 0x44], edx
jmp 0x10056cd4
mov edx, dword [esp + 0x44]
cmp ecx, 2
jne 0x10056cea
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 0x10056d23
mov eax, dword [edi + 0x1c]
cmp eax, dword [edx]
jne 0x10056d07
mov dword [edi + 0x1c], 0
mov eax, dword [edi + 0x14]
cmp eax, dword [edx]
jne 0x10056d15
mov dword [edi + 0x14], 0
mov eax, dword [edi + 0x18]
cmp eax, dword [edx]
jne 0x10056d23
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 0x10056b71
cmp ecx, esi
je 0x10056da8
mov ecx, dword [edi + 4]
cmp esi, ecx
jle 0x10056da4
test ecx, ecx
je 0x10056d55
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x10056d5a
mov eax, 8
cmp eax, esi
mov edx, esi
cmovg edx, eax
mov dword [esp + 0x30], edx
cmp edx, ecx
jle 0x10056da4
imul eax, edx, 0x2c
push eax
call fcn.10018210
mov edx, dword [edi + 8]
add esp, 4
mov dword [esp + 0x50], eax
test edx, edx
je 0x10056d9a
imul ecx, dword [edi], 0x2c
push ecx
push edx
push eax
call sub.VCRUNTIME140.dll_memcpy
push dword [edi + 8]
call fcn.10018240
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 0x10056dc8
cmp ecx, 1
jbe 0x10056dc8
push 0x100584c0
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 0x10056df1
lea eax, [ecx + edx]
test eax, eax
jle 0x10056df1
mov eax, dword [esp + 0x4c]
movss xmm1, dword [eax + 0x37dc]
jmp 0x10056df8
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 0x10056e17
test edx, edx
jle 0x10056e17
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 0x10056e42
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 0x10056fc7
mov eax, dword [edi]
xor esi, esi
test eax, eax
jle 0x10056fbc
xor ecx, ecx
mov edx, eax
mov dword [esp + 0x40], ecx
test esi, esi
js 0x10056e6d
cmp esi, eax
jl 0x10056e8b
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 0x10056eb0
mov eax, dword [edi]
inc esi
add ecx, 0x2c
mov edx, eax
mov dword [esp + 0x40], ecx
cmp esi, eax
jl 0x10056e65
jmp 0x10056fbc
test esi, esi
js 0x10056eb8
cmp esi, edx
jl 0x10056ed0
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 0x10056fbc
test byte [esi + 4], 0x20
jne 0x10056fbc
push esi
push edi
call fcn.10056ac0
movsx ecx, word [edi + 0x64]
add esp, 8
add eax, ecx
js 0x10056fbc
cmp eax, dword [edi]
jge 0x10056fbc
push eax
mov ecx, edi
call fcn.10046d80
mov edx, eax
mov dword [esp + 0x30], edx
mov eax, dword [edx + 4]
test al, 0x20
jne 0x10056fbc
mov ecx, dword [esi + 4]
xor ecx, eax
test cl, 0xc0
jne 0x10056fbc
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 0x10056f5f
lea edx, [esi + 0x2c]
jmp 0x10056f68
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 0x10056fab
call fcn.10018180
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 0x10056fe7
push edi
call fcn.10057f60
add esp, 4
test eax, eax
je 0x10056fe7
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 0x1005709f
test ecx, ecx
je 0x10057028
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x40]
sar eax, 1
add eax, ecx
jmp 0x1005702d
mov eax, 8
cmp eax, edx
mov esi, edx
cmovg esi, eax
cmp esi, ecx
jle 0x10057099
lea eax, [esi + esi*2]
shl eax, 2
push eax
call fcn.10018210
mov ecx, dword [esp + 0x50]
add esp, 4
mov dword [esp + 0x50], eax
mov edx, dword [ecx + 0x4af8]
test edx, edx
je 0x10057087
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.10018240
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 0x100570a1
mov ecx, dword [esp + 0x4c]
jmp 0x100570a1
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 0x10057332
xor ecx, ecx
mov dword [esp + 0x38], ecx
test edx, edx
js 0x100570da
cmp edx, eax
jl 0x100570f6
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 0x1005711b
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 0x1005712b
mov eax, dword [ecx + 0xc]
cmp eax, dword [esi + 0xc]
jge 0x10057139
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 0x1005716a
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 0x10057179
mov eax, 0x1007c714
jmp 0x100571a2
cmp eax, dword [edi + 0x84]
jl 0x10057199
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 0x10057242
mov ecx, dword [0x10093708]
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.1000d760
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 0x10057216
movss xmm1, dword [eax + 0x3bcc]
addss xmm1, dword [eax + 0x37dc]
jmp 0x1005721e
movss xmm1, dword [0x10079280]
mov eax, dword [0x10093708]
addss xmm1, xmm2
addss xmm1, xmm0
movss xmm0, dword [eax + 0x3bcc]
mulss xmm0, dword [0x100792bc]
minss xmm1, xmm0
xorps xmm0, xmm0
mov eax, dword [esi + 4]
movss dword [esi + 0x18], xmm1
test al, 0x40
je 0x10057252
xor ecx, ecx
jmp 0x1005725d
test al, 0x80
mov ecx, 0
setne cl
inc ecx
lea eax, [ecx + ecx*2]
cmp ecx, dword [esp + 0x2c]
jne 0x10057272
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 0x100572a5
mov eax, dword [esp + 0x4c]
cmp edx, dword [eax + 0x4af0]
jl 0x100572c5
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 [0x10079280]
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 0x100570d2
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 0x100573ce
cmp eax, 1
jle 0x100573ce
mov eax, dword [edi + 0xc]
test al, 0x10
jne 0x100573ce
test al, al
jns 0x100573ce
push edi
call fcn.10057cd0
movss xmm2, dword [esp + 0x4c]
add esp, 4
xorps xmm4, xmm4
test eax, eax
je 0x100573ce
test dword [eax + 4], 0x200000
mov ecx, dword [eax]
mov dword [esp + 0x44], ecx
jne 0x100573ce
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 0x10057406
subss xmm0, xmm3
subss xmm0, dword [esp + 0x2c]
subss xmm2, xmm0
maxss xmm2, xmm4
jmp 0x1005740d
movaps xmm2, xmm1
subss xmm2, xmm0
comiss xmm2, dword [0x10079280]
jb 0x100575c1
test byte [edi + 0xc], 0x40
jne 0x10057440
test al, al
jne 0x100575c1
mov edx, dword [esp + 0x7c]
mov esi, dword [esp + 0x64]
add edx, esi
mov dword [esp + 0x38], edx
test al, al
je 0x10057452
add esi, dword [esp + 0x7c]
jmp 0x10057458
test al, al
je 0x10057428
mov esi, dword [esp + 0x64]
mov edx, dword [esp + 0x70]
add esi, dword [esp + 0x7c]
jmp 0x10057458
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.10055cc0
mov eax, dword [esp + 0x44]
add esp, 0xc
add eax, esi
mov dword [esp + 0x30], eax
cmp esi, eax
jge 0x100575c1
mov edx, dword [esp + 0x48]
test esi, esi
js 0x100574a4
mov eax, dword [esp + 0x4c]
cmp esi, dword [eax + 0x4af0]
jl 0x100574c4
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 0x100574d9
cmp eax, dword [edi]
jl 0x100574f9
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 0x10057513
mov eax, dword [esp + 0x4c]
cmp esi, dword [eax + 0x4af0]
jl 0x10057537
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 0x10057595
movss xmm2, dword [0x10079280]
mov eax, dword [ecx + 4]
maxss xmm2, xmm0
test al, 0x40
je 0x10057569
xor eax, eax
jmp 0x10057574
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 0x10057494
movss xmm0, dword [esp + 0x78]
movss dword [esp + 0x3c], xmm0
movss xmm0, dword [esp + 0x6c]
movss dword [esp + 0x34], xmm0
jmp 0x100575c4
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 0x10057617
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 0x100576d0
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 0x10057648
cmp eax, dword [edi]
jl 0x1005766b
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 0x1005769a
mov edi, dword [esp + 0x4c]
movss xmm0, dword [edi + 0x37dc]
mov edi, dword [esp + 0x1c]
jmp 0x1005769d
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 0x10057640
mov esi, dword [esp + 0x30]
lea eax, [esp + 0x68]
mov ecx, dword [esp + 0x48]
add eax, esi
jmp 0x100576d4
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 0x100575e0
push 0
lea ecx, [edi + 0x84]
call fcn.10028be0
cmp byte [esp + 0x20], 0
jne 0x1005772c
mov dword [edi + 0x14], 0
mov ecx, dword [edi + 0x14]
mov eax, ecx
test ecx, ecx
jne 0x1005774b
cmp dword [edi + 0x18], ecx
jne 0x1005774b
mov ecx, dword [esp + 0x40]
test ecx, ecx
je 0x1005774b
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 0x10057869
push eax
push edi
call fcn.10056a30
mov esi, eax
add esp, 8
test esi, esi
je 0x1005796c
test byte [esi + 4], 0xc0
jne 0x1005796c
mov ecx, dword [0x10093708]
push esi
push edi
movss xmm0, dword [ecx + 0x3bcc]
movss dword [esp + 0x58], xmm0
call fcn.10056ac0
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 0x100577db
movaps xmm1, xmm0
xorps xmm1, xmmword [0x10079300]
jmp 0x100577de
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 0x100577fe
movss xmm0, dword [0x10079280]
addss xmm2, dword [esi + 0x14]
movss xmm4, dword [edi + 0x4c]
comiss xmm4, xmm1
mov dword [edi + 0x50], 0
addss xmm2, xmm0
ja 0x1005784d
movaps xmm0, xmm2
subss xmm0, xmm1
comiss xmm0, xmm3
jae 0x1005784d
subss xmm2, xmm3
comiss xmm2, xmm4
jbe 0x10057972
subss xmm1, xmm3
movss dword [edi + 0x4c], xmm2
subss xmm1, dword [edi + 0x48]
maxss xmm1, xmm5
movss dword [edi + 0x50], xmm1
jmp 0x10057972
movss xmm0, dword [edi + 0x48]
subss xmm0, xmm2
movss dword [edi + 0x4c], xmm1
maxss xmm0, xmm5
movss dword [edi + 0x50], xmm0
jmp 0x10057972
test byte [edi + 0xc], 0x80
je 0x1005796c
push 1
lea esi, [edi + 0x30]
lea ecx, [edi + 0x28]
push esi
push ecx
call fcn.10016df0
add esp, 0xc
test al, al
je 0x1005796c
mov eax, dword [esp + 0x4c]
push 0
push dword [eax + 0x3e60]
call fcn.100171f0
add esp, 8
test al, al
je 0x1005796c
mov eax, dword [esp + 0x4c]
mov cl, byte [eax + 0x372d]
test cl, cl
je 0x100578c1
movss xmm0, dword [eax + 0xdcc]
jmp 0x100578c9
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.100244d0
add esp, 8
test al, al
je 0x1005795b
movss xmm1, dword [esp + 0x50]
xorps xmm4, xmm4
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jnp 0x1005795b
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 [0x10079290]
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.10022310
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 0x10057a69
movss xmm0, dword [ecx + 0x3bcc]
mulss xmm0, dword [0x10088c6c]
mov eax, dword [edi + 0x24]
movss xmm2, dword [edi + 0x54]
inc eax
maxss xmm2, xmm0
movaps xmm0, xmm4
subss xmm0, xmm3
andps xmm0, xmmword [0x100804e0]
divss xmm0, dword [0x10079270]
maxss xmm2, xmm0
movss dword [edi + 0x54], xmm2
cmp eax, dword [ecx + 0x3de0]
jl 0x10057a5f
movss xmm1, dword [ecx + 0x3bcc]
mulss xmm1, dword [0x100792b0]
movss xmm0, dword [edi + 0x50]
comiss xmm0, xmm1
ja 0x10057a5f
comiss xmm4, xmm3
mulss xmm2, dword [ecx + 0x18]
jbe 0x10057a4b
addss xmm3, xmm2
minss xmm3, xmm4
movss dword [edi + 0x48], xmm3
jmp 0x10057a70
comiss xmm3, xmm4
jbe 0x10057a62
subss xmm3, xmm2
maxss xmm3, xmm4
movss dword [edi + 0x48], xmm3
jmp 0x10057a70
movaps xmm3, xmm4
movss dword [edi + 0x48], xmm3
jmp 0x10057a70
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.10017830
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.10074697
add esp, 0x84
ret