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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xac
mov eax, dword [0x93d814]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0xd926d8], 0
mov edx, dword [ebp + 0x28]
push ebx
mov ebx, dword [edx + 0x50]
jne 0x4be6e5
or eax, 0xffffffff
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005c33e1
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
push esi
cmp eax, dword [ebp + 0x10]
je 0x4bf775
mov esi, dword [ebp + 0x14]
cmp dword [ebp + 0xc], esi
je 0x4bf775
cmp dword [ebp + 0x34], 0
je 0x4be714
mov ecx, dword [0x94968c]
dec ecx
neg ecx
sbb ecx, ecx
and ecx, 2
jmp 0x4be716
xor ecx, ecx
or ecx, dword [ebp + 0x30]
or ecx, 0x8000
mov eax, ecx
or eax, 0x10000
cmp byte [ebx + 0xa], 0
push edi
cmove eax, ecx
mov edi, eax
or edi, 0x20000
cmp byte [ebx + 0x12], 0
cmove edi, eax
mov eax, dword [edx + 0x108]
mov eax, dword [eax]
mov ecx, dword [eax + 4]
cmp dword [0xd4e8b4], ecx
je 0x4be75c
push dword [eax + 8]
push ecx
call fcn.004c3880
add esp, 8
cmp dword [0x94e990], 0
jne 0x4be776
cmp dword [0xd4e848], 0
jne 0x4be776
cmp dword [0xd4e844], edi
je 0x4be77d
mov ecx, edi
call fcn.004c2d00
mov ecx, dword [ebp + 0x28]
xor eax, eax
mov edi, dword [ebp + 0x2c]
mov ebx, dword [0xd5e8e4]
mov dword [ebp - 0x6c], eax
mov edx, dword [ecx + 0x90]
mov dword [ebp - 0x38], edx
test edi, edi
je 0x4be7af
cmp dword [edi + 0x90], edx
mov dword [ebp - 0x68], 1
cmovne eax, dword [ebp - 0x68]
mov dword [ebp - 0x6c], eax
movss xmm0, dword [ebp + 0x20]
lea eax, [edi + 0x94]
subss xmm0, dword [ebp + 0x18]
mov edx, dword [ebp + 0x10]
neg edi
sbb edi, edi
and edi, eax
mov eax, dword [0x949688]
divss xmm0, dword [ecx + 0x6c]
mov dword [ebp - 0x60], eax
movss dword [ebp + 0x20], xmm0
movss xmm0, dword [ebp + 0x24]
subss xmm0, dword [ebp + 0x1c]
divss xmm0, dword [ecx + 0x70]
movss dword [ebp + 0x24], xmm0
cmp dword [ebp + 8], edx
jle 0x4be7fb
mov eax, edx
mov edx, dword [ebp + 8]
mov dword [ebp + 8], eax
cmp dword [ebp + 0xc], esi
jle 0x4be808
mov eax, esi
mov esi, dword [ebp + 0xc]
mov dword [ebp + 0xc], eax
cmp dword [0x9497e4], 0
jne 0x4bf278
mov ecx, esi
mov eax, edx
sub eax, dword [0x9497c0]
sub ecx, dword [0x9497c4]
dec eax
dec ecx
and ecx, eax
mov eax, dword [0x9497bc]
sub eax, dword [ebp + 0xc]
dec eax
and ecx, eax
mov eax, dword [0x9497b8]
sub eax, dword [ebp + 8]
dec eax
test eax, ecx
jl 0x4bf275
sub esi, dword [0x9497bc]
sub edx, dword [0x9497b8]
dec esi
mov eax, dword [0x9497c4]
dec edx
sub eax, dword [ebp + 0xc]
and esi, edx
dec eax
and esi, eax
mov eax, dword [0x9497c0]
sub eax, dword [ebp + 8]
dec eax
test eax, esi
jl 0x4beef2
movss xmm0, dword [0x9497c8]
mov eax, dword [0xd5e8dc]
movss dword [ebp - 0x3c], xmm0
movss xmm0, dword [0x9497cc]
movss dword [ebp - 0x98], xmm0
movss xmm0, dword [0x9497d0]
movss dword [ebp - 0x64], xmm0
movss xmm0, dword [0x9497d4]
movss dword [ebp - 0x68], xmm0
sub eax, 1
je 0x4bef05
sub eax, 1
jne 0x4beef2
cmp dword [ebp - 0x38], eax
jle 0x4beef2
mov esi, dword [ebp + 0x28]
add esi, 0xc8
mov eax, dword [esi + 0x40]
mov eax, dword [eax]
push dword [eax + 8]
push dword [eax + 4]
call fcn.004c3880
mov eax, dword [edi + 0x74]
push dword [eax + 0x18]
mov ecx, dword [eax]
push dword [eax + 0x14]
push dword [ecx + 8]
push dword [ecx + 4]
call fcn.004c3370
add esp, 0x18
cmp dword [0xd4e880], 0
je 0x4be908
call fcn.004b6530
cmp dword [0xc30d60], 0
je 0x4be916
call fcn.0049a280
cmp dword [0xd5e8d8], 0
jne 0x4be945
cmp dword [0xd5e8e0], 4
jne 0x4be945
mov eax, dword [0xd5e8dc]
mov ecx, dword [eax*4 + 0x6bd808]
mov eax, dword [0xd5e8d4]
add eax, 6
cmp eax, dword [ecx*4 + 0x6bd7d0]
jl 0x4be95b
push 0
push 0
call fcn.004c6610
add esp, 8
mov dword [0xd5e8e0], 4
mov eax, dword [esi + 0x40]
movss xmm2, dword [ebp + 0x20]
movss xmm1, dword [0x736664]
mov edx, dword [0xd5e8cc]
movd xmm0, dword [eax + 0x14]
cvtdq2ps xmm0, xmm0
movss xmm7, dword [0x736664]
mulss xmm0, xmm2
divss xmm1, xmm0
movd xmm0, dword [eax + 0x18]
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0xac], xmm1
movss xmm1, dword [ebp + 0x24]
mulss xmm0, xmm1
divss xmm7, xmm0
movss xmm0, dword [0xd4e8ac]
movss dword [ebp - 0x90], xmm0
movss xmm0, dword [0xd4e8b0]
mov dword [edx + 0x10], ebx
mov dword [edx + 0x38], ebx
mov dword [edx + 0x60], ebx
mov dword [edx + 0x88], ebx
mov dword [edx + 0xb0], ebx
mov dword [edx + 0xd8], ebx
movss xmm3, dword [esi - 4]
movss xmm4, dword [esi + 0xc]
movss xmm5, dword [esi]
movss xmm6, dword [esi + 0x20]
mov eax, dword [0x9496e8]
movss dword [ebp - 0x9c], xmm3
movss dword [ebp - 0xa0], xmm4
movss dword [ebp - 0xa4], xmm5
mulss xmm5, xmm1
movss dword [ebp - 0xa8], xmm6
mulss xmm6, xmm1
movd xmm1, dword [0x9496e0]
mulss xmm3, xmm2
mulss xmm4, xmm2
movss dword [ebp - 0x94], xmm0
addss xmm3, dword [ebp + 0x18]
addss xmm4, dword [ebp + 0x18]
addss xmm5, dword [ebp + 0x1c]
addss xmm6, dword [ebp + 0x1c]
cvtdq2ps xmm1, xmm1
movss dword [ebp - 0x34], xmm3
movss dword [ebp - 0x30], xmm5
movss dword [ebp - 0x28], xmm4
movss dword [ebp - 0x24], xmm5
movss dword [ebp - 0x1c], xmm3
movss dword [ebp - 0x18], xmm6
movss dword [ebp - 0x10], xmm4
movss dword [ebp - 0xc], xmm6
sub eax, 1
je 0x4beb1e
movss xmm3, dword [ebp - 0x9c]
subss xmm3, dword [edi + 0x30]
addss xmm3, xmm1
mulss xmm3, dword [0xd4e8ac]
movss dword [ebp - 0x7c], xmm3
movss dword [ebp - 0x74], xmm3
movss xmm3, dword [ebp - 0xa0]
subss xmm3, dword [edi + 0x30]
addss xmm3, xmm1
movd xmm1, dword [0x9496e4]
cvtdq2ps xmm1, xmm1
mulss xmm3, dword [0xd4e8ac]
movss dword [ebp - 0x78], xmm3
movss dword [ebp - 0x70], xmm3
movss xmm3, dword [ebp - 0xa4]
subss xmm3, dword [edi + 0x34]
addss xmm3, xmm1
mulss xmm3, dword [0xd4e8b0]
movss dword [ebp - 0x8c], xmm3
movss dword [ebp - 0x88], xmm3
movss xmm3, dword [ebp - 0xa8]
subss xmm3, dword [edi + 0x34]
addss xmm3, xmm1
mulss xmm3, dword [0xd4e8b0]
movss dword [ebp - 0x84], xmm3
movss dword [ebp - 0x80], xmm3
jmp 0x4beb9e
subss xmm3, dword [edi + 0x30]
subss xmm4, dword [edi + 0x30]
subss xmm5, dword [edi + 0x34]
subss xmm6, dword [edi + 0x34]
subss xmm3, xmm1
subss xmm4, xmm1
movd xmm1, dword [0x9496e4]
cvtdq2ps xmm1, xmm1
mulss xmm3, dword [0xd4e8ac]
mulss xmm4, dword [0xd4e8ac]
subss xmm5, xmm1
subss xmm6, xmm1
movss dword [ebp - 0x7c], xmm3
movss dword [ebp - 0x74], xmm3
movss dword [ebp - 0x78], xmm4
mulss xmm5, dword [0xd4e8b0]
mulss xmm6, dword [0xd4e8b0]
movss dword [ebp - 0x70], xmm4
movss dword [ebp - 0x8c], xmm5
movss dword [ebp - 0x88], xmm5
movss dword [ebp - 0x84], xmm6
movss dword [ebp - 0x80], xmm6
movss xmm0, dword [esi + 4]
lea ecx, [ebp - 0x30]
movss xmm3, dword [ebp - 0x98]
xor eax, eax
movss xmm4, dword [ebp - 0x3c]
movss xmm6, dword [ebp - 0xac]
movss dword [ebp - 0x4c], xmm0
movss dword [ebp - 0x44], xmm0
movss xmm0, dword [esi + 0x14]
movss dword [ebp - 0x48], xmm0
movss dword [ebp - 0x40], xmm0
movss xmm0, dword [esi + 8]
movss dword [ebp - 0x5c], xmm0
movss dword [ebp - 0x58], xmm0
movss xmm0, dword [esi + 0x28]
movss dword [ebp - 0x54], xmm0
movss dword [ebp - 0x50], xmm0
movss xmm2, dword [ecx - 4]
comiss xmm4, xmm2
jbe 0x4bec33
movaps xmm1, xmm4
movss dword [ecx - 4], xmm4
subss xmm1, xmm2
movaps xmm0, xmm1
mulss xmm1, dword [ebp - 0x90]
mulss xmm0, xmm6
addss xmm1, dword [ebp + eax - 0x7c]
addss xmm0, dword [ebp + eax - 0x4c]
movss dword [ebp + eax - 0x7c], xmm1
movss dword [ebp + eax - 0x4c], xmm0
jmp 0x4bec75
movss xmm5, dword [ebp - 0x64]
comiss xmm2, xmm5
jbe 0x4bec75
movss xmm0, dword [ebp + eax - 0x4c]
subss xmm2, xmm5
movss dword [ecx - 4], xmm5
movaps xmm1, xmm2
mulss xmm2, dword [ebp - 0x90]
mulss xmm1, xmm6
subss xmm0, xmm1
movss dword [ebp + eax - 0x4c], xmm0
movss xmm0, dword [ebp + eax - 0x7c]
subss xmm0, xmm2
movss dword [ebp + eax - 0x7c], xmm0
movss xmm2, dword [ecx]
comiss xmm3, xmm2
jbe 0x4becb8
movaps xmm1, xmm3
movss dword [ecx], xmm3
subss xmm1, xmm2
movaps xmm0, xmm1
mulss xmm1, dword [ebp - 0x94]
mulss xmm0, xmm7
addss xmm1, dword [ebp + eax - 0x8c]
addss xmm0, dword [ebp + eax - 0x5c]
movss dword [ebp + eax - 0x8c], xmm1
movss dword [ebp + eax - 0x5c], xmm0
jmp 0x4bed04
movss xmm4, dword [ebp - 0x68]
comiss xmm2, xmm4
jbe 0x4becff
movss xmm0, dword [ebp + eax - 0x5c]
subss xmm2, xmm4
movss dword [ecx], xmm4
movaps xmm1, xmm2
mulss xmm2, dword [ebp - 0x94]
mulss xmm1, xmm7
subss xmm0, xmm1
movss dword [ebp + eax - 0x5c], xmm0
movss xmm0, dword [ebp + eax - 0x8c]
subss xmm0, xmm2
movss dword [ebp + eax - 0x8c], xmm0
movss xmm4, dword [ebp - 0x3c]
add eax, 4
add ecx, 0xc
cmp eax, 0x10
jl 0x4bebf4
movss xmm0, dword [ebp - 0x34]
add esi, 0x78
movss dword [edx], xmm0
movss xmm0, dword [ebp - 0x30]
movss xmm4, dword [ebp - 0x28]
movss xmm3, dword [ebp - 0x24]
movss xmm2, dword [ebp - 0x1c]
movss xmm1, dword [ebp - 0x18]
movss dword [edx + 4], xmm0
movss xmm0, dword [ebp - 0x10]
movss dword [edx + 0x78], xmm0
movss xmm0, dword [ebp - 0xc]
movss dword [edx + 0x7c], xmm0
movss xmm0, dword [ebp - 0x7c]
movss dword [edx + 0x28], xmm4
movss dword [edx + 0x2c], xmm3
movss dword [edx + 0x50], xmm2
movss dword [edx + 0x54], xmm1
movss dword [edx + 0xa0], xmm2
movss xmm2, dword [ebp - 0x74]
movss dword [edx + 0xa4], xmm1
movss xmm1, dword [ebp - 0x84]
movss dword [edx + 0xc8], xmm4
movss xmm4, dword [ebp - 0x78]
movss dword [edx + 0xcc], xmm3
movss dword [edx + 0x18], xmm0
movss xmm0, dword [ebp - 0x8c]
movss dword [edx + 0x1c], xmm0
movss dword [edx + 0x40], xmm4
movss xmm3, dword [ebp - 0x88]
movss dword [edx + 0x44], xmm3
movss dword [edx + 0x68], xmm2
movss xmm0, dword [ebp - 0x70]
movss dword [edx + 0x6c], xmm1
movss dword [edx + 0x90], xmm0
movss xmm0, dword [ebp - 0x80]
movss dword [edx + 0x94], xmm0
movss xmm0, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x60]
movss dword [edx + 0xb8], xmm2
movss xmm2, dword [ebp - 0x44]
movss dword [edx + 0xbc], xmm1
movss xmm1, dword [ebp - 0x54]
movss dword [edx + 0xe0], xmm4
movss xmm4, dword [ebp - 0x48]
movss dword [edx + 0xe4], xmm3
movss xmm3, dword [ebp - 0x58]
movss dword [edx + 0x20], xmm0
movss xmm0, dword [ebp - 0x5c]
movss dword [edx + 0x24], xmm0
movss xmm0, dword [ebp - 0x40]
movss dword [edx + 0x48], xmm4
movss dword [edx + 0x4c], xmm3
movss dword [edx + 0x70], xmm2
movss dword [edx + 0x74], xmm1
movss dword [edx + 0x98], xmm0
movss xmm0, dword [ebp - 0x50]
movss dword [edx + 0x9c], xmm0
mov dword [edx + 8], eax
mov dword [edx + 0x30], eax
mov dword [edx + 0x58], eax
mov dword [edx + 0x80], eax
mov dword [edx + 0xa8], eax
mov dword [edx + 0xd0], eax
lea eax, [edi + 0x78]
movss dword [edx + 0xc0], xmm2
movss dword [edx + 0xc4], xmm1
movss dword [edx + 0xe8], xmm4
movss dword [edx + 0xec], xmm3
mov dword [edx + 0xc], 0x3f800000
mov dword [edx + 0x34], 0x3f800000
mov dword [edx + 0x5c], 0x3f800000
mov dword [edx + 0x84], 0x3f800000
mov dword [edx + 0xac], 0x3f800000
mov dword [edx + 0xd4], 0x3f800000
add dword [0xd5e8cc], 0xf0
add dword [0xd5e8d4], 6
cmp dword [ebp - 0x6c], 0
cmovne eax, edi
sub dword [ebp - 0x38], 1
mov edi, eax
jne 0x4be8d1
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005c33e1
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp + 0x28]
xor edi, edi
add esi, 0xc8
cmp dword [0xc30d60], 0
je 0x4bef1e
call fcn.0049a280
cmp dword [0xd5e8d8], 0
jne 0x4bef4d
cmp dword [0xd5e8e0], 4
jne 0x4bef4d
mov eax, dword [0xd5e8dc]
mov ecx, dword [eax*4 + 0x6bd808]
mov eax, dword [0xd5e8d4]
add eax, 6
cmp eax, dword [ecx*4 + 0x6bd7d0]
jl 0x4bef63
push 0
push 0
call fcn.004c6610
add esp, 8
mov dword [0xd5e8e0], 4
mov edx, dword [0xd5e8cc]
lea ecx, [ebp - 0x30]
movss xmm5, dword [ebp + 0x24]
movss xmm6, dword [ebp + 0x1c]
movss xmm4, dword [ebp + 0x20]
mov dword [edx + 0x10], ebx
mov dword [edx + 0x2c], ebx
mov dword [edx + 0x48], ebx
mov dword [edx + 0x64], ebx
mov dword [edx + 0x80], ebx
mov dword [edx + 0x9c], ebx
movss xmm0, dword [esi]
mov eax, dword [esi + 0x40]
mulss xmm0, xmm5
movss xmm1, dword [esi + 0x20]
movss xmm2, dword [esi - 4]
addss xmm0, xmm6
movss xmm3, dword [esi + 0xc]
mulss xmm1, xmm5
mulss xmm2, xmm4
movss dword [ebp - 0x30], xmm0
addss xmm1, xmm6
movss dword [ebp - 0x24], xmm0
movss xmm0, dword [esi + 4]
movss xmm6, dword [0x736664]
movss dword [ebp - 0x5c], xmm0
movss dword [ebp - 0x54], xmm0
movss xmm0, dword [esi + 0x14]
movss dword [ebp - 0x58], xmm0
movss dword [ebp - 0x50], xmm0
movss xmm0, dword [esi + 8]
addss xmm2, dword [ebp + 0x18]
movss dword [ebp - 0x4c], xmm0
movss dword [ebp - 0x48], xmm0
movss xmm0, dword [esi + 0x28]
movss dword [ebp - 0x44], xmm0
movss dword [ebp - 0x40], xmm0
movd xmm0, dword [eax + 0x14]
cvtdq2ps xmm0, xmm0
mulss xmm3, xmm4
mulss xmm0, xmm4
addss xmm3, dword [ebp + 0x18]
movss dword [ebp - 0x34], xmm2
divss xmm6, xmm0
movd xmm0, dword [eax + 0x18]
xor eax, eax
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0x28], xmm3
mulss xmm0, xmm5
movss xmm5, dword [0x736664]
movss dword [ebp - 0x1c], xmm2
movss xmm2, dword [ebp - 0x98]
movss dword [ebp - 0x10], xmm3
movss xmm3, dword [ebp - 0x3c]
movss dword [ebp - 0x18], xmm1
movss dword [ebp - 0xc], xmm1
divss xmm5, xmm0
nop
movss xmm1, dword [ecx - 4]
comiss xmm3, xmm1
jbe 0x4bf092
movaps xmm0, xmm3
movss dword [ecx - 4], xmm3
subss xmm0, xmm1
mulss xmm0, xmm6
addss xmm0, dword [ebp + eax - 0x5c]
jmp 0x4bf0b3
movss xmm4, dword [ebp - 0x64]
comiss xmm1, xmm4
jbe 0x4bf0b9
movss xmm0, dword [ebp + eax - 0x5c]
subss xmm1, xmm4
movss dword [ecx - 4], xmm4
mulss xmm1, xmm6
subss xmm0, xmm1
movss dword [ebp + eax - 0x5c], xmm0
movss xmm1, dword [ecx]
comiss xmm2, xmm1
jbe 0x4bf0df
movaps xmm0, xmm2
movss dword [ecx], xmm2
subss xmm0, xmm1
mulss xmm0, xmm5
addss xmm0, dword [ebp + eax - 0x4c]
movss dword [ebp + eax - 0x4c], xmm0
jmp 0x4bf10a
movss xmm3, dword [ebp - 0x68]
comiss xmm1, xmm3
jbe 0x4bf105
movss xmm0, dword [ebp + eax - 0x4c]
subss xmm1, xmm3
movss dword [ecx], xmm3
mulss xmm1, xmm5
subss xmm0, xmm1
movss dword [ebp + eax - 0x4c], xmm0
movss xmm3, dword [ebp - 0x3c]
add eax, 4
add ecx, 0xc
cmp eax, 0x10
jl 0x4bf070
movss xmm0, dword [ebp - 0x34]
inc edi
movss xmm4, dword [ebp - 0x28]
movss xmm3, dword [ebp - 0x24]
movss xmm2, dword [ebp - 0x1c]
movss xmm1, dword [ebp - 0x18]
movss dword [edx], xmm0
movss xmm0, dword [ebp - 0x30]
mov eax, dword [ebp - 0x60]
movss dword [edx + 4], xmm0
movss xmm0, dword [ebp - 0x10]
movss dword [edx + 0x54], xmm0
movss xmm0, dword [ebp - 0xc]
movss dword [edx + 0x58], xmm0
movss xmm0, dword [ebp - 0x5c]
movss dword [edx + 0x1c], xmm4
movss dword [edx + 0x20], xmm3
movss dword [edx + 0x38], xmm2
movss dword [edx + 0x3c], xmm1
movss dword [edx + 0x70], xmm2
movss xmm2, dword [ebp - 0x54]
movss dword [edx + 0x74], xmm1
movss xmm1, dword [ebp - 0x44]
movss dword [edx + 0x8c], xmm4
movss xmm4, dword [ebp - 0x58]
movss dword [edx + 0x90], xmm3
movss xmm3, dword [ebp - 0x48]
movss dword [edx + 0x14], xmm0
movss xmm0, dword [ebp - 0x4c]
movss dword [edx + 0x18], xmm0
movss xmm0, dword [ebp - 0x50]
movss dword [edx + 0x30], xmm4
movss dword [edx + 0x34], xmm3
movss dword [edx + 0x4c], xmm2
movss dword [edx + 0x50], xmm1
movss dword [edx + 0x68], xmm0
movss xmm0, dword [ebp - 0x40]
movss dword [edx + 0x6c], xmm0
movss dword [edx + 0x84], xmm2
movss dword [edx + 0x88], xmm1
movss dword [edx + 0xa0], xmm4
movss dword [edx + 0xa4], xmm3
mov dword [edx + 8], eax
mov dword [edx + 0x24], eax
mov dword [edx + 0x40], eax
mov dword [edx + 0x5c], eax
mov dword [edx + 0x78], eax
mov dword [edx + 0x94], eax
mov dword [edx + 0xc], 0x3f800000
mov dword [edx + 0x28], 0x3f800000
mov dword [edx + 0x44], 0x3f800000
mov dword [edx + 0x60], 0x3f800000
mov dword [edx + 0x7c], 0x3f800000
mov dword [edx + 0x98], 0x3f800000
add dword [0xd5e8cc], 0xa8
add dword [0xd5e8d4], 6
cmp edi, dword [ebp - 0x38]
jge 0x4beef2
mov eax, dword [esi + 0xb8]
add esi, 0x78
mov eax, dword [eax]
push dword [eax + 8]
push dword [eax + 4]
call fcn.004c3880
add esp, 8
call fcn.004b6530
jmp 0x4bef10
mov ecx, dword [ebp + 0x28]
mov eax, dword [0xd5e8dc]
sub eax, 1
je 0x4bf5ab
sub eax, 1
jne 0x4beef2
cmp dword [ebp - 0x38], eax
jle 0x4beef2
lea esi, [ecx + 0xc8]
nop
mov eax, dword [esi + 0x40]
mov eax, dword [eax]
push dword [eax + 8]
push dword [eax + 4]
call fcn.004c3880
mov eax, dword [edi + 0x74]
push dword [eax + 0x18]
mov ecx, dword [eax]
push dword [eax + 0x14]
push dword [ecx + 8]
push dword [ecx + 4]
call fcn.004c3370
add esp, 0x18
cmp dword [0xd4e880], 0
je 0x4bf2d7
call fcn.004b6530
cmp dword [0xc30d60], 0
je 0x4bf2e5
call fcn.0049a280
cmp dword [0xd5e8d8], 0
jne 0x4bf314
cmp dword [0xd5e8e0], 4
jne 0x4bf314
mov eax, dword [0xd5e8dc]
mov ecx, dword [eax*4 + 0x6bd808]
mov eax, dword [0xd5e8d4]
add eax, 6
cmp eax, dword [ecx*4 + 0x6bd7d0]
jl 0x4bf32a
push 0
push 0
call fcn.004c6610
add esp, 8
mov dword [0xd5e8e0], 4
mov ecx, dword [0xd5e8cc]
movss xmm2, dword [ebp + 0x20]
movss xmm3, dword [ebp + 0x20]
movss xmm5, dword [ebp + 0x24]
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0x38], ebx
mov dword [ecx + 0x60], ebx
mov dword [ecx + 0x88], ebx
mov dword [ecx + 0xb0], ebx
mov dword [ecx + 0xd8], ebx
movss xmm4, dword [esi]
mulss xmm2, dword [esi - 4]
mulss xmm3, dword [esi + 0xc]
mulss xmm5, dword [esi + 0x20]
mulss xmm4, dword [ebp + 0x24]
addss xmm2, dword [ebp + 0x18]
addss xmm3, dword [ebp + 0x18]
addss xmm4, dword [ebp + 0x1c]
addss xmm5, dword [ebp + 0x1c]
movss dword [ecx], xmm2
movss dword [ecx + 0x28], xmm3
movss dword [ecx + 4], xmm4
movss dword [ecx + 0x2c], xmm4
movss dword [ecx + 0x50], xmm2
movss dword [ecx + 0x54], xmm5
movss dword [ecx + 0x78], xmm3
movss dword [ecx + 0x7c], xmm5
movss dword [ecx + 0xa0], xmm2
movss dword [ecx + 0xa4], xmm5
movss dword [ecx + 0xc8], xmm3
movss dword [ecx + 0xcc], xmm4
mov eax, dword [0x9496e8]
movd xmm0, dword [0x9496e0]
cvtdq2ps xmm0, xmm0
sub eax, 1
je 0x4bf426
movss xmm2, dword [esi - 4]
movss xmm3, dword [esi + 0xc]
subss xmm2, dword [edi + 0x30]
subss xmm3, dword [edi + 0x30]
movss xmm4, dword [esi]
movss xmm5, dword [esi + 0x20]
subss xmm4, dword [edi + 0x34]
subss xmm5, dword [edi + 0x34]
addss xmm2, xmm0
addss xmm3, xmm0
movd xmm0, dword [0x9496e4]
cvtdq2ps xmm0, xmm0
addss xmm4, xmm0
addss xmm5, xmm0
jmp 0x4bf455
subss xmm2, dword [edi + 0x30]
subss xmm3, dword [edi + 0x30]
subss xmm4, dword [edi + 0x34]
subss xmm5, dword [edi + 0x34]
subss xmm2, xmm0
subss xmm3, xmm0
movd xmm0, dword [0x9496e4]
cvtdq2ps xmm0, xmm0
subss xmm4, xmm0
subss xmm5, xmm0
mulss xmm2, dword [0xd4e8ac]
mulss xmm3, dword [0xd4e8ac]
mulss xmm4, dword [0xd4e8b0]
mulss xmm5, dword [0xd4e8b0]
movss dword [ecx + 0x18], xmm2
movss dword [ecx + 0x1c], xmm4
movss dword [ecx + 0x40], xmm3
movss dword [ecx + 0x44], xmm4
movss dword [ecx + 0x68], xmm2
movss dword [ecx + 0x6c], xmm5
movss dword [ecx + 0x90], xmm3
movss dword [ecx + 0x94], xmm5
movss dword [ecx + 0xb8], xmm2
movss dword [ecx + 0xbc], xmm5
movss dword [ecx + 0xe0], xmm3
movss dword [ecx + 0xe4], xmm4
mov eax, dword [esi + 4]
mov dword [ecx + 0x20], eax
mov eax, dword [esi + 8]
mov dword [ecx + 0x24], eax
mov eax, dword [esi + 0x14]
mov dword [ecx + 0x48], eax
mov eax, dword [esi + 8]
mov dword [ecx + 0x4c], eax
mov eax, dword [esi + 4]
mov dword [ecx + 0x70], eax
mov eax, dword [esi + 0x28]
mov dword [ecx + 0x74], eax
mov eax, dword [esi + 0x14]
mov dword [ecx + 0x98], eax
mov eax, dword [esi + 0x28]
mov dword [ecx + 0x9c], eax
mov eax, dword [esi + 4]
mov dword [ecx + 0xc0], eax
mov eax, dword [esi + 0x28]
mov dword [ecx + 0xc4], eax
mov eax, dword [esi + 0x14]
mov dword [ecx + 0xe8], eax
mov eax, dword [esi + 8]
add esi, 0x78
mov dword [ecx + 0xec], eax
mov eax, dword [ebp - 0x60]
mov dword [ecx + 8], eax
mov dword [ecx + 0x30], eax
mov dword [ecx + 0x58], eax
mov dword [ecx + 0x80], eax
mov dword [ecx + 0xa8], eax
mov dword [ecx + 0xd0], eax
lea eax, [edi + 0x78]
mov dword [ecx + 0xc], 0x3f800000
mov dword [ecx + 0x34], 0x3f800000
mov dword [ecx + 0x5c], 0x3f800000
mov dword [ecx + 0x84], 0x3f800000
mov dword [ecx + 0xac], 0x3f800000
mov dword [ecx + 0xd4], 0x3f800000
add dword [0xd5e8cc], 0xf0
add dword [0xd5e8d4], 6
cmp dword [ebp - 0x6c], 0
cmovne eax, edi
sub dword [ebp - 0x38], 1
mov edi, eax
jne 0x4bf2a0
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005c33e1
mov esp, ebp
pop ebp
ret
xor edi, edi
lea esi, [ecx + 0xcc]
cmp dword [0xc30d60], 0
je 0x4bf5c1
call fcn.0049a280
cmp dword [0xd5e8d8], 0
jne 0x4bf5f0
cmp dword [0xd5e8e0], 4
jne 0x4bf5f0
mov eax, dword [0xd5e8dc]
mov ecx, dword [eax*4 + 0x6bd808]
mov eax, dword [0xd5e8d4]
add eax, 6
cmp eax, dword [ecx*4 + 0x6bd7d0]
jl 0x4bf606
push 0
push 0
call fcn.004c6610
add esp, 8
mov dword [0xd5e8e0], 4
mov ecx, dword [0xd5e8cc]
inc edi
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0x2c], ebx
mov dword [ecx + 0x48], ebx
mov dword [ecx + 0x64], ebx
mov dword [ecx + 0x80], ebx
mov dword [ecx + 0x9c], ebx
movss xmm3, dword [esi - 8]
movss xmm2, dword [esi + 8]
movss xmm1, dword [esi - 4]
movss xmm0, dword [esi + 0x1c]
mulss xmm3, dword [ebp + 0x20]
mulss xmm2, dword [ebp + 0x20]
mulss xmm1, dword [ebp + 0x24]
mulss xmm0, dword [ebp + 0x24]
addss xmm3, dword [ebp + 0x18]
addss xmm2, dword [ebp + 0x18]
addss xmm1, dword [ebp + 0x1c]
addss xmm0, dword [ebp + 0x1c]
movss dword [ecx], xmm3
movss dword [ecx + 0x1c], xmm2
movss dword [ecx + 4], xmm1
movss dword [ecx + 0x20], xmm1
movss dword [ecx + 0x38], xmm3
movss dword [ecx + 0x3c], xmm0
movss dword [ecx + 0x54], xmm2
movss dword [ecx + 0x58], xmm0
movss dword [ecx + 0x70], xmm3
movss dword [ecx + 0x74], xmm0
movss dword [ecx + 0x8c], xmm2
movss dword [ecx + 0x90], xmm1
mov eax, dword [esi]
mov dword [ecx + 0x14], eax
mov eax, dword [esi + 4]
mov dword [ecx + 0x18], eax
mov eax, dword [esi + 0x10]
mov dword [ecx + 0x30], eax
mov eax, dword [esi + 4]
mov dword [ecx + 0x34], eax
mov eax, dword [esi]
mov dword [ecx + 0x4c], eax
mov eax, dword [esi + 0x24]
mov dword [ecx + 0x50], eax
mov eax, dword [esi + 0x10]
mov dword [ecx + 0x68], eax
mov eax, dword [esi + 0x24]
mov dword [ecx + 0x6c], eax
mov eax, dword [esi]
mov dword [ecx + 0x84], eax
mov eax, dword [esi + 0x24]
mov dword [ecx + 0x88], eax
mov eax, dword [esi + 0x10]
mov dword [ecx + 0xa0], eax
mov eax, dword [esi + 4]
mov dword [ecx + 0xa4], eax
mov eax, dword [ebp - 0x60]
mov dword [ecx + 8], eax
mov dword [ecx + 0x24], eax
mov dword [ecx + 0x40], eax
mov dword [ecx + 0x5c], eax
mov dword [ecx + 0x78], eax
mov dword [ecx + 0x94], eax
mov dword [ecx + 0xc], 0x3f800000
mov dword [ecx + 0x28], 0x3f800000
mov dword [ecx + 0x44], 0x3f800000
mov dword [ecx + 0x60], 0x3f800000
mov dword [ecx + 0x7c], 0x3f800000
mov dword [ecx + 0x98], 0x3f800000
add dword [0xd5e8cc], 0xa8
add dword [0xd5e8d4], 6
cmp edi, dword [ebp - 0x38]
jge 0x4beef2
mov eax, dword [esi + 0xb4]
add esi, 0x78
mov eax, dword [eax]
push dword [eax + 8]
push dword [eax + 4]
call fcn.004c3880
add esp, 8
call fcn.004b6530
jmp 0x4bf5b3
mov ecx, dword [ebp - 4]
or eax, 0xffffffff
pop esi
xor ecx, ebp
pop ebx
call fcn.005c33e1
mov esp, ebp
pop ebp
ret