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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x78
mov eax, dword [0x100fd040]
xor eax, esp
mov dword [esp + 0x74], eax
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
mov dword [esp + 0x5c], eax
mov eax, dword [ebp + 0x10]
mov ecx, 0x1010bb3f
push edi
mov dword [esp + 0x34], edx
mov dword [esp + 0x18], esi
mov dword [esp + 0x4c], eax
call fcn.100b18e0
test byte [esi + 8], 0x42
mov edi, dword [0x1010121c]
jne 0x1004065e
cmp dword [esi + 0x90], 0
jg 0x1004065e
cmp dword [esi + 0x94], 0
jg 0x1004065e
cmp byte [esi + 0x7b], 0
je 0x1004065e
movss xmm0, dword [esi + 0x44]
xor eax, eax
movss xmm2, dword [edi + 0x18bc]
mov edx, 4
addss xmm0, dword [0x100f4bd8]
mov cl, byte [edi + 0xaf]
movaps xmm1, xmm2
mulss xmm2, dword [0x100f4b64]
test cl, cl
mulss xmm1, dword [0x100f4bec]
cmovne eax, edx
mov dword [esp + 0x48], eax
addss xmm0, xmm2
maxss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x100f4bb4]
cvttss2si esi, xmm0
je 0x1003fe05
movss xmm0, dword [0x100f4c88]
jmp 0x1003fe08
xorps xmm0, xmm0
movss dword [esp + 0x10], xmm0
mov ecx, str.RESIZE
movss xmm0, dword [0x100f4d88]
movss dword [esp + 0x1c], xmm0
movss dword [esp + 0x20], xmm0
movss dword [esp + 0x28], xmm0
movss dword [esp + 0xc], xmm0
call fcn.10046840
xor ecx, ecx
mov dword [esp + 0x14], ecx
cmp dword [ebp + 0xc], ecx
jle 0x100401d8
nop word [eax + eax]
mov eax, dword [esp + 0x18]
lea edx, [ecx + ecx*2]
xorps xmm6, xmm6
mov dword [esp + 0x44], edx
cvtsi2ss xmm6, esi
movss xmm0, dword [eax + 0xc]
movss xmm1, dword [eax + 0x10]
movaps xmm3, xmm0
addss xmm3, dword [eax + 0x14]
movaps xmm2, xmm1
addss xmm2, dword [eax + 0x18]
subss xmm3, xmm0
subss xmm2, xmm1
mulss xmm3, dword [edx*8 + 0x10101250]
mulss xmm2, dword [edx*8 + 0x10101254]
addss xmm3, xmm0
movss xmm0, dword [edx*8 + 0x10101258]
movaps xmm5, xmm0
mulss xmm0, dword [esp + 0x10]
addss xmm2, xmm1
mulss xmm5, xmm6
movss xmm1, dword [edx*8 + 0x1010125c]
movaps xmm4, xmm1
mulss xmm1, dword [esp + 0x10]
mulss xmm4, xmm6
addss xmm5, xmm3
subss xmm3, xmm0
addss xmm4, xmm2
subss xmm2, xmm1
movss dword [esp + 0x58], xmm5
comiss xmm3, xmm5
movss dword [esp + 0x50], xmm3
movss dword [esp + 0x54], xmm2
movss dword [esp + 0x5c], xmm4
jbe 0x1003ff03
movss dword [esp + 0x50], xmm5
movss dword [esp + 0x58], xmm3
comiss xmm2, xmm4
jbe 0x1003ff14
movss dword [esp + 0x54], xmm4
movss dword [esp + 0x5c], xmm2
push 0x2020
lea edx, [esp + 0xe]
push edx
lea edx, [esp + 0x13]
push edx
push ecx
mov ecx, eax
call fcn.10039030
mov edx, eax
lea ecx, [esp + 0x5c]
call fcn.1006e760
mov dl, byte [esp + 0x17]
add esp, 0xc
test dl, dl
jne 0x1003ff4d
mov al, byte [esp + 0xa]
test al, al
je 0x10040168
mov ecx, dword [esp + 0x14]
mov eax, ecx
not eax
and eax, 1
add eax, 5
mov dword [edi + 0x1c74], eax
mov al, byte [esp + 0xa]
test al, al
je 0x1004016c
cmp byte [edi + 0x3d5], 0
je 0x1003ffc2
test ecx, ecx
jne 0x1003ffc2
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0x64]
mov edx, dword [esp + 0x18]
push dword [eax + 4]
push dword [eax]
call fcn.1003f380
add esp, 8
movss xmm0, dword [eax]
movss dword [esp + 0x28], xmm0
movss xmm0, dword [eax + 4]
movss dword [esp + 0xc], xmm0
call fcn.10039560
cmp byte [esp + 0xa], 0
je 0x10040182
mov ecx, 0x21
jmp 0x10040190
mov eax, dword [esp + 0x44]
lea ecx, [esp + 0x3c]
movd xmm4, esi
cvtdq2ps xmm4, xmm4
movss xmm3, dword [eax*8 + 0x1010125c]
xorps xmm4, xmmword [0x100f50a0]
movaps xmm2, xmm3
mulss xmm2, dword [esp + 0x10]
movaps xmm7, xmm4
movss xmm1, dword [eax*8 + 0x10101258]
movss xmm6, dword [eax*8 + 0x10101254]
movaps xmm0, xmm1
mulss xmm0, dword [esp + 0x10]
movss xmm5, dword [eax*8 + 0x10101250]
mov eax, dword [esp + 0x18]
mov edx, eax
mulss xmm4, xmm3
mulss xmm7, xmm1
movss xmm1, dword [edi + 0xe4]
subss xmm4, xmm2
subss xmm1, dword [edi + 0x19e0]
subss xmm7, xmm0
mulss xmm4, xmm6
mulss xmm7, xmm5
addss xmm4, xmm2
addss xmm7, xmm0
movss xmm0, dword [edi + 0xe0]
subss xmm0, dword [edi + 0x19dc]
addss xmm1, xmm4
addss xmm7, xmm0
movss xmm0, dword [eax + 0xc]
movaps xmm2, xmm0
addss xmm0, dword [eax + 0x14]
movss dword [esp + 0x24], xmm1
movss xmm1, dword [eax + 0x10]
movss xmm4, dword [esp + 0x24]
subss xmm2, xmm7
movaps xmm3, xmm1
addss xmm1, dword [eax + 0x18]
subss xmm3, xmm4
mulss xmm2, xmm5
mulss xmm3, xmm6
addss xmm2, xmm7
subss xmm7, xmm0
addss xmm3, xmm4
subss xmm4, xmm1
movss dword [esp + 0x1c], xmm2
mulss xmm7, xmm5
mulss xmm4, xmm6
addss xmm7, xmm0
movss dword [esp + 0x20], xmm3
addss xmm4, xmm1
subss xmm7, xmm2
subss xmm4, xmm3
movss dword [esp + 0x2c], xmm7
movss dword [esp + 0xc], xmm7
movss dword [esp + 0x30], xmm4
push dword [esp + 0x30]
movss dword [esp + 0x28], xmm4
push dword [esp + 0x30]
call fcn.1003f380
mov ecx, dword [esp + 0x4c]
add esp, 8
xorps xmm2, xmm2
movss xmm0, dword [ecx*8 + 0x10101250]
ucomiss xmm0, xmm2
movss xmm0, dword [esp + 0x3c]
movss dword [esp + 0x28], xmm0
lahf
test ah, 0x44
jp 0x1004012c
subss xmm0, dword [esp + 0xc]
movss xmm1, dword [esp + 0x1c]
subss xmm1, xmm0
movss dword [esp + 0x1c], xmm1
movss xmm0, dword [ecx*8 + 0x10101254]
ucomiss xmm0, xmm2
movss xmm0, dword [esp + 0x40]
movss dword [esp + 0xc], xmm0
lahf
test ah, 0x44
jp 0x10040160
subss xmm0, dword [esp + 0x24]
movss xmm1, dword [esp + 0x20]
subss xmm1, xmm0
movss dword [esp + 0x20], xmm1
mov al, byte [esp + 0xa]
mov dl, byte [esp + 0xb]
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x1003ffad
test al, al
jne 0x1003ffb8
test dl, dl
je 0x100401ca
jmp 0x10040186
mov dl, byte [esp + 0xb]
xor ecx, ecx
test dl, dl
setne cl
add ecx, 0x1f
mov eax, dword [0x1010121c]
add ecx, ecx
movups xmm0, xmmword [eax + ecx*8 + 0x15a8]
lea ecx, [esp + 0x6c]
movups xmmword [esp + 0x6c], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [eax + 0x1500]
movss dword [esp + 0x78], xmm0
call fcn.10035fa0
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x4c]
mov dword [edx + ecx*4], eax
inc ecx
mov dword [esp + 0x14], ecx
cmp ecx, dword [ebp + 0xc]
jl 0x1003fe50
xor ecx, ecx
mov dword [esp + 0x10], ecx
cmp dword [esp + 0x48], ecx
jbe 0x100403f8
nop dword [eax + eax]
mov edx, dword [esp + 0x18]
movd xmm0, esi
push ecx
cvtdq2ps xmm3, xmm0
mov dword [esp], 0x40800000
push ecx
lea ecx, [esp + 0x74]
call fcn.1003fbd0
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x12]
add esp, 8
push 0x20
push eax
lea eax, [esp + 0x13]
push eax
mov eax, dword [esp + 0x1c]
add eax, 4
push eax
call fcn.10039030
mov edx, eax
lea ecx, [esp + 0x78]
call fcn.1006e760
mov dl, byte [esp + 0x16]
add esp, 0xc
cmp byte [esp + 0xb], 0
je 0x10040257
movss xmm0, dword [edi + 0x19b4]
comiss xmm0, dword [0x100f4b3c]
ja 0x1004025f
test dl, dl
je 0x100403e5
mov ecx, dword [esp + 0x10]
mov eax, ecx
and eax, 1
add eax, 3
mov dword [edi + 0x1c74], eax
test dl, dl
je 0x100403e9
mov eax, dword [esp + 0x60]
xorps xmm4, xmm4
movss dword [esp + 0xc], xmm4
xorps xmm5, xmm5
movss dword [esp + 0x14], xmm5
mov dword [eax], ecx
mov eax, dword [esp + 0x18]
movss xmm6, dword [eax + 0xc]
movss xmm7, dword [eax + 0x10]
movaps xmm0, xmm6
movaps xmm1, xmm7
test ecx, ecx
jne 0x100402c3
movss xmm1, dword [edi + 0xe4]
subss xmm1, dword [edi + 0x19e0]
addss xmm1, dword [0x100f4c88]
jmp 0x100402fe
cmp ecx, 1
jne 0x100402d2
movss xmm5, dword [0x100f4bd8]
jmp 0x100402e6
cmp ecx, 2
jne 0x100402e1
movss xmm4, dword [0x100f4bd8]
jmp 0x100402a9
cmp ecx, 3
jne 0x1004030a
movss xmm0, dword [edi + 0xe0]
subss xmm0, dword [edi + 0x19dc]
addss xmm0, dword [0x100f4c88]
movss dword [esp + 0xc], xmm4
movss dword [esp + 0x14], xmm5
movaps xmm3, xmm7
lea ecx, [esp + 0x3c]
addss xmm7, dword [eax + 0x18]
subss xmm3, xmm1
movaps xmm2, xmm6
addss xmm6, dword [eax + 0x14]
subss xmm2, xmm0
mov edx, eax
mulss xmm3, xmm4
mulss xmm2, xmm5
addss xmm3, xmm1
subss xmm1, xmm7
addss xmm2, xmm0
subss xmm0, xmm6
movss dword [esp + 0x20], xmm3
mulss xmm1, xmm4
mulss xmm0, xmm5
addss xmm1, xmm7
movss dword [esp + 0x1c], xmm2
addss xmm0, xmm6
subss xmm1, xmm3
subss xmm0, xmm2
movss dword [esp + 0x38], xmm1
push dword [esp + 0x38]
movss dword [esp + 0x38], xmm0
push dword [esp + 0x38]
call fcn.1003f380
movss xmm0, dword [esp + 0x1c]
add esp, 8
xorps xmm2, xmm2
ucomiss xmm0, xmm2
movss xmm0, dword [esp + 0x3c]
movss dword [esp + 0x28], xmm0
lahf
test ah, 0x44
jp 0x100403b4
subss xmm0, dword [esp + 0x34]
movss xmm1, dword [esp + 0x1c]
subss xmm1, xmm0
movss dword [esp + 0x1c], xmm1
movss xmm0, dword [esp + 0xc]
ucomiss xmm0, xmm2
movss xmm0, dword [esp + 0x40]
movss dword [esp + 0xc], xmm0
lahf
test ah, 0x44
jp 0x100403e5
subss xmm0, dword [esp + 0x38]
movss xmm1, dword [esp + 0x20]
subss xmm1, xmm0
movss dword [esp + 0x20], xmm1
mov ecx, dword [esp + 0x10]
inc ecx
mov dword [esp + 0x10], ecx
cmp ecx, dword [esp + 0x48]
jl 0x100401f0
mov eax, dword [0x1010121c]
mov esi, dword [eax + 0x199c]
cmp dword [esi + 0x1c0], 0
jg 0x10040424
push 0x4c3
push str.D:New_folderimguiimgui.h
push str.Size___0
call dword [sym.imp.ucrtbased.dll__wassert]
add esp, 0xc
dec dword [esi + 0x1c0]
mov eax, dword [edi + 0x1aec]
mov esi, dword [esp + 0x18]
test eax, eax
je 0x100405b5
cmp dword [eax + 0x2f0], esi
jne 0x100405b5
cmp dword [edi + 0x1ad4], 3
xorps xmm1, xmm1
xorps xmm3, xmm3
movss dword [esp + 0x10], xmm1
movss dword [esp + 0x24], xmm3
jne 0x1004049c
cmp byte [edi + 0xf9], 0
je 0x1004049c
push ecx
mov dword [esp], 0
lea ecx, [esp + 0x68]
push 0
mov edx, 1
call fcn.10049ca0
add esp, 8
movss xmm3, dword [eax]
movss xmm1, dword [eax + 4]
movss dword [esp + 0x24], xmm3
movss dword [esp + 0x10], xmm1
cmp dword [edi + 0x1ad4], 4
jne 0x100404d8
push ecx
mov dword [esp], 0
lea ecx, [esp + 0x40]
push 0
xorps xmm3, xmm3
mov edx, 2
call fcn.10049ca0
add esp, 8
movss xmm3, dword [eax]
movss xmm1, dword [eax + 4]
movss dword [esp + 0x24], xmm3
movss dword [esp + 0x10], xmm1
xorps xmm2, xmm2
ucomiss xmm3, xmm2
lahf
test ah, 0x44
jp 0x100404f1
ucomiss xmm1, xmm2
lahf
test ah, 0x44
jnp 0x100405b8
movss xmm1, dword [edi + 0xa4]
lea ecx, [esp + 0x6c]
movss xmm0, dword [edi + 0x18]
mulss xmm0, dword [0x100f4d40]
mov eax, dword [0x1010121c]
minss xmm1, dword [edi + 0xa8]
mov byte [edi + 0x1b00], 0
mov byte [edi + 0x1b0f], 1
mulss xmm1, xmm0
movups xmm0, xmmword [eax + 0x17b8]
cvttss2si esi, xmm1
movups xmmword [esp + 0x6c], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [eax + 0x1500]
movss dword [esp + 0x78], xmm0
call fcn.10035fa0
movss xmm1, dword [esp + 0x24]
mov ecx, dword [esp + 0x4c]
movd xmm0, esi
mov esi, dword [esp + 0x18]
mov edx, esi
cvtdq2ps xmm0, xmm0
mov dword [ecx], eax
lea ecx, [esp + 0x2c]
mulss xmm1, xmm0
addss xmm1, dword [esi + 0x1c]
movss dword [esp + 0x2c], xmm1
movss xmm1, dword [esp + 0x10]
mulss xmm1, xmm0
addss xmm1, dword [esi + 0x20]
movss dword [esp + 0x30], xmm1
push dword [esp + 0x30]
push dword [esp + 0x30]
call fcn.1003f380
add esp, 8
xorps xmm2, xmm2
movss xmm0, dword [eax]
movss dword [esp + 0x28], xmm0
movss xmm0, dword [eax + 4]
jmp 0x100405be
xorps xmm2, xmm2
movss xmm0, dword [esp + 0xc]
movss xmm1, dword [esp + 0x28]
movss xmm3, dword [0x100f4d88]
ucomiss xmm1, xmm3
lahf
test ah, 0x44
jnp 0x10040600
test dword [esi + 8], 0x100
mov ecx, dword [0x1010121c]
movss dword [esi + 0x1c], xmm1
movss dword [esi + 0x20], xmm0
jne 0x10040600
comiss xmm2, dword [ecx + 0x2c50]
jb 0x10040600
mov eax, dword [ecx + 0x1c]
mov dword [ecx + 0x2c50], eax
movss xmm0, dword [esp + 0x1c]
ucomiss xmm0, xmm3
lahf
test ah, 0x44
jnp 0x10040652
test dword [esi + 8], 0x100
cvttss2si eax, xmm0
mov ecx, dword [0x1010121c]
movd xmm1, eax
cvttss2si eax, dword [esp + 0x20]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esi + 0xc], xmm1
movss dword [esi + 0x10], xmm0
jne 0x10040652
comiss xmm2, dword [ecx + 0x2c50]
jb 0x10040652
mov eax, dword [ecx + 0x1c]
mov dword [ecx + 0x2c50], eax
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x20]
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], ecx
mov ecx, dword [esp + 0x7c]
pop edi
pop esi
xor ecx, esp
call fcn.100af2b0
mov esp, ebp
pop ebp
ret