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

Disassembly:
sub esp, 0x8c
mov eax, dword [0x10157040]
xor eax, esp
mov dword [esp + 0x84], eax
push ebx
push ebp
mov ebp, dword [0x101d36fc]
mov ebx, ecx
movaps xmm2, xmm0
movss dword [esp + 0x18], xmm2
push esi
push edi
cmp ebx, 0xffffffff
jle 0x1009794a
cmp ebx, 9
jl 0x10097962
push 0xd27
push str.C:Usersmegaw_source_reposTEProjectd3d9imguiimgui.cpp
push str.mouse_cursor___ImGuiMouseCursor_None__mouse_cursor___ImGuiMouseCursor_COUNT
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
add esp, 0xc
xor edi, edi
cmp dword [ebp + 0x4788], edi
jle 0x10097c18
push edi
lea ecx, [ebp + 0x4788]
call fcn.100a95b1
xor edx, edx
push str.Foreground
inc edx
mov ecx, dword [eax]
call fcn.10098a7c
and dword [esp + 0x38], 0
and dword [esp + 0x3c], 0
and dword [esp + 0x30], 0
and dword [esp + 0x34], 0
pop ecx
mov ecx, dword [eax + 0x2c]
push 4
mov dword [esp + 0x18], eax
pop edx
mov ecx, dword [ecx + 8]
mov esi, dword [ecx + 0x30]
lea ecx, [esp + 0x74]
and dword [ecx], 0
lea ecx, [ecx + 8]
and dword [ecx - 4], 0
sub edx, 1
jne 0x100979b4
lea eax, [esp + 0x84]
mov ecx, esi
push eax
lea eax, [esp + 0x78]
push eax
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x40]
push eax
push ebx
call fcn.100b6db1
test al, al
je 0x10097c0b
movss xmm0, dword [esp + 0xa8]
subss xmm0, dword [esp + 0x34]
mov esi, dword [esi + 4]
mov ecx, dword [esp + 0x14]
push esi
movss dword [esp + 0x1c], xmm0
movss dword [esp + 0x40], xmm0
movss xmm0, dword [esp + 0xb0]
subss xmm0, dword [esp + 0x3c]
movss dword [esp + 0x20], xmm0
movss dword [esp + 0x44], xmm0
call fcn.100b3b02
movss xmm0, dword [esp + 0x2c]
lea eax, [esp + 0x8c]
addss xmm0, dword [0x10137464]
movss xmm4, dword [esp + 0x20]
xorps xmm5, xmm5
movss xmm1, dword [esp + 0x30]
addss xmm1, xmm5
mov ecx, dword [esp + 0x14]
push 0x30000000
mulss xmm0, xmm4
push eax
lea eax, [esp + 0x8c]
mulss xmm1, xmm4
push eax
addss xmm0, dword [esp + 0x24]
lea eax, [esp + 0x50]
movss dword [esp + 0x30], xmm1
push eax
lea eax, [esp + 0x5c]
movss dword [esp + 0x54], xmm0
movaps xmm0, xmm1
addss xmm0, dword [esp + 0x2c]
movaps xmm1, xmm4
mulss xmm1, xmm5
push eax
push esi
movss dword [esp + 0x60], xmm0
movss xmm0, dword [esp + 0x30]
addss xmm0, xmm4
movss dword [esp + 0x40], xmm1
movss dword [esp + 0x64], xmm0
movaps xmm0, xmm1
addss xmm0, dword [esp + 0x34]
movss dword [esp + 0x68], xmm0
call fcn.100b5ceb
movss xmm0, dword [esp + 0x2c]
lea eax, [esp + 0x8c]
addss xmm0, dword [0x101374e8]
movss xmm3, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
push 0x30000000
push eax
mulss xmm0, xmm3
lea eax, [esp + 0x8c]
push eax
lea eax, [esp + 0x60]
push eax
addss xmm0, dword [esp + 0x28]
lea eax, [esp + 0x6c]
push eax
push esi
movss dword [esp + 0x6c], xmm0
movss xmm0, dword [esp + 0x3c]
addss xmm0, dword [esp + 0x34]
movss dword [esp + 0x70], xmm0
movaps xmm0, xmm3
addss xmm0, xmm3
addss xmm0, dword [esp + 0x30]
movss dword [esp + 0x74], xmm0
movss xmm0, dword [esp + 0x40]
addss xmm0, dword [esp + 0x34]
movss dword [esp + 0x78], xmm0
call fcn.100b5ceb
movss xmm0, dword [esp + 0x2c]
movss xmm1, dword [esp + 0x30]
mulss xmm0, dword [esp + 0x20]
mulss xmm1, dword [esp + 0x20]
movss dword [esp + 0x28], xmm0
movss dword [esp + 0x24], xmm1
addss xmm0, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x8c]
push 0xff000000
push eax
lea eax, [esp + 0x8c]
push eax
movss dword [esp + 0x70], xmm0
lea eax, [esp + 0x70]
movaps xmm0, xmm1
addss xmm0, dword [esp + 0x28]
push eax
lea eax, [esp + 0x4c]
push eax
push esi
movss dword [esp + 0x80], xmm0
call fcn.100b5ceb
movss xmm0, dword [esp + 0x18]
lea eax, [esp + 0x7c]
addss xmm0, dword [esp + 0x28]
mov ecx, dword [esp + 0x14]
push 0xffffffffffffffff
push eax
lea eax, [esp + 0x7c]
push eax
movss dword [esp + 0x78], xmm0
lea eax, [esp + 0x78]
movss xmm0, dword [esp + 0x28]
addss xmm0, dword [esp + 0x30]
push eax
lea eax, [esp + 0x4c]
push eax
push esi
movss dword [esp + 0x88], xmm0
call fcn.100b5ceb
mov ecx, dword [esp + 0x14]
call fcn.100b3b53
inc edi
cmp edi, dword [ebp + 0x4788]
jl 0x10097970
mov ecx, dword [esp + 0x94]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.100e1471
add esp, 0x8c
ret