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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x138
mov eax, dword [0x1003f00c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebx + 8]
push esi
mov esi, dword [ebx + 0xc]
mov dword [ebp - 0x110], edx
mov edx, ecx
mov dword [ebp - 0x100], eax
mov ecx, esi
or ecx, 6
movss dword [ebp - 0x14], xmm3
mov eax, esi
mov dword [ebp - 0x124], edx
and eax, 0x200
mov byte [ebp - 6], 0
push edi
mov edi, dword [0x1003f068]
cmove ecx, esi
mov dword [ebp - 0xd4], ecx
mov ecx, edx
mov dword [ebp - 0x108], edi
call fcn.1000d520
mov ecx, eax
mov dword [ebp - 0xc4], ecx
test ecx, ecx
jne 0x1000d8ea
mov eax, dword [ebp - 0x100]
mov edx, dword [ebp - 0xd4]
mov ecx, dword [ebp - 0x124]
push dword [eax + 4]
push dword [eax]
call fcn.1000d570
mov ecx, eax
mov byte [ebp - 6], 1
add esp, 8
mov dword [ebp - 0xc4], ecx
mov eax, dword [0x1003f068]
mov edx, dword [ecx + 0x1f0]
mov dword [ebp - 0x128], edx
mov eax, dword [eax + 0x170c]
mov dword [ebp - 0x118], eax
cmp edx, eax
je 0x1000d916
mov eax, dword [ebp - 0xd4]
mov dword [ecx + 8], eax
jmp 0x1000d91f
mov eax, dword [ecx + 8]
mov dword [ebp - 0xd4], eax
mov esi, dword [edi + 0x1734]
lea ecx, [edi + 0x1734]
test esi, esi
je 0x1000d941
mov eax, dword [edi + 0x173c]
mov esi, dword [eax + esi*4 - 4]
mov dword [ebp - 0x114], esi
jmp 0x1000d94b
mov dword [ebp - 0x114], 0
lea eax, [ebp - 0xc4]
push eax
call fcn.100187d0
mov eax, dword [0x1003f068]
mov ecx, dword [ebp - 0xc4]
mov dword [eax + 0x1730], ecx
test ecx, ecx
je 0x1000d984
movss xmm0, dword [ecx + 0x254]
mulss xmm0, dword [eax + 0x16fc]
movss dword [eax + 0x16f8], xmm0
mov ecx, dword [ebp - 0xc4]
mov dl, 1
call fcn.1000d260
mov ecx, dword [ebp - 0xc4]
mov eax, dword [ebp - 0x118]
dec eax
mov dword [ebp - 0xdc], ecx
cmp dword [ecx + 0x1f0], eax
mov eax, dword [ebp - 0xd4]
sete dh
and eax, 0x2000000
mov byte [ebp - 0xce], dh
mov dword [ebp - 0xf0], eax
je 0x1000da18
mov eax, dword [edi + 0x17b0]
lea ecx, [eax + eax*2]
mov eax, edi
mov eax, dword [eax + 0x17ac]
lea esi, [eax + ecx*8]
mov ecx, dword [ebp - 0xdc]
push esi
mov eax, dword [ecx + 0x7c]
cmp eax, dword [esi]
sete dl
cmp ecx, dword [esi + 4]
mov dword [esi + 4], ecx
lea ecx, [edi + 0x17b0]
sete al
and dl, al
and dh, dl
mov byte [ebp - 0xce], dh
call fcn.10018610
mov eax, dword [ebp - 0xc4]
mov ecx, dword [esi]
mov dword [eax + 0x7c], ecx
mov ecx, dword [ebp - 0xc4]
mov edx, dword [edi + 0x17e0]
mov esi, dword [ecx + 0x90]
movss xmm2, dword [0x1003b57c]
mov dword [ebp - 0xf8], esi
mov byte [ebp - 0xcd], 0
mov byte [ebp - 5], 0
test edx, edx
je 0x1000db2b
cmp byte [ebp - 0xce], 0
movss xmm0, dword [ecx + 0xa4]
movss dword [ebp - 0xdc], xmm0
movss xmm0, dword [ecx + 0xa8]
movss dword [ebp - 0xd8], xmm0
je 0x1000da73
cmp esi, 1
jne 0x1000da86
or dword [ecx + 0x94], 8
mov edx, dword [edi + 0x17e0]
mov ecx, dword [ebp - 0xc4]
mov eax, dword [ecx + 0x94]
and eax, edx
setne byte [ebp - 0xcd]
test eax, eax
je 0x1000dae0
movss xmm0, dword [edi + 0x17c4]
movss xmm1, dword [edi + 0x17c8]
subss xmm0, xmm2
subss xmm1, xmm2
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm1, xmm0
movss xmm0, dword [0x1003b458]
comiss xmm0, xmm1
jbe 0x1000dae0
mov byte [ecx + 0xa0], 1
mov eax, dword [ebp - 0xc4]
and dword [eax + 0x94], 0xfffffff1
jmp 0x1000daef
push edx
lea edx, [edi + 0x17c4]
call fcn.10010a30
add esp, 4
mov eax, dword [ebp - 0xc4]
movss xmm0, dword [ebp - 0xdc]
mov esi, dword [ebp - 0xf8]
movss dword [eax + 0xa4], xmm0
movss xmm0, dword [ebp - 0xd8]
movss dword [eax + 0xa8], xmm0
mov ecx, dword [ebp - 0xc4]
mov dword [edi + 0x17e0], 0
mov eax, dword [edi + 0x17e4]
test eax, eax
je 0x1000db7f
cmp byte [ebp - 0xce], 0
je 0x1000db43
cmp esi, 1
jne 0x1000db56
or dword [ecx + 0x98], 8
mov eax, dword [edi + 0x17e4]
mov ecx, dword [ebp - 0xc4]
test dword [ecx + 0x98], eax
lea edx, [edi + 0x17cc]
push eax
setne byte [ebp - 5]
call fcn.10010af0
mov ecx, dword [ebp - 0xc4]
add esp, 4
mov dword [edi + 0x17e4], 0
cmp dword [edi + 0x17e8], 0
je 0x1000dba6
mov eax, dword [edi + 0x17d4]
mov dword [ecx + 0x34], eax
mov eax, dword [edi + 0x17d8]
mov dword [ecx + 0x38], eax
mov dword [edi + 0x17e8], 0
jmp 0x1000dbc2
mov eax, dword [ebp - 0x128]
cmp eax, dword [ebp - 0x118]
je 0x1000dbc8
mov dword [ecx + 0x34], 0
mov dword [ecx + 0x38], 0
mov ecx, dword [ebp - 0xc4]
mov eax, dword [edi + 0x17ec]
test eax, eax
je 0x1000dc1f
cmp byte [ebp - 0xce], 0
je 0x1000dbe0
cmp esi, 1
jne 0x1000dbf3
or dword [ecx + 0x9c], 8
mov eax, dword [edi + 0x17ec]
mov ecx, dword [ebp - 0xc4]
mov dl, byte [edi + 0x17dc]
test eax, eax
je 0x1000dc05
test dword [ecx + 0x9c], eax
je 0x1000dc15
and dword [ecx + 0x9c], 0xfffffff1
mov byte [ecx + 0x73], dl
mov ecx, dword [ebp - 0xc4]
mov dword [edi + 0x17ec], 0
cmp byte [edi + 0x17f0], 0
je 0x1000dc46
mov ecx, dword [0x1003f068]
mov ecx, dword [ecx + 0x1730]
call fcn.10010400
mov ecx, dword [ebp - 0xc4]
mov byte [edi + 0x17f0], 0
mov edx, dword [edi + 0x1734]
dec edx
test edx, edx
jle 0x1000dc73
mov eax, dword [edi + 0x173c]
lea esi, [eax + edx*4]
nop word [eax + eax]
mov eax, dword [esi]
test dword [eax + 8], 0x100000
je 0x1000dc73
dec edx
sub esi, 4
test edx, edx
jg 0x1000dc60
mov esi, edx
test edx, edx
jle 0x1000dc9b
mov eax, dword [edi + 0x173c]
lea edi, [eax + edx*4]
mov eax, dword [edi]
test dword [eax + 8], 0x2100000
je 0x1000dc95
dec esi
sub edi, 4
test esi, esi
jg 0x1000dc82
mov edi, dword [ebp - 0x108]
mov eax, dword [edi + 0x173c]
mov eax, dword [eax + edx*4]
mov dword [ecx + 0x25c], eax
mov eax, dword [edi + 0x173c]
mov ecx, dword [eax + esi*4]
mov eax, dword [ebp - 0xc4]
mov esi, dword [ebp - 0x118]
mov dword [eax + 0x260], ecx
cmp dword [ebp - 0x128], esi
je 0x1000fac5
mov eax, dword [ebp - 0xc4]
mov byte [eax + 0x70], 1
mov eax, dword [ebp - 0xc4]
mov dword [eax + 0x78], 0
mov ecx, dword [ebp - 0xc4]
mov ecx, dword [ecx + 0x258]
call fcn.1001d880
movaps xmm0, xmmword [0x1003bf20]
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x60]
movups xmmword [ebp - 0x30], xmm0
call fcn.100079e0
mov eax, dword [ebp - 0xc4]
movups xmm0, xmmword [ebp - 0x60]
push 1
movups xmmword [eax + 0x1d0], xmm0
mov eax, dword [ebp - 0xc4]
mov dword [eax + 0x1f0], esi
mov ecx, dword [ebp - 0xc4]
lea ecx, [ecx + 0x1c4]
call fcn.100183e0
mov eax, dword [ebp - 0xc4]
mov esi, dword [eax + 0x258]
mov eax, dword [edi + 0x16f4]
lea ecx, [esi + 0x40]
push dword [eax + 0x24]
call fcn.100187d0
mov ecx, esi
call fcn.1001dd70
lea ecx, [ebp - 0xa0]
call fcn.1000c810
mov eax, dword [ebp - 0xd4]
mov esi, dword [ebp - 0x114]
and eax, 0x2900000
cmp eax, 0x100000
jne 0x1000dd95
lea ecx, [esi + 0x1d0]
lea edx, [esi + 0x1d8]
jmp 0x1000dda1
lea ecx, [ebp - 0xa0]
lea edx, [ebp - 0x98]
push 1
call fcn.1000b390
add esp, 4
cmp byte [ebp - 0xce], 0
jne 0x1000de18
mov eax, dword [ebp - 0xc4]
mov dword [eax + 0x8c], 0xffffffff
mov eax, dword [ebp - 0xd4]
test eax, 0x1000
jne 0x1000dded
test eax, 0x1100000
je 0x1000dde2
mov eax, dword [ebp - 0xf0]
test eax, eax
je 0x1000de18
mov ecx, dword [ebp - 0xc4]
call fcn.10010400
mov eax, dword [ebp - 0xf0]
test eax, eax
je 0x1000de18
cmp byte [ebp - 0xcd], 0
jne 0x1000de18
mov ecx, dword [ebp - 0xc4]
mov eax, dword [edi + 0xcc]
mov dword [ecx + 0xc], eax
mov eax, dword [edi + 0xd0]
mov dword [ecx + 0x10], eax
mov edx, dword [ebp - 0xd4]
test dl, 0x21
jne 0x1000decb
mov ecx, dword [ebp - 0xc4]
lea eax, [ebp - 0x60]
push eax
call fcn.100084b0
mov ecx, dword [ebp - 0xc4]
cmp dword [edi + 0x1744], ecx
jne 0x1000dea9
push 1
lea edx, [ebp - 0x58]
lea ecx, [ebp - 0x60]
call fcn.1000c580
add esp, 4
test al, al
je 0x1000dea3
cmp byte [edi + 0x374], 0
je 0x1000dea3
mov ecx, dword [ebp - 0xc4]
cmp byte [ecx + 0x73], 0
sete al
test dword [ebp - 0xd4], 0x100
mov byte [ecx + 0x73], al
jne 0x1000de98
mov ecx, dword [0x1003f068]
xorps xmm1, xmm1
comiss xmm1, dword [ecx + 0x177c]
jb 0x1000de98
mov eax, dword [ecx + 0x18]
mov dword [ecx + 0x177c], eax
mov ecx, dword [ebp - 0xc4]
call fcn.10010400
mov ecx, dword [ebp - 0xc4]
mov edx, dword [ebp - 0xd4]
movss xmm0, dword [ecx + 0x34]
xorps xmm1, xmm1
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x1000def3
cmp byte [ebp - 6], 0
je 0x1000dedd
xorps xmm2, xmm2
jmp 0x1000deea
mov eax, dword [ebp - 0xc4]
mov byte [eax + 0x73], 0
mov ecx, dword [ebp - 0xc4]
jmp 0x1000deaf
movss xmm2, dword [ecx + 0xbc]
subss xmm2, dword [ecx + 0x14]
movss xmm0, dword [ecx + 0x48]
addss xmm0, xmm2
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ecx + 0x2c], xmm0
mov ecx, dword [ebp - 0xc4]
movss xmm0, dword [ecx + 0x38]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x1000df38
cmp byte [ebp - 6], 0
je 0x1000df22
xorps xmm2, xmm2
jmp 0x1000df2f
movss xmm2, dword [ecx + 0xc0]
subss xmm2, dword [ecx + 0x18]
movss xmm0, dword [ecx + 0x4c]
addss xmm0, xmm2
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ecx + 0x30], xmm0
mov ecx, dword [ebp - 0xc4]
mov eax, dword [ecx + 0x90]
test eax, eax
jle 0x1000df5f
dec eax
mov dword [ecx + 0x90], eax
mov eax, edx
and eax, 0x3000000
mov dword [ebp - 0x1c], eax
je 0x1000dfc9
cmp byte [ebp - 0xce], 0
jne 0x1000dfc9
mov eax, dword [ebp - 0xc4]
mov dword [eax + 0x90], 1
test dl, 0x40
je 0x1000dfc9
cmp byte [ebp - 5], 0
jne 0x1000dfb5
mov eax, dword [ebp - 0xc4]
mov dword [eax + 0x24], 0
mov dword [eax + 0x28], 0
mov ecx, dword [ebp - 0xc4]
mov eax, dword [ecx + 0x24]
mov dword [ecx + 0x1c], eax
mov eax, dword [ecx + 0x28]
mov dword [ecx + 0x20], eax
mov eax, dword [ebp - 0xc4]
mov dword [eax + 0x2c], 0
mov dword [eax + 0x30], 0
mov eax, edx
and eax, 0x2910080
cmp eax, 0x100000
jne 0x1000dfed
mov dword [ebp - 0xe8], 0
mov dword [ebp - 0xe4], 0
jmp 0x1000e005
mov eax, dword [edi + 0x13c4]
mov dword [ebp - 0xe8], eax
mov eax, dword [edi + 0x13c8]
mov dword [ebp - 0xe4], eax
mov ecx, dword [ebp - 0xc4]
lea eax, [ebp - 0xe8]
mov dword [ebp - 0xd8], eax
mov eax, dword [eax]
mov dword [ecx + 0x3c], eax
mov eax, dword [ebp - 0xd8]
mov eax, dword [eax + 4]
mov dword [ecx + 0x40], eax
mov eax, edx
and eax, 0x1000000
mov dword [ebp - 0xc8], eax
je 0x1000e06c
mov ecx, dword [ebp - 0xc4]
lea eax, [edi + 0x13f0]
movss xmm3, dword [ecx + 0x3c]
addss xmm3, dword [ecx + 0x2c]
movss xmm2, dword [ecx + 0x30]
addss xmm2, dword [ecx + 0x40]
subss xmm3, xmm1
subss xmm2, dword [eax]
movss dword [ebp - 0x11c], xmm3
jmp 0x1000e17f
movss xmm1, dword [edi + 0xc]
lea ecx, [edi + 0x13cc]
subss xmm1, dword [edi + 0x1424]
movss xmm0, dword [ecx]
lea edx, [ebp - 0xe8]
mov eax, dword [ebp - 0xc4]
maxss xmm0, xmm1
movss xmm1, dword [edi + 0x10]
subss xmm1, dword [edi + 0x1428]
movss dword [ebp - 0xe0], xmm0
movss xmm0, dword [ecx + 4]
maxss xmm0, xmm1
movss xmm1, dword [eax + 0x30]
addss xmm1, dword [eax + 0x40]
movss dword [ebp - 0xdc], xmm0
movss xmm0, dword [eax + 0x2c]
push dword [ebp - 0xdc]
addss xmm0, dword [eax + 0x3c]
push dword [ebp - 0xe0]
movss dword [ebp - 0xe4], xmm1
push ecx
lea ecx, [ebp - 0x10]
movss dword [ebp - 0xe8], xmm0
call fcn.10007980
mov ecx, dword [ebp - 0xc4]
add esp, 0xc
mov edx, dword [ebp - 0xd4]
movss xmm3, dword [eax]
movss xmm0, dword [ecx + 0x2c]
comiss xmm0, xmm3
movss xmm2, dword [eax + 4]
movss dword [ebp - 0x11c], xmm3
jbe 0x1000e132
mov eax, edx
and eax, 0x808
cmp eax, 0x800
jne 0x1000e132
addss xmm2, dword [edi + 0x140c]
movss xmm0, dword [ecx + 0x30]
comiss xmm0, xmm2
jbe 0x1000e158
test dl, 8
jne 0x1000e158
movss xmm0, dword [edi + 0x140c]
addss xmm0, xmm3
movaps xmm3, xmm0
movss dword [ebp - 0x11c], xmm3
subss xmm2, dword [edi + 0x13f0]
lea eax, [edi + 0x13f0]
xorps xmm1, xmm1
mov dword [ebp - 0xd8], eax
comiss xmm2, xmm1
movss dword [ebp - 0xec], xmm2
jae 0x1000e18d
xorps xmm2, xmm2
mov dword [ebp - 0xd8], eax
movss dword [ebp - 0xec], xmm2
cmp byte [ecx + 0x73], 0
je 0x1000e227
cmp dword [ecx + 0x80], 0
jle 0x1000e1c2
cmp byte [ecx + 0x88], 0
je 0x1000e1b4
movss xmm0, dword [ecx + 0x24]
maxss xmm0, xmm3
jmp 0x1000e1b7
movaps xmm0, xmm3
movss dword [ecx + 0x24], xmm0
mov ecx, dword [ebp - 0xc4]
cmp dword [ecx + 0x84], 0
jle 0x1000e1ed
cmp byte [ecx + 0x88], 0
je 0x1000e1df
movss xmm0, dword [ecx + 0x28]
maxss xmm0, xmm2
jmp 0x1000e1e2
movaps xmm0, xmm2
movss dword [ecx + 0x28], xmm0
mov ecx, dword [ebp - 0xc4]
lea eax, [ebp - 0xa8]
push eax
push ecx
lea eax, [ebp - 0x138]
push eax
call fcn.100084b0
add esp, 4
mov ecx, eax
call fcn.10007a50
mov edx, dword [ebp - 0xc4]
mov ecx, dword [eax]
mov dword [edx + 0x1c], ecx
mov eax, dword [eax + 4]
mov dword [edx + 0x20], eax
mov edx, dword [ebp - 0xd4]
jmp 0x1000e2ea
test dl, 0x40
je 0x1000e241
cmp byte [ebp - 5], 0
jne 0x1000e241
movss dword [ecx + 0x24], xmm3
movss dword [ecx + 0x28], xmm2
jmp 0x1000e2d8
mov eax, dword [ecx + 0x80]
test eax, eax
jg 0x1000e258
cmp dword [ecx + 0x84], 0
jle 0x1000e2de
cmp byte [ebp - 5], 0
jne 0x1000e2de
test eax, eax
jle 0x1000e288
cmp byte [ecx + 0x88], 0
je 0x1000e27a
movss xmm0, dword [ecx + 0x24]
maxss xmm0, xmm3
jmp 0x1000e27d
movaps xmm0, xmm3
movss dword [ecx + 0x24], xmm0
mov ecx, dword [ebp - 0xc4]
cmp dword [ecx + 0x84], 0
jle 0x1000e2b3
cmp byte [ecx + 0x88], 0
je 0x1000e2a5
movss xmm0, dword [ecx + 0x28]
maxss xmm0, xmm2
jmp 0x1000e2a8
movaps xmm0, xmm2
movss dword [ecx + 0x28], xmm0
mov ecx, dword [ebp - 0xc4]
test edx, 0x100
jne 0x1000e2de
mov eax, dword [0x1003f068]
comiss xmm1, dword [eax + 0x177c]
jb 0x1000e2de
mov ecx, dword [0x1003f068]
mov eax, dword [eax + 0x18]
mov dword [ecx + 0x177c], eax
mov ecx, dword [ebp - 0xc4]
mov eax, dword [ecx + 0x24]
mov dword [ecx + 0x1c], eax
mov eax, dword [ecx + 0x28]
mov dword [ecx + 0x20], eax
test edx, 0x100040
jne 0x1000e334
mov eax, dword [ebp - 0xc4]
movss xmm1, dword [eax + 0x24]
movss xmm0, dword [eax + 0x28]
maxss xmm1, dword [edi + 0x13cc]
maxss xmm0, dword [edi + 0x13d0]
movss dword [eax + 0x24], xmm1
movss dword [eax + 0x28], xmm0
mov ecx, dword [ebp - 0xc4]
cmp byte [ecx + 0x73], 0
jne 0x1000e33a
mov eax, dword [ecx + 0x24]
mov dword [ecx + 0x1c], eax
mov eax, dword [ecx + 0x28]
mov dword [ecx + 0x20], eax
mov ecx, dword [ebp - 0xc4]
mov eax, edx
and eax, 0x100000
mov dword [ebp - 0xdc], eax
je 0x1000e367
lea eax, [ebp - 0xc4]
push eax
lea ecx, [esi + 0x108]
call fcn.100187d0
mov ecx, dword [ebp - 0xc4]
mov edx, dword [ebp - 0xd4]
mov eax, edx
and eax, 0x2100000
cmp eax, 0x100000
jne 0x1000e3ce
mov eax, dword [esi + 0xa4]
mov dword [ecx + 0xc], eax
mov eax, dword [esi + 0xa8]
mov dword [ecx + 0x10], eax
mov ecx, dword [ebp - 0xc4]
mov eax, dword [ecx + 0xc]
mov dword [ecx + 0x14], eax
mov eax, dword [ecx + 0x10]
mov dword [ecx + 0x18], eax
mov ecx, dword [ebp - 0xc4]
mov eax, dword [ebp - 0x100]
mov eax, dword [eax]
mov dword [ecx + 0x24], eax
mov eax, dword [ebp - 0x100]
mov eax, dword [eax + 4]
mov dword [ecx + 0x28], eax
mov ecx, dword [ebp - 0xc4]
mov eax, dword [ecx + 0x24]
mov dword [ecx + 0x1c], eax
mov eax, dword [ecx + 0x28]
mov dword [ecx + 0x20], eax
mov ecx, dword [ebp - 0xc4]
cmp byte [ecx + 0xa0], 0
je 0x1000e3e4
cmp dword [ecx + 0x90], 0
jne 0x1000e3e4
mov al, 1
jmp 0x1000e3e6
xor al, al
mov dword [ebp - 0x100], edx
and dword [ebp - 0x100], 0x4000000
je 0x1000e40e
cmp byte [ebp - 0xcd], 0
jne 0x1000e40e
cmp dword [ebp - 0xf8], 1
jne 0x1000e40e
mov ah, 1
jmp 0x1000e410
xor ah, ah
or al, ah
movss xmm3, dword [0x1003b4a8]
je 0x1000e4cd
movss xmm0, dword [ecx + 0x24]
lea eax, [ebp - 0x48]
movss dword [ebp - 0x108], xmm0
movss xmm0, dword [ecx + 0x28]
lea ecx, [ebp - 0xa0]
push eax
movss dword [ebp - 0xf8], xmm0
call fcn.10007a10
movss xmm1, dword [ebp - 0xf8]
lea edx, [ebp - 0xf4]
mulss xmm1, dword [0x1003b480]
mov ecx, dword [0x1003f068]
movss xmm0, dword [eax + 4]
movss xmm2, dword [edi + 0x1428]
subss xmm0, xmm1
movss xmm1, dword [eax]
push 0
maxss xmm2, xmm0
movss xmm0, dword [ebp - 0x108]
mulss xmm0, dword [0x1003b480]
subss xmm1, xmm0
movss dword [ebp - 0xf0], xmm2
movss xmm0, dword [edi + 0x1424]
maxss xmm0, xmm1
movss dword [ebp - 0xf4], xmm0
mov eax, dword [ecx + 0x1730]
mov byte [eax + 0x72], 1
mov ecx, dword [ecx + 0x1730]
call fcn.10010a30
add esp, 4
jmp 0x1000e612
test edx, 0x8000000
je 0x1000e58d
cmp byte [esi + 0x102], 0
je 0x1000e531
mov ecx, esi
mov dword [ebp - 0x50], 0xff7fffff
call fcn.10008480
addss xmm0, dword [esi + 0x18]
mov ecx, esi
mov dword [ebp - 0x48], 0x7f7fffff
movss dword [ebp - 0x4c], xmm0
call fcn.10008480
addss xmm0, dword [esi + 0x18]
mov ecx, esi
movss dword [ebp - 0xf8], xmm0
call fcn.10008520
addss xmm0, dword [ebp - 0xf8]
mov ecx, dword [ebp - 0xc4]
movss dword [ebp - 0x44], xmm0
jmp 0x1000e56c
movss xmm1, dword [edi + 0x13ec]
movaps xmm0, xmm1
mov dword [ebp - 0x4c], 0xff7fffff
addss xmm0, dword [esi + 0x14]
mov dword [ebp - 0x44], 0x7f7fffff
movss dword [ebp - 0x50], xmm0
movss xmm0, dword [esi + 0x1c]
addss xmm0, dword [esi + 0x14]
subss xmm0, xmm1
subss xmm0, dword [esi + 0x64]
movss dword [ebp - 0x48], xmm0
movups xmm0, xmmword [ebp - 0x50]
lea eax, [ebp - 0x30]
push eax
lea eax, [ecx + 0x8c]
push eax
lea eax, [ecx + 0x1c]
lea edx, [ecx + 0xc]
movups xmmword [ebp - 0x30], xmm0
lea ecx, [ebp - 0xfc]
jmp 0x1000e5f8
cmp dword [ebp - 0xf0], 0
je 0x1000e618
mov al, byte [ebp - 0xcd]
test al, al
jne 0x1000e61e
cmp dword [ebp - 0xf8], 1
jne 0x1000e61e
movss xmm1, dword [ecx + 0xc]
lea edx, [ecx + 0xc]
movss xmm2, dword [ecx + 0x10]
lea eax, [ebp - 0x70]
movaps xmm0, xmm1
addss xmm1, xmm3
subss xmm0, xmm3
push eax
lea eax, [ecx + 0x8c]
push eax
lea eax, [ecx + 0x1c]
movss dword [ebp - 0x68], xmm1
movss dword [ebp - 0x70], xmm0
lea ecx, [ebp - 0x10c]
movaps xmm0, xmm2
addss xmm2, xmm3
subss xmm0, xmm3
movss dword [ebp - 0x64], xmm2
movss dword [ebp - 0x6c], xmm0
push eax
call fcn.1000d2b0
mov edx, dword [ebp - 0xc4]
add esp, 0xc
mov ecx, dword [eax]
mov dword [edx + 0xc], ecx
mov eax, dword [eax + 4]
mov dword [edx + 0x10], eax
mov ecx, dword [ebp - 0xc4]
mov al, byte [ebp - 0xcd]
cmp dword [ebp - 0xc8], 0
je 0x1000e6f0
test al, al
jne 0x1000e6f0
movss xmm2, dword [edi + 0xcc]
lea eax, [ebp - 0x80]
movss xmm1, dword [edi + 0xd0]
lea edx, [edi + 0xcc]
movaps xmm0, xmm2
subss xmm0, dword [0x1003b500]
addss xmm2, dword [0x1003b51c]
push eax
lea eax, [ecx + 0x8c]
push eax
movss dword [ebp - 0x80], xmm0
lea eax, [ecx + 0x1c]
movaps xmm0, xmm1
movss dword [ebp - 0x78], xmm2
subss xmm0, dword [0x1003b4ec]
addss xmm1, dword [0x1003b51c]
push eax
lea ecx, [ebp - 0xcc]
movss dword [ebp - 0x7c], xmm0
movss dword [ebp - 0x74], xmm1
call fcn.1000d2b0
mov edx, dword [ebp - 0xc4]
add esp, 0xc
mov ecx, dword [eax]
mov dword [edx + 0xc], ecx
mov eax, dword [eax + 4]
mov dword [edx + 0x10], eax
mov ecx, dword [ebp - 0xc4]
cmp dword [ecx + 0x8c], 0xffffffff
jne 0x1000e6f0
movss xmm2, dword [edi + 0xcc]
movss xmm1, dword [edi + 0xd0]
addss xmm2, dword [0x1003b4c0]
addss xmm1, dword [0x1003b4c0]
movss dword [ecx + 0xc], xmm2
movss dword [ecx + 0x10], xmm1
mov ecx, dword [ebp - 0xc4]
mov edx, dword [0x1003f068]
mov eax, dword [edx + 0x1758]
cmp eax, dword [ecx + 0x44]
jne 0x1000e70e
mov byte [edx + 0x1760], 1
mov ecx, dword [ebp - 0xc4]
mov eax, dword [edi + 0x1758]
cmp eax, dword [ecx + 0x44]
jne 0x1000e7aa
cmp byte [edi + 0xd4], 0
je 0x1000e77d
mov eax, dword [ebp - 0xd4]
test al, 4
jne 0x1000e770
movss xmm0, dword [edi + 0x328]
addss xmm0, dword [ecx + 0xc]
movss dword [ecx + 0xc], xmm0
movss xmm0, dword [edi + 0x32c]
addss xmm0, dword [ecx + 0x10]
movss dword [ecx + 0x10], xmm0
test eax, 0x100
jne 0x1000e770
xorps xmm1, xmm1
comiss xmm1, dword [edx + 0x177c]
jb 0x1000e770
mov eax, dword [edx + 0x18]
mov dword [edx + 0x177c], eax
mov ecx, dword [edi + 0x176c]
call fcn.10010400
jmp 0x1000e7a4
mov dword [edx + 0x1758], 0
mov word [edx + 0x1761], 1
mov dword [edx + 0x1764], 0
mov dword [edi + 0x176c], 0
mov ecx, dword [ebp - 0xc4]
mov edx, dword [ebp - 0xd4]
test edx, 0x1100000
jne 0x1000e8a3
cmp byte [ebp - 0xcd], 0
jne 0x1000e8a3
cmp dword [ecx + 0x80], 0
jg 0x1000e8a3
cmp dword [ecx + 0x84], 0
jg 0x1000e8a3
movss xmm0, dword [edi + 0xc]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x1000e8a3
movss xmm0, dword [edi + 0x10]
comiss xmm0, xmm1
jbe 0x1000e8a3
lea eax, [edi + 0x1424]
push eax
lea edx, [edi + 0x141c]
lea ecx, [ebp - 0xcc]
call fcn.10007950
mov eax, dword [ebp - 0xc4]
add esp, 4
mov edx, dword [ebp - 0xd4]
movss xmm2, dword [eax + 0x1c]
addss xmm2, dword [eax + 0xc]
movss xmm1, dword [eax + 0x10]
addss xmm1, dword [eax + 0x20]
maxss xmm2, dword [ebp - 0xcc]
maxss xmm1, dword [ebp - 0xc8]
subss xmm2, dword [eax + 0x1c]
subss xmm1, dword [eax + 0x20]
movss dword [eax + 0xc], xmm2
movss dword [eax + 0x10], xmm1
movss xmm0, dword [edi + 0xc]
mov eax, dword [ebp - 0xc4]
subss xmm0, dword [ebp - 0xcc]
movss xmm2, dword [eax + 0xc]
movss xmm1, dword [eax + 0x10]
minss xmm2, xmm0
movss xmm0, dword [edi + 0x10]
subss xmm0, dword [ebp - 0xc8]
movss dword [eax + 0xc], xmm2
minss xmm1, xmm0
movss dword [eax + 0x10], xmm1
mov ecx, dword [ebp - 0xc4]
cvttss2si eax, dword [ecx + 0xc]
xorps xmm3, xmm3
movd xmm1, eax
cvttss2si eax, dword [ecx + 0x10]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ecx + 0x14], xmm1
movss dword [ecx + 0x18], xmm0
mov ecx, dword [ebp - 0xc4]
movss xmm0, dword [ecx + 0x1c]
comiss xmm0, xmm3
jbe 0x1000e8ea
test edx, 0x1000040
jne 0x1000e8ea
mulss xmm0, dword [0x1003b490]
jmp 0x1000e8fa
movss xmm0, dword [edi + 0x16f8]
mulss xmm0, dword [0x1003b500]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ecx + 0x1f4], xmm0
mov esi, dword [ebp - 0xc4]
mov eax, dword [esi + 0x278]
cmp eax, 0x7fffffff
je 0x1000e934
mov ecx, dword [esi + 0x268]
cmp ecx, 0xffffffff
je 0x1000e934
inc eax
add eax, ecx
inc ecx
cdq
idiv ecx
jmp 0x1000e939
mov edx, 0x7fffffff
mov dword [esi + 0x270], edx
mov esi, dword [ebp - 0xc4]
mov eax, dword [esi + 0x27c]
cmp eax, 0x7fffffff
je 0x1000e966
mov ecx, dword [esi + 0x26c]
cmp ecx, 0xffffffff
je 0x1000e966
inc eax
add eax, ecx
inc ecx
cdq
idiv ecx
jmp 0x1000e96b
mov edx, 0x7fffffff
mov dword [esi + 0x274], edx
mov eax, dword [ebp - 0xc4]
movss xmm1, dword [0x1003b568]
mov dword [eax + 0x26c], 0xffffffff
mov eax, dword [ebp - 0xc4]
mov dword [eax + 0x268], 0xffffffff
mov eax, dword [ebp - 0xc4]
mov dword [eax + 0x27c], 0x7fffffff
mov eax, dword [ebp - 0xc4]
mov dword [eax + 0x278], 0x7fffffff
mov esi, dword [ebp - 0xc4]
movss xmm0, dword [esi + 0x50]
comiss xmm1, xmm0
jbe 0x1000e9e1
movss dword [esi + 0x48], xmm0
mov eax, dword [ebp - 0xc4]
mov dword [eax + 0x50], 0x7f7fffff
mov esi, dword [ebp - 0xc4]
comiss xmm1, dword [esi + 0x54]
jbe 0x1000ea4a
movss xmm0, dword [esi + 0x5c]
mov ecx, esi
movss dword [ebp - 0xc8], xmm0
call fcn.10008480
movss xmm1, dword [0x1003b4a8]
xorps xmm3, xmm3
subss xmm1, dword [ebp - 0xc8]
mov eax, dword [ebp - 0xc4]
mulss xmm0, xmm1
movss xmm1, dword [esi + 0x54]
subss xmm1, xmm0
movss xmm0, dword [eax + 0x28]
mulss xmm0, dword [ebp - 0xc8]
subss xmm1, xmm0
movss dword [eax + 0x4c], xmm1
mov eax, dword [ebp - 0xc4]
mov dword [eax + 0x54], 0x7f7fffff
mov esi, dword [ebp - 0xc4]
movss xmm1, dword [esi + 0x48]
movss xmm0, dword [esi + 0x4c]
maxss xmm1, xmm3
maxss xmm0, xmm3
movss dword [esi + 0x48], xmm1
movss dword [esi + 0x4c], xmm0
mov ecx, dword [ebp - 0xc4]
cmp byte [ecx + 0x73], 0
jne 0x1000eac6
cmp byte [ecx + 0x74], 0
jne 0x1000eac6
movss xmm1, dword [ecx + 0x2c]
xorps xmm0, xmm0
subss xmm1, dword [ecx + 0x24]
movss xmm2, dword [ecx + 0x48]
addss xmm1, dword [ecx + 0x64]
maxss xmm0, xmm1
movss xmm1, dword [ecx + 0x30]
subss xmm1, dword [ecx + 0x28]
minss xmm2, xmm0
xorps xmm0, xmm0
addss xmm1, dword [ecx + 0x68]
maxss xmm0, xmm1
movss xmm1, dword [ecx + 0x4c]
movss dword [ecx + 0x48], xmm2
minss xmm1, xmm0
movss dword [ecx + 0x4c], xmm1
mov ecx, dword [ebp - 0xc4]
cmp dword [ebp - 0x100], 0
je 0x1000eb5c
call fcn.1000ca50
mov ecx, dword [ebp - 0xc4]
cmp ecx, eax
jne 0x1000eb5c
mov eax, dword [0x1003f068]
lea ecx, [ebp - 0x30]
movss xmm0, dword [edi + 0x1878]
movups xmm1, xmmword [eax + 0x16e4]
mulss xmm0, dword [eax + 0x13c0]
movups xmmword [ebp - 0x30], xmm1
shufps xmm1, xmm1, 0xff
mulss xmm0, xmm1
movss dword [ebp - 0x24], xmm0
call fcn.100091c0
mov ecx, dword [ebp - 0xc4]
mov dword [ebp - 0xc8], eax
mov esi, dword [ecx + 0x258]
cmp eax, 0x1000000
jb 0x1000eb5c
push 4
push 6
mov ecx, esi
call fcn.1001e360
push dword [ebp - 0xc8]
lea eax, [ebp - 0x98]
mov ecx, esi
push eax
lea eax, [ebp - 0xa0]
push eax
call fcn.1001e3c0
mov ecx, dword [ebp - 0xc4]
lea eax, [ebp - 0x40]
push eax
call fcn.100084b0
cmp dword [ebp - 0xdc], 0
je 0x1000eb78
movss xmm0, dword [edi + 0x13dc]
jmp 0x1000eb80
movss xmm0, dword [edi + 0x13d4]
mov ecx, dword [ebp - 0xc4]
movss dword [ebp - 0xf0], xmm0
cmp byte [ecx + 0x73], 0
je 0x1000ec0a
movss xmm0, dword [ebp - 0x38]
lea ecx, [ebp - 0x30]
mov eax, dword [0x1003f068]
movss dword [ebp - 0x18], xmm0
movss xmm0, dword [ebp - 0x34]
movss dword [ebp - 0x14], xmm0
movss xmm0, dword [ebp - 0x40]
movss dword [ebp - 0x20], xmm0
movss xmm0, dword [ebp - 0x3c]
movss dword [ebp - 0x1c], xmm0
movups xmm0, xmmword [eax + 0x14e4]
movups xmmword [ebp - 0x30], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [eax + 0x13c0]
movss dword [ebp - 0x24], xmm0
call fcn.100091c0
push dword [ebp - 0x14]
movss xmm2, dword [ebp - 0xf0]
mov dl, 1
push dword [ebp - 0x18]
mov ecx, eax
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
call fcn.1000bfd0
add esp, 0x10
jmp 0x1000f5a3
movss xmm1, dword [edi + 0x16f8]
movss xmm2, dword [0x1003b4a8]
movaps xmm3, xmm1
mulss xmm1, dword [0x1003b468]
addss xmm0, xmm2
mov eax, dword [ebp - 0xd4]
mulss xmm3, dword [0x1003b4ac]
mov dword [ebp - 0xf8], 0
addss xmm0, xmm1
maxss xmm3, xmm0
movss dword [ebp - 0x108], xmm3
test al, 0x40
jne 0x1000ee6e
cmp dword [ecx + 0x80], 0
jg 0x1000ee6e
cmp dword [ecx + 0x84], 0
jg 0x1000ee6e
test al, 2
jne 0x1000ee6e
lea eax, [ebp - 0x138]
push eax
call fcn.10008440
movss xmm1, dword [ebp - 0x108]
mulss xmm1, dword [0x1003b498]
mov ecx, dword [ebp - 0xc4]
movss xmm3, dword [eax + 8]
movss xmm4, dword [eax + 0xc]
movaps xmm2, xmm3
movaps xmm0, xmm4
movss dword [ebp - 0x78], xmm3
subss xmm2, xmm1
movss dword [ebp - 0x74], xmm4
subss xmm0, xmm1
push 0
push str.RESIZE
movss dword [ebp - 0x80], xmm2
movss dword [ebp - 0x7c], xmm0
call fcn.10009b20
push 0x10
lea ecx, [ebp - 5]
mov edx, eax
push ecx
lea ecx, [ebp - 6]
push ecx
lea ecx, [ebp - 0x80]
call fcn.10011200
add esp, 0xc
cmp byte [ebp - 5], 0
je 0x1000ecf9
mov ecx, 0x21
jmp 0x1000ed04
xor ecx, ecx
cmp byte [ebp - 6], cl
setne cl
add ecx, 0x1f
mov eax, dword [0x1003f068]
add ecx, ecx
movups xmm1, xmmword [eax + ecx*8 + 0x1434]
lea ecx, [ebp - 0x30]
movss xmm0, dword [eax + 0x13c0]
movups xmmword [ebp - 0x30], xmm1
shufps xmm1, xmm1, 0xff
mulss xmm0, xmm1
movss dword [ebp - 0x24], xmm0
call fcn.100091c0
cmp byte [ebp - 6], 0
mov dl, byte [ebp - 5]
mov dword [ebp - 0xf8], eax
jne 0x1000ed47
test dl, dl
je 0x1000ed51
mov dword [edi + 0x1954], 6
mov ecx, dword [ebp - 0xc4]
cmp dword [edi + 0x1744], ecx
jne 0x1000edd0
test dl, dl
je 0x1000ee35
cmp byte [edi + 0x374], 0
je 0x1000edd0
test dword [ebp - 0xd4], 0x100
movss xmm0, dword [ebp - 0x11c]
movss dword [ecx + 0x24], xmm0
movss xmm0, dword [ebp - 0xec]
movss dword [ecx + 0x28], xmm0
mov ecx, dword [0x1003f068]
jne 0x1000edb1
xorps xmm1, xmm1
comiss xmm1, dword [ecx + 0x177c]
jb 0x1000edb1
mov eax, dword [ecx + 0x18]
mov dword [ecx + 0x177c], eax
mov dword [ecx + 0x1758], 0
mov word [ecx + 0x1761], 1
mov dword [ecx + 0x1764], 0
jmp 0x1000ee2f
test dl, dl
je 0x1000ee35
test dword [ebp - 0xd4], 0x100
movss xmm1, dword [edi + 0x328]
movss xmm0, dword [edi + 0x32c]
addss xmm1, dword [ecx + 0x24]
addss xmm0, dword [ecx + 0x28]
maxss xmm1, dword [edi + 0x13cc]
maxss xmm0, dword [edi + 0x13d0]
movss dword [ecx + 0x24], xmm1
movss dword [ecx + 0x28], xmm0
jne 0x1000ee2f
mov ecx, dword [0x1003f068]
xorps xmm1, xmm1
comiss xmm1, dword [ecx + 0x177c]
jb 0x1000ee2f
mov eax, dword [ecx + 0x18]
mov dword [ecx + 0x177c], eax
mov ecx, dword [ebp - 0xc4]
mov eax, dword [ecx + 0x24]
mov dword [ecx + 0x1c], eax
mov eax, dword [ecx + 0x28]
mov dword [ecx + 0x20], eax
lea eax, [ebp - 0x138]
mov ecx, dword [ebp - 0xc4]
push eax
call fcn.100084b0
mov ecx, dword [ebp - 0xc4]
movss xmm2, dword [0x1003b4a8]
movups xmm0, xmmword [eax]
mov eax, dword [ebp - 0xd4]
movups xmmword [ebp - 0x40], xmm0
test eax, 0x4000
jne 0x1000ee96
mov edx, dword [ebp - 0xd8]
movss xmm1, dword [ecx + 0x20]
movss xmm0, dword [ecx + 0x30]
addss xmm1, dword [edx]
comiss xmm0, xmm1
jbe 0x1000ee92
test al, 8
je 0x1000ee96
xor dl, dl
jmp 0x1000ee98
mov dl, 1
mov byte [ecx + 0x61], dl
mov ecx, dword [ebp - 0xc4]
test eax, 0x8000
jne 0x1000eee9
cmp byte [ecx + 0x61], 0
je 0x1000eeb8
movss xmm0, dword [edi + 0x140c]
jmp 0x1000eebb
xorps xmm0, xmm0
movss xmm1, dword [ecx + 0x1c]
subss xmm1, xmm0
movss xmm0, dword [ecx + 0x2c]
subss xmm1, dword [ecx + 0x3c]
comiss xmm0, xmm1
jbe 0x1000eee5
and eax, 0x808
cmp eax, 0x800
mov eax, dword [ebp - 0xd4]
je 0x1000eee9
xor dl, dl
jmp 0x1000eeeb
mov dl, 1
mov byte [ecx + 0x60], dl
xorps xmm1, xmm1
mov ecx, dword [ebp - 0xc4]
cmp byte [ecx + 0x60], 0
je 0x1000ef07
movss xmm3, dword [edi + 0x140c]
jmp 0x1000ef0a
xorps xmm3, xmm3
cmp byte [ecx + 0x61], 0
je 0x1000ef1a
movss xmm0, dword [edi + 0x140c]
jmp 0x1000ef1d
xorps xmm0, xmm0
and eax, 0x80
movss dword [ecx + 0x64], xmm0
movss dword [ecx + 0x68], xmm3
mov dword [ebp - 0xc8], eax
jne 0x1000ef37
xorps xmm2, xmm2
mov eax, dword [ebp - 0xc4]
mov esi, dword [ebp - 0xd4]
movss dword [eax + 0x6c], xmm2
mov eax, 2
test esi, 0x800000
je 0x1000ef5c
mov eax, 0x12
jmp 0x1000ef77
cmp dword [ebp - 0x1c], 0
jne 0x1000ef72
cmp dword [ebp - 0xdc], 0
je 0x1000ef77
mov eax, 3
jmp 0x1000ef77
mov eax, 4
add eax, eax
movups xmm0, xmmword [edi + eax*8 + 0x1434]
movups xmmword [ebp - 0x50], xmm0
movss xmm0, dword [ebp - 0x14]
comiss xmm0, xmm1
jae 0x1000ef94
movss xmm0, dword [ebp - 0x44]
mulss xmm0, dword [edi + 0x13c0]
comiss xmm0, xmm1
movss dword [ebp - 0x44], xmm0
jbe 0x1000f061
mov eax, dword [ebp - 0xc4]
lea ecx, [ebp - 0x50]
movss xmm1, dword [eax + 0x20]
movss xmm0, dword [eax + 0x1c]
addss xmm1, dword [eax + 0x18]
addss xmm0, dword [eax + 0x14]
movss dword [ebp - 0x14], xmm1
movss dword [ebp - 0x18], xmm0
call fcn.100091c0
mov ecx, dword [ebp - 0xc4]
mov edx, eax
mov dword [ebp - 0xdc], edx
lea eax, [ecx + 0x14]
mov dword [ebp - 0xd8], eax
mov eax, dword [ecx + 0x258]
mov dword [ebp - 0xec], eax
cmp edx, 0x1000000
jb 0x1000f061
movss xmm0, dword [ebp - 0xf0]
comiss xmm0, dword [0x1003b444]
jbe 0x1000f03b
push 0xf
lea ecx, [ebp - 0x18]
movaps xmm3, xmm0
push ecx
push dword [ebp - 0xd8]
mov ecx, eax
call fcn.1001f7c0
push dword [ebp - 0xdc]
mov ecx, dword [ebp - 0xec]
call fcn.10007820
jmp 0x1000f061
push 4
push 6
mov ecx, eax
call fcn.1001e360
push dword [ebp - 0xdc]
mov ecx, dword [ebp - 0xec]
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0xd8]
call fcn.1001e3c0
mov eax, esi
and eax, 1
mov dword [ebp - 0xec], eax
jne 0x1000f166
mov ecx, dword [edi + 0x1740]
test ecx, ecx
je 0x1000f095
mov eax, dword [ebp - 0xc4]
mov eax, dword [eax + 0x260]
cmp eax, dword [ecx + 0x260]
mov ecx, 0x134
je 0x1000f09a
mov ecx, 0x114
mov eax, dword [0x1003f068]
movups xmm0, xmmword [eax + ecx + 0x13c0]
lea ecx, [ebp - 0x30]
movups xmmword [ebp - 0x30], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [eax + 0x13c0]
movss dword [ebp - 0x24], xmm0
call fcn.100091c0
mov ecx, dword [ebp - 0x38]
mov edx, eax
mov dword [ebp - 0x20], ecx
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 0x120], ecx
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x11c], ecx
mov ecx, dword [ebp - 0xc4]
mov dword [ebp - 0xdc], edx
mov eax, dword [ecx + 0x258]
mov dword [ebp - 0xd8], eax
cmp edx, 0x1000000
jb 0x1000f166
movss xmm0, dword [ebp - 0xf0]
comiss xmm0, dword [0x1003b444]
jbe 0x1000f13f
push 3
lea ecx, [ebp - 0x20]
movaps xmm3, xmm0
push ecx
lea ecx, [ebp - 0x120]
push ecx
mov ecx, eax
call fcn.1001f7c0
push dword [ebp - 0xdc]
mov ecx, dword [ebp - 0xd8]
call fcn.10007820
jmp 0x1000f166
push 4
push 6
mov ecx, eax
call fcn.1001e360
push dword [ebp - 0xdc]
mov ecx, dword [ebp - 0xd8]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x120]
push eax
call fcn.1001e3c0
test esi, 0x400
je 0x1000f267
mov ecx, dword [ebp - 0xc4]
lea eax, [ebp - 0x70]
push eax
call fcn.10008560
cmp dword [ebp - 0xec], 0
je 0x1000f194
movss xmm0, dword [ebp - 0xf0]
jmp 0x1000f197
xorps xmm0, xmm0
mov eax, dword [0x1003f068]
lea ecx, [ebp - 0x60]
movss dword [ebp - 0xdc], xmm0
movups xmm1, xmmword [eax + 0x1504]
movss xmm0, dword [eax + 0x13c0]
movups xmmword [ebp - 0x60], xmm1
shufps xmm1, xmm1, 0xff
mulss xmm0, xmm1
movss dword [ebp - 0x54], xmm0
call fcn.100091c0
mov ecx, dword [ebp - 0x68]
mov dword [ebp - 0x104], ecx
mov ecx, dword [ebp - 0x64]
mov dword [ebp - 0x100], ecx
mov ecx, dword [ebp - 0x70]
mov dword [ebp - 0xe8], ecx
mov ecx, dword [ebp - 0x6c]
mov dword [ebp - 0xe4], ecx
mov ecx, dword [ebp - 0xc4]
mov dword [ebp - 0xd8], eax
mov esi, dword [ecx + 0x258]
cmp eax, 0x1000000
jb 0x1000f267
movss xmm0, dword [ebp - 0xdc]
mov ecx, esi
comiss xmm0, dword [0x1003b444]
jbe 0x1000f243
push 3
lea eax, [ebp - 0x104]
movaps xmm3, xmm0
push eax
lea eax, [ebp - 0xe8]
push eax
call fcn.1001f7c0
push dword [ebp - 0xd8]
mov ecx, esi
call fcn.10007820
jmp 0x1000f267
push 4
push 6
call fcn.1001e360
push dword [ebp - 0xd8]
lea eax, [ebp - 0x104]
mov ecx, esi
push eax
lea eax, [ebp - 0xe8]
push eax
call fcn.1001e3c0
mov ecx, dword [ebp - 0xc4]
cmp byte [ecx + 0x60], 0
je 0x1000f27a
mov dl, 1
call fcn.1000fda0
mov ecx, dword [ebp - 0xc4]
cmp byte [ecx + 0x61], 0
je 0x1000f28d
xor dl, dl
call fcn.1000fda0
test byte [ebp - 0xd4], 2
jne 0x1000f3b5
mov ecx, dword [ebp - 0xc4]
lea eax, [ebp - 0xb0]
push eax
call fcn.10008440
movss xmm3, dword [ebp - 0x108]
xorps xmm3, xmmword [0x1003bf40]
mov ecx, dword [ebp - 0xc4]
movss xmm0, dword [eax + 8]
movss xmm2, dword [eax + 0xc]
lea eax, [ebp - 0x10]
movss dword [ebp - 0xd8], xmm0
addss xmm0, xmm3
movss xmm1, dword [ecx + 0x6c]
push eax
movss dword [ebp - 0xdc], xmm2
movss dword [ebp - 0x108], xmm3
movss dword [ebp - 0x10], xmm0
movaps xmm0, xmm2
subss xmm0, xmm1
movss dword [ebp - 0xc], xmm0
mov ecx, dword [ecx + 0x258]
add ecx, 0x4c
call fcn.100189b0
mov ecx, dword [ebp - 0xc4]
lea eax, [ebp - 0x10]
movss xmm0, dword [ebp - 0xd8]
push eax
subss xmm0, dword [ecx + 0x6c]
movss dword [ebp - 0x10], xmm0
movss xmm0, dword [ebp - 0xdc]
addss xmm0, dword [ebp - 0x108]
movss dword [ebp - 0xc], xmm0
mov ecx, dword [ecx + 0x258]
add ecx, 0x4c
call fcn.100189b0
movss xmm3, dword [ebp - 0xf0]
lea eax, [ebp - 0x10]
movss xmm2, dword [ebp - 0xdc]
movss xmm1, dword [ebp - 0xd8]
subss xmm2, xmm3
mov ecx, dword [ebp - 0xc4]
subss xmm1, xmm3
push 3
push 0
push eax
subss xmm2, dword [ecx + 0x6c]
subss xmm1, dword [ecx + 0x6c]
movss dword [ebp - 0xc], xmm2
movaps xmm2, xmm3
movss dword [ebp - 0x10], xmm1
mov ecx, dword [ecx + 0x258]
call fcn.1001f460
mov ecx, dword [ebp - 0xc4]
push dword [ebp - 0xf8]
mov ecx, dword [ecx + 0x258]
call fcn.10007820
cmp dword [ebp - 0xc8], 0
je 0x1000f5a3
mov eax, dword [0x1003f068]
lea ecx, [ebp - 0xb0]
movups xmm1, xmmword [eax + 0x1494]
movss xmm0, dword [eax + 0x13c0]
movups xmmword [ebp - 0xb0], xmm1
shufps xmm1, xmm1, 0xff
mulss xmm0, xmm1
movss dword [ebp - 0xa4], xmm0
call fcn.100091c0
mov ecx, dword [ebp - 0xc4]
movss xmm3, dword [0x1003b4a8]
push ecx
mov dword [esp], 0x3f800000
movss xmm1, dword [ecx + 0x18]
movss xmm0, dword [ecx + 0x1c]
addss xmm0, dword [ecx + 0x14]
movss xmm2, dword [ecx + 0x20]
addss xmm2, xmm1
push 0xf
push ecx
addss xmm0, xmm3
addss xmm2, xmm3
movss dword [ebp - 0x10], xmm0
movss dword [ebp - 0xc], xmm2
movss xmm0, dword [ecx + 0x14]
movss xmm1, dword [ecx + 0x18]
addss xmm0, xmm3
addss xmm1, xmm3
movss dword [ebp - 0xe8], xmm0
movss xmm0, dword [ebp - 0xf0]
movss dword [esp], xmm0
push eax
lea eax, [ebp - 0x10]
movss dword [ebp - 0xe4], xmm1
mov ecx, dword [ecx + 0x258]
push eax
lea eax, [ebp - 0xe8]
push eax
call fcn.1001fc60
mov eax, dword [0x1003f068]
lea ecx, [ebp - 0x30]
movups xmm1, xmmword [eax + 0x1484]
movss xmm0, dword [eax + 0x13c0]
movups xmmword [ebp - 0x30], xmm1
shufps xmm1, xmm1, 0xff
mulss xmm0, xmm1
movss dword [ebp - 0x24], xmm0
call fcn.100091c0
mov ecx, dword [ebp - 0xc4]
lea edx, [ecx + 0x14]
push ecx
mov dword [esp], 0x3f800000
movss xmm0, dword [ecx + 0x1c]
addss xmm0, dword [edx]
movss xmm1, dword [ecx + 0x20]
addss xmm1, dword [edx + 4]
push 0xf
push ecx
movss dword [ebp - 0x10], xmm0
movss xmm0, dword [ebp - 0xf0]
movss dword [esp], xmm0
push eax
lea eax, [ebp - 0x10]
movss dword [ebp - 0xc], xmm1
mov ecx, dword [ecx + 0x258]
push eax
push edx
call fcn.1001fc60
cmp dword [ebp - 0xec], 0
jne 0x1000f5a3
mov eax, dword [0x1003f068]
lea ecx, [ebp - 0x60]
movups xmm1, xmmword [eax + 0x1484]
movss xmm0, dword [eax + 0x13c0]
movups xmmword [ebp - 0x60], xmm1
shufps xmm1, xmm1, 0xff
mulss xmm0, xmm1
movss dword [ebp - 0x54], xmm0
call fcn.100091c0
movss xmm0, dword [ebp - 0x38]
xorps xmm2, xmm2
subss xmm0, dword [0x1003b4a8]
movss xmm1, dword [ebp - 0x34]
push ecx
mov ecx, dword [ebp - 0xc4]
mov dword [esp], 0x3f800000
movss dword [ebp - 0x10], xmm0
movaps xmm0, xmm1
subss xmm0, xmm2
push eax
addss xmm1, xmm2
lea eax, [ebp - 0x10]
push eax
movss dword [ebp - 0xc], xmm0
lea eax, [ebp - 0xe8]
movss xmm0, dword [ebp - 0x40]
addss xmm0, dword [0x1003b4a8]
movss dword [ebp - 0xe4], xmm1
push eax
movss dword [ebp - 0xe8], xmm0
mov ecx, dword [ecx + 0x258]
call fcn.1001fb10
mov ecx, dword [ebp - 0xc4]
xorps xmm1, xmm1
movss xmm0, dword [ecx + 0x3c]
addss xmm0, xmm1
subss xmm0, dword [ecx + 0x48]
movss dword [ecx + 0x18c], xmm0
mov eax, dword [ebp - 0xc4]
mov dword [eax + 0x190], 0
mov ecx, dword [ebp - 0xc4]
movss xmm0, dword [ecx + 0x18c]
movss dword [ebp - 0x1c], xmm0
movss xmm0, dword [ecx + 0x190]
movss dword [ebp - 0xc8], xmm0
call fcn.10008480
mov ecx, dword [ebp - 0xc4]
movss dword [ebp - 0x14], xmm0
call fcn.10008520
mov eax, dword [ebp - 0xc4]
movss xmm1, dword [ebp - 0x14]
movss xmm2, dword [ebp - 0x1c]
addss xmm1, xmm0
addss xmm2, dword [ebp - 0xc8]
movss xmm0, dword [eax + 0x40]
push 0
addss xmm0, xmm1
addss xmm2, dword [eax + 0x14]
subss xmm0, dword [eax + 0x4c]
addss xmm0, dword [eax + 0x18]
movss dword [eax + 0xb4], xmm2
movss dword [eax + 0xb8], xmm0
mov ecx, dword [ebp - 0xc4]
mov eax, dword [ecx + 0xb4]
mov dword [ecx + 0xa4], eax
mov eax, dword [ecx + 0xb8]
mov dword [ecx + 0xa8], eax
mov ecx, dword [ebp - 0xc4]
mov eax, dword [ecx + 0xa4]
mov dword [ecx + 0xac], eax
mov eax, dword [ecx + 0xa8]
mov dword [ecx + 0xb0], eax
mov ecx, dword [ebp - 0xc4]
mov eax, dword [ecx + 0xb4]
mov dword [ecx + 0xbc], eax
mov eax, dword [ecx + 0xb8]
mov dword [ecx + 0xc0], eax
mov eax, dword [ebp - 0xc4]
mov dword [eax + 0xdc], 0
mov eax, dword [ebp - 0xc4]
mov dword [eax + 0xd4], 0
mov eax, dword [ebp - 0xc4]
mov dword [eax + 0xe0], 0
mov eax, dword [ebp - 0xc4]
mov dword [eax + 0xd8], 0
mov eax, dword [ebp - 0xc4]
mov byte [eax + 0x102], 0
mov eax, dword [ebp - 0xc4]
movss xmm0, dword [eax + 0x3c]
maxss xmm0, dword [edi + 0x13ec]
movss dword [eax + 0x104], xmm0
mov eax, dword [ebp - 0xc4]
movss xmm0, dword [eax + 0xa8]
subss xmm0, dword [0x1003b564]
movss dword [eax + 0xe4], xmm0
mov ecx, dword [ebp - 0xc4]
lea ecx, [ecx + 0x108]
call fcn.10018890
mov eax, dword [ebp - 0xc4]
push 0
mov dword [eax + 0x118], 0
mov ecx, dword [ebp - 0xc4]
mov eax, dword [ecx + 0x1f4]
mov dword [ecx + 0x124], eax
mov eax, dword [ebp - 0xc4]
mov dword [eax + 0x128], 0xbf800000
mov eax, dword [ebp - 0xc4]
mov byte [eax + 0x12c], 1
mov eax, dword [ebp - 0xc4]
mov byte [eax + 0x12d], 0
mov ecx, dword [ebp - 0xc4]
lea ecx, [ecx + 0x130]
call fcn.100188d0
mov ecx, dword [ebp - 0xc4]
push 0
lea ecx, [ecx + 0x13c]
call fcn.100188d0
mov ecx, dword [ebp - 0xc4]
push 0
lea ecx, [ecx + 0x148]
call fcn.100185b0
mov ecx, dword [ebp - 0xc4]
push 0
lea ecx, [ecx + 0x154]
call fcn.100185b0
mov eax, dword [ebp - 0xc4]
push 0
mov dword [eax + 0x16c], 0xfffffffe
mov eax, dword [ebp - 0xc4]
mov dword [eax + 0x194], 0
mov eax, dword [ebp - 0xc4]
mov dword [eax + 0x198], 1
mov ecx, dword [ebp - 0xc4]
mov eax, dword [ecx + 0xa8]
mov dword [ecx + 0x1a4], eax
mov ecx, dword [ebp - 0xc4]
mov eax, dword [ecx + 0x1a4]
mov dword [ecx + 0x1ac], eax
mov ecx, dword [ebp - 0xc4]
mov eax, dword [ecx + 0x1ac]
mov dword [ecx + 0x1a8], eax
mov eax, dword [ebp - 0xc4]
mov dword [eax + 0xe8], 0
mov ecx, dword [ebp - 0xc4]
lea eax, [ecx + 0x248]
mov dword [ecx + 0x114], eax
mov ecx, dword [ebp - 0xc4]
lea ecx, [ecx + 0x160]
call fcn.10018510
mov al, byte [ebp - 0xce]
mov ecx, dword [ebp - 0xc4]
xor al, 1
movss xmm2, dword [edi + 0x13ec]
movzx eax, al
push eax
push 3
lea ecx, [ecx + 0x1f8]
call fcn.10009510
mov ecx, dword [ebp - 0xc4]
mov eax, dword [ecx + 0x80]
test eax, eax
jle 0x1000f8b2
dec eax
mov dword [ecx + 0x80], eax
mov ecx, dword [ebp - 0xc4]
mov eax, dword [ecx + 0x84]
test eax, eax
jle 0x1000f8c9
dec eax
mov dword [ecx + 0x84], eax
test byte [ebp - 0xd4], 1
jne 0x1000fa85
mov esi, dword [ebp - 0x110]
test esi, esi
je 0x1000f8e7
mov ecx, esi
call fcn.10011630
mov edx, dword [ebp - 0x124]
push ecx
mov dword [esp], 0xbf800000
lea ecx, [ebp - 0xcc]
push 1
push 0
call fcn.1000c4a0
mov eax, dword [ebp - 0xd4]
add esp, 0xc
test al, 0x20
jne 0x1000f96c
mov eax, dword [ebp - 0xc4]
mov dl, 1
movss xmm1, dword [0x1003b4a8]
movss xmm0, dword [eax + 0x14]
addss xmm0, dword [edi + 0x13e0]
cmp byte [eax + 0x73], 0
sete cl
movss dword [ebp - 0xe8], xmm0
movss xmm0, dword [eax + 0x18]
addss xmm0, dword [edi + 0x13e4]
movss dword [ebp - 0xe4], xmm0
push dword [ebp - 0xe4]
push dword [ebp - 0xe8]
call fcn.1000c0f0
mov eax, dword [ebp - 0xd4]
add esp, 8
mov ecx, dword [ebp - 0xc4]
movss xmm1, dword [edi + 0x13e0]
movss xmm2, dword [edi + 0x13e4]
addss xmm2, xmm2
movss xmm0, dword [ecx + 0x18]
movss xmm4, dword [ecx + 0x14]
addss xmm4, xmm1
addss xmm0, dword [edi + 0x13e4]
addss xmm2, dword [ebp - 0xc8]
movss dword [ebp - 0x20], xmm4
movss dword [ebp - 0x1c], xmm0
movss xmm3, dword [ecx + 0x1c]
subss xmm3, xmm1
addss xmm2, dword [ecx + 0x18]
addss xmm3, dword [ecx + 0x14]
movss dword [ebp - 0x14], xmm2
movss dword [ebp - 0x18], xmm3
test esi, esi
je 0x1000f9e1
movss xmm1, dword [ebp - 0x34]
subss xmm1, dword [ebp - 0x3c]
subss xmm1, dword [0x1003b4d0]
movss xmm0, dword [ecx + 0x14]
mov edx, eax
addss xmm0, dword [ecx + 0x1c]
mov ecx, dword [edi + 0x13d8]
shr edx, 5
not dl
movss dword [ebp - 0xc], xmm2
and dl, 1
test esi, esi
movzx esi, dl
subss xmm0, xmm1
setne al
mov dword [ebp - 0x110], esi
and cl, 2
movzx eax, al
mov ecx, esi
cmove ecx, eax
movss dword [ebp - 0x10], xmm0
test dl, dl
je 0x1000fa3f
movss xmm0, dword [edi + 0x13f4]
addss xmm0, dword [edi + 0x16f8]
addss xmm0, xmm4
movss dword [ebp - 0x20], xmm0
test cl, cl
je 0x1000fa5c
movss xmm0, dword [edi + 0x13f4]
addss xmm0, dword [edi + 0x16f8]
subss xmm3, xmm0
movss dword [ebp - 0x18], xmm3
lea eax, [ebp - 0x10]
push eax
push 0
push dword [edi + 0x13d8]
lea eax, [ebp - 0xcc]
push eax
push 0
push dword [ebp - 0x124]
lea edx, [ebp - 0x18]
lea ecx, [ebp - 0x20]
call fcn.1000bd80
add esp, 0x18
mov ecx, dword [ebp - 0xc4]
lea eax, [ebp - 0x138]
push eax
call fcn.10008440
mov ecx, dword [ebp - 0xc4]
movups xmm0, xmmword [eax]
movups xmmword [ecx + 0x1e0], xmm0
mov ecx, dword [ebp - 0xc4]
lea eax, [ecx + 0x1d0]
add ecx, 0x1e0
push eax
call fcn.10007a80
mov esi, dword [ebp - 0x118]
mov ecx, dword [ebp - 0xc4]
lea eax, [ebp - 0xc0]
push eax
call fcn.100084b0
mov ecx, dword [ebp - 0xc4]
movaps xmm0, xmmword [0x1003c120]
movss xmm1, dword [ecx + 0x6c]
movups xmmword [ebp - 0x90], xmm0
movss xmm0, dword [ecx + 0x3c]
mulss xmm0, dword [0x1003b480]
movss dword [ebp - 0x110], xmm1
maxss xmm1, xmm0
movss xmm0, dword [ebp - 0xc0]
addss xmm0, dword [0x1003b480]
addss xmm1, xmm0
movss dword [ebp - 0x90], xmm1
call fcn.10008520
addss xmm0, dword [ebp - 0xb4]
movss xmm3, dword [ebp - 0x110]
lea edx, [ebp - 0x88]
mov eax, dword [ebp - 0xc4]
lea ecx, [ebp - 0x90]
push 1
addss xmm0, dword [0x1003b480]
addss xmm0, xmm3
movss dword [ebp - 0x8c], xmm0
movaps xmm0, xmm3
movss xmm2, dword [eax + 0x1c]
addss xmm2, dword [eax + 0x14]
movss xmm1, dword [eax + 0x3c]
mulss xmm1, dword [0x1003b480]
subss xmm2, dword [eax + 0x64]
maxss xmm0, xmm1
subss xmm2, xmm0
movss dword [ebp - 0x88], xmm2
movss xmm0, dword [eax + 0x20]
addss xmm0, dword [eax + 0x18]
subss xmm0, xmm3
subss xmm0, dword [eax + 0x68]
movss dword [ebp - 0x84], xmm0
call fcn.1000b390
add esp, 4
cmp dword [ebp - 0x128], esi
je 0x1000fbc6
mov eax, dword [ebp - 0xc4]
mov byte [eax + 0x72], 0
mov eax, dword [ebp - 0xc4]
mov ecx, dword [ebp - 0xd4]
inc dword [eax + 0x78]
test ecx, 0x100000
je 0x1000fc54
mov eax, dword [ebp - 0x114]
test eax, eax
je 0x1000fbf1
cmp byte [eax + 0x73], 0
je 0x1000fbf1
mov dl, 1
jmp 0x1000fbf3
xor dl, dl
mov eax, dword [ebp - 0xc4]
mov byte [eax + 0x73], dl
mov eax, dword [ebp - 0xc4]
test cl, 0x40
jne 0x1000fc4a
cmp dword [eax + 0x80], 0
jg 0x1000fc4a
cmp dword [eax + 0x84], 0
jg 0x1000fc4a
movss xmm0, dword [eax + 0x1e0]
comiss xmm0, dword [eax + 0x1e8]
jae 0x1000fc3f
movss xmm0, dword [eax + 0x1e4]
comiss xmm0, dword [eax + 0x1ec]
jae 0x1000fc3f
xor cl, cl
jmp 0x1000fc41
mov cl, 1
or byte [eax + 0x73], cl
mov eax, dword [ebp - 0xc4]
cmp byte [eax + 0x73], 0
je 0x1000fc5a
mov byte [eax + 0x70], 0
mov eax, dword [ebp - 0xc4]
xorps xmm0, xmm0
comiss xmm0, dword [edi + 0x13c0]
jb 0x1000fc70
mov byte [eax + 0x70], 0
mov eax, dword [ebp - 0xc4]
cmp byte [eax + 0x73], 0
jne 0x1000fc7c
cmp byte [eax + 0x70], 0
jne 0x1000fc92
cmp dword [eax + 0x80], 0
jg 0x1000fc92
cmp dword [eax + 0x84], 0
jg 0x1000fc92
mov cl, 1
jmp 0x1000fc94
xor cl, cl
mov byte [eax + 0x74], cl
mov eax, dword [ebp - 0xc4]
mov ecx, dword [ebp - 4]
pop edi
pop esi
cmp byte [eax + 0x74], 0
sete al
xor ecx, ebp
call fcn.10031912
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret