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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x214
mov eax, dword [0x10061040]
xor eax, esp
mov dword [esp + 0x210], eax
movss xmm0, dword [0x1005daec]
mov eax, dword [0x1010eccc]
push ebx
push esi
mov esi, dword [0x1010ecd0]
push edi
push 4
or edi, 0xffffffff
mov dword [esp + 0x18], edx
push esi
mov dword [esp + 0x20], eax
mov dword [esp + 0x14], edi
movss dword [esp + 0x18], xmm0
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1004a17b
test esi, esi
je 0x1004a17b
mov eax, dword [0x1010ecd0]
xor ebx, ebx
cmp dword [eax + 0x18c], ebx
jle 0x1004a17b
mov eax, dword [eax + 0x184]
push 4
mov esi, dword [eax + ebx*4]
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1004a169
test esi, esi
je 0x1004a169
mov edi, dword [esi + 0x10]
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1004a165
test edi, edi
je 0x1004a165
push dword [esi + 0x5d4]
mov eax, dword [0x1018411c]
mov ecx, dword [0x1018412c]
call eax
mov ecx, dword [0x1018412c]
mov edi, eax
mov eax, dword [0x10184114]
call eax
push 4
push edi
mov dword [esp + 0x24], eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1004a165
test edi, edi
je 0x1004a165
cmp byte [edi + 8], al
jne 0x1004a165
mov ecx, dword [0x10184100]
lea edx, [esp + 0xb0]
push 1
push edx
push 8
mov eax, dword [ecx]
push dword [esi + 0x10]
call dword [eax + 0x40]
mov ecx, dword [esp + 0x1c]
mov eax, dword [edi + 0xc]
cmp eax, dword [ecx + 0xc]
je 0x10049fee
cmp byte [0x1010ed7b], 0
je 0x1004a165
cmp dword [esp + 0x14], 1
jne 0x10049e32
cmp byte [esi + 0x55a], 0
jne 0x1004a165
mov eax, dword [0x1010ecc4]
lea ecx, [esp + 0x1c4]
xorps xmm0, xmm0
mov dword [esp + 0x40], 0
movlpd qword [esp + 0x38], xmm0
movlpd qword [esp + 0x50], xmm0
mov eax, dword [eax + 0x13c]
movlpd qword [esp + 0x58], xmm0
movlpd qword [esp + 0x60], xmm0
movlpd qword [esp + 0x68], xmm0
mov dword [esp + 0x70], 0
movq xmm0, qword [eax + 0x10]
movq qword [esp + 0x38], xmm0
mov eax, dword [eax + 0x18]
movq xmm0, qword [esp + 0xb0]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0xb8]
mov dword [esp + 0x4c], eax
mov eax, dword [0x10184130]
push ecx
lea ecx, [esp + 0x3c]
movq qword [esp + 0x48], xmm0
push ecx
mov eax, dword [eax + 0x38]
call eax
add esp, 8
test al, al
jne 0x1004a165
movq xmm0, qword [esp + 0xb0]
sub esp, 0xc
mov eax, dword [esp + 0xc4]
mov ecx, esp
sub esp, 0xc
movq qword [ecx], xmm0
mov dword [ecx + 8], eax
mov ecx, esp
mov eax, dword [0x1010ecc4]
mov eax, dword [eax + 0x13c]
movq xmm0, qword [eax + 0x10]
mov eax, dword [eax + 0x18]
movq qword [ecx], xmm0
movd xmm0, dword [esp + 0x30]
cvtdq2ps xmm0, xmm0
mov dword [ecx + 8], eax
call fcn.100497e0
add esp, 0x18
test eax, eax
je 0x1004a165
mov ecx, dword [0x1010ecbc]
lea edx, [esp + 0xb0]
lea eax, [ecx + 0x3f50]
push eax
lea eax, [ecx + 0x3f90]
push eax
lea eax, [ecx + 0x3fd0]
push eax
lea eax, [ecx + 0x3f38]
push eax
lea ecx, [esp + 0x30]
call fcn.10047ac0
movss xmm0, dword [0x1005d9a4]
add esp, 0x10
comiss xmm0, dword [esp + 0x28]
jbe 0x1004a165
movss xmm2, dword [esp + 0x20]
movss xmm1, dword [esp + 0x24]
mov dword [esp + 0x28], 0
mov eax, dword [0x10184144]
xorps xmm0, xmm0
shr eax, 1
cvtsi2sd xmm0, eax
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x1005e010]
mov eax, dword [0x10184148]
shr eax, 1
cvtpd2ps xmm0, xmm0
subss xmm2, xmm0
xorps xmm0, xmm0
cvtsi2sd xmm0, eax
shr eax, 0x1f
mulss xmm2, xmm2
addsd xmm0, qword [eax*8 + 0x1005e010]
cvtpd2ps xmm0, xmm0
subss xmm1, xmm0
xorps xmm0, xmm0
mulss xmm1, xmm1
addss xmm1, xmm2
addss xmm1, xmm0
movss xmm0, dword [esp + 0x10]
cvtps2pd xmm0, xmm0
cvtps2pd xmm1, xmm1
comisd xmm0, xmm1
jbe 0x1004a165
cvtpd2ps xmm0, xmm1
mov edi, ebx
mov dword [esp + 0xc], edi
movss dword [esp + 0x10], xmm0
jmp 0x1004a169
mov eax, dword [edi]
cmp eax, dword [ecx]
je 0x1004a165
cmp byte [0x1010ed80], 0
je 0x1004a165
cmp dword [esp + 0x14], 1
jne 0x1004a019
cmp byte [esi + 0x55a], 0
jne 0x1004a165
mov eax, dword [0x1010ecc4]
lea ecx, [esp + 0x1f0]
xorps xmm0, xmm0
mov dword [esp + 0x7c], 0
movlpd qword [esp + 0x74], xmm0
movlpd qword [esp + 0x8c], xmm0
mov eax, dword [eax + 0x13c]
movlpd qword [esp + 0x94], xmm0
movlpd qword [esp + 0x9c], xmm0
movlpd qword [esp + 0xa4], xmm0
mov dword [esp + 0xac], 0
movq xmm0, qword [eax + 0x10]
movq qword [esp + 0x74], xmm0
mov eax, dword [eax + 0x18]
movq xmm0, qword [esp + 0xb0]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0xb8]
mov dword [esp + 0x88], eax
mov eax, dword [0x10184130]
push ecx
lea ecx, [esp + 0x78]
movq qword [esp + 0x84], xmm0
push ecx
mov eax, dword [eax + 0x38]
call eax
add esp, 8
test al, al
jne 0x1004a165
movq xmm0, qword [esp + 0xb0]
sub esp, 0xc
mov eax, dword [esp + 0xc4]
mov ecx, esp
sub esp, 0xc
movq qword [ecx], xmm0
mov dword [ecx + 8], eax
mov ecx, esp
mov eax, dword [0x1010ecc4]
mov eax, dword [eax + 0x13c]
movq xmm0, qword [eax + 0x10]
mov eax, dword [eax + 0x18]
movq qword [ecx], xmm0
movd xmm0, dword [esp + 0x30]
cvtdq2ps xmm0, xmm0
mov dword [ecx + 8], eax
call fcn.100497e0
add esp, 0x18
test eax, eax
je 0x1004a165
mov ecx, dword [0x1010ecbc]
lea edx, [esp + 0xb0]
lea eax, [ecx + 0x3f50]
push eax
lea eax, [ecx + 0x3f90]
push eax
lea eax, [ecx + 0x3fd0]
push eax
lea eax, [ecx + 0x3f38]
push eax
lea ecx, [esp + 0x3c]
call fcn.10047ac0
movss xmm0, dword [0x1005d9a4]
add esp, 0x10
comiss xmm0, dword [esp + 0x34]
jbe 0x1004a165
movss xmm2, dword [esp + 0x2c]
movss xmm1, dword [esp + 0x30]
mov dword [esp + 0x34], 0
jmp 0x10049f6c
mov edi, dword [esp + 0xc]
mov eax, dword [0x1010ecd0]
inc ebx
cmp ebx, dword [eax + 0x18c]
jl 0x10049d61
mov ecx, dword [esp + 0x21c]
mov eax, edi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10054550
mov esp, ebp
pop ebp
ret