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

Disassembly:
sub esp, 0xa0
mov eax, dword [0x572b90]
xor eax, esp
mov dword [esp + 0x9c], eax
push esi
mov esi, ecx
push edi
mov dword [esp + 0x38], esi
call fcn.004140b0
mov ecx, eax
call fcn.00414180
lea eax, [esi + 0x284]
mov dword [esp + 0x3c], 7
mov dword [esp + 0x40], eax
xor edi, edi
lea eax, [esi + 0x18]
mov dword [esp + 0x50], edi
mov dword [esp + 0x44], eax
movups xmm0, xmmword [eax]
push edi
movups xmmword [esp + 0x2c], xmm0
movups xmmword [esp + 0x58], xmm0
movups xmm0, xmmword [eax + 0x10]
movups xmmword [esp + 0x68], xmm0
movups xmm0, xmmword [eax + 0x20]
movups xmmword [esp + 0x78], xmm0
movups xmm0, xmmword [eax + 0x30]
mov eax, dword [eax + 0x40]
mov dword [esp + 0x98], eax
movups xmmword [esp + 0x88], xmm0
call fcn.004140b0
mov ecx, eax
call fcn.00414160
mov ecx, dword [esp + 0x44]
push edi
movups xmm0, xmmword [eax]
movups xmmword [ecx], xmm0
movups xmm0, xmmword [eax + 0x10]
movups xmmword [ecx + 0x10], xmm0
movups xmm0, xmmword [eax + 0x20]
movups xmmword [ecx + 0x20], xmm0
movups xmm0, xmmword [eax + 0x30]
movups xmmword [ecx + 0x30], xmm0
mov eax, dword [eax + 0x40]
mov dword [ecx + 0x40], eax
call fcn.004140b0
mov ecx, eax
call fcn.00414090
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x44]
movq qword [esp + 0x98], xmm0
mov cl, byte [eax]
mov eax, dword [esp + 0x28]
xor al, cl
mov byte [esp + 0x4b], cl
je 0x4107d0
xor eax, eax
mov dword [esp + 0xc], edi
test cl, cl
mov ecx, dword [esi + 0xc]
sete al
add eax, 0x11
mov dword [esp + 8], eax
mov eax, dword [esi + 0x14]
inc eax
cmp ecx, eax
ja 0x410765
push 1
lea ecx, [esi + 4]
call fcn.00410350
mov ecx, dword [esi + 0xc]
lea eax, [ecx - 1]
and dword [esi + 0x10], eax
mov ecx, dword [esi + 0x14]
mov eax, dword [esi + 0xc]
add ecx, dword [esi + 0x10]
dec eax
and ecx, eax
mov eax, dword [esi + 8]
mov dword [esp + 0x4c], ecx
cmp dword [eax + ecx*4], 0
jne 0x41079d
push 0x14
call fcn.004c0775
mov ecx, dword [esi + 8]
add esp, 4
mov edx, dword [esp + 0x4c]
mov dword [ecx + edx*4], eax
mov ecx, edx
mov eax, dword [esi + 8]
mov ecx, dword [eax + ecx*4]
movups xmm0, xmmword [esp + 8]
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x50]
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], eax
mov cl, byte [esp + 0x4b]
inc dword [esi + 0x14]
test cl, cl
je 0x41098b
mov eax, dword [esp + 0x40]
xorps xmm0, xmm0
movups xmmword [eax], xmm0
movups xmmword [eax + 0x10], xmm0
test cl, cl
je 0x41098b
xor edi, edi
nop word [eax + eax]
cmp byte [esp + edi + 0x9c], 0
mov edx, dword [esp + 0x50]
je 0x4108c7
mov eax, dword [esp + 0x3c]
add eax, edi
movss xmm1, dword [esi + eax*4]
lea eax, [edi + edx*8]
movaps xmm0, xmm1
movss dword [esp + 0x20], xmm1
subss xmm0, dword [esi + eax*4 + 0x284]
mov dword [esp + 0x1c], eax
cvtps2pd xmm0, xmm0
andps xmm0, xmmword [0x4c7a50]
cvtpd2ps xmm0, xmm0
comiss xmm0, dword [esi + 0x280]
jb 0x4108c7
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 0xc]
inc eax
mov dword [esp + 0x24], 0x10
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], edi
movss dword [esp + 0x30], xmm1
cmp ecx, eax
ja 0x41085f
push 1
lea ecx, [esi + 4]
call fcn.00410350
mov ecx, dword [esi + 0xc]
lea eax, [ecx - 1]
and dword [esi + 0x10], eax
mov ecx, dword [esi + 0x14]
mov eax, dword [esi + 0xc]
add ecx, dword [esi + 0x10]
dec eax
and ecx, eax
mov eax, dword [esi + 8]
mov dword [esp + 0x4c], ecx
cmp dword [eax + ecx*4], 0
jne 0x410897
push 0x14
call fcn.004c0775
mov ecx, dword [esi + 8]
add esp, 4
mov edx, dword [esp + 0x4c]
mov dword [ecx + edx*4], eax
mov ecx, edx
mov eax, dword [esi + 8]
mov ecx, dword [eax + ecx*4]
movups xmm0, xmmword [esp + 0x24]
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x50]
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], eax
inc dword [esi + 0x14]
mov esi, dword [esp + 0x38]
mov eax, dword [esp + 0x1c]
movss xmm0, dword [esp + 0x20]
movss dword [esi + eax*4 + 0x284], xmm0
inc edi
cmp edi, 8
jb 0x4107e0
mov eax, dword [esp + 0x98]
xor edi, edi
test eax, eax
je 0x410987
mov ecx, dword [esp + 0x44]
mov cl, byte [ecx + edi + 0x24]
cmp byte [esp + edi + 0x78], cl
je 0x410976
xor eax, eax
mov dword [esp + 0x28], edx
test cl, cl
mov dword [esp + 0x2c], edi
mov ecx, dword [esi + 0xc]
sete al
add eax, 0xe
mov dword [esp + 0x24], eax
mov eax, dword [esi + 0x14]
inc eax
cmp ecx, eax
ja 0x410922
push 1
lea ecx, [esi + 4]
call fcn.00410350
mov ecx, dword [esi + 0xc]
lea eax, [ecx - 1]
and dword [esi + 0x10], eax
mov ecx, dword [esi + 0x14]
mov eax, dword [esi + 0xc]
add ecx, dword [esi + 0x10]
dec eax
and ecx, eax
mov eax, dword [esi + 8]
mov dword [esp + 0x4c], ecx
cmp dword [eax + ecx*4], 0
jne 0x41095a
push 0x14
call fcn.004c0775
mov ecx, dword [esi + 8]
add esp, 4
mov edx, dword [esp + 0x4c]
mov dword [ecx + edx*4], eax
mov ecx, edx
mov eax, dword [esi + 8]
mov ecx, dword [eax + ecx*4]
movups xmm0, xmmword [esp + 0x24]
mov eax, dword [esp + 0x34]
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], eax
inc dword [esi + 0x14]
mov eax, dword [esp + 0x98]
mov esi, dword [esp + 0x38]
inc edi
mov edx, dword [esp + 0x50]
cmp edi, eax
jb 0x4108e2
mov edi, dword [esp + 0x50]
mov ecx, dword [esp + 0x3c]
inc edi
mov eax, dword [esp + 0x44]
add ecx, 0x11
add dword [esp + 0x40], 0x20
add eax, 0x44
mov esi, dword [esp + 0x38]
mov dword [esp + 0x50], edi
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x44], eax
cmp ecx, 0x8f
jb 0x410697
mov ecx, dword [esp + 0xa4]
pop edi
pop esi
xor ecx, esp
call fcn.004c0767
add esp, 0xa0
ret