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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x78
push esi
push edi
mov edi, ecx
mov dword [esp + 0x3c], edx
mov edx, dword [0x629148]
mov dword [esp + 0x10], edi
mov dword [esp + 0x24], edx
test byte [edi + 0xc], 0x42
jne 0x45dc54
cmp byte [edi + 0xc4], 0
jg 0x45dc54
cmp byte [edi + 0xc5], 0
jg 0x45dc54
cmp byte [edi + 0xab], 0
je 0x45dc54
movss xmm2, dword [edx + 0x3bb8]
xor eax, eax
movss xmm0, dword [edi + 0x4c]
movaps xmm1, xmm2
addss xmm0, dword [0x4c60b8]
mulss xmm2, dword [0x4c605c]
mov esi, 4
mov cl, byte [edx + 0x66]
mulss xmm1, dword [0x4c60c0]
test cl, cl
mov byte [esp + 0xf], 0
addss xmm0, xmm2
cmovne eax, esi
mov dword [esp + 0x40], eax
maxss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x4c6098]
cvttss2si esi, xmm0
je 0x45d191
movss xmm0, dword [0x4c6128]
movss dword [esp + 0x2c], xmm0
jmp 0x45d19a
xorps xmm2, xmm2
movss dword [esp + 0x2c], xmm2
cmp byte [edx + 0x67], 0
mov eax, dword [ebp + 0x14]
movups xmm0, xmmword [eax]
movups xmmword [esp + 0x70], xmm0
je 0x45d1fc
test byte [edi + 0xc], 1
jne 0x45d1fc
mov ecx, dword [edi]
mov eax, dword [edi + 0x2f8]
mov byte [esp + 0xe], 1
movss xmm1, dword [ecx + 0x3bbc]
mulss xmm1, dword [edi + 0x25c]
test eax, eax
je 0x45d1da
mulss xmm1, dword [eax + 0x25c]
movss xmm0, dword [ecx + 0x37c8]
addss xmm0, xmm0
addss xmm0, xmm1
movss xmm1, dword [esp + 0x74]
subss xmm1, xmm0
movss dword [esp + 0x30], xmm1
jmp 0x45d20d
movss xmm0, dword [esp + 0x74]
mov byte [esp + 0xe], 0
movss dword [esp + 0x30], xmm0
movss xmm1, dword [0x4c6208]
mov ecx, str.RESIZE
movaps xmm0, xmm1
movss dword [esp + 0x18], xmm1
movss dword [esp + 0x1c], xmm1
movss dword [esp + 0x28], xmm0
movss dword [esp + 0x14], xmm1
mov dword [edi + 0x148], 1
call fcn.00461cf0
xor edx, edx
mov dword [esp + 0x20], edx
cmp dword [ebp + 0xc], edx
jle 0x45d687
movss xmm0, dword [edi + 0x14]
lea eax, [edx + edx*2]
movss xmm1, dword [edi + 0x18]
movaps xmm3, xmm0
addss xmm3, dword [edi + 0x1c]
movaps xmm2, xmm1
mov dword [esp + 0x34], eax
addss xmm2, dword [edi + 0x20]
xorps xmm6, xmm6
cvtsi2ss xmm6, esi
subss xmm3, xmm0
subss xmm2, xmm1
mulss xmm3, dword [eax*8 + 0x4ac588]
mulss xmm2, dword [eax*8 + 0x4ac58c]
addss xmm3, xmm0
movss xmm0, dword [eax*8 + 0x4ac590]
movaps xmm5, xmm0
mulss xmm0, dword [esp + 0x2c]
addss xmm2, xmm1
mulss xmm5, xmm6
movss xmm1, dword [eax*8 + 0x4ac594]
movaps xmm4, xmm1
mulss xmm1, dword [esp + 0x2c]
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 0x45d302
movss dword [esp + 0x60], xmm5
movss dword [esp + 0x68], xmm3
comiss xmm2, xmm4
jbe 0x45d313
movss dword [esp + 0x64], xmm4
movss dword [esp + 0x6c], xmm2
push edx
mov ecx, edi
call fcn.00458a10
mov edi, eax
lea ecx, [esp + 0x60]
push 8
push 0
mov edx, edi
call fcn.004641a0
push 0x40800
lea eax, [esp + 0x18]
mov edx, edi
push eax
lea eax, [esp + 0x1d]
push eax
lea ecx, [esp + 0x74]
call fcn.00481bf0
mov cl, byte [esp + 0x21]
add esp, 0x14
test cl, cl
jne 0x45d35d
mov al, byte [esp + 0xc]
test al, al
je 0x45d634
mov edx, dword [esp + 0x20]
mov eax, edx
mov ecx, dword [esp + 0x24]
not eax
and eax, 1
add eax, 5
mov dword [ecx + 0x4960], eax
mov al, byte [esp + 0xc]
test al, al
je 0x45d63e
cmp word [ecx + 0x370a], 2
jne 0x45d3e1
test edx, edx
jne 0x45d3e1
push dword [esp + 0x3c]
mov edi, dword [esp + 0x14]
lea ecx, [esp + 0x5c]
mov edx, edi
call fcn.0045ca60
add esp, 4
mov byte [esp + 0xf], 1
xor edx, edx
xor ecx, ecx
movss xmm0, dword [eax]
movss dword [esp + 0x28], xmm0
movss xmm0, dword [eax + 4]
movss dword [esp + 0x14], xmm0
call fcn.00458b20
mov edx, dword [esp + 0x20]
cmp byte [esp + 0xc], 0
je 0x45d65a
mov ecx, 0x20
jmp 0x45d666
mov edx, dword [esp + 0x34]
xorps xmm1, xmm1
movss xmm3, dword [0x4c60b8]
movss xmm7, dword [edx*8 + 0x4ac58c]
ucomiss xmm7, xmm3
lahf
test ah, 0x44
jnp 0x45d41f
ucomiss xmm7, xmm1
lahf
test ah, 0x44
jp 0x45d412
cmp byte [esp + 0xe], 0
jne 0x45d41f
movss xmm2, dword [0x4c6258]
movaps xmm6, xmm2
jmp 0x45d42d
movss xmm6, dword [esp + 0x30]
movss xmm2, dword [0x4c6258]
movss xmm0, dword [edx*8 + 0x4ac588]
ucomiss xmm0, xmm3
lahf
test ah, 0x44
jp 0x45d447
movss xmm5, dword [esp + 0x70]
jmp 0x45d44a
movaps xmm5, xmm2
ucomiss xmm7, xmm1
lahf
test ah, 0x44
jp 0x45d469
movss xmm2, dword [esp + 0x7c]
movss dword [esp + 0x28], xmm2
movss xmm2, dword [0x4c6208]
jmp 0x45d477
movss xmm2, dword [0x4c6208]
movss dword [esp + 0x28], xmm2
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x45d48e
movss xmm0, dword [esp + 0x78]
movss dword [esp + 0x1c], xmm0
jmp 0x45d494
movss dword [esp + 0x1c], xmm2
movss xmm4, dword [edx*8 + 0x4ac590]
xorps xmm3, xmm3
movss xmm2, dword [edx*8 + 0x4ac594]
movaps xmm0, xmm4
mulss xmm0, dword [esp + 0x2c]
movaps xmm1, xmm2
mulss xmm1, dword [esp + 0x2c]
cvtsi2ss xmm3, esi
xorps xmm3, xmmword [0x4c6500]
mulss xmm4, xmm3
mulss xmm2, xmm3
subss xmm4, xmm0
subss xmm2, xmm1
mulss xmm4, dword [edx*8 + 0x4ac588]
mulss xmm2, xmm7
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 0x45d522
movss xmm6, dword [esp + 0x28]
minss xmm6, xmm0
comiss xmm5, xmm4
ja 0x45d531
movss xmm5, dword [esp + 0x1c]
minss xmm5, xmm4
mov edi, dword [esp + 0x10]
lea eax, [esp + 0x48]
movss xmm4, dword [edx*8 + 0x4ac588]
lea ecx, [esp + 0x50]
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, xmm5
movaps xmm3, xmm1
addss xmm1, dword [edi + 0x20]
subss xmm3, xmm6
mulss xmm2, xmm4
mulss xmm3, xmm7
addss xmm2, xmm5
subss xmm5, xmm0
addss xmm3, xmm6
subss xmm6, xmm1
movss dword [esp + 0x1c], xmm2
mulss xmm5, xmm4
mulss xmm6, xmm7
addss xmm5, xmm0
movss dword [esp + 0x20], xmm3
addss xmm6, xmm1
subss xmm5, xmm2
subss xmm6, xmm3
movss dword [esp + 0x4c], xmm5
movss dword [esp + 0x50], xmm6
call fcn.0045ca60
mov ecx, dword [esp + 0x38]
add esp, 4
xorps xmm2, xmm2
movss xmm0, dword [ecx*8 + 0x4ac588]
ucomiss xmm0, xmm2
movss xmm0, dword [esp + 0x50]
movss dword [esp + 0x28], xmm0
lahf
test ah, 0x44
jp 0x45d5f6
subss xmm0, dword [esp + 0x48]
movss xmm1, dword [esp + 0x18]
subss xmm1, xmm0
movss dword [esp + 0x18], xmm1
movss xmm0, dword [ecx*8 + 0x4ac58c]
ucomiss xmm0, xmm2
movss xmm0, dword [esp + 0x54]
movss dword [esp + 0x14], xmm0
lahf
test ah, 0x44
jp 0x45d62a
subss xmm0, dword [esp + 0x4c]
movss xmm1, dword [esp + 0x1c]
subss xmm1, xmm0
movss dword [esp + 0x1c], xmm1
mov edx, dword [esp + 0x20]
mov al, byte [esp + 0xc]
jmp 0x45d642
mov edi, dword [esp + 0x10]
mov edx, dword [esp + 0x20]
jmp 0x45d646
mov edi, dword [esp + 0x10]
mov cl, byte [esp + 0xd]
test edx, edx
je 0x45d3cc
test al, al
jne 0x45d3d7
test cl, cl
je 0x45d679
xor ecx, ecx
cmp byte [esp + 0xd], cl
setne cl
add ecx, 0x1e
movss xmm1, dword [0x4c60b8]
call fcn.00455da0
mov ecx, dword [ebp + 0x10]
mov dword [ecx + edx*4], eax
inc edx
mov dword [esp + 0x20], edx
cmp edx, dword [ebp + 0xc]
jl 0x45d253
xor edi, edi
mov dword [esp + 0x2c], edi
cmp dword [esp + 0x40], edi
jbe 0x45d996
nop word [eax + eax]
lea eax, [edi*8]
sub eax, edi
shl eax, 2
mov dword [esp + 0x44], eax
test edi, edi
je 0x45d6d7
cmp edi, 1
je 0x45d6d7
mov dword [esp + 0x34], 3
lea eax, [esp + 0x4c]
mov dword [esp + 0x20], 0xdc4
mov dword [esp + 0x38], 0x3eac
jmp 0x45d6f3
mov dword [esp + 0x34], 4
lea eax, [esp + 0x48]
mov dword [esp + 0x20], 0xdc0
mov dword [esp + 0x38], 0x3ea8
mov edx, dword [esp + 0x10]
movd xmm0, esi
push ecx
cvtdq2ps xmm3, xmm0
mov dword [esp], 0x40800000
lea ecx, [esp + 0x64]
push edi
mov dword [esp + 0x44], eax
call fcn.0045cfb0
add esp, 8
lea eax, [edi + 4]
mov ecx, edx
push eax
call fcn.00458a10
mov edi, eax
lea ecx, [esp + 0x60]
push 8
push 0
mov edx, edi
call fcn.004641a0
push 0x40800
lea eax, [esp + 0x18]
mov edx, edi
push eax
lea eax, [esp + 0x1d]
push eax
lea ecx, [esp + 0x74]
call fcn.00481bf0
mov dl, byte [esp + 0x20]
add esp, 0x14
cmp byte [esp + 0xd], 0
mov ecx, dword [esp + 0x24]
je 0x45d770
movss xmm0, dword [ecx + 0x3e8c]
comiss xmm0, dword [0x4c6040]
ja 0x45d778
test dl, dl
je 0x45d983
mov eax, dword [esp + 0x34]
mov edi, dword [esp + 0x2c]
mov dword [ecx + 0x4960], eax
test dl, dl
je 0x45d987
mov eax, dword [ebp + 8]
mov dword [eax], edi
cmp edi, 3
je 0x45d7b1
cmp edi, 2
jne 0x45d7a4
cmp byte [esp + 0xe], 0
jne 0x45d7b1
movss xmm0, dword [0x4c6258]
movaps xmm4, xmm0
jmp 0x45d7bf
movss xmm4, dword [esp + 0x30]
movss xmm0, dword [0x4c6258]
cmp edi, 1
jne 0x45d952
movss xmm3, dword [esp + 0x70]
movss xmm1, dword [0x4c6208]
movss xmm2, dword [0x4c6208]
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x20]
movss xmm0, dword [eax + 0x14]
movss dword [esp + 0x48], xmm0
movss xmm0, dword [eax + 0x18]
movss dword [esp + 0x4c], xmm0
movss xmm0, dword [edx + ecx]
mov edx, dword [esp + 0x38]
subss xmm0, dword [edx + ecx]
mov ecx, dword [esp + 0x3c]
addss xmm0, dword [0x4c6128]
movss dword [ecx], xmm0
movss xmm0, dword [esp + 0x4c]
comiss xmm4, xmm0
ja 0x45d82c
movaps xmm4, xmm1
minss xmm4, xmm0
movss xmm0, dword [esp + 0x48]
comiss xmm3, xmm0
ja 0x45d83e
movaps xmm3, xmm2
minss xmm3, xmm0
mov ecx, dword [esp + 0x44]
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 + 0x4ac3cc]
subss xmm5, xmm3
minss xmm7, dword [ecx + 0x4ac3d4]
movss xmm2, dword [ecx + 0x4ac3c8]
movaps xmm6, xmm1
minss xmm2, dword [ecx + 0x4ac3d0]
addss xmm1, dword [eax + 0x20]
subss xmm6, xmm4
lea ecx, [esp + 0x50]
movss dword [esp + 0x3c], xmm7
push ecx
mulss xmm5, xmm2
lea ecx, [esp + 0x5c]
mulss xmm6, xmm7
addss xmm5, xmm3
movss dword [esp + 0x48], xmm2
subss xmm3, xmm0
addss xmm6, xmm4
subss xmm4, xmm1
movss dword [esp + 0x1c], xmm5
mulss xmm3, xmm2
mulss xmm4, xmm7
addss xmm3, xmm0
movss dword [esp + 0x20], xmm6
addss xmm4, xmm1
subss xmm3, xmm5
subss xmm4, xmm6
movss dword [esp + 0x54], xmm3
movss dword [esp + 0x58], xmm4
call fcn.0045ca60
movss xmm0, dword [esp + 0x48]
add esp, 4
xorps xmm2, xmm2
ucomiss xmm0, xmm2
movss xmm0, dword [esp + 0x58]
movss dword [esp + 0x28], xmm0
lahf
test ah, 0x44
jp 0x45d91f
subss xmm0, dword [esp + 0x50]
movss xmm1, dword [esp + 0x18]
subss xmm1, xmm0
movss dword [esp + 0x18], xmm1
movss xmm0, dword [esp + 0x3c]
ucomiss xmm0, xmm2
movss xmm0, dword [esp + 0x5c]
movss dword [esp + 0x14], xmm0
lahf
test ah, 0x44
jp 0x45d987
subss xmm0, dword [esp + 0x54]
movss xmm1, dword [esp + 0x1c]
subss xmm1, xmm0
movss dword [esp + 0x1c], xmm1
jmp 0x45d987
movaps xmm3, xmm0
cmp edi, 2
jne 0x45d965
movss xmm1, dword [esp + 0x7c]
jmp 0x45d7d6
movss xmm1, dword [0x4c6208]
movaps xmm3, xmm0
test edi, edi
jne 0x45d7d6
movss xmm2, dword [esp + 0x78]
jmp 0x45d7de
mov edi, dword [esp + 0x2c]
inc edi
mov dword [esp + 0x2c], edi
cmp edi, dword [esp + 0x40]
jl 0x45d6a0
mov esi, dword [0x629148]
xorps xmm7, xmm7
mov edx, dword [esp + 0x10]
mov edi, dword [esp + 0x24]
mov eax, dword [esi + 0x3e48]
dec dword [eax + 0xe4]
mov dword [edx + 0x148], 0
mov eax, dword [edi + 0x4934]
test eax, eax
je 0x45db9e
cmp dword [eax + 0x300], edx
jne 0x45db9e
mov eax, dword [edi + 0x47f8]
xorps xmm2, xmm2
xorps xmm3, xmm3
cmp eax, 2
jne 0x45da13
cmp byte [edi + 0xddd], 0
je 0x45da38
movss xmm3, dword [esi + 0x2e30]
movss xmm2, dword [esi + 0x2e10]
subss xmm3, dword [esi + 0x2e20]
subss xmm2, dword [esi + 0x2e00]
jmp 0x45da38
cmp eax, 3
jne 0x45da38
movss xmm3, dword [esi + 0x3510]
movss xmm2, dword [esi + 0x34f0]
subss xmm3, dword [esi + 0x3500]
subss xmm2, dword [esi + 0x34e0]
ucomiss xmm2, xmm7
lahf
test ah, 0x44
jp 0x45da4e
ucomiss xmm3, xmm7
lahf
test ah, 0x44
jnp 0x45db9e
movss xmm1, dword [edi + 0x58]
mov ecx, 0x20
minss xmm1, dword [edi + 0x5c]
movss xmm0, dword [edi + 0x18]
mulss xmm0, dword [0x4c61d8]
mulss xmm1, xmm0
movss xmm0, dword [esp + 0x70]
mulss xmm2, xmm1
mulss xmm3, xmm1
addss xmm2, dword [edi + 0x4954]
movss xmm1, dword [0x4c60b8]
addss xmm3, dword [edi + 0x4958]
movss dword [edi + 0x4954], xmm2
movss dword [edi + 0x4958], xmm3
subss xmm0, dword [edx + 0x14]
subss xmm0, dword [edx + 0x1c]
maxss xmm2, xmm0
movss xmm0, dword [esp + 0x30]
subss xmm0, dword [edx + 0x18]
subss xmm0, dword [edx + 0x20]
movss dword [edi + 0x4954], xmm2
mov byte [edi + 0x4948], 0
mov byte [edi + 0x4803], 1
maxss xmm3, xmm0
movss dword [edi + 0x4958], xmm3
call fcn.00455da0
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
cvttss2si esi, dword [edi + 0x4954]
cvttss2si edi, dword [edi + 0x4958]
movd xmm0, esi
cvtdq2ps xmm0, xmm0
movd xmm1, edi
ucomiss xmm0, xmm7
cvtdq2ps xmm1, xmm1
lahf
test ah, 0x44
jp 0x45db22
ucomiss xmm1, xmm7
lahf
test ah, 0x44
jnp 0x45dba6
addss xmm0, dword [edx + 0x24]
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x54]
movss dword [esp + 0x5c], xmm0
movaps xmm0, xmm1
addss xmm0, dword [edx + 0x28]
movss dword [esp + 0x60], xmm0
call fcn.0045ca60
mov edx, dword [esp + 0x28]
add esp, 4
movd xmm2, esi
xorps xmm7, xmm7
cvtdq2ps xmm2, xmm2
movss xmm0, dword [eax]
movss xmm1, dword [eax + 4]
movss dword [esp + 0x28], xmm0
movss xmm0, dword [edx + 0x4954]
subss xmm0, xmm2
movd xmm2, edi
cvtdq2ps xmm2, xmm2
movss dword [edx + 0x4954], xmm0
movss xmm0, dword [edx + 0x4958]
subss xmm0, xmm2
movss dword [edx + 0x4958], xmm0
mov edx, dword [esp + 0x10]
jmp 0x45dbac
movss xmm1, dword [esp + 0x14]
jmp 0x45dbb2
movss xmm1, dword [esp + 0x14]
mov esi, dword [0x629148]
movss xmm0, dword [esp + 0x28]
movss xmm2, dword [0x4c6208]
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jnp 0x45dbee
test dword [edx + 0xc], 0x100
movss dword [edx + 0x24], xmm0
movss dword [edx + 0x28], xmm1
jne 0x45dbee
comiss xmm7, dword [esi + 0x5a44]
jb 0x45dbee
mov eax, dword [esi + 0x1c]
mov dword [esi + 0x5a44], eax
movss xmm0, dword [esp + 0x18]
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jnp 0x45dc3a
test dword [edx + 0xc], 0x100
cvttss2si eax, xmm0
movd xmm1, eax
cvttss2si eax, dword [esp + 0x1c]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edx + 0x14], xmm1
movss dword [edx + 0x18], xmm0
jne 0x45dc3a
comiss xmm7, dword [esi + 0x5a44]
jb 0x45dc3a
mov ecx, dword [esi + 0x1c]
mov dword [esi + 0x5a44], ecx
mov esi, dword [esp + 0x10]
mov ecx, dword [edx + 0x24]
mov edx, dword [edx + 0x28]
mov al, byte [esp + 0xf]
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