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

Disassembly:
sub esp, 0x60
mov eax, dword [0x10180f98]
push edi
mov edi, dword [esp + 0x68]
mov dword [esp + 0x4c], eax
test byte [edi + 8], 0x42
jne 0x10100b5b
cmp byte [edi + 0xc0], 0
jg 0x10100b5b
cmp byte [edi + 0xc1], 0
jg 0x10100b5b
cmp byte [edi + 0xa7], 0
je 0x10100b5b
movss xmm2, dword [eax + 0x3bb4]
xor edx, edx
movss xmm0, dword [edi + 0x48]
movaps xmm1, xmm2
addss xmm0, dword [0x10142ff8]
mulss xmm2, dword [0x101516ac]
mov cl, byte [eax + 0x66]
mulss xmm1, dword [0x10151700]
test cl, cl
push esi
addss xmm0, xmm2
mov byte [esp + 0x65], 0
mov esi, 4
cmovne edx, esi
mov dword [esp + 0x40], edx
maxss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x101516d8]
cvttss2si esi, xmm0
je 0x100ffffe
movss xmm0, dword [0x10151730]
jmp 0x10100001
xorps xmm0, xmm0
movss dword [esp + 0x48], xmm0
movss xmm0, dword [0x10151788]
movaps xmm1, xmm0
movss dword [esp + 0x58], xmm0
push str.RESIZE
movss dword [esp + 0x58], xmm0
movss dword [esp + 0x50], xmm1
movss dword [esp + 0x64], xmm0
mov dword [edi + 0x144], 1
call fcn.100e92e0
xor eax, eax
add esp, 4
mov dword [esp + 0x5c], eax
cmp dword [esp + 0x78], eax
jle 0x101004a1
movss xmm0, dword [edi + 0x10]
lea ecx, [eax + eax*2]
movss xmm1, dword [edi + 0x14]
movaps xmm3, xmm0
addss xmm3, dword [edi + 0x18]
movaps xmm2, xmm1
mov dword [esp + 0x44], ecx
addss xmm2, dword [edi + 0x1c]
xorps xmm6, xmm6
cvtsi2ss xmm6, esi
subss xmm3, xmm0
subss xmm2, xmm1
mulss xmm3, dword [ecx*8 + 0x101478d0]
mulss xmm2, dword [ecx*8 + 0x101478d4]
addss xmm3, xmm0
movss xmm0, dword [ecx*8 + 0x101478d8]
movaps xmm5, xmm0
mulss xmm0, dword [esp + 0x48]
addss xmm2, xmm1
mulss xmm5, xmm6
movss xmm1, dword [ecx*8 + 0x101478dc]
movaps xmm4, xmm1
mulss xmm1, dword [esp + 0x48]
mulss xmm4, xmm6
addss xmm5, xmm3
subss xmm3, xmm0
addss xmm4, xmm2
subss xmm2, xmm1
movss dword [esp + 0x28], xmm5
comiss xmm3, xmm5
movss dword [esp + 0x20], xmm3
movss dword [esp + 0x24], xmm2
movss dword [esp + 0x2c], xmm4
jbe 0x10100100
movss dword [esp + 0x20], xmm5
movss dword [esp + 0x28], xmm3
comiss xmm2, xmm4
jbe 0x10100111
movss dword [esp + 0x24], xmm4
movss dword [esp + 0x2c], xmm2
push eax
mov ecx, edi
call fcn.100d8ee0
push 8
mov edi, eax
lea eax, [esp + 0x24]
push 0
push edi
push eax
call fcn.100e14e0
push 0x40800
lea eax, [esp + 0x7b]
push eax
lea eax, [esp + 0x7e]
push eax
lea eax, [esp + 0x3c]
push edi
push eax
call fcn.100d08a0
mov dl, byte [esp + 0x8a]
add esp, 0x24
test dl, dl
jne 0x1010015e
mov cl, byte [esp + 0x67]
test cl, cl
je 0x10100418
mov edx, dword [esp + 0x5c]
mov eax, edx
mov ecx, dword [esp + 0x50]
not eax
and eax, 1
add eax, 5
cmp byte [esp + 0x67], 0
mov dword [ecx + 0x492c], eax
je 0x1010041e
cmp word [ecx + 0x3702], 2
jne 0x101001dd
test edx, edx
jne 0x101001dd
push dword [esp + 0x70]
mov edi, dword [esp + 0x70]
lea eax, [esp + 0x1c]
push edi
push eax
call fcn.100d2160
push 0
push 0
mov byte [esp + 0x79], 1
movss xmm0, dword [eax]
movss dword [esp + 0x60], xmm0
movss xmm0, dword [eax + 4]
movss dword [esp + 0x74], xmm0
call fcn.100f0560
add esp, 0x14
cmp byte [esp + 0x67], 0
je 0x10100444
mov ecx, 0x20
jmp 0x10100452
mov edi, dword [esp + 0x44]
movss xmm3, dword [0x10142ff8]
mov edx, dword [esp + 0x80]
movss xmm2, dword [0x101517a0]
movss xmm0, dword [edi*8 + 0x101478d4]
ucomiss xmm0, xmm3
lahf
test ah, 0x44
jp 0x10100211
movss xmm6, dword [edx + 4]
jmp 0x10100214
movaps xmm6, xmm2
movss xmm1, dword [edi*8 + 0x101478d0]
ucomiss xmm1, xmm3
lahf
test ah, 0x44
jp 0x1010022c
movss xmm4, dword [edx]
jmp 0x1010022f
movaps xmm4, xmm2
xorps xmm2, xmm2
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jp 0x10100250
movss xmm0, dword [edx + 0xc]
movss dword [esp + 0x4c], xmm0
movss xmm0, dword [0x10151788]
jmp 0x1010025e
movss xmm0, dword [0x10151788]
movss dword [esp + 0x4c], xmm0
ucomiss xmm1, xmm2
lahf
test ah, 0x44
jp 0x1010026e
movss xmm7, dword [edx + 8]
jmp 0x10100271
movaps xmm7, xmm0
mov eax, dword [esp + 0x44]
xorps xmm1, xmm1
cvtsi2ss xmm1, esi
movss xmm5, dword [eax*8 + 0x101478d8]
xorps xmm1, xmmword [0x10120b10]
movaps xmm0, xmm5
mulss xmm0, dword [esp + 0x48]
movss xmm3, dword [eax*8 + 0x101478dc]
mulss xmm5, xmm1
movaps xmm2, xmm3
mulss xmm2, dword [esp + 0x48]
subss xmm5, xmm0
mulss xmm3, xmm1
subss xmm3, xmm2
mulss xmm5, dword [eax*8 + 0x101478d0]
mulss xmm3, dword [eax*8 + 0x101478d4]
addss xmm5, xmm0
movss xmm0, dword [ecx + 0xdb8]
subss xmm0, dword [ecx + 0x3e88]
addss xmm3, xmm2
addss xmm5, xmm0
movss xmm0, dword [ecx + 0xdbc]
subss xmm0, dword [ecx + 0x3e8c]
addss xmm0, xmm3
comiss xmm6, xmm0
ja 0x10100308
movss xmm6, dword [esp + 0x4c]
minss xmm6, xmm0
comiss xmm4, xmm5
ja 0x10100314
movaps xmm4, xmm7
minss xmm4, xmm5
mov edi, dword [esp + 0x6c]
movss xmm5, dword [eax*8 + 0x101478d0]
movss xmm7, dword [eax*8 + 0x101478d4]
lea eax, [esp + 0x38]
push eax
movss xmm0, dword [edi + 0x10]
lea eax, [esp + 0x34]
movss xmm1, dword [edi + 0x14]
movaps xmm2, xmm0
addss xmm0, dword [edi + 0x18]
subss xmm2, xmm4
movaps xmm3, xmm1
addss xmm1, dword [edi + 0x1c]
subss xmm3, xmm6
push edi
push eax
mulss xmm2, xmm5
mulss xmm3, xmm7
addss xmm2, xmm4
subss xmm4, xmm0
addss xmm3, xmm6
subss xmm6, xmm1
movss dword [esp + 0x64], xmm2
mulss xmm4, xmm5
mulss xmm6, xmm7
addss xmm4, xmm0
movss dword [esp + 0x60], xmm3
addss xmm6, xmm1
subss xmm4, xmm2
subss xmm6, xmm3
movss dword [esp + 0x44], xmm4
movss dword [esp + 0x48], xmm6
call fcn.100d2160
mov ecx, dword [esp + 0x50]
add esp, 0xc
xorps xmm2, xmm2
movss xmm0, dword [ecx*8 + 0x101478d0]
ucomiss xmm0, xmm2
movss xmm0, dword [esp + 0x30]
movss dword [esp + 0x4c], xmm0
lahf
test ah, 0x44
jp 0x101003e2
subss xmm0, dword [esp + 0x38]
movss xmm1, dword [esp + 0x58]
subss xmm1, xmm0
movss dword [esp + 0x58], xmm1
movss xmm0, dword [ecx*8 + 0x101478d4]
ucomiss xmm0, xmm2
movss xmm0, dword [esp + 0x34]
movss dword [esp + 0x60], xmm0
lahf
test ah, 0x44
jp 0x10100422
subss xmm0, dword [esp + 0x3c]
movss xmm1, dword [esp + 0x54]
subss xmm1, xmm0
movss dword [esp + 0x54], xmm1
jmp 0x10100422
mov edi, dword [esp + 0x6c]
jmp 0x1010042a
mov edi, dword [esp + 0x6c]
mov dl, byte [esp + 0x66]
mov cl, byte [esp + 0x67]
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x101001c8
test cl, cl
jne 0x101001d3
test dl, dl
je 0x10100492
jmp 0x10100448
mov dl, byte [esp + 0x66]
xor ecx, ecx
test dl, dl
setne cl
add ecx, 0x1e
mov eax, dword [0x10180f98]
add ecx, ecx
movups xmm0, xmmword [eax + ecx*8 + 0x3860]
movups xmmword [esp + 8], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [eax + 0x3798]
lea eax, [esp + 8]
push eax
movss dword [esp + 0x18], xmm0
call fcn.100d4190
mov ecx, dword [esp + 0x60]
add esp, 4
mov edx, dword [esp + 0x7c]
mov dword [edx + ecx*4], eax
mov eax, ecx
inc eax
mov dword [esp + 0x5c], eax
cmp eax, dword [esp + 0x78]
jl 0x10100051
xor edi, edi
mov dword [esp + 0x5c], edi
cmp dword [esp + 0x40], edi
jbe 0x10100867
lea eax, [edi*8]
sub eax, edi
shl eax, 2
mov dword [esp + 0x3c], eax
test edi, edi
je 0x101004d4
cmp edi, 1
je 0x101004d4
mov dword [esp + 0x44], 1
jmp 0x101004da
xor eax, eax
mov dword [esp + 0x44], eax
sub esp, 8
movd xmm0, esi
cvtdq2ps xmm0, xmm0
lea eax, [esp + 0x10]
mov dword [esp + 4], 0x40800000
movss dword [esp], xmm0
push edi
push dword [esp + 0x78]
push eax
call fcn.100d9570
mov ecx, dword [esp + 0x80]
lea eax, [edi + 4]
add esp, 0x14
push eax
call fcn.100d8ee0
push 8
mov edi, eax
lea eax, [esp + 0xc]
push 0
push edi
push eax
call fcn.100e14e0
push 0x40800
lea eax, [esp + 0x7a]
push eax
lea eax, [esp + 0x7f]
push eax
lea eax, [esp + 0x24]
push edi
push eax
call fcn.100d08a0
mov edx, dword [esp + 0x74]
add esp, 0x24
cmp byte [esp + 0x67], 0
je 0x1010055d
movss xmm0, dword [edx + 0x3e6c]
comiss xmm0, dword [0x10151694]
ja 0x10100568
cmp byte [esp + 0x66], 0
je 0x10100854
mov ecx, dword [esp + 0x44]
mov eax, ecx
mov edi, dword [esp + 0x5c]
xor eax, 1
add eax, 3
cmp byte [esp + 0x66], 0
mov dword [edx + 0x492c], eax
je 0x10100858
mov eax, dword [esp + 0x74]
mov dword [eax], edi
cmp edi, 3
jne 0x101005b0
mov eax, dword [esp + 0x80]
movss xmm4, dword [0x101517a0]
movss xmm1, dword [eax + 4]
movss dword [esp + 0x5c], xmm1
jmp 0x101005d4
movss xmm0, dword [0x101517a0]
movaps xmm1, xmm0
movss dword [esp + 0x5c], xmm1
movaps xmm2, xmm1
cmp edi, 1
jne 0x101005ea
mov eax, dword [esp + 0x80]
movss xmm4, dword [eax]
movss xmm0, dword [0x10151788]
movss dword [esp + 0x60], xmm4
movss dword [esp + 0x4c], xmm0
jmp 0x10100622
movss dword [esp + 0x5c], xmm1
movaps xmm4, xmm0
movss dword [esp + 0x60], xmm4
cmp edi, 2
jne 0x10100812
mov eax, dword [esp + 0x80]
movss dword [esp + 0x5c], xmm1
movss xmm0, dword [eax + 0xc]
movss dword [esp + 0x4c], xmm0
movss xmm0, dword [0x10151788]
movss dword [esp + 0x48], xmm0
mov eax, dword [esp + 0x6c]
movss xmm0, dword [eax + 0x10]
movss dword [esp + 0x30], xmm0
movss xmm0, dword [eax + 0x14]
movss dword [esp + 0x34], xmm0
test ecx, ecx
je 0x101006a2
cmp ecx, 1
je 0x101006a2
push 0x103
push str.C:UsersFrank.cargo_registry_srcindex.crates.io_6f17d22bba15001fimgui_sys_0.11.0_third_partyimgui_masterimguiimgui.h
push str.idx__0__idx__1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
push 0x103
push str.C:UsersFrank.cargo_registry_srcindex.crates.io_6f17d22bba15001fimgui_sys_0.11.0_third_partyimgui_masterimguiimgui.h
push str.idx__0__idx__1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
push 0x103
push str.C:UsersFrank.cargo_registry_srcindex.crates.io_6f17d22bba15001fimgui_sys_0.11.0_third_partyimgui_masterimguiimgui.h
push str.idx__0__idx__1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movss xmm4, dword [esp + 0x84]
add esp, 0x24
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x50]
movss xmm0, dword [edx + ecx*4 + 0xdb8]
subss xmm0, dword [edx + ecx*4 + 0x3e88]
movss xmm3, dword [esp + 0x5c]
addss xmm0, dword [0x10151730]
movss dword [esp + ecx*4 + 0x30], xmm0
movss xmm0, dword [esp + 0x34]
comiss xmm3, xmm0
ja 0x101006dd
movss xmm3, dword [esp + 0x4c]
minss xmm3, xmm0
movss xmm0, dword [esp + 0x30]
comiss xmm4, xmm0
ja 0x101006f2
movss xmm4, dword [esp + 0x48]
minss xmm4, xmm0
mov ecx, dword [esp + 0x3c]
movss xmm0, dword [eax + 0x10]
movss xmm1, dword [eax + 0x14]
movaps xmm5, xmm0
addss xmm0, dword [eax + 0x18]
movss xmm7, dword [ecx + 0x1014793c]
subss xmm5, xmm4
minss xmm7, dword [ecx + 0x10147944]
movss xmm2, dword [ecx + 0x10147938]
movaps xmm6, xmm1
minss xmm2, dword [ecx + 0x10147940]
addss xmm1, dword [eax + 0x1c]
subss xmm6, xmm3
lea ecx, [esp + 0x28]
movss dword [esp + 0x44], xmm7
push ecx
mulss xmm5, xmm2
push eax
mulss xmm6, xmm7
lea eax, [esp + 0x20]
push eax
addss xmm5, xmm4
movss dword [esp + 0x48], xmm2
subss xmm4, xmm0
addss xmm6, xmm3
subss xmm3, xmm1
movss dword [esp + 0x64], xmm5
mulss xmm4, xmm2
mulss xmm3, xmm7
addss xmm4, xmm0
movss dword [esp + 0x60], xmm6
addss xmm3, xmm1
subss xmm4, xmm5
subss xmm3, xmm6
movss dword [esp + 0x6c], xmm4
movss dword [esp + 0x34], xmm4
movss dword [esp + 0x68], xmm3
movss dword [esp + 0x38], xmm3
call fcn.100d2160
movss xmm0, dword [esp + 0x48]
add esp, 0xc
xorps xmm2, xmm2
ucomiss xmm0, xmm2
movss xmm0, dword [esp + 0x18]
movss dword [esp + 0x4c], xmm0
lahf
test ah, 0x44
jp 0x101007df
subss xmm0, dword [esp + 0x60]
movss xmm1, dword [esp + 0x58]
subss xmm1, xmm0
movss dword [esp + 0x58], xmm1
movss xmm0, dword [esp + 0x44]
ucomiss xmm0, xmm2
movss xmm0, dword [esp + 0x1c]
movss dword [esp + 0x60], xmm0
lahf
test ah, 0x44
jp 0x10100858
subss xmm0, dword [esp + 0x5c]
movss xmm1, dword [esp + 0x54]
subss xmm1, xmm0
movss dword [esp + 0x54], xmm1
jmp 0x10100858
movss xmm4, dword [0x10151788]
movss dword [esp + 0x4c], xmm4
movaps xmm4, xmm0
movss dword [esp + 0x60], xmm4
test edi, edi
jne 0x1010061a
mov eax, dword [esp + 0x80]
movss dword [esp + 0x5c], xmm1
movss dword [esp + 0x60], xmm4
movss xmm2, dword [eax + 8]
movss dword [esp + 0x48], xmm2
jmp 0x10100628
mov edi, dword [esp + 0x5c]
inc edi
mov dword [esp + 0x5c], edi
cmp edi, dword [esp + 0x40]
jl 0x101004b1
call fcn.100e8910
mov esi, dword [esp + 0x6c]
xorps xmm4, xmm4
mov edi, dword [esp + 0x50]
mov dword [esi + 0x144], 0
mov eax, dword [edi + 0x4900]
test eax, eax
je 0x10100a9f
cmp dword [eax + 0x2fc], esi
jne 0x10100a9f
cmp dword [edi + 0x47dc], 2
xorps xmm2, xmm2
xorps xmm3, xmm3
jne 0x101008e0
cmp byte [edi + 0xdd1], 0
je 0x101008e0
push 0x204
push 0x203
push 0x202
lea eax, [esp + 0x24]
push 0x201
push eax
call fcn.100d90b0
add esp, 0x14
xorps xmm4, xmm4
movss xmm2, dword [eax]
movss xmm3, dword [eax + 4]
cmp dword [edi + 0x47dc], 3
jne 0x1010090e
mov eax, dword [0x10180f98]
movss xmm2, dword [eax + 0x34e4]
movss xmm3, dword [eax + 0x3504]
subss xmm2, dword [eax + 0x34d4]
subss xmm3, dword [eax + 0x34f4]
ucomiss xmm2, xmm4
lahf
test ah, 0x44
jp 0x10100924
ucomiss xmm3, xmm4
lahf
test ah, 0x44
jnp 0x10100a9f
movss xmm1, dword [edi + 0x58]
minss xmm1, dword [edi + 0x5c]
movss xmm0, dword [edi + 0x18]
mulss xmm0, dword [0x10151770]
mov eax, dword [esp + 0x80]
mulss xmm1, xmm0
mulss xmm2, xmm1
mulss xmm3, xmm1
addss xmm2, dword [edi + 0x4920]
addss xmm3, dword [edi + 0x4924]
movss dword [edi + 0x4920], xmm2
movss dword [edi + 0x4924], xmm3
movss xmm0, dword [eax]
subss xmm0, dword [esi + 0x10]
subss xmm0, dword [esi + 0x18]
maxss xmm2, xmm0
movss xmm0, dword [eax + 4]
subss xmm0, dword [esi + 0x14]
subss xmm0, dword [esi + 0x1c]
movss dword [edi + 0x4920], xmm2
mov byte [edi + 0x4914], 0
mov byte [edi + 0x47e7], 1
maxss xmm3, xmm0
movss dword [edi + 0x4924], xmm3
mov eax, dword [0x10180f98]
movups xmm0, xmmword [eax + 0x3a60]
movups xmmword [esp + 8], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [eax + 0x3798]
lea eax, [esp + 8]
push eax
movss dword [esp + 0x18], xmm0
call fcn.100d4190
mov ecx, dword [esp + 0x80]
add esp, 4
xorps xmm4, xmm4
mov dword [ecx], eax
cvttss2si esi, dword [edi + 0x4920]
cvttss2si edi, dword [edi + 0x4924]
movd xmm0, esi
cvtdq2ps xmm0, xmm0
movd xmm1, edi
ucomiss xmm0, xmm4
cvtdq2ps xmm1, xmm1
lahf
test ah, 0x44
jp 0x10100a21
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jnp 0x10100aa7
mov eax, dword [esp + 0x6c]
lea ecx, [esp + 0x18]
push ecx
push eax
addss xmm0, dword [eax + 0x20]
movss dword [esp + 0x20], xmm0
movaps xmm0, xmm1
addss xmm0, dword [eax + 0x24]
lea eax, [esp + 0x30]
push eax
movss dword [esp + 0x28], xmm0
call fcn.100d2160
movd xmm2, esi
add esp, 0xc
cvtdq2ps xmm2, xmm2
movss xmm1, dword [eax]
xorps xmm4, xmm4
movss dword [esp + 0x4c], xmm1
movss xmm1, dword [eax + 4]
mov eax, dword [esp + 0x50]
movss xmm0, dword [eax + 0x4920]
subss xmm0, xmm2
movd xmm2, edi
cvtdq2ps xmm2, xmm2
movss dword [eax + 0x4920], xmm0
movss xmm0, dword [eax + 0x4924]
subss xmm0, xmm2
movss dword [eax + 0x4924], xmm0
jmp 0x10100aad
movss xmm1, dword [esp + 0x60]
jmp 0x10100ab1
movss xmm1, dword [esp + 0x60]
mov esi, dword [esp + 0x6c]
movss xmm2, dword [0x10151788]
movss xmm0, dword [esp + 0x4c]
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jnp 0x10100af3
test dword [esi + 8], 0x100
movss dword [esi + 0x20], xmm0
movss dword [esi + 0x24], xmm1
mov ecx, dword [0x10180f98]
jne 0x10100af3
comiss xmm4, dword [ecx + 0x61e4]
jb 0x10100af3
mov eax, dword [ecx + 0x1c]
mov dword [ecx + 0x61e4], eax
movss xmm0, dword [esp + 0x58]
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jnp 0x10100b45
test dword [esi + 8], 0x100
cvttss2si eax, xmm0
movd xmm1, eax
cvttss2si eax, dword [esp + 0x54]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esi + 0x10], xmm1
movss dword [esi + 0x14], xmm0
mov edx, dword [0x10180f98]
jne 0x10100b45
comiss xmm4, dword [edx + 0x61e4]
jb 0x10100b45
mov ecx, dword [edx + 0x1c]
mov dword [edx + 0x61e4], ecx
mov ecx, dword [esi + 0x20]
mov edx, dword [esi + 0x24]
mov al, byte [esp + 0x65]
mov dword [esi + 0x18], ecx
mov dword [esi + 0x1c], edx
pop esi
pop edi
add esp, 0x60
ret
xor al, al
pop edi
add esp, 0x60
ret