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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x1e8
mov eax, dword [0x4fc00c]
xor eax, esp
mov dword [esp + 0x1e4], eax
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x18]
push edi
mov edi, ecx
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x9c], eax
mov eax, dword [ebp + 0x1c]
cmp byte [edi], 0
mov dword [esp + 0x24], edi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x28], eax
je 0x403ea8
mov al, byte [edi + 0x7c]
movss xmm2, dword [0x4f3cd0]
cmp al, 2
je 0x40358b
test al, al
jne 0x40312e
push dword [ebp + 0x20]
call fcn.00402950
jmp 0x4031cd
cmp al, 1
jne 0x4031cd
inc word [edi + 0x7e]
cmp word [edi + 0x7e], 5
jle 0x403151
xor eax, eax
mov byte [edi + 0x184], 0x32
mov word [edi + 0x7e], ax
mov byte [edi + 0x7c], al
movss xmm0, dword [edi + 0x188]
movss dword [esp + 0x3c], xmm0
movss dword [edi + 0x38], xmm0
mov dword [edi + 0x34], 0
movss xmm0, dword [edi + 0x194]
mulss xmm0, dword [0x4f3bc8]
movss dword [esp + 0x10], xmm0
call fcn.00401190
movss dword [esp + 0x20], xmm0
movss xmm0, dword [esp + 0x10]
call fcn.004011b0
movss xmm4, dword [esp + 0x3c]
xorps xmm5, xmm5
movss xmm1, dword [esp + 0x20]
movaps xmm2, xmm4
mulss xmm4, dword [esp + 0x20]
mulss xmm2, xmm0
mulss xmm1, xmm5
mulss xmm0, xmm5
addss xmm2, xmm1
subss xmm4, xmm0
movss dword [edi + 0x30], xmm2
movss dword [edi + 0x38], xmm4
cmp dword [edi + 0x168], 0
mov edx, 1
jg 0x40337d
movzx ecx, byte [edi + 0x186]
mov eax, edx
movss xmm0, dword [edi + 0x20]
cmp ecx, edx
movss dword [esp + 0x28], xmm0
movss xmm0, dword [edi + 0x28]
cmova eax, ecx
mov byte [edi + 0x7c], 2
mov dword [esp + 0x2c], 0x3f333333
movss dword [esp + 0x30], xmm0
cmp eax, 5
jae 0x403239
cmp ecx, edx
mov eax, edx
cmova eax, ecx
mov dword [esp + 0x10], eax
dec eax
cmp eax, 5
ja case.0x403225.1
jmp dword [eax*4 + 0x40418c]
mov byte [esp + 0x17], 0
jmp 0x403246
mov byte [esp + 0x17], dl
jmp 0x403246
mov dword [esp + 0x10], 5
mov byte [esp + 0x17], 2
movzx eax, word [esi + 8]
xor edx, edx
mov ecx, eax
mov dword [esp + 0x20], ecx
xor ecx, ecx
cmp cx, ax
jae 0x4032cd
nop dword [eax]
mov edi, dword [esp + 0x1c]
movzx esi, dx
imul ecx, esi, 0x2c
add ecx, dword [edi + 4]
mov edi, dword [esp + 0x24]
cmp byte [ecx], 0
je 0x40327e
inc edx
cmp dx, ax
jb 0x403260
jmp 0x4032cd
movq xmm0, qword [esp + 0x28]
mov eax, dword [esp + 0x30]
movq qword [ecx + 4], xmm0
mov dword [ecx + 0xc], eax
mov al, byte [esp + 0x17]
mov byte [ecx + 0x10], al
mov eax, dword [esp + 0x10]
mov dword [ecx + 0x14], eax
mov eax, dword [esp + 0x1c]
mov byte [ecx], 1
mov dword [ecx + 0x18], 0
mov dword [ecx + 0x1c], 0
mov dword [ecx + 0x20], 0
mov byte [ecx + 0x24], 0
mov dword [ecx + 0x28], 0
cmp esi, dword [eax + 0xc]
jl 0x4032cd
mov dword [eax + 0xc], esi
call fcn.0040f4d0
inc dword [eax + 0x70]
call fcn.0041fac0
mov edx, eax
mov ecx, dword [edx + 0x21b8]
inc ecx
mov dword [edx + 0x21b8], ecx
cmp ecx, 0x3b9aca00
jl 0x403313
lea eax, [ecx - 0x3b9aca00]
mov ecx, eax
mov dword [edx + 0x21b8], eax
mov eax, dword [edx + 0x21bc]
cmp eax, 0x3b9aca00
jge 0x403313
inc eax
mov dword [edx + 0x21bc], eax
movzx eax, byte [0x4dcf44]
xor eax, ecx
mov dword [edx + 0x1b8], eax
movzx eax, byte [0x4dd044]
xor eax, ecx
mov dword [edx + 0x41b8], eax
mov ecx, dword [edx + 0x21bc]
movzx eax, byte [str.0v4Ze]
xor eax, ecx
mov dword [edx + 0x1bc], eax
movzx eax, byte [0x4dd045]
xor eax, ecx
mov ecx, 8
mov dword [edx + 0x41bc], eax
call fcn.00424c00
mov ecx, 9
call fcn.00424c00
mov ecx, 0xa
call fcn.00424c00
mov ecx, 0xb
call fcn.00424c00
mov al, byte [edi + 0x184]
test al, al
je 0x40339f
sub al, 1
mov byte [edi + 0x184], al
jne 0x40339f
movaps xmm0, xmmword [0x4f45b0]
movups xmmword [edi + 0x174], xmm0
mov al, byte [edi + 0x1bc]
test al, al
je 0x4033d5
movss xmm0, dword [edi + 0x30]
dec al
mulss xmm0, dword [0x4f3c14]
mov byte [edi + 0x1bc], al
movss dword [edi + 0x30], xmm0
movss xmm0, dword [edi + 0x38]
mulss xmm0, dword [0x4f3c14]
movss dword [edi + 0x38], xmm0
cmp byte [ebp + 0x24], 0
je 0x4033f0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
cmp dword [edi + 0x168], 0
jle 0x4034c6
movss xmm0, dword [edi + 0x20]
movss dword [esp + 0x80], xmm0
movss xmm0, dword [edi + 0x24]
addss xmm0, dword [0x4f3cf8]
mov dword [esp + 0x40], 0x41200000
mov dword [esp + 0x44], 0xc1200000
movss dword [esp + 0x84], xmm0
movss xmm0, dword [edi + 0x28]
movss dword [esp + 0x88], xmm0
movss xmm0, dword [edi + 0x94]
call fcn.0044e190
mov edx, dword [esp + 0x18]
xor ecx, ecx
xor eax, eax
movss dword [esp + 0x48], xmm0
mov dword [esp + 0x10], ecx
cmp ax, word [edx + 0x10]
jae 0x4034c6
cmp cx, word [edi + 2]
je 0x4034bb
movzx eax, cx
imul esi, eax, 0x1c8
add esi, dword [edx + 0xc]
cmp byte [esi], 0
je 0x4034bb
cmp byte [esi + 0x7c], 2
je 0x4034bb
lea eax, [esp + 0x40]
push eax
lea eax, [edi + 0x30]
push eax
lea eax, [esp + 0x88]
push eax
lea eax, [esi + 0x20]
push eax
lea ecx, [esi + 0x98]
call fcn.0044e350
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
test al, al
je 0x4034bb
mov dword [esi + 0x38], 0
mov dword [esi + 0x30], 0
inc ecx
mov dword [esp + 0x10], ecx
cmp cx, word [edx + 0x10]
jb 0x403464
movss xmm0, dword [edi + 0x94]
xor cl, cl
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x40], 0x41200000
mov dword [esp + 0x44], 0xc1200000
call fcn.0044e190
mov eax, dword [ebp + 0x14]
xor edx, edx
xor esi, esi
movss dword [esp + 0x48], xmm0
cmp dx, word [eax + 0x2c]
jae 0x403553
lea edx, [edi + 0x30]
lea eax, [edi + 0x20]
mov dword [esp + 0x3c], edx
mov edi, dword [ebp + 0x14]
mov dword [esp + 0x20], eax
nop dword [eax]
movzx eax, si
lea ecx, [esp + 0x40]
push ecx
push edx
push dword [esp + 0x28]
lea eax, [eax + eax*4]
shl eax, 4
lea ecx, [edi + 0x30]
add eax, dword [edi + 0x28]
push eax
call fcn.0044e350
mov ecx, dword [esp + 0x1c]
test al, al
mov edx, dword [esp + 0x3c]
mov eax, 1
movzx ecx, cl
cmovne ecx, eax
inc esi
mov dword [esp + 0x1c], ecx
cmp si, word [edi + 0x2c]
jb 0x403510
mov edi, dword [esp + 0x24]
movss xmm0, dword [edi + 0x20]
mov byte [edi + 0x164], cl
addss xmm0, dword [edi + 0x30]
movss dword [edi + 0x20], xmm0
movss xmm0, dword [edi + 0x34]
addss xmm0, dword [edi + 0x24]
movss dword [edi + 0x24], xmm0
movss xmm0, dword [edi + 0x38]
addss xmm0, dword [edi + 0x28]
movss dword [edi + 0x28], xmm0
jmp 0x403b0f
movss xmm0, dword [edi + 0x1b0]
movss xmm1, dword [0x4f3f0c]
comiss xmm1, xmm0
jbe 0x403609
addss xmm0, dword [0x4f3e0c]
comiss xmm0, xmm1
movss dword [edi + 0x1b0], xmm0
jbe 0x4035c5
mov dword [edi + 0x1b0], 0x42b40000
movaps xmm0, xmm1
comiss xmm0, xmm1
jb 0x403b0f
cmp word [edi + 0x1ac], 0
jne 0x403aaf
mov eax, dword [ebp + 0x20]
movss xmm0, dword [edi + 0x20]
subss xmm0, dword [eax]
mulss xmm0, dword [0x4f3f14]
cvttss2si ecx, xmm0
cmp ecx, 0xffffd8f0
jle 0x40362f
mov eax, 0x2710
cmp ecx, eax
cmovl eax, ecx
mov dword [esp + 0x1c], eax
jmp 0x403637
comiss xmm0, xmm1
jbe 0x4035c5
subss xmm0, dword [0x4f3e0c]
comiss xmm1, xmm0
movss dword [edi + 0x1b0], xmm0
jbe 0x4035c2
mov dword [edi + 0x1b0], 0x42b40000
jmp 0x4035cb
mov dword [esp + 0x1c], 0xffffd8f0
call fcn.00480a90
cdq
mov ecx, 3
idiv ecx
movzx ecx, byte [edi + 0x1b4]
lea eax, [edx + ecx*2]
add eax, ecx
mov eax, dword [eax*4 + 0x4dc4d0]
mov dword [esp + 0x10], eax
call fcn.00423ed0
mov ecx, dword [esp + 0x10]
mov esi, eax
push dword [esp + 0x1c]
sub esp, 8
mov eax, dword [esi]
mov dword [esp + 0x24], eax
mov edi, eax
mov al, byte [eax + ecx*8]
movzx edx, al
inc al
mov ecx, dword [edi + ecx*8 + 4]
movzx ecx, word [ecx + edx*2]
mov edx, dword [esp + 0x1c]
push ecx
lea ecx, [esi + 0xdc]
mov byte [edi + edx*8], al
call fcn.00446390
mov ecx, dword [esp + 0x10]
mov edx, edi
mov edi, dword [esp + 0x24]
mov al, byte [edx + ecx*8]
cmp al, byte [edx + ecx*8 + 1]
jb 0x4036af
mov byte [edx + ecx*8], 0
movss xmm1, dword [0x4f3cf8]
xorps xmm3, xmm3
movss xmm2, dword [edi + 0x4c]
movss xmm0, dword [edi + 0x3c]
mulss xmm2, xmm1
mulss xmm0, xmm3
addss xmm2, xmm0
movss xmm0, dword [edi + 0x5c]
mulss xmm0, xmm3
addss xmm2, xmm0
movss xmm0, dword [edi + 0x40]
mulss xmm0, xmm3
addss xmm2, dword [edi + 0x6c]
movss dword [esp + 0x98], xmm2
movss dword [esp + 0x40], xmm2
movss xmm2, dword [edi + 0x50]
mulss xmm2, xmm1
addss xmm2, xmm0
movss xmm0, dword [edi + 0x60]
mulss xmm0, xmm3
addss xmm2, xmm0
movss xmm0, dword [edi + 0x44]
mulss xmm0, xmm3
addss xmm2, dword [edi + 0x70]
movss dword [esp + 0x3c], xmm2
movss dword [esp + 0x44], xmm2
movss xmm2, dword [edi + 0x54]
mulss xmm2, xmm1
addss xmm2, xmm0
movss xmm0, dword [edi + 0x64]
mulss xmm0, xmm3
addss xmm2, xmm0
movss xmm0, dword [edi + 0x1b8]
movss dword [esp + 0x10], xmm0
addss xmm2, dword [edi + 0x74]
movss dword [esp + 0x6c], xmm2
movss dword [esp + 0x48], xmm2
call fcn.00401800
mov esi, eax
mov dword [esp + 0x18], 0x168
xor edx, edx
mov dword [esp + 0x78], esi
movzx ecx, word [esi + 8]
mov eax, ecx
mov dword [esp + 0x20], eax
xor eax, eax
cmp ax, cx
jae 0x403900
mov ecx, dword [esi + 0xc]
movzx eax, dx
imul esi, eax, 0x54
mov dword [esp + 0x74], eax
add esi, ecx
mov dword [esp + 0x70], esi
cmp byte [esi], 0
je 0x4037b6
inc edx
cmp dx, word [esp + 0x20]
jb 0x403794
jmp 0x403900
call fcn.00480a90
cdq
lea edi, [esi + 8]
mov ecx, 0xb4
movss xmm0, dword [esp + 0x3c]
idiv ecx
xorps xmm5, xmm5
mov dword [esp + 0x1c], 3
addss xmm0, xmm5
mov dword [esp + 0x20], edx
mov esi, edx
movss dword [esp + 0x84], xmm0
nop word [eax + eax]
mov ecx, esi
call fcn.004010e0
mulss xmm0, dword [esp + 0x10]
mov ecx, esi
mulss xmm0, dword [0x4f3c6c]
movss dword [esp + 0x20], xmm0
call fcn.00401030
mulss xmm0, dword [esp + 0x10]
mulss xmm0, dword [0x4f3c6c]
movss dword [esp + 0x3c], xmm0
call fcn.00480a90
and eax, 0x80000001
jns 0x403837
dec eax
or eax, 0xfffffffe
inc eax
movss xmm0, dword [esp + 0x6c]
movss xmm1, dword [esp + 0x98]
addss xmm0, dword [esp + 0x3c]
addss xmm1, dword [esp + 0x20]
mov byte [edi - 4], al
movss dword [esp + 0x88], xmm0
mov eax, dword [esp + 0x88]
movss dword [esp + 0x80], xmm1
movq xmm0, qword [esp + 0x80]
movq qword [edi], xmm0
mov dword [edi + 8], eax
call fcn.00480a90
cdq
idiv dword [esp + 0x18]
movd xmm0, edx
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x4f3bc8]
movss dword [edi + 0xc], xmm0
call fcn.00480a90
cdq
mov ecx, 0xa5
idiv ecx
add edi, 0x14
add edx, 0xf
add esi, edx
sub dword [esp + 0x1c], 1
jne 0x4037f0
mov esi, dword [esp + 0x70]
movq xmm0, qword [esp + 0x40]
mov eax, dword [esp + 0x48]
movss xmm1, dword [esp + 0x10]
mov ecx, dword [esp + 0x78]
mov edi, dword [esp + 0x24]
movq qword [esi + 0x44], xmm0
mov dword [esi + 0x4c], eax
mov byte [esi + 0x40], 0
movss dword [esi + 0x50], xmm1
movq qword [esi + 0x30], xmm0
mov dword [esi + 0x38], eax
mov eax, dword [esp + 0x74]
mov byte [esi], 1
cmp eax, dword [ecx + 4]
jl 0x403900
mov dword [ecx + 4], eax
cmp byte [edi + 4], 0xc
jne 0x403aa7
mov esi, dword [esp + 0x28]
movss xmm0, dword [edi + 0x20]
movss dword [esp + 0x40], xmm0
movss xmm0, dword [edi + 0x28]
mov esi, dword [esi + 0x14]
mov dword [esp + 0x44], 0x3dcccccd
movss dword [esp + 0x48], xmm0
cmp byte [esi], 0
jne 0x403aa7
movq xmm0, qword [esp + 0x40]
mov eax, dword [esp + 0x48]
movss xmm2, dword [0x4f4160]
movss xmm1, dword [0x4f3f24]
movq qword [esi + 4], xmm0
mov dword [esi + 0xc], eax
movss xmm0, dword [esi + 4]
maxss xmm0, xmm2
comiss xmm1, xmm0
ja 0x40396b
movaps xmm0, xmm1
movss dword [esi + 4], xmm0
movss xmm0, dword [esi + 0xc]
maxss xmm0, xmm2
comiss xmm1, xmm0
ja 0x403981
movaps xmm0, xmm1
lea eax, [esp + 0xa0]
movss dword [esi + 0xc], xmm0
push eax
lea ecx, [esp + 0xe4]
call fcn.0044d350
mov dword [esp + 0x11c], 0x3f800000
mov dword [esp + 0xf4], 0x3f800000
call fcn.00480a90
cdq
idiv dword [esp + 0x18]
movd xmm0, edx
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x4f3bc8]
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x78], xmm0
call fcn.004c5740
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x28], xmm0
movsd xmm0, qword [esp + 0x78]
call fcn.004c5be0
movss xmm2, dword [esp + 0x28]
lea eax, [esp + 0xa0]
movss xmm3, dword [esi + 8]
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
push ecx
lea ecx, [esp + 0x1ac]
movss dword [esp + 0xe4], xmm2
movaps xmm0, xmm1
movss dword [esp + 0x10c], xmm2
xorps xmm0, xmmword [0x4f4580]
movss xmm2, dword [esi + 4]
movss dword [esp + 0xec], xmm0
movss xmm0, dword [esi + 0xc]
movss dword [esp], xmm0
push eax
movss dword [esp + 0x108], xmm1
call fcn.0044d3f0
mov eax, ecx
lea edx, [esp + 0xe0]
push eax
lea ecx, [esp + 0x124]
call fcn.0044d2c0
movups xmm0, xmmword [esp + 0x124]
add esp, 4
mov byte [esi + 0x54], 0
mov dword [esi + 0x58], 0x3f800000
movups xmmword [esi + 0x10], xmm0
mov byte [esi], 1
movups xmm0, xmmword [esp + 0x130]
movups xmmword [esi + 0x20], xmm0
movups xmm0, xmmword [esp + 0x140]
movups xmmword [esi + 0x30], xmm0
movups xmm0, xmmword [esp + 0x150]
movups xmmword [esi + 0x40], xmm0
movss xmm2, dword [0x4f3cd0]
mov ax, word [edi + 0x1ac]
inc ax
movzx ecx, ax
mov word [edi + 0x1ac], ax
cmp ax, 0x14
jl 0x403b06
movss xmm0, dword [edi + 0x1a8]
comiss xmm2, xmm0
jbe 0x403ae2
addss xmm0, dword [0x4f3bd0]
comiss xmm0, xmm2
jmp 0x403af2
comiss xmm0, xmm2
jbe 0x403b06
subss xmm0, dword [0x4f3bd0]
comiss xmm2, xmm0
movss dword [edi + 0x1a8], xmm0
jbe 0x403b06
mov dword [edi + 0x1a8], 0x3f800000
cmp cx, 0x3c
jle 0x403b0f
mov byte [edi], 0
mov eax, dword [edi + 0x18c]
test eax, eax
je 0x403e98
dec eax
mov dword [edi + 0x18c], eax
mov al, byte [edi + 0x80]
test al, al
je 0x403b88
sub al, 1
mov dword [edi + 0x84], 0x3f000000
mov dword [edi + 0x88], 0x3f000000
mov dword [edi + 0x8c], 0x3f000000
mov dword [edi + 0x90], 0
mov byte [edi + 0x80], al
jne 0x403b88
mov dword [edi + 0x84], 0
mov dword [edi + 0x88], 0
mov dword [edi + 0x8c], 0
mov dword [edi + 0x90], 0
movss xmm0, dword [edi + 0x28]
lea eax, [esp + 0xa0]
movss xmm3, dword [edi + 0x24]
movss xmm2, dword [edi + 0x20]
push ecx
movss dword [esp], xmm0
lea ecx, [esp + 0x1ac]
push eax
call fcn.0044d3f0
lea eax, [esp + 0xa0]
push eax
lea ecx, [esp + 0xe4]
call fcn.0044d350
movss xmm0, dword [edi + 0x2c]
mulss xmm0, dword [0x4f3bc8]
mov dword [esp + 0x11c], 0x3f800000
mov dword [esp + 0xf4], 0x3f800000
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x78], xmm0
call fcn.004c5740
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x28], xmm0
movsd xmm0, qword [esp + 0x78]
call fcn.004c5be0
movss xmm2, dword [esp + 0x28]
lea eax, [esp + 0xa0]
xorps xmm1, xmm1
movss dword [esp + 0xe0], xmm2
cvtsd2ss xmm1, xmm0
push eax
lea ecx, [esp + 0x124]
movss dword [esp + 0x10c], xmm2
movaps xmm0, xmm1
movss dword [esp + 0x104], xmm1
xorps xmm0, xmmword [0x4f4580]
movss dword [esp + 0xec], xmm0
call fcn.0044d350
movsd xmm0, qword [0x4f3d18]
mov dword [esp + 0x15c], 0x3f800000
mov dword [esp + 0x120], 0x3f800000
call fcn.004c5740
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x28], xmm0
movsd xmm0, qword [0x4f3d18]
call fcn.004c5be0
cmp byte [edi + 0x7c], 2
movss xmm1, dword [esp + 0x28]
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x134], xmm1
movss dword [esp + 0x138], xmm0
xorps xmm0, xmmword [0x4f4580]
movss dword [esp + 0x144], xmm0
movss dword [esp + 0x148], xmm1
jne 0x403ec0
movss xmm0, dword [edi + 0x1b0]
mulss xmm0, dword [0x4f3bc8]
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x28], xmm0
call fcn.004c5740
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x10], xmm0
movsd xmm0, qword [esp + 0x28]
call fcn.004c5be0
movss xmm6, dword [edi + 0x1a0]
lea eax, [esp + 0x120]
movss xmm7, dword [edi + 0x1a4]
lea edx, [esp + 0xe0]
movss xmm3, dword [0x4f3cd0]
lea ecx, [esp + 0xa0]
subss xmm3, dword [esp + 0x10]
xorps xmm2, xmm2
mov dword [esp + 0x174], 0
cvtsd2ss xmm2, xmm0
push eax
mov dword [esp + 0x188], 0
mov dword [esp + 0x1a8], 0x3f800000
movss xmm0, dword [edi + 0x19c]
movaps xmm5, xmm7
mulss xmm5, xmm0
movaps xmm4, xmm6
mulss xmm4, xmm0
movaps xmm1, xmm2
mulss xmm1, xmm7
movss dword [esp + 0x28], xmm3
mulss xmm4, xmm3
mulss xmm5, xmm3
movaps xmm3, xmm7
movss dword [esp + 0x1c], xmm2
movss xmm7, dword [esp + 0x1c]
mulss xmm7, xmm0
mulss xmm0, xmm0
mulss xmm2, xmm6
mulss xmm0, dword [esp + 0x28]
mulss xmm3, xmm6
addss xmm0, dword [esp + 0x14]
movss dword [esp + 0x1c], xmm7
mulss xmm3, dword [esp + 0x28]
mulss xmm6, xmm6
movss dword [esp + 0x16c], xmm0
movaps xmm0, xmm4
subss xmm0, xmm1
mulss xmm6, dword [esp + 0x28]
addss xmm1, xmm4
addss xmm6, dword [esp + 0x14]
movss dword [esp + 0x170], xmm0
movaps xmm0, xmm2
addss xmm0, xmm5
movss dword [esp + 0x17c], xmm1
movaps xmm1, xmm7
subss xmm5, xmm2
movss xmm7, dword [edi + 0x1a4]
mulss xmm7, xmm7
movss dword [esp + 0x174], xmm0
movaps xmm0, xmm3
subss xmm0, xmm1
movss dword [esp + 0x180], xmm6
mulss xmm7, dword [esp + 0x28]
addss xmm1, xmm3
movss dword [esp + 0x18c], xmm5
addss xmm7, dword [esp + 0x14]
movss dword [esp + 0x184], xmm0
xorps xmm0, xmm0
movss dword [esp + 0x190], xmm1
movups xmmword [esp + 0x198], xmm0
movss dword [esp + 0x194], xmm7
call fcn.0044d2c0
add esp, 4
lea eax, [esp + 0x168]
lea edx, [esp + 0xa0]
lea ecx, [esp + 0x120]
push eax
call fcn.0044d2c0
lea edx, [esp + 0x124]
jmp 0x403ee2
cmp byte [edi + 0x170], 0
jne 0x403b24
mov byte [edi], 0
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0x1e4]
xor ecx, esp
call fcn.0047d312
mov esp, ebp
pop ebp
ret 0x20
lea eax, [esp + 0x120]
push eax
lea edx, [esp + 0xe4]
lea ecx, [esp + 0xa4]
call fcn.0044d2c0
lea edx, [esp + 0xa4]
add esp, 4
lea eax, [esp + 0x1a8]
lea ecx, [esp + 0xe0]
push eax
call fcn.0044d2c0
movups xmm0, xmmword [esp + 0xe4]
mov ecx, dword [ebp + 0xc]
add esp, 4
movzx eax, byte [edi + 6]
movups xmmword [edi + 0x3c], xmm0
movups xmm0, xmmword [esp + 0xf0]
movups xmmword [edi + 0x4c], xmm0
movups xmm0, xmmword [esp + 0x100]
movups xmmword [edi + 0x5c], xmm0
movups xmm0, xmmword [esp + 0x110]
movups xmmword [edi + 0x6c], xmm0
cmp ax, word [ecx + 4]
jb 0x403f3d
xor eax, eax
jmp 0x403f46
imul eax, eax, 0x328
add eax, dword [ecx + 8]
movups xmm0, xmmword [eax + 8]
movss xmm1, dword [eax + 0x1c]
movss xmm2, dword [eax + 0x18]
movaps xmmword [esp + 0x40], xmm0
movups xmm0, xmmword [esp + 0x40]
unpcklps xmm2, xmm1
movups xmmword [edi + 8], xmm0
movq qword [edi + 0x18], xmm2
movq xmm0, qword [edi + 8]
mov eax, dword [edi + 0x10]
movq qword [esp + 0x40], xmm0
movss xmm7, dword [esp + 0x40]
movss xmm2, dword [esp + 0x44]
movaps xmm3, xmm7
mulss xmm3, dword [edi + 0x3c]
movaps xmm0, xmm2
mov dword [esp + 0x48], eax
mulss xmm0, dword [edi + 0x4c]
mov eax, dword [edi + 0x1c]
movss xmm1, dword [esp + 0x48]
mov dword [esp + 0x30], eax
addss xmm3, xmm0
movss xmm6, dword [0x4f3c8c]
movaps xmm0, xmm1
mulss xmm0, dword [edi + 0x5c]
addss xmm3, xmm0
movaps xmm0, xmm2
mulss xmm0, dword [edi + 0x50]
mulss xmm2, dword [edi + 0x54]
addss xmm3, dword [edi + 0x6c]
movss dword [esp + 0x74], xmm3
movaps xmm3, xmm7
mulss xmm7, dword [edi + 0x44]
mulss xmm3, dword [edi + 0x40]
addss xmm7, xmm2
addss xmm3, xmm0
movaps xmm0, xmm1
mulss xmm0, dword [edi + 0x60]
mulss xmm1, dword [edi + 0x64]
addss xmm3, xmm0
movq xmm0, qword [edi + 0x14]
movq qword [esp + 0x28], xmm0
movss xmm2, dword [esp + 0x2c]
addss xmm7, xmm1
movss xmm1, dword [esp + 0x30]
movaps xmm0, xmm2
mulss xmm0, dword [edi + 0x4c]
addss xmm3, dword [edi + 0x70]
addss xmm7, dword [edi + 0x74]
movss dword [esp + 0x70], xmm3
movss dword [esp + 0x6c], xmm7
movss xmm7, dword [esp + 0x28]
mulss xmm7, dword [edi + 0x3c]
addss xmm7, xmm0
movaps xmm0, xmm1
mulss xmm0, dword [edi + 0x5c]
addss xmm7, xmm0
movaps xmm0, xmm2
mulss xmm0, dword [edi + 0x50]
mulss xmm2, dword [edi + 0x54]
addss xmm7, dword [edi + 0x6c]
movss dword [esp + 0x78], xmm7
movss xmm7, dword [esp + 0x28]
mulss xmm7, dword [edi + 0x40]
addss xmm7, xmm0
movaps xmm0, xmm1
mulss xmm0, dword [edi + 0x60]
mulss xmm1, dword [edi + 0x64]
addss xmm7, xmm0
movss xmm0, dword [esp + 0x28]
mulss xmm0, dword [edi + 0x44]
addss xmm7, dword [edi + 0x70]
movaps xmm3, xmm0
movss dword [esp + 0x28], xmm0
addss xmm3, xmm2
addss xmm3, xmm1
movss xmm1, dword [esp + 0x78]
movaps xmm0, xmm1
addss xmm0, dword [esp + 0x74]
addss xmm3, dword [edi + 0x74]
mulss xmm0, xmm6
subss xmm1, dword [esp + 0x74]
movups xmmword [esp + 0x80], xmm0
movaps xmm0, xmm7
addss xmm0, dword [esp + 0x70]
subss xmm7, dword [esp + 0x70]
mulss xmm1, xmm6
mulss xmm0, xmm6
mulss xmm7, xmm6
movss dword [esp + 0x28], xmm0
movaps xmm0, xmm3
subss xmm3, dword [esp + 0x6c]
addss xmm0, dword [esp + 0x6c]
mulss xmm7, xmm7
mulss xmm1, xmm1
mulss xmm3, xmm6
addss xmm7, xmm1
mulss xmm0, xmm6
mulss xmm3, xmm3
xorps xmm1, xmm1
movss dword [esp + 0x48], xmm0
addss xmm7, xmm3
cvtps2pd xmm0, xmm7
ucomisd xmm1, xmm0
ja 0x404132
sqrtsd xmm0, xmm0
jmp 0x404137
call fcn.004c5db0
movups xmm1, xmmword [esp + 0x80]
mov eax, dword [esp + 0x48]
sub esp, 0xc
mov ecx, dword [esp + 0xa8]
xorps xmm2, xmm2
mov edx, esp
cvtsd2ss xmm2, xmm0
movss xmm0, dword [esp + 0x34]
unpcklps xmm1, xmm0
movq qword [edx], xmm1
mov dword [edx + 8], eax
call fcn.0043ea10
mov ecx, dword [esp + 0x1ec]
mov byte [edi + 0x170], al
mov al, 1
pop edi
pop esi
xor ecx, esp
call fcn.0047d312
mov esp, ebp
pop ebp
ret 0x20