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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x98
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x38], edx
mov dword [esp + 0x14], ecx
push esi
mov esi, eax
push edi
mov edi, dword [0x4e5fbc]
cmp eax, 0xffffffff
jae 0x45122c
mov cl, byte [esi]
test cl, cl
je 0x45122c
cmp cl, 0x23
jne 0x451226
cmp byte [esi + 1], cl
je 0x45122c
inc esi
cmp esi, 0xffffffff
jb 0x451216
movss xmm0, dword [edi + 0x3bcc]
cmp eax, esi
jne 0x45123d
xorps xmm2, xmm2
jmp 0x451287
movss xmm3, dword [0x4da174]
movaps xmm2, xmm0
push 0
push esi
push eax
push ecx
mov ecx, dword [edi + 0x3bc8]
lea eax, [esp + 0x48]
mov dword [esp], 0xbf800000
push eax
call fcn.0043a410
movss xmm0, dword [esp + 0x38]
addss xmm0, dword [0x4da038]
mov edx, dword [esp + 0x40]
cvttss2si eax, xmm0
movss xmm0, dword [esp + 0x3c]
movd xmm2, eax
cvtdq2ps xmm2, xmm2
mov esi, dword [ebp + 0x1c]
movss dword [esp + 0x5c], xmm0
movss dword [esp + 0x58], xmm2
test esi, esi
je 0x45129d
mov byte [esi], 0
mov ecx, dword [ebp + 0x20]
test ecx, ecx
je 0x4512a7
mov byte [ecx], 0
movss xmm6, dword [edx + 8]
movss xmm4, dword [edx]
movaps xmm5, xmm6
movss xmm7, dword [0x4da040]
subss xmm5, xmm4
comiss xmm7, xmm5
jae 0x4515b8
movss xmm1, dword [ebp + 0x28]
movaps xmm3, xmm4
movss xmm0, dword [edx + 0xc]
movss dword [esp + 0x6c], xmm0
addss xmm1, dword [edx + 4]
addss xmm3, dword [ebp + 0x24]
movss dword [esp + 0x64], xmm1
movss dword [esp + 0x20], xmm1
movaps xmm1, xmm6
movss dword [esp + 0x60], xmm3
subss xmm1, dword [ebp + 0x24]
movss dword [esp + 0x68], xmm1
movaps xmm0, xmmword [esp + 0x60]
movss dword [esp + 0x30], xmm1
movaps xmmword [esp + 0x70], xmm0
test ecx, ecx
je 0x451325
addss xmm3, xmm2
comiss xmm3, xmm1
seta al
mov byte [ecx], al
movss xmm3, dword [edi + 0x3bcc]
movaps xmm0, xmm1
mov ecx, dword [ebp + 0x14]
subss xmm0, xmm3
xor dl, dl
movss dword [esp + 0x38], xmm3
mov byte [esp + 0x18], 0
mov byte [esp + 0x17], dl
maxss xmm4, xmm0
movss xmm0, dword [esp + 0x20]
movss dword [esp + 0x64], xmm0
movss dword [esp + 0x60], xmm4
test ecx, ecx
je 0x45139e
cmp byte [ebp + 0x18], dl
jne 0x451377
movaps xmm0, xmm3
maxss xmm0, dword [edi + 0x3818]
comiss xmm5, xmm0
jb 0x45139e
mov eax, dword [edi + 0x3e98]
mov edx, dword [ebp + 0x10]
cmp eax, edx
je 0x451396
cmp eax, ecx
je 0x451396
mov eax, dword [edi + 0x3eac]
cmp eax, edx
je 0x451396
cmp eax, ecx
jne 0x45139a
mov dl, 1
jmp 0x45139e
mov dl, byte [esp + 0x17]
test byte [ebp + 8], 1
je 0x4513b4
movaps xmm0, xmm4
addss xmm0, xmm3
comiss xmm6, xmm0
jb 0x4513b4
mov al, 1
jmp 0x4513b6
xor al, al
mov byte [esp + 0x17], al
test dl, dl
je 0x4514aa
movups xmm0, xmmword [edi + 0x46d8]
mov esi, dword [edi + 0x4710]
lea edx, [esp + 0x60]
movaps xmmword [esp + 0x20], xmm0
movups xmm0, xmmword [edi + 0x46e8]
movaps xmmword [esp + 0x80], xmm0
movups xmm0, xmmword [edi + 0x46f8]
movaps xmmword [esp + 0x90], xmm0
movq xmm0, qword [edi + 0x4708]
movq qword [esp + 0x40], xmm0
call fcn.0043eb30
test byte [ebp + 8], 4
mov cl, al
movaps xmm0, xmmword [esp + 0x20]
movups xmmword [edi + 0x46d8], xmm0
mov dword [esp + 0x18], ecx
movaps xmm0, xmmword [esp + 0x80]
movups xmmword [edi + 0x46e8], xmm0
movaps xmm0, xmmword [esp + 0x90]
movups xmmword [edi + 0x46f8], xmm0
movq xmm0, qword [esp + 0x40]
movq qword [edi + 0x4708], xmm0
mov dword [edi + 0x4710], esi
jne 0x451472
mov ecx, 2
call fcn.0041d3c0
mov ecx, dword [esp + 0x18]
test al, al
movzx ecx, cl
mov edx, 1
cmovne ecx, edx
mov dword [esp + 0x18], ecx
cmp byte [esp + 0x17], 0
movss xmm1, dword [esp + 0x30]
subss xmm1, dword [esp + 0x38]
movss xmm0, dword [esp + 0x38]
mulss xmm0, dword [0x4da024]
mov edi, dword [esp + 0x1c]
movaps xmm2, xmm1
jne 0x45156c
mov dword [esp + 0x18], ecx
xorps xmm3, xmm3
jmp 0x45156f
test al, al
je 0x451545
movss xmm1, dword [edi + 0x37c4]
movaps xmm0, xmm4
movss xmm2, dword [edi + 0x37c8]
addss xmm1, xmm1
addss xmm0, xmm3
xor ecx, ecx
addss xmm2, xmm2
addss xmm1, xmm0
movss xmm0, dword [esp + 0x20]
addss xmm0, xmm3
addss xmm1, xmm4
addss xmm2, xmm0
mulss xmm1, dword [0x4d9ffc]
addss xmm2, dword [esp + 0x20]
movss dword [esp + 0x20], xmm1
movaps xmm1, xmm7
mulss xmm2, dword [0x4d9ffc]
movss dword [esp + 0x24], xmm2
push dword [esp + 0x24]
push dword [esp + 0x24]
call fcn.004108f0
mov edi, dword [esp + 0x24]
mov edx, eax
mov ecx, edi
call fcn.0043aee0
movss xmm1, dword [esp + 0x38]
add esp, 8
movss xmm3, dword [esp + 0x38]
movss xmm7, dword [0x4da040]
mov al, byte [esp + 0x17]
jmp 0x451549
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x40]
movss xmm2, dword [ecx + 8]
subss xmm2, xmm7
test al, al
je 0x451582
movaps xmm0, xmm3
mulss xmm0, dword [0x4da024]
subss xmm1, xmm0
movaps xmm2, xmm1
movaps xmm3, xmm0
movss xmm0, dword [esp + 0x78]
mov esi, dword [ebp + 0x1c]
subss xmm0, xmm3
movss dword [esp + 0x78], xmm0
lea eax, [esp + 0x58]
movaps xmm3, xmm1
push eax
push 0
push dword [ebp + 0xc]
lea eax, [esp + 0x84]
push ecx
movss dword [esp], xmm2
lea edx, [esp + 0x80]
push eax
mov ecx, edi
call fcn.00411330
add esp, 0x14
test esi, esi
je 0x4515b8
mov eax, dword [esp + 0x18]
mov byte [esi], al
pop edi
pop esi
mov esp, ebp
pop ebp
ret