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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xc8
mov eax, dword [0x10103040]
xor eax, esp
mov dword [esp + 0xc4], eax
push esi
mov dword [esp + 0x20], ecx
mov ecx, 0x10175a17
push edi
mov dword [esp + 0x1c], edx
call fcn.100b6430
mov esi, dword [0x1010713c]
mov eax, dword [esi + 0x199c]
mov byte [eax + 0x7c], 1
mov edi, dword [esi + 0x199c]
mov dword [esp + 0x10], edi
cmp byte [edi + 0x7f], 0
jne 0x1009a943
cmp dword [edi + 0x1c0], 0
jg 0x1009a3b3
push 0x4b7
push 0x100c0510
push str.Size___0
call dword [sym.imp.ucrtbased.dll__wassert]
add esp, 0xc
mov ecx, dword [edi + 0x1c0]
xor edx, edx
mov eax, dword [edi + 0x1c8]
push dword [eax + ecx*4 - 4]
mov ecx, dword [esp + 0x28]
call fcn.1003cbb0
mov edi, eax
add esp, 4
mov eax, dword [0x1010713c]
mov dword [esp + 0x44], edi
cmp dword [eax + 0x19bc], edi
jne 0x1009a3ea
mov dword [eax + 0x19c4], edi
cmp dword [eax + 0x19c0], edi
jne 0x1009a3f9
mov byte [eax + 0x19d0], 1
mov edx, dword [esp + 0x24]
push ecx
mov dword [esp], 0xbf800000
lea ecx, [esp + 0x4c]
push 1
push 0
call fcn.10044fa0
mov eax, dword [ebp + 0xc]
xorps xmm1, xmm1
movss xmm2, dword [esp + 0x58]
add esp, 0xc
addss xmm2, dword [esi + 0x1538]
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x14], eax
mov eax, dword [0x1010713c]
mov dword [esp + 0x28], edx
movss dword [esp + 0x34], xmm2
mov eax, dword [eax + 0x199c]
mov dword [esp + 0x20], eax
movss xmm0, dword [eax + 0x16c]
comiss xmm1, xmm0
movss dword [esp + 0x3c], xmm0
jbe 0x1009a4bf
movss xmm1, dword [eax + 0xc8]
subss xmm1, dword [eax + 0xc]
mov ecx, dword [eax + 0x1bc]
movss dword [esp + 0x30], xmm1
movss xmm1, dword [eax + 0x214]
subss xmm1, dword [eax + 0xc]
test ecx, ecx
je 0x1009a4a7
mov ecx, dword [ecx + 0xc]
inc ecx
call fcn.10054220
mov eax, dword [esp + 0x20]
movaps xmm1, xmm0
movss xmm2, dword [esp + 0x34]
mov edx, dword [esp + 0x28]
subss xmm1, dword [eax + 0x3c]
subss xmm1, dword [esp + 0x30]
movss xmm0, dword [0x100fabf8]
addss xmm1, dword [esp + 0x3c]
maxss xmm0, xmm1
push dword [esp + 0x14]
cvttss2si eax, xmm0
push edx
lea ecx, [esp + 0x3c]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
call fcn.10041900
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x1c]
movss xmm3, dword [eax + 0xc8]
movss xmm1, dword [eax + 0xcc]
movaps xmm0, xmm3
addss xmm0, dword [esp + 0x3c]
movaps xmm2, xmm1
movss dword [esp + 0x28], xmm1
addss xmm2, dword [esp + 0x40]
movss dword [esp + 0x84], xmm1
movss dword [esp + 0x74], xmm1
movss dword [esp + 0x38], xmm0
movss dword [esp + 0x88], xmm0
movss dword [esp + 0x78], xmm0
subss xmm0, xmm3
movss dword [esp + 0x44], xmm3
movss dword [esp + 0x30], xmm2
movss dword [esp + 0x80], xmm3
movss dword [esp + 0x8c], xmm2
movss dword [esp + 0x1c], xmm0
movaps xmm0, xmm2
subss xmm0, xmm1
movss dword [esp + 0x70], xmm3
movss xmm1, dword [esi + 0x1538]
movss dword [esp + 0x7c], xmm2
movss dword [esp + 0x20], xmm0
call fcn.10041230
push 0
mov edx, edi
lea ecx, [esp + 0x74]
call fcn.100413b0
add esp, 0xc
test al, al
je 0x1009a943
mov ecx, dword [esp + 0x10]
xor edx, edx
cmp dword [esi + 0x19bc], edi
push 1
sete dl
call fcn.100417f0
add esp, 4
mov byte [esp + 0xf], al
mov edx, edi
lea ecx, [esp + 0x78]
call fcn.10041650
test al, al
je 0x1009a5dc
mov ecx, edi
call fcn.100410b0
mov dword [esi + 0x1c74], 1
cmp byte [esi + 0x3d0], 0
je 0x1009a5dc
mov al, 1
jmp 0x1009a5de
xor al, al
cmp byte [esp + 0xf], 0
jne 0x1009a600
test al, al
jne 0x1009a600
cmp byte [esi + 0x3d0], al
je 0x1009a64d
cmp dword [esi + 0x19bc], edi
jne 0x1009a64d
call fcn.10041040
jmp 0x1009a64d
cmp dword [esi + 0x19bc], edi
je 0x1009a639
push 0x200
lea eax, [esi + 0xfc]
mov dword [esi + 0xe8], 0
push 0
push eax
mov byte [esi + 0xec], 0
call sub.VCRUNTIME140D.dll_memset
mov ecx, dword [esp + 0x28]
add esp, 0xc
mov dword [ecx], 0
mov edx, dword [esp + 0x10]
mov ecx, edi
call fcn.10040e90
mov ecx, dword [esp + 0x10]
call fcn.1004ba50
mov eax, dword [esp + 0x1c]
mov byte [esp + 0xf], 0
mov eax, dword [eax]
mov dword [esp + 0x10], eax
cmp dword [esi + 0x19bc], edi
jne 0x1009a729
xor edi, edi
nop word [eax + eax]
cmp byte [edi + esi + 0xe8], 0
je 0x1009a6c0
cmp edi, 4
ja case.default.0x1009a67f
jmp dword [edi*4 + 0x1009a95c]
mov dword [esp + 0x10], 1
jmp case.default.0x1009a67f
mov dword [esp + 0x10], 2
jmp case.default.0x1009a67f
mov dword [esp + 0x10], 4
jmp case.default.0x1009a67f
mov dword [esp + 0x10], 5
jmp case.default.0x1009a67f
mov dword [esp + 0x10], 6
mov byte [esp + 0xf], 1
call fcn.10041040
inc edi
cmp edi, 5
jl 0x1009a670
cmp byte [esp + 0xf], 0
jne 0x1009a6f3
mov edi, 8
cmp byte [esi + edi + 0xfc], 0
je 0x1009a6ea
mov dword [esp + 0x10], edi
mov byte [esp + 0xf], 1
call fcn.10041040
inc edi
cmp edi, 0xa5
jle 0x1009a6d2
mov eax, dword [0x1010713c]
mov ecx, dword [eax + 0x6c]
test ecx, ecx
js 0x1009a71b
mov dl, 1
call fcn.10045620
test al, al
je 0x1009a71b
mov eax, dword [esp + 0x1c]
mov dword [eax], 0
call fcn.10041040
jmp 0x1009a725
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x10]
mov dword [ecx], eax
mov edi, dword [esp + 0x44]
mov eax, dword [str.None]
mov dword [esp + 0x88], eax
mov al, byte [0x100c4354]
push 0x3b
mov byte [esp + 0x90], al
lea eax, [esp + 0x91]
push 0
push eax
call sub.VCRUNTIME140D.dll_memset
movss xmm0, dword [esi + 0x153c]
add esp, 0xc
cmp dword [0x1010713c], 0
movss dword [esp + 0x14], xmm0
jne 0x1009a784
push 0xbe8
push 0x100c05b8
push str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___or_ImGui::SetCurrentContext____
call dword [sym.imp.ucrtbased.dll__wassert]
add esp, 0xc
mov eax, dword [0x1010713c]
lea ecx, [esp + 0x50]
movups xmm0, xmmword [eax + 0x1618]
movaps xmmword [esp + 0x50], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [eax + 0x1500]
movss dword [esp + 0x5c], xmm0
call fcn.1003d8c0
push dword [esp + 0x84]
movss xmm2, dword [esp + 0x18]
mov dl, 1
push dword [esp + 0x84]
mov ecx, eax
push dword [esp + 0x84]
push dword [esp + 0x84]
call fcn.1003f540
mov eax, dword [esp + 0x2c]
add esp, 0x10
mov eax, dword [eax]
test eax, eax
je 0x1009a7f9
cmp dword [esi + 0x19bc], edi
je 0x1009a801
push dword [eax*4 + 0x100c8588]
jmp 0x1009a806
cmp dword [esi + 0x19bc], edi
jne 0x1009a819
push str._Press_a_key_
lea eax, [esp + 0x8c]
push 0x40
push eax
call dword [sym.imp.ucrtbased.dll_strcpy_s]
add esp, 0xc
movss xmm4, dword [esp + 0x3c]
lea eax, [esp + 0x78]
movss xmm0, dword [esp + 0x34]
lea edx, [esp + 0x14]
movss xmm3, dword [esp + 0x20]
addss xmm0, xmm4
movss xmm2, dword [esi + 0x1534]
lea ecx, [esp + 0x3c]
movss xmm1, dword [esi + 0x1538]
push eax
lea eax, [esi + 0x157c]
movss dword [esp + 0x7c], xmm4
movss dword [esp + 0x84], xmm0
movss xmm0, dword [esp + 0x3c]
addss xmm0, xmm3
movss dword [esp + 0x80], xmm3
push eax
push 0
lea eax, [esp + 0x94]
push 0
movss dword [esp + 0x94], xmm0
movss xmm0, dword [esp + 0x40]
subss xmm0, xmm2
mulss xmm2, dword [0x100fabdc]
push eax
addss xmm2, xmm4
movss dword [esp + 0x28], xmm0
movss xmm0, dword [esp + 0x3c]
subss xmm0, xmm1
mulss xmm1, dword [0x100fabdc]
movss dword [esp + 0x50], xmm2
addss xmm1, xmm3
movss dword [esp + 0x2c], xmm0
movss dword [esp + 0x54], xmm1
call fcn.1003f4a0
movss xmm0, dword [esp + 0x5c]
add esp, 0x14
comiss xmm0, dword [0x100faaf8]
jbe 0x1009a92b
cmp byte [ebp + 8], 0
je 0x1009a92b
movss xmm0, dword [esp + 0x70]
xor edx, edx
addss xmm0, dword [esi + 0x1534]
mov ecx, dword [esp + 0x24]
movss dword [esp + 0x14], xmm0
movss xmm0, dword [esp + 0x20]
addss xmm0, dword [esi + 0x1538]
movss dword [esp + 0x18], xmm0
push dword [esp + 0x18]
push dword [esp + 0x18]
push 1
call fcn.1003edc0
add esp, 0xc
mov al, byte [esp + 0xf]
pop edi
pop esi
mov ecx, dword [esp + 0xc4]
xor ecx, esp
call fcn.100b3fd0
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0xcc]
xor al, al
pop edi
pop esi
xor ecx, esp
call fcn.100b3fd0
mov esp, ebp
pop ebp
ret