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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [ebx + 0xc]
push esi
mov dword [ebp - 0x14], eax
mov esi, ecx
mov eax, dword [0x1043f620]
push edi
mov edx, dword [esi + 0x10]
mov eax, dword [eax + 0xac]
mov ecx, dword [edx + eax]
test ecx, ecx
js 0x1004ce02
mov eax, dword [edx + 0x2950]
mov edx, dword [eax]
cmp ecx, dword [edx + 0xac]
jge 0x1004ce02
mov eax, dword [edx + 0xb0]
lea ecx, [ecx + ecx*2]
lea eax, [eax + ecx*4]
add eax, edx
mov dword [ebp - 0x18], eax
je 0x1004ce02
mov eax, dword [0x100d7714]
mov ecx, dword [0x100d7610]
sub ecx, dword [0x100d760c]
mov edi, dword [0x1044c6f0]
mov dword [ebp - 0xc], eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, edi
jbe 0x1004ce0d
lea eax, [edi + edi*2]
mov edi, dword [0x100d760c]
shl eax, 4
add edi, 8
add edi, eax
je 0x1004c99b
mov eax, dword [edi + 0x24]
and eax, 0xfffffffc
je 0x1004c99b
add eax, 4
push 0x104350dc
push eax
call dword [sym.imp.VCRUNTIME140.dll___std_type_info_compare]
add esp, 8
test eax, eax
je 0x1004c99d
xor edi, edi
cmp byte [edi], 0
je 0x1004ca0d
mov ecx, dword [0x100d7610]
mov eax, 0x2aaaaaab
sub ecx, dword [0x100d760c]
mov edi, dword [0x1044c6f4]
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, edi
jbe 0x1004ce0d
lea eax, [edi + edi*2]
mov edi, dword [0x100d760c]
shl eax, 4
add edi, 8
add edi, eax
je 0x1004c9fe
mov eax, dword [edi + 0x24]
and eax, 0xfffffffc
je 0x1004c9fe
add eax, 4
push 0x1043503c
push eax
call dword [sym.imp.VCRUNTIME140.dll___std_type_info_compare]
add esp, 8
test eax, eax
je 0x1004ca00
xor edi, edi
cmp byte [edi + 4], 0
je 0x1004ca0d
mov eax, dword [0x100d7718]
jmp 0x1004ca41
cmp byte [0x100d76fa], 0
je 0x1004ca44
mov eax, dword [0x1043f620]
movd xmm0, dword [ebp - 0xc]
cvtdq2ps xmm0, xmm0
mov ecx, dword [eax + 0x44]
mov eax, dword [esi + 0x10]
movd xmm1, dword [ecx + eax]
cvtdq2ps xmm1, xmm1
divss xmm1, dword [0x100c9de4]
mulss xmm1, xmm0
cvttss2si eax, xmm1
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 8], edi
mov dword [ebp - 0x1c], eax
cmp edi, eax
je 0x1004ce02
nop word [eax + eax]
mov eax, dword [edi]
test eax, eax
js 0x1004cdf3
mov edx, dword [ebp - 0x18]
cmp eax, dword [edx + 4]
jge 0x1004cdf3
mov ecx, eax
shl ecx, 4
add ecx, eax
mov eax, dword [edx + 8]
lea eax, [eax + ecx*4]
add eax, edx
mov dword [ebp - 0x10], eax
je 0x1004cdf3
cmp byte [0x100d76fc], 0
je 0x1004caf2
mov eax, dword [0x1043f620]
mov eax, dword [eax + 0x74]
add eax, dword [0x10442088]
movss xmm1, dword [eax + 4]
movss xmm0, dword [eax]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
call fcn.1002b500
comiss xmm0, dword [0x100c9d30]
jbe 0x1004caf2
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 4]
cmp eax, 6
je 0x1004cdf3
cmp eax, 7
je 0x1004cdf3
cmp eax, 4
je 0x1004cdf3
cmp eax, 5
je 0x1004cdf3
cmp dword [edi], 0
jne 0x1004cc20
cmp byte [esi + 0x3c], 0
je 0x1004cc20
cmp byte [0x100d76fd], 0
je 0x1004cb18
cmp dword [esi + 0x30], 0
jne 0x1004ce02
cmp byte [0x100d76ff], 0
je 0x1004cb3e
mov eax, dword [0x1043f620]
mov ecx, dword [esi + 0x10]
mov edx, dword [eax + 0x44]
mov eax, dword [esi + 0x38]
cmp eax, dword [edx + ecx]
jle 0x1004cb3e
cmp dword [esi + 0x30], 0
jne 0x1004ce02
mov ecx, dword [0x100d7610]
mov eax, 0x2aaaaaab
mov edi, dword [0x100d760c]
sub ecx, edi
imul ecx
mov ecx, dword [0x1044c790]
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, ecx
jbe 0x1004ce0d
lea eax, [ecx + ecx*2]
add edi, 8
shl eax, 4
add edi, eax
je 0x1004cb96
mov eax, dword [edi + 0x24]
and eax, 0xfffffffc
je 0x1004cb96
add eax, 4
push 0x104350dc
push eax
call dword [sym.imp.VCRUNTIME140.dll___std_type_info_compare]
add esp, 8
test eax, eax
je 0x1004cb98
xor edi, edi
cmp byte [edi], 0
je 0x1004cc01
mov ecx, dword [0x100d7610]
mov eax, 0x2aaaaaab
mov edi, dword [0x100d760c]
sub ecx, edi
imul ecx
mov ecx, dword [0x1044c7a4]
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, ecx
jbe 0x1004ce0d
lea eax, [ecx + ecx*2]
add edi, 8
shl eax, 4
add edi, eax
je 0x1004cbf5
mov eax, dword [edi + 0x24]
and eax, 0xfffffffc
je 0x1004cbf5
add eax, 4
push 0x1043503c
push eax
call dword [sym.imp.VCRUNTIME140.dll___std_type_info_compare]
add esp, 8
test eax, eax
je 0x1004cbf7
xor edi, edi
cmp byte [edi + 4], 0
je 0x1004cc01
mov al, 1
jmp 0x1004cc03
xor al, al
cmp byte [0x100d76fe], 0
je 0x1004cc1d
test al, al
je 0x1004cc1d
cmp dword [0x1044aef0], 0
jne 0x1004ce02
mov edi, dword [ebp - 8]
mov eax, dword [0x10442090]
push ecx
mov ecx, dword [ebp - 0x10]
movd xmm0, dword [eax + 0xf0]
movss xmm3, dword [eax + 0xf8]
cvtdq2ps xmm0, xmm0
movss dword [ebp - 4], xmm0
movss xmm0, dword [eax + 0xf4]
movss dword [esp], xmm0
push dword [ecx + 4]
lea ecx, [ebp - 4]
push ecx
push dword [esi + 0x10]
call fcn.10041090
movd xmm0, dword [ebp - 0xc]
cvtdq2ps xmm0, xmm0
comiss xmm0, dword [ebp - 4]
ja 0x1004cdf3
mov eax, dword [ebp - 8]
mov edi, dword [0x100d771c]
cmp dword [eax], 0
cmovne edi, dword [0x100d7720]
cmp byte [0x100d76fb], 0
jne 0x1004cd03
movss xmm1, dword [0x104409b0]
sub esp, 8
addss xmm1, dword [0x104409b4]
movss xmm0, dword [0x100c9c54]
minss xmm0, xmm1
mulss xmm0, dword [0x100c9e24]
movss dword [ebp - 4], xmm0
fld dword [ebp - 4]
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_floor
movss xmm0, dword [0x100c9de4]
add esp, 8
mov edx, dword [esi + 0x48]
fstp dword [ebp - 4]
fld dword [ebp - 4]
fstp dword [ebp - 4]
subss xmm0, dword [ebp - 4]
cvttss2si edi, xmm0
call fcn.1004c6b0
mov ecx, 0x5a
sub ecx, eax
mov eax, ecx
mov ecx, 0x5a
cdq
xor eax, edx
sub eax, edx
sub ecx, eax
cmp edi, ecx
cmovl ecx, edi
sub edi, ecx
mov ecx, dword [ebp - 0x10]
mov eax, dword [esi + 0x18]
movss xmm0, dword [0x100c9ca0]
shl eax, 8
movss xmm3, dword [ecx + 8]
movss xmm4, dword [ecx + 0x18]
addss xmm4, dword [ecx + 0xc]
addss xmm3, dword [ecx + 0x14]
add eax, dword [ecx]
movss xmm2, dword [ecx + 0x1c]
addss xmm2, dword [ecx + 0x10]
mulss xmm4, xmm0
lea eax, [eax + eax*2]
mulss xmm3, xmm0
add eax, eax
mulss xmm2, xmm0
movaps xmm5, xmm4
mulss xmm5, dword [esi + eax*8 + 0x54]
movaps xmm0, xmm3
mulss xmm0, dword [esi + eax*8 + 0x50]
movaps xmm1, xmm4
mulss xmm1, dword [esi + eax*8 + 0x64]
addss xmm5, xmm0
mulss xmm4, dword [esi + eax*8 + 0x74]
movaps xmm0, xmm2
mulss xmm0, dword [esi + eax*8 + 0x58]
push dword [ebp - 0x14]
addss xmm5, xmm0
movaps xmm0, xmm3
mulss xmm0, dword [esi + eax*8 + 0x60]
push ecx
mulss xmm3, dword [esi + eax*8 + 0x70]
addss xmm1, xmm0
movaps xmm0, xmm2
mulss xmm0, dword [esi + eax*8 + 0x68]
mulss xmm2, dword [esi + eax*8 + 0x78]
addss xmm4, xmm3
addss xmm1, xmm0
movd xmm0, edi
cvtdq2ps xmm0, xmm0
mov edi, dword [ebp - 8]
addss xmm5, dword [esi + eax*8 + 0x5c]
divss xmm0, dword [0x100c9de4]
addss xmm1, dword [esi + eax*8 + 0x6c]
movss dword [esp], xmm0
addss xmm4, xmm2
push ecx
sub esp, 0xc
mov ecx, esp
unpcklps xmm5, xmm1
addss xmm4, dword [esi + eax*8 + 0x7c]
push dword [edi]
movq qword [ecx], xmm5
movss dword [ebp - 0x20], xmm4
mov eax, dword [ebp - 0x20]
mov dword [ecx + 8], eax
mov ecx, esi
call fcn.1004d900
add edi, 4
mov dword [ebp - 8], edi
cmp edi, dword [ebp - 0x1c]
jne 0x1004ca60
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8
call fcn.10011090
int3