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

Disassembly:
sub esp, 0x70
mov edx, dword [0x1008df28]
push edi
mov edi, dword [esp + 0x78]
mov dword [esp + 0x60], edx
test byte [edi + 0xc], 0x42
jne 0x1002520c
cmp byte [edi + 0xc4], 0
jg 0x1002520c
cmp byte [edi + 0xc5], 0
jg 0x1002520c
cmp byte [edi + 0xab], 0
je 0x1002520c
movss xmm2, dword [edx + 0x3bcc]
xor eax, eax
movss xmm0, dword [edi + 0x4c]
movaps xmm1, xmm2
addss xmm0, dword [0x10076240]
mulss xmm2, dword [0x10076228]
mov cl, byte [edx + 0x4a]
mulss xmm1, dword [0x1007d3f0]
test cl, cl
push esi
addss xmm0, xmm2
mov byte [esp + 0x74], 0
mov esi, 4
cmovne eax, esi
mov dword [esp + 0x50], eax
maxss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x1007d3e0]
cvttss2si esi, xmm0
je 0x1002464f
movss xmm0, dword [0x10076260]
jmp 0x10024652
xorps xmm0, xmm0
cmp byte [edx + 0x4b], 0
mov eax, dword [esp + 0x90]
movss dword [esp + 0x58], xmm0
movups xmm0, xmmword [eax]
movups xmmword [esp + 0x18], xmm0
je 0x10024689
test byte [edi + 0xc], 1
jne 0x10024689
mov ecx, edi
mov byte [esp + 0x75], 1
call fcn.10021e70
fsubr dword [esp + 0x1c]
fstp dword [esp + 0x1c]
jmp 0x1002468e
mov byte [esp + 0x75], 0
movss xmm1, dword [0x1007d428]
movaps xmm0, xmm1
movss dword [esp + 0x6c], xmm1
push str.RESIZE
movss dword [esp + 0x6c], xmm1
movss dword [esp + 0x60], xmm0
movss dword [esp + 0x74], xmm1
mov dword [edi + 0x148], 1
call fcn.1001ba30
xor eax, eax
add esp, 4
mov dword [esp + 0x60], eax
cmp dword [esp + 0x88], eax
jle 0x10024b60
nop dword [eax + eax]
movss xmm0, dword [edi + 0x14]
lea ecx, [eax + eax*2]
movss xmm1, dword [edi + 0x18]
movaps xmm3, xmm0
addss xmm3, dword [edi + 0x1c]
movss xmm5, dword [ecx*8 + 0x10076870]
movaps xmm2, xmm1
addss xmm2, dword [edi + 0x20]
mov dword [esp + 0x54], ecx
subss xmm3, xmm0
subss xmm2, xmm1
mulss xmm3, dword [ecx*8 + 0x10076868]
mulss xmm2, dword [ecx*8 + 0x1007686c]
addss xmm3, xmm0
movaps xmm0, xmm5
mulss xmm0, dword [esp + 0x58]
addss xmm2, xmm1
movss xmm1, dword [ecx*8 + 0x10076874]
movaps xmm6, xmm3
subss xmm6, xmm0
movaps xmm0, xmm1
mulss xmm0, dword [esp + 0x58]
movaps xmm4, xmm2
subss xmm4, xmm0
movss dword [esp + 0x30], xmm6
movd xmm0, esi
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x34], xmm4
mulss xmm5, xmm0
mulss xmm1, xmm0
addss xmm5, xmm3
addss xmm1, xmm2
comiss xmm6, xmm5
movss dword [esp + 0x38], xmm5
movss dword [esp + 0x3c], xmm1
jbe 0x10024795
movss dword [esp + 0x30], xmm5
movss dword [esp + 0x38], xmm6
comiss xmm4, xmm1
jbe 0x100247a6
movss dword [esp + 0x34], xmm1
movss dword [esp + 0x3c], xmm4
push eax
mov ecx, edi
call fcn.10010770
push 8
mov edi, eax
lea eax, [esp + 0x34]
push 0
push edi
push eax
call fcn.10014ca0
push 0x40800
lea eax, [esp + 0x8a]
push eax
lea eax, [esp + 0x8f]
push eax
lea eax, [esp + 0x4c]
push edi
push eax
call fcn.10045a20
mov al, byte [esp + 0x9b]
add esp, 0x24
mov cl, byte [esp + 0x76]
test al, al
jne 0x100247f9
test cl, cl
je 0x10024ad4
mov edi, dword [esp + 0x60]
mov eax, edi
mov edx, dword [esp + 0x64]
not eax
and eax, 1
add eax, 5
mov dword [edx + 0x4b14], eax
test cl, cl
je 0x10024ada
cmp word [edx + 0x370a], 2
jne 0x10024885
test edi, edi
jne 0x10024885
push dword [esp + 0x80]
mov edi, dword [esp + 0x80]
lea eax, [esp + 0x2c]
push edi
push eax
call fcn.1000b680
push 0
push 0
mov byte [esp + 0x88], 1
movss xmm0, dword [eax]
movss dword [esp + 0x70], xmm0
movss xmm0, dword [eax + 4]
movss dword [esp + 0x84], xmm0
call fcn.1001f260
mov cl, byte [esp + 0x8a]
add esp, 0x14
test cl, cl
je 0x10024afb
mov ecx, 0x20
jmp 0x10024b09
mov ecx, dword [esp + 0x54]
xorps xmm1, xmm1
movss xmm2, dword [0x10076240]
movss xmm7, dword [ecx*8 + 0x1007686c]
ucomiss xmm7, xmm2
lahf
test ah, 0x44
jnp 0x100248c3
ucomiss xmm7, xmm1
lahf
test ah, 0x44
jp 0x100248b6
cmp byte [esp + 0x75], 0
jne 0x100248c3
movss xmm3, dword [0x1007d438]
movaps xmm6, xmm3
jmp 0x100248d1
movss xmm6, dword [esp + 0x1c]
movss xmm3, dword [0x1007d438]
movss xmm0, dword [ecx*8 + 0x10076868]
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jp 0x100248eb
movss xmm4, dword [esp + 0x18]
jmp 0x100248ee
movaps xmm4, xmm3
ucomiss xmm7, xmm1
lahf
test ah, 0x44
jp 0x1002490d
movss xmm2, dword [esp + 0x24]
movss dword [esp + 0x5c], xmm2
movss xmm2, dword [0x1007d428]
jmp 0x1002491b
movss xmm2, dword [0x1007d428]
movss dword [esp + 0x5c], xmm2
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x10024932
movss xmm0, dword [esp + 0x20]
movss dword [esp + 0x68], xmm0
jmp 0x10024938
movss dword [esp + 0x68], xmm2
movss xmm5, dword [ecx*8 + 0x10076870]
xorps xmm3, xmm3
movss xmm2, dword [ecx*8 + 0x10076874]
movaps xmm0, xmm5
mulss xmm0, dword [esp + 0x58]
movaps xmm1, xmm2
mulss xmm1, dword [esp + 0x58]
cvtsi2ss xmm3, esi
xorps xmm3, xmmword [0x100762c0]
mulss xmm5, xmm3
mulss xmm2, xmm3
subss xmm5, xmm0
subss xmm2, xmm1
mulss xmm5, dword [ecx*8 + 0x10076868]
mulss xmm2, xmm7
addss xmm5, xmm0
movss xmm0, dword [edx + 0xdbc]
subss xmm0, dword [edx + 0x3ec0]
addss xmm2, xmm1
addss xmm5, xmm0
movss xmm0, dword [edx + 0xdc0]
subss xmm0, dword [edx + 0x3ec4]
addss xmm0, xmm2
comiss xmm6, xmm0
ja 0x100249c6
movss xmm6, dword [esp + 0x5c]
minss xmm6, xmm0
comiss xmm4, xmm5
ja 0x100249d5
movss xmm4, dword [esp + 0x68]
minss xmm4, xmm5
mov edi, dword [esp + 0x7c]
lea eax, [esp + 0x48]
movss xmm5, dword [ecx*8 + 0x10076868]
push eax
lea eax, [esp + 0x44]
movss xmm0, dword [edi + 0x14]
movss xmm1, dword [edi + 0x18]
movaps xmm2, xmm0
addss xmm0, dword [edi + 0x1c]
subss xmm2, xmm4
movaps xmm3, xmm1
addss xmm1, dword [edi + 0x20]
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 + 0x78], xmm2
mulss xmm4, xmm5
mulss xmm6, xmm7
addss xmm4, xmm0
movss dword [esp + 0x74], xmm3
addss xmm6, xmm1
subss xmm4, xmm2
subss xmm6, xmm3
movss dword [esp + 0x54], xmm4
movss dword [esp + 0x58], xmm6
call fcn.1000b680
mov ecx, dword [esp + 0x60]
add esp, 0xc
xorps xmm2, xmm2
movss xmm0, dword [ecx*8 + 0x10076868]
ucomiss xmm0, xmm2
movss xmm0, dword [esp + 0x40]
movss dword [esp + 0x5c], xmm0
lahf
test ah, 0x44
jp 0x10024a9a
subss xmm0, dword [esp + 0x48]
movss xmm1, dword [esp + 0x6c]
subss xmm1, xmm0
movss dword [esp + 0x6c], xmm1
movss xmm0, dword [ecx*8 + 0x1007686c]
ucomiss xmm0, xmm2
movss xmm0, dword [esp + 0x44]
movss dword [esp + 0x70], xmm0
lahf
test ah, 0x44
jp 0x10024ace
subss xmm0, dword [esp + 0x4c]
movss xmm1, dword [esp + 0x68]
subss xmm1, xmm0
movss dword [esp + 0x68], xmm1
mov cl, byte [esp + 0x76]
jmp 0x10024ade
mov edi, dword [esp + 0x7c]
jmp 0x10024ae2
mov edi, dword [esp + 0x7c]
mov al, byte [esp + 0x77]
cmp dword [esp + 0x60], 0
je 0x10024873
test cl, cl
jne 0x1002487b
test al, al
je 0x10024b4a
jmp 0x10024aff
mov al, byte [esp + 0x77]
xor ecx, ecx
test al, al
setne cl
add ecx, 0x1e
mov eax, dword [0x1008df28]
add ecx, ecx
movups xmm0, xmmword [eax + ecx*8 + 0x3864]
movups xmmword [esp + 8], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [eax + 0x3788]
lea eax, [esp + 8]
push eax
movss dword [esp + 0x18], xmm0
call fcn.1000c2d0
mov ecx, dword [esp + 0x64]
add esp, 4
mov edx, dword [esp + 0x8c]
mov dword [edx + ecx*4], eax
mov eax, dword [esp + 0x60]
inc eax
mov dword [esp + 0x60], eax
cmp eax, dword [esp + 0x88]
jl 0x100246e0
xor edi, edi
mov dword [esp + 0x58], edi
cmp dword [esp + 0x50], edi
jbe 0x10024f0f
lea eax, [edi*8]
sub eax, edi
shl eax, 2
mov dword [esp + 0x4c], eax
test edi, edi
je 0x10024b93
cmp edi, 1
je 0x10024b93
mov dword [esp + 0x60], 1
jmp 0x10024b99
xor eax, eax
mov dword [esp + 0x60], 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 + 0x88]
push eax
call fcn.10011130
mov ecx, dword [esp + 0x90]
lea eax, [edi + 4]
add esp, 0x14
push eax
call fcn.10010770
push 8
mov edi, eax
lea eax, [esp + 0xc]
push 0
push edi
push eax
call fcn.10014ca0
push 0x40800
lea eax, [esp + 0x8a]
push eax
lea eax, [esp + 0x8f]
push eax
lea eax, [esp + 0x24]
push edi
push eax
call fcn.10045a20
mov edx, dword [esp + 0x88]
add esp, 0x24
cmp byte [esp + 0x77], 0
je 0x10024c28
movss xmm0, dword [edx + 0x3ea4]
comiss xmm0, dword [0x1007d3c4]
ja 0x10024c33
cmp byte [esp + 0x76], 0
je 0x10024efc
mov ecx, dword [esp + 0x60]
mov eax, ecx
mov edi, dword [esp + 0x58]
xor eax, 1
add eax, 3
cmp byte [esp + 0x76], 0
mov dword [edx + 0x4b14], eax
je 0x10024f00
mov eax, dword [esp + 0x84]
mov dword [eax], edi
cmp edi, 3
je 0x10024c7b
cmp edi, 2
jne 0x10024c6e
cmp byte [esp + 0x75], 0
jne 0x10024c7b
movss xmm0, dword [0x1007d438]
movaps xmm1, xmm0
jmp 0x10024c89
movss xmm1, dword [esp + 0x1c]
movss xmm0, dword [0x1007d438]
movss dword [esp + 0x58], xmm1
cmp edi, 1
jne 0x10024cb0
movss xmm3, dword [esp + 0x18]
movss xmm0, dword [0x1007d428]
movss dword [esp + 0x70], xmm3
movss dword [esp + 0x5c], xmm0
jmp 0x10024cd6
movaps xmm3, xmm0
movss dword [esp + 0x70], xmm3
cmp edi, 2
jne 0x10024ec6
movss xmm0, dword [esp + 0x24]
movss dword [esp + 0x5c], xmm0
movss xmm0, dword [0x1007d428]
movss dword [esp + 0x54], xmm0
mov eax, dword [esp + 0x7c]
movss xmm0, dword [eax + 0x14]
movss dword [esp + 0x40], xmm0
movss xmm0, dword [eax + 0x18]
movss dword [esp + 0x44], xmm0
test ecx, ecx
je 0x10024d56
cmp ecx, 1
je 0x10024d56
push 0x107
push str.D:Projectm2extLibrariesimguiimgui.h
push str.idx__0__idx__1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
push 0x107
push str.D:Projectm2extLibrariesimguiimgui.h
push str.idx__0__idx__1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
push 0x107
push str.D:Projectm2extLibrariesimguiimgui.h
push str.idx__0__idx__1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movss xmm3, dword [esp + 0x94]
add esp, 0x24
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x64]
movss xmm0, dword [edx + ecx*4 + 0xdbc]
subss xmm0, dword [edx + ecx*4 + 0x3ec0]
movss xmm4, dword [esp + 0x58]
addss xmm0, dword [0x10076260]
movss dword [esp + ecx*4 + 0x40], xmm0
movss xmm0, dword [esp + 0x44]
comiss xmm4, xmm0
ja 0x10024d91
movss xmm4, dword [esp + 0x5c]
minss xmm4, xmm0
movss xmm0, dword [esp + 0x40]
comiss xmm3, xmm0
ja 0x10024da6
movss xmm3, dword [esp + 0x54]
minss xmm3, xmm0
mov ecx, dword [esp + 0x4c]
movss xmm0, dword [eax + 0x14]
movss xmm1, dword [eax + 0x18]
movaps xmm5, xmm0
addss xmm0, dword [eax + 0x1c]
movss xmm7, dword [ecx + 0x100768d4]
subss xmm5, xmm3
minss xmm7, dword [ecx + 0x100768dc]
movss xmm2, dword [ecx + 0x100768d0]
movaps xmm6, xmm1
minss xmm2, dword [ecx + 0x100768d8]
addss xmm1, dword [eax + 0x20]
subss xmm6, xmm4
lea ecx, [esp + 0x38]
movss dword [esp + 0x54], xmm7
push ecx
mulss xmm5, xmm2
push eax
mulss xmm6, xmm7
lea eax, [esp + 0x30]
push eax
addss xmm5, xmm3
movss dword [esp + 0x58], xmm2
subss xmm3, xmm0
addss xmm6, xmm4
subss xmm4, xmm1
movss dword [esp + 0x78], xmm5
mulss xmm3, xmm2
mulss xmm4, xmm7
addss xmm3, xmm0
movss dword [esp + 0x74], xmm6
addss xmm4, xmm1
subss xmm3, xmm5
subss xmm4, xmm6
movss dword [esp + 0x7c], xmm3
movss dword [esp + 0x44], xmm3
movss dword [esp + 0x64], xmm4
movss dword [esp + 0x48], xmm4
call fcn.1000b680
movss xmm0, dword [esp + 0x58]
add esp, 0xc
xorps xmm2, xmm2
ucomiss xmm0, xmm2
movss xmm0, dword [esp + 0x28]
movss dword [esp + 0x5c], xmm0
lahf
test ah, 0x44
jp 0x10024e93
subss xmm0, dword [esp + 0x70]
movss xmm1, dword [esp + 0x6c]
subss xmm1, xmm0
movss dword [esp + 0x6c], xmm1
movss xmm0, dword [esp + 0x54]
ucomiss xmm0, xmm2
movss xmm0, dword [esp + 0x2c]
movss dword [esp + 0x70], xmm0
lahf
test ah, 0x44
jp 0x10024f00
subss xmm0, dword [esp + 0x58]
movss xmm1, dword [esp + 0x68]
subss xmm1, xmm0
movss dword [esp + 0x68], xmm1
jmp 0x10024f00
movss xmm3, dword [0x1007d428]
movss dword [esp + 0x5c], xmm3
movaps xmm3, xmm0
movss dword [esp + 0x70], xmm3
test edi, edi
jne 0x10024cce
movss xmm1, dword [esp + 0x20]
movss dword [esp + 0x54], xmm1
movss dword [esp + 0x70], xmm3
jmp 0x10024cdc
mov edi, dword [esp + 0x58]
inc edi
mov dword [esp + 0x58], edi
cmp edi, dword [esp + 0x50]
jl 0x10024b70
call fcn.1001b420
mov esi, dword [esp + 0x7c]
mov edi, dword [esp + 0x64]
mov dword [esi + 0x148], 0
mov eax, dword [edi + 0x49a8]
test eax, eax
je 0x10025145
cmp dword [eax + 0x300], esi
jne 0x10025145
cmp dword [edi + 0x4828], 2
xorps xmm2, xmm2
xorps xmm3, xmm3
jne 0x10024f82
cmp byte [edi + 0xdd9], 0
je 0x10024f82
push 0x204
push 0x203
push 0x202
lea eax, [esp + 0x34]
push 0x201
push eax
call fcn.10010ba0
add esp, 0x14
movss xmm2, dword [eax]
movss xmm3, dword [eax + 4]
cmp dword [edi + 0x4828], 3
jne 0x10024fb5
push 0x272
push 0x271
push 0x270
lea eax, [esp + 0x34]
push 0x26f
push eax
call fcn.10010ba0
add esp, 0x14
movss xmm2, dword [eax]
movss xmm3, dword [eax + 4]
xorps xmm4, xmm4
ucomiss xmm2, xmm4
lahf
test ah, 0x44
jp 0x10024fce
ucomiss xmm3, xmm4
lahf
test ah, 0x44
jnp 0x10025150
movss xmm1, dword [edi + 0x3c]
minss xmm1, dword [edi + 0x40]
movss xmm0, dword [edi + 0x18]
mulss xmm0, dword [0x1007d41c]
mulss xmm1, xmm0
movss xmm0, dword [esp + 0x18]
mulss xmm2, xmm1
mulss xmm3, xmm1
addss xmm2, dword [edi + 0x49c8]
addss xmm3, dword [edi + 0x49cc]
movss dword [edi + 0x49c8], xmm2
movss dword [edi + 0x49cc], xmm3
subss xmm0, dword [esi + 0x14]
subss xmm0, dword [esi + 0x1c]
maxss xmm2, xmm0
movss xmm0, dword [esp + 0x1c]
subss xmm0, dword [esi + 0x18]
subss xmm0, dword [esi + 0x20]
movss dword [edi + 0x49c8], xmm2
mov byte [edi + 0x49bc], 0
mov byte [edi + 0x483b], 1
maxss xmm3, xmm0
movss dword [edi + 0x49cc], xmm3
mov eax, dword [0x1008df28]
movups xmm0, xmmword [eax + 0x3a64]
movups xmmword [esp + 8], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [eax + 0x3788]
lea eax, [esp + 8]
push eax
movss dword [esp + 0x18], xmm0
call fcn.1000c2d0
mov ecx, dword [esp + 0x90]
add esp, 4
xorps xmm4, xmm4
mov dword [ecx], eax
cvttss2si esi, dword [edi + 0x49c8]
cvttss2si edi, dword [edi + 0x49cc]
movd xmm0, esi
cvtdq2ps xmm0, xmm0
movd xmm1, edi
ucomiss xmm0, xmm4
cvtdq2ps xmm1, xmm1
lahf
test ah, 0x44
jp 0x100250c7
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jnp 0x10025158
mov eax, dword [esp + 0x7c]
lea ecx, [esp + 0x28]
push ecx
push eax
addss xmm0, dword [eax + 0x24]
movss dword [esp + 0x30], xmm0
movaps xmm0, xmm1
addss xmm0, dword [eax + 0x28]
lea eax, [esp + 0x40]
push eax
movss dword [esp + 0x38], xmm0
call fcn.1000b680
mov edx, dword [esp + 0x70]
add esp, 0xc
movd xmm2, esi
xorps xmm4, xmm4
cvtdq2ps xmm2, xmm2
movss xmm0, dword [eax]
movss xmm1, dword [eax + 4]
movss dword [esp + 0x5c], xmm0
movss xmm0, dword [edx + 0x49c8]
subss xmm0, xmm2
movd xmm2, edi
cvtdq2ps xmm2, xmm2
movss dword [edx + 0x49c8], xmm0
movss xmm0, dword [edx + 0x49cc]
subss xmm0, xmm2
movss dword [edx + 0x49cc], xmm0
jmp 0x1002515e
movss xmm1, dword [esp + 0x70]
xorps xmm4, xmm4
jmp 0x10025162
movss xmm1, dword [esp + 0x70]
jmp 0x10025162
movss xmm1, dword [esp + 0x70]
mov esi, dword [esp + 0x7c]
movss xmm0, dword [esp + 0x5c]
movss xmm2, dword [0x1007d428]
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jnp 0x100251a4
test dword [esi + 0xc], 0x100
movss dword [esi + 0x24], xmm0
movss dword [esi + 0x28], xmm1
mov ecx, dword [0x1008df28]
jne 0x100251a4
comiss xmm4, dword [ecx + 0x5b24]
jb 0x100251a4
mov eax, dword [ecx + 0x1c]
mov dword [ecx + 0x5b24], eax
movss xmm0, dword [esp + 0x6c]
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jnp 0x100251f6
test dword [esi + 0xc], 0x100
cvttss2si eax, xmm0
movd xmm1, eax
cvttss2si eax, dword [esp + 0x68]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esi + 0x14], xmm1
movss dword [esi + 0x18], xmm0
mov edx, dword [0x1008df28]
jne 0x100251f6
comiss xmm4, dword [edx + 0x5b24]
jb 0x100251f6
mov ecx, dword [edx + 0x1c]
mov dword [edx + 0x5b24], ecx
mov ecx, dword [esi + 0x24]
mov edx, dword [esi + 0x28]
mov al, byte [esp + 0x74]
mov dword [esi + 0x1c], ecx
mov dword [esi + 0x20], edx
pop esi
pop edi
add esp, 0x70
ret
xor al, al
pop edi
add esp, 0x70
ret