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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3c
mov eax, dword [0x582904]
xor eax, esp
mov dword [esp + 0x38], eax
mov edx, ecx
push ebx
push esi
push edi
cmp word [edx + 0x1e], 0xd
mov dword [esp + 0x18], edx
jne 0x45e049
mov eax, dword [edx + 0x18]
shr eax, 0xb
test al, 1
je 0x45e049
mov esi, dword [edx + 0xd8]
mov ebx, dword [0x5823fc]
mov eax, dword [esi + 0x20]
mov ecx, dword [eax - 4]
mov eax, dword [ebx + 0x220]
mov eax, dword [eax + ecx*4]
mov eax, dword [eax + 4]
mov edi, dword [eax + 0xd0]
test edi, edi
je 0x45e049
movzx eax, word [edx + 0x20]
xor edx, edx
cmp eax, 0x12
mov ecx, eax
mov eax, dword [esi + 4]
cmovne edx, ecx
lea ecx, [edx + edx*4]
lea ecx, [eax + ecx*2]
mov eax, dword [ebx + 0x24]
lea eax, [eax + ecx*2]
shl eax, 6
mov dword [esp + 0x20], eax
mov esi, dword [eax + 0x588f64]
cmp esi, dword [eax + 0x588f68]
je 0x45e011
nop dword [eax + eax]
movzx eax, word [edi + 0x20]
cmp dword [esi + 0x18], eax
jne 0x45dffe
mov eax, dword [ebp + 8]
cmp dword [esi + 0x1c], eax
jne 0x45dffe
movss xmm0, dword [esi + 0x20]
mov eax, dword [esp + 0x18]
movss xmm2, dword [edi + 0x28]
movss dword [esp + 0x1c], xmm0
movss xmm0, dword [esi + 0x24]
subss xmm2, dword [eax + 0x28]
movss dword [esp + 0x14], xmm0
movss xmm0, dword [edi + 0x2c]
subss xmm0, dword [eax + 0x2c]
movss dword [esp + 0x10], xmm2
movaps xmm1, xmm0
movss dword [esp + 0xc], xmm0
mulss xmm1, xmm0
movaps xmm0, xmm2
mulss xmm0, xmm2
addss xmm1, xmm0
cvtps2pd xmm0, xmm1
call fcn.00513680
movss xmm2, dword [esp + 0x10]
cvtsd2ss xmm0, xmm0
ucomiss xmm0, dword [0x54172c]
lahf
test ah, 0x44
jnp 0x45de87
movss xmm1, dword [0x5415a0]
divss xmm1, xmm0
movaps xmm0, xmm1
mulss xmm2, xmm0
movss xmm0, dword [esp + 0xc]
mulss xmm0, xmm1
movss dword [esp + 0xc], xmm0
cvtps2pd xmm0, xmm2
call fcn.00516770
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
xorps xmm0, xmm0
comiss xmm0, dword [esp + 0xc]
mulss xmm1, dword [0x544bdc]
jbe 0x45deb6
movss xmm0, dword [0x542150]
subss xmm0, xmm1
jmp 0x45deb9
movaps xmm0, xmm1
mulss xmm0, dword [0x5420e0]
movss dword [esp + 0x10], xmm0
cvtps2pd xmm0, xmm0
call fcn.005134b0
movss xmm1, dword [esp + 0x10]
cvtsd2ss xmm0, xmm0
movss dword [esp + 0xc], xmm0
cvtps2pd xmm0, xmm1
call fcn.005132f0
cmp dword [esi + 0x14], 0x10
xorps xmm2, xmm2
movss xmm5, dword [esp + 0x1c]
mov eax, esi
movss xmm4, dword [esp + 0x14]
movaps xmm1, xmm5
mulss xmm5, dword [esp + 0xc]
cvtsd2ss xmm2, xmm0
movaps xmm0, xmm4
mulss xmm0, dword [esp + 0xc]
mulss xmm1, xmm2
mulss xmm4, xmm2
subss xmm1, xmm0
addss xmm4, xmm5
addss xmm1, dword [edi + 0x28]
addss xmm4, dword [edi + 0x2c]
movss dword [esp + 0x24], xmm1
movss dword [esp + 0x28], xmm4
jb 0x45df3c
mov eax, dword [esi]
lea ecx, [esp + 0x24]
push ecx
mov ecx, dword [0x5823fc]
push eax
call fcn.0046c980
mov eax, dword [edi + 0xcc]
cmp dword [eax + 0x38], 0
jge 0x45df91
or dword [edi + 0x18], 0x80
mov dword [edi + 0xfc], 0x32
movd xmm0, dword [eax + 0x38]
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x74], xmm0
movd xmm0, dword [eax + 0x3c]
cvttss2si eax, dword [edi + 0x34]
cvtdq2ps xmm0, xmm0
neg eax
movss dword [edi + 0x78], xmm0
mov dword [edi + 0x84], eax
cmp dword [esi + 0x14], 0x10
mov edx, esi
jb 0x45df9b
mov edx, dword [esi]
mov ecx, edx
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0xf
mov byte [esp + 0x2c], 0
lea ebx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x45dfb5
sub ecx, ebx
push ecx
push edx
lea ecx, [esp + 0x34]
call fcn.00405940
lea eax, [esp + 0x2c]
push eax
call fcn.0045fa80
add esp, 4
lea ecx, [esp + 0x2c]
fstp dword [esp + 0x14]
call fcn.00403450
movss xmm0, dword [esp + 0x14]
ucomiss xmm0, dword [0x54172c]
lahf
test ah, 0x44
jnp 0x45dffe
movss dword [0x582354], xmm0
mov eax, dword [esp + 0x20]
add esi, 0x28
cmp esi, dword [eax + 0x588f68]
jne 0x45dde0
mov eax, dword [edi + 0xec]
test eax, eax
je 0x45e049
push eax
call fcn.0045f770
add esp, 4
test eax, eax
je 0x45e049
mov ecx, dword [ebp + 8]
cmp dword [eax + 8], ecx
jne 0x45e049
add eax, 0xc
cmp dword [eax + 0x14], 0x10
jb 0x45e03b
mov eax, dword [eax]
mov ecx, dword [0x584e74]
push 0
push eax
call fcn.0043fd60
mov ecx, dword [esp + 0x44]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0050b540
mov esp, ebp
pop ebp
ret 8