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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xc8
push esi
mov esi, dword [0x101541b4]
mov eax, ecx
push edi
mov dword [esp + 0xb0], edx
mov dword [esp + 0x58], eax
mov dword [esp + 0x1c], esi
call fcn.10044670
mov edi, eax
mov dword [esp + 0x28], eax
test edi, edi
sete cl
test eax, eax
mov eax, dword [ebp + 8]
mov byte [esp + 0x17], cl
jne 0x100469c0
mov ecx, dword [esp + 0x58]
mov edx, eax
call fcn.100446c0
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 + 0x1b78]
mov dword [esp + 0x18], ecx
cmovne edx, eax
cmp dword [ecx], 0
mov eax, dword [esi + 0x1b38]
mov dword [esp + 0x48], eax
mov eax, dword [edi + 0x25c]
mov dword [esp + 0x10], edx
mov dword [esp + 0x44], eax
jne 0x10046a0a
cmp byte [esi + 0x1b45], 0
je 0x10046a0a
mov al, 1
jmp 0x10046a0c
xor al, al
mov edx, dword [esp + 0x10]
mov byte [edi + 0x92], al
mov eax, dword [esp + 0x48]
dec eax
cmp dword [esp + 0x44], eax
setl al
mov byte [esp + 0xf], al
test edx, 0x4000000
je 0x10046a68
mov eax, dword [esi + 0x1ce0]
lea esi, [eax + eax*8]
mov eax, dword [esp + 0x1c]
mov edx, dword [eax + 0x1cdc]
mov eax, dword [edi + 0x9c]
cmp edi, dword [edx + esi*4 + 4]
setne cl
cmp eax, dword [edx + esi*4]
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
setne al
or cl, al
mov al, byte [esp + 0xf]
or al, cl
mov byte [esp + 0xf], al
mov byte [edi + 0x90], al
test al, al
je 0x10046a95
mov al, byte [edi + 0xac]
or byte [edi + 0xad], 8
or al, 8
mov byte [edi + 0xac], al
mov al, byte [edi + 0xae]
or al, 8
mov byte [edi + 0xae], al
mov eax, dword [esp + 0x48]
cmp dword [esp + 0x44], eax
je 0x10046adb
mov dword [edi + 0x25c], eax
xor eax, eax
mov dword [edi + 8], edx
movsd xmm0, qword [esi + 0x1b30]
cvtpd2ps xmm0, xmm0
mov word [edi + 0x98], ax
movss dword [edi + 0x260], xmm0
movzx eax, word [esi + 0x1b90]
inc dword [esi + 0x1b90]
mov word [edi + 0x9a], ax
jmp 0x10046ae2
mov edx, dword [edi + 8]
mov dword [esp + 0x10], edx
mov ecx, dword [esp + 0x18]
cmp dword [ecx], 0
jne 0x10046aef
xor eax, eax
jmp 0x10046afb
mov eax, dword [esi + 0x1b80]
mov esi, dword [ecx]
mov eax, dword [eax + esi*4 - 4]
mov esi, dword [esp + 0x44]
cmp esi, dword [esp + 0x48]
je 0x10046b17
and edx, 0x5000000
neg edx
sbb edx, edx
and edx, eax
mov dword [esp + 0x34], edx
jmp 0x10046b21
mov eax, dword [edi + 0x31c]
mov dword [esp + 0x34], eax
cmp dword [edi + 0xc0], 0
lea edx, [edi + 0xc0]
mov esi, dword [esp + 0x1c]
jne 0x10046b74
cmp dword [edx + 4], 0
mov dword [esp + 0x18], 0
jne 0x10046b5b
push 8
mov ecx, edx
call fcn.1004f9f0
mov eax, dword [edi + 0xc0]
lea edx, [edi + 0xc0]
mov dword [esp + 0x18], eax
mov ecx, dword [edx + 8]
mov esi, dword [esp + 0x18]
mov eax, dword [edi + 4]
mov dword [ecx + esi*4], eax
mov esi, dword [esp + 0x1c]
inc dword [edx]
lea ecx, [esi + 0x1b78]
mov edx, dword [ecx]
mov eax, dword [ecx + 4]
cmp edx, eax
jne 0x10046bb0
inc edx
mov dword [esp + 0x40], edx
test eax, eax
je 0x10046b94
cdq
sub eax, edx
mov edx, dword [esp + 0x40]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x10046b99
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.1004f9f0
mov edx, dword [esi + 0x1b78]
lea ecx, [esi + 0x1b78]
mov eax, dword [ecx + 8]
mov dword [eax + edx*4], edi
inc dword [ecx]
mov ecx, dword [0x101541b4]
mov dword [esi + 0x1b94], edi
mov eax, dword [ecx + 0x1b94]
movzx eax, word [eax + 0xc0]
mov word [edi + 0x1d4], ax
movzx eax, word [ecx + 0x1c8c]
mov word [edi + 0x1d6], ax
movzx eax, word [ecx + 0x1c98]
mov word [edi + 0x1d8], ax
movzx eax, word [ecx + 0x1ca4]
mov word [edi + 0x1da], ax
movzx eax, word [ecx + 0x1cb0]
mov word [edi + 0x1dc], ax
movzx eax, word [ecx + 0x1cc8]
mov word [edi + 0x1de], ax
movzx eax, word [ecx + 0x1ce0]
mov ecx, dword [esp + 0x10]
mov word [edi + 0x1e0], ax
mov eax, ecx
and eax, 0x4000000
mov dword [esi + 0x1b94], 0
mov dword [esp + 0x30], eax
je 0x10046c79
mov eax, dword [esi + 0x1ce0]
lea ecx, [esi + 0x1ce0]
lea edx, [eax + eax*8]
mov eax, dword [esi + 0x1cdc]
mov dword [eax + edx*4 + 4], edi
lea esi, [eax + edx*4]
push esi
call fcn.1004f760
mov eax, dword [esi]
mov esi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
mov dword [edi + 0x9c], eax
mov eax, dword [esp + 0x44]
cmp eax, dword [esp + 0x48]
je 0x10046d07
mov edx, dword [esp + 0x34]
mov dword [edi + 0x31c], edx
mov dword [edi + 0x328], edi
mov dword [edi + 0x324], edi
mov dword [edi + 0x320], edi
test edx, edx
je 0x10046cdd
mov eax, ecx
and eax, 0x3000000
cmp eax, 0x1000000
jne 0x10046cc1
mov eax, dword [edx + 0x320]
mov dword [edi + 0x320], eax
test ecx, 0x8000000
jne 0x10046cdd
test ecx, 0x5000000
je 0x10046cdd
mov eax, dword [edx + 0x324]
mov dword [edi + 0x324], eax
test dword [edi + 8], 0x800000
je 0x10046d07
mov ecx, edi
nop dword [eax + eax]
mov eax, dword [ecx + 0x31c]
mov ecx, eax
mov dword [edi + 0x328], ecx
test dword [eax + 8], 0x800000
jne 0x10046cf0
test byte [esi + 0x1c18], 1
mov byte [esp + 0xe], 0
mov byte [esp + 0xd], 0
mov byte [esp + 0xc], 0
je 0x10046dbe
mov dl, byte [edi + 0xac]
mov ecx, dword [esi + 0x1c1c]
movsx eax, dl
and eax, ecx
setne byte [esp + 0xe]
test ecx, eax
je 0x10046db0
movss xmm1, dword [esi + 0x1c34]
movss xmm0, dword [esi + 0x1c30]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
comiss xmm0, dword [0x1014b0c0]
jbe 0x10046db0
mov eax, dword [esi + 0x1c28]
mov ecx, dword [esi + 0x1c2c]
mov dword [edi + 0xb4], ecx
mov dword [edi + 0xb0], eax
mov eax, dword [esi + 0x1c30]
mov ecx, dword [esi + 0x1c34]
mov dword [edi + 0xbc], ecx
mov dword [edi + 0xb8], eax
mov eax, dword [edi + 0xac]
movzx ecx, dl
and eax, 0xffffff00
and ecx, 0xf1
or ecx, eax
mov dword [edi + 0xac], ecx
jmp 0x10046dbe
push ecx
lea edx, [esi + 0x1c28]
mov ecx, edi
call fcn.10049070
mov eax, dword [esi + 0x1c18]
xorps xmm1, xmm1
test al, 2
je 0x10046e23
movsx eax, byte [edi + 0xad]
lea edx, [esi + 0x1c38]
mov ecx, dword [esi + 0x1c20]
and eax, ecx
je 0x10046df2
movss xmm0, dword [edx]
comiss xmm0, xmm1
jbe 0x10046df2
mov byte [esp + 0xd], 1
jmp 0x10046dfb
mov byte [esp + 0xd], 0
test eax, eax
je 0x10046e0d
movss xmm0, dword [esi + 0x1c3c]
comiss xmm0, xmm1
mov byte [esp + 0xc], 1
ja 0x10046e12
mov byte [esp + 0xc], 0
push ecx
mov ecx, edi
call fcn.10049190
mov eax, dword [esi + 0x1c18]
xorps xmm1, xmm1
test al, al
jns 0x10046e59
movss xmm0, dword [esi + 0x1c48]
comiss xmm0, xmm1
jb 0x10046e40
movss dword [edi + 0x68], xmm0
mov dword [edi + 0x70], 0
movss xmm0, dword [esi + 0x1c4c]
comiss xmm0, xmm1
jb 0x10046e59
movss dword [edi + 0x6c], xmm0
mov dword [edi + 0x74], 0
test byte [esi + 0x1c18], 4
je 0x10046e76
mov eax, dword [esi + 0x1c40]
mov ecx, dword [esi + 0x1c44]
mov dword [edi + 0x34], eax
mov dword [edi + 0x38], ecx
jmp 0x10046e8e
mov eax, dword [esp + 0x44]
cmp eax, dword [esp + 0x48]
je 0x10046e8e
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov ecx, dword [esi + 0x1c18]
test cl, 8
je 0x10046eeb
mov edx, dword [esi + 0x1c24]
mov al, byte [esi + 0x1c50]
mov byte [esp + 0xb], al
test edx, edx
je 0x10046eb8
movsx eax, byte [edi + 0xae]
test edx, eax
je 0x10046eeb
movzx ecx, byte [edi + 0xae]
mov eax, dword [edi + 0xac]
and ecx, 0xf1
shl ecx, 0x10
and eax, 0xff00ffff
or ecx, eax
mov al, byte [esp + 0xb]
mov dword [edi + 0xac], ecx
mov byte [edi + 0x8d], al
mov ecx, dword [esi + 0x1c18]
test cl, 0x20
je 0x10046ef7
mov ecx, edi
call fcn.10048c60
cmp byte [edi + 0x90], 0
je 0x10046f23
mov al, byte [edi + 0xac]
and byte [edi + 0xad], 0xf7
and al, 0xf7
mov byte [edi + 0xac], al
mov al, byte [edi + 0xae]
and al, 0xf7
mov byte [edi + 0xae], al
mov eax, dword [esp + 0x44]
cmp eax, dword [esp + 0x48]
je 0x100489fe
mov eax, dword [esp + 0x10]
and eax, 0x3000000
mov byte [edi + 0x8a], 1
cmp dword [esp + 0xb0], 0
mov dword [esp + 0x54], eax
setne al
mov byte [edi + 0x93], al
mov dword [edi + 0x234], 0xff7fffff
mov dword [edi + 0x238], 0xff7fffff
mov dword [edi + 0x23c], 0x7f7fffff
mov dword [edi + 0x240], 0x7f7fffff
mov eax, dword [edi + 0xc4]
cmp eax, 1
jge 0x10046fbc
test eax, eax
je 0x10046f9f
cdq
sub eax, edx
lea edx, [edi + 0xc0]
mov ecx, eax
sar ecx, 1
add ecx, dword [edx + 4]
jmp 0x10046faa
mov ecx, 8
lea edx, [edi + 0xc0]
mov eax, 1
cmp ecx, eax
cmovg eax, ecx
mov ecx, edx
push eax
call fcn.1004f9f0
mov dword [edi + 0xc0], 1
mov ecx, dword [edi + 0x288]
call fcn.10052ea0
cmp byte [edi + 0x360], 0
mov dword [edi + 0x19c], 0xffffffff
je 0x10047027
mov ecx, dword [edi + 0x288]
push dword [edi + 0x358]
add ecx, 0xc
mov byte [edi + 0x360], 0
call fcn.1004fc80
mov ecx, dword [edi + 0x288]
push dword [edi + 0x35c]
add ecx, 0x18
call fcn.1004fb20
mov dword [edi + 0x35c], 0
mov dword [edi + 0x358], 0
cmp dword [esi + 0x1e08], 0
je 0x1004710e
test dword [edi + 8], 0x80000
jne 0x1004710e
cmp dword [esp + 0x28], 0
je 0x1004710e
mov eax, dword [edi]
mov ecx, eax
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x58]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10047078
test dl, dl
je 0x10047074
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10047078
add eax, 2
add ecx, 2
test dl, dl
jne 0x10047058
xor eax, eax
jmp 0x1004707d
sbb eax, eax
or eax, 1
test eax, eax
je 0x1004710e
mov ecx, dword [esp + 0x58]
mov edx, dword [edi + 0x4c]
mov dword [esp + 0x2c], edx
lea eax, [ecx + 1]
mov dword [esp + 0x40], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10047097
sub ecx, dword [esp + 0x40]
lea eax, [ecx + 1]
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x18], eax
cmp edx, eax
jae 0x100470f7
test ecx, ecx
je 0x100470c4
mov eax, dword [0x101541b4]
test eax, eax
je 0x100470c4
dec dword [eax + 0x370]
mov edx, dword [0x101541b0]
call fcn.1003cd90
mov eax, dword [0x101541b4]
test eax, eax
je 0x100470de
inc dword [eax + 0x370]
mov edx, dword [0x101541b0]
mov ecx, dword [esp + 0x18]
call fcn.1003cd80
mov ecx, eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x2c], eax
push eax
push dword [esp + 0x5c]
push ecx
call fcn.100fe460
mov dword [edi], eax
add esp, 0xc
mov eax, dword [esp + 0x2c]
mov dword [edi + 0x4c], eax
lea eax, [edi + 0x2c]
mov ecx, edi
lea edx, [edi + 0x24]
push eax
call fcn.10044bd0
mov al, byte [edi + 0xa8]
test al, al
jle 0x1004712e
dec al
mov byte [edi + 0xa8], al
mov al, byte [edi + 0xa9]
test al, al
jle 0x10047140
dec al
mov byte [edi + 0xa9], al
mov al, byte [edi + 0xaa]
test al, al
jle 0x10047152
dec al
mov byte [edi + 0xaa], al
cmp dword [esp + 0x28], 0
mov cl, byte [esp + 0xd]
mov dl, byte [esp + 0xc]
jne 0x10047170
test cl, cl
je 0x10047169
test dl, dl
jne 0x10047170
mov byte [edi + 0xa9], 1
cmp byte [esp + 0xf], 0
je 0x100471cb
mov eax, dword [esp + 0x10]
test eax, 0x6000000
je 0x100471cb
mov byte [edi + 0xa9], 1
test al, 0x40
je 0x100471cb
test cl, cl
jne 0x1004719f
mov dword [edi + 0x1c], 0
mov dword [edi + 0x14], 0
test dl, dl
jne 0x100471b1
mov dword [edi + 0x20], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x2c], 0
mov eax, dword [edi + 0x2c]
mov dword [edi + 0x30], 0
mov ecx, dword [edi + 0x30]
mov dword [edi + 0x24], eax
mov dword [edi + 0x28], ecx
mov ecx, edi
call fcn.100400d0
mov edx, dword [esp + 0x10]
mov eax, edx
and eax, 0x1000000
mov dword [esp + 0x2c], eax
je 0x100471ed
movss xmm0, dword [esi + 0x1544]
jmp 0x1004720f
test edx, 0x6000000
je 0x10047207
test edx, 0x8000000
jne 0x10047207
movss xmm0, dword [esi + 0x154c]
jmp 0x1004720f
movss xmm0, dword [esi + 0x1528]
movss dword [edi + 0x48], xmm0
xorps xmm3, xmm3
mov eax, dword [esi + 0x151c]
mov ecx, dword [esi + 0x1520]
mov dword [edi + 0x3c], eax
mov eax, edx
and eax, 0x5010000
mov dword [edi + 0x40], ecx
cmp eax, 0x1000000
jne 0x10047266
movss xmm0, dword [edi + 0x48]
ucomiss xmm0, xmm3
lahf
test ah, 0x44
jp 0x10047266
test edx, 0x400
je 0x10047257
movss xmm0, dword [esi + 0x1520]
jmp 0x1004725a
xorps xmm0, xmm0
mov dword [edi + 0x3c], 0
movss dword [edi + 0x40], xmm0
movss xmm0, dword [edi + 0x3c]
maxss xmm0, dword [esi + 0x1560]
maxss xmm0, dword [esi + 0x1c70]
movss dword [edi + 0x154], xmm0
mov eax, dword [esi + 0x1c74]
mov dword [edi + 0x158], eax
test dl, 0x21
jne 0x100473d3
mov edx, dword [edi + 8]
mov ecx, dword [0x101541b4]
test dl, 1
je 0x100472ab
xorps xmm0, xmm0
jmp 0x100472dd
movss xmm1, dword [ecx + 0x1934]
mov eax, dword [edi + 0x31c]
mulss xmm1, dword [edi + 0x280]
test eax, eax
je 0x100472cd
mulss xmm1, dword [eax + 0x280]
movss xmm0, dword [ecx + 0x1554]
addss xmm0, xmm0
addss xmm0, xmm1
movss xmm4, dword [edi + 0xc]
movaps xmm5, xmm4
addss xmm5, dword [edi + 0x1c]
addss xmm0, dword [edi + 0x10]
cmp dword [esi + 0x1b98], edi
jne 0x1004739e
cmp dword [esi + 0x1bb4], 0
jne 0x1004739e
cmp dword [esi + 0x1bb8], 0
jne 0x1004739e
mov eax, dword [ecx + 0x1b94]
movss xmm1, dword [ecx + 0x1578]
movaps xmm7, xmm1
maxss xmm4, dword [eax + 0x234]
minss xmm5, dword [eax + 0x23c]
movss xmm6, dword [eax + 0x238]
movss xmm2, dword [eax + 0x240]
maxss xmm6, dword [edi + 0x10]
subss xmm4, xmm1
movss xmm1, dword [ecx + 0xe4]
minss xmm2, xmm0
movss xmm0, dword [ecx + 0x157c]
addss xmm7, xmm5
movaps xmm5, xmm0
subss xmm6, xmm0
comiss xmm1, xmm4
addss xmm5, xmm2
jb 0x1004739e
movss xmm0, dword [ecx + 0xe8]
comiss xmm0, xmm6
jb 0x1004739e
comiss xmm7, xmm1
jbe 0x1004739e
comiss xmm5, xmm0
jbe 0x1004739e
cmp byte [esi + 0x3dd], 0
je 0x1004739e
mov byte [edi + 0x8e], 1
cmp byte [edi + 0x8e], 0
je 0x100473da
cmp byte [edi + 0x8d], 0
sete al
mov byte [edi + 0x8d], al
test edx, 0x100
jne 0x100473da
comiss xmm3, dword [ecx + 0x2e94]
jb 0x100473da
mov eax, dword [ecx + 0x1c]
mov dword [ecx + 0x2e94], eax
jmp 0x100473da
mov byte [edi + 0x8d], 0
lea edx, [edi + 0x2c]
mov byte [edi + 0x8e], 0
mov ecx, edi
call fcn.10044d00
test byte [esp + 0x10], 0x40
mov al, byte [esp + 0x17]
movss dword [esp + 0x3c], xmm1
movss dword [esp + 0x38], xmm0
mov byte [esp + 0xb], al
je 0x10047440
cmp byte [edi + 0x8d], 0
jne 0x10047440
cmp byte [esp + 0xd], 0
jne 0x10047420
movss dword [edi + 0x1c], xmm0
mov byte [esp + 0x17], 1
cmp byte [esp + 0xc], 0
jne 0x100474eb
movss xmm0, dword [esp + 0x3c]
movss dword [edi + 0x20], xmm0
mov byte [esp + 0xb], 1
jmp 0x100474eb
mov al, byte [edi + 0xa0]
test al, al
jg 0x10047457
cmp byte [edi + 0xa1], 0
jle 0x100474eb
cmp byte [esp + 0xd], 0
jne 0x10047488
test al, al
jle 0x10047488
cmp byte [edi + 0xa3], 0
je 0x10047478
movss xmm0, dword [edi + 0x1c]
maxss xmm0, dword [esp + 0x38]
jmp 0x1004747e
movss xmm0, dword [esp + 0x38]
movss dword [edi + 0x1c], xmm0
mov byte [esp + 0x17], 1
cmp byte [esp + 0xc], 0
jne 0x100474be
cmp byte [edi + 0xa1], 0
jle 0x100474be
cmp byte [edi + 0xa3], 0
je 0x100474ae
movss xmm0, dword [edi + 0x20]
maxss xmm0, dword [esp + 0x3c]
jmp 0x100474b4
movss xmm0, dword [esp + 0x3c]
movss dword [edi + 0x20], xmm0
mov byte [esp + 0xb], 1
cmp byte [edi + 0x8d], 0
jne 0x100474eb
test dword [edi + 8], 0x100
mov ecx, dword [0x101541b4]
jne 0x100474eb
xorps xmm0, xmm0
comiss xmm0, dword [ecx + 0x2e94]
jb 0x100474eb
mov eax, dword [ecx + 0x1c]
mov dword [ecx + 0x2e94], eax
lea edx, [edi + 0x1c]
mov ecx, edi
call fcn.100449c0
cmp byte [edi + 0x8d], 0
movaps xmm2, xmm0
movss dword [esp + 0x20], xmm0
movaps xmm0, xmm1
movss dword [esp + 0x24], xmm1
movss dword [edi + 0x1c], xmm2
movss dword [edi + 0x20], xmm0
je 0x10047587
cmp dword [esp + 0x2c], 0
jne 0x10047587
mov edx, dword [edi + 8]
test dl, 1
je 0x1004752e
xorps xmm1, xmm1
jmp 0x10047565
mov eax, dword [0x101541b4]
mov ecx, dword [edi + 0x31c]
movss xmm0, dword [eax + 0x1934]
mulss xmm0, dword [edi + 0x280]
test ecx, ecx
je 0x10047555
mulss xmm0, dword [ecx + 0x280]
movss xmm1, dword [eax + 0x1554]
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 + 0x20], xmm2
movss dword [esp + 0x24], xmm1
jmp 0x10047598
mov eax, dword [edi + 0x1c]
mov ecx, dword [edi + 0x20]
mov edx, dword [edi + 8]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ecx
lea ecx, [esp + 0x20]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [edi + 0x14], eax
mov eax, dword [0x101541b4]
mov dword [edi + 0x18], ecx
test dl, 1
je 0x100475b6
xorps xmm1, xmm1
jmp 0x100475e8
movss xmm0, dword [eax + 0x1934]
mov ecx, dword [edi + 0x31c]
mulss xmm0, dword [edi + 0x280]
test ecx, ecx
je 0x100475d8
mulss xmm0, dword [ecx + 0x280]
movss xmm1, dword [eax + 0x1554]
addss xmm1, xmm1
addss xmm1, xmm0
test edx, 0x400
je 0x1004762c
movss xmm2, dword [eax + 0x1934]
mov ecx, dword [edi + 0x31c]
mulss xmm2, dword [edi + 0x280]
test ecx, ecx
je 0x10047612
mulss xmm2, dword [ecx + 0x280]
movss xmm0, dword [eax + 0x1554]
addss xmm2, dword [edi + 0x158]
addss xmm0, xmm0
addss xmm2, xmm0
jmp 0x1004762f
xorps xmm2, xmm2
cmp byte [esp + 0xf], 0
addss xmm2, xmm1
movss dword [esp + 0x4c], xmm2
je 0x10047686
mov eax, dword [esp + 0x10]
and eax, 0xc000000
mov dword [edi + 0xa4], 0xffffffff
cmp eax, 0x4000000
jne 0x10047686
cmp byte [esp + 0xe], 0
jne 0x10047686
mov eax, dword [esi + 0x1ce0]
lea ecx, [eax + eax*8]
mov eax, dword [esi + 0x1ce8]
movss xmm0, dword [eax + ecx*4 - 0x10]
movss xmm1, dword [eax + ecx*4 - 0xc]
movss dword [edi + 0xc], xmm0
movss dword [edi + 0x10], xmm1
cmp dword [esp + 0x2c], 0
je 0x1004771a
mov ecx, dword [esp + 0x34]
add ecx, 0x188
mov ax, word [ecx]
mov word [edi + 0x98], ax
mov edx, dword [ecx]
mov eax, dword [ecx + 4]
cmp edx, eax
jne 0x100476e1
inc edx
mov dword [esp + 0x40], edx
test eax, eax
je 0x100476c5
cdq
sub eax, edx
mov edx, dword [esp + 0x40]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x100476ca
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.1004f9f0
mov ecx, dword [esp + 0x34]
add ecx, 0x188
mov edx, dword [ecx]
mov eax, dword [ecx + 8]
mov dword [eax + edx*4], edi
inc dword [ecx]
cmp dword [esp + 0x30], 0
mov dl, byte [esp + 0xe]
jne 0x1004771e
test dl, dl
jne 0x1004771e
cmp dword [esp + 0x54], 0x3000000
je 0x1004771e
mov ecx, dword [esp + 0x34]
mov eax, dword [ecx + 0xcc]
mov ecx, dword [ecx + 0xd0]
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], ecx
jmp 0x1004771e
mov dl, byte [esp + 0xe]
movss xmm2, dword [edi + 0xb0]
ucomiss xmm2, dword [0x1014b344]
mov al, byte [edi + 0xa9]
lahf
test ah, 0x44
jnp 0x10047785
test al, al
jne 0x10047785
movss xmm0, dword [edi + 0x14]
lea edx, [esp + 0x20]
mulss xmm0, dword [edi + 0xb8]
mov ecx, edi
push 0
movss xmm1, dword [edi + 0xbc]
mulss xmm1, dword [edi + 0x18]
subss xmm2, xmm0
movss xmm0, dword [edi + 0xb4]
subss xmm0, xmm1
movss dword [esp + 0x24], xmm2
movss dword [esp + 0x28], xmm0
call fcn.10049070
jmp 0x10047810
mov ecx, dword [esp + 0x10]
test ecx, 0x10000000
je 0x100477ae
mov ecx, edi
call fcn.1004aec0
movss dword [esp + 0x20], xmm0
movss dword [edi + 0xc], xmm0
movaps xmm0, xmm1
movss dword [esp + 0x24], xmm1
jmp 0x1004780b
cmp dword [esp + 0x30], 0
je 0x100477da
test dl, dl
jne 0x100477da
test al, al
jle 0x100477da
mov ecx, edi
call fcn.1004aec0
movss dword [esp + 0x20], xmm0
movss dword [edi + 0xc], xmm0
movaps xmm0, xmm1
movss dword [esp + 0x24], xmm1
jmp 0x1004780b
test ecx, 0x2000000
je 0x10047814
test dl, dl
jne 0x10047814
cmp dword [esp + 0x54], 0x3000000
je 0x10047814
mov ecx, edi
call fcn.1004aec0
movss dword [esp + 0x20], xmm0
movss dword [edi + 0xc], xmm0
movaps xmm0, xmm1
movss dword [esp + 0x24], xmm1
movss dword [edi + 0x10], xmm0
mov ecx, dword [esp + 0x10]
cmp byte [esp + 0xe], 0
mov edx, dword [0x101541b4]
movss xmm2, dword [esi + 0x15c4]
movss xmm3, dword [esi + 0x15c8]
maxss xmm2, dword [esi + 0x15bc]
mov eax, dword [edx + 0x1cf4]
maxss xmm3, dword [esi + 0x15c0]
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 + 0x50], xmm1
addss xmm7, dword [eax + 0x10]
subss xmm5, xmm2
movss dword [esp + 0x78], xmm1
addss xmm2, dword [eax + 0x14]
subss xmm4, xmm3
movss dword [esp + 0x18], xmm0
addss xmm3, dword [eax + 0x18]
movss dword [esp + 0x7c], xmm0
movss dword [esp + 0xac], xmm6
movss dword [esp + 0x80], xmm6
movss dword [esp + 0x5c], xmm7
movss dword [esp + 0x84], xmm7
movss dword [esp + 0x90], xmm2
movss dword [esp + 0x94], xmm3
movss dword [esp + 0x98], xmm5
movss dword [esp + 0x9c], xmm4
jne 0x100479af
cmp dword [esp + 0x2c], 0
jne 0x100479af
cmp byte [edi + 0xa0], 0
jg 0x100479af
cmp byte [edi + 0xa1], 0
jg 0x100479af
movaps xmm0, xmm6
subss xmm0, xmm1
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x100479af
movaps xmm0, xmm7
subss xmm0, dword [esp + 0x18]
comiss xmm0, xmm1
jbe 0x100479af
cmp byte [edx + 0xb5], 0
movss xmm1, dword [edi + 0x18]
je 0x1004797a
test byte [edi + 8], 1
jne 0x1004797a
movss xmm0, dword [edx + 0x1934]
mov eax, dword [edi + 0x31c]
mulss xmm0, dword [edi + 0x280]
test eax, eax
je 0x1004796a
mulss xmm0, dword [eax + 0x280]
movss xmm1, dword [edx + 0x1554]
addss xmm1, xmm1
addss xmm1, xmm0
movss xmm0, dword [edi + 0x10]
subss xmm3, xmm1
subss xmm2, dword [edi + 0x14]
comiss xmm3, xmm0
ja 0x10047994
movaps xmm3, xmm4
minss xmm3, xmm0
movss xmm0, dword [edi + 0xc]
comiss xmm2, xmm0
ja 0x100479a5
movaps xmm2, xmm5
minss xmm2, xmm0
movss dword [edi + 0xc], xmm2
movss dword [edi + 0x10], xmm3
cmp dword [esp + 0x2c], 0
cvttss2si eax, dword [edi + 0xc]
movd xmm0, eax
cvttss2si eax, dword [edi + 0x10]
cvtdq2ps xmm0, xmm0
movd xmm1, eax
cvtdq2ps xmm1, xmm1
movss dword [edi + 0xc], xmm0
movss dword [edi + 0x10], xmm1
je 0x100479e2
movss xmm2, dword [esi + 0x1540]
jmp 0x10047a02
mov eax, ecx
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x100479fa
movss xmm2, dword [esi + 0x1548]
jmp 0x10047a02
movss xmm2, dword [esi + 0x1524]
xor dl, dl
movss dword [edi + 0x44], xmm2
mov dword [esp + 0x2c], edx
cmp byte [esp + 0xf], dl
je 0x10047a3d
test ecx, 0x1000
jne 0x10047a3d
cmp dword [esp + 0x30], 0
je 0x10047a29
mov byte [esp + 0x2c], 1
jmp 0x10047a3d
cmp dword [esp + 0x54], 0
mov eax, 1
movzx edx, dl
cmove edx, eax
mov dword [esp + 0x2c], edx
movss xmm1, dword [esi + 0x1930]
xorps xmm0, xmm0
movaps xmmword [esp + 0xc0], xmm0
xor eax, eax
cmp byte [esi + 0xb4], al
movaps xmm0, xmm1
mulss xmm0, dword [0x1014b130]
setne al
mov dword [esp + 0x30], 0xffffffff
mulss xmm1, dword [0x1014b1bc]
inc eax
cmp byte [edi + 0x8d], 0
addss xmm0, xmm2
mov dword [esp + 0x20], eax
addss xmm0, dword [0x1014b1b4]
maxss xmm0, xmm1
cvttss2si esi, xmm0
mov dword [esp + 0xbc], esi
jne 0x10047aca
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0xc4]
push ecx
push eax
lea eax, [esp + 0x3c]
mov ecx, edi
push eax
lea edx, [esp + 0x48]
call fcn.10045080
test al, al
je 0x10047aca
mov cl, 1
mov dl, cl
jmp 0x10047ad2
mov dl, byte [esp + 0x17]
mov cl, byte [esp + 0xb]
cmp byte [edi + 0x8d], 0
mov al, byte [esp + 0x30]
mov byte [edi + 0x94], al
jne 0x10047c4c
movss xmm2, dword [edi + 0x1fc]
lea eax, [esp + 0x38]
movss xmm3, dword [edi + 0x200]
subss xmm2, dword [edi + 0x1f4]
subss xmm3, dword [edi + 0x1f8]
movss xmm4, dword [edi + 0x20]
cmp dword [esp + 0x28], 0
movss xmm5, dword [edi + 0x1c]
subss xmm4, dword [esp + 0x4c]
addss xmm2, dword [edi + 0x80]
addss xmm3, dword [edi + 0x84]
mov dword [esp + 0x28], eax
jne 0x10047b4a
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
jmp 0x10047b72
movss xmm1, dword [edi + 0x3c]
movss xmm0, dword [edi + 0x40]
addss xmm1, xmm1
addss xmm0, xmm0
addss xmm1, dword [edi + 0x24]
addss xmm0, dword [edi + 0x28]
movss dword [esp + 0x38], xmm1
movss dword [esp + 0x3c], xmm0
movss xmm7, dword [eax + 4]
test dl, dl
jne 0x10047b7e
movaps xmm5, xmm2
test cl, cl
jne 0x10047b85
movaps xmm4, xmm3
mov ecx, dword [esp + 0x10]
test ecx, 0x4000
jne 0x10047b9f
comiss xmm7, xmm4
jbe 0x10047b9b
test cl, 8
je 0x10047b9f
xor al, al
jmp 0x10047ba1
mov al, 1
mov byte [esp + 0xb], al
mov byte [edi + 0x89], al
test ecx, 0x8000
jne 0x10047bfe
mov edx, dword [esp + 0x1c]
xorps xmm0, xmm0
test al, al
je 0x10047bc8
movss xmm1, dword [edx + 0x1588]
jmp 0x10047bcb
xorps xmm1, xmm1
mov ecx, dword [esp + 0x28]
subss xmm5, xmm1
movss xmm1, dword [ecx]
comiss xmm1, xmm5
mov ecx, dword [esp + 0x10]
jbe 0x10047bf2
mov eax, ecx
and eax, 0x808
cmp eax, 0x800
mov al, byte [esp + 0xb]
je 0x10047bfe
mov byte [edi + 0x88], 0
xorps xmm1, xmm1
jmp 0x10047c2e
mov byte [edi + 0x88], 1
test al, al
jne 0x10047c1f
comiss xmm7, xmm4
jbe 0x10047c17
test cl, 8
jne 0x10047c17
mov al, 1
jmp 0x10047c19
xor al, al
mov byte [edi + 0x89], al
mov edx, dword [esp + 0x1c]
xorps xmm0, xmm0
movss xmm1, dword [edx + 0x1588]
test al, al
je 0x10047c3a
movss xmm0, dword [edx + 0x1588]
movss dword [edi + 0x80], xmm0
movss dword [edi + 0x84], xmm1
jmp 0x10047c54
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
mov eax, ecx
and eax, 0x5000000
mov dword [esp + 0x38], eax
cmp eax, 0x1000000
jne 0x10047c7b
cmp dword [esp + 0x54], 0x3000000
je 0x10047c7b
mov eax, dword [esp + 0x34]
add eax, 0x234
jmp 0x10047c7f
lea eax, [esp + 0x78]
test byte [edi + 8], 1
movss xmm7, dword [edi + 0xc]
movups xmm0, xmmword [eax]
movss xmm5, dword [edi + 0x10]
movaps xmm1, xmm7
addss xmm1, dword [edi + 0x14]
movaps xmm2, xmm5
movss dword [esp + 0x40], xmm7
addss xmm2, dword [edi + 0x18]
movups xmmword [esp + 0x60], xmm0
je 0x10047cb2
xorps xmm4, xmm4
jmp 0x10047cf6
cmp dword [edi + 0x31c], 0
mov eax, dword [0x101541b4]
mov edx, dword [esp + 0x1c]
movss xmm0, dword [eax + 0x1934]
mulss xmm0, dword [edi + 0x280]
je 0x10047ce6
mov ecx, dword [edi + 0x31c]
mulss xmm0, dword [ecx + 0x280]
mov ecx, dword [esp + 0x10]
movss xmm4, dword [eax + 0x1554]
addss xmm4, xmm4
addss xmm4, xmm0
movss xmm6, dword [edi + 0x10]
addss xmm4, xmm5
movaps xmm0, xmm7
movss dword [esp + 0x90], xmm7
addss xmm0, dword [edi + 0x1c]
movss dword [esp + 0x94], xmm6
and ecx, 0x401
xorps xmm3, xmm3
movss dword [esp + 0x9c], xmm4
movss dword [esp + 0xb8], xmm4
movss dword [esp + 0x98], xmm0
movss dword [edi + 0x1e4], xmm7
movss dword [edi + 0x1e8], xmm5
movss dword [edi + 0x1ec], xmm1
movss dword [edi + 0x1f0], xmm2
movss xmm4, dword [esp + 0x60]
movss xmm5, dword [esp + 0x64]
movaps xmm1, xmm4
movss dword [esp + 0xb4], xmm0
movaps xmm0, xmm5
maxss xmm1, dword [edi + 0x1e4]
maxss xmm0, dword [edi + 0x1e8]
movss dword [edi + 0x1e4], xmm1
movss xmm1, dword [esp + 0x68]
movss dword [edi + 0x1e8], xmm0
movss xmm0, dword [edi + 0x1f0]
minss xmm1, dword [edi + 0x1ec]
minss xmm0, dword [esp + 0x6c]
movss dword [edi + 0x1ec], xmm1
movss dword [edi + 0x1f0], xmm0
movss xmm0, dword [edi + 0x10]
movss xmm2, dword [edi + 0xc]
movaps xmm1, xmm0
movss dword [edi + 0x1f4], xmm2
addss xmm1, dword [esp + 0x4c]
addss xmm0, dword [edi + 0x18]
movss dword [esp + 0x28], xmm1
movss dword [edi + 0x1f8], xmm1
movaps xmm1, xmm2
addss xmm1, dword [edi + 0x14]
subss xmm0, dword [edi + 0x84]
subss xmm1, dword [edi + 0x80]
movss dword [esp + 0x88], xmm0
movss dword [edi + 0x200], xmm0
movss dword [esp + 0x30], xmm1
movss dword [edi + 0x1fc], xmm1
cmp ecx, 1
jne 0x10047e38
movss xmm6, dword [edi + 0x48]
movaps xmm7, xmm6
jmp 0x10047e45
movss xmm6, dword [edx + 0x155c]
movss xmm7, dword [edi + 0x48]
movss xmm2, dword [0x1014b168]
movss xmm0, dword [edi + 0x3c]
mulss xmm0, xmm2
cvttss2si eax, xmm0
movss xmm0, dword [edi + 0xc]
addss xmm0, xmm2
movd xmm1, eax
cvtdq2ps xmm1, xmm1
maxss xmm1, xmm7
addss xmm0, xmm1
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x204], xmm0
movss xmm0, dword [esp + 0x28]
addss xmm0, xmm2
addss xmm0, xmm6
movss xmm6, dword [esp + 0x6c]
cvttss2si ecx, xmm0
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x208], xmm0
movss xmm0, dword [esp + 0x30]
addss xmm0, xmm2
subss xmm0, xmm1
cvttss2si ecx, xmm0
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x20c], xmm0
movss xmm0, dword [esp + 0x88]
addss xmm0, xmm2
subss xmm0, xmm7
cvttss2si ecx, xmm0
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x210], xmm0
movss xmm0, dword [edi + 0x208]
comiss xmm5, xmm0
jbe 0x10047f03
movaps xmm1, xmm5
jmp 0x10047f0a
movaps xmm1, xmm6
minss xmm1, xmm0
movss xmm7, dword [esp + 0x68]
movd xmm2, eax
cvtdq2ps xmm2, xmm2
comiss xmm4, xmm2
jbe 0x10047f21
movaps xmm0, xmm4
jmp 0x10047f28
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 0x10047f4c
movaps xmm5, xmm6
minss xmm5, xmm0
movss xmm0, dword [edi + 0x20c]
comiss xmm4, xmm0
ja 0x10047f60
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 0x10047f8e
test dword [esp + 0x10], 0x2000040
jne 0x10047f8e
mulss xmm0, dword [0x1014b174]
jmp 0x10047f9e
movss xmm0, dword [edx + 0x1930]
mulss xmm0, dword [0x1014b27c]
cvttss2si eax, xmm0
mov ecx, edi
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x264], xmm0
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
maxss xmm1, xmm3
movss dword [edi + 0x60], xmm1
movss xmm1, dword [edi + 0x40]
movss xmm0, dword [edi + 0x200]
addss xmm1, xmm1
subss xmm0, dword [edi + 0x1f8]
addss xmm1, dword [edi + 0x28]
subss xmm1, xmm0
maxss xmm1, xmm3
movss dword [edi + 0x64], xmm1
call fcn.10049e80
mov eax, dword [esp + 0x1c]
mov ecx, dword [edi + 0x288]
movss dword [edi + 0x58], xmm0
mov dword [edi + 0x68], 0x7f7fffff
mov dword [edi + 0x6c], 0x7f7fffff
movss dword [esp + 0x88], xmm0
movaps xmm0, xmm1
movss dword [edi + 0x5c], xmm0
mov eax, dword [eax + 0x192c]
mov edx, dword [ecx + 0x48]
mov dword [esp + 0x28], ecx
add ecx, 0x48
movss dword [esp + 0x8c], xmm1
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 4]
mov dword [esp + 0x30], eax
mov eax, dword [ecx + 4]
cmp edx, eax
jne 0x1004809c
inc edx
mov dword [esp + 0x88], edx
test eax, eax
je 0x10048083
cdq
sub eax, edx
mov edx, dword [esp + 0x88]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x10048088
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.1004f9f0
mov ecx, dword [esp + 0x28]
add ecx, 0x48
mov edx, dword [ecx]
mov eax, dword [ecx + 8]
mov esi, dword [esp + 0x30]
mov dword [eax + edx*4], esi
mov eax, dword [esp + 0x28]
inc dword [ecx]
mov ecx, esi
mov dword [eax + 0x70], ecx
mov ecx, eax
call fcn.100532a0
push 0
lea edx, [esp + 0x6c]
lea ecx, [esp + 0x64]
call fcn.10043520
test dword [esp + 0x10], 0x8000000
mov esi, dword [esp + 0xbc]
je 0x100480ee
call fcn.1004a640
cmp edi, eax
jne 0x100480ee
cmp byte [edi + 0xa9], 0
jg 0x100480ee
mov dl, 1
jmp 0x100480f0
xor dl, dl
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 0x1e04]
test ecx, ecx
je 0x1004810a
cmp edi, dword [ecx + 0x320]
jne 0x1004810a
mov cl, 1
jmp 0x1004810c
xor cl, cl
mov byte [esp + 0xb], cl
test dl, dl
jne 0x1004811c
test cl, cl
je 0x1004822d
movss xmm0, dword [eax + 0x1e34]
push 0
push ecx
movzx ecx, dl
add ecx, 0x33
mov dword [esp], 0
call fcn.1003e600
mov ecx, dword [edi + 0x288]
push eax
lea eax, [esp + 0x8c]
push eax
lea eax, [esp + 0x88]
push eax
call fcn.100553d0
cmp byte [esp + 0xb], 0
mov eax, dword [esp + 0x1c]
je 0x1004822d
cmp edi, dword [eax + 0x1e04]
jne 0x1004822d
movss xmm2, dword [edi + 0xc]
movss xmm3, dword [edi + 0x10]
movaps xmm1, xmm2
movss xmm0, dword [eax + 0x1930]
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 + 0x50]
comiss xmm0, xmm1
movss dword [esp + 0x78], xmm1
movss dword [esp + 0x7c], xmm4
movss dword [esp + 0x80], xmm2
movss dword [esp + 0x84], xmm3
jb 0x100481e7
movss xmm0, dword [esp + 0x18]
comiss xmm0, xmm4
jb 0x100481e7
comiss xmm2, dword [esp + 0xac]
jb 0x100481e7
comiss xmm3, dword [esp + 0x5c]
jae 0x1004822d
movss xmm0, dword [eax + 0x1524]
push 0
push ecx
movss dword [esp], xmm0
mov ecx, 0x32
movss xmm0, dword [eax + 0x1e10]
mulss xmm0, dword [0x1014b13c]
call fcn.1003e600
mov ecx, dword [edi + 0x288]
push eax
lea eax, [esp + 0x8c]
push eax
lea eax, [esp + 0x88]
push eax
call fcn.100553d0
cmp dword [esp + 0x38], 0x1000000
mov byte [esp + 0xb], 0
jne 0x10048276
cmp dword [esp + 0x54], 0x3000000
je 0x10048276
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 0x10048276
mov eax, dword [esp + 0x34]
mov eax, dword [eax + 0x288]
cmp dword [eax + 0x18], 0
jle 0x10048276
mov byte [esp + 0xb], 1
mov dword [edi + 0x288], eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 0x1e00]
test ecx, ecx
jne 0x1004828a
mov ecx, dword [eax + 0x1cf8]
cmp byte [esp + 0x2c], 0
jne 0x100482aa
test ecx, ecx
je 0x100482a3
mov eax, dword [edi + 0x324]
cmp eax, dword [ecx + 0x324]
je 0x100482aa
mov byte [esp + 0x28], 0
jmp 0x100482af
mov byte [esp + 0x28], 1
lea eax, [esp + 0xc0]
movd xmm0, esi
push eax
push dword [esp + 0x24]
cvtdq2ps xmm0, xmm0
lea edx, [esp + 0x98]
mov ecx, edi
push dword [esp + 0x30]
call fcn.10045e00
cmp byte [esp + 0xb], 0
je 0x100482e7
lea eax, [edi + 0x28c]
mov dword [edi + 0x288], eax
mov esi, dword [esp + 0x1c]
cmp dword [esi + 0x1e04], edi
jne 0x100483f4
movss xmm3, dword [edi + 0xc]
movss xmm2, dword [edi + 0x10]
movaps xmm4, xmm3
movss xmm1, dword [esi + 0x1930]
movaps xmm0, xmm2
addss xmm3, dword [edi + 0x14]
addss xmm2, dword [edi + 0x18]
movss xmm7, dword [esp + 0x50]
subss xmm4, xmm1
movss xmm6, dword [edi + 0x44]
subss xmm0, xmm1
movss xmm5, dword [esi + 0x1524]
addss xmm3, xmm1
addss xmm2, xmm1
comiss xmm7, xmm4
maxss xmm5, xmm6
movss dword [esp + 0x60], xmm4
movss dword [esp + 0x64], xmm0
movss dword [esp + 0x68], xmm3
movss dword [esp + 0x6c], xmm2
jb 0x100483b6
movss xmm7, dword [esp + 0x18]
comiss xmm7, xmm0
jb 0x100483b6
comiss xmm3, dword [esp + 0xac]
jb 0x100483b6
comiss xmm2, dword [esp + 0x5c]
jb 0x100483b6
xorps xmm1, xmmword [0x1014bd10]
movaps xmm5, xmm6
subss xmm1, dword [0x1014b1b4]
subss xmm0, xmm1
subss xmm4, xmm1
movss dword [esp + 0x64], xmm0
movaps xmm0, xmm1
addss xmm0, xmm3
movss dword [esp + 0x60], xmm4
addss xmm1, xmm2
movss dword [esp + 0x68], xmm0
movss dword [esp + 0x6c], xmm1
movss xmm0, dword [esi + 0x1e10]
push ecx
mov dword [esp], 0x40400000
mov ecx, 0x32
push 0
sub esp, 8
movss dword [esp + 4], xmm5
call fcn.1003e600
mov ecx, dword [edi + 0x288]
add esp, 4
push eax
lea eax, [esp + 0x78]
push eax
lea eax, [esp + 0x74]
push eax
call fcn.100552f0
mov ecx, dword [esp + 0x10]
xorps xmm1, xmm1
movss xmm4, dword [edi + 0x34]
mov edx, ecx
shr edx, 3
not dl
and dl, 1
ucomiss xmm4, xmm1
lahf
test ah, 0x44
jnp 0x10048418
movaps xmm7, xmm4
jmp 0x1004844e
movss xmm0, dword [edi + 0x3c]
mov eax, ecx
movss xmm7, dword [edi + 0x14]
addss xmm0, xmm0
and eax, 0x808
subss xmm7, xmm0
subss xmm7, dword [edi + 0x80]
cmp eax, 0x800
jne 0x10048447
movss xmm0, dword [edi + 0x24]
jmp 0x1004844a
xorps xmm0, xmm0
maxss xmm7, xmm0
movss xmm3, dword [edi + 0x38]
movss xmm6, dword [edi + 0x40]
ucomiss xmm3, xmm1
movaps xmm0, xmm6
movss dword [esp + 0x5c], xmm0
lahf
test ah, 0x44
jnp 0x1004846f
movaps xmm5, xmm3
jmp 0x1004849a
movss xmm5, dword [edi + 0x18]
movaps xmm0, xmm6
addss xmm0, xmm6
subss xmm5, xmm0
subss xmm5, dword [esp + 0x4c]
subss xmm5, dword [edi + 0x84]
test dl, dl
je 0x10048496
movss xmm1, dword [edi + 0x28]
maxss xmm5, xmm1
movss xmm1, dword [edi + 0x3c]
movss xmm2, dword [edi + 0x48]
movss xmm0, dword [edi + 0x1f4]
subss xmm0, dword [edi + 0x58]
movss dword [esp + 0x20], xmm1
maxss xmm1, xmm2
maxss xmm2, xmm6
addss xmm1, xmm0
movss xmm0, dword [edi + 0x5c]
movss dword [esp + 0x18], xmm0
movss xmm0, dword [edi + 0x1f8]
subss xmm0, dword [esp + 0x18]
cvttss2si eax, xmm1
addss xmm2, xmm0
movd xmm1, eax
cvttss2si eax, xmm2
movss xmm2, dword [esp + 0x20]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
addss xmm7, xmm1
movss dword [edi + 0x214], xmm1
addss xmm5, xmm0
movss dword [edi + 0x218], xmm0
xorps xmm1, xmm1
ucomiss xmm4, xmm1
movss dword [edi + 0x220], xmm5
movss xmm5, dword [edi + 0x10]
subss xmm5, dword [esp + 0x18]
movss dword [edi + 0x21c], xmm7
movups xmm0, xmmword [edi + 0x214]
lahf
addss xmm5, xmm6
movups xmmword [edi + 0x224], xmm0
movss xmm0, dword [edi + 0xc]
movss dword [esp + 0x38], xmm0
movaps xmm7, xmm0
movss xmm0, dword [esp + 0x4c]
addss xmm5, xmm0
subss xmm7, dword [edi + 0x58]
movss dword [edi + 0x248], xmm5
addss xmm7, xmm2
movss dword [edi + 0x244], xmm7
test ah, 0x44
jp 0x1004859c
movss xmm4, dword [edi + 0x14]
movaps xmm0, xmm2
addss xmm0, xmm2
subss xmm4, xmm0
movss xmm0, dword [esp + 0x4c]
subss xmm4, dword [edi + 0x80]
ucomiss xmm3, xmm1
addss xmm4, xmm7
lahf
movss dword [edi + 0x24c], xmm4
test ah, 0x44
jp 0x100485ca
movss xmm3, dword [edi + 0x18]
addss xmm6, xmm6
subss xmm3, xmm6
subss xmm3, xmm0
subss xmm3, dword [edi + 0x84]
subss xmm2, dword [edi + 0x58]
movss xmm0, dword [esp + 0x5c]
addss xmm3, xmm5
addss xmm0, dword [esp + 0x4c]
movss dword [edi + 0x250], xmm3
movss dword [edi + 0x10c], xmm2
mov dword [edi + 0x114], 0
subss xmm0, dword [esp + 0x18]
mov dword [edi + 0x110], 0
movss xmm3, dword [esp + 0x38]
addss xmm3, xmm2
addss xmm0, dword [edi + 0x10]
movss dword [edi + 0xdc], xmm3
movss dword [edi + 0xe0], xmm0
mov eax, dword [edi + 0xdc]
mov ecx, dword [edi + 0xe0]
mov dword [edi + 0xcc], eax
mov dword [edi + 0xd0], ecx
mov eax, dword [edi + 0xdc]
mov ecx, dword [edi + 0xe0]
mov dword [edi + 0xd4], eax
mov dword [edi + 0xd8], ecx
mov eax, dword [edi + 0xdc]
mov ecx, dword [edi + 0xe0]
mov dword [edi + 0xe4], eax
mov dword [edi + 0xe8], ecx
mov eax, dword [edi + 0xdc]
mov ecx, dword [edi + 0xe0]
mov dword [edi + 0xec], eax
mov dword [edi + 0xf0], ecx
mov dword [edi + 0xfc], 0
mov dword [edi + 0x100], 0
mov eax, dword [edi + 0xfc]
mov ecx, dword [edi + 0x100]
mov dword [edi + 0xf4], eax
mov dword [edi + 0xf8], ecx
lea ecx, [edi + 0x174]
mov dword [edi + 0x108], 0
mov dword [edi + 0x104], 0
mov dword [edi + 0x140], 0
mov eax, dword [edi + 0x148]
mov dword [edi + 0x144], eax
mov dword [edi + 0x148], 0
mov byte [edi + 0x150], 0
movss xmm0, dword [edi + 0x64]
comiss xmm0, xmm1
seta al
cmp byte [esp + 0xf], 0
mov byte [edi + 0x151], al
mov byte [edi + 0x152], 0
movss xmm0, dword [esi + 0x1560]
mov dword [edi + 0x164], 0
mov dword [edi + 0x160], 0
movss dword [edi + 0x15c], xmm0
je 0x10048746
xorps xmm0, xmm0
movq qword [ecx], xmm0
mov dword [ecx + 8], 0
xor edx, edx
test edx, edx
je 0x1004876d
movss xmm0, dword [ecx]
comiss xmm0, xmm1
jbe 0x1004876d
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 0x10048748
mov dword [edi + 0x180], 0
lea eax, [edi + 0x188]
mov dword [edi + 0x184], 0
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x100487e7
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.1004f9f0
lea eax, [edi + 0x188]
mov dword [eax], 0
lea eax, [edi + 0x268]
mov dword [edi + 0x194], eax
mov eax, dword [esp + 0x34]
mov dword [edi + 0x198], 0
mov dword [edi + 0x1a0], 1
test eax, eax
je 0x1004881d
mov eax, dword [eax + 0x1a0]
jmp 0x10048822
mov eax, 1
mov dword [edi + 0x1a4], eax
mov dword [edi + 0x1ac], 0xffffffff
mov dword [edi + 0x1a8], 0xffffffff
mov eax, dword [edi + 0x264]
mov dword [edi + 0x1b4], eax
lea eax, [edi + 0x1bc]
mov dword [edi + 0x1b8], 0xbf800000
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x10048881
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 + 0x1bc]
call fcn.1004f9f0
lea eax, [edi + 0x1bc]
mov dword [eax], 0
lea eax, [edi + 0x1c8]
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x100488b6
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 + 0x1c8]
call fcn.1004f9f0
lea eax, [edi + 0x1c8]
mov dword [eax], 0
mov al, byte [edi + 0xa0]
test al, al
jle 0x100488ce
dec al
mov byte [edi + 0xa0], al
mov al, byte [edi + 0xa1]
test al, al
jle 0x100488e0
dec al
mov byte [edi + 0xa1], al
cmp byte [esp + 0x2c], 0
je 0x100488f7
mov ecx, edi
call fcn.10048c60
xor dl, dl
mov ecx, edi
call fcn.1004b9d0
test byte [esp + 0x10], 1
jne 0x10048963
movss xmm0, dword [edi + 0x48]
lea edx, [esp + 0x78]
addss xmm0, dword [esp + 0x40]
push dword [esp + 0xb0]
mov ecx, edi
push dword [esp + 0x5c]
movss dword [esp + 0x80], xmm0
movss xmm0, dword [esp + 0x9c]
movss dword [esp + 0x84], xmm0
movss xmm0, dword [esp + 0xbc]
subss xmm0, dword [edi + 0x48]
movss dword [esp + 0x88], xmm0
movss xmm0, dword [esp + 0xc0]
movss dword [esp + 0x8c], xmm0
call fcn.100463e0
movss xmm3, dword [esp + 0x40]
xor eax, eax
movss xmm4, dword [esp + 0xb4]
movss xmm2, dword [esp + 0xb8]
movss xmm5, dword [esp + 0x94]
mov dword [edi + 0x254], eax
mov eax, dword [0x101541b4]
movss xmm1, dword [eax + 0x1578]
movss xmm0, dword [eax + 0x157c]
subss xmm3, xmm1
addss xmm4, xmm1
movss xmm1, dword [eax + 0xe4]
addss xmm2, xmm0
subss xmm5, xmm0
comiss xmm1, xmm3
jb 0x100489dc
movss xmm0, dword [eax + 0xe8]
comiss xmm0, xmm5
jb 0x100489dc
comiss xmm4, xmm1
jbe 0x100489dc
comiss xmm2, xmm0
jbe 0x100489dc
mov ecx, 1
jmp 0x100489de
xor ecx, ecx
mov eax, dword [edi + 0x50]
movups xmm0, xmmword [esp + 0x90]
mov dword [edi + 0x118], eax
mov dword [edi + 0x11c], ecx
movups xmmword [edi + 0x120], xmm0
jmp 0x10048a05
mov ecx, edi
call fcn.100400d0
mov ecx, dword [esi + 0x1cbc]
mov eax, dword [esi + 0x1cc4]
mov eax, dword [eax + ecx*4 - 4]
mov dword [edi + 0x1b0], eax
mov eax, dword [esp + 0x10]
and eax, 0x1000000
mov dword [esp + 0x20], eax
je 0x10048a36
mov eax, dword [esp + 0x34]
mov eax, dword [eax + 0x14c]
jmp 0x10048a38
xor eax, eax
push 1
lea edx, [edi + 0x20c]
mov dword [edi + 0x14c], eax
lea ecx, [edi + 0x204]
call fcn.10043520
mov eax, dword [esp + 0x44]
mov byte [edi + 0x8c], 0
inc word [edi + 0x96]
mov dword [esi + 0x1c18], 0
cmp eax, dword [esp + 0x48]
je 0x10048bb3
cmp dword [esp + 0x20], 0
je 0x10048b07
test byte [esp + 0x10], 0x40
jne 0x10048acd
cmp byte [edi + 0xa0], 0
jg 0x10048acd
cmp byte [edi + 0xa1], 0
jg 0x10048acd
cmp byte [esi + 0x2ed8], 0
jne 0x10048acd
movss xmm0, dword [edi + 0x1e4]
comiss xmm0, dword [edi + 0x1ec]
jae 0x10048ac6
movss xmm0, dword [edi + 0x1e8]
comiss xmm0, dword [edi + 0x1f0]
jb 0x10048acd
mov byte [edi + 0xa8], 1
mov eax, dword [esp + 0x34]
test eax, eax
je 0x10048b07
cmp byte [eax + 0x8d], 0
jne 0x10048ae7
cmp byte [eax + 0xa8], 0
jle 0x10048af7
mov byte [edi + 0xa8], 1
cmp byte [eax + 0x8d], 0
jne 0x10048b00
cmp byte [eax + 0xa9], 0
jle 0x10048b07
mov byte [edi + 0xa9], 1
xorps xmm0, xmm0
comiss xmm0, dword [esi + 0x1518]
jb 0x10048b88
mov byte [edi + 0xa8], 1
mov cl, 1
mov byte [edi + 0x91], cl
mov al, byte [edi + 0xab]
test al, al
jle 0x10048b3b
dec al
mov byte [edi + 0xab], al
or dword [edi + 8], 0xc0200
xor al, al
cmp byte [edi + 0x8d], al
jne 0x10048b51
cmp byte [edi + 0x8a], al
je 0x10048b51
test cl, cl
je 0x10048b75
cmp byte [edi + 0xa0], 0
jg 0x10048b75
cmp byte [edi + 0xa1], 0
jg 0x10048b75
cmp byte [edi + 0xa9], 0
mov ecx, 1
movzx eax, al
cmovle eax, ecx
test al, al
mov byte [edi + 0x8f], al
sete al
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
mov al, byte [edi + 0xa8]
test al, al
jg 0x10048b1a
cmp byte [edi + 0xa9], 0
jg 0x10048b1a
cmp byte [edi + 0xaa], 0
jg 0x10048b1a
xor cl, cl
jmp 0x10048b1c
mov al, byte [edi + 0x8f]
test al, al
pop edi
sete al
pop esi
mov esp, ebp
pop ebp
ret 4