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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x14], eax
mov esi, ecx
mov eax, dword [0x10414490]
push edi
mov edx, dword [esi + 0x10]
mov eax, dword [eax + 0xac]
mov ecx, dword [edx + eax]
test ecx, ecx
js 0x1004dfc2
mov eax, dword [edx + 0x2950]
mov edx, dword [eax]
cmp ecx, dword [edx + 0xac]
jge 0x1004dfc2
mov eax, dword [edx + 0xb0]
lea ecx, [ecx + ecx*2]
lea eax, [eax + ecx*4]
add eax, edx
mov dword [ebp - 0x18], eax
je 0x1004dfc2
mov eax, dword [0x100ac714]
mov ecx, dword [0x100ac610]
sub ecx, dword [0x100ac60c]
mov edi, dword [0x1042156c]
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 0x1004dfca
lea eax, [edi + edi*2]
mov edi, dword [0x100ac60c]
shl eax, 4
add edi, 8
add edi, eax
je 0x1004db58
mov eax, dword [edi + 0x24]
and eax, 0xfffffffc
je 0x1004db58
add eax, 4
push 0x1040a0dc
push eax
call dword [sym.imp.VCRUNTIME140.dll___std_type_info_compare]
add esp, 8
test eax, eax
je 0x1004db5a
xor edi, edi
cmp byte [edi], 0
je 0x1004dbca
mov ecx, dword [0x100ac610]
mov eax, 0x2aaaaaab
sub ecx, dword [0x100ac60c]
mov edi, dword [0x10421570]
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, edi
jbe 0x1004dfca
lea eax, [edi + edi*2]
mov edi, dword [0x100ac60c]
shl eax, 4
add edi, 8
add edi, eax
je 0x1004dbbb
mov eax, dword [edi + 0x24]
and eax, 0xfffffffc
je 0x1004dbbb
add eax, 4
push 0x1040a03c
push eax
call dword [sym.imp.VCRUNTIME140.dll___std_type_info_compare]
add esp, 8
test eax, eax
je 0x1004dbbd
xor edi, edi
cmp byte [edi + 4], 0
je 0x1004dbca
mov eax, dword [0x100ac718]
jmp 0x1004dbfe
cmp byte [0x100ac6fa], 0
je 0x1004dc01
mov eax, dword [0x10414490]
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 [0x1009ed6c]
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 0x1004dfc2
nop word [eax + eax]
mov eax, dword [edi]
test eax, eax
js 0x1004dfb3
mov edx, dword [ebp - 0x18]
cmp eax, dword [edx + 4]
jge 0x1004dfb3
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 0x1004dfb3
cmp byte [0x100ac6fc], 0
je 0x1004dcb2
mov eax, dword [0x10414490]
mov eax, dword [eax + 0x74]
add eax, dword [0x10416ef8]
movss xmm1, dword [eax + 4]
movss xmm0, dword [eax]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
call fcn.1002b690
comiss xmm0, dword [0x1009ecb8]
jbe 0x1004dcb2
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 4]
cmp eax, 6
je 0x1004dfb3
cmp eax, 7
je 0x1004dfb3
cmp eax, 4
je 0x1004dfb3
cmp eax, 5
je 0x1004dfb3
cmp dword [edi], 0
jne 0x1004dde0
cmp byte [esi + 0x3c], 0
je 0x1004dde0
cmp byte [0x100ac6fd], 0
je 0x1004dcd8
cmp dword [esi + 0x30], 0
jne 0x1004dfc2
cmp byte [0x100ac6ff], 0
je 0x1004dcfe
mov eax, dword [0x10414490]
mov ecx, dword [esi + 0x10]
mov edx, dword [eax + 0x44]
mov eax, dword [esi + 0x38]
cmp eax, dword [edx + ecx]
jle 0x1004dcfe
cmp dword [esi + 0x30], 0
jne 0x1004dfc2
mov ecx, dword [0x100ac610]
mov eax, 0x2aaaaaab
mov edi, dword [0x100ac60c]
sub ecx, edi
imul ecx
mov ecx, dword [0x1042160c]
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, ecx
jbe 0x1004dfca
lea eax, [ecx + ecx*2]
add edi, 8
shl eax, 4
add edi, eax
je 0x1004dd56
mov eax, dword [edi + 0x24]
and eax, 0xfffffffc
je 0x1004dd56
add eax, 4
push 0x1040a0dc
push eax
call dword [sym.imp.VCRUNTIME140.dll___std_type_info_compare]
add esp, 8
test eax, eax
je 0x1004dd58
xor edi, edi
cmp byte [edi], 0
je 0x1004ddc1
mov ecx, dword [0x100ac610]
mov eax, 0x2aaaaaab
mov edi, dword [0x100ac60c]
sub ecx, edi
imul ecx
mov ecx, dword [0x10421620]
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, ecx
jbe 0x1004dfca
lea eax, [ecx + ecx*2]
add edi, 8
shl eax, 4
add edi, eax
je 0x1004ddb5
mov eax, dword [edi + 0x24]
and eax, 0xfffffffc
je 0x1004ddb5
add eax, 4
push 0x1040a03c
push eax
call dword [sym.imp.VCRUNTIME140.dll___std_type_info_compare]
add esp, 8
test eax, eax
je 0x1004ddb7
xor edi, edi
cmp byte [edi + 4], 0
je 0x1004ddc1
mov al, 1
jmp 0x1004ddc3
xor al, al
cmp byte [0x100ac6fe], 0
je 0x1004dddd
test al, al
je 0x1004dddd
cmp dword [0x1041fd60], 0
jne 0x1004dfc2
mov edi, dword [ebp - 8]
mov eax, dword [0x10416f00]
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.10041170
movd xmm0, dword [ebp - 0xc]
cvtdq2ps xmm0, xmm0
comiss xmm0, dword [ebp - 4]
ja 0x1004dfb3
mov eax, dword [ebp - 8]
mov edi, dword [0x100ac71c]
cmp dword [eax], 0
cmovne edi, dword [0x100ac720]
cmp byte [0x100ac6fb], 0
jne 0x1004dec3
movss xmm1, dword [0x10415828]
sub esp, 8
addss xmm1, dword [0x1041582c]
movss xmm0, dword [0x1009ebdc]
minss xmm0, xmm1
mulss xmm0, dword [0x1009edac]
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 [0x1009ed6c]
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.1004d890
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 [0x1009ec28]
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 [0x1009ed6c]
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.1004ea80
add edi, 4
mov dword [ebp - 8], edi
cmp edi, dword [ebp - 0x1c]
jne 0x1004dc20
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
call fcn.100110a0
int3