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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x78
mov eax, dword [0x5ae7a8]
mov dword [esp + 0x34], edx
mov edx, ecx
push esi
push edi
mov dword [esp + 0x10], edx
test byte [edx + 0xc], 0x42
mov dword [esp + 0x18], eax
jne 0x433ba1
cmp byte [edx + 0xc4], 0
jg 0x433ba1
cmp byte [edx + 0xc5], 0
jg 0x433ba1
cmp byte [edx + 0xab], 0
je 0x433ba1
movss xmm2, dword [eax + 0x3bb8]
xor esi, esi
movss xmm0, dword [edx + 0x4c]
movaps xmm1, xmm2
addss xmm0, dword [0x523e90]
mulss xmm2, dword [0x523e18]
mov cl, byte [eax + 0x66]
mulss xmm1, dword [0x523e98]
test cl, cl
push 4
addss xmm0, xmm2
mov byte [esp + 0x13], 0
pop edi
cmovne esi, edi
mov dword [esp + 0x40], esi
maxss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x523e68]
cvttss2si eax, xmm0
mov dword [esp + 0x34], eax
je 0x433192
movss xmm0, dword [0x523f08]
jmp 0x433195
xorps xmm0, xmm0
mov esi, dword [ebp + 0x14]
lea edi, [esp + 0x70]
mov eax, dword [esp + 0x18]
movss dword [esp + 0x2c], xmm0
movsd dword es:[edi], dword [esi]
cmp byte [eax + 0x67], 0
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
je 0x4331e8
test byte [edx + 0xc], 1
jne 0x4331e8
mov edi, edx
mov byte [esp + 0xe], 1
mov ecx, edi
mov eax, dword [edi]
movss xmm1, dword [eax + 0x37c8]
call fcn.0042bfcc
addss xmm1, xmm1
addss xmm0, xmm1
movss xmm1, dword [esp + 0x74]
subss xmm1, xmm0
movss dword [esp + 0x30], xmm1
jmp 0x4331fb
movss xmm0, dword [esp + 0x74]
mov edi, edx
mov byte [esp + 0xe], 0
movss dword [esp + 0x30], xmm0
movss xmm0, dword [0x524000]
mov ecx, str.RESIZE
movaps xmm1, xmm0
movss dword [esp + 0x1c], xmm0
movss dword [esp + 0x20], xmm0
movss dword [esp + 0x28], xmm1
movss dword [esp + 0x14], xmm0
mov dword [edi + 0x148], 1
call fcn.00437125
mov esi, dword [esp + 0x34]
xor eax, eax
mov dword [esp + 0x24], eax
cmp dword [ebp + 0xc], eax
jle 0x433623
movss xmm3, dword [edi + 0x14]
xorps xmm6, xmm6
addss xmm3, dword [edi + 0x1c]
movss xmm2, dword [edi + 0x18]
addss xmm2, dword [edi + 0x20]
imul ecx, eax, 0x18
cvtsi2ss xmm6, esi
add ecx, 0x51c0b8
subss xmm3, dword [edi + 0x14]
subss xmm2, dword [edi + 0x18]
mov dword [esp + 0x34], ecx
movss xmm0, dword [ecx + 8]
movss xmm1, dword [ecx + 0xc]
movaps xmm5, xmm0
mulss xmm3, dword [ecx]
movaps xmm4, xmm1
mulss xmm2, dword [ecx + 4]
addss xmm3, dword [edi + 0x14]
mulss xmm0, dword [esp + 0x2c]
addss xmm2, dword [edi + 0x18]
mulss xmm1, dword [esp + 0x2c]
mulss xmm5, xmm6
mulss xmm4, xmm6
addss xmm5, xmm3
subss xmm3, xmm0
addss xmm4, xmm2
subss xmm2, xmm1
movss dword [esp + 0x68], xmm5
comiss xmm3, xmm5
movss dword [esp + 0x60], xmm3
movss dword [esp + 0x64], xmm2
movss dword [esp + 0x6c], xmm4
jbe 0x4332e7
movss dword [esp + 0x60], xmm5
movss dword [esp + 0x68], xmm3
comiss xmm2, xmm4
jbe 0x4332f8
movss dword [esp + 0x64], xmm4
movss dword [esp + 0x6c], xmm2
push eax
mov ecx, edi
call fcn.0042fe1d
mov edi, eax
lea ecx, [esp + 0x60]
push 8
push 0
mov edx, edi
call fcn.00439075
push 0x40800
lea eax, [esp + 0x18]
mov edx, edi
push eax
lea eax, [esp + 0x1d]
push eax
lea ecx, [esp + 0x74]
call fcn.0045058c
mov dl, byte [esp + 0x21]
add esp, 0x14
test dl, dl
jne 0x433342
mov cl, byte [esp + 0xc]
test cl, cl
je 0x4335c3
mov edx, dword [esp + 0x24]
mov eax, edx
mov ecx, dword [esp + 0x18]
not eax
and eax, 1
add eax, 5
cmp byte [esp + 0xc], 0
mov dword [ecx + 0x4960], eax
je 0x4335c9
push 2
pop eax
cmp word [ecx + 0x370a], ax
jne 0x4333b1
test edx, edx
jne 0x4333b1
push dword [esp + 0x3c]
mov edi, dword [esp + 0x14]
lea ecx, [esp + 0x5c]
mov edx, edi
call fcn.00432b16
pop ecx
xor edx, edx
mov byte [esp + 0xf], 1
xor ecx, ecx
movss xmm1, dword [eax]
movss xmm0, dword [eax + 4]
movss dword [esp + 0x28], xmm1
movss dword [esp + 0x14], xmm0
call fcn.0042ffd9
jmp 0x4335e5
mov edx, dword [esp + 0x34]
xorps xmm0, xmm0
movss xmm3, dword [0x523e90]
movss xmm1, dword [edx + 4]
ucomiss xmm1, xmm3
lahf
test ah, 0x44
jnp 0x4333e8
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jp 0x4333de
cmp byte [esp + 0xe], 0
jne 0x4333e8
movss xmm6, dword [0x524050]
jmp 0x4333ee
movss xmm6, dword [esp + 0x30]
movss xmm2, dword [edx]
ucomiss xmm2, xmm3
lahf
test ah, 0x44
jp 0x433403
movss xmm5, dword [esp + 0x70]
jmp 0x43340b
movss xmm5, dword [0x524050]
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jp 0x43342a
movss xmm1, dword [esp + 0x7c]
movss dword [esp + 0x28], xmm1
movss xmm1, dword [0x524000]
jmp 0x433438
movss xmm1, dword [0x524000]
movss dword [esp + 0x28], xmm1
ucomiss xmm2, xmm0
lahf
test ah, 0x44
jp 0x433449
movss xmm7, dword [esp + 0x78]
jmp 0x43344c
movaps xmm7, xmm1
movss xmm4, dword [edx + 8]
xorps xmm3, xmm3
movss xmm2, dword [edx + 0xc]
movaps xmm0, xmm4
mulss xmm0, dword [esp + 0x2c]
movaps xmm1, xmm2
mulss xmm1, dword [esp + 0x2c]
cvtsi2ss xmm3, esi
xorps xmm3, xmmword [0x5243e0]
mulss xmm4, xmm3
mulss xmm2, xmm3
subss xmm4, xmm0
subss xmm2, xmm1
mulss xmm4, dword [edx]
mulss xmm2, dword [edx + 4]
addss xmm4, xmm0
movss xmm0, dword [ecx + 0xdc0]
subss xmm0, dword [ecx + 0x3ea8]
addss xmm2, xmm1
addss xmm4, xmm0
movss xmm0, dword [ecx + 0xdc4]
subss xmm0, dword [ecx + 0x3eac]
addss xmm0, xmm2
comiss xmm6, xmm0
ja 0x4334ce
movss xmm6, dword [esp + 0x28]
minss xmm6, xmm0
comiss xmm5, xmm4
ja 0x4334da
movaps xmm5, xmm7
minss xmm5, xmm4
mov edi, dword [esp + 0x10]
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x54]
movss xmm1, dword [edi + 0x14]
movss xmm0, dword [edi + 0x18]
movaps xmm2, xmm1
addss xmm1, dword [edi + 0x1c]
subss xmm2, xmm5
movaps xmm3, xmm0
addss xmm0, dword [edi + 0x20]
subss xmm3, xmm6
mulss xmm2, dword [edx]
mulss xmm3, dword [edx + 4]
addss xmm2, xmm5
subss xmm5, xmm1
addss xmm3, xmm6
subss xmm6, xmm0
movss dword [esp + 0x20], xmm2
mulss xmm5, dword [edx]
mulss xmm6, dword [edx + 4]
mov edx, edi
addss xmm5, xmm1
movss dword [esp + 0x24], xmm3
addss xmm6, xmm0
subss xmm5, xmm2
subss xmm6, xmm3
movss dword [esp + 0x4c], xmm5
movss dword [esp + 0x50], xmm6
call fcn.00432b16
pop ecx
mov ecx, dword [esp + 0x34]
xorps xmm2, xmm2
movss xmm0, dword [ecx]
ucomiss xmm0, xmm2
movss xmm0, dword [esp + 0x50]
movss dword [esp + 0x28], xmm0
lahf
test ah, 0x44
jp 0x433591
subss xmm0, dword [esp + 0x48]
movss xmm1, dword [esp + 0x1c]
subss xmm1, xmm0
movss dword [esp + 0x1c], xmm1
movss xmm0, dword [ecx + 4]
ucomiss xmm0, xmm2
movss xmm0, dword [esp + 0x54]
movss dword [esp + 0x14], xmm0
lahf
test ah, 0x44
jp 0x4335cd
subss xmm0, dword [esp + 0x4c]
movss xmm1, dword [esp + 0x20]
subss xmm1, xmm0
movss dword [esp + 0x20], xmm1
jmp 0x4335cd
mov edi, dword [esp + 0x10]
jmp 0x4335d5
mov edi, dword [esp + 0x10]
mov dl, byte [esp + 0xd]
mov cl, byte [esp + 0xc]
mov eax, dword [esp + 0x24]
test eax, eax
je 0x4335e5
test cl, cl
jne 0x4335e5
test dl, dl
je 0x433615
movss xmm1, dword [0x523e90]
xor ecx, ecx
cmp byte [esp + 0xd], cl
push 0x20
setne cl
add ecx, 0x1e
cmp byte [esp + 0x10], 0
pop eax
cmovne ecx, eax
call fcn.0042e27f
mov ecx, dword [esp + 0x24]
mov edx, dword [ebp + 0x10]
mov dword [edx + ecx*4], eax
mov eax, ecx
inc eax
mov dword [esp + 0x24], eax
cmp eax, dword [ebp + 0xc]
jl 0x433245
xor eax, eax
mov dword [esp + 0x2c], eax
cmp dword [esp + 0x40], eax
jbe 0x43391e
imul ecx, eax, 0x1c
mov dword [esp + 0x44], ecx
test eax, eax
je 0x433661
cmp eax, 1
je 0x433661
mov dword [esp + 0x34], 3
lea ecx, [esp + 0x4c]
mov dword [esp + 0x24], 0xdc4
mov dword [esp + 0x38], 0x3eac
jmp 0x43367d
mov dword [esp + 0x34], 4
lea ecx, [esp + 0x48]
mov dword [esp + 0x24], 0xdc0
mov dword [esp + 0x38], 0x3ea8
movd xmm0, esi
mov edx, edi
push ecx
cvtdq2ps xmm3, xmm0
mov dword [esp + 0x40], ecx
lea ecx, [esp + 0x64]
mov dword [esp], 0x40800000
push eax
call fcn.00432fec
mov eax, dword [esp + 0x34]
add esp, 8
add eax, 4
mov ecx, edi
push eax
call fcn.0042fe1d
mov edi, eax
lea ecx, [esp + 0x60]
push 8
push 0
mov edx, edi
call fcn.00439075
push 0x40800
lea eax, [esp + 0x18]
mov edx, edi
push eax
lea eax, [esp + 0x1d]
push eax
lea ecx, [esp + 0x74]
call fcn.0045058c
mov dl, byte [esp + 0x20]
add esp, 0x14
cmp byte [esp + 0xd], 0
mov eax, dword [esp + 0x18]
je 0x4336fc
movss xmm0, dword [eax + 0x3e8c]
comiss xmm0, dword [0x523df8]
ja 0x433704
test dl, dl
je 0x433907
mov ecx, dword [esp + 0x34]
mov dword [eax + 0x4960], ecx
test dl, dl
je 0x433907
mov edx, dword [ebp + 8]
mov ecx, dword [esp + 0x2c]
push 2
mov dword [edx], ecx
pop edx
cmp ecx, 3
je 0x43373c
cmp ecx, edx
jne 0x433732
cmp byte [esp + 0xe], 0
jne 0x43373c
movss xmm5, dword [0x524050]
jmp 0x433742
movss xmm5, dword [esp + 0x30]
cmp ecx, 1
jne 0x43375a
movss xmm0, dword [0x524000]
movss xmm3, dword [esp + 0x70]
movaps xmm1, xmm0
jmp 0x43377b
movss xmm3, dword [0x524050]
movaps xmm0, xmm3
cmp ecx, edx
jne 0x4338ec
movss xmm1, dword [esp + 0x7c]
movss xmm0, dword [0x524000]
movaps xmm2, xmm0
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x24]
movss xmm0, dword [edi + 0x14]
movss dword [esp + 0x48], xmm0
movss xmm0, dword [edi + 0x18]
movss dword [esp + 0x4c], xmm0
movss xmm0, dword [ecx + eax]
mov ecx, dword [esp + 0x38]
subss xmm0, dword [ecx + eax]
mov eax, dword [esp + 0x3c]
addss xmm0, dword [0x523f08]
movss dword [eax], xmm0
comiss xmm5, dword [esp + 0x4c]
ja 0x4337ca
movaps xmm5, xmm1
minss xmm5, dword [esp + 0x4c]
comiss xmm3, dword [esp + 0x48]
ja 0x4337da
movaps xmm3, xmm2
minss xmm3, dword [esp + 0x48]
mov eax, dword [esp + 0x44]
lea ecx, [esp + 0x58]
movss xmm1, dword [edi + 0x14]
mov edx, edi
movss xmm0, dword [edi + 0x18]
movaps xmm4, xmm1
addss xmm1, dword [edi + 0x1c]
movss xmm7, dword [eax + 0x51bf04]
subss xmm4, xmm3
minss xmm7, dword [eax + 0x51bf0c]
movss xmm2, dword [eax + 0x51bf00]
movaps xmm6, xmm0
minss xmm2, dword [eax + 0x51bf08]
addss xmm0, dword [edi + 0x20]
subss xmm6, xmm5
lea eax, [esp + 0x50]
movss dword [esp + 0x3c], xmm7
push eax
mulss xmm4, xmm2
mulss xmm6, xmm7
addss xmm4, xmm3
movss dword [esp + 0x48], xmm2
subss xmm3, xmm1
addss xmm6, xmm5
subss xmm5, xmm0
movss dword [esp + 0x20], xmm4
mulss xmm3, xmm2
mulss xmm5, xmm7
addss xmm3, xmm1
movss dword [esp + 0x24], xmm6
addss xmm5, xmm0
subss xmm3, xmm4
subss xmm5, xmm6
movss dword [esp + 0x54], xmm3
movss dword [esp + 0x58], xmm5
call fcn.00432b16
movss xmm0, dword [esp + 0x48]
xorps xmm2, xmm2
ucomiss xmm0, xmm2
pop ecx
movss xmm0, dword [esp + 0x58]
movss dword [esp + 0x28], xmm0
lahf
test ah, 0x44
jp 0x4338b9
subss xmm0, dword [esp + 0x50]
movss xmm1, dword [esp + 0x1c]
subss xmm1, xmm0
movss dword [esp + 0x1c], xmm1
movss xmm0, dword [esp + 0x3c]
ucomiss xmm0, xmm2
movss xmm0, dword [esp + 0x5c]
movss dword [esp + 0x14], xmm0
lahf
test ah, 0x44
jp 0x43390b
subss xmm0, dword [esp + 0x54]
movss xmm1, dword [esp + 0x20]
subss xmm1, xmm0
movss dword [esp + 0x20], xmm1
jmp 0x43390b
movss xmm1, dword [0x524000]
test ecx, ecx
jne 0x433773
movss xmm2, dword [esp + 0x78]
jmp 0x43377e
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x2c]
inc eax
mov dword [esp + 0x2c], eax
cmp eax, dword [esp + 0x40]
jl 0x433633
mov eax, dword [0x5ae7a8]
mov esi, dword [esp + 0x18]
mov eax, dword [eax + 0x3e48]
dec dword [eax + 0xe4]
and dword [edi + 0x148], 0
mov eax, dword [esi + 0x4934]
test eax, eax
je 0x433b1d
cmp dword [eax + 0x300], edi
jne 0x433b1d
mov eax, dword [esi + 0x47f8]
xorps xmm5, xmm5
xorps xmm1, xmm1
xorps xmm3, xmm3
cmp eax, 2
jne 0x43398b
cmp byte [esi + 0xddd], 0
je 0x433b1d
push 0x204
push 0x203
push 0x202
mov edx, 0x201
jmp 0x4339a4
cmp eax, 3
jne 0x4339b9
push 0x272
push 0x271
push 0x270
mov edx, 0x26f
lea ecx, [esp + 0x64]
call fcn.004372f7
add esp, 0xc
movss xmm3, dword [eax + 4]
movss xmm1, dword [eax]
ucomiss xmm1, xmm5
lahf
test ah, 0x44
jp 0x4339cf
ucomiss xmm3, xmm5
lahf
test ah, 0x44
jnp 0x433b1d
movss xmm2, dword [esi + 0x58]
minss xmm2, dword [esi + 0x5c]
movss xmm0, dword [esi + 0x18]
mulss xmm0, dword [0x523fcc]
push 0x20
pop eax
mov ecx, eax
mulss xmm2, xmm0
movaps xmm0, xmm2
mulss xmm2, xmm3
mulss xmm0, xmm1
addss xmm2, dword [esi + 0x4958]
movss xmm1, dword [esp + 0x70]
addss xmm0, dword [esi + 0x4954]
movss dword [esi + 0x4958], xmm2
movss dword [esi + 0x4954], xmm0
subss xmm1, dword [edi + 0x14]
subss xmm1, dword [edi + 0x1c]
maxss xmm0, xmm1
movss xmm1, dword [esp + 0x30]
subss xmm1, dword [edi + 0x18]
subss xmm1, dword [edi + 0x20]
movss dword [esi + 0x4954], xmm0
mov byte [esi + 0x4948], 0
mov byte [esi + 0x4803], 1
maxss xmm2, xmm1
movss xmm1, dword [0x523e90]
movss dword [esi + 0x4958], xmm2
call fcn.0042e27f
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
cvttss2si esi, dword [esi + 0x4954]
mov eax, dword [esp + 0x18]
cvttss2si edi, dword [eax + 0x4958]
movd xmm0, esi
cvtdq2ps xmm0, xmm0
movd xmm1, edi
ucomiss xmm0, xmm5
cvtdq2ps xmm1, xmm1
lahf
test ah, 0x44
jp 0x433aa6
ucomiss xmm1, xmm5
lahf
test ah, 0x44
jnp 0x433b25
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x54]
addss xmm0, dword [edx + 0x24]
movss dword [esp + 0x5c], xmm0
movaps xmm0, xmm1
addss xmm0, dword [edx + 0x28]
movss dword [esp + 0x60], xmm0
call fcn.00432b16
pop ecx
movss xmm1, dword [eax]
movss xmm2, dword [eax + 4]
mov eax, dword [esp + 0x18]
movss dword [esp + 0x28], xmm1
movd xmm1, esi
cvtdq2ps xmm1, xmm1
movss xmm0, dword [eax + 0x4954]
subss xmm0, xmm1
movd xmm1, edi
cvtdq2ps xmm1, xmm1
movss dword [eax + 0x4954], xmm0
movss xmm0, dword [eax + 0x4958]
subss xmm0, xmm1
movss dword [eax + 0x4958], xmm0
jmp 0x433b2b
movss xmm2, dword [esp + 0x14]
jmp 0x433b2f
movss xmm2, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
movss xmm1, dword [0x524000]
movss xmm0, dword [esp + 0x28]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x433b57
mov ecx, edi
movss dword [edi + 0x24], xmm0
movss dword [edi + 0x28], xmm2
call fcn.0043e483
movss xmm0, dword [esp + 0x1c]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x433b8f
cvttss2si eax, xmm0
mov ecx, edi
movd xmm1, eax
cvttss2si eax, dword [esp + 0x20]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x14], xmm1
movss dword [edi + 0x18], xmm0
call fcn.0043e483
mov ecx, dword [edi + 0x24]
mov edx, dword [edi + 0x28]
mov al, byte [esp + 0xf]
mov dword [edi + 0x1c], ecx
mov dword [edi + 0x20], edx
jmp 0x433ba3
xor al, al
pop edi
pop esi
mov esp, ebp
pop ebp
ret