Function at 0x100537d0
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, 0x30
mov eax, dword [ebx + 0xc]
push esi
mov dword [ebp - 0x18], eax
mov esi, ecx
mov eax, dword [0x100bcbf8]
push edi
mov edx, dword [esi + 0x10]
mov eax, dword [eax + 0xac]
mov ecx, dword [edx + eax]
test ecx, ecx
js 0x10053d04
mov eax, dword [edx + 0x2950]
mov edx, dword [eax]
cmp ecx, dword [edx + 0xac]
jge 0x10053d04
mov eax, dword [edx + 0xb0]
lea ecx, [ecx + ecx*2]
lea eax, [eax + ecx*4]
add eax, edx
mov dword [ebp - 0x1c], eax
je 0x10053d04
mov eax, dword [0x100b2674]
mov ecx, dword [0x100b2570]
sub ecx, dword [0x100b256c]
mov edi, dword [0x104274c8]
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 0x10053d0f
lea eax, [edi + edi*2]
mov edi, dword [0x100b256c]
shl eax, 4
add edi, 8
add edi, eax
je 0x1005389b
mov eax, dword [edi + 0x24]
and eax, 0xfffffffc
je 0x1005389b
add eax, 4
push 0x100b2834
push eax
call dword [sym.imp.VCRUNTIME140.dll___std_type_info_compare]
add esp, 8
test eax, eax
je 0x1005389d
xor edi, edi
cmp byte [edi], 0
je 0x1005390d
mov ecx, dword [0x100b2570]
mov eax, 0x2aaaaaab
sub ecx, dword [0x100b256c]
mov edi, dword [0x104274cc]
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, edi
jbe 0x10053d0f
lea eax, [edi + edi*2]
mov edi, dword [0x100b256c]
shl eax, 4
add edi, 8
add edi, eax
je 0x100538fe
mov eax, dword [edi + 0x24]
and eax, 0xfffffffc
je 0x100538fe
add eax, 4
push 0x100b2794
push eax
call dword [sym.imp.VCRUNTIME140.dll___std_type_info_compare]
add esp, 8
test eax, eax
je 0x10053900
xor edi, edi
cmp byte [edi + 4], 0
je 0x1005390d
mov eax, dword [0x100b2678]
jmp 0x10053941
cmp byte [0x100b265a], 0
je 0x10053944
mov eax, dword [0x100bcbf8]
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 [0x100a3d14]
mulss xmm1, xmm0
cvttss2si eax, xmm1
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
mov edi, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], edi
mov dword [ebp - 8], eax
cmp edi, eax
je 0x10053d04
nop word [eax + eax]
mov edi, dword [edi]
test edi, edi
js 0x10053cf3
mov edx, dword [ebp - 0x1c]
cmp edi, dword [edx + 4]
jge 0x10053cf3
mov eax, dword [edx + 8]
mov ecx, edi
shl ecx, 4
add ecx, edi
lea eax, [eax + ecx*4]
add eax, edx
mov dword [ebp - 0x10], eax
je 0x10053cf0
cmp byte [0x100b265c], 0
je 0x100539f2
mov eax, dword [0x100bcbf8]
mov eax, dword [eax + 0x74]
add eax, dword [0x100bf648]
movss xmm1, dword [eax + 4]
movss xmm0, dword [eax]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
call fcn.1002be30
comiss xmm0, dword [0x100a3c60]
jbe 0x100539f2
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 4]
cmp eax, 6
je 0x10053cf0
cmp eax, 7
je 0x10053cf0
cmp eax, 4
je 0x10053cf0
cmp eax, 5
je 0x10053cf0
test edi, edi
jne 0x10053b1b
cmp byte [esi + 0x3c], 0
je 0x10053b1b
cmp byte [0x100b265d], 0
je 0x10053a16
cmp dword [esi + 0x30], edi
jne 0x10053d04
cmp byte [0x100b265f], 0
je 0x10053a3c
mov eax, dword [0x100bcbf8]
mov ecx, dword [esi + 0x10]
mov edx, dword [eax + 0x44]
mov eax, dword [esi + 0x38]
cmp eax, dword [edx + ecx]
jle 0x10053a3c
cmp dword [esi + 0x30], 0
jne 0x10053d04
mov ecx, dword [0x100b2570]
mov eax, 0x2aaaaaab
mov edi, dword [0x100b256c]
sub ecx, edi
imul ecx
mov ecx, dword [0x10427568]
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, ecx
jbe 0x10053d0f
lea eax, [ecx + ecx*2]
add edi, 8
shl eax, 4
add edi, eax
je 0x10053a94
mov eax, dword [edi + 0x24]
and eax, 0xfffffffc
je 0x10053a94
add eax, 4
push 0x100b2834
push eax
call dword [sym.imp.VCRUNTIME140.dll___std_type_info_compare]
add esp, 8
test eax, eax
je 0x10053a96
xor edi, edi
cmp byte [edi], 0
je 0x10053aff
mov ecx, dword [0x100b2570]
mov eax, 0x2aaaaaab
mov edi, dword [0x100b256c]
sub ecx, edi
imul ecx
mov ecx, dword [0x1042757c]
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, ecx
jbe 0x10053d0f
lea eax, [ecx + ecx*2]
add edi, 8
shl eax, 4
add edi, eax
je 0x10053af3
mov eax, dword [edi + 0x24]
and eax, 0xfffffffc
je 0x10053af3
add eax, 4
push 0x100b2794
push eax
call dword [sym.imp.VCRUNTIME140.dll___std_type_info_compare]
add esp, 8
test eax, eax
je 0x10053af5
xor edi, edi
cmp byte [edi + 4], 0
je 0x10053aff
mov al, 1
jmp 0x10053b01
xor al, al
cmp byte [0x100b265e], 0
je 0x10053b1b
test al, al
je 0x10053b1b
cmp dword [0x100c84b0], 0
jne 0x10053d04
mov eax, dword [0x100bf650]
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.10041290
movd xmm0, dword [ebp - 0xc]
cvtdq2ps xmm0, xmm0
comiss xmm0, dword [ebp - 4]
ja 0x10053cf0
mov eax, dword [ebp - 0x14]
mov edi, dword [0x100b267c]
mov eax, dword [eax]
test eax, eax
mov dword [ebp - 0x20], eax
cmovne edi, dword [0x100b2680]
cmp byte [0x100b265b], 0
jne 0x10053c02
movss xmm0, dword [0x100bdf78]
sub esp, 8
addss xmm0, dword [0x100bdf7c]
movss xmm1, dword [0x100a3b84]
minss xmm1, xmm0
mulss xmm1, dword [0x100a3d60]
movss dword [ebp - 4], xmm1
fld dword [ebp - 4]
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_floor
movss xmm0, dword [0x100a3d14]
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.100535b0
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 [0x100a3bd0]
shl eax, 8
movss xmm3, dword [ecx + 0x14]
movss xmm4, dword [ecx + 0x18]
addss xmm4, dword [ecx + 0xc]
addss xmm3, dword [ecx + 8]
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 - 0x18]
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
addss xmm5, dword [esi + eax*8 + 0x5c]
divss xmm0, dword [0x100a3d14]
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 [ebp - 0x20]
movq qword [ecx], xmm5
movss dword [ebp - 0x24], xmm4
mov eax, dword [ebp - 0x24]
mov dword [ecx + 8], eax
mov ecx, esi
call fcn.100547d0
mov eax, dword [ebp - 8]
mov edi, dword [ebp - 0x14]
add edi, 4
mov dword [ebp - 0x14], edi
cmp edi, eax
jne 0x10053960
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8
call fcn.10012440
int3