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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xd8
push esi
mov esi, dword [0x10168418]
mov eax, ecx
push edi
mov dword [esp + 0x8c], edx
mov dword [esp + 0x68], eax
mov dword [esp + 0x20], esi
call fcn.10049cb0
mov edi, eax
mov dword [esp + 0x24], eax
test edi, edi
sete cl
mov byte [esp + 0x1f], cl
test eax, eax
jne 0x1004c13b
mov edx, dword [ebp + 8]
mov ecx, dword [esp + 0x68]
call fcn.10049d50
mov edi, eax
mov eax, dword [ebp + 8]
mov ecx, eax
mov edx, eax
and ecx, 0xc0200
or edx, 6
cmp ecx, 0xc0200
lea ecx, [esi + 0x1b80]
cmovne edx, eax
mov dword [esp + 0x34], ecx
cmp dword [ecx], 0
mov eax, dword [esi + 0x1b40]
mov dword [esp + 0x50], eax
mov eax, dword [edi + 0x25c]
mov dword [esp + 0x18], edx
mov dword [esp + 0x4c], eax
jne 0x1004c188
cmp byte [esi + 0x1b4d], 0
je 0x1004c188
mov al, 1
jmp 0x1004c18a
xor al, al
mov byte [edi + 0x92], al
mov eax, dword [esp + 0x50]
dec eax
cmp dword [esp + 0x4c], eax
setl al
mov byte [esp + 0x1e], al
test edx, 0x4000000
je 0x1004c1e6
mov eax, dword [esi + 0x1cf0]
lea esi, [eax + eax*8]
mov eax, dword [esp + 0x20]
mov edx, dword [eax + 0x1cec]
mov eax, dword [edi + 0xa0]
cmp edi, dword [edx + esi*4 + 4]
setne cl
cmp eax, dword [edx + esi*4]
mov esi, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
setne al
or cl, al
mov al, byte [esp + 0x1e]
or al, cl
mov ecx, dword [esp + 0x34]
mov byte [esp + 0x1e], al
mov byte [edi + 0x90], al
test al, al
je 0x1004c205
or byte [edi + 0xb0], 8
or byte [edi + 0xb1], 8
or byte [edi + 0xb2], 8
mov eax, dword [esp + 0x50]
cmp dword [esp + 0x4c], eax
je 0x1004c24b
mov dword [edi + 0x25c], eax
xor eax, eax
mov dword [edi + 8], edx
movsd xmm0, qword [esi + 0x1b38]
cvtpd2ps xmm0, xmm0
mov word [edi + 0x98], ax
movss dword [edi + 0x260], xmm0
movzx eax, word [esi + 0x1b98]
inc dword [esi + 0x1b98]
mov word [edi + 0x9a], ax
jmp 0x1004c252
mov edx, dword [edi + 8]
mov dword [esp + 0x18], edx
cmp dword [ecx], 0
jne 0x1004c261
mov dword [esp + 0x14], 0
jmp 0x1004c275
mov eax, dword [esi + 0x1b88]
mov esi, dword [ecx]
mov eax, dword [eax + esi*4 - 4]
mov esi, dword [esp + 0x20]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x50]
cmp dword [esp + 0x4c], eax
je 0x1004c290
mov eax, edx
and eax, 0x5000000
neg eax
sbb eax, eax
and eax, dword [esp + 0x14]
jmp 0x1004c296
mov eax, dword [edi + 0x324]
cmp dword [edi + 0xc4], 0
mov dword [esp + 0x30], eax
jne 0x1004c2b8
lea eax, [edi + 4]
push eax
lea ecx, [edi + 0xc4]
call fcn.100552c0
lea ecx, [esi + 0x1b80]
mov edx, dword [ecx]
mov eax, dword [ecx + 4]
cmp edx, eax
jne 0x1004c2ee
inc edx
mov dword [esp + 0x34], edx
test eax, eax
je 0x1004c2d8
cdq
sub eax, edx
mov edx, dword [esp + 0x34]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x1004c2dd
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.100554f0
lea ecx, [esi + 0x1b80]
mov ecx, dword [ecx]
mov eax, dword [esi + 0x1b88]
mov dword [eax + ecx*4], edi
inc dword [esi + 0x1b80]
mov ecx, dword [0x10168418]
mov dword [esi + 0x1ba4], edi
mov eax, dword [ecx + 0x1ba4]
movzx eax, word [eax + 0xc4]
mov word [edi + 0x1d4], ax
movzx eax, word [ecx + 0x1c9c]
mov word [edi + 0x1d6], ax
movzx eax, word [ecx + 0x1ca8]
mov word [edi + 0x1d8], ax
movzx eax, word [ecx + 0x1cb4]
mov word [edi + 0x1da], ax
movzx eax, word [ecx + 0x1cc0]
mov word [edi + 0x1dc], ax
movzx eax, word [ecx + 0x1cd8]
mov word [edi + 0x1de], ax
movzx eax, word [ecx + 0x1cf0]
mov ecx, dword [esp + 0x18]
mov word [edi + 0x1e0], ax
mov dword [esi + 0x1ba4], 0
test ecx, 0x4000000
je 0x1004c3bb
mov eax, dword [esi + 0x1cf0]
lea ecx, [esi + 0x1cf0]
lea edx, [eax + eax*8]
mov eax, dword [esi + 0x1cec]
mov dword [eax + edx*4 + 4], edi
lea esi, [eax + edx*4]
push esi
call fcn.100551b0
mov eax, dword [esi]
mov esi, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
mov dword [edi + 0xa0], eax
mov eax, dword [esp + 0x4c]
cmp eax, dword [esp + 0x50]
je 0x1004c447
mov edx, dword [esp + 0x30]
mov dword [edi + 0x324], edx
mov dword [edi + 0x330], edi
mov dword [edi + 0x32c], edi
mov dword [edi + 0x328], edi
test edx, edx
je 0x1004c41f
mov eax, ecx
and eax, 0x3000000
cmp eax, 0x1000000
jne 0x1004c403
mov eax, dword [edx + 0x328]
mov dword [edi + 0x328], eax
test ecx, 0x8000000
jne 0x1004c41f
test ecx, 0x5000000
je 0x1004c41f
mov eax, dword [edx + 0x32c]
mov dword [edi + 0x32c], eax
test dword [edi + 8], 0x800000
je 0x1004c447
mov ecx, edi
nop word [eax + eax]
mov eax, dword [ecx + 0x324]
mov ecx, eax
mov dword [edi + 0x330], eax
test dword [ecx + 8], 0x800000
jne 0x1004c430
xor dl, dl
mov byte [esp + 0x13], 0
test byte [esi + 0x1c28], 1
mov byte [esp + 0x1d], dl
mov byte [esp + 0x12], dl
je 0x1004c501
mov dl, byte [edi + 0xb0]
mov ecx, dword [esi + 0x1c2c]
movsx eax, dl
test ecx, eax
setne byte [esp + 0x13]
test ecx, eax
je 0x1004c4f0
movss xmm1, dword [esi + 0x1c44]
movss xmm0, dword [esi + 0x1c40]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
comiss xmm0, dword [0x10151bd0]
jbe 0x1004c4f0
mov eax, dword [esi + 0x1c38]
mov ecx, dword [esi + 0x1c3c]
mov dword [edi + 0xb8], ecx
mov dword [edi + 0xb4], eax
mov eax, dword [esi + 0x1c40]
mov ecx, dword [esi + 0x1c44]
mov dword [edi + 0xc0], ecx
mov dword [edi + 0xbc], eax
mov eax, dword [edi + 0xb0]
movzx ecx, dl
and eax, 0xffffff00
and ecx, 0xf1
or ecx, eax
mov dword [edi + 0xb0], ecx
jmp 0x1004c501
push ecx
lea edx, [esi + 0x1c38]
mov ecx, edi
call fcn.1004e8e0
add esp, 4
test byte [esi + 0x1c28], 2
xorps xmm1, xmm1
je 0x1004c567
movsx eax, byte [edi + 0xb1]
mov ecx, dword [esi + 0x1c30]
and eax, ecx
je 0x1004c532
movss xmm0, dword [esi + 0x1c48]
comiss xmm0, xmm1
jbe 0x1004c532
mov byte [esp + 0x1d], 1
jmp 0x1004c53c
xor dl, dl
mov byte [esp + 0x1d], dl
test eax, eax
je 0x1004c54e
movss xmm0, dword [esi + 0x1c4c]
comiss xmm0, xmm1
mov byte [esp + 0x12], 1
ja 0x1004c553
mov byte [esp + 0x12], 0
push ecx
lea edx, [esi + 0x1c48]
mov ecx, edi
call fcn.1004ea00
add esp, 4
xorps xmm1, xmm1
test byte [esi + 0x1c28], 0x80
je 0x1004c5a2
movss xmm0, dword [esi + 0x1c58]
comiss xmm0, xmm1
jb 0x1004c589
movss dword [edi + 0x68], xmm0
mov dword [edi + 0x70], 0
movss xmm0, dword [esi + 0x1c5c]
comiss xmm0, xmm1
jb 0x1004c5a2
movss dword [edi + 0x6c], xmm0
mov dword [edi + 0x74], 0
test byte [esi + 0x1c28], 4
je 0x1004c5bf
mov eax, dword [esi + 0x1c50]
mov ecx, dword [esi + 0x1c54]
mov dword [edi + 0x34], eax
mov dword [edi + 0x38], ecx
jmp 0x1004c5d7
mov eax, dword [esp + 0x4c]
cmp eax, dword [esp + 0x50]
je 0x1004c5d7
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
test byte [esi + 0x1c28], 8
je 0x1004c624
mov ecx, dword [esi + 0x1c34]
mov dl, byte [esi + 0x1c60]
test ecx, ecx
je 0x1004c5fb
movsx eax, byte [edi + 0xb2]
test ecx, eax
je 0x1004c624
movzx ecx, byte [edi + 0xb2]
mov eax, dword [edi + 0xb0]
and ecx, 0xf1
shl ecx, 0x10
and eax, 0xff00ffff
or ecx, eax
mov byte [edi + 0x8d], dl
mov dword [edi + 0xb0], ecx
test byte [esi + 0x1c28], 0x20
je 0x1004c634
mov ecx, edi
call fcn.1004e490
cmp byte [edi + 0x90], 0
je 0x1004c652
and byte [edi + 0xb0], 0xf7
and byte [edi + 0xb1], 0xf7
and byte [edi + 0xb2], 0xf7
mov eax, dword [esp + 0x4c]
cmp eax, dword [esp + 0x50]
je 0x1004e184
mov eax, dword [esp + 0x18]
lea ecx, [edi + 0xc4]
and eax, 0x3000000
mov byte [edi + 0x8a], 1
cmp dword [esp + 0x8c], 0
mov dword [esp + 0x2c], eax
setne al
mov byte [edi + 0x93], al
mov dword [edi + 0x234], 0xff7fffff
mov dword [edi + 0x238], 0xff7fffff
mov dword [edi + 0x23c], 0x7f7fffff
push 1
mov dword [edi + 0x240], 0x7f7fffff
call fcn.10055570
mov ecx, dword [edi + 0x288]
call fcn.1005dfe0
cmp byte [edi + 0x368], 0
mov dword [edi + 0x19c], 0xffffffff
je 0x1004c71b
mov ecx, dword [edi + 0x288]
push dword [edi + 0x360]
add ecx, 0xc
mov byte [edi + 0x368], 0
call fcn.100558e0
mov ecx, dword [edi + 0x288]
push dword [edi + 0x364]
add ecx, 0x18
call fcn.100556f0
mov dword [edi + 0x364], 0
mov dword [edi + 0x360], 0
cmp dword [esi + 0x1e1c], 0
je 0x1004c802
test dword [edi + 8], 0x80000
jne 0x1004c802
cmp dword [esp + 0x24], 0
je 0x1004c802
mov eax, dword [edi]
mov ecx, eax
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x68]
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1004c770
test dl, dl
je 0x1004c76c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1004c770
add eax, 2
add ecx, 2
test dl, dl
jne 0x1004c750
xor eax, eax
jmp 0x1004c775
sbb eax, eax
or eax, 1
test eax, eax
je 0x1004c802
mov ecx, dword [esp + 0x68]
mov edx, dword [edi + 0x4c]
mov dword [esp + 0x54], edx
lea eax, [ecx + 1]
mov dword [esp + 0x34], eax
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004c790
sub ecx, dword [esp + 0x34]
lea eax, [ecx + 1]
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x14], eax
cmp edx, eax
jae 0x1004c7eb
test ecx, ecx
je 0x1004c7bd
mov eax, dword [0x10168418]
test eax, eax
je 0x1004c7bd
dec dword [eax + 0x374]
push ecx
call fcn.101012f6
mov eax, dword [0x10168418]
add esp, 4
test eax, eax
je 0x1004c7d5
inc dword [eax + 0x374]
push dword [esp + 0x14]
call fcn.10105bc4
mov ecx, eax
add esp, 4
mov eax, dword [esp + 0x14]
mov dword [esp + 0x54], eax
push eax
push dword [esp + 0x6c]
push ecx
call fcn.100f7220
mov dword [edi], eax
add esp, 0xc
mov eax, dword [esp + 0x54]
mov dword [edi + 0x4c], eax
mov al, byte [edi + 0xad]
lea edx, [edi + 0x24]
mov byte [esp + 0x2b], al
mov ecx, edi
lea eax, [edi + 0x2c]
push eax
call fcn.1004a340
mov al, byte [edi + 0xac]
add esp, 4
test al, al
jle 0x1004c82f
dec al
mov byte [edi + 0xac], al
mov al, byte [edi + 0xad]
test al, al
jle 0x1004c841
dec al
mov byte [edi + 0xad], al
mov al, byte [edi + 0xae]
test al, al
jle 0x1004c853
dec al
mov byte [edi + 0xae], al
cmp dword [esp + 0x24], 0
mov al, byte [esp + 0x1d]
mov cl, byte [esp + 0x12]
jne 0x1004c871
test al, al
je 0x1004c86a
test cl, cl
jne 0x1004c871
mov byte [edi + 0xad], 1
cmp byte [esp + 0x1e], 0
mov edx, dword [esp + 0x18]
je 0x1004c8d0
test edx, 0x6000000
je 0x1004c8d0
mov byte [edi + 0xad], 1
test dl, 0x40
je 0x1004c8d0
test al, al
jne 0x1004c8a2
mov dword [edi + 0x1c], 0
mov dword [edi + 0x14], 0
test cl, cl
jne 0x1004c8b4
mov dword [edi + 0x20], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov eax, dword [0x10168418]
mov dword [esp + 0x14], eax
mov dword [eax + 0x1ba4], edi
mov ecx, dword [edi + 0x19c]
cmp ecx, 0xffffffff
je 0x1004c8f8
imul ecx, ecx, 0x1b0
add ecx, dword [eax + 0x1fcc]
jmp 0x1004c8fa
xor ecx, ecx
movss xmm0, dword [eax + 0x193c]
mov dword [eax + 0x1fbc], ecx
mov ecx, dword [edi + 0x324]
mulss xmm0, dword [edi + 0x280]
test ecx, ecx
je 0x1004c922
mulss xmm0, dword [ecx + 0x280]
movss dword [eax + 0x194c], xmm0
movss dword [eax + 0x1938], xmm0
test edx, 0x1000000
je 0x1004c944
movss xmm0, dword [esi + 0x154c]
jmp 0x1004c966
test edx, 0x6000000
je 0x1004c95e
test edx, 0x8000000
jne 0x1004c95e
movss xmm0, dword [esi + 0x1554]
jmp 0x1004c966
movss xmm0, dword [esi + 0x1530]
mov eax, edi
xorps xmm2, xmm2
movss dword [eax + 0x48], xmm0
mov eax, dword [esi + 0x1524]
mov ecx, dword [esi + 0x1528]
mov dword [edi + 0x3c], eax
mov eax, edx
and eax, 0x5010000
mov dword [edi + 0x40], ecx
cmp eax, 0x1000000
jne 0x1004c9ba
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jp 0x1004c9ba
test edx, 0x400
je 0x1004c9ab
movss xmm0, dword [esi + 0x1528]
jmp 0x1004c9ae
xorps xmm0, xmm0
mov dword [edi + 0x3c], 0
movss dword [edi + 0x40], xmm0
movss xmm0, dword [edi + 0x3c]
maxss xmm0, dword [esi + 0x1568]
maxss xmm0, dword [esi + 0x1c80]
movss dword [edi + 0x154], xmm0
mov eax, dword [esi + 0x1c84]
mov dword [edi + 0x158], eax
test dl, 0x21
jne 0x1004cb20
test byte [edi + 8], 1
mov ecx, dword [esp + 0x14]
je 0x1004c9fb
xorps xmm3, xmm3
jmp 0x1004ca2d
movss xmm0, dword [ecx + 0x193c]
mov eax, dword [edi + 0x324]
mulss xmm0, dword [edi + 0x280]
test eax, eax
je 0x1004ca1d
mulss xmm0, dword [eax + 0x280]
movss xmm3, dword [ecx + 0x155c]
addss xmm3, xmm3
addss xmm3, xmm0
movss xmm4, dword [edi + 0xc]
movaps xmm0, xmm4
movss xmm5, dword [edi + 0x10]
addss xmm0, dword [edi + 0x1c]
addss xmm3, dword [edi + 0x10]
cmp dword [esi + 0x1ba8], edi
jne 0x1004caea
cmp dword [esi + 0x1bc8], 0
jne 0x1004caea
cmp dword [esi + 0x1bcc], 0
jne 0x1004caea
mov eax, dword [ecx + 0x1ba4]
movss xmm1, dword [ecx + 0x1580]
movaps xmm6, xmm1
maxss xmm4, dword [eax + 0x234]
minss xmm0, dword [eax + 0x23c]
maxss xmm5, dword [eax + 0x238]
minss xmm3, dword [eax + 0x240]
subss xmm4, xmm1
movss xmm1, dword [ecx + 0xe8]
addss xmm6, xmm0
movss xmm0, dword [ecx + 0x1584]
movaps xmm7, xmm0
subss xmm5, xmm0
addss xmm7, xmm3
comiss xmm1, xmm4
jb 0x1004caea
movss xmm0, dword [ecx + 0xec]
comiss xmm0, xmm5
jb 0x1004caea
comiss xmm6, xmm1
jbe 0x1004caea
comiss xmm7, xmm0
jbe 0x1004caea
cmp byte [esi + 0x3e5], 0
je 0x1004caea
mov byte [edi + 0x8e], 1
cmp byte [edi + 0x8e], 0
je 0x1004cb27
cmp byte [edi + 0x8d], 0
sete al
test dword [edi + 8], 0x100
mov byte [edi + 0x8d], al
jne 0x1004cb27
comiss xmm2, dword [ecx + 0x2f88]
jb 0x1004cb27
mov eax, dword [ecx + 0x1c]
mov dword [ecx + 0x2f88], eax
jmp 0x1004cb27
mov byte [edi + 0x8d], 0
lea eax, [edi + 0x2c]
mov byte [edi + 0x8e], 0
push eax
mov edx, edi
lea ecx, [esp + 0x88]
call fcn.1004a470
mov cl, byte [esp + 0x23]
add esp, 4
test byte [esp + 0x18], 0x40
mov byte [esp + 0x11], cl
je 0x1004cb98
cmp byte [edi + 0x8d], 0
jne 0x1004cb98
cmp byte [esp + 0x1d], 0
jne 0x1004cb75
movss xmm0, dword [esp + 0x84]
movss dword [edi + 0x1c], xmm0
mov byte [esp + 0x1f], 1
cmp byte [esp + 0x12], 0
jne 0x1004cc4f
movss xmm0, dword [esp + 0x88]
movss dword [edi + 0x20], xmm0
mov byte [esp + 0x11], 1
jmp 0x1004cc4f
mov al, byte [edi + 0xa4]
test al, al
jg 0x1004cbaf
cmp byte [edi + 0xa5], 0
jle 0x1004cc4f
cmp byte [esp + 0x1d], 0
jne 0x1004cbe6
test al, al
jle 0x1004cbe6
cmp byte [edi + 0xa7], 0
je 0x1004cbd3
movss xmm0, dword [edi + 0x1c]
maxss xmm0, dword [esp + 0x84]
jmp 0x1004cbdc
movss xmm0, dword [esp + 0x84]
movss dword [edi + 0x1c], xmm0
mov byte [esp + 0x1f], 1
cmp byte [esp + 0x12], 0
jne 0x1004cc22
cmp byte [edi + 0xa5], 0
jle 0x1004cc22
cmp byte [edi + 0xa7], 0
je 0x1004cc0f
movss xmm0, dword [edi + 0x20]
maxss xmm0, dword [esp + 0x88]
jmp 0x1004cc18
movss xmm0, dword [esp + 0x88]
movss dword [edi + 0x20], xmm0
mov byte [esp + 0x11], 1
cmp byte [edi + 0x8d], 0
jne 0x1004cc4f
test dword [edi + 8], 0x100
mov ecx, dword [0x10168418]
jne 0x1004cc4f
xorps xmm0, xmm0
comiss xmm0, dword [ecx + 0x2f88]
jb 0x1004cc4f
mov eax, dword [ecx + 0x1c]
mov dword [ecx + 0x2f88], eax
lea eax, [edi + 0x1c]
mov edx, edi
push eax
lea ecx, [esp + 0x60]
call fcn.1004a140
add esp, 4
cmp byte [edi + 0x8d], 0
movss xmm2, dword [eax]
movss xmm0, dword [eax + 4]
movss dword [edi + 0x1c], xmm2
movss dword [edi + 0x20], xmm0
je 0x1004cceb
test dword [esp + 0x18], 0x1000000
jne 0x1004cceb
test byte [edi + 8], 1
je 0x1004cc92
xorps xmm1, xmm1
jmp 0x1004ccc9
mov eax, dword [0x10168418]
mov ecx, dword [edi + 0x324]
movss xmm0, dword [eax + 0x193c]
mulss xmm0, dword [edi + 0x280]
test ecx, ecx
je 0x1004ccb9
mulss xmm0, dword [ecx + 0x280]
movss xmm1, dword [eax + 0x155c]
addss xmm1, xmm1
addss xmm1, xmm0
addss xmm2, dword [edi + 0xc]
addss xmm1, dword [edi + 0x10]
subss xmm2, dword [edi + 0xc]
subss xmm1, dword [edi + 0x10]
movss dword [esp + 0x44], xmm2
movss dword [esp + 0x48], xmm1
jmp 0x1004ccf9
mov eax, dword [edi + 0x1c]
mov ecx, dword [edi + 0x20]
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], ecx
mov edx, dword [edi + 8]
lea ecx, [esp + 0x44]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [edi + 0x14], eax
mov eax, dword [0x10168418]
mov dword [edi + 0x18], ecx
test dl, 1
je 0x1004cd1a
xorps xmm1, xmm1
jmp 0x1004cd4c
movss xmm0, dword [eax + 0x193c]
mov ecx, dword [edi + 0x324]
mulss xmm0, dword [edi + 0x280]
test ecx, ecx
je 0x1004cd3c
mulss xmm0, dword [ecx + 0x280]
movss xmm1, dword [eax + 0x155c]
addss xmm1, xmm1
addss xmm1, xmm0
test edx, 0x400
je 0x1004cd90
movss xmm2, dword [eax + 0x193c]
mov ecx, dword [edi + 0x324]
mulss xmm2, dword [edi + 0x280]
test ecx, ecx
je 0x1004cd76
mulss xmm2, dword [ecx + 0x280]
movss xmm0, dword [eax + 0x155c]
addss xmm2, dword [edi + 0x158]
addss xmm0, xmm0
addss xmm2, xmm0
jmp 0x1004cd93
xorps xmm2, xmm2
cmp byte [esp + 0x1e], 0
addss xmm2, xmm1
mov ecx, dword [esp + 0x18]
movss dword [esp + 0x6c], xmm2
je 0x1004cdf0
mov eax, ecx
mov dword [edi + 0xa8], 0xffffffff
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x1004cdf0
cmp byte [esp + 0x13], 0
jne 0x1004cdf0
mov eax, dword [esi + 0x1cf0]
lea ecx, [eax + eax*8]
mov eax, dword [esi + 0x1cf8]
movss xmm0, dword [eax + ecx*4 - 0x10]
movss xmm1, dword [eax + ecx*4 - 0xc]
mov ecx, dword [esp + 0x18]
movss dword [edi + 0xc], xmm0
movss dword [edi + 0x10], xmm1
test ecx, 0x1000000
je 0x1004ce91
mov edx, dword [esp + 0x30]
add edx, 0x188
mov dword [esp + 0x14], edx
mov ax, word [edx]
mov word [edi + 0x98], ax
mov ecx, dword [edx + 4]
cmp dword [edx], ecx
jne 0x1004ce4b
test ecx, ecx
je 0x1004ce2e
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x14]
sar eax, 1
add eax, ecx
jmp 0x1004ce33
mov eax, 8
mov ecx, dword [edx]
inc ecx
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edx
call fcn.100554f0
mov esi, dword [esp + 0x20]
mov edx, dword [esp + 0x14]
mov ecx, dword [edx]
mov eax, dword [edx + 8]
mov dword [eax + ecx*4], edi
inc dword [edx]
mov ecx, dword [esp + 0x18]
mov al, byte [esp + 0x13]
mov edx, dword [esp + 0x2c]
test ecx, 0x4000000
jne 0x1004ce99
test al, al
jne 0x1004ce99
cmp edx, 0x3000000
je 0x1004ce99
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx + 0xd0]
mov ecx, dword [ecx + 0xd4]
mov dword [edi + 0x10], ecx
mov ecx, dword [esp + 0x18]
mov dword [edi + 0xc], eax
jmp 0x1004ce95
mov edx, dword [esp + 0x2c]
mov al, byte [esp + 0x13]
movss xmm1, dword [edi + 0xb4]
ucomiss xmm1, dword [0x10151edc]
lahf
test ah, 0x44
jnp 0x1004ceff
cmp byte [edi + 0xad], 0
jne 0x1004ceff
movss xmm0, dword [edi + 0x14]
lea edx, [esp + 0x44]
mulss xmm0, dword [edi + 0xbc]
mov ecx, edi
push 0
subss xmm1, xmm0
movss xmm0, dword [edi + 0xb8]
movss dword [esp + 0x48], xmm1
movss xmm1, dword [edi + 0x18]
mulss xmm1, dword [edi + 0xc0]
subss xmm0, xmm1
movss dword [esp + 0x4c], xmm0
call fcn.1004e8e0
add esp, 4
jmp 0x1004cf4e
test ecx, 0x10000000
jne 0x1004cf2d
test ecx, 0x4000000
je 0x1004cf19
test al, al
jne 0x1004cf19
cmp byte [esp + 0x2b], al
jg 0x1004cf2d
test ecx, 0x2000000
je 0x1004cf52
test al, al
jne 0x1004cf52
cmp edx, 0x3000000
je 0x1004cf52
mov edx, edi
lea ecx, [esp + 0x94]
call fcn.100509c0
movss xmm1, dword [eax + 4]
movss xmm0, dword [eax]
movss dword [edi + 0xc], xmm0
movss dword [edi + 0x10], xmm1
mov ecx, dword [esp + 0x18]
cmp byte [esp + 0x13], 0
mov edx, dword [0x10168418]
movss xmm3, dword [esi + 0x15c8]
movss xmm2, dword [esi + 0x15c4]
maxss xmm3, dword [esi + 0x15d0]
mov eax, dword [edx + 0x1d04]
maxss xmm2, dword [esi + 0x15cc]
mov eax, dword [eax]
movss xmm5, dword [eax + 0x14]
movss xmm4, dword [eax + 0x18]
addss xmm5, dword [eax + 0x1c]
addss xmm4, dword [eax + 0x20]
movss xmm1, dword [eax + 4]
movss xmm0, dword [eax + 8]
movaps xmm6, xmm1
addss xmm6, dword [eax + 0xc]
movaps xmm7, xmm0
movss dword [esp + 0x54], xmm1
addss xmm7, dword [eax + 0x10]
subss xmm5, xmm2
movss dword [esp + 0x74], xmm1
addss xmm2, dword [eax + 0x14]
subss xmm4, xmm3
movss dword [esp + 0x58], xmm0
addss xmm3, dword [eax + 0x18]
movss dword [esp + 0x78], xmm0
movss dword [esp + 0x64], xmm6
movss dword [esp + 0x7c], xmm6
movss dword [esp + 0x38], xmm7
movss dword [esp + 0x80], xmm7
movss dword [esp + 0xc0], xmm2
movss dword [esp + 0xc4], xmm3
movss dword [esp + 0xc8], xmm5
movss dword [esp + 0xcc], xmm4
jne 0x1004d0e4
test ecx, 0x1000000
jne 0x1004d0e4
cmp byte [edi + 0xa4], 0
jg 0x1004d0e4
cmp byte [edi + 0xa5], 0
jg 0x1004d0e4
movaps xmm0, xmm6
subss xmm0, xmm1
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x1004d0e4
movaps xmm0, xmm7
subss xmm0, dword [esp + 0x58]
comiss xmm0, xmm1
jbe 0x1004d0e4
cmp byte [edx + 0xb5], 0
movss xmm1, dword [edi + 0x18]
je 0x1004d0af
test byte [edi + 8], 1
jne 0x1004d0af
movss xmm0, dword [edx + 0x193c]
mov eax, dword [edi + 0x324]
mulss xmm0, dword [edi + 0x280]
test eax, eax
je 0x1004d09f
mulss xmm0, dword [eax + 0x280]
movss xmm1, dword [edx + 0x155c]
addss xmm1, xmm1
addss xmm1, xmm0
movss xmm0, dword [edi + 0x10]
subss xmm3, xmm1
subss xmm2, dword [edi + 0x14]
comiss xmm3, xmm0
ja 0x1004d0c9
movaps xmm3, xmm4
minss xmm3, xmm0
movss xmm0, dword [edi + 0xc]
comiss xmm2, xmm0
ja 0x1004d0da
movaps xmm2, xmm5
minss xmm2, xmm0
movss dword [edi + 0xc], xmm2
movss dword [edi + 0x10], xmm3
cvttss2si eax, dword [edi + 0xc]
movd xmm1, eax
cvttss2si eax, dword [edi + 0x10]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movss dword [edi + 0xc], xmm1
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x10], xmm0
test ecx, 0x1000000
je 0x1004d118
movss xmm2, dword [esi + 0x1548]
jmp 0x1004d138
mov eax, ecx
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x1004d130
movss xmm2, dword [esi + 0x1550]
jmp 0x1004d138
movss xmm2, dword [esi + 0x152c]
xor dl, dl
movss dword [edi + 0x44], xmm2
mov dword [esp + 0x70], edx
cmp byte [esp + 0x1e], dl
je 0x1004d175
test ecx, 0x1000
jne 0x1004d175
test ecx, 0x4000000
je 0x1004d160
mov byte [esp + 0x70], 1
jmp 0x1004d175
test ecx, 0x3000000
movzx edx, dl
mov eax, 1
cmove edx, eax
mov dword [esp + 0x70], edx
movss xmm1, dword [esi + 0x1938]
xorps xmm0, xmm0
addss xmm2, dword [0x10151cb0]
movaps xmmword [esp + 0xd0], xmm0
xor eax, eax
cmp byte [esi + 0xb4], al
movaps xmm0, xmm1
mulss xmm1, dword [0x10151c40]
setne al
mov dword [esp + 0x9c], 0xffffffff
mulss xmm0, dword [0x10151cb4]
inc eax
cmp byte [edi + 0x8d], 0
addss xmm1, xmm2
mov dword [esp + 0x44], eax
maxss xmm0, xmm1
cvttss2si esi, xmm0
jne 0x1004d20b
lea ecx, [esp + 0xc0]
push ecx
lea ecx, [esp + 0xd4]
push ecx
push eax
lea eax, [esp + 0xa8]
mov ecx, edi
push eax
lea edx, [esp + 0x94]
call fcn.1004a6d0
mov ecx, dword [esp + 0x28]
add esp, 0x10
test al, al
je 0x1004d20b
mov dl, 1
mov dh, dl
jmp 0x1004d213
mov dh, byte [esp + 0x1f]
mov dl, byte [esp + 0x11]
cmp byte [edi + 0x8d], 0
mov al, byte [esp + 0x9c]
mov byte [edi + 0x94], al
jne 0x1004d38c
cmp dword [esp + 0x24], 0
lea eax, [esp + 0x3c]
movss xmm3, dword [edi + 0x1fc]
movss xmm4, dword [edi + 0x200]
subss xmm3, dword [edi + 0x1f4]
subss xmm4, dword [edi + 0x1f8]
movss xmm5, dword [edi + 0x20]
movss xmm6, dword [edi + 0x1c]
subss xmm5, dword [esp + 0x6c]
addss xmm3, dword [edi + 0x80]
addss xmm4, dword [edi + 0x84]
mov dword [esp + 0x14], eax
jne 0x1004d28e
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
jmp 0x1004d2b6
movss xmm0, dword [edi + 0x3c]
movss xmm1, dword [edi + 0x40]
addss xmm0, xmm0
addss xmm1, xmm1
addss xmm0, dword [edi + 0x24]
addss xmm1, dword [edi + 0x28]
movss dword [esp + 0x3c], xmm0
movss dword [esp + 0x40], xmm1
movss xmm7, dword [eax + 4]
test dh, dh
jne 0x1004d2c2
movaps xmm6, xmm3
test dl, dl
jne 0x1004d2c9
movaps xmm5, xmm4
test ecx, 0x4000
jne 0x1004d2df
comiss xmm7, xmm5
jbe 0x1004d2db
test cl, 8
je 0x1004d2df
xor al, al
jmp 0x1004d2e1
mov al, 1
mov byte [esp + 0x11], al
mov byte [edi + 0x89], al
test ecx, 0x8000
jne 0x1004d33e
xorps xmm0, xmm0
test al, al
je 0x1004d308
mov edx, dword [esp + 0x20]
movss xmm1, dword [edx + 0x1590]
jmp 0x1004d30b
xorps xmm1, xmm1
mov edx, dword [esp + 0x14]
subss xmm6, xmm1
movss xmm1, dword [edx]
comiss xmm1, xmm6
mov edx, dword [esp + 0x20]
jbe 0x1004d332
mov eax, ecx
and eax, 0x808
cmp eax, 0x800
mov al, byte [esp + 0x11]
je 0x1004d33e
mov byte [edi + 0x88], 0
xorps xmm1, xmm1
jmp 0x1004d36e
mov byte [edi + 0x88], 1
test al, al
jne 0x1004d35f
comiss xmm7, xmm5
jbe 0x1004d357
test cl, 8
jne 0x1004d357
mov al, 1
jmp 0x1004d359
xor al, al
mov byte [edi + 0x89], al
mov edx, dword [esp + 0x20]
xorps xmm0, xmm0
movss xmm1, dword [edx + 0x1590]
test al, al
je 0x1004d37a
movss xmm0, dword [edx + 0x1590]
movss dword [edi + 0x80], xmm0
movss dword [edi + 0x84], xmm1
jmp 0x1004d390
mov edx, dword [esp + 0x20]
mov eax, ecx
and eax, 0x5000000
cmp eax, 0x1000000
jne 0x1004d3b3
cmp dword [esp + 0x2c], 0x3000000
je 0x1004d3b3
mov eax, dword [esp + 0x30]
add eax, 0x234
jmp 0x1004d3b7
lea eax, [esp + 0x74]
test byte [edi + 8], 1
movss xmm7, dword [edi + 0xc]
movups xmm0, xmmword [eax]
movss xmm6, dword [edi + 0x10]
movaps xmm4, xmm7
addss xmm4, dword [edi + 0x14]
movaps xmm5, xmm6
movss dword [esp + 0x34], xmm7
addss xmm5, dword [edi + 0x18]
movups xmmword [esp + 0xa0], xmm0
je 0x1004d3ed
xorps xmm1, xmm1
jmp 0x1004d431
cmp dword [edi + 0x324], 0
mov eax, dword [0x10168418]
mov edx, dword [esp + 0x20]
movss xmm0, dword [eax + 0x193c]
mulss xmm0, dword [edi + 0x280]
je 0x1004d421
mov ecx, dword [edi + 0x324]
mulss xmm0, dword [ecx + 0x280]
mov ecx, dword [esp + 0x18]
movss xmm1, dword [eax + 0x155c]
addss xmm1, xmm1
addss xmm1, xmm0
movss xmm2, dword [edi + 0x10]
addss xmm1, xmm6
movaps xmm0, xmm7
movss dword [esp + 0xb0], xmm7
addss xmm0, dword [edi + 0x1c]
movss dword [esp + 0xb4], xmm2
and ecx, 0x401
xorps xmm3, xmm3
movss dword [esp + 0x94], xmm1
movss dword [esp + 0xbc], xmm1
movss dword [esp + 0xb8], xmm0
movss dword [edi + 0x1e4], xmm7
movss dword [edi + 0x1e8], xmm6
movss dword [edi + 0x1ec], xmm4
movss dword [edi + 0x1f0], xmm5
movss xmm4, dword [esp + 0xa0]
movss xmm5, dword [esp + 0xa4]
movss dword [esp + 0x90], xmm0
maxss xmm6, xmm5
movss xmm0, dword [edi + 0x1e4]
maxss xmm0, xmm4
movss dword [edi + 0x1e8], xmm6
movss dword [edi + 0x1e4], xmm0
movss xmm1, dword [edi + 0x1ec]
movss xmm0, dword [edi + 0x1f0]
minss xmm0, dword [esp + 0xac]
minss xmm1, dword [esp + 0xa8]
movss dword [edi + 0x1f0], xmm0
movss dword [edi + 0x1ec], xmm1
movss xmm7, dword [edi + 0x10]
movss xmm1, dword [edi + 0xc]
movaps xmm0, xmm7
movss dword [edi + 0x1f4], xmm1
addss xmm0, dword [esp + 0x6c]
addss xmm7, dword [edi + 0x18]
movss dword [esp + 0x24], xmm0
movss dword [edi + 0x1f8], xmm0
movaps xmm0, xmm1
addss xmm0, dword [edi + 0x14]
subss xmm7, dword [edi + 0x84]
subss xmm0, dword [edi + 0x80]
movss dword [edi + 0x200], xmm7
movss dword [esp + 0x5c], xmm0
movss dword [edi + 0x1fc], xmm0
cmp ecx, 1
jne 0x1004d56d
movss xmm0, dword [edi + 0x48]
jmp 0x1004d575
movss xmm0, dword [edx + 0x1564]
movss xmm6, dword [0x10151c6c]
movss dword [esp + 0x14], xmm0
addss xmm7, xmm6
movss xmm0, dword [edi + 0x3c]
mulss xmm0, xmm6
subss xmm7, dword [edi + 0x48]
cvttss2si eax, xmm0
movss xmm0, dword [edi + 0xc]
addss xmm0, xmm6
movd xmm1, eax
cvtdq2ps xmm1, xmm1
maxss xmm1, dword [edi + 0x48]
addss xmm0, xmm1
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x204], xmm0
movss xmm0, dword [esp + 0x24]
addss xmm0, xmm6
addss xmm0, dword [esp + 0x14]
cvttss2si ecx, xmm0
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x208], xmm0
movss xmm0, dword [esp + 0x5c]
addss xmm0, xmm6
movss xmm6, dword [esp + 0xac]
subss xmm0, xmm1
cvttss2si ecx, xmm0
movd xmm0, ecx
cvttss2si ecx, xmm7
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x20c], xmm0
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x210], xmm0
movss xmm0, dword [edi + 0x208]
comiss xmm5, xmm0
jbe 0x1004d637
movaps xmm1, xmm5
jmp 0x1004d63e
movaps xmm1, xmm6
minss xmm1, xmm0
movss xmm7, dword [esp + 0xa8]
movd xmm2, eax
cvtdq2ps xmm2, xmm2
comiss xmm4, xmm2
jbe 0x1004d658
movaps xmm0, xmm4
jmp 0x1004d65f
movaps xmm0, xmm7
minss xmm0, xmm2
movss dword [edi + 0x204], xmm0
movss dword [edi + 0x208], xmm1
movss xmm0, dword [edi + 0x210]
comiss xmm5, xmm0
ja 0x1004d683
movaps xmm5, xmm6
minss xmm5, xmm0
movss xmm0, dword [edi + 0x20c]
comiss xmm4, xmm0
ja 0x1004d697
movaps xmm4, xmm7
minss xmm4, xmm0
movss dword [edi + 0x20c], xmm4
movss dword [edi + 0x210], xmm5
movss xmm0, dword [edi + 0x14]
comiss xmm0, xmm3
jbe 0x1004d6c5
test dword [esp + 0x18], 0x2000040
jne 0x1004d6c5
mulss xmm0, dword [0x10151c78]
jmp 0x1004d6d5
movss xmm0, dword [edx + 0x1938]
mulss xmm0, dword [0x10151dc0]
cvttss2si eax, xmm0
mov ecx, edi
mov edx, edi
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ecx + 0x264], xmm0
lea ecx, [esp + 0x3c]
movss xmm1, dword [edi + 0x3c]
movss xmm0, dword [edi + 0x1fc]
addss xmm1, xmm1
subss xmm0, dword [edi + 0x1f4]
addss xmm1, dword [edi + 0x24]
subss xmm1, xmm0
xorps xmm0, xmm0
maxss xmm0, xmm1
movss xmm1, dword [edi + 0x40]
addss xmm1, xmm1
movss dword [edi + 0x60], xmm0
movss xmm0, dword [edi + 0x200]
subss xmm0, dword [edi + 0x1f8]
addss xmm1, dword [edi + 0x28]
subss xmm1, xmm0
xorps xmm0, xmm0
maxss xmm0, xmm1
movss dword [edi + 0x64], xmm0
call fcn.1004f770
mov ecx, dword [edi + 0x288]
movss xmm0, dword [eax]
movss xmm1, dword [eax + 4]
mov eax, dword [esp + 0x20]
movss dword [edi + 0x58], xmm0
movss dword [edi + 0x5c], xmm1
mov dword [edi + 0x68], 0x7f7fffff
mov dword [edi + 0x6c], 0x7f7fffff
mov eax, dword [eax + 0x1934]
mov edx, dword [ecx + 0x48]
mov dword [esp + 0x3c], ecx
add ecx, 0x48
mov dword [esp + 0x14], ecx
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 4]
mov dword [esp + 0x24], eax
mov eax, dword [ecx + 4]
cmp edx, eax
jne 0x1004d7cc
inc edx
mov dword [esp + 0x5c], edx
test eax, eax
je 0x1004d7b8
cdq
sub eax, edx
mov edx, dword [esp + 0x5c]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x1004d7bd
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.100554f0
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
mov eax, dword [ecx + 8]
mov ecx, dword [esp + 0x24]
mov dword [eax + edx*4], ecx
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x24]
inc dword [ecx]
mov ecx, dword [esp + 0x3c]
mov dword [ecx + 0x78], eax
call fcn.1005e3d0
push 0
lea edx, [esp + 0xac]
lea ecx, [esp + 0xa4]
call fcn.100487f0
add esp, 4
test dword [esp + 0x18], 0x8000000
je 0x1004d826
call fcn.1004ff70
cmp edi, eax
jne 0x1004d826
cmp byte [edi + 0xad], 0
jg 0x1004d826
mov cl, 1
jmp 0x1004d828
xor cl, cl
mov edx, dword [esp + 0x20]
mov eax, dword [edx + 0x1e18]
test eax, eax
je 0x1004d842
cmp edi, dword [eax + 0x328]
jne 0x1004d842
mov al, 1
jmp 0x1004d844
xor al, al
mov byte [esp + 0x11], al
test cl, cl
jne 0x1004d854
test al, al
je 0x1004d95f
movss xmm1, dword [edx + 0x1e8c]
push 0
push ecx
movzx ecx, cl
add ecx, 0x33
mov dword [esp], 0
call fcn.10043900
mov ecx, dword [edi + 0x288]
push eax
lea eax, [esp + 0x88]
push eax
lea eax, [esp + 0x84]
push eax
call fcn.10060cc0
cmp byte [esp + 0x11], 0
je 0x1004d95f
mov edx, dword [esp + 0x20]
cmp edi, dword [edx + 0x1e18]
jne 0x1004d95f
movss xmm2, dword [edi + 0xc]
movss xmm3, dword [edi + 0x10]
movaps xmm1, xmm2
movss xmm0, dword [edx + 0x1938]
movaps xmm4, xmm3
addss xmm2, dword [edi + 0x14]
addss xmm3, dword [edi + 0x18]
subss xmm1, xmm0
subss xmm4, xmm0
addss xmm2, xmm0
addss xmm3, xmm0
movss xmm0, dword [esp + 0x54]
comiss xmm0, xmm1
movss dword [esp + 0x74], xmm1
movss dword [esp + 0x78], xmm4
movss dword [esp + 0x7c], xmm2
movss dword [esp + 0x80], xmm3
jb 0x1004d919
movss xmm0, dword [esp + 0x58]
comiss xmm0, xmm4
jb 0x1004d919
comiss xmm2, dword [esp + 0x64]
jb 0x1004d919
comiss xmm3, dword [esp + 0x38]
jae 0x1004d95f
movss xmm1, dword [edx + 0x1e24]
mulss xmm1, dword [0x10151c48]
push 0
movss xmm0, dword [edx + 0x152c]
push ecx
mov ecx, 0x32
movss dword [esp], xmm0
call fcn.10043900
mov ecx, dword [edi + 0x288]
push eax
lea eax, [esp + 0x88]
push eax
lea eax, [esp + 0x84]
push eax
call fcn.10060cc0
mov eax, dword [esp + 0x18]
and eax, 0x5000000
mov byte [esp + 0x11], 0
cmp eax, 0x1000000
jne 0x1004d9ae
cmp dword [esp + 0x2c], 0x3000000
je 0x1004d9ae
mov edx, dword [edi + 0x288]
mov eax, dword [edx]
lea ecx, [eax + eax*4]
mov eax, dword [edx + 8]
cmp dword [eax + ecx*8 - 0xc], 0
jne 0x1004d9ae
mov eax, dword [esp + 0x30]
mov eax, dword [eax + 0x288]
cmp dword [eax + 0x18], 0
jle 0x1004d9ae
mov byte [esp + 0x11], 1
mov dword [edi + 0x288], eax
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x1e14]
test ecx, ecx
jne 0x1004d9c2
mov ecx, dword [eax + 0x1d08]
cmp byte [esp + 0x70], 0
jne 0x1004d9e2
test ecx, ecx
je 0x1004d9db
mov eax, dword [edi + 0x32c]
cmp eax, dword [ecx + 0x32c]
je 0x1004d9e2
mov byte [esp + 0x14], 0
jmp 0x1004d9e7
mov byte [esp + 0x14], 1
movd xmm0, esi
lea eax, [esp + 0xd0]
cvtdq2ps xmm0, xmm0
push ecx
lea edx, [esp + 0xb4]
mov ecx, edi
movss dword [esp], xmm0
push eax
push dword [esp + 0x4c]
push dword [esp + 0x20]
call fcn.1004b610
add esp, 0x10
cmp byte [esp + 0x11], 0
je 0x1004da28
lea eax, [edi + 0x28c]
mov dword [edi + 0x288], eax
mov esi, dword [esp + 0x20]
cmp dword [esi + 0x1e18], edi
jne 0x1004dbd4
movss xmm4, dword [edi + 0x44]
movss xmm1, dword [edi + 0xc]
movaps xmm0, xmm4
maxss xmm0, dword [esi + 0x152c]
movss xmm2, dword [esi + 0x1938]
movaps xmm3, xmm1
addss xmm1, dword [edi + 0x14]
movss xmm7, dword [edi + 0x10]
subss xmm3, xmm2
movss xmm5, dword [esp + 0x54]
movss dword [esp + 0x14], xmm0
movaps xmm0, xmm7
addss xmm7, dword [edi + 0x18]
subss xmm0, xmm2
comiss xmm5, xmm3
addss xmm1, xmm2
movss dword [esp + 0x2c], xmm3
movss dword [esp + 0x20], xmm0
addss xmm7, xmm2
movss dword [esp + 0x24], xmm1
jb 0x1004daf0
movss xmm5, dword [esp + 0x58]
comiss xmm5, xmm0
jb 0x1004daf0
comiss xmm1, dword [esp + 0x64]
jb 0x1004daf0
comiss xmm7, dword [esp + 0x38]
jb 0x1004daf0
xorps xmm2, xmmword [0x101521b0]
subss xmm2, dword [0x10151cb0]
movss dword [esp + 0x14], xmm4
subss xmm0, xmm2
subss xmm3, xmm2
addss xmm7, xmm2
movss dword [esp + 0x20], xmm0
movaps xmm0, xmm2
addss xmm0, xmm1
movss dword [esp + 0x2c], xmm3
movss dword [esp + 0x24], xmm0
mov edx, dword [edi + 0x288]
mov ecx, 0x32
movss xmm1, dword [esi + 0x1e24]
mov dword [esp + 0x38], edx
call fcn.10043900
mov dword [esp + 0x44], eax
test eax, 0xff000000
je 0x1004dbd4
test byte [edx + 0x24], 1
lea eax, [esp + 0x3c]
movss xmm1, dword [esp + 0x24]
mov ecx, edx
movss xmm0, dword [esp + 0x2c]
movss xmm3, dword [esp + 0x14]
push 0
push eax
lea eax, [esp + 0x64]
push eax
je 0x1004db67
movss xmm2, dword [0x10151c6c]
addss xmm0, xmm2
subss xmm1, xmm2
subss xmm7, xmm2
movss dword [esp + 0x68], xmm0
movss xmm0, dword [esp + 0x2c]
addss xmm0, xmm2
jmp 0x1004db93
addss xmm0, dword [0x10151c6c]
subss xmm1, dword [0x10151c68]
subss xmm7, dword [0x10151c68]
movss dword [esp + 0x68], xmm0
movss xmm0, dword [esp + 0x2c]
addss xmm0, dword [0x10151c6c]
movss dword [esp + 0x48], xmm1
movss dword [esp + 0x4c], xmm7
movss dword [esp + 0x6c], xmm0
call fcn.100601a0
mov eax, dword [esp + 0x38]
push ecx
mov dword [esp], 0x40400000
mov ecx, eax
push 1
push dword [esp + 0x4c]
push dword [eax + 0x54]
push dword [eax + 0x5c]
call fcn.1005e890
mov eax, dword [esp + 0x38]
mov dword [eax + 0x54], 0
mov ecx, dword [esp + 0x18]
xorps xmm4, xmm4
movss xmm6, dword [edi + 0x34]
mov edx, ecx
shr edx, 3
not dl
and dl, 1
ucomiss xmm6, xmm4
lahf
test ah, 0x44
jnp 0x1004dbfb
movss dword [esp + 0x38], xmm6
jmp 0x1004dc37
movss xmm0, dword [edi + 0x3c]
mov eax, ecx
movss xmm1, dword [edi + 0x14]
addss xmm0, xmm0
and eax, 0x808
subss xmm1, xmm0
subss xmm1, dword [edi + 0x80]
cmp eax, 0x800
jne 0x1004dc2a
movss xmm0, dword [edi + 0x24]
jmp 0x1004dc2d
xorps xmm0, xmm0
maxss xmm0, xmm1
movss dword [esp + 0x38], xmm0
movss xmm5, dword [edi + 0x38]
ucomiss xmm5, xmm4
lahf
test ah, 0x44
jnp 0x1004dc4d
movss dword [esp + 0x64], xmm5
jmp 0x1004dc85
movss xmm0, dword [edi + 0x40]
movss xmm1, dword [edi + 0x18]
addss xmm0, xmm0
subss xmm1, xmm0
subss xmm1, dword [esp + 0x6c]
subss xmm1, dword [edi + 0x84]
test dl, dl
je 0x1004dc78
movss xmm0, dword [edi + 0x28]
jmp 0x1004dc7b
xorps xmm0, xmm0
maxss xmm0, xmm1
movss dword [esp + 0x64], xmm0
movss xmm7, dword [edi + 0x3c]
movss xmm1, dword [edi + 0x1f4]
movaps xmm0, xmm7
maxss xmm0, dword [edi + 0x48]
subss xmm1, dword [edi + 0x58]
movss xmm3, dword [edi + 0x10]
ucomiss xmm6, xmm4
addss xmm1, xmm0
movss xmm0, dword [edi + 0x40]
movss dword [esp + 0x44], xmm0
maxss xmm0, dword [edi + 0x48]
cvttss2si eax, xmm1
movss xmm1, dword [edi + 0x5c]
movss dword [esp + 0x14], xmm1
movss xmm1, dword [edi + 0x1f8]
subss xmm1, dword [esp + 0x14]
movd xmm2, eax
subss xmm3, dword [esp + 0x14]
cvtdq2ps xmm2, xmm2
addss xmm1, xmm0
movss dword [edi + 0x214], xmm2
addss xmm2, dword [esp + 0x38]
cvttss2si eax, xmm1
movss xmm1, dword [esp + 0x64]
movss dword [edi + 0x21c], xmm2
movss xmm2, dword [esp + 0x6c]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
lahf
movss dword [edi + 0x218], xmm0
addss xmm1, xmm0
movss dword [edi + 0x220], xmm1
movss xmm1, dword [esp + 0x44]
addss xmm3, xmm1
movups xmm0, xmmword [edi + 0x214]
movups xmmword [edi + 0x224], xmm0
movss xmm0, dword [edi + 0xc]
addss xmm3, xmm2
movss dword [esp + 0x5c], xmm0
subss xmm0, dword [edi + 0x58]
movss dword [edi + 0x248], xmm3
addss xmm0, xmm7
movss dword [esp + 0x3c], xmm0
movss dword [edi + 0x244], xmm0
test ah, 0x44
jp 0x1004dd94
movss xmm6, dword [edi + 0x14]
movaps xmm0, xmm7
addss xmm0, xmm7
subss xmm6, xmm0
movss xmm0, dword [esp + 0x3c]
subss xmm6, dword [edi + 0x80]
ucomiss xmm5, xmm4
addss xmm6, xmm0
lahf
movss dword [edi + 0x24c], xmm6
test ah, 0x44
jp 0x1004ddc5
movss xmm5, dword [edi + 0x18]
movaps xmm0, xmm1
addss xmm0, xmm1
subss xmm5, xmm0
subss xmm5, xmm2
subss xmm5, dword [edi + 0x84]
addss xmm7, xmm4
addss xmm5, xmm3
addss xmm1, xmm2
lea ecx, [edi + 0x174]
subss xmm7, dword [edi + 0x58]
movss dword [edi + 0x250], xmm5
subss xmm1, dword [esp + 0x14]
movss dword [edi + 0x110], xmm7
addss xmm7, xmm4
mov dword [edi + 0x118], 0
mov dword [edi + 0x114], 0
addss xmm1, dword [edi + 0x10]
addss xmm7, dword [esp + 0x5c]
movss dword [edi + 0xe0], xmm7
movss dword [edi + 0xe4], xmm1
movss dword [edi + 0xd0], xmm7
movss dword [edi + 0xd4], xmm1
movss dword [edi + 0xd8], xmm7
movss dword [edi + 0xdc], xmm1
movss dword [edi + 0xe8], xmm7
movss dword [edi + 0xec], xmm1
movss dword [edi + 0xf0], xmm7
movss dword [edi + 0xf4], xmm1
mov dword [edi + 0x100], 0
mov dword [edi + 0x104], 0
mov dword [edi + 0xf8], 0
mov dword [edi + 0xfc], 0
mov dword [edi + 0x10c], 0
mov dword [edi + 0x108], 0
mov dword [edi + 0x144], 0
mov ax, word [edi + 0x14a]
mov word [edi + 0x148], ax
xor eax, eax
mov word [edi + 0x14a], ax
mov byte [edi + 0x150], al
movss xmm0, dword [edi + 0x64]
comiss xmm0, xmm4
seta al
cmp byte [esp + 0x1e], 0
mov byte [edi + 0x151], al
mov byte [edi + 0x152], 0
movss xmm0, dword [esi + 0x1568]
mov dword [edi + 0x164], 0
mov dword [edi + 0x160], 0
movss dword [edi + 0x15c], xmm0
je 0x1004df19
xorps xmm0, xmm0
movq qword [ecx], xmm0
mov dword [ecx + 8], 0
xor edx, edx
nop dword [eax + eax]
test edx, edx
je 0x1004df45
movss xmm0, dword [ecx]
comiss xmm0, xmm4
jbe 0x1004df45
movss xmm0, dword [edi + 0x15c]
addss xmm0, dword [edi + 0x160]
movss dword [edi + 0x160], xmm0
cvttss2si eax, dword [edi + 0x160]
inc edx
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ecx - 0xc], xmm0
movss xmm0, dword [ecx]
addss xmm0, dword [edi + 0x160]
movss dword [edi + 0x160], xmm0
mov dword [ecx], 0
add ecx, 4
cmp edx, 3
jl 0x1004df20
mov dword [edi + 0x180], 0
lea eax, [edi + 0x188]
mov dword [edi + 0x184], 0
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x1004dfbf
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
lea ecx, [edi + 0x188]
call fcn.100554f0
lea eax, [edi + 0x188]
mov dword [eax], 0
lea eax, [edi + 0x268]
mov dword [edi + 0x194], eax
mov eax, dword [esp + 0x30]
mov dword [edi + 0x198], 0
mov dword [edi + 0x1a0], 1
test eax, eax
je 0x1004dff5
mov eax, dword [eax + 0x1a0]
jmp 0x1004dffa
mov eax, 1
mov dword [edi + 0x1a4], eax
mov dword [edi + 0x1ac], 0xffffffff
mov dword [edi + 0x1a8], 0xffffffff
mov eax, dword [edi + 0x264]
push ecx
mov dword [edi + 0x1b4], eax
lea ecx, [edi + 0x1bc]
mov dword [edi + 0x1b8], 0xbf800000
call fcn.10055640
push ecx
lea ecx, [edi + 0x1c8]
call fcn.10055640
mov al, byte [edi + 0xa4]
test al, al
jle 0x1004e054
dec al
mov byte [edi + 0xa4], al
mov al, byte [edi + 0xa5]
test al, al
jle 0x1004e066
dec al
mov byte [edi + 0xa5], al
cmp byte [esp + 0x70], 0
je 0x1004e07d
mov ecx, edi
call fcn.1004e490
xor dl, dl
mov ecx, edi
call fcn.100515a0
test byte [esp + 0x18], 1
jne 0x1004e0e9
movss xmm0, dword [esp + 0x34]
lea edx, [esp + 0x74]
addss xmm0, dword [edi + 0x48]
push dword [esp + 0x8c]
mov ecx, edi
push dword [esp + 0x6c]
movss dword [esp + 0x7c], xmm0
movss xmm0, dword [esp + 0xbc]
movss dword [esp + 0x80], xmm0
movss xmm0, dword [esp + 0x98]
subss xmm0, dword [edi + 0x48]
movss dword [esp + 0x84], xmm0
movss xmm0, dword [esp + 0x9c]
movss dword [esp + 0x88], xmm0
call fcn.1004bbb0
add esp, 8
movss xmm3, dword [esp + 0x34]
xor eax, eax
movss xmm4, dword [esp + 0x90]
movss xmm2, dword [esp + 0x94]
movss xmm5, dword [esp + 0xb4]
mov dword [edi + 0x254], eax
mov eax, dword [0x10168418]
movss xmm1, dword [eax + 0x1580]
movss xmm0, dword [eax + 0x1584]
subss xmm3, xmm1
addss xmm4, xmm1
movss xmm1, dword [eax + 0xe8]
addss xmm2, xmm0
subss xmm5, xmm0
comiss xmm1, xmm3
jb 0x1004e162
movss xmm0, dword [eax + 0xec]
comiss xmm0, xmm5
jb 0x1004e162
comiss xmm4, xmm1
jbe 0x1004e162
comiss xmm2, xmm0
jbe 0x1004e162
mov ecx, 1
jmp 0x1004e164
xor ecx, ecx
mov eax, dword [edi + 0x50]
movups xmm0, xmmword [esp + 0xb0]
mov dword [edi + 0x11c], eax
mov dword [edi + 0x120], ecx
movups xmmword [edi + 0x124], xmm0
jmp 0x1004e1e2
mov eax, dword [0x10168418]
mov dword [eax + 0x1ba4], edi
mov ecx, dword [edi + 0x19c]
cmp ecx, 0xffffffff
je 0x1004e1a8
imul ecx, ecx, 0x1b0
add ecx, dword [eax + 0x1fcc]
jmp 0x1004e1aa
xor ecx, ecx
movss xmm0, dword [eax + 0x193c]
mov dword [eax + 0x1fbc], ecx
mov ecx, dword [edi + 0x324]
mulss xmm0, dword [edi + 0x280]
test ecx, ecx
je 0x1004e1d2
mulss xmm0, dword [ecx + 0x280]
movss dword [eax + 0x194c], xmm0
movss dword [eax + 0x1938], xmm0
mov ecx, dword [esi + 0x1ccc]
mov eax, dword [esi + 0x1cd4]
mov eax, dword [eax + ecx*4 - 4]
mov dword [esi + 0x1bc4], eax
mov eax, dword [esp + 0x18]
and eax, 0x1000000
mov dword [esp + 0x44], eax
je 0x1004e213
mov eax, dword [esp + 0x30]
mov eax, dword [eax + 0x14c]
jmp 0x1004e215
xor eax, eax
push 1
lea edx, [edi + 0x20c]
mov dword [edi + 0x14c], eax
lea ecx, [edi + 0x204]
call fcn.100487f0
mov eax, dword [esp + 0x50]
add esp, 4
mov byte [edi + 0x8c], 0
inc word [edi + 0x96]
mov dword [esi + 0x1c28], 0
cmp eax, dword [esp + 0x50]
je 0x1004e37e
cmp dword [esp + 0x44], 0
je 0x1004e2e7
test byte [esp + 0x18], 0x40
jne 0x1004e2ad
cmp byte [edi + 0xa4], 0
jg 0x1004e2ad
cmp byte [edi + 0xa5], 0
jg 0x1004e2ad
cmp byte [esi + 0x2fcc], 0
jne 0x1004e2ad
movss xmm0, dword [edi + 0x1e4]
comiss xmm0, dword [edi + 0x1ec]
jae 0x1004e2a6
movss xmm0, dword [edi + 0x1e8]
comiss xmm0, dword [edi + 0x1f0]
jb 0x1004e2ad
mov byte [edi + 0xac], 1
mov eax, dword [esp + 0x30]
test eax, eax
je 0x1004e2e7
cmp byte [eax + 0x8d], 0
jne 0x1004e2c7
cmp byte [eax + 0xac], 0
jle 0x1004e2ce
mov byte [edi + 0xac], 1
cmp byte [eax + 0x8d], 0
jne 0x1004e2e0
cmp byte [eax + 0xad], 0
jle 0x1004e2e7
mov byte [edi + 0xad], 1
xorps xmm0, xmm0
comiss xmm0, dword [esi + 0x1520]
jb 0x1004e2fa
mov byte [edi + 0xac], 1
cmp byte [edi + 0xac], 0
jg 0x1004e319
cmp byte [edi + 0xad], 0
jg 0x1004e319
cmp byte [edi + 0xae], 0
jg 0x1004e319
xor cl, cl
jmp 0x1004e31b
mov cl, 1
mov byte [edi + 0x91], cl
mov al, byte [edi + 0xaf]
test al, al
jle 0x1004e33e
dec al
mov byte [edi + 0xaf], al
mov eax, dword [edi + 8]
or eax, 0xc0200
mov dword [edi + 8], eax
xor al, al
cmp byte [edi + 0x8d], al
jne 0x1004e354
cmp byte [edi + 0x8a], al
je 0x1004e354
test cl, cl
je 0x1004e378
cmp byte [edi + 0xa4], 0
jg 0x1004e378
cmp byte [edi + 0xa5], 0
jg 0x1004e378
cmp byte [edi + 0xad], 0
mov ecx, 1
movzx eax, al
cmovle eax, ecx
mov byte [edi + 0x8f], al
cmp byte [edi + 0x8f], 0
pop edi
sete al
pop esi
mov esp, ebp
pop ebp
ret