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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x48
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x14c]
mov ecx, dword [esi + 0x150]
movss xmm0, dword [eax + 0x218]
comiss xmm0, dword [esi + 0xc0]
jbe 0x45b877
movss xmm0, dword [esi + 0xc8]
comiss xmm0, dword [eax + 0x210]
jbe 0x45b877
movss xmm0, dword [eax + 0x214]
comiss xmm0, dword [esi + 0xbc]
jbe 0x45b877
movss xmm0, dword [esi + 0xc4]
comiss xmm0, dword [eax + 0x20c]
jbe 0x45b877
mov edi, dword [ecx + 0x260]
mov ecx, dword [esi + 0x160]
push 0
push edi
mov dword [esp + 0x1c], edi
call fcn.0044c920
movss xmm2, dword [esi + 0x10c]
movss xmm0, dword [esi + 0x114]
comiss xmm2, xmm0
movss xmm1, dword [esi + 0x110]
movss xmm3, dword [esi + 0x118]
movss dword [esp + 0x40], xmm2
movss dword [esp + 0x44], xmm1
movss dword [esp + 0x48], xmm0
movss dword [esp + 0x4c], xmm3
jb 0x45b2a8
movss dword [esp + 0x48], xmm2
comiss xmm1, xmm3
jb 0x45b2b3
movss dword [esp + 0x4c], xmm1
mov eax, dword [edi + 0x3c]
lea edx, [edi + 0x3c]
mov ecx, dword [edx + 4]
mov dword [esp + 0x1c], edx
cmp eax, ecx
jne 0x45b2f6
lea edi, [eax + 1]
test ecx, ecx
je 0x45b2da
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x1c]
sar eax, 1
add eax, ecx
jmp 0x45b2df
mov eax, 8
cmp eax, edi
mov ecx, edx
cmovg edi, eax
push edi
call fcn.00441000
mov edx, dword [esp + 0x1c]
mov edi, dword [esp + 0x14]
mov eax, dword [edx]
movaps xmm0, xmmword [esp + 0x40]
mov ecx, edi
shl eax, 4
add eax, dword [edx + 8]
movups xmmword [eax], xmm0
inc dword [edx]
movups xmmword [edi + 0x60], xmm0
call fcn.00449150
movsx edi, word [esi + 0x4c]
test edi, edi
jne 0x45b321
lea eax, [esi + 0x16c]
jmp 0x45b354
cmp edi, 1
jl 0x45b32e
cmp edi, dword [esi + 0x174]
jle 0x45b346
push 0x6fe
push str.d:CProjectsSCUMSX2_srcimguiimgui.h
push str.i___0__i___Size
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
add esp, 0xc
mov eax, dword [esi + 0x17c]
shl edi, 4
add eax, 0xfffffff8
add eax, edi
cmp byte [esi + 0x1da], 0
movss xmm0, dword [esi + 0xd0]
movss xmm1, dword [esi + 0xd8]
movss dword [esp + 0x2c], xmm0
movss dword [esp + 0x24], xmm1
je 0x45b39b
cmp word [esi + 0x1c8], 1
jge 0x45b38b
movss xmm0, dword [esi + 0xe0]
addss xmm0, dword [eax]
minss xmm1, xmm0
movss dword [esp + 0x20], xmm1
jmp 0x45b3a1
movss dword [esp + 0x20], xmm0
mov eax, dword [esi + 4]
test eax, 0x200
je 0x45b54e
xor ecx, ecx
mov dword [esp + 0x18], ecx
cmp dword [esi + 0x40], ecx
jle 0x45b54e
nop
mov edi, dword [esp + 0x18]
and ecx, 0x1f
mov eax, dword [esi + 0x28]
mov edx, 1
shl edx, cl
mov ecx, edi
sar ecx, 5
test dword [eax + ecx*4], edx
je 0x45b539
mov eax, dword [esi + 0x18]
lea edi, [eax + edi*2]
cmp edi, eax
jb 0x45b3ee
cmp edi, dword [esi + 0x1c]
jb 0x45b406
push 0x25e
push str.d:CProjectsSCUMSX2_srcimguiimgui_internal.h
push str.p___Data__p___DataEnd
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
add esp, 0xc
movsx edx, word [edi]
imul edi, edx, 0x70
mov dword [esp + 0x1c], edx
add edi, dword [esi + 0x10]
cmp edi, dword [esi + 0x10]
jb 0x45b41d
cmp edi, dword [esi + 0x14]
jb 0x45b439
push 0x25e
push str.d:CProjectsSCUMSX2_srcimguiimgui_internal.h
push str.p___Data__p___DataEnd
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov edx, dword [esp + 0x28]
add esp, 0xc
movsx eax, word [esi + 0x1b2]
cmp eax, edx
jne 0x45b452
mov ax, word [esi + 0x4e]
cmp ax, word [esi + 0x4c]
jne 0x45b452
mov cl, 1
jmp 0x45b454
xor cl, cl
mov eax, dword [edi]
movss xmm1, dword [edi + 0xc]
and eax, 0x40000020
comiss xmm1, dword [esi + 0xf4]
mov edx, dword [esp + 0x1c]
movss dword [esp + 0x28], xmm1
jbe 0x45b47b
test cl, cl
je 0x45b539
cmp word [edi + 0x58], 0xffff
jne 0x45b4ab
test eax, eax
je 0x45b4ab
mov edx, dword [esi + 4]
mov eax, edx
and eax, 0xe000
cmp eax, 0x4000
jne 0x45b539
test edx, 0x10000
jne 0x45b539
mov edx, dword [esp + 0x1c]
movss xmm0, dword [edi + 0x20]
comiss xmm0, xmm1
jae 0x45b539
movsx eax, word [esi + 0x1ae]
cmp eax, edx
je 0x45b5fe
test cl, cl
jne 0x45b5fe
mov eax, dword [esp + 0x18]
movsx edi, word [esi + 0x1cc]
inc eax
cmp edi, eax
je 0x45b5f7
test dword [esi + 4], 0x1800
je 0x45b5e9
movss xmm7, dword [esp + 0x20]
mov eax, dword [esi + 0x74]
movss xmm0, dword [esp + 0x2c]
comiss xmm7, xmm0
jbe 0x45b539
push ecx
mov ecx, dword [esp + 0x18]
mov dword [esp], 0x3f800000
push eax
lea eax, [esp + 0x38]
movss dword [esp + 0x38], xmm1
push eax
lea eax, [esp + 0x44]
movss dword [esp + 0x40], xmm7
push eax
movss dword [esp + 0x48], xmm1
movss dword [esp + 0x4c], xmm0
call fcn.0044b580
mov ecx, dword [esp + 0x18]
inc ecx
mov dword [esp + 0x18], ecx
cmp ecx, dword [esi + 0x40]
jl 0x45b3c0
mov eax, dword [esi + 4]
mov ecx, eax
and ecx, 0x500
je 0x45b7a7
mov edi, dword [esi + 0x74]
movups xmm0, xmmword [esi + 0xbc]
movups xmmword [esp + 0x40], xmm0
cmp ecx, 0x500
jne 0x45b6c1
test edi, 0xff000000
je 0x45b7a7
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x38]
movss xmm0, dword [esp + 0x48]
xorps xmm3, xmm3
push 0
push ecx
test byte [eax + 0x24], 1
lea ecx, [esp + 0x38]
push ecx
mov ecx, eax
je 0x45b64a
movss xmm1, dword [0x4c18fc]
subss xmm0, xmm1
movss dword [esp + 0x44], xmm0
movss xmm0, dword [esp + 0x58]
subss xmm0, xmm1
movss dword [esp + 0x48], xmm0
movss xmm0, dword [esp + 0x4c]
addss xmm0, xmm1
movss dword [esp + 0x3c], xmm0
movss xmm0, dword [esp + 0x50]
addss xmm0, xmm1
jmp 0x45b68e
movss xmm7, dword [esp + 0x24]
mov eax, dword [esi + 0x78]
jmp 0x45b4fa
movsx eax, word [esi + 0x1ae]
movss xmm7, dword [esp + 0x24]
test cl, cl
je 0x45b625
movss xmm1, dword [0x4c194c]
mov ecx, 0x1d
call fcn.00427800
movss xmm1, dword [esp + 0x28]
jmp 0x45b4fa
cmp eax, edx
jne 0x45b4f7
movss xmm1, dword [0x4c194c]
mov ecx, 0x1c
call fcn.00427800
movss xmm1, dword [esp + 0x28]
jmp 0x45b4fa
subss xmm0, dword [0x4c18f8]
movss dword [esp + 0x44], xmm0
movss xmm0, dword [esp + 0x58]
subss xmm0, dword [0x4c18f8]
movss dword [esp + 0x48], xmm0
movss xmm0, dword [esp + 0x4c]
addss xmm0, dword [0x4c18fc]
movss dword [esp + 0x3c], xmm0
movss xmm0, dword [esp + 0x50]
addss xmm0, dword [0x4c18fc]
movss dword [esp + 0x40], xmm0
call fcn.0044b060
push ecx
mov dword [esp], 0x3f800000
push 1
push edi
mov edi, dword [esp + 0x20]
mov ecx, edi
push dword [edi + 0x54]
push dword [edi + 0x5c]
call fcn.00449720
mov dword [edi + 0x54], 0
jmp 0x45b7ab
test eax, 0x400
je 0x45b734
movss xmm0, dword [esp + 0x40]
lea eax, [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x18]
mov dword [esp], 0x3f800000
push edi
push eax
movss dword [esp + 0x44], xmm0
lea eax, [esp + 0x4c]
movss xmm0, dword [esp + 0x58]
push eax
movss dword [esp + 0x4c], xmm0
call fcn.0044b580
movss xmm0, dword [esp + 0x48]
lea eax, [esp + 0x48]
push ecx
mov dword [esp], 0x3f800000
push edi
mov edi, dword [esp + 0x1c]
mov ecx, edi
push eax
movss dword [esp + 0x44], xmm0
lea eax, [esp + 0x44]
movss xmm0, dword [esp + 0x50]
push eax
movss dword [esp + 0x4c], xmm0
call fcn.0044b580
jmp 0x45b7ab
test eax, 0x100
je 0x45b7a7
movss xmm0, dword [esp + 0x48]
lea eax, [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x18]
mov dword [esp], 0x3f800000
push edi
push eax
movss dword [esp + 0x44], xmm0
lea eax, [esp + 0x4c]
movss xmm0, dword [esp + 0x50]
push eax
movss dword [esp + 0x4c], xmm0
call fcn.0044b580
movss xmm0, dword [esp + 0x40]
lea eax, [esp + 0x48]
push ecx
mov dword [esp], 0x3f800000
push edi
mov edi, dword [esp + 0x1c]
mov ecx, edi
push eax
movss dword [esp + 0x44], xmm0
lea eax, [esp + 0x44]
movss xmm0, dword [esp + 0x58]
push eax
movss dword [esp + 0x4c], xmm0
call fcn.0044b580
jmp 0x45b7ab
mov edi, dword [esp + 0x14]
test byte [esi + 4], 0x80
je 0x45b81a
movss xmm1, dword [esi + 0x54]
movss xmm0, dword [esi + 0xc8]
comiss xmm0, xmm1
jbe 0x45b81a
comiss xmm1, dword [esi + 0x100]
jb 0x45b81a
movss xmm0, dword [esi + 0x108]
comiss xmm0, xmm1
jbe 0x45b81a
movss xmm0, dword [esi + 0x80]
lea eax, [esp + 0x38]
push ecx
mov dword [esp], 0x3f800000
mov ecx, edi
push dword [esi + 0x78]
movss dword [esp + 0x40], xmm0
movss xmm0, dword [esi + 0x7c]
push eax
lea eax, [esp + 0x3c]
movss dword [esp + 0x48], xmm1
push eax
movss dword [esp + 0x40], xmm0
movss dword [esp + 0x44], xmm1
call fcn.0044b580
mov ecx, dword [edi + 0x3c]
test ecx, ecx
jg 0x45b83c
push 0x714
push str.d:CProjectsSCUMSX2_srcimguiimgui.h
push str.Size___0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov ecx, dword [edi + 0x3c]
add esp, 0xc
add ecx, 0xffffffff
mov dword [edi + 0x3c], ecx
jne 0x45b85e
mov eax, dword [edi + 0x2c]
mov ecx, edi
add eax, 0x18
movups xmm0, xmmword [eax]
movups xmmword [edi + 0x60], xmm0
call fcn.00449150
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 0x44]
shl ecx, 4
add eax, 0xfffffff0
add eax, ecx
mov ecx, edi
movups xmm0, xmmword [eax]
movups xmmword [edi + 0x60], xmm0
call fcn.00449150
pop edi
pop esi
mov esp, ebp
pop ebp
ret