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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push ebx
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x14c]
mov ecx, dword [esi + 0x150]
movss xmm0, dword [eax + 0x254]
comiss xmm0, dword [esi + 0xc0]
jbe 0x498029
movss xmm0, dword [esi + 0xc8]
comiss xmm0, dword [eax + 0x24c]
jbe 0x498029
movss xmm0, dword [eax + 0x250]
comiss xmm0, dword [esi + 0xbc]
jbe 0x498029
movss xmm0, dword [esi + 0xc4]
comiss xmm0, dword [eax + 0x248]
jbe 0x498029
mov ebx, dword [ecx + 0x2a4]
mov ecx, dword [esi + 0x160]
push 0
push ebx
mov dword [ebp - 4], ebx
call fcn.0048b020
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 [ebp - 0x38], xmm2
movss dword [ebp - 0x34], xmm1
movss dword [ebp - 0x30], xmm0
movss dword [ebp - 0x2c], xmm3
jb 0x497b30
movss dword [ebp - 0x30], xmm2
comiss xmm1, xmm3
jb 0x497b3a
movss dword [ebp - 0x2c], xmm1
mov eax, dword [ebx + 0x3c]
lea edi, [ebx + 0x3c]
mov ecx, dword [edi + 4]
cmp eax, ecx
jne 0x497b70
lea ebx, [eax + 1]
test ecx, ecx
je 0x497b59
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x497b5e
mov eax, 8
cmp eax, ebx
mov ecx, edi
cmovg ebx, eax
push ebx
call fcn.00457ab0
mov eax, dword [edi]
mov ebx, dword [ebp - 4]
movups xmm0, xmmword [ebp - 0x38]
shl eax, 4
mov ecx, ebx
add eax, dword [edi + 8]
movups xmmword [eax], xmm0
inc dword [edi]
movups xmmword [ebx + 0x60], xmm0
call fcn.00486e40
movsx edi, word [esi + 0x4c]
test edi, edi
jne 0x497b9a
lea ecx, [esi + 0x16c]
jmp 0x497bcd
cmp edi, 1
jl 0x497ba7
cmp edi, dword [esi + 0x17c]
jle 0x497bbe
push 0x781
push str.C:UsersMi_PcDocumentsGitHubEngine_BonesEngine_Bones_v.1Engine_BonesSourceExternalImGuiimgui.h
push str.i___0__i___Size
call fcn.004ecded
add esp, 0xc
mov eax, dword [esi + 0x184]
lea ecx, [edi - 1]
lea ecx, [edi + ecx*2]
lea ecx, [eax + ecx*8]
mov eax, dword [esi + 4]
movss xmm4, dword [0x54f4f4]
test eax, 0x100
je 0x497be4
movaps xmm1, xmm4
jmp 0x497be7
xorps xmm1, xmm1
cmp byte [esi + 0x1e2], 0
movss xmm0, dword [esi + 0xd0]
movaps xmm2, xmm0
addss xmm2, xmm1
movss xmm1, dword [esi + 0xd8]
movss dword [ebp - 0x10], xmm1
movss dword [ebp - 0x18], xmm2
je 0x497c32
cmp word [esi + 0x1d0], 1
jge 0x497c23
movss xmm0, dword [esi + 0xe0]
addss xmm0, dword [ecx]
minss xmm1, xmm0
movss dword [ebp - 0xc], xmm1
jmp 0x497c37
movss dword [ebp - 0xc], xmm2
test eax, 0x200
je 0x497dc9
xor ebx, ebx
cmp dword [esi + 0x40], ebx
jle 0x497dc6
nop dword [eax]
mov eax, dword [esi + 0x28]
mov ecx, ebx
and ecx, 0x1f
mov edx, 1
shl edx, cl
mov ecx, ebx
sar ecx, 5
test dword [eax + ecx*4], edx
je 0x497db1
mov eax, dword [esi + 0x18]
lea edi, [eax + ebx*2]
cmp edi, eax
jb 0x497c7c
cmp edi, dword [esi + 0x1c]
jb 0x497c93
push 0x27f
push str.C:UsersMi_PcDocumentsGitHubEngine_BonesEngine_Bones_v.1Engine_BonesSourceExternalImGuiimgui_internal.h
push str.p___Data__p___DataEnd
call fcn.004ecded
add esp, 0xc
movsx edx, word [edi]
imul edi, edx, 0x70
mov dword [ebp - 8], edx
add edi, dword [esi + 0x10]
cmp edi, dword [esi + 0x10]
jb 0x497ca9
cmp edi, dword [esi + 0x14]
jb 0x497cc3
push 0x27f
push str.C:UsersMi_PcDocumentsGitHubEngine_BonesEngine_Bones_v.1Engine_BonesSourceExternalImGuiimgui_internal.h
push str.p___Data__p___DataEnd
call fcn.004ecded
mov edx, dword [ebp - 8]
add esp, 0xc
movsx eax, word [esi + 0x1ba]
cmp eax, edx
jne 0x497cdc
mov ax, word [esi + 0x4e]
cmp ax, word [esi + 0x4c]
jne 0x497cdc
mov cl, 1
jmp 0x497cde
xor cl, cl
mov eax, dword [edi]
movss xmm1, dword [edi + 0xc]
and eax, 0x40000020
comiss xmm1, dword [esi + 0xf4]
mov edx, dword [ebp - 8]
movss dword [ebp - 0x14], xmm1
jbe 0x497d03
test cl, cl
je 0x497db1
cmp word [edi + 0x58], 0xffff
jne 0x497d32
test eax, eax
je 0x497d32
mov edx, dword [esi + 4]
mov eax, edx
and eax, 0xe000
cmp eax, 0x4000
jne 0x497db1
test edx, 0x10000
jne 0x497db1
mov edx, dword [ebp - 8]
movss xmm0, dword [edi + 0x20]
comiss xmm0, xmm1
jae 0x497db1
movsx eax, word [esi + 0x1b6]
cmp eax, edx
je 0x497e65
test cl, cl
jne 0x497e65
movsx edi, word [esi + 0x1d4]
lea eax, [ebx + 1]
cmp edi, eax
je 0x497e5e
test dword [esi + 4], 0x1800
je 0x497e51
movss xmm7, dword [ebp - 0xc]
mov eax, dword [esi + 0x78]
movss xmm2, dword [ebp - 0x18]
comiss xmm7, xmm2
jbe 0x497db1
push ecx
mov ecx, dword [ebp - 4]
mov dword [esp], 0x3f800000
push eax
lea eax, [ebp - 0x20]
movss dword [ebp - 0x20], xmm1
push eax
lea eax, [ebp - 0x28]
movss dword [ebp - 0x1c], xmm7
push eax
movss dword [ebp - 0x28], xmm1
movss dword [ebp - 0x24], xmm2
call fcn.00489ad0
inc ebx
cmp ebx, dword [esi + 0x40]
jl 0x497c50
mov eax, dword [esi + 4]
movss xmm4, dword [0x54f4f4]
mov ebx, dword [ebp - 4]
mov ecx, eax
and ecx, 0x500
je 0x497fb6
mov edi, dword [esi + 0x78]
movups xmm0, xmmword [esi + 0xbc]
movups xmmword [ebp - 0x38], xmm0
cmp ecx, 0x500
jne 0x497f13
movss xmm2, dword [ebp - 0x30]
movss xmm3, dword [ebp - 0x2c]
addss xmm2, xmm4
addss xmm3, xmm4
test edi, 0xff000000
je 0x497fb6
test byte [ebx + 0x24], 1
lea eax, [ebp - 0x28]
movss xmm0, dword [ebp - 0x38]
mov ecx, ebx
push 0
push eax
lea eax, [ebp - 0x20]
push eax
je 0x497eae
movss xmm1, dword [0x54f494]
addss xmm0, xmm1
subss xmm2, xmm1
subss xmm3, xmm1
movss dword [ebp - 0x20], xmm0
movss xmm0, dword [ebp - 0x34]
addss xmm0, xmm1
jmp 0x497ed8
movss xmm7, dword [ebp - 0x10]
mov eax, dword [esi + 0x7c]
jmp 0x497d7a
movsx eax, word [esi + 0x1b6]
movss xmm7, dword [ebp - 0x10]
test cl, cl
je 0x497e8a
movss xmm1, dword [0x54f4f4]
mov ecx, 0x1d
call fcn.004231b0
movss xmm1, dword [ebp - 0x14]
jmp 0x497d7a
cmp eax, edx
jne 0x497d77
movss xmm1, dword [0x54f4f4]
mov ecx, 0x1c
call fcn.004231b0
movss xmm1, dword [ebp - 0x14]
jmp 0x497d7a
addss xmm0, dword [0x54f494]
subss xmm2, dword [0x54f490]
subss xmm3, dword [0x54f490]
movss dword [ebp - 0x20], xmm0
movss xmm0, dword [ebp - 0x34]
addss xmm0, dword [0x54f494]
movss dword [ebp - 0x24], xmm3
xorps xmm3, xmm3
movss dword [ebp - 0x28], xmm2
movss dword [ebp - 0x1c], xmm0
call fcn.004895c0
push ecx
mov dword [esp], 0x3f800000
mov ecx, ebx
push 1
push edi
push dword [ebx + 0x54]
push dword [ebx + 0x5c]
call fcn.00487410
mov dword [ebx + 0x54], 0
jmp 0x497fb6
test eax, 0x400
je 0x497f57
movss xmm0, dword [ebp - 0x38]
lea eax, [ebp - 0x28]
push ecx
mov dword [esp], 0x3f800000
mov ecx, ebx
push edi
push eax
movss dword [ebp - 0x28], xmm0
lea eax, [ebp - 0x38]
movss xmm0, dword [ebp - 0x2c]
push eax
movss dword [ebp - 0x24], xmm0
call fcn.00489ad0
movss xmm0, dword [ebp - 0x30]
movss dword [ebp - 0x28], xmm0
movss xmm0, dword [ebp - 0x34]
jmp 0x497f99
test eax, 0x100
je 0x497fb6
movss xmm0, dword [ebp - 0x30]
lea eax, [ebp - 0x28]
push ecx
mov dword [esp], 0x3f800000
mov ecx, ebx
push edi
push eax
movss dword [ebp - 0x28], xmm0
lea eax, [ebp - 0x38]
movss xmm0, dword [ebp - 0x34]
push eax
movss dword [ebp - 0x24], xmm0
call fcn.00489ad0
movss xmm0, dword [ebp - 0x38]
movss dword [ebp - 0x28], xmm0
movss xmm0, dword [ebp - 0x2c]
push ecx
mov dword [esp], 0x3f800000
lea eax, [ebp - 0x30]
push edi
push eax
lea eax, [ebp - 0x28]
movss dword [ebp - 0x24], xmm0
push eax
mov ecx, ebx
call fcn.00489ad0
test byte [esi + 4], 0x80
je 0x498022
movss xmm1, dword [esi + 0x54]
movss xmm0, dword [esi + 0xc8]
comiss xmm0, xmm1
jbe 0x498022
comiss xmm1, dword [esi + 0x100]
jb 0x498022
movss xmm0, dword [esi + 0x108]
comiss xmm0, xmm1
jbe 0x498022
movss xmm0, dword [esi + 0x84]
lea eax, [ebp - 0x28]
push ecx
mov dword [esp], 0x3f800000
mov ecx, ebx
push dword [esi + 0x7c]
movss dword [ebp - 0x28], xmm0
movss xmm0, dword [esi + 0x80]
push eax
lea eax, [ebp - 0x20]
movss dword [ebp - 0x24], xmm1
push eax
movss dword [ebp - 0x20], xmm0
movss dword [ebp - 0x1c], xmm1
call fcn.00489ad0
mov ecx, ebx
call fcn.00487170
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret