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

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x58
test byte [edx + 8], 0x42
push edi
mov edi, dword [0x53151c]
jne 0x42ffb8
cmp byte [edx + 0x90], 0
jg 0x42ffb8
cmp byte [edx + 0x91], 0
jg 0x42ffb8
cmp byte [edx + 0x7b], 0
je 0x42ffb8
movss xmm2, dword [edi + 0x18c4]
xor eax, eax
movss xmm0, dword [edx + 0x3c]
movaps xmm1, xmm2
addss xmm0, dword [0x48f4f4]
mulss xmm2, dword [0x4a73fc]
mov cl, byte [edi + 0xb3]
mulss xmm1, dword [0x4a7434]
test cl, cl
push esi
addss xmm0, xmm2
mov byte [esp + 0x5d], 0
mov esi, 4
cmovne eax, esi
mov dword [esp + 0x48], eax
maxss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x4a741c]
cvttss2si esi, xmm0
je 0x42f8bb
movss xmm0, dword [0x4a7440]
jmp 0x42f8be
xorps xmm0, xmm0
movss dword [esp + 0x50], xmm0
movss xmm0, dword [0x4a7474]
push str.RESIZE
movss dword [esp + 0x2c], xmm0
mov dword [esp + 0x30], 0x7f7fffff
movss dword [esp + 0x58], xmm0
movss dword [esp + 0x34], xmm0
mov dword [esp + 0x38], 0x7f7fffff
mov dword [edx + 0x130], 1
mov dword [edx + 0x134], 2
call fcn.0042a090
xor ecx, ecx
add esp, 4
mov dword [esp + 0x58], ecx
cmp dword [esp + 0x70], ecx
jle 0x42fbc9
nop
lea eax, [ecx + ecx*2]
movd xmm6, esi
lea edx, [eax*8 + 0x4c8268]
mov eax, dword [esp + 0x64]
cvtdq2ps xmm6, xmm6
mov dword [esp + 0x44], edx
movss xmm0, dword [eax + 0xc]
movss xmm1, dword [eax + 0x10]
movaps xmm3, xmm0
addss xmm3, dword [eax + 0x14]
movaps xmm2, xmm1
addss xmm2, dword [eax + 0x18]
subss xmm3, xmm0
subss xmm2, xmm1
mulss xmm3, dword [edx]
mulss xmm2, dword [edx + 4]
addss xmm3, xmm0
movss xmm0, dword [edx + 8]
movaps xmm5, xmm0
mulss xmm0, dword [esp + 0x50]
addss xmm2, xmm1
mulss xmm5, xmm6
movss xmm1, dword [edx + 0xc]
movaps xmm4, xmm1
mulss xmm1, dword [esp + 0x50]
mulss xmm4, xmm6
addss xmm5, xmm3
subss xmm3, xmm0
addss xmm4, xmm2
subss xmm2, xmm1
movss dword [esp + 0x10], xmm5
comiss xmm3, xmm5
movss dword [esp + 8], xmm3
movss dword [esp + 0xc], xmm2
movss dword [esp + 0x14], xmm4
jbe 0x42f9c9
movss dword [esp + 8], xmm5
movss dword [esp + 0x10], xmm3
comiss xmm2, xmm4
jbe 0x42f9da
movss dword [esp + 0xc], xmm4
movss dword [esp + 0x14], xmm2
push 0x2020
lea edx, [esp + 0x62]
push edx
lea edx, [esp + 0x67]
push edx
push ecx
mov ecx, eax
call fcn.00420be0
push eax
lea eax, [esp + 0x18]
push eax
call fcn.00448e40
mov al, byte [esp + 0x73]
add esp, 0x14
mov dl, byte [esp + 0x5e]
test al, al
jne 0x42fa13
test dl, dl
je 0x42fb60
mov ecx, dword [esp + 0x58]
mov eax, ecx
not eax
and eax, 1
add eax, 5
mov dword [edi + 0x1d30], eax
test dl, dl
je 0x42fb46
cmp byte [edi + 0x3dd], 0
je 0x42fa91
test ecx, ecx
jne 0x42fa91
mov eax, dword [esp + 0x68]
push dword [eax + 4]
push dword [eax]
lea eax, [esp + 0x20]
push dword [esp + 0x6c]
push eax
call fcn.0041db70
add esp, 0x10
mov byte [esp + 0x5d], 1
movss xmm0, dword [eax]
movss dword [esp + 0x54], xmm0
movss dword [esp + 0x30], xmm0
movss xmm0, dword [eax + 4]
movss dword [esp + 0x34], xmm0
call fcn.0041dfb0
mov dl, byte [esp + 0x5e]
test dl, dl
je 0x42fb66
mov edx, 0x20
jmp 0x42fb74
mov eax, dword [esp + 0x44]
lea ecx, [esp + 0x30]
movss xmm5, dword [esp + 0x50]
movd xmm4, esi
cvtdq2ps xmm4, xmm4
push ecx
lea ecx, [esp + 0x2c]
push ecx
push eax
movss xmm2, dword [eax + 8]
xorps xmm4, xmmword [0x48f500]
movaps xmm0, xmm2
movss xmm3, dword [eax + 0xc]
mulss xmm0, xmm5
movaps xmm1, xmm3
mulss xmm2, xmm4
mulss xmm3, xmm4
subss xmm2, xmm0
mulss xmm1, xmm5
subss xmm3, xmm1
mulss xmm2, dword [eax]
mulss xmm3, dword [eax + 4]
addss xmm2, xmm0
lea eax, [esp + 0x2c]
movss xmm0, dword [edi + 0xe8]
subss xmm0, dword [edi + 0x1a08]
addss xmm3, xmm1
push eax
push dword [esp + 0x74]
addss xmm2, xmm0
movss xmm0, dword [edi + 0xec]
subss xmm0, dword [edi + 0x1a0c]
movss dword [esp + 0x34], xmm2
addss xmm0, xmm3
movss dword [esp + 0x38], xmm0
call fcn.0041d590
movss xmm0, dword [esp + 0x44]
add esp, 0x14
mov dl, byte [esp + 0x5e]
mov ecx, dword [esp + 0x58]
movss dword [esp + 0x54], xmm0
mov al, byte [esp + 0x5f]
test ecx, ecx
je 0x42fa7f
test dl, dl
jne 0x42fa87
test al, al
je 0x42fbba
jmp 0x42fb6a
mov ecx, dword [esp + 0x58]
jmp 0x42fb4a
mov al, byte [esp + 0x5f]
xor edx, edx
test al, al
setne dl
add edx, 0x1e
mov ecx, dword [0x53151c]
lea eax, [edx + 0xb]
add eax, eax
movss xmm0, dword [ecx + 0x1510]
movups xmm1, xmmword [ecx + eax*8 + 0x1510]
lea eax, [esp + 0x38]
push eax
movups xmmword [esp + 0x3c], xmm1
shufps xmm1, xmm1, 0xff
mulss xmm0, xmm1
movss dword [esp + 0x48], xmm0
call fcn.0041e320
mov ecx, dword [esp + 0x5c]
add esp, 4
mov edx, dword [esp + 0x74]
mov dword [edx + ecx*4], eax
inc ecx
mov dword [esp + 0x58], ecx
cmp ecx, dword [esp + 0x70]
jl 0x42f920
xor ecx, ecx
mov dword [esp + 0x58], ecx
cmp dword [esp + 0x48], ecx
jbe 0x42fd72
nop dword [eax]
mov edx, dword [esp + 0x64]
lea eax, [esp + 8]
sub esp, 8
movd xmm0, esi
cvtdq2ps xmm0, xmm0
mov dword [esp + 4], 0x40800000
movss dword [esp], xmm0
push ecx
push edx
push eax
call fcn.00421320
add esp, 0x14
lea eax, [esp + 0x5f]
mov ecx, edx
push 0x20
push eax
lea eax, [esp + 0x66]
push eax
mov eax, dword [esp + 0x64]
add eax, 4
push eax
call fcn.00420be0
push eax
lea eax, [esp + 0x18]
push eax
call fcn.00448e40
mov dl, byte [esp + 0x73]
add esp, 0x14
cmp byte [esp + 0x5e], 0
je 0x42fc4f
movss xmm0, dword [edi + 0x19dc]
comiss xmm0, dword [0x4a73e8]
ja 0x42fc57
test dl, dl
je 0x42fd53
mov ecx, dword [esp + 0x58]
mov eax, ecx
and eax, 1
add eax, 3
mov dword [edi + 0x1d30], eax
test dl, dl
je 0x42fd57
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x44], 0
mov dword [esp + 0x40], 0
mov dword [eax], ecx
mov eax, dword [esp + 0x64]
movss xmm0, dword [eax + 0xc]
movss dword [esp + 0x4c], xmm0
movss xmm0, dword [eax + 0x10]
movss dword [esp + 0x50], xmm0
test ecx, ecx
jne 0x42fcd4
xorps xmm0, xmm0
movss dword [esp + 0x40], xmm0
movss dword [esp + 0x44], xmm0
movss xmm0, dword [edi + 0xec]
subss xmm0, dword [edi + 0x1a0c]
addss xmm0, dword [0x4a7440]
movss dword [esp + 0x50], xmm0
jmp 0x42fd36
cmp ecx, 1
jne 0x42fcec
movss xmm0, dword [0x48f4f4]
movss dword [esp + 0x40], xmm0
xorps xmm0, xmm0
jmp 0x42fd12
cmp ecx, 2
jne 0x42fd04
xorps xmm0, xmm0
movss dword [esp + 0x40], xmm0
movss xmm0, dword [0x48f4f4]
jmp 0x42fcae
cmp ecx, 3
jne 0x42fd36
xorps xmm0, xmm0
movss dword [esp + 0x40], xmm0
movss dword [esp + 0x44], xmm0
movss xmm0, dword [edi + 0xe8]
subss xmm0, dword [edi + 0x1a08]
addss xmm0, dword [0x4a7440]
movss dword [esp + 0x4c], xmm0
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x48]
push ecx
lea ecx, [esp + 0x58]
push ecx
push eax
call fcn.0041d590
add esp, 0x14
mov ecx, dword [esp + 0x58]
inc ecx
mov dword [esp + 0x58], ecx
cmp ecx, dword [esp + 0x48]
jl 0x42fbe0
movss xmm0, dword [esp + 0x30]
movss dword [esp + 0x54], xmm0
mov eax, dword [0x53151c]
mov esi, dword [esp + 0x64]
mov eax, dword [eax + 0x19b0]
dec dword [eax + 0xbc]
mov eax, dword [edi + 0x1b10]
test eax, eax
je 0x42fef1
cmp dword [eax + 0x2f4], esi
jne 0x42fef1
mov eax, dword [edi + 0x1af8]
cmp eax, 3
jne 0x42fdd1
cmp byte [edi + 0x101], 0
je 0x42fef1
sub esp, 8
mov dword [esp + 4], 0
mov dword [esp], 0
push 0
push 1
jmp 0x42fdf0
cmp eax, 4
jne 0x42fef1
sub esp, 8
mov dword [esp + 4], 0
mov dword [esp], 0
push 0
push 2
lea eax, [esp + 0x28]
push eax
call fcn.00420f90
add esp, 0x14
xorps xmm2, xmm2
movss xmm0, dword [eax]
movss xmm1, dword [eax + 4]
ucomiss xmm0, xmm2
movss dword [esp + 0x50], xmm1
movss dword [esp + 0x48], xmm0
lahf
test ah, 0x44
jp 0x42fe2b
ucomiss xmm1, xmm2
lahf
test ah, 0x44
jnp 0x42fef4
movss xmm1, dword [edi + 0xa8]
movss xmm0, dword [edi + 0x18]
mulss xmm0, dword [0x4a746c]
mov byte [edi + 0x1b24], 0
minss xmm1, dword [edi + 0xac]
mov byte [edi + 0x1b33], 1
mov eax, dword [0x53151c]
mulss xmm1, xmm0
movups xmm0, xmmword [eax + 0x17c0]
cvttss2si esi, xmm1
movups xmmword [esp + 8], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [eax + 0x1510]
lea eax, [esp + 8]
push eax
movss dword [esp + 0x18], xmm0
call fcn.0041e320
movss xmm1, dword [esp + 0x4c]
mov ecx, dword [esp + 0x78]
movd xmm0, esi
mov esi, dword [esp + 0x68]
cvtdq2ps xmm0, xmm0
mov dword [ecx], eax
lea eax, [esp + 0x1c]
mulss xmm1, xmm0
addss xmm1, dword [esi + 0x1c]
movss dword [esp + 0x44], xmm1
movss xmm1, dword [esp + 0x54]
mulss xmm1, xmm0
addss xmm1, dword [esi + 0x20]
movss dword [esp + 0x48], xmm1
push dword [esp + 0x48]
push dword [esp + 0x48]
push esi
push eax
call fcn.0041db70
add esp, 0x14
movss xmm0, dword [eax]
movss dword [esp + 0x54], xmm0
movss xmm0, dword [eax + 4]
movss dword [esp + 0x34], xmm0
xorps xmm2, xmm2
movss xmm0, dword [esp + 0x54]
movss xmm1, dword [0x4a7474]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x42ff3c
test dword [esi + 8], 0x100
movss dword [esi + 0x1c], xmm0
movss xmm0, dword [esp + 0x34]
movss dword [esi + 0x20], xmm0
mov ecx, dword [0x53151c]
jne 0x42ff3c
comiss xmm2, dword [ecx + 0x2d30]
jb 0x42ff3c
mov eax, dword [ecx + 0x1c]
mov dword [ecx + 0x2d30], eax
movss xmm0, dword [esp + 0x28]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x42ff8e
test dword [esi + 8], 0x100
cvttss2si eax, xmm0
movd xmm1, eax
cvttss2si eax, dword [esp + 0x2c]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esi + 0xc], xmm1
movss dword [esi + 0x10], xmm0
mov edx, dword [0x53151c]
jne 0x42ff8e
comiss xmm2, dword [edx + 0x2d30]
jb 0x42ff8e
mov ecx, dword [edx + 0x1c]
mov dword [edx + 0x2d30], ecx
mov ecx, dword [esi + 0x1c]
mov al, byte [esp + 0x5d]
mov dword [esi + 0x14], ecx
mov ecx, dword [esi + 0x20]
mov dword [esi + 0x130], 0
mov dword [esi + 0x134], 1
mov dword [esi + 0x18], ecx
pop esi
pop edi
add esp, 0x58
ret
xor al, al
pop edi
add esp, 0x58
ret