Function at 0x10053da0
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 [0x100bdbb8]
push edi
mov edx, dword [esi + 0x10]
mov eax, dword [eax + 0xac]
mov ecx, dword [edx + eax]
test ecx, ecx
js 0x100542d4
mov eax, dword [edx + 0x2950]
mov edx, dword [eax]
cmp ecx, dword [edx + 0xac]
jge 0x100542d4
mov eax, dword [edx + 0xb0]
lea ecx, [ecx + ecx*2]
lea eax, [eax + ecx*4]
add eax, edx
mov dword [ebp - 0x1c], eax
je 0x100542d4
mov eax, dword [0x100b3674]
mov ecx, dword [0x100b3570]
sub ecx, dword [0x100b356c]
mov edi, dword [0x10428494]
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 0x100542df
lea eax, [edi + edi*2]
mov edi, dword [0x100b356c]
shl eax, 4
add edi, 8
add edi, eax
je 0x10053e6b
mov eax, dword [edi + 0x24]
and eax, 0xfffffffc
je 0x10053e6b
add eax, 4
push 0x100b3834
push eax
call dword [sym.imp.VCRUNTIME140.dll___std_type_info_compare]
add esp, 8
test eax, eax
je 0x10053e6d
xor edi, edi
cmp byte [edi], 0
je 0x10053edd
mov ecx, dword [0x100b3570]
mov eax, 0x2aaaaaab
sub ecx, dword [0x100b356c]
mov edi, dword [0x10428498]
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, edi
jbe 0x100542df
lea eax, [edi + edi*2]
mov edi, dword [0x100b356c]
shl eax, 4
add edi, 8
add edi, eax
je 0x10053ece
mov eax, dword [edi + 0x24]
and eax, 0xfffffffc
je 0x10053ece
add eax, 4
push 0x100b3794
push eax
call dword [sym.imp.VCRUNTIME140.dll___std_type_info_compare]
add esp, 8
test eax, eax
je 0x10053ed0
xor edi, edi
cmp byte [edi + 4], 0
je 0x10053edd
mov eax, dword [0x100b3678]
jmp 0x10053f11
cmp byte [0x100b365a], 0
je 0x10053f14
mov eax, dword [0x100bdbb8]
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 [0x100a4cbc]
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 0x100542d4
nop word [eax + eax]
mov edi, dword [edi]
test edi, edi
js 0x100542c3
mov edx, dword [ebp - 0x1c]
cmp edi, dword [edx + 4]
jge 0x100542c3
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 0x100542c0
cmp byte [0x100b365c], 0
je 0x10053fc2
mov eax, dword [0x100bdbb8]
mov eax, dword [eax + 0x74]
add eax, dword [0x100c0608]
movss xmm1, dword [eax + 4]
movss xmm0, dword [eax]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
call fcn.1002c160
comiss xmm0, dword [0x100a4c08]
jbe 0x10053fc2
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 4]
cmp eax, 6
je 0x100542c0
cmp eax, 7
je 0x100542c0
cmp eax, 4
je 0x100542c0
cmp eax, 5
je 0x100542c0
test edi, edi
jne 0x100540eb
cmp byte [esi + 0x3c], 0
je 0x100540eb
cmp byte [0x100b365d], 0
je 0x10053fe6
cmp dword [esi + 0x30], edi
jne 0x100542d4
cmp byte [0x100b365f], 0
je 0x1005400c
mov eax, dword [0x100bdbb8]
mov ecx, dword [esi + 0x10]
mov edx, dword [eax + 0x44]
mov eax, dword [esi + 0x38]
cmp eax, dword [edx + ecx]
jle 0x1005400c
cmp dword [esi + 0x30], 0
jne 0x100542d4
mov ecx, dword [0x100b3570]
mov eax, 0x2aaaaaab
mov edi, dword [0x100b356c]
sub ecx, edi
imul ecx
mov ecx, dword [0x10428534]
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, ecx
jbe 0x100542df
lea eax, [ecx + ecx*2]
add edi, 8
shl eax, 4
add edi, eax
je 0x10054064
mov eax, dword [edi + 0x24]
and eax, 0xfffffffc
je 0x10054064
add eax, 4
push 0x100b3834
push eax
call dword [sym.imp.VCRUNTIME140.dll___std_type_info_compare]
add esp, 8
test eax, eax
je 0x10054066
xor edi, edi
cmp byte [edi], 0
je 0x100540cf
mov ecx, dword [0x100b3570]
mov eax, 0x2aaaaaab
mov edi, dword [0x100b356c]
sub ecx, edi
imul ecx
mov ecx, dword [0x10428548]
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, ecx
jbe 0x100542df
lea eax, [ecx + ecx*2]
add edi, 8
shl eax, 4
add edi, eax
je 0x100540c3
mov eax, dword [edi + 0x24]
and eax, 0xfffffffc
je 0x100540c3
add eax, 4
push 0x100b3794
push eax
call dword [sym.imp.VCRUNTIME140.dll___std_type_info_compare]
add esp, 8
test eax, eax
je 0x100540c5
xor edi, edi
cmp byte [edi + 4], 0
je 0x100540cf
mov al, 1
jmp 0x100540d1
xor al, al
cmp byte [0x100b365e], 0
je 0x100540eb
test al, al
je 0x100540eb
cmp dword [0x100c9470], 0
jne 0x100542d4
mov eax, dword [0x100c0610]
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.100418a0
movd xmm0, dword [ebp - 0xc]
cvtdq2ps xmm0, xmm0
comiss xmm0, dword [ebp - 4]
ja 0x100542c0
mov eax, dword [ebp - 0x14]
mov edi, dword [0x100b367c]
mov eax, dword [eax]
test eax, eax
mov dword [ebp - 0x20], eax
cmovne edi, dword [0x100b3680]
cmp byte [0x100b365b], 0
jne 0x100541d2
movss xmm0, dword [0x100bef30]
sub esp, 8
addss xmm0, dword [0x100bef34]
movss xmm1, dword [0x100a4b2c]
minss xmm1, xmm0
mulss xmm1, dword [0x100a4d08]
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 [0x100a4cbc]
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.10053b70
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 [0x100a4b78]
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 [0x100a4cbc]
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.10054da0
mov eax, dword [ebp - 8]
mov edi, dword [ebp - 0x14]
add edi, 4
mov dword [ebp - 0x14], edi
cmp edi, eax
jne 0x10053f30
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8
call fcn.100124f0
int3