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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x100ca00c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebx + 8]
push esi
mov esi, dword [0x100ebc2c]
push edi
mov dword [ebp - 0xdc], edx
mov dword [ebp - 0xb0], ecx
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x7c], esi
mov dword [ebp - 0x74], esi
call fcn.1002da40
mov dword [ebp - 0x94], eax
mov edi, eax
mov dword [ebp - 0xa0], edi
xorps xmm0, xmm0
movss dword [ebp - 0x68], xmm0
test eax, eax
jne 0x1003818d
cmp dword [esi + 0x1a94], 0
je 0x1003812c
mov eax, dword [esi + 0x1abc]
mov ecx, dword [esi + 0x1ac0]
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x84], ecx
jmp 0x10038140
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 0
mov edx, dword [ebp - 0x78]
lea eax, [ebp - 0x88]
movss xmm0, dword [eax]
mov ecx, dword [ebp - 0xb0]
movss dword [ebp - 0xf4], xmm0
movss xmm0, dword [eax + 4]
movss dword [ebp - 0xf0], xmm0
push dword [ebp - 0xf0]
push dword [ebp - 0xf4]
call fcn.1002daf0
mov esi, dword [0x100ebc2c]
mov edi, eax
add esp, 8
mov dword [ebp - 0xa0], edi
mov dword [ebp - 0x7c], esi
mov eax, dword [ebp - 0x78]
mov ecx, eax
mov esi, dword [edi + 0xa8]
and ecx, 0xc0200
mov edx, eax
mov dword [ebp - 0xbc], esi
or edx, 6
cmp ecx, 0xc0200
mov ecx, dword [edi + 0x220]
cmovne edx, eax
mov dword [ebp - 0xe0], ecx
mov dword [ebp - 0x6c], edx
mov edx, dword [ebp - 0x74]
mov eax, dword [edx + 0x19a0]
mov dword [ebp - 0xf8], eax
dec eax
cmp ecx, eax
mov eax, dword [ebp - 0x6c]
setl ch
mov byte [ebp - 0xd4], ch
test eax, 0x4000000
je 0x1003821e
mov eax, dword [edx + 0x1a84]
mov edx, dword [edx + 0x1a80]
lea esi, [eax + eax*8]
mov eax, dword [edi + 0x8c]
cmp edi, dword [edx + esi*4 + 4]
setne cl
cmp eax, dword [edx + esi*4]
mov edx, dword [ebp - 0x74]
mov esi, dword [ebp - 0xbc]
setne al
or cl, al
mov eax, dword [ebp - 0x6c]
or ch, cl
mov byte [ebp - 0xd4], ch
test ch, ch
jne 0x1003822e
test esi, esi
jg 0x1003822e
mov byte [edi + 0x80], ch
jmp 0x1003824a
or dword [edi + 0xac], 8
or dword [edi + 0xb0], 8
or dword [edi + 0xb4], 8
mov byte [edi + 0x80], 1
mov ecx, dword [ebp - 0xf8]
cmp dword [ebp - 0xe0], ecx
je 0x10038280
mov dword [edi + 8], eax
xor eax, eax
mov dword [edi + 0x220], ecx
mov word [edi + 0x86], ax
movzx eax, word [edx + 0x19e8]
inc dword [edx + 0x19e8]
mov word [edi + 0x88], ax
jmp 0x10038286
mov eax, dword [edi + 8]
mov dword [ebp - 0x6c], eax
mov esi, dword [edx + 0x19d0]
lea ecx, [edx + 0x19d0]
mov dword [ebp - 0x80], ecx
mov dword [ebp - 0x78], esi
test esi, esi
jne 0x100382a0
xor eax, eax
jmp 0x100382aa
mov eax, dword [edx + 0x19d8]
mov eax, dword [eax + esi*4 - 4]
mov ecx, dword [ebp - 0xe0]
cmp ecx, dword [ebp - 0xf8]
je 0x100382d5
mov edi, dword [ebp - 0x6c]
and edi, 0x5000000
neg edi
sbb edi, edi
and edi, eax
mov dword [ebp - 0xb8], edi
mov edi, dword [ebp - 0xa0]
jmp 0x100382e1
mov eax, dword [edi + 0x2e4]
mov dword [ebp - 0xb8], eax
mov eax, dword [edx + 0x19d4]
lea ecx, [edx + 0x19d0]
cmp esi, eax
jne 0x10038320
inc esi
test eax, eax
je 0x10038300
cdq
sub eax, edx
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x10038305
mov eax, 8
cmp eax, esi
cmovg esi, eax
push esi
call fcn.1004b270
mov ecx, dword [ebp - 0x80]
mov esi, dword [0x100ebc2c]
mov eax, dword [ecx]
mov dword [ebp - 0x78], eax
jmp 0x10038323
mov esi, dword [ebp - 0x7c]
mov eax, dword [ecx + 8]
mov edx, dword [ebp - 0x78]
mov dword [eax + edx*4], edi
inc dword [ecx]
lea ecx, [edi + 0x1a8]
mov edx, dword [ebp - 0x74]
mov dword [edx + 0x19ec], 0
movzx eax, word [edi + 0x1c4]
mov word [ecx], ax
movzx eax, word [edi + 0x19c]
mov word [ecx + 2], ax
movzx eax, word [esi + 0x1a84]
mov word [ecx + 4], ax
movzx eax, word [esi + 0x1a54]
mov word [ecx + 6], ax
movzx eax, word [esi + 0x1a60]
mov word [ecx + 8], ax
movzx eax, word [esi + 0x1a6c]
mov word [ecx + 0xa], ax
mov eax, dword [ebp - 0x6c]
mov ecx, eax
and ecx, 0x4000000
mov dword [ebp - 0x90], ecx
je 0x10038446
mov eax, dword [edx + 0x1a84]
lea ecx, [edx + 0x1a84]
mov edx, dword [edx + 0x1a80]
mov dword [ebp - 0x98], edx
mov dword [ebp - 0x78], ecx
lea eax, [eax + eax*8]
mov dword [edx + eax*4 + 4], edi
mov edx, dword [ecx + 4]
mov dword [ebp - 0x8c], eax
mov eax, dword [ecx]
cmp eax, edx
jne 0x100383f8
lea esi, [eax + 1]
test edx, edx
je 0x100383dd
mov eax, edx
cdq
sub eax, edx
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x100383e2
mov eax, 8
cmp eax, esi
cmovg esi, eax
push esi
call fcn.1004b6a0
mov ecx, dword [ebp - 0x78]
mov esi, dword [0x100ebc2c]
mov eax, dword [ecx]
mov edi, dword [ebp - 0x98]
lea edx, [eax + eax*8]
mov eax, dword [ebp - 0x8c]
mov ecx, dword [ecx + 8]
movups xmm0, xmmword [edi + eax*4]
movups xmmword [ecx + edx*4], xmm0
movups xmm0, xmmword [edi + eax*4 + 0x10]
movups xmmword [ecx + edx*4 + 0x10], xmm0
mov eax, dword [edi + eax*4 + 0x20]
mov dword [ecx + edx*4 + 0x20], eax
mov ecx, edi
mov eax, dword [ebp - 0x78]
mov edi, dword [ebp - 0xa0]
mov edx, dword [ebp - 0x74]
inc dword [eax]
mov eax, dword [ebp - 0x8c]
mov eax, dword [ecx + eax*4]
mov dword [edi + 0x8c], eax
mov eax, dword [ebp - 0x6c]
cmp dword [ebp - 0xbc], 0
jle 0x10038460
test eax, 0x1000000
jne 0x10038460
mov dword [edi + 0x2f8], 0
mov ecx, dword [edx + 0x1a90]
mov byte [ebp - 0x6d], 0
mov byte [ebp - 0x61], 0
mov byte [ebp - 0x6e], 0
test ecx, ecx
je 0x100384fc
mov eax, dword [edi + 0xac]
and eax, ecx
setne byte [ebp - 0x6d]
test ecx, eax
je 0x100384e8
movss xmm1, dword [edx + 0x1ab8]
movss xmm0, dword [edx + 0x1ab4]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
comiss xmm0, dword [0x100c4c44]
jbe 0x100384e8
mov eax, dword [edx + 0x1aac]
mov ecx, dword [edx + 0x1ab0]
mov dword [edi + 0xb8], eax
mov dword [edi + 0xbc], ecx
mov eax, dword [edx + 0x1ab4]
mov ecx, dword [edx + 0x1ab8]
and dword [edi + 0xac], 0xfffffff1
mov dword [edi + 0xc0], eax
mov dword [edi + 0xc4], ecx
jmp 0x100384fc
push ecx
add edx, 0x1aac
mov ecx, edi
call fcn.10044980
mov edx, dword [ebp - 0x74]
add esp, 4
mov ecx, dword [edx + 0x1a94]
test ecx, ecx
je 0x10038565
mov eax, dword [edi + 0xb0]
lea edi, [edx + 0x1abc]
movss xmm1, dword [ebp - 0x68]
mov dword [ebp - 0x80], edi
mov edi, dword [ebp - 0xa0]
and eax, ecx
je 0x10038537
movss xmm0, dword [edx + 0x1abc]
comiss xmm0, xmm1
jbe 0x10038537
mov byte [ebp - 0x61], 1
jmp 0x1003853f
mov byte [ebp - 0x61], 0
test eax, eax
je 0x10038550
movss xmm0, dword [edx + 0x1ac0]
comiss xmm0, xmm1
mov byte [ebp - 0x6e], 1
ja 0x10038554
mov byte [ebp - 0x6e], 0
mov edx, dword [ebp - 0x80]
push ecx
mov ecx, edi
call fcn.10044a40
mov edx, dword [ebp - 0x74]
add esp, 4
cmp dword [edx + 0x1a98], 0
je 0x1003861c
mov eax, dword [edx + 0x1ac4]
mov ecx, dword [edx + 0x1ac8]
movss xmm0, dword [ebp - 0x68]
mov dword [edi + 0x38], ecx
movss xmm3, dword [edi + 0x38]
ucomiss xmm3, xmm0
mov dword [edi + 0x34], eax
lahf
test ah, 0x44
jnp 0x10038638
mov eax, dword [edi + 8]
test al, 1
je 0x100385a7
movaps xmm2, xmm0
jmp 0x100385cc
movss xmm0, dword [esi + 0x1548]
movss xmm2, dword [esi + 0x1910]
addss xmm0, xmm0
mulss xmm2, dword [edi + 0x264]
addss xmm2, xmm0
movss xmm0, dword [ebp - 0x68]
test eax, 0x400
je 0x1003860a
movss xmm1, dword [esi + 0x1910]
mulss xmm1, dword [edi + 0x264]
movss xmm0, dword [esi + 0x1548]
addss xmm0, xmm0
addss xmm1, dword [edi + 0x148]
addss xmm1, xmm0
addss xmm1, xmm2
addss xmm1, xmm3
movss dword [edi + 0x38], xmm1
jmp 0x10038638
movaps xmm1, xmm0
addss xmm1, xmm2
addss xmm1, xmm3
movss dword [edi + 0x38], xmm1
jmp 0x10038638
mov eax, dword [ebp - 0xe0]
cmp eax, dword [ebp - 0xf8]
je 0x10038638
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov ecx, dword [edx + 0x1a9c]
test ecx, ecx
je 0x1003866a
mov al, byte [edx + 0x1acc]
mov byte [ebp - 0xbd], al
mov eax, dword [edi + 0xb4]
test eax, ecx
je 0x1003866a
and eax, 0xfffffff1
mov dword [edi + 0xb4], eax
mov al, byte [ebp - 0xbd]
mov byte [edi + 0x7d], al
cmp dword [edx + 0x1aa4], 0
je 0x10038680
mov ecx, edi
call fcn.10044510
mov esi, dword [0x100ebc2c]
cmp byte [edi + 0x80], 0
je 0x1003869e
and dword [edi + 0xac], 0xfffffff7
and dword [edi + 0xb0], 0xfffffff7
and dword [edi + 0xb4], 0xfffffff7
mov eax, dword [ebp - 0xe0]
cmp eax, dword [ebp - 0xf8]
je 0x1003afbe
mov ecx, dword [ebp - 0x6c]
push dword [ebp - 0xb8]
mov edx, dword [ebp - 0x6c]
and ecx, 0x3000000
mov dword [ebp - 0x7c], ecx
mov ecx, edi
call fcn.1002f0b0
add esp, 4
mov byte [edi + 0x7a], 1
cmp dword [ebp - 0xdc], 0
setne al
mov byte [edi + 0x82], al
mov dword [edi + 0x1d0], 0xff7fffff
mov dword [edi + 0x1d4], 0xff7fffff
mov dword [edi + 0x1d8], 0x7f7fffff
mov dword [edi + 0x1dc], 0x7f7fffff
mov eax, dword [edi + 0x1c8]
cmp eax, 1
jge 0x1003874f
test eax, eax
je 0x1003872c
cdq
sub eax, edx
lea edx, [edi + 0x1c4]
mov ecx, eax
sar ecx, 1
add ecx, dword [edx + 4]
jmp 0x10038737
mov ecx, 8
lea edx, [edi + 0x1c4]
mov eax, 1
cmp ecx, eax
cmovg eax, ecx
mov ecx, edx
push eax
call fcn.1004b270
mov esi, dword [0x100ebc2c]
mov eax, dword [ebp - 0x74]
mov dword [edi + 0x1c4], 1
cmp dword [eax + 0x1b44], 0
je 0x10038858
test dword [edi + 8], 0x80000
jne 0x10038858
cmp dword [ebp - 0x94], 0
je 0x10038858
mov eax, dword [edi]
mov ecx, eax
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0xb0]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x100387b3
test dl, dl
je 0x100387af
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x100387b3
add eax, 2
add ecx, 2
test dl, dl
jne 0x10038793
xor eax, eax
jmp 0x100387b8
sbb eax, eax
or eax, 1
test eax, eax
je 0x10038858
mov ecx, dword [ebp - 0xb0]
mov edx, dword [edi + 0x4c]
mov dword [ebp - 0x98], edx
lea eax, [ecx + 1]
mov dword [ebp - 0x80], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100387d5
sub ecx, dword [ebp - 0x80]
lea eax, [ecx + 1]
mov ecx, dword [ebp - 0x8c]
mov dword [ebp - 0x78], eax
cmp edx, eax
jae 0x1003883d
test ecx, ecx
je 0x100387fd
test esi, esi
je 0x100387fd
dec dword [esi + 0x370]
push dword [0x100ebc28]
push ecx
call fcn.10027620
mov eax, dword [0x100ebc2c]
add esp, 8
test eax, eax
je 0x1003881b
inc dword [eax + 0x370]
push dword [0x100ebc28]
push dword [ebp - 0x78]
call fcn.10027600
mov esi, dword [0x100ebc2c]
mov ecx, eax
mov eax, dword [ebp - 0x78]
add esp, 8
mov dword [ebp - 0x98], eax
push eax
push dword [ebp - 0xb0]
push ecx
call sub.VCRUNTIME140.dll_memcpy
mov dword [edi], eax
add esp, 0xc
mov eax, dword [ebp - 0x98]
mov dword [edi + 0x4c], eax
mov edx, edi
lea ecx, [ebp - 0x28]
call fcn.1002e0c0
movss xmm0, dword [eax]
movss xmm1, dword [eax + 4]
mov eax, dword [edi + 0xa4]
movss dword [edi + 0x2c], xmm0
movss dword [edi + 0x30], xmm1
test eax, eax
jle 0x10038886
dec eax
mov dword [edi + 0xa4], eax
mov eax, dword [edi + 0xa8]
test eax, eax
jle 0x10038897
dec eax
mov dword [edi + 0xa8], eax
cmp dword [ebp - 0x94], 0
mov al, byte [ebp - 0x61]
mov cl, byte [ebp - 0x6e]
jne 0x100388b8
test al, al
je 0x100388ae
test cl, cl
jne 0x100388b8
mov dword [edi + 0xa8], 1
cmp byte [ebp - 0xd4], 0
mov edx, dword [ebp - 0x6c]
je 0x1003890d
test edx, 0x6000000
je 0x1003890d
mov dword [edi + 0xa8], 1
test dl, 0x40
je 0x1003890d
test al, al
jne 0x100388ed
mov dword [edi + 0x1c], 0
mov dword [edi + 0x14], 0
test cl, cl
jne 0x100388ff
mov dword [edi + 0x20], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
movss xmm0, dword [esi + 0x1910]
mov eax, edx
mov dword [esi + 0x19ec], edi
and eax, 0x1000000
mulss xmm0, dword [edi + 0x264]
mov dword [ebp - 0xd8], eax
movss dword [esi + 0x1920], xmm0
movss dword [esi + 0x190c], xmm0
je 0x1003894f
mov edx, dword [ebp - 0x74]
movss xmm0, dword [edx + 0x1538]
jmp 0x10038977
test edx, 0x6000000
je 0x1003896c
test edx, 0x8000000
jne 0x1003896c
mov edx, dword [ebp - 0x74]
movss xmm0, dword [edx + 0x1540]
jmp 0x10038977
mov edx, dword [ebp - 0x74]
movss xmm0, dword [edx + 0x1520]
movss dword [edi + 0x48], xmm0
mov eax, dword [edx + 0x1514]
mov ecx, dword [edx + 0x1518]
movss xmm3, dword [ebp - 0x68]
mov dword [edi + 0x3c], eax
mov dword [edi + 0x40], ecx
mov ecx, dword [ebp - 0x6c]
mov eax, ecx
and eax, 0x5010000
cmp eax, 0x1000000
jne 0x100389ce
ucomiss xmm0, xmm3
lahf
test ah, 0x44
jp 0x100389ce
test ecx, 0x400
je 0x100389bf
movss xmm0, dword [edx + 0x1518]
jmp 0x100389c2
movaps xmm0, xmm3
mov dword [edi + 0x3c], 0
movss dword [edi + 0x40], xmm0
movss xmm0, dword [edi + 0x3c]
maxss xmm0, dword [edx + 0x1554]
maxss xmm0, dword [edx + 0x1aec]
movss dword [edi + 0x144], xmm0
mov eax, dword [edx + 0x1af0]
mov dword [edi + 0x148], eax
test cl, 0x21
jne 0x10038b10
mov ecx, dword [edi + 8]
test cl, 1
je 0x10038a0d
movaps xmm2, xmm3
jmp 0x10038a2d
movss xmm0, dword [esi + 0x1548]
movss xmm2, dword [esi + 0x1910]
addss xmm0, xmm0
mulss xmm2, dword [edi + 0x264]
addss xmm2, xmm0
movss xmm5, dword [edi + 0xc]
movaps xmm4, xmm5
movss xmm6, dword [edi + 0x10]
addss xmm4, dword [edi + 0x1c]
addss xmm2, dword [edi + 0x10]
cmp dword [edx + 0x19f0], edi
jne 0x10038add
cmp dword [edx + 0x19f8], 0
jne 0x10038add
cmp dword [edx + 0x1a00], 0
jne 0x10038add
mov eax, dword [esi + 0x19ec]
movss xmm1, dword [esi + 0x1564]
movss xmm0, dword [esi + 0x1568]
maxss xmm5, dword [eax + 0x1d0]
minss xmm4, dword [eax + 0x1d8]
maxss xmm6, dword [eax + 0x1d4]
minss xmm2, dword [eax + 0x1dc]
subss xmm5, xmm1
addss xmm4, xmm1
movss xmm1, dword [esi + 0xe0]
subss xmm6, xmm0
addss xmm2, xmm0
comiss xmm1, xmm5
jb 0x10038add
movss xmm0, dword [esi + 0xe4]
comiss xmm0, xmm6
jb 0x10038add
comiss xmm4, xmm1
jbe 0x10038add
comiss xmm2, xmm0
jbe 0x10038add
cmp byte [edx + 0x3dd], 0
je 0x10038add
mov byte [edi + 0x7e], 1
cmp byte [edi + 0x7e], 0
je 0x10038b14
cmp byte [edi + 0x7d], 0
sete al
mov byte [edi + 0x7d], al
test ecx, 0x100
jne 0x10038b07
comiss xmm3, dword [esi + 0x2d34]
jb 0x10038b07
mov eax, dword [esi + 0x1c]
mov dword [esi + 0x2d34], eax
mov ecx, edi
call fcn.10044510
jmp 0x10038b14
mov byte [edi + 0x7d], 0
lea eax, [edi + 0x2c]
mov byte [edi + 0x7e], 0
push eax
mov edx, edi
lea ecx, [ebp - 0xec]
call fcn.1002e180
movss xmm0, dword [0x100c4e28]
add esp, 4
test byte [ebp - 0x6c], 0x40
movss dword [ebp - 0xb4], xmm0
movss dword [ebp - 0x94], xmm0
je 0x10038b8f
cmp byte [edi + 0x7d], 0
jne 0x10038b8f
cmp byte [ebp - 0x61], 0
jne 0x10038b6b
movss xmm0, dword [ebp - 0xec]
movss dword [ebp - 0xb4], xmm0
movss dword [edi + 0x1c], xmm0
cmp byte [ebp - 0x6e], 0
jne 0x10038c45
movss xmm0, dword [ebp - 0xe8]
movss dword [ebp - 0x94], xmm0
movss dword [edi + 0x20], xmm0
jmp 0x10038c45
mov eax, dword [edi + 0x90]
test eax, eax
jg 0x10038ba6
cmp dword [edi + 0x94], 0
jle 0x10038c45
cmp byte [ebp - 0x61], 0
jne 0x10038bdd
test eax, eax
jle 0x10038bdd
cmp byte [edi + 0x98], 0
je 0x10038bc8
movss xmm0, dword [edi + 0x1c]
maxss xmm0, dword [ebp - 0xec]
jmp 0x10038bd0
movss xmm0, dword [ebp - 0xec]
movss dword [ebp - 0xb4], xmm0
movss dword [edi + 0x1c], xmm0
cmp byte [ebp - 0x6e], 0
jne 0x10038c19
cmp dword [edi + 0x94], 0
jle 0x10038c19
cmp byte [edi + 0x98], 0
je 0x10038c04
movss xmm0, dword [edi + 0x20]
maxss xmm0, dword [ebp - 0xe8]
jmp 0x10038c0c
movss xmm0, dword [ebp - 0xe8]
movss dword [ebp - 0x94], xmm0
movss dword [edi + 0x20], xmm0
cmp byte [edi + 0x7d], 0
jne 0x10038c45
test dword [edi + 8], 0x100
mov ecx, dword [0x100ebc2c]
jne 0x10038c45
movss xmm1, dword [ebp - 0x68]
comiss xmm1, dword [ecx + 0x2d34]
jb 0x10038c45
mov eax, dword [ecx + 0x1c]
mov dword [ecx + 0x2d34], eax
push dword [edi + 0x20]
mov edx, edi
lea ecx, [ebp - 0x28]
push dword [edi + 0x1c]
call fcn.1002dee0
mov dl, byte [edi + 0x7d]
add esp, 8
movss xmm3, dword [eax]
movss xmm0, dword [eax + 4]
movss dword [edi + 0x1c], xmm3
movss dword [edi + 0x20], xmm0
test dl, dl
je 0x10038cd6
cmp dword [ebp - 0xd8], 0
jne 0x10038cd6
test byte [edi + 8], 1
je 0x10038c88
movss xmm2, dword [ebp - 0x68]
jmp 0x10038cad
mov eax, dword [0x100ebc2c]
movss xmm0, dword [eax + 0x1548]
movss xmm2, dword [eax + 0x1910]
addss xmm0, xmm0
mulss xmm2, dword [edi + 0x264]
addss xmm2, xmm0
addss xmm2, dword [edi + 0x10]
movaps xmm0, xmm3
addss xmm0, dword [edi + 0xc]
subss xmm2, dword [edi + 0x10]
subss xmm0, dword [edi + 0xc]
movss dword [ebp - 0x84], xmm2
movss dword [ebp - 0x88], xmm0
jmp 0x10038ce8
mov eax, dword [edi + 0x1c]
mov ecx, dword [edi + 0x20]
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x84], ecx
lea ecx, [ebp - 0x88]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [edi + 0x14], eax
mov dword [edi + 0x18], ecx
test dl, dl
jne 0x10038df2
movss xmm0, dword [ebp - 0xb4]
movss xmm1, dword [0x100c4e28]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x10038d1f
movss xmm3, dword [edi + 0x24]
movss xmm0, dword [ebp - 0x94]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x10038d37
movss xmm2, dword [edi + 0x20]
jmp 0x10038d3c
movss xmm2, dword [edi + 0x28]
mov eax, dword [ebp - 0x6c]
test eax, 0x4000
jne 0x10038d58
movss xmm0, dword [edi + 0x30]
comiss xmm0, xmm2
jbe 0x10038d54
test al, 8
je 0x10038d58
xor cl, cl
jmp 0x10038d5a
mov cl, 1
mov byte [edi + 0x79], cl
test eax, 0x8000
jne 0x10038da3
mov esi, dword [ebp - 0x74]
movss xmm1, dword [ebp - 0x68]
test cl, cl
je 0x10038d7a
movss xmm0, dword [esi + 0x1574]
jmp 0x10038d7d
movaps xmm0, xmm1
subss xmm3, xmm0
movss xmm0, dword [edi + 0x2c]
comiss xmm0, xmm3
jbe 0x10038d97
and eax, 0x808
cmp eax, 0x800
je 0x10038da0
mov byte [edi + 0x78], 0
movaps xmm0, xmm1
jmp 0x10038dda
mov eax, dword [ebp - 0x6c]
mov esi, dword [ebp - 0x74]
mov byte [edi + 0x78], 1
test cl, cl
jne 0x10038dcd
subss xmm2, dword [esi + 0x1574]
movss xmm0, dword [edi + 0x30]
comiss xmm0, xmm2
jbe 0x10038dc8
test al, 8
jne 0x10038dc8
mov cl, 1
jmp 0x10038dca
xor cl, cl
mov byte [edi + 0x79], cl
movss xmm0, dword [esi + 0x1574]
movss xmm1, dword [ebp - 0x68]
test cl, cl
je 0x10038de6
movss xmm1, dword [esi + 0x1574]
movss dword [edi + 0x70], xmm1
movss dword [edi + 0x74], xmm0
jmp 0x10038df5
mov esi, dword [ebp - 0x74]
cmp byte [ebp - 0xd4], 0
je 0x10038e3c
cmp dword [ebp - 0x90], 0
mov dword [edi + 0xa0], 0xffffffff
je 0x10038e3c
cmp byte [ebp - 0x6d], 0
jne 0x10038e3c
mov eax, dword [esi + 0x1a84]
lea ecx, [eax + eax*8]
mov eax, dword [esi + 0x1a8c]
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 [ebp - 0xd8], 0
je 0x10038ed6
mov ecx, dword [ebp - 0xb8]
add ecx, 0x14c
mov ax, word [ecx]
mov word [edi + 0x86], ax
mov eax, dword [ecx + 4]
mov edx, dword [ecx]
cmp edx, eax
jne 0x10038e9b
inc edx
mov dword [ebp - 0x80], edx
test eax, eax
je 0x10038e7d
cdq
sub eax, edx
mov edx, dword [ebp - 0x80]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x10038e82
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.1004b270
mov ecx, dword [ebp - 0xb8]
add ecx, 0x14c
mov edx, dword [ecx]
mov eax, dword [ecx + 8]
mov dword [eax + edx*4], edi
inc dword [ecx]
cmp dword [ebp - 0x90], 0
mov al, byte [ebp - 0x6d]
mov ecx, dword [ebp - 0x7c]
jne 0x10038edc
test al, al
jne 0x10038edc
cmp ecx, 0x3000000
je 0x10038edc
mov ecx, dword [ebp - 0xb8]
mov eax, dword [ecx + 0xc8]
mov ecx, dword [ecx + 0xcc]
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], ecx
mov ecx, dword [ebp - 0x7c]
mov al, byte [ebp - 0x6d]
movss xmm0, dword [edi + 0xb8]
ucomiss xmm0, dword [0x100c4e28]
movss dword [ebp - 0x80], xmm0
lahf
test ah, 0x44
jnp 0x10039007
cmp dword [edi + 0xa8], 0
jne 0x10039007
movss xmm4, dword [edi + 0x20]
movss xmm0, dword [esi + 0x15a4]
movss xmm2, dword [edi + 0x1c]
movss xmm5, dword [edi + 0xc4]
movss xmm6, dword [edi + 0xbc]
movss xmm3, dword [esi + 0x15a8]
and dword [edi + 0xac], 0xfffffff1
movss xmm1, dword [ebp - 0x80]
mov dword [edi + 0xb8], 0x7f7fffff
mov dword [edi + 0xbc], 0x7f7fffff
mulss xmm2, dword [edi + 0xc0]
movss dword [ebp - 0xc4], xmm4
mulss xmm5, dword [ebp - 0xc4]
subss xmm1, xmm2
movss xmm4, dword [edi + 0x10]
movss xmm7, dword [edi + 0xc]
subss xmm6, xmm5
movss dword [ebp - 0x9c], xmm4
maxss xmm0, xmm1
maxss xmm3, xmm6
cvttss2si eax, xmm0
movd xmm1, eax
cvttss2si eax, xmm3
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0xc], xmm1
subss xmm1, xmm7
movss dword [edi + 0x10], xmm0
subss xmm0, xmm4
addss xmm1, dword [edi + 0xc8]
addss xmm0, dword [edi + 0xcc]
movss dword [edi + 0xc8], xmm1
movss dword [edi + 0xcc], xmm0
movss xmm1, dword [edi + 0x10]
movss xmm0, dword [edi + 0xc]
subss xmm1, xmm4
subss xmm0, xmm7
addss xmm1, dword [edi + 0xe4]
addss xmm0, dword [edi + 0xe0]
movss dword [edi + 0xe4], xmm1
movss dword [edi + 0xe0], xmm0
jmp 0x1003905c
mov edx, dword [ebp - 0x6c]
test edx, 0x10000000
jne 0x1003903c
cmp dword [ebp - 0x90], 0
je 0x10039028
test al, al
jne 0x10039028
cmp dword [ebp - 0xbc], 0
jg 0x1003903c
test edx, 0x2000000
je 0x1003905f
test al, al
jne 0x1003905f
cmp ecx, 0x3000000
je 0x1003905f
mov edx, edi
lea ecx, [ebp - 0xcc]
call fcn.10045ea0
movss xmm1, dword [eax + 4]
movss xmm0, dword [eax]
movss dword [edi + 0xc], xmm0
movss dword [edi + 0x10], xmm1
mov edx, dword [ebp - 0x6c]
cmp byte [ebp - 0x6d], 0
mov ecx, dword [0x100ebc2c]
movss xmm4, dword [ebp - 0x68]
movss dword [ebp - 0x40], xmm4
movss dword [ebp - 0x3c], xmm4
movss xmm3, dword [ecx + 0x10]
movss xmm7, dword [ecx + 0x14]
movss dword [ebp - 0xc4], xmm3
movss dword [ebp - 0x38], xmm3
movss dword [ebp - 0x80], xmm7
movss dword [ebp - 0x34], xmm7
jne 0x100391af
cmp dword [ebp - 0xd8], 0
jne 0x100391af
cmp dword [edi + 0x90], 0
jg 0x100391af
cmp dword [edi + 0x94], 0
jg 0x100391af
movss xmm0, dword [esi + 0x10]
comiss xmm0, xmm4
jbe 0x100391af
movss xmm0, dword [esi + 0x14]
comiss xmm0, xmm4
jbe 0x100391af
cmp byte [ecx + 0xb0], 0
movss xmm6, dword [esi + 0x15a0]
movss xmm5, dword [esi + 0x159c]
maxss xmm6, dword [esi + 0x15a8]
maxss xmm5, dword [esi + 0x15a4]
je 0x10039148
test byte [edi + 8], 1
jne 0x10039148
movss xmm0, dword [ecx + 0x1548]
movss xmm1, dword [ecx + 0x1910]
addss xmm0, xmm0
mulss xmm1, dword [edi + 0x264]
addss xmm1, xmm0
movss xmm0, dword [edi + 0x14]
movss dword [ebp - 0x88], xmm0
movss dword [ebp - 0x84], xmm1
jmp 0x10039160
mov ecx, dword [edi + 0x18]
mov eax, dword [edi + 0x14]
mov dword [ebp - 0x84], ecx
mov ecx, dword [0x100ebc2c]
mov dword [ebp - 0x88], eax
lea eax, [ebp - 0x88]
movaps xmm1, xmm7
movss xmm0, dword [eax]
subss xmm3, xmm5
addss xmm0, dword [edi + 0xc]
addss xmm5, xmm4
subss xmm1, xmm6
addss xmm6, xmm4
maxss xmm0, xmm5
subss xmm0, dword [eax]
minss xmm3, xmm0
movss xmm0, dword [eax + 4]
addss xmm0, dword [edi + 0x10]
movss dword [edi + 0xc], xmm3
maxss xmm0, xmm6
subss xmm0, dword [eax + 4]
minss xmm1, xmm0
movss dword [edi + 0x10], xmm1
cmp dword [ebp - 0xd8], 0
cvttss2si eax, dword [edi + 0xc]
movd xmm1, eax
cvttss2si eax, dword [edi + 0x10]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0xc], xmm1
movss dword [edi + 0x10], xmm0
je 0x100391e4
movss xmm5, dword [esi + 0x1534]
jmp 0x10039204
mov eax, edx
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x100391fc
movss xmm5, dword [esi + 0x153c]
jmp 0x10039204
movss xmm5, dword [esi + 0x151c]
movss xmm1, dword [edi + 0x60]
movss xmm6, dword [0x100c4e28]
comiss xmm6, xmm1
movss xmm3, dword [edi + 0x58]
movss xmm2, dword [edi + 0x5c]
movss dword [edi + 0x44], xmm5
jbe 0x1003923b
movss xmm0, dword [edi + 0x1c]
movaps xmm3, xmm1
subss xmm0, dword [edi + 0x70]
mulss xmm0, dword [edi + 0x68]
subss xmm3, xmm0
movss xmm0, dword [edi + 0x64]
comiss xmm6, xmm0
movss xmm6, dword [0x100c4cc0]
jbe 0x1003931a
movss xmm7, dword [edi + 0x6c]
movaps xmm2, xmm0
comiss xmm4, xmm7
jb 0x1003926b
movss xmm0, dword [edi + 0x40]
comiss xmm0, xmm2
jb 0x1003926b
movaps xmm2, xmm4
comiss xmm7, xmm6
jb 0x1003928d
movss xmm1, dword [edi + 0x30]
movaps xmm0, xmm1
subss xmm0, dword [edi + 0x40]
addss xmm0, dword [ecx + 0x1558]
comiss xmm2, xmm0
jb 0x1003928d
movaps xmm2, xmm1
mov eax, dword [edi + 8]
test al, 1
je 0x10039299
movaps xmm6, xmm4
jmp 0x100392b9
movss xmm0, dword [ecx + 0x1548]
movss xmm6, dword [ecx + 0x1910]
addss xmm0, xmm0
mulss xmm6, dword [edi + 0x264]
addss xmm6, xmm0
test eax, 0x400
je 0x100392ea
movss xmm1, dword [ecx + 0x1910]
mulss xmm1, dword [edi + 0x264]
movss xmm0, dword [ecx + 0x1548]
addss xmm0, xmm0
addss xmm1, dword [edi + 0x148]
addss xmm1, xmm0
jmp 0x100392ed
movaps xmm1, xmm4
addss xmm1, xmm6
movss xmm6, dword [0x100c4cc0]
movaps xmm0, xmm6
subss xmm0, xmm7
mulss xmm1, xmm0
movss xmm0, dword [edi + 0x20]
subss xmm0, dword [edi + 0x74]
subss xmm2, xmm1
mulss xmm0, xmm7
subss xmm2, xmm0
mov cl, byte [edi + 0x7d]
maxss xmm3, xmm4
maxss xmm2, xmm4
test cl, cl
jne 0x10039372
cmp byte [edi + 0x7f], cl
jne 0x10039372
movss xmm0, dword [edi + 0x1c]
subss xmm0, dword [edi + 0x70]
movss xmm1, dword [edi + 0x2c]
subss xmm1, xmm0
movaps xmm0, xmm4
maxss xmm0, xmm1
comiss xmm0, xmm3
ja 0x10039350
movaps xmm3, xmm0
movss xmm0, dword [edi + 0x20]
subss xmm0, dword [edi + 0x74]
movss xmm1, dword [edi + 0x30]
subss xmm1, xmm0
movaps xmm0, xmm4
maxss xmm0, xmm1
comiss xmm0, xmm2
ja 0x10039372
movaps xmm2, xmm0
xor al, al
movss dword [edi + 0x58], xmm3
movss dword [edi + 0x5c], xmm2
mov dword [edi + 0x60], 0x7f7fffff
mov dword [edi + 0x64], 0x7f7fffff
mov dword [ebp - 0x98], eax
cmp byte [ebp - 0xd4], al
je 0x100393c9
test edx, 0x1000
jne 0x100393c9
cmp dword [ebp - 0x90], 0
je 0x100393b4
mov byte [ebp - 0x98], 1
jmp 0x100393c9
cmp dword [ebp - 0x7c], 0
mov edx, 1
movzx eax, al
cmove eax, edx
mov dword [ebp - 0x98], eax
movss xmm1, dword [esi + 0x190c]
addss xmm5, xmm6
xorps xmm0, xmm0
xor edx, edx
movaps xmmword [ebp - 0x20], xmm0
or eax, 0xffffffff
cmp byte [esi + 0xaf], dl
movaps xmm0, xmm1
mulss xmm1, dword [0x100c4c74]
setne dl
mov dword [ebp - 0x78], eax
mulss xmm0, dword [0x100c4cc4]
inc edx
mov dword [ebp - 0xac], edx
addss xmm5, xmm1
maxss xmm0, xmm5
cvttss2si esi, xmm0
test cl, cl
jne 0x10039438
lea eax, [ebp - 0x20]
mov ecx, edi
push eax
push edx
lea eax, [ebp - 0x78]
push eax
lea edx, [ebp - 0xec]
call fcn.1002e410
mov eax, dword [ebp - 0x78]
add esp, 0xc
movss xmm4, dword [ebp - 0x68]
movss xmm0, dword [edi + 0x14]
comiss xmm0, xmm4
mov byte [edi + 0x83], al
jbe 0x1003945b
test dword [ebp - 0x6c], 0x2000040
jne 0x1003945b
mulss xmm0, dword [0x100c4c98]
jmp 0x1003946e
mov eax, dword [ebp - 0x74]
movss xmm0, dword [eax + 0x190c]
mulss xmm0, dword [0x100c4d58]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x224], xmm0
mov ecx, dword [edi + 0x26c]
call fcn.100529e0
mov edx, dword [ebp - 0x74]
xor ecx, ecx
mov eax, 2
cmp byte [edx + 0x15b1], cl
cmovne ecx, eax
xor eax, eax
cmp byte [edx + 0x15b0], al
setne al
or ecx, eax
mov eax, dword [edi + 0x26c]
mov dword [eax + 0x24], ecx
mov eax, dword [edx + 0x1908]
mov ecx, dword [edi + 0x26c]
lea edi, [ecx + 0x48]
mov dword [ebp - 0xd0], ecx
mov ecx, dword [edi]
mov eax, dword [eax + 0x38]
mov eax, dword [eax + 8]
mov dword [ebp - 0x9c], eax
mov eax, dword [edi + 4]
cmp ecx, eax
jne 0x10039502
inc ecx
test eax, eax
je 0x100394ee
cdq
sub eax, edx
sar eax, 1
add eax, dword [edi + 4]
jmp 0x100394f3
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edi
call fcn.1004b270
mov ecx, dword [edi]
mov eax, dword [edi + 8]
mov edx, dword [ebp - 0x9c]
mov dword [eax + ecx*4], edx
mov ecx, dword [ebp - 0xd0]
inc dword [edi]
call fcn.10052f40
mov eax, dword [ebp - 0x6c]
and eax, 0x5000000
cmp eax, 0x1000000
jne 0x1003959a
cmp dword [ebp - 0x7c], 0x3000000
je 0x1003959a
mov ecx, dword [0x100ebc2c]
mov eax, dword [ecx + 0x19ec]
mov byte [eax + 0x7c], 1
mov eax, dword [ebp - 0xb8]
mov edi, dword [ecx + 0x19ec]
push dword [eax + 0x1dc]
mov ecx, dword [edi + 0x26c]
push dword [eax + 0x1d8]
push dword [eax + 0x1d4]
push dword [eax + 0x1d0]
push 1
call fcn.10053010
mov eax, dword [edi + 0x26c]
mov ecx, dword [eax + 0x3c]
mov eax, dword [eax + 0x44]
add ecx, ecx
movss xmm0, dword [eax + ecx*8 - 0xc]
movss xmm1, dword [eax + ecx*8 - 8]
movss xmm2, dword [eax + ecx*8 - 4]
mov eax, dword [eax + ecx*8 - 0x10]
jmp 0x100395ed
mov ecx, dword [0x100ebc2c]
push dword [ebp - 0x34]
push dword [ebp - 0x38]
mov eax, dword [ecx + 0x19ec]
push dword [ebp - 0x3c]
push dword [ebp - 0x40]
mov byte [eax + 0x7c], 1
mov edi, dword [ecx + 0x19ec]
push 1
mov ecx, dword [edi + 0x26c]
call fcn.10053010
mov eax, dword [edi + 0x26c]
mov ecx, dword [eax + 0x3c]
mov eax, dword [eax + 0x44]
add ecx, ecx
movss xmm0, dword [eax + ecx*8 - 0xc]
movss xmm1, dword [eax + ecx*8 - 8]
movss xmm2, dword [eax + ecx*8 - 4]
mov eax, dword [eax + ecx*8 - 0x10]
test dword [ebp - 0x6c], 0x8000000
mov dword [edi + 0x1d0], eax
movss dword [edi + 0x1d4], xmm0
movss dword [edi + 0x1d8], xmm1
movss dword [edi + 0x1dc], xmm2
je 0x10039630
call fcn.10045360
mov edi, dword [ebp - 0xa0]
cmp edi, eax
jne 0x10039636
cmp dword [edi + 0xa8], 0
jg 0x10039636
mov dl, 1
jmp 0x10039638
mov edi, dword [ebp - 0xa0]
xor dl, dl
mov eax, dword [ebp - 0x74]
mov ecx, dword [eax + 0x1b40]
test ecx, ecx
je 0x10039651
cmp edi, dword [ecx + 0x2e8]
jne 0x10039651
mov cl, 1
jmp 0x10039653
xor cl, cl
mov byte [ebp - 0x61], cl
test dl, dl
jne 0x10039662
test cl, cl
je 0x10039751
movss xmm1, dword [eax + 0x1c68]
push 0xf
push ecx
movzx ecx, dl
add ecx, 0x33
mov dword [esp], 0
call fcn.10028350
mov ecx, dword [edi + 0x26c]
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.10054d00
cmp byte [ebp - 0x61], 0
mov eax, dword [ebp - 0x74]
je 0x10039751
movss xmm7, dword [ebp - 0x68]
cmp edi, dword [eax + 0x1b40]
jne 0x10039756
movss xmm2, dword [edi + 0xc]
movss xmm3, dword [edi + 0x10]
movaps xmm1, xmm2
movss xmm0, dword [eax + 0x190c]
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
comiss xmm7, xmm1
movss dword [ebp - 0x40], xmm1
movss dword [ebp - 0x3c], xmm4
movss dword [ebp - 0x38], xmm2
movss dword [ebp - 0x34], xmm3
jb 0x10039710
comiss xmm7, xmm4
jb 0x10039710
comiss xmm2, dword [ebp - 0xc4]
jb 0x10039710
comiss xmm3, dword [ebp - 0x80]
jae 0x10039756
movss xmm1, dword [eax + 0x1b4c]
mulss xmm1, dword [0x100c4c78]
push 0xf
movss xmm0, dword [eax + 0x151c]
push ecx
mov ecx, 0x32
movss dword [esp], xmm0
call fcn.10028350
mov ecx, dword [edi + 0x26c]
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.10054d00
mov eax, dword [ebp - 0x74]
movss xmm7, dword [ebp - 0x68]
movss xmm0, dword [edi + 0x44]
mov ecx, dword [eax + 0x1b3c]
movss dword [ebp - 0x7c], xmm0
movss xmm0, dword [edi + 0x48]
movss dword [ebp - 0xb4], xmm0
test ecx, ecx
jne 0x1003977d
mov ecx, dword [eax + 0x1afc]
cmp byte [ebp - 0x98], 0
jne 0x1003979c
test ecx, ecx
je 0x10039798
mov eax, dword [edi + 0x2ec]
cmp eax, dword [ecx + 0x2ec]
je 0x1003979c
xor cl, cl
jmp 0x1003979e
mov cl, 1
mov eax, dword [edi + 8]
mov edx, dword [0x100ebc2c]
and eax, 1
mov byte [ebp - 0x61], cl
mov dword [ebp - 0x9c], eax
je 0x100397ba
movaps xmm1, xmm7
jmp 0x100397e2
movss xmm0, dword [edx + 0x1548]
movss xmm1, dword [edx + 0x1910]
addss xmm0, xmm0
mulss xmm1, dword [edi + 0x264]
addss xmm1, xmm0
movss xmm0, dword [ebp - 0xb4]
cmp byte [edi + 0x7d], 0
movss xmm2, dword [edi + 0xc]
addss xmm1, dword [edi + 0x10]
movaps xmm3, xmm2
movss dword [ebp - 0xbc], xmm2
addss xmm3, dword [edi + 0x1c]
movss dword [ebp - 0x40], xmm2
movss xmm2, dword [edi + 0x10]
movss dword [ebp - 0xf0], xmm1
movss dword [ebp - 0x3c], xmm2
movss dword [ebp - 0xf4], xmm3
movss dword [ebp - 0x38], xmm3
movss dword [ebp - 0x34], xmm1
je 0x100398a0
mov esi, dword [ebp - 0x74]
movss xmm1, dword [esi + 0x1550]
movss dword [ebp - 0x9c], xmm1
movss dword [esi + 0x1550], xmm0
test cl, cl
je 0x10039858
cmp byte [esi + 0x1b5e], 0
mov ecx, 0xd
je 0x1003985d
mov ecx, 0xe
push dword [ebp - 0xf0]
movss xmm1, dword [0x100c4cc0]
push dword [ebp - 0xf4]
push dword [ebp - 0x3c]
push dword [ebp - 0x40]
call fcn.10028350
movss xmm2, dword [ebp - 0x7c]
mov ecx, eax
call fcn.10028b80
movss xmm0, dword [ebp - 0x9c]
add esp, 0x10
movss dword [esi + 0x1550], xmm0
jmp 0x1003a0f9
movss xmm1, dword [0x100c4cc0]
mov ecx, 4
call fcn.10028350
cmp dword [ebp - 0x9c], 0
movss xmm3, dword [ebp - 0xbc]
movss xmm2, dword [edi + 0x10]
movaps xmm0, xmm3
addss xmm0, dword [edi + 0x14]
movss dword [ebp - 0x88], xmm0
movaps xmm0, xmm2
addss xmm0, dword [edi + 0x18]
movss dword [ebp - 0x84], xmm0
je 0x100398ed
movaps xmm1, xmm7
jmp 0x1003990d
movss xmm0, dword [edx + 0x1548]
movss xmm1, dword [edx + 0x1910]
addss xmm0, xmm0
mulss xmm1, dword [edi + 0x264]
addss xmm1, xmm0
push 0xf
push ecx
mov ecx, dword [edi + 0x26c]
addss xmm2, xmm1
mov dword [esp], 0
movaps xmm0, xmm3
push eax
addss xmm0, xmm7
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0xa8]
movss dword [ebp - 0xa4], xmm2
push eax
movss dword [ebp - 0xa8], xmm0
call fcn.10054d00
test byte [edi + 8], 1
movss xmm2, dword [edi + 0xc]
movss xmm5, dword [edi + 0x10]
movaps xmm3, xmm2
addss xmm3, dword [edi + 0x14]
movss xmm6, dword [0x100c4cc0]
movaps xmm4, xmm5
addss xmm4, dword [edi + 0x18]
mov ecx, dword [edi + 0x26c]
mov dword [ebp - 0x78], ecx
subss xmm3, xmm6
subss xmm4, xmm6
je 0x1003998f
movss xmm0, dword [ebp - 0x68]
movaps xmm1, xmm0
jmp 0x100399b9
mov eax, dword [0x100ebc2c]
movss xmm0, dword [eax + 0x1548]
movss xmm1, dword [eax + 0x1910]
addss xmm0, xmm0
mulss xmm1, dword [edi + 0x264]
addss xmm1, xmm0
movss xmm0, dword [ebp - 0x68]
test byte [ecx + 0x24], 1
addss xmm1, xmm6
push 0
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0xa8]
addss xmm2, xmm6
addss xmm1, xmm5
push eax
je 0x100399f5
movss xmm5, dword [0x100c4c90]
subss xmm3, xmm5
subss xmm4, xmm5
addss xmm2, xmm5
addss xmm1, xmm5
jmp 0x10039a15
subss xmm3, dword [0x100c4c8c]
subss xmm4, dword [0x100c4c8c]
addss xmm2, dword [0x100c4c90]
addss xmm1, dword [0x100c4c90]
movss dword [ebp - 0x88], xmm3
movaps xmm3, xmm0
movss dword [ebp - 0x84], xmm4
movss dword [ebp - 0xa8], xmm2
movss dword [ebp - 0xa4], xmm1
call fcn.100548d0
mov eax, dword [ebp - 0x78]
push ecx
mov dword [esp], 0
mov ecx, eax
push 1
push 0xff3c3c3c
push dword [eax + 0x54]
push dword [eax + 0x5c]
call fcn.10053720
mov eax, dword [ebp - 0x78]
movss xmm5, dword [0x100c4d34]
mov dword [eax + 0x54], 0
test byte [edi + 8], 1
movss xmm4, dword [edi + 0xc]
movss xmm6, dword [edi + 0x10]
movaps xmm2, xmm4
addss xmm2, dword [edi + 0x14]
mov ecx, dword [edi + 0x26c]
movaps xmm3, xmm6
addss xmm3, dword [edi + 0x18]
mov dword [ebp - 0x78], ecx
subss xmm2, xmm5
subss xmm3, xmm5
je 0x10039aa9
movss xmm0, dword [ebp - 0x68]
movaps xmm1, xmm0
jmp 0x10039ad3
mov eax, dword [0x100ebc2c]
movss xmm0, dword [eax + 0x1548]
movss xmm1, dword [eax + 0x1910]
addss xmm0, xmm0
mulss xmm1, dword [edi + 0x264]
addss xmm1, xmm0
movss xmm0, dword [ebp - 0x68]
test byte [ecx + 0x24], 1
addss xmm1, xmm5
push 0
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0xa8]
addss xmm4, xmm5
addss xmm1, xmm6
push eax
je 0x10039b0f
movss xmm5, dword [0x100c4c90]
subss xmm2, xmm5
subss xmm3, xmm5
addss xmm4, xmm5
addss xmm1, xmm5
jmp 0x10039b2f
subss xmm2, dword [0x100c4c8c]
subss xmm3, dword [0x100c4c8c]
addss xmm4, dword [0x100c4c90]
addss xmm1, dword [0x100c4c90]
movss dword [ebp - 0x84], xmm3
movaps xmm3, xmm0
movss dword [ebp - 0x88], xmm2
movss dword [ebp - 0xa8], xmm4
movss dword [ebp - 0xa4], xmm1
call fcn.100548d0
mov eax, dword [ebp - 0x78]
push ecx
mov dword [esp], 0
mov ecx, eax
push 1
push 0xff3c3c3c
push dword [eax + 0x54]
push dword [eax + 0x5c]
call fcn.10053720
mov eax, dword [ebp - 0x78]
mov dword [eax + 0x54], 0
mov eax, dword [ebp - 0x6c]
mov edx, eax
and edx, 1
mov dword [ebp - 0x9c], edx
jne 0x10039bce
movss xmm0, dword [ebp - 0x7c]
movss xmm1, dword [0x100c4cc0]
push 3
push ecx
movzx ecx, byte [ebp - 0x61]
add ecx, 0xc
movss dword [esp], xmm0
call fcn.10028350
mov ecx, dword [edi + 0x26c]
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.10054d00
mov edx, dword [ebp - 0x9c]
mov eax, dword [ebp - 0x6c]
test eax, 0x400
je 0x10039da3
mov ecx, dword [edi + 8]
mov eax, dword [0x100ebc2c]
movss xmm2, dword [ebp - 0x68]
test cl, 1
je 0x10039bf0
movaps xmm3, xmm2
jmp 0x10039c10
movss xmm0, dword [eax + 0x1548]
movss xmm3, dword [eax + 0x1910]
addss xmm0, xmm0
mulss xmm3, dword [edi + 0x264]
addss xmm3, xmm0
movss xmm5, dword [edi + 0x10]
addss xmm3, xmm5
test ecx, 0x400
je 0x10039c4b
movss xmm1, dword [eax + 0x1910]
mulss xmm1, dword [edi + 0x264]
movss xmm0, dword [eax + 0x1548]
addss xmm0, xmm0
addss xmm1, dword [edi + 0x148]
addss xmm1, xmm0
jmp 0x10039c4e
movaps xmm1, xmm2
movss xmm0, dword [edi + 0xc]
movaps xmm6, xmm3
maxss xmm6, xmm5
movaps xmm7, xmm0
maxss xmm7, xmm0
movaps xmm4, xmm0
addss xmm1, xmm3
addss xmm4, dword [edi + 0x1c]
addss xmm0, dword [edi + 0x14]
addss xmm5, dword [edi + 0x18]
movss dword [ebp - 0xd0], xmm7
minss xmm4, xmm0
minss xmm1, xmm5
movss dword [ebp - 0x28], xmm4
movss dword [ebp - 0x9c], xmm1
movss dword [ebp - 0x24], xmm1
test edx, edx
je 0x10039ca4
movss xmm5, dword [ebp - 0x7c]
jmp 0x10039ca7
movaps xmm5, xmm2
subss xmm4, dword [ebp - 0xb4]
movaps xmm0, xmm1
addss xmm6, xmm2
movss xmm1, dword [0x100c4cc0]
subss xmm0, xmm2
push 3
push ecx
mov ecx, 0xf
movss dword [ebp - 0x88], xmm4
movss dword [ebp - 0xa4], xmm6
movss dword [ebp - 0x84], xmm0
movaps xmm0, xmm7
addss xmm0, dword [ebp - 0xb4]
movss dword [esp], xmm5
movss dword [ebp - 0xa8], xmm0
call fcn.10028350
mov ecx, dword [edi + 0x26c]
push eax
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0xa8]
push eax
call fcn.10054d00
mov eax, dword [ebp - 0x74]
movss xmm2, dword [eax + 0x1550]
comiss xmm2, dword [ebp - 0x68]
jbe 0x10039da3
movss xmm0, dword [edi + 0x18]
addss xmm0, dword [edi + 0x10]
movss xmm1, dword [ebp - 0x9c]
comiss xmm0, xmm1
jbe 0x10039da3
mov ecx, dword [ebp - 0x24]
sub esp, 8
movss xmm0, dword [ebp - 0xd0]
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x84], ecx
mov ecx, 7
movss dword [ebp - 0xa4], xmm1
movss xmm1, dword [0x100c4cc0]
mov dword [ebp - 0x88], eax
movss dword [ebp - 0xa8], xmm0
movss dword [esp + 4], xmm2
call fcn.10028350
mov ecx, dword [edi + 0x26c]
add esp, 4
push eax
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0xa8]
push eax
call fcn.10054be0
cmp byte [edi + 0x78], 0
je 0x10039db0
xor ecx, ecx
call fcn.1005d730
cmp byte [edi + 0x79], 0
je 0x10039dc0
mov ecx, 1
call fcn.1005d730
test byte [ebp - 0x6c], 2
jne 0x1003a0ef
movss xmm4, dword [ebp - 0xb4]
xor edx, edx
movaps xmm0, xmm4
mov dword [ebp - 0x78], edx
addss xmm0, dword [ebp - 0x7c]
mov ecx, 0x100cb19c
mov dword [ebp - 0x94], ecx
movss dword [ebp - 0xe8], xmm0
movss xmm0, dword [edi + 0xc]
and edx, 1
movss xmm1, dword [edi + 0x10]
movaps xmm2, xmm0
addss xmm2, dword [edi + 0x14]
mov eax, dword [edi + 0x26c]
movaps xmm3, xmm1
addss xmm3, dword [edi + 0x18]
mov dword [ebp - 0x90], eax
mov dword [ebp - 0xe4], edx
subss xmm2, xmm0
subss xmm3, xmm1
mulss xmm2, dword [ecx - 0xc]
mulss xmm3, dword [ecx - 8]
addss xmm2, xmm0
movd xmm0, esi
cvtdq2ps xmm0, xmm0
addss xmm3, xmm1
movss dword [ebp - 0xd0], xmm2
movss dword [ebp - 0x9c], xmm3
je 0x10039e63
movss dword [ebp - 0x44], xmm0
movaps xmm0, xmm4
movss dword [ebp - 0x48], xmm4
jmp 0x10039e73
movss dword [ebp - 0x100], xmm0
movss dword [ebp - 0xfc], xmm4
mulss xmm0, dword [ecx - 4]
lea eax, [ebp - 0xfc]
test edx, edx
lea edx, [ebp - 0x44]
cmovne eax, edx
addss xmm0, xmm2
movss dword [ebp - 0xa8], xmm0
movss xmm0, dword [eax]
mulss xmm0, dword [ecx]
mov ecx, dword [ebp - 0x90]
add ecx, 0x54
addss xmm0, xmm3
mov eax, dword [ecx]
mov dword [ebp - 0x8c], eax
movss dword [ebp - 0xa4], xmm0
cmp eax, dword [ecx + 4]
jne 0x10039f13
lea edx, [eax + 1]
mov eax, dword [ecx + 4]
mov dword [ebp - 0x8c], edx
test eax, eax
je 0x10039edc
cdq
sub eax, edx
mov edx, dword [ebp - 0x8c]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x10039ee1
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.1004b730
mov ecx, dword [ebp - 0x90]
movss xmm2, dword [ebp - 0xd0]
movss xmm3, dword [ebp - 0x9c]
movss xmm4, dword [ebp - 0xb4]
mov eax, dword [ecx + 0x54]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x90]
mov edi, dword [ebp - 0x8c]
mov ecx, dword [ebp - 0xa8]
mov edx, dword [ebp - 0xa4]
mov eax, dword [eax + 0x5c]
movd xmm0, esi
cvtdq2ps xmm0, xmm0
mov dword [eax + edi*8], ecx
mov ecx, edi
mov edi, dword [ebp - 0xa0]
mov dword [eax + ecx*8 + 4], edx
mov eax, dword [ebp - 0x90]
mov edx, dword [ebp - 0xe4]
inc dword [eax + 0x54]
mov eax, dword [edi + 0x26c]
mov dword [ebp - 0x90], eax
test edx, edx
je 0x10039f75
movss dword [ebp - 0xcc], xmm0
movss dword [ebp - 0xc8], xmm4
jmp 0x10039f82
movss dword [ebp - 0x54], xmm0
movaps xmm0, xmm4
movss dword [ebp - 0x58], xmm4
mov ecx, dword [ebp - 0x94]
lea eax, [ebp - 0x54]
test edx, edx
lea edx, [ebp - 0xc8]
cmovne eax, edx
mulss xmm0, dword [ecx - 4]
addss xmm0, xmm2
movss dword [ebp - 0x88], xmm0
movss xmm0, dword [eax]
mulss xmm0, dword [ecx]
mov ecx, dword [ebp - 0x90]
add ecx, 0x54
addss xmm0, xmm3
mov eax, dword [ecx]
mov dword [ebp - 0x8c], eax
movss dword [ebp - 0x84], xmm0
cmp eax, dword [ecx + 4]
jne 0x1003a020
lea edx, [eax + 1]
mov eax, dword [ecx + 4]
mov dword [ebp - 0xe4], edx
test eax, eax
je 0x10039ff1
cdq
sub eax, edx
mov edx, dword [ebp - 0xe4]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x10039ff6
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.1004b730
mov ecx, dword [ebp - 0x90]
movss xmm2, dword [ebp - 0xd0]
movss xmm3, dword [ebp - 0x9c]
mov eax, dword [ecx + 0x54]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x90]
mov edi, dword [ebp - 0x8c]
mov ecx, dword [ebp - 0x88]
mov edx, dword [ebp - 0x84]
mov eax, dword [eax + 0x5c]
movss xmm0, dword [ebp - 0xe8]
mov dword [eax + edi*8], ecx
mov ecx, edi
mov edi, dword [ebp - 0xa0]
mov dword [eax + ecx*8 + 4], edx
mov eax, dword [ebp - 0x90]
inc dword [eax + 0x54]
mov eax, dword [ebp - 0x94]
mov ecx, dword [edi + 0x26c]
mulss xmm0, dword [eax - 4]
push dword [eax + 8]
push dword [eax + 4]
addss xmm0, xmm2
movss xmm2, dword [ebp - 0x7c]
movss dword [ebp - 0x28], xmm0
movss xmm0, dword [ebp - 0xe8]
mulss xmm0, dword [eax]
lea eax, [ebp - 0x28]
push eax
addss xmm0, xmm3
movss dword [ebp - 0x24], xmm0
call fcn.10054630
mov eax, dword [ebp - 0x78]
mov edi, dword [edi + 0x26c]
mov ecx, edi
push dword [ebp + eax*4 - 0x20]
push dword [edi + 0x54]
push dword [edi + 0x5c]
call fcn.10054250
mov edx, dword [ebp - 0x78]
mov ecx, dword [ebp - 0x94]
inc edx
movss xmm4, dword [ebp - 0xb4]
add ecx, 0x18
mov dword [edi + 0x54], 0
mov edi, dword [ebp - 0xa0]
mov dword [ebp - 0x78], edx
mov dword [ebp - 0x94], ecx
cmp edx, dword [ebp - 0xac]
jl 0x10039df2
mov ecx, edi
call fcn.1002ed60
mov esi, dword [ebp - 0x74]
cmp dword [esi + 0x1b40], edi
jne 0x1003a2bc
movss xmm5, dword [edi + 0x44]
movss xmm2, dword [edi + 0xc]
movaps xmm0, xmm5
maxss xmm0, dword [esi + 0x151c]
movss xmm1, dword [edi + 0x10]
movss xmm3, dword [esi + 0x190c]
movaps xmm7, xmm1
addss xmm1, dword [edi + 0x18]
movss xmm4, dword [ebp - 0x68]
subss xmm7, xmm3
movss dword [ebp - 0x94], xmm0
movaps xmm0, xmm2
addss xmm2, dword [edi + 0x14]
subss xmm0, xmm3
addss xmm1, xmm3
addss xmm2, xmm3
comiss xmm4, xmm0
movss dword [ebp - 0x90], xmm0
movss dword [ebp - 0x78], xmm2
movss dword [ebp - 0x8c], xmm1
jb 0x1003a1c1
comiss xmm4, xmm7
jb 0x1003a1c1
comiss xmm2, dword [ebp - 0xc4]
jb 0x1003a1c1
comiss xmm1, dword [ebp - 0x80]
jb 0x1003a1c1
xorps xmm3, xmmword [0x100c5290]
subss xmm3, dword [0x100c4cc0]
movss dword [ebp - 0x94], xmm5
subss xmm0, xmm3
subss xmm7, xmm3
movss dword [ebp - 0x90], xmm0
movaps xmm0, xmm3
addss xmm0, xmm2
addss xmm3, xmm1
movss dword [ebp - 0x78], xmm0
movss dword [ebp - 0x8c], xmm3
mov edx, dword [edi + 0x26c]
mov ecx, 0x32
movss xmm1, dword [esi + 0x1b4c]
mov dword [ebp - 0x80], edx
call fcn.10028350
mov dword [ebp - 0xac], eax
test eax, 0xff000000
je 0x1003a2bc
test byte [edx + 0x24], 1
lea eax, [ebp - 0x28]
movss xmm0, dword [ebp - 0x78]
mov ecx, edx
movss xmm3, dword [ebp - 0x94]
push 0xffffffffffffffff
push eax
lea eax, [ebp - 0xcc]
push eax
je 0x1003a243
movss xmm1, dword [0x100c4c90]
subss xmm0, xmm1
addss xmm7, xmm1
movss dword [ebp - 0x28], xmm0
movss xmm0, dword [ebp - 0x8c]
subss xmm0, xmm1
movss dword [ebp - 0x24], xmm0
movss xmm0, dword [ebp - 0x90]
addss xmm0, xmm1
jmp 0x1003a27d
subss xmm0, dword [0x100c4c8c]
addss xmm7, dword [0x100c4c90]
movss dword [ebp - 0x28], xmm0
movss xmm0, dword [ebp - 0x8c]
subss xmm0, dword [0x100c4c8c]
movss dword [ebp - 0x24], xmm0
movss xmm0, dword [ebp - 0x90]
addss xmm0, dword [0x100c4c90]
movss dword [ebp - 0xcc], xmm0
movss dword [ebp - 0xc8], xmm7
call fcn.100548d0
mov eax, dword [ebp - 0x80]
push ecx
mov dword [esp], 0x40400000
mov ecx, eax
push 1
push dword [ebp - 0xac]
push dword [eax + 0x54]
push dword [eax + 0x5c]
call fcn.10053720
mov eax, dword [ebp - 0x80]
mov dword [eax + 0x54], 0
movss xmm4, dword [edi + 0xc]
subss xmm4, dword [edi + 0x58]
movss xmm2, dword [edi + 0x3c]
mov eax, dword [edi + 0x1c]
mov edx, dword [edi + 8]
mov ecx, dword [edi + 0x20]
movss xmm3, dword [ebp - 0x68]
movaps xmm0, xmm4
mov dword [edi + 0x24], eax
addss xmm0, xmm2
mov eax, edx
mov dword [edi + 0x28], ecx
mov ecx, dword [0x100ebc2c]
and eax, 1
mov dword [ebp - 0xac], eax
movss dword [edi + 0x210], xmm0
je 0x1003a306
movaps xmm6, xmm3
jmp 0x1003a326
movss xmm0, dword [ecx + 0x1548]
movss xmm6, dword [ecx + 0x1910]
addss xmm0, xmm0
mulss xmm6, dword [edi + 0x264]
addss xmm6, xmm0
and edx, 0x400
je 0x1003a358
movss xmm1, dword [ecx + 0x1910]
mulss xmm1, dword [edi + 0x264]
movss xmm0, dword [ecx + 0x1548]
addss xmm0, xmm0
addss xmm1, dword [edi + 0x148]
addss xmm1, xmm0
jmp 0x1003a35b
movaps xmm1, xmm3
movss xmm5, dword [edi + 0x10]
subss xmm5, dword [edi + 0x5c]
movss xmm7, dword [edi + 0x40]
movaps xmm0, xmm5
addss xmm0, xmm7
addss xmm0, xmm6
addss xmm0, xmm1
movss dword [edi + 0x214], xmm0
movss xmm0, dword [edi + 0x34]
ucomiss xmm0, xmm3
lahf
test ah, 0x44
jp 0x1003a399
movss xmm0, dword [edi + 0x14]
subss xmm0, dword [edi + 0x70]
subss xmm4, xmm2
addss xmm4, xmm0
movss xmm0, dword [edi + 0x38]
ucomiss xmm0, xmm3
movss dword [edi + 0x218], xmm4
lahf
test ah, 0x44
jp 0x1003a3c1
movss xmm0, dword [edi + 0x18]
subss xmm0, dword [edi + 0x74]
cmp dword [ebp - 0xac], 0
subss xmm5, xmm7
addss xmm2, xmm3
mov dword [edi + 0x1b8], 0
mov dword [edi + 0x1bc], 0
addss xmm5, xmm0
subss xmm2, dword [edi + 0x58]
movss dword [edi + 0x21c], xmm5
movss dword [edi + 0x1b4], xmm2
je 0x1003a404
movaps xmm4, xmm3
jmp 0x1003a424
movss xmm0, dword [ecx + 0x1548]
movss xmm4, dword [ecx + 0x1910]
addss xmm0, xmm0
mulss xmm4, dword [edi + 0x264]
addss xmm4, xmm0
test edx, edx
je 0x1003a452
movss xmm1, dword [ecx + 0x1910]
mulss xmm1, dword [edi + 0x264]
movss xmm0, dword [ecx + 0x1548]
addss xmm0, xmm0
addss xmm1, dword [edi + 0x148]
addss xmm1, xmm0
jmp 0x1003a455
movaps xmm1, xmm3
movss xmm0, dword [edi + 0x20]
addss xmm1, xmm4
subss xmm0, dword [edi + 0x74]
addss xmm2, xmm3
mov dword [edi + 0xf4], 0
mov dword [edi + 0xf8], 0
mov dword [edi + 0xfc], 0
addss xmm1, xmm7
mov dword [edi + 0xf0], 0
mov byte [edi + 0x140], 0
addss xmm2, dword [edi + 0xc]
mov byte [edi + 0x142], 0
subss xmm1, dword [edi + 0x5c]
movss dword [edi + 0xd8], xmm2
mov eax, dword [edi + 0xd8]
mov dword [edi + 0xc8], eax
addss xmm1, dword [edi + 0x10]
mov dword [edi + 0xd0], eax
mov dword [edi + 0xe0], eax
mov eax, dword [edi + 0xf4]
mov dword [edi + 0xe8], eax
movss dword [edi + 0xdc], xmm1
movss xmm1, dword [edi + 0x30]
mov ecx, dword [edi + 0xdc]
subss xmm1, xmm0
movaps xmm0, xmm3
mov dword [edi + 0xcc], ecx
mov dword [edi + 0xd4], ecx
mov dword [edi + 0xe4], ecx
mov ecx, dword [edi + 0xf8]
maxss xmm0, xmm1
mov dword [edi + 0xec], ecx
comiss xmm0, xmm3
seta al
mov byte [edi + 0x141], al
mov eax, dword [edi + 0x13c]
mov dword [edi + 0x138], eax
lea eax, [edi + 0x14c]
mov dword [edi + 0x13c], 0
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x1003a569
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 + 0x14c]
call fcn.1004b270
lea eax, [edi + 0x14c]
mov ecx, dword [ebp - 0xb8]
mov dword [eax], 0
mov dword [edi + 0x15c], 1
test ecx, ecx
je 0x1003a5ab
mov eax, dword [ecx + 0x15c]
mov dword [edi + 0x160], eax
mov dword [edi + 0x168], 0xffffffff
mov dword [edi + 0x164], 0xffffffff
mov eax, dword [ecx + 0x16c]
jmp 0x1003a5cb
mov dword [edi + 0x160], 1
xor eax, eax
mov dword [edi + 0x168], 0xffffffff
mov dword [edi + 0x164], 0xffffffff
mov dword [edi + 0x16c], eax
mov eax, dword [edi + 0x224]
mov dword [edi + 0x170], eax
lea eax, [edi + 0x178]
mov dword [edi + 0x174], 0xbf800000
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x1003a616
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 + 0x178]
call fcn.1004b270
lea eax, [edi + 0x178]
mov dword [eax], 0
lea eax, [edi + 0x184]
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x1003a64b
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 + 0x184]
call fcn.1004b270
lea eax, [edi + 0x184]
mov dword [eax], 0
lea eax, [edi + 0x190]
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x1003a680
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 + 0x190]
call fcn.1004b270
lea eax, [edi + 0x190]
mov dword [eax], 0
lea ecx, [edi + 0x19c]
mov dword [edi + 0x1c0], 0
lea eax, [edi + 0x24c]
mov dword [edi + 0x100], 0
mov dword [edi + 0x104], 0
push 0
mov dword [edi + 0x158], eax
call fcn.1004ae80
push dword [ebp - 0xd4]
movss xmm2, dword [esi + 0x1554]
push ecx
lea ecx, [edi + 0x228]
call fcn.1006a060
cmp dword [ebp - 0xd8], 0
je 0x1003a745
mov eax, dword [ebp - 0xb8]
mov ecx, dword [eax + 0x16c]
cmp dword [edi + 0x16c], ecx
je 0x1003a745
lea esi, [edi + 0x178]
mov dword [edi + 0x16c], ecx
mov eax, dword [esi + 4]
mov edx, dword [esi]
mov dword [ebp - 0xac], eax
cmp edx, eax
jne 0x1003a73d
lea ecx, [edx + 1]
test eax, eax
je 0x1003a723
cdq
sub eax, edx
sar eax, 1
add eax, dword [ebp - 0xac]
jmp 0x1003a728
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.1004b270
mov ecx, dword [edi + 0x16c]
mov edx, dword [esi]
mov eax, dword [esi + 8]
mov dword [eax + edx*4], ecx
inc dword [esi]
mov eax, dword [edi + 0x90]
test eax, eax
jle 0x1003a756
dec eax
mov dword [edi + 0x90], eax
mov eax, dword [edi + 0x94]
test eax, eax
jle 0x1003a767
dec eax
mov dword [edi + 0x94], eax
cmp byte [ebp - 0x98], 0
je 0x1003a7fc
mov ecx, edi
call fcn.10044510
mov eax, dword [edi + 8]
mov esi, dword [0x100ebc2c]
mov dword [ebp - 0x7c], esi
test eax, 0x40000
jne 0x1003a7ee
and eax, 0x5000000
cmp eax, 0x1000000
jne 0x1003a7a3
cmp dword [edi + 0x2f8], 0
jne 0x1003a7ee
mov ecx, dword [esi + 0x1b54]
mov eax, dword [esi + 0x1afc]
movaps xmm0, xmmword [0x100c52d0]
mov dword [esi + 0x1b00], 0
mov dword [eax + ecx*4 + 0x2f8], 0
mov word [esi + 0x1b61], 1
mov dword [esi + 0x1b64], 0
movups xmmword [esi + 0x1b68], xmm0
mov byte [esi + 0x1b60], 1
jmp 0x1003a805
mov eax, dword [edi + 0x2f8]
mov dword [esi + 0x1b00], eax
jmp 0x1003a805
mov esi, dword [0x100ebc2c]
mov dword [ebp - 0x7c], esi
mov eax, dword [ebp - 0x6c]
movaps xmm6, xmmword [ebp - 0x40]
test al, 1
jne 0x1003ad57
mov eax, dword [edi + 0x16c]
mov dword [ebp - 0xac], eax
or eax, 0x10
mov dword [edi + 0x16c], eax
mov eax, dword [ebp - 0x6c]
and eax, 0x20
mov dword [edi + 0x130], 1
mov dword [edi + 0x134], 2
mov dword [ebp - 0xe8], eax
jne 0x1003a8a2
mov ecx, dword [edi + 0x1c4]
xor edx, edx
mov eax, dword [edi + 0x1cc]
push dword [eax + ecx*4 - 4]
mov ecx, str.COLLAPSE
call fcn.10027b40
add esp, 4
cmp dword [esi + 0x1a0c], eax
jne 0x1003a878
mov dword [esi + 0x1a14], eax
cmp dword [esi + 0x1a10], eax
jne 0x1003a887
mov byte [esi + 0x1a20], 1
lea edx, [edi + 0xc]
mov ecx, eax
call fcn.1005d490
mov esi, dword [0x100ebc2c]
mov dword [ebp - 0x7c], esi
test al, al
je 0x1003a8a2
mov byte [edi + 0x7e], 1
cmp dword [ebp - 0xdc], 0
je 0x1003a957
mov eax, dword [ebp - 0x74]
xor edx, edx
movss xmm0, dword [edi + 0x14]
addss xmm0, dword [edi + 0xc]
mov ecx, dword [edi + 0x1c4]
movss xmm2, dword [eax + 0x190c]
mulss xmm2, dword [0x100c4c90]
subss xmm0, dword [eax + 0x1544]
subss xmm0, xmm2
movss dword [ebp - 0x28], xmm0
movss xmm0, dword [eax + 0x1548]
addss xmm0, dword [edi + 0x10]
mov eax, dword [edi + 0x1cc]
push dword [eax + ecx*4 - 4]
addss xmm0, xmm2
mov ecx, str.CLOSE
movss dword [ebp - 0x24], xmm0
call fcn.10027b40
add esp, 4
cmp dword [esi + 0x1a0c], eax
jne 0x1003a920
mov dword [esi + 0x1a14], eax
cmp dword [esi + 0x1a10], eax
jne 0x1003a92f
mov byte [esi + 0x1a20], 1
addss xmm2, dword [0x100c4cc0]
lea edx, [ebp - 0x28]
mov ecx, eax
call fcn.1005d230
mov esi, dword [0x100ebc2c]
mov dword [ebp - 0x7c], esi
test al, al
je 0x1003a957
mov eax, dword [ebp - 0xdc]
mov byte [eax], 0
mov eax, dword [ebp - 0xac]
mov dword [edi + 0x130], 0
mov dword [edi + 0x134], 1
mov dword [edi + 0x16c], eax
mov eax, dword [ebp - 0x6c]
and eax, 0x100000
mov dword [ebp - 0xe4], eax
je 0x1003a9dd
movss xmm3, dword [0x100c4e28]
lea eax, [ebp - 0x28]
movss xmm2, dword [esi + 0x190c]
push ecx
push 0
push 0x100c43b0
push ecx
mov ecx, dword [esi + 0x1908]
mov dword [esp], 0xbf800000
push eax
call fcn.10057b80
movss xmm0, dword [ebp - 0x28]
addss xmm0, dword [0x100c4cb8]
movss xmm5, dword [ebp - 0x68]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0x98], xmm0
jmp 0x1003a9ea
movss xmm5, dword [ebp - 0x68]
movss dword [ebp - 0x98], xmm5
mov edx, dword [ebp - 0xb0]
mov eax, edx
cmp edx, 0xffffffff
jae 0x1003aa0d
mov cl, byte [eax]
test cl, cl
je 0x1003aa0d
cmp cl, 0x23
jne 0x1003aa07
cmp byte [eax + 1], cl
je 0x1003aa0d
inc eax
cmp eax, 0xffffffff
jb 0x1003a9f7
movss xmm0, dword [esi + 0x190c]
cmp edx, eax
jne 0x1003aa1e
movaps xmm1, xmm5
jmp 0x1003aa6b
movss xmm3, dword [0x100c4e28]
movaps xmm2, xmm0
push ecx
push eax
push edx
push ecx
mov ecx, dword [esi + 0x1908]
lea eax, [ebp - 0x28]
mov dword [esp], 0xbf800000
push eax
call fcn.10057b80
movss xmm0, dword [ebp - 0x28]
addss xmm0, dword [0x100c4cb8]
movss xmm5, dword [ebp - 0x68]
mov edx, dword [ebp - 0xb0]
cvttss2si eax, xmm0
movss xmm0, dword [ebp - 0x24]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
cmp dword [ebp - 0xe8], 0
addss xmm0, xmm5
movss xmm7, dword [ebp - 0x98]
mov ecx, dword [ebp - 0x74]
movaps xmm6, xmm7
addss xmm6, xmm1
movss dword [ebp - 0x24], xmm0
movaps xmm0, xmmword [ebp - 0x40]
movaps xmmword [ebp - 0x60], xmm0
movss dword [ebp - 0xc4], xmm6
movss dword [ebp - 0x28], xmm6
je 0x1003aab1
movss xmm3, dword [ecx + 0x1544]
movaps xmm1, xmm3
jmp 0x1003aacc
movss xmm1, dword [ecx + 0x1544]
movaps xmm3, xmm1
addss xmm3, dword [ecx + 0x190c]
addss xmm3, dword [ecx + 0x155c]
cmp dword [ebp - 0xdc], 0
movaps xmm4, xmm1
je 0x1003aae8
addss xmm4, dword [ecx + 0x190c]
addss xmm4, dword [ecx + 0x155c]
movss xmm2, dword [ecx + 0x152c]
lea eax, [ecx + 0x152c]
comiss xmm2, xmm5
mov dword [ebp - 0xac], eax
jbe 0x1003ab10
movaps xmm0, xmm3
subss xmm0, xmm4
mulss xmm0, xmm2
addss xmm4, xmm0
cmp dword [ebp - 0xdc], 0
movss xmm2, dword [ebp - 0xbc]
addss xmm2, xmm3
movss xmm3, dword [ebp - 0x58]
subss xmm3, xmm4
movss dword [ebp - 0x60], xmm2
movss dword [ebp - 0x58], xmm3
movaps xmm0, xmmword [ebp - 0x60]
movaps xmmword [ebp - 0x50], xmm0
je 0x1003ab55
movss xmm1, dword [ebp - 0xf0]
subss xmm1, dword [ebp - 0x3c]
subss xmm1, dword [0x100c4d0c]
cmp dword [ebp - 0xb0], 0xffffffff
movss xmm0, dword [edi + 0x14]
addss xmm0, dword [edi + 0xc]
mov dword [ebp - 0x80], edx
subss xmm0, xmm1
movss dword [ebp - 0x48], xmm0
jae 0x1003ab8c
mov al, byte [edx]
test al, al
je 0x1003ab89
cmp al, 0x23
jne 0x1003ab83
cmp byte [edx + 1], al
je 0x1003ab89
inc edx
cmp edx, 0xffffffff
jb 0x1003ab74
mov dword [ebp - 0x80], edx
mov eax, edx
sub eax, dword [ebp - 0xb0]
je 0x1003ac0e
mov ecx, dword [esi + 0x19ec]
lea eax, [ebp - 0x50]
push eax
push dword [ebp - 0xac]
lea eax, [ebp - 0x28]
mov ecx, dword [ecx + 0x26c]
push eax
push edx
push dword [ebp - 0xb0]
lea eax, [ebp - 0x58]
push eax
lea edx, [ebp - 0x60]
call fcn.10028850
add esp, 0x18
cmp byte [esi + 0x2d5c], 0
je 0x1003abe3
push dword [ebp - 0x80]
mov edx, dword [ebp - 0xb0]
lea ecx, [ebp - 0x60]
call fcn.1004a0c0
add esp, 4
mov esi, dword [0x100ebc2c]
mov ecx, dword [ebp - 0x74]
movss xmm7, dword [ebp - 0x98]
movss xmm6, dword [ebp - 0xc4]
movss xmm5, dword [ebp - 0x68]
movss xmm2, dword [ebp - 0x60]
movss xmm3, dword [ebp - 0x58]
mov dword [ebp - 0x7c], esi
cmp dword [ebp - 0xe4], 0
je 0x1003ad50
movss xmm0, dword [ecx + 0x190c]
xorps xmm0, xmmword [0x100c5290]
mulss xmm0, dword [0x100c4c78]
mov dword [ebp - 0x28], 0
cvttss2si eax, xmm0
movss xmm0, dword [ecx + 0x1530]
movss dword [ebp - 0x24], xmm0
movaps xmm0, xmm3
subss xmm3, xmm2
addss xmm0, xmm5
movd xmm1, eax
cvtdq2ps xmm1, xmm1
subss xmm3, xmm6
movss dword [ebp - 0xcc], xmm0
movaps xmm0, xmm1
addss xmm0, dword [ebp - 0x54]
mulss xmm3, dword [ecx + 0x152c]
mov ecx, 0x100c43b0
mov eax, ecx
mov dword [ebp - 0x80], ecx
movss dword [ebp - 0xc8], xmm0
movss xmm0, dword [0x100c4ce4]
addss xmm3, xmm2
subss xmm0, xmm7
maxss xmm2, xmm3
addss xmm2, xmm6
addss xmm2, xmm0
movss xmm0, dword [ebp - 0x5c]
addss xmm0, xmm5
addss xmm2, xmm5
addss xmm0, xmm1
movss dword [ebp - 0x88], xmm2
movss dword [ebp - 0x84], xmm0
cmp eax, 0xffffffff
jae 0x1003ace8
nop dword [eax]
mov al, byte [ecx]
test al, al
je 0x1003ace5
cmp al, 0x23
jne 0x1003acdf
cmp byte [ecx + 1], al
je 0x1003ace5
inc ecx
cmp ecx, 0xffffffff
jb 0x1003acd0
mov dword [ebp - 0x80], ecx
mov eax, ecx
sub eax, 0x100c43b0
je 0x1003ad50
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x28]
push eax
push 0
push ecx
mov ecx, dword [esi + 0x19ec]
lea eax, [ebp - 0xcc]
push 0x100c43b0
push eax
lea edx, [ebp - 0x88]
mov ecx, dword [ecx + 0x26c]
call fcn.10028850
add esp, 0x18
cmp byte [esi + 0x2d5c], 0
je 0x1003ad41
push dword [ebp - 0x80]
mov edx, 0x100c43b0
lea ecx, [ebp - 0x88]
call fcn.1004a0c0
add esp, 4
mov esi, dword [0x100ebc2c]
movaps xmm6, xmmword [ebp - 0x40]
mov eax, dword [ebp - 0x6c]
jmp 0x1003ad5a
mov eax, dword [ebp - 0x6c]
movaps xmm6, xmmword [ebp - 0x40]
mov esi, dword [ebp - 0x7c]
movss xmm0, dword [edi + 0xc]
and eax, 0x401
movss xmm1, dword [edi + 0x10]
movss dword [ebp - 0x2c], xmm1
movss dword [ebp - 0x30], xmm0
movss xmm5, dword [ebp - 0xbc]
addss xmm0, dword [edi + 0x14]
addss xmm1, dword [edi + 0x18]
movss dword [ebp - 0x28], xmm0
movss dword [ebp - 0x24], xmm1
movups xmm0, xmmword [ebp - 0x30]
movups xmmword [edi + 0x1e0], xmm0
movss xmm1, dword [edi + 0x1e0]
movss xmm0, dword [edi + 0x1e4]
maxss xmm1, dword [edi + 0x1d0]
maxss xmm0, dword [edi + 0x1d4]
movss dword [edi + 0x1e0], xmm1
movss dword [edi + 0x1e4], xmm0
movss xmm1, dword [edi + 0x1e8]
movss xmm0, dword [edi + 0x1ec]
minss xmm1, dword [edi + 0x1d8]
minss xmm0, dword [edi + 0x1dc]
movss dword [edi + 0x1e8], xmm1
movss dword [edi + 0x1ec], xmm0
movss xmm1, dword [edi + 0x48]
addss xmm5, xmm1
movss dword [edi + 0x1f0], xmm5
cmp eax, 1
jne 0x1003ae15
movaps xmm2, xmm1
jmp 0x1003ae20
mov eax, dword [ebp - 0x74]
movss xmm2, dword [eax + 0x1550]
test dword [edi + 8], 0x400
je 0x1003ae53
movss xmm4, dword [esi + 0x1910]
mulss xmm4, dword [edi + 0x264]
movss xmm0, dword [esi + 0x1548]
addss xmm0, xmm0
addss xmm4, dword [edi + 0x148]
addss xmm4, xmm0
jmp 0x1003ae58
movss xmm4, dword [ebp - 0x68]
addss xmm4, dword [ebp - 0xf0]
movss xmm7, dword [0x100c4c90]
addss xmm5, xmm7
addss xmm4, xmm2
movss dword [edi + 0x1f4], xmm4
addss xmm4, xmm7
movss xmm3, dword [edi + 0x14]
addss xmm3, dword [edi + 0xc]
subss xmm3, dword [edi + 0x70]
subss xmm3, xmm1
movss dword [edi + 0x1f8], xmm3
addss xmm3, xmm7
movss xmm2, dword [edi + 0x18]
addss xmm2, dword [edi + 0x10]
subss xmm2, dword [edi + 0x74]
subss xmm2, xmm1
movss dword [edi + 0x1fc], xmm2
addss xmm2, xmm7
movss xmm0, dword [edi + 0x3c]
mulss xmm0, xmm7
subss xmm0, xmm1
movss xmm1, dword [ebp - 0x68]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
maxss xmm1, xmm0
addss xmm5, xmm1
subss xmm3, xmm1
cvttss2si eax, xmm5
movss xmm5, dword [ebp - 0x3c]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
cvttss2si eax, xmm4
movss dword [edi + 0x200], xmm0
movss xmm4, dword [ebp - 0xf4]
movd xmm0, eax
cvttss2si eax, xmm3
cvtdq2ps xmm0, xmm0
movss xmm3, dword [ebp - 0xbc]
movss dword [edi + 0x204], xmm0
movd xmm0, eax
cvttss2si eax, xmm2
movss xmm2, dword [ebp - 0xf0]
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x208], xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x20c], xmm0
mov eax, dword [edi + 0x50]
mov dword [edi + 0x108], eax
movss xmm1, dword [esi + 0x1564]
movss xmm0, dword [esi + 0x1568]
subss xmm3, xmm1
addss xmm4, xmm1
movss xmm1, dword [esi + 0xe0]
addss xmm2, xmm0
subss xmm5, xmm0
comiss xmm1, xmm3
jb 0x1003afad
movss xmm0, dword [esi + 0xe4]
comiss xmm0, xmm5
jb 0x1003afad
comiss xmm4, xmm1
jbe 0x1003afad
comiss xmm2, xmm0
jbe 0x1003afad
mov eax, 1
mov dword [edi + 0x10c], eax
movups xmmword [edi + 0x110], xmm6
jmp 0x1003afe4
xor eax, eax
mov dword [edi + 0x10c], eax
movups xmmword [edi + 0x110], xmm6
jmp 0x1003afe4
movss xmm0, dword [esi + 0x1910]
mov dword [esi + 0x19ec], edi
mulss xmm0, dword [edi + 0x264]
movss dword [esi + 0x1920], xmm0
movss dword [esi + 0x190c], xmm0
mov eax, dword [esi + 0x19ec]
mov byte [eax + 0x7c], 1
push dword [edi + 0x20c]
mov esi, dword [esi + 0x19ec]
push dword [edi + 0x208]
push dword [edi + 0x204]
mov ecx, dword [esi + 0x26c]
push dword [edi + 0x200]
push 1
call fcn.10053010
mov eax, dword [esi + 0x26c]
mov ecx, dword [eax + 0x3c]
mov eax, dword [eax + 0x44]
add ecx, ecx
movss xmm0, dword [eax + ecx*8 - 0xc]
movss xmm1, dword [eax + ecx*8 - 8]
movss xmm2, dword [eax + ecx*8 - 4]
mov eax, dword [eax + ecx*8 - 0x10]
mov dword [esi + 0x1d0], eax
mov eax, dword [ebp - 0xe0]
movss dword [esi + 0x1d4], xmm0
movss dword [esi + 0x1d8], xmm1
movss dword [esi + 0x1dc], xmm2
cmp eax, dword [ebp - 0xf8]
je 0x1003b06d
mov byte [edi + 0x7c], 0
mov eax, dword [ebp - 0x74]
inc word [edi + 0x84]
mov ecx, dword [ebp - 0x6c]
mov dword [eax + 0x1aa8], 0
mov dword [eax + 0x1aa4], 0
mov dword [eax + 0x1aa0], 0
mov dword [eax + 0x1a9c], 0
mov dword [eax + 0x1a98], 0
mov dword [eax + 0x1a94], 0
mov dword [eax + 0x1a90], 0
test ecx, 0x1000000
je 0x1003b12e
test cl, 0x40
jne 0x1003b10b
cmp dword [edi + 0x90], 0
jg 0x1003b10b
cmp dword [edi + 0x94], 0
jg 0x1003b10b
movss xmm0, dword [edi + 0x1e0]
comiss xmm0, dword [edi + 0x1e8]
jae 0x1003b101
movss xmm0, dword [edi + 0x1e4]
comiss xmm0, dword [edi + 0x1ec]
jb 0x1003b10b
mov dword [edi + 0xa4], 1
mov ecx, dword [ebp - 0xb8]
test ecx, ecx
je 0x1003b12e
cmp byte [ecx + 0x7d], 0
jne 0x1003b124
cmp byte [ecx + 0x81], 0
je 0x1003b12e
mov dword [edi + 0xa4], 1
movss xmm0, dword [ebp - 0x68]
comiss xmm0, dword [eax + 0x1510]
jb 0x1003b19a
mov dword [edi + 0xa4], 1
mov cl, 1
xor al, al
mov byte [edi + 0x81], cl
cmp byte [edi + 0x7d], al
jne 0x1003b15e
cmp byte [edi + 0x7a], al
je 0x1003b15e
test cl, cl
je 0x1003b182
cmp dword [edi + 0x90], 0
jg 0x1003b182
cmp dword [edi + 0x94], 0
jg 0x1003b182
cmp dword [edi + 0xa8], 0
mov ecx, 1
movzx eax, al
cmovle eax, ecx
mov ecx, dword [ebp - 4]
mov byte [edi + 0x7f], al
xor ecx, ebp
pop edi
xor al, 1
pop esi
call fcn.1006cd6e
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
cmp dword [edi + 0xa4], 0
jg 0x1003b146
cmp dword [edi + 0xa8], 0
jg 0x1003b146
xor cl, cl
jmp 0x1003b148