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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x80
push esi
push edi
mov edi, ecx
mov dword [esp + 0x28], edx
mov edx, dword [0x4e5fbc]
mov dword [esp + 0xc], edi
mov dword [esp + 0x2c], edx
test byte [edi + 0xc], 0x42
jne 0x418a64
cmp byte [edi + 0xc4], 0
jg 0x418a64
cmp byte [edi + 0xc5], 0
jg 0x418a64
cmp byte [edi + 0xab], 0
je 0x418a64
movss xmm2, dword [edx + 0x3bcc]
xor eax, eax
movss xmm0, dword [edi + 0x4c]
movaps xmm1, xmm2
addss xmm0, dword [0x4da040]
mulss xmm2, dword [0x4d9fd0]
mov esi, 4
mov cl, byte [edx + 0x4a]
mulss xmm1, dword [0x4da048]
test cl, cl
mov byte [esp + 0xb], 0
addss xmm0, xmm2
cmovne eax, esi
mov dword [esp + 0x64], eax
maxss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x4da01c]
cvttss2si esi, xmm0
je 0x417fb4
movss xmm0, dword [0x4da0c8]
movss dword [esp + 0x18], xmm0
jmp 0x417fbd
xorps xmm2, xmm2
movss dword [esp + 0x18], xmm2
cmp byte [edx + 0x4b], 0
mov eax, dword [ebp + 0x14]
movups xmm0, xmmword [eax]
movups xmmword [esp + 0x68], xmm0
je 0x417ff2
test byte [edi + 0xc], 1
jne 0x417ff2
mov ecx, edi
mov byte [esp + 0xa], 1
call fcn.0040be30
movss xmm1, dword [esp + 0x6c]
subss xmm1, xmm0
movss dword [esp + 0x3c], xmm1
jmp 0x418003
movss xmm0, dword [esp + 0x6c]
mov byte [esp + 0xa], 0
movss dword [esp + 0x3c], xmm0
movss xmm1, dword [0x4da174]
mov ecx, str.RESIZE
movaps xmm0, xmm1
movss dword [esp + 0x24], xmm1
movss dword [esp + 0x10], xmm1
movss dword [esp + 0x20], xmm0
movss dword [esp + 0x14], xmm1
mov dword [edi + 0x148], 1
call fcn.0041c9c0
xor edx, edx
mov dword [esp + 0x1c], edx
cmp dword [ebp + 0xc], edx
jle 0x418484
nop dword [eax]
movss xmm0, dword [edi + 0x14]
lea eax, [edx + edx*2]
movss xmm1, dword [edi + 0x18]
movaps xmm4, xmm0
addss xmm4, dword [edi + 0x1c]
movaps xmm2, xmm1
mov dword [esp + 0x30], eax
addss xmm2, dword [edi + 0x20]
xorps xmm6, xmm6
cvtsi2ss xmm6, esi
subss xmm4, xmm0
subss xmm2, xmm1
mulss xmm4, dword [eax*8 + 0x4d0ed0]
mulss xmm2, dword [eax*8 + 0x4d0ed4]
addss xmm4, xmm0
movss xmm0, dword [eax*8 + 0x4d0ed8]
movaps xmm5, xmm0
mulss xmm0, dword [esp + 0x18]
addss xmm2, xmm1
mulss xmm5, xmm6
movss xmm1, dword [eax*8 + 0x4d0edc]
movaps xmm3, xmm1
mulss xmm1, dword [esp + 0x18]
mulss xmm3, xmm6
addss xmm5, xmm4
subss xmm4, xmm0
addss xmm3, xmm2
subss xmm2, xmm1
movss dword [esp + 0x50], xmm5
comiss xmm4, xmm5
movss dword [esp + 0x48], xmm4
movss dword [esp + 0x4c], xmm2
movss dword [esp + 0x54], xmm3
jbe 0x4180ff
movss dword [esp + 0x48], xmm5
movss dword [esp + 0x50], xmm4
comiss xmm2, xmm3
jbe 0x418110
movss dword [esp + 0x4c], xmm3
movss dword [esp + 0x54], xmm2
push edx
mov ecx, edi
call fcn.00413ae0
mov edi, eax
lea ecx, [esp + 0x48]
push 8
push 0
mov edx, edi
call fcn.0041f010
push 0x40800
lea eax, [esp + 0x14]
mov edx, edi
push eax
lea eax, [esp + 0x19]
push eax
lea ecx, [esp + 0x5c]
call fcn.0043dd80
mov cl, byte [esp + 0x1d]
add esp, 0x14
test cl, cl
jne 0x41815a
mov al, byte [esp + 8]
test al, al
je 0x418431
mov edx, dword [esp + 0x1c]
mov eax, edx
mov ecx, dword [esp + 0x2c]
not eax
and eax, 1
add eax, 5
mov dword [ecx + 0x4ac8], eax
mov al, byte [esp + 8]
test al, al
je 0x41843b
cmp word [ecx + 0x370a], 2
jne 0x4181de
test edx, edx
jne 0x4181de
push dword [esp + 0x28]
mov edi, dword [esp + 0x10]
lea ecx, [esp + 0x5c]
mov edx, edi
call fcn.00417890
add esp, 4
mov byte [esp + 0xb], 1
xor edx, edx
xor ecx, ecx
movss xmm0, dword [eax]
movss dword [esp + 0x20], xmm0
movss xmm0, dword [eax + 4]
movss dword [esp + 0x14], xmm0
call fcn.00413be0
mov edx, dword [esp + 0x1c]
cmp byte [esp + 8], 0
je 0x418457
mov ecx, 0x20
jmp 0x418463
mov edx, dword [esp + 0x30]
xorps xmm1, xmm1
movss xmm3, dword [0x4da040]
movss xmm7, dword [edx*8 + 0x4d0ed4]
ucomiss xmm7, xmm3
lahf
test ah, 0x44
jnp 0x41821c
ucomiss xmm7, xmm1
lahf
test ah, 0x44
jp 0x41820f
cmp byte [esp + 0xa], 0
jne 0x41821c
movss xmm2, dword [0x4da1b0]
movaps xmm6, xmm2
jmp 0x41822a
movss xmm6, dword [esp + 0x3c]
movss xmm2, dword [0x4da1b0]
movss xmm0, dword [edx*8 + 0x4d0ed0]
ucomiss xmm0, xmm3
lahf
test ah, 0x44
jp 0x418244
movss xmm4, dword [esp + 0x68]
jmp 0x418247
movaps xmm4, xmm2
ucomiss xmm7, xmm1
lahf
test ah, 0x44
jp 0x418266
movss xmm2, dword [esp + 0x74]
movss dword [esp + 0x20], xmm2
movss xmm2, dword [0x4da174]
jmp 0x418274
movss xmm2, dword [0x4da174]
movss dword [esp + 0x20], xmm2
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x41828b
movss xmm0, dword [esp + 0x70]
movss dword [esp + 0x10], xmm0
jmp 0x418291
movss dword [esp + 0x10], xmm2
movss xmm5, dword [edx*8 + 0x4d0ed8]
xorps xmm3, xmm3
movss xmm2, dword [edx*8 + 0x4d0edc]
movaps xmm0, xmm5
mulss xmm0, dword [esp + 0x18]
movaps xmm1, xmm2
mulss xmm1, dword [esp + 0x18]
cvtsi2ss xmm3, esi
xorps xmm3, xmmword [0x4da2f0]
mulss xmm5, xmm3
mulss xmm2, xmm3
subss xmm5, xmm0
subss xmm2, xmm1
mulss xmm5, dword [edx*8 + 0x4d0ed0]
mulss xmm2, xmm7
addss xmm5, xmm0
movss xmm0, dword [ecx + 0xdbc]
subss xmm0, dword [ecx + 0x3ec0]
addss xmm2, xmm1
addss xmm5, xmm0
movss xmm0, dword [ecx + 0xdc0]
subss xmm0, dword [ecx + 0x3ec4]
addss xmm0, xmm2
comiss xmm6, xmm0
ja 0x41831f
movss xmm6, dword [esp + 0x20]
minss xmm6, xmm0
comiss xmm4, xmm5
ja 0x41832e
movss xmm4, dword [esp + 0x10]
minss xmm4, xmm5
mov edi, dword [esp + 0xc]
lea eax, [esp + 0x34]
movss xmm5, dword [edx*8 + 0x4d0ed0]
lea ecx, [esp + 0x40]
push eax
mov edx, edi
movss xmm0, dword [edi + 0x14]
movss xmm1, dword [edi + 0x18]
movaps xmm2, xmm0
addss xmm0, dword [edi + 0x1c]
subss xmm2, xmm4
movaps xmm3, xmm1
addss xmm1, dword [edi + 0x20]
subss xmm3, xmm6
mulss xmm2, xmm5
mulss xmm3, xmm7
addss xmm2, xmm4
subss xmm4, xmm0
addss xmm3, xmm6
subss xmm6, xmm1
movss dword [esp + 0x28], xmm2
mulss xmm4, xmm5
mulss xmm6, xmm7
addss xmm4, xmm0
movss dword [esp + 0x14], xmm3
addss xmm6, xmm1
subss xmm4, xmm2
subss xmm6, xmm3
movss dword [esp + 0x38], xmm4
movss dword [esp + 0x3c], xmm6
call fcn.00417890
mov ecx, dword [esp + 0x34]
add esp, 4
xorps xmm2, xmm2
movss xmm0, dword [ecx*8 + 0x4d0ed0]
ucomiss xmm0, xmm2
movss xmm0, dword [esp + 0x40]
movss dword [esp + 0x20], xmm0
lahf
test ah, 0x44
jp 0x4183f3
subss xmm0, dword [esp + 0x34]
movss xmm1, dword [esp + 0x24]
subss xmm1, xmm0
movss dword [esp + 0x24], xmm1
movss xmm0, dword [ecx*8 + 0x4d0ed4]
ucomiss xmm0, xmm2
movss xmm0, dword [esp + 0x44]
movss dword [esp + 0x14], xmm0
lahf
test ah, 0x44
jp 0x418427
subss xmm0, dword [esp + 0x38]
movss xmm1, dword [esp + 0x10]
subss xmm1, xmm0
movss dword [esp + 0x10], xmm1
mov edx, dword [esp + 0x1c]
mov al, byte [esp + 8]
jmp 0x41843f
mov edi, dword [esp + 0xc]
mov edx, dword [esp + 0x1c]
jmp 0x418443
mov edi, dword [esp + 0xc]
mov cl, byte [esp + 9]
test edx, edx
je 0x4181c9
test al, al
jne 0x4181d4
test cl, cl
je 0x418476
xor ecx, ecx
cmp byte [esp + 9], cl
setne cl
add ecx, 0x1e
movss xmm1, dword [0x4da040]
call fcn.004108f0
mov ecx, dword [ebp + 0x10]
mov dword [ecx + edx*4], eax
inc edx
mov dword [esp + 0x1c], edx
cmp edx, dword [ebp + 0xc]
jl 0x418050
xor edi, edi
mov dword [esp + 0x18], edi
cmp dword [esp + 0x64], edi
jbe 0x41878d
lea eax, [edi*8]
sub eax, edi
shl eax, 2
mov dword [esp + 0x48], eax
test edi, edi
je 0x4184cb
cmp edi, 1
je 0x4184cb
mov dword [esp + 0x30], 3
lea eax, [esp + 0x38]
mov dword [esp + 0x1c], 0xdc0
mov dword [esp + 0x60], 0x3ec4
jmp 0x4184e7
mov dword [esp + 0x30], 4
lea eax, [esp + 0x34]
mov dword [esp + 0x1c], 0xdbc
mov dword [esp + 0x60], 0x3ec0
mov edx, dword [esp + 0xc]
movd xmm0, esi
push ecx
cvtdq2ps xmm3, xmm0
mov dword [esp], 0x40800000
lea ecx, [esp + 0x7c]
push edi
mov dword [esp + 0x30], eax
call fcn.00417dd0
add esp, 8
lea eax, [edi + 4]
mov ecx, edx
push eax
call fcn.00413ae0
mov edi, eax
lea ecx, [esp + 0x78]
push 8
push 0
mov edx, edi
call fcn.0041f010
push 0x40800
lea eax, [esp + 0x14]
mov edx, edi
push eax
lea eax, [esp + 0x19]
push eax
lea ecx, [esp + 0x8c]
call fcn.0043dd80
mov dl, byte [esp + 0x1c]
add esp, 0x14
cmp byte [esp + 9], 0
mov ecx, dword [esp + 0x2c]
je 0x418567
movss xmm0, dword [ecx + 0x3ea4]
comiss xmm0, dword [0x4d9fb8]
ja 0x41856f
test dl, dl
je 0x41877a
mov eax, dword [esp + 0x30]
mov edi, dword [esp + 0x18]
mov dword [ecx + 0x4ac8], eax
test dl, dl
je 0x41877e
mov eax, dword [ebp + 8]
mov dword [eax], edi
cmp edi, 3
je 0x4185a8
cmp edi, 2
jne 0x41859b
cmp byte [esp + 0xa], 0
jne 0x4185a8
movss xmm0, dword [0x4da1b0]
movaps xmm4, xmm0
jmp 0x4185b6
movss xmm4, dword [esp + 0x3c]
movss xmm0, dword [0x4da1b0]
cmp edi, 1
jne 0x418749
movss xmm3, dword [esp + 0x68]
movss xmm1, dword [0x4da174]
movss xmm2, dword [0x4da174]
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x1c]
movss xmm0, dword [eax + 0x14]
movss dword [esp + 0x34], xmm0
movss xmm0, dword [eax + 0x18]
movss dword [esp + 0x38], xmm0
movss xmm0, dword [edx + ecx]
mov edx, dword [esp + 0x60]
subss xmm0, dword [edx + ecx]
mov ecx, dword [esp + 0x28]
addss xmm0, dword [0x4da0c8]
movss dword [ecx], xmm0
movss xmm0, dword [esp + 0x38]
comiss xmm4, xmm0
ja 0x418623
movaps xmm4, xmm1
minss xmm4, xmm0
movss xmm0, dword [esp + 0x34]
comiss xmm3, xmm0
ja 0x418635
movaps xmm3, xmm2
minss xmm3, xmm0
mov ecx, dword [esp + 0x48]
mov edx, eax
movss xmm0, dword [eax + 0x14]
movss xmm1, dword [eax + 0x18]
movaps xmm5, xmm0
addss xmm0, dword [eax + 0x1c]
movss xmm7, dword [ecx + 0x4d0d0c]
subss xmm5, xmm3
minss xmm7, dword [ecx + 0x4d0d14]
movss xmm2, dword [ecx + 0x4d0d08]
movaps xmm6, xmm1
minss xmm2, dword [ecx + 0x4d0d10]
addss xmm1, dword [eax + 0x20]
subss xmm6, xmm4
lea ecx, [esp + 0x40]
movss dword [esp + 0x28], xmm7
push ecx
mulss xmm5, xmm2
lea ecx, [esp + 0x5c]
mulss xmm6, xmm7
addss xmm5, xmm3
movss dword [esp + 0x4c], xmm2
subss xmm3, xmm0
addss xmm6, xmm4
subss xmm4, xmm1
movss dword [esp + 0x28], xmm5
mulss xmm3, xmm2
mulss xmm4, xmm7
addss xmm3, xmm0
movss dword [esp + 0x14], xmm6
addss xmm4, xmm1
subss xmm3, xmm5
subss xmm4, xmm6
movss dword [esp + 0x44], xmm3
movss dword [esp + 0x48], xmm4
call fcn.00417890
movss xmm0, dword [esp + 0x4c]
add esp, 4
xorps xmm2, xmm2
ucomiss xmm0, xmm2
movss xmm0, dword [esp + 0x58]
movss dword [esp + 0x20], xmm0
lahf
test ah, 0x44
jp 0x418716
subss xmm0, dword [esp + 0x40]
movss xmm1, dword [esp + 0x24]
subss xmm1, xmm0
movss dword [esp + 0x24], xmm1
movss xmm0, dword [esp + 0x28]
ucomiss xmm0, xmm2
movss xmm0, dword [esp + 0x5c]
movss dword [esp + 0x14], xmm0
lahf
test ah, 0x44
jp 0x41877e
subss xmm0, dword [esp + 0x44]
movss xmm1, dword [esp + 0x10]
subss xmm1, xmm0
movss dword [esp + 0x10], xmm1
jmp 0x41877e
movaps xmm3, xmm0
cmp edi, 2
jne 0x41875c
movss xmm1, dword [esp + 0x74]
jmp 0x4185cd
movss xmm1, dword [0x4da174]
movaps xmm3, xmm0
test edi, edi
jne 0x4185cd
movss xmm2, dword [esp + 0x70]
jmp 0x4185d5
mov edi, dword [esp + 0x18]
inc edi
mov dword [esp + 0x18], edi
cmp edi, dword [esp + 0x64]
jl 0x418494
mov esi, dword [0x4e5fbc]
mov edx, dword [esp + 0xc]
mov edi, dword [esp + 0x2c]
mov eax, dword [esi + 0x3e60]
dec dword [eax + 0xe4]
mov dword [edx + 0x148], 0
mov eax, dword [edi + 0x495c]
test eax, eax
je 0x41899f
cmp dword [eax + 0x300], edx
jne 0x41899f
mov eax, dword [edi + 0x4820]
cmp eax, 2
jne 0x4187fd
cmp byte [edi + 0xdd9], 0
je 0x41899f
push 0x204
push 0x203
push 0x202
mov edx, 0x201
lea ecx, [esp + 0x4c]
jmp 0x41881e
cmp eax, 3
jne 0x41899f
push 0x272
push 0x271
push 0x270
mov edx, 0x26f
lea ecx, [esp + 0x40]
call fcn.0041ccb0
add esp, 0xc
xorps xmm7, xmm7
movss xmm3, dword [eax]
movss xmm2, dword [eax + 4]
ucomiss xmm3, xmm7
lahf
test ah, 0x44
jp 0x418848
ucomiss xmm2, xmm7
lahf
test ah, 0x44
jnp 0x4189aa
movss xmm1, dword [edi + 0x3c]
mov ecx, 0x20
minss xmm1, dword [edi + 0x40]
movss xmm0, dword [edi + 0x18]
mulss xmm0, dword [0x4da150]
mov edx, dword [esp + 0xc]
mulss xmm1, xmm0
movaps xmm0, xmm1
mulss xmm2, xmm1
movss xmm1, dword [esp + 0x68]
mulss xmm0, xmm3
addss xmm2, dword [edi + 0x4980]
addss xmm0, dword [edi + 0x497c]
movss dword [edi + 0x4980], xmm2
movss dword [edi + 0x497c], xmm0
subss xmm1, dword [edx + 0x14]
subss xmm1, dword [edx + 0x1c]
maxss xmm0, xmm1
movss xmm1, dword [esp + 0x3c]
subss xmm1, dword [edx + 0x18]
subss xmm1, dword [edx + 0x20]
movss dword [edi + 0x497c], xmm0
mov byte [edi + 0x4970], 0
mov byte [edi + 0x482b], 1
maxss xmm2, xmm1
movss xmm1, dword [0x4da040]
movss dword [edi + 0x4980], xmm2
call fcn.004108f0
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
cvttss2si esi, dword [edi + 0x497c]
cvttss2si edi, dword [edi + 0x4980]
movd xmm0, esi
cvtdq2ps xmm0, xmm0
movd xmm1, edi
ucomiss xmm0, xmm7
cvtdq2ps xmm1, xmm1
lahf
test ah, 0x44
jp 0x418923
ucomiss xmm1, xmm7
lahf
test ah, 0x44
jnp 0x4189b6
addss xmm0, dword [edx + 0x24]
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x4c]
movss dword [esp + 0x5c], xmm0
movaps xmm0, xmm1
addss xmm0, dword [edx + 0x28]
movss dword [esp + 0x60], xmm0
call fcn.00417890
mov edx, dword [esp + 0x30]
add esp, 4
movd xmm2, esi
xorps xmm7, xmm7
cvtdq2ps xmm2, xmm2
movss xmm0, dword [eax]
movss xmm1, dword [eax + 4]
movss dword [esp + 0x20], xmm0
movss xmm0, dword [edx + 0x497c]
subss xmm0, xmm2
movd xmm2, edi
cvtdq2ps xmm2, xmm2
movss dword [edx + 0x497c], xmm0
movss xmm0, dword [edx + 0x4980]
subss xmm0, xmm2
movss dword [edx + 0x4980], xmm0
mov edx, dword [esp + 0xc]
jmp 0x4189bc
movss xmm1, dword [esp + 0x14]
xorps xmm7, xmm7
jmp 0x4189c2
movss xmm1, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
jmp 0x4189c2
movss xmm1, dword [esp + 0x14]
mov esi, dword [0x4e5fbc]
movss xmm0, dword [esp + 0x20]
movss xmm2, dword [0x4da174]
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jnp 0x4189fe
test dword [edx + 0xc], 0x100
movss dword [edx + 0x24], xmm0
movss dword [edx + 0x28], xmm1
jne 0x4189fe
comiss xmm7, dword [esi + 0x5a7c]
jb 0x4189fe
mov eax, dword [esi + 0x1c]
mov dword [esi + 0x5a7c], eax
movss xmm0, dword [esp + 0x24]
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jnp 0x418a4a
test dword [edx + 0xc], 0x100
cvttss2si eax, xmm0
movd xmm1, eax
cvttss2si eax, dword [esp + 0x10]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edx + 0x14], xmm1
movss dword [edx + 0x18], xmm0
jne 0x418a4a
comiss xmm7, dword [esi + 0x5a7c]
jb 0x418a4a
mov ecx, dword [esi + 0x1c]
mov dword [esi + 0x5a7c], ecx
mov esi, dword [esp + 0xc]
mov ecx, dword [edx + 0x24]
mov edx, dword [edx + 0x28]
mov al, byte [esp + 0xb]
mov dword [esi + 0x1c], ecx
mov dword [esi + 0x20], edx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
pop edi
xor al, al
pop esi
mov esp, ebp
pop ebp
ret