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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x150
mov eax, dword [0x100870c0]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0xb0], edx
mov ecx, dword [0x1008794c]
mov dword [ebp - 0x144], edi
mov eax, dword [ecx + 0x1930]
mov byte [eax + 0x78], 1
mov ebx, dword [ecx + 0x1930]
cmp byte [ebx + 0x7b], 0
jne 0x1002bd2f
mov ecx, dword [ebp + 0x10]
mov eax, ecx
mov esi, dword [fcn.1003e26c]
and eax, 0x100080
mov dword [ebp - 0xc8], esi
cmp eax, 0x100080
jne 0x1002b898
push 0xc64
push 0x100831f8
push 0x10083520
call esi
mov ecx, dword [ebp + 0x10]
add esp, 0xc
mov eax, ecx
and eax, 0x440
cmp eax, 0x440
jne 0x1002b8bd
push 0xc65
push 0x100831f8
push 0x100835d8
call esi
mov ecx, dword [ebp + 0x10]
add esp, 0xc
mov eax, dword [0x1008794c]
mov dword [ebp - 0x98], eax
mov eax, ecx
shr eax, 0x14
and eax, 0xffffff01
mov dword [ebp - 0xb4], eax
mov eax, ecx
shr eax, 0xe
not al
and eax, 0xffffff01
mov dword [ebp - 0xd0], eax
mov eax, ecx
shr eax, 0xf
and eax, 0xffffff01
mov dword [ebp - 0x138], eax
mov eax, ecx
shr eax, 0x10
not al
and eax, 0xffffff01
mov dword [ebp - 0xcc], eax
mov eax, ecx
shr eax, 0x12
and al, 1
mov dword [ebp - 0x110], eax
je 0x1002b92f
push 0xc71
push 0x100831f8
push 0x100836a0
call esi
add esp, 0xc
cmp byte [ebp - 0xb4], 0
je 0x1002b93d
call fcn.1000f600
cmp dword [ebx + 0x1d0], 0
jg 0x1002b95a
push 0x4f9
push 0x1007fa10
push 0x10081dc4
call esi
add esp, 0xc
mov ecx, dword [ebx + 0x1d0]
xor edx, edx
mov eax, dword [ebx + 0x1d8]
push dword [eax + ecx*4 - 4]
mov ecx, edi
call fcn.10003e90
mov esi, dword [0x1008794c]
add esp, 4
mov dword [ebp - 0xbc], eax
cmp dword [esi + 0x194c], eax
jne 0x1002b990
mov dword [esi + 0x1954], eax
cmp dword [esi + 0x1950], eax
jne 0x1002b99f
mov byte [esi + 0x195f], 1
mov ecx, edi
cmp edi, 0xffffffff
jae 0x1002b9bc
mov dl, byte [ecx]
test dl, dl
je 0x1002b9bc
cmp dl, 0x23
jne 0x1002b9b6
cmp byte [ecx + 1], dl
je 0x1002b9bc
inc ecx
cmp ecx, 0xffffffff
jb 0x1002b9a6
movss xmm2, dword [esi + 0x185c]
mov eax, dword [ebp - 0x144]
movss xmm0, dword [0x10083ec8]
mov edi, dword [esi + 0x1858]
movss dword [ebp - 0xa0], xmm2
movss dword [ebp - 0x12c], xmm0
cmp eax, ecx
jne 0x1002b9f9
xorps xmm5, xmm5
movss dword [ebp - 0x140], xmm5
jmp 0x1002ba65
movss xmm3, dword [0x10083eb8]
push ecx
push ecx
push eax
push ecx
lea eax, [ebp - 0x10c]
mov dword [esp], 0xbf800000
push eax
mov ecx, edi
call fcn.10022170
movss xmm1, dword [ebp - 0x10c]
xorps xmm5, xmm5
comiss xmm1, xmm5
jbe 0x1002ba3a
movss xmm0, dword [ebp - 0xa0]
divss xmm0, dword [edi]
subss xmm1, xmm0
addss xmm1, dword [0x10083d74]
movss xmm2, dword [ebp - 0x108]
movss dword [ebp - 0xa0], xmm2
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0x140], xmm0
cmp byte [ebp - 0xb4], 0
je 0x1002ba8b
mov eax, dword [0x1008794c]
movss xmm2, dword [eax + 0x185c]
mulss xmm2, dword [0x10083e48]
movss dword [ebp - 0xa0], xmm2
mov eax, dword [0x1008794c]
mov esi, dword [eax + 0x1930]
movss xmm0, dword [esi + 0x170]
comiss xmm5, xmm0
movss dword [ebp - 0xc0], xmm0
jbe 0x1002bb0f
movss xmm1, dword [esi + 0xc8]
subss xmm1, dword [esi + 0xc]
mov ecx, dword [esi + 0x1cc]
movss dword [ebp - 0x124], xmm1
movss xmm1, dword [esi + 0x224]
subss xmm1, dword [esi + 0xc]
test ecx, ecx
je 0x1002baf3
mov ecx, dword [ecx + 0xc]
inc ecx
call fcn.10013dd0
movss xmm2, dword [ebp - 0xa0]
movaps xmm1, xmm0
subss xmm1, dword [esi + 0x3c]
xorps xmm5, xmm5
subss xmm1, dword [ebp - 0x124]
movss xmm0, dword [0x10083d78]
addss xmm1, dword [ebp - 0xc0]
maxss xmm0, xmm1
cvttss2si eax, xmm0
mov esi, dword [0x1008794c]
xorps xmm1, xmm1
xorps xmm0, xmm0
movd xmm4, eax
mov eax, dword [ebp - 0x98]
cvtdq2ps xmm4, xmm4
movss xmm3, dword [eax + 0x1548]
mov eax, dword [ebp + 0xc]
addss xmm3, xmm3
movss dword [ebp - 0xc0], xmm4
movss xmm6, dword [eax]
comiss xmm5, xmm6
movss xmm7, dword [eax + 4]
addss xmm3, xmm2
movss dword [ebp - 0xdc], xmm6
movss dword [ebp - 0x11c], xmm7
movss dword [ebp - 0x124], xmm3
ja 0x1002bb72
comiss xmm5, xmm7
jbe 0x1002bbb6
lea ecx, [ebp - 0x28]
call fcn.1000f390
mov ecx, dword [esi + 0x1930]
xorps xmm5, xmm5
movss xmm3, dword [ebp - 0x124]
movss xmm4, dword [ebp - 0xc0]
movss xmm0, dword [eax]
movss xmm1, dword [ecx + 0x10]
addss xmm0, dword [ecx + 0xc]
addss xmm1, dword [eax + 4]
movss xmm6, dword [ebp - 0xdc]
movss xmm7, dword [ebp - 0x11c]
comiss xmm5, xmm6
movss xmm2, dword [0x10083e38]
jb 0x1002bbfa
ucomiss xmm6, xmm5
lahf
test ah, 0x44
jp 0x1002bbd9
movaps xmm6, xmm4
movss dword [ebp - 0xdc], xmm6
jmp 0x1002bbfa
mov eax, dword [esi + 0x1930]
subss xmm0, dword [eax + 0xc8]
maxss xmm0, xmm2
addss xmm0, xmm6
movaps xmm6, xmm0
movss dword [ebp - 0xdc], xmm0
comiss xmm5, xmm7
jb 0x1002bc36
ucomiss xmm7, xmm5
lahf
test ah, 0x44
jp 0x1002bc15
movaps xmm7, xmm3
movss dword [ebp - 0x11c], xmm7
jmp 0x1002bc36
mov eax, dword [esi + 0x1930]
subss xmm1, dword [eax + 0xcc]
maxss xmm1, xmm2
addss xmm1, xmm7
movaps xmm7, xmm1
movss dword [ebp - 0x11c], xmm1
movss xmm4, dword [ebx + 0xcc]
movaps xmm0, xmm6
movss xmm3, dword [ebx + 0xc8]
movaps xmm1, xmm4
movss xmm2, dword [ebp - 0x140]
addss xmm0, xmm3
comiss xmm2, xmm5
mov esi, dword [ebp - 0x98]
addss xmm1, xmm7
movss dword [ebp - 0x30], xmm3
movss dword [ebp - 0x2c], xmm4
movss dword [ebp - 0x28], xmm0
movss dword [ebp - 0x24], xmm1
jbe 0x1002bc85
addss xmm2, dword [esi + 0x155c]
jmp 0x1002bc88
xorps xmm2, xmm2
cmp byte [ebp - 0xb4], 0
addss xmm0, xmm2
addss xmm1, xmm5
movss dword [ebp - 0x18], xmm3
movss dword [ebp - 0x14], xmm4
mov dword [ebp - 0xd4], ebx
movss dword [ebp - 0x10], xmm0
movss dword [ebp - 0xc], xmm1
je 0x1002bd81
mov edx, dword [ebp - 0xbc]
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x18]
call fcn.10006d20
movss xmm0, dword [ebp - 0x28]
lea edx, [ebp - 0x10c]
movss xmm1, dword [ebp - 0x30]
mov ecx, dword [ebp - 0xbc]
movss dword [ebp - 0x124], xmm0
subss xmm0, xmm1
movss dword [ebp - 0x128], xmm1
movss xmm1, dword [ebp - 0x2c]
movss dword [ebp - 0x104], xmm1
movss dword [ebp - 0x10c], xmm0
movss xmm0, dword [ebp - 0x24]
subss xmm0, xmm1
movss dword [ebp - 0x108], xmm0
call fcn.10009b80
add esp, 4
test al, al
jne 0x1002bd42
call fcn.100099a0
call fcn.1000f760
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.1003bcd0
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x1008794c]
movss xmm0, dword [ebp - 0xdc]
mov eax, dword [ecx + 0x1930]
mov byte [eax + 0x78], 1
mov edi, dword [ecx + 0x1930]
mov dword [ebp - 0xd4], edi
subss xmm0, dword [edi + 0x6c]
mov eax, dword [edi + 0x13c]
or dword [edi + 0x144], eax
movss dword [ebp - 0xdc], xmm0
jmp 0x1002bdf0
subss xmm1, xmm4
subss xmm0, xmm3
lea ecx, [ebp - 0x10c]
movss dword [ebp - 0x108], xmm1
movss xmm1, dword [esi + 0x1548]
movss dword [ebp - 0x10c], xmm0
call fcn.10006bb0
mov edx, dword [ebp - 0xbc]
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x18]
call fcn.10006d20
add esp, 4
test al, al
je 0x1002bd2f
movss xmm0, dword [ebp - 0x28]
movss dword [ebp - 0x124], xmm0
movss xmm0, dword [ebp - 0x2c]
movss dword [ebp - 0x104], xmm0
movss xmm0, dword [ebp - 0x30]
movss dword [ebp - 0x128], xmm0
mov edx, dword [ebp - 0xbc]
lea ecx, [ebp - 0x30]
call fcn.10006f60
mov byte [ebp - 0xaa], al
test al, al
je 0x1002be12
mov dword [esi + 0x1be0], 1
cmp byte [ebp - 0x138], 0
je 0x1002bed5
mov edx, dword [esi + 0x1858]
cmp dword [edx + 0x28], 0x2a
jg 0x1002be30
mov edi, dword [edx + 0x34]
jmp 0x1002be4f
mov eax, dword [edx + 0x30]
mov ecx, 0xffff
movzx eax, word [eax + 0x54]
cmp ax, cx
jne 0x1002be46
mov edi, dword [edx + 0x34]
jmp 0x1002be4f
lea ecx, [eax + eax*4]
mov eax, dword [edx + 0x18]
lea edi, [eax + ecx*8]
mov eax, dword [edx]
add esi, 0x2ad8
cmp dword [esi + 0x10], 0
mov dword [esi], eax
mov eax, dword [edx + 4]
mov edx, dword [ebp - 0x98]
mov dword [esi + 4], eax
mov eax, dword [edx + 0x1858]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [esi + 8], ecx
mov dword [esi + 0xc], eax
mov eax, dword [edx + 0x1858]
mov eax, dword [eax + 0x48]
mov dword [esi + 0x48], eax
mov eax, dword [edx + 0x1858]
mov eax, dword [eax + 0x4c]
mov dword [esi + 0x4c], eax
mov eax, dword [edx + 0x1858]
mov eax, dword [eax + 0x44]
mov dword [esi + 0x44], eax
mov dword [esi + 0x34], edi
mov eax, dword [edi + 4]
mov dword [esi + 0x38], eax
jne 0x1002beb6
cmp dword [esi + 0x1c], 0
jne 0x1002beb6
cmp dword [esi + 0x28], 0
je 0x1002bece
push 0xca0
push 0x100831f8
push 0x100836c0
call dword [ebp - 0xc8]
add esp, 0xc
mov ecx, esi
call fcn.1000ee80
test dword [ebp + 0x10], 0x440
mov ecx, ebx
mov esi, dword [ebp - 0x98]
mov edx, dword [ebp - 0xbc]
sete al
movzx eax, al
push eax
lea edi, [esi + 0x1c68]
mov dword [ebp - 0xfc], edi
call fcn.100070c0
add esp, 4
mov byte [ebp - 0xb5], al
test al, al
je 0x1002bfcf
mov ecx, dword [ebx + 0x338]
cmp ecx, dword [ebx + 0x340]
jne 0x1002bfcf
mov byte [ebp - 0x9c], 1
mov byte [ebp - 0xab], 0
cmp byte [ebp - 0xaa], 0
je 0x1002bf4c
cmp byte [esi + 0x3f0], 0
mov byte [ebp - 0x9b], 1
jne 0x1002bf53
mov byte [ebp - 0x9b], 0
cmp byte [ebp - 0xb4], 0
je 0x1002bff1
cmp dword [esi + 0x194c], 0
jne 0x1002bff1
mov eax, dword [ebp - 0xbc]
cmp dword [edi], eax
jne 0x1002bff1
mov eax, dword [ebp - 0xd4]
cmp dword [eax + 0x1d0], 0
jg 0x1002bfa4
push 0x4f9
push 0x1007fa10
push 0x10081dc4
call dword [ebp - 0xc8]
mov eax, dword [ebp - 0xd4]
add esp, 0xc
mov ecx, dword [eax + 0x1d0]
xor edx, edx
mov eax, dword [eax + 0x1d8]
push dword [eax + ecx*4 - 4]
mov ecx, 0x10083284
call fcn.10003e90
add esp, 4
cmp dword [esi + 0x1950], eax
jne 0x1002bff1
mov cl, 1
jmp 0x1002bff3
mov byte [ebp - 0x9c], 0
test al, al
je 0x1002bf2c
mov byte [ebp - 0xab], 1
mov byte [ebp - 0x9c], 0
jmp 0x1002bf33
xor cl, cl
mov eax, dword [esi + 0x194c]
mov edx, dword [ebp - 0xbc]
cmp eax, edx
je 0x1002c02d
cmp dword [esi + 0x1a44], edx
je 0x1002c01c
cmp dword [esi + 0x1a38], edx
jne 0x1002c02d
cmp dword [esi + 0x1a54], 3
jne 0x1002c02d
mov dl, 1
mov byte [ebp - 0xa9], 0
mov byte [ebp - 0x99], dl
jmp 0x1002c044
xor dl, dl
mov byte [ebp - 0xa9], 0
mov byte [ebp - 0x99], dl
cmp eax, dword [ebp - 0xbc]
je 0x1002c05e
test byte [ebp + 0x10], 0x10
jne 0x1002c04e
test dl, dl
je 0x1002c05e
cmp byte [ebp - 0xb4], 0
mov byte [ebp - 0xa8], 1
je 0x1002c065
mov byte [ebp - 0xa8], 0
cmp byte [ebp - 0xb5], 0
jne 0x1002c099
cmp byte [ebp - 0x9b], 0
jne 0x1002c099
test cl, cl
jne 0x1002c099
test dl, dl
jne 0x1002c099
mov ebx, esi
cmp byte [ebx + 0x3f0], dl
je 0x1002c2a8
mov byte [ebp - 0xa9], 1
jmp 0x1002c2a8
mov eax, dword [ebp - 0xbc]
cmp dword [esi + 0x194c], eax
je 0x1002c26b
mov esi, dword [ebp - 0xb0]
mov eax, dword [edi + 0x2c]
mov dword [ebp - 0xc0], eax
lea ecx, [esi + 1]
nop dword [eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x1002c0c0
mov edx, dword [ebp + 8]
sub esi, ecx
mov eax, dword [edi + 8]
inc edx
mov dword [ebp - 0xa4], edx
cmp edx, eax
jle 0x1002c10b
test eax, eax
je 0x1002c0f0
cdq
sub eax, edx
mov edx, dword [ebp - 0xa4]
mov ecx, eax
sar ecx, 1
add ecx, dword [edi + 8]
jmp 0x1002c0f5
mov ecx, 8
cmp ecx, edx
mov eax, edx
cmovg eax, ecx
lea ecx, [edi + 4]
push eax
call fcn.10016140
mov edx, dword [ebp - 0xa4]
inc esi
mov dword [edi + 4], edx
push esi
lea ecx, [edi + 0x10]
call fcn.10016010
push esi
mov esi, dword [ebp - 0xb0]
push esi
push dword [edi + 0x18]
call fcn.1003cba2
mov edx, dword [ebp + 8]
lea eax, [ebp - 0xa4]
add esp, 0xc
mov dword [ebp - 0xa4], 0
push eax
push ecx
mov ecx, dword [edi + 0xc]
push esi
call fcn.100043f0
mov ecx, dword [ebp - 0xa4]
mov edx, eax
mov eax, dword [ebp - 0xbc]
sub ecx, esi
add esp, 0xc
mov dword [edi + 0x2c], edx
mov dword [edi + 0x28], ecx
mov dword [edi + 0xe5c], 0xbe99999a
cmp dword [edi], eax
jne 0x1002c1a2
cmp dword [ebp - 0xc0], edx
jne 0x1002c1a2
cmp dword [edi + 0x38], edx
mov ecx, edx
cmovl ecx, dword [edi + 0x38]
cmp dword [edi + 0x3c], edx
mov dword [edi + 0x38], ecx
mov ecx, edx
cmovl ecx, dword [edi + 0x3c]
cmp dword [edi + 0x40], edx
mov dword [edi + 0x3c], ecx
cmovl edx, dword [edi + 0x40]
mov ecx, dword [ebp - 0xb4]
mov dword [edi + 0x40], edx
jmp 0x1002c21a
mov ecx, dword [ebp - 0xb4]
mov dword [edi], eax
mov al, cl
mov dword [edi + 0x34], 0
xor al, 1
mov dword [edi + 0xe4e], 0x630000
mov dword [edi + 0xe54], 0
mov dword [edi + 0xe58], 0x3e7
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x44], 0x10000
mov dword [edi + 0x4c], 0
mov byte [edi + 0x48], al
test cl, cl
jne 0x1002c21a
mov eax, dword [ebp - 0xa8]
mov edx, 1
cmp byte [ebp - 0x9c], cl
movzx eax, al
cmovne eax, edx
mov dword [ebp - 0xa8], eax
test dword [ebp + 0x10], 0x2000
je 0x1002c227
mov byte [edi + 0x44], 1
test cl, cl
jne 0x1002c26b
cmp byte [ebp - 0xab], cl
jne 0x1002c249
cmp byte [ebp - 0x9b], cl
je 0x1002c26b
mov eax, dword [ebp - 0x98]
cmp byte [eax + 0xf0], cl
je 0x1002c26b
mov ecx, dword [ebp - 0xbc]
mov edx, ebx
mov byte [ebp - 0xa8], 1
call fcn.10006a10
call fcn.10006ad0
mov ecx, ebx
call fcn.1000ea00
jmp 0x1002c28d
mov ecx, dword [ebp - 0xbc]
mov edx, ebx
call fcn.10006a10
call fcn.10006ad0
mov ecx, ebx
call fcn.1000ea00
cmp byte [ebp - 0xb4], 0
jne 0x1002c2a2
test byte [ebp + 0x10], 0x80
mov ebx, dword [ebp - 0x98]
jne 0x1002c2a8
or dword [ebx + 0x1964], 0xc
jmp 0x1002c2a8
mov ebx, dword [ebp - 0x98]
mov ecx, dword [ebp - 0xbc]
movss xmm0, dword [0x10083d44]
mov byte [ebp - 0xb5], 0
mov byte [ebp - 0xab], 0
mov dword [ebp - 0x100], 0
cmp dword [ebx + 0x194c], ecx
jne 0x1002c6b2
cmp byte [ebp - 0xd0], 0
jne 0x1002c396
cmp byte [ebx + 0x195c], 0
jne 0x1002c396
mov ebx, dword [ebp + 8]
lea eax, [edi + 4]
mov esi, dword [eax + 4]
inc ebx
cmp ebx, esi
jle 0x1002c333
test esi, esi
je 0x1002c313
mov eax, esi
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
add ecx, esi
jmp 0x1002c318
mov ecx, 8
cmp ecx, ebx
mov eax, ebx
cmovg eax, ecx
lea ecx, [edi + 4]
push eax
call fcn.10016140
movss xmm0, dword [0x10083d44]
lea eax, [edi + 4]
mov dword [eax], ebx
mov edx, ebx
lea eax, [ebp - 0xa4]
mov dword [ebp - 0xa4], 0
push eax
push ecx
push dword [ebp - 0xb0]
mov ecx, dword [edi + 0xc]
call fcn.100043f0
mov ecx, dword [ebp - 0xa4]
mov esi, eax
sub ecx, dword [ebp - 0xb0]
add esp, 0xc
cmp dword [edi + 0x38], esi
mov edx, esi
mov ebx, dword [ebp - 0x98]
cmovl edx, dword [edi + 0x38]
cmp dword [edi + 0x3c], esi
mov dword [edi + 0x28], ecx
mov ecx, esi
cmovl ecx, dword [edi + 0x3c]
cmp dword [edi + 0x40], esi
mov dword [edi + 0x2c], esi
cmovl esi, dword [edi + 0x40]
mov dword [edi + 0x38], edx
mov dword [edi + 0x3c], ecx
mov dword [edi + 0x40], esi
mov eax, dword [edi + 0x28]
mov edx, dword [ebp + 0x10]
mov dword [edi + 0xe64], edx
mov dword [edi + 0xe68], 0
mov dword [edi + 0xe6c], 0
mov dword [ebp - 0x100], eax
mov eax, dword [ebp + 8]
mov dword [edi + 0x30], eax
cmp byte [ebx + 0xe0], 0
mov dword [ebx + 0x2db4], 1
sete al
cmp byte [ebp - 0xb4], 0
mov byte [ebx + 0x195d], al
movss xmm7, dword [ebx + 0xd8]
subss xmm7, dword [ebp - 0x128]
subss xmm7, dword [ebx + 0x1544]
addss xmm7, dword [edi + 0x34]
je 0x1002c422
mov eax, dword [ebp - 0xd4]
movss xmm2, dword [ebx + 0xdc]
subss xmm2, dword [eax + 0xcc]
subss xmm2, dword [ebx + 0x1548]
jmp 0x1002c42e
movss xmm2, dword [ebx + 0x185c]
mulss xmm2, xmm0
cmp byte [ebp - 0xa8], 0
mov bl, byte [ebx + 0xbd]
jne 0x1002c5b6
mov al, byte [ebp - 0xaa]
mov ecx, dword [ebp - 0x98]
test al, al
je 0x1002c461
test bl, bl
jne 0x1002c4c6
cmp byte [ecx + 0x3f5], bl
jne 0x1002c5b6
cmp byte [ecx + 0x3f0], 0
je 0x1002c51d
cmp byte [edi + 0xe61], 0
jne 0x1002c51d
test al, al
je 0x1002c5d1
cmp byte [edi + 0x48], 0
je 0x1002c49d
push 0
mov edx, edi
lea ecx, [ebp - 0x20]
call fcn.10029b20
movss xmm2, dword [ebp - 0x14]
add esp, 4
movaps xmm1, xmm7
mov ecx, edi
call fcn.10029e90
mov edx, dword [ebp + 0x10]
mov dword [edi + 0x38], eax
mov dword [edi + 0x3c], eax
mov dword [edi + 0x40], eax
mov byte [edi + 0x47], 0
mov dword [edi + 0xe5c], 0xbe99999a
jmp 0x1002c5d1
cmp byte [ecx + 0x3f5], 0
je 0x1002c461
push 0x1000c
lea edx, [edi + 0x38]
mov ecx, edi
call fcn.1002a2f0
add esp, 4
mov byte [edi + 0xe60], 1
lea edx, [edi + 0x38]
mov dword [edi + 0xe5c], 0xbe99999a
mov ecx, edi
push 0x3000d
call fcn.1002a2f0
mov edx, dword [ebp + 0x10]
add esp, 4
mov byte [edi + 0xe60], 1
mov dword [edi + 0xe5c], 0xbe99999a
jmp 0x1002c5d1
mov eax, dword [ebp - 0x98]
cmp byte [eax + 0xe0], 0
je 0x1002c5d7
cmp byte [edi + 0xe61], 0
jne 0x1002c5e0
movss xmm0, dword [eax + 0x38c]
xorps xmm1, xmm1
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x1002c568
mov eax, dword [ebp - 0x98]
movss xmm0, dword [eax + 0x390]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x1002c5d1
cmp byte [edi + 0x48], 0
je 0x1002c582
push 0
mov edx, edi
lea ecx, [ebp - 0x20]
call fcn.10029b20
movss xmm2, dword [ebp - 0x14]
add esp, 4
mov eax, dword [edi + 0x3c]
cmp eax, dword [edi + 0x40]
jne 0x1002c590
mov eax, dword [edi + 0x38]
mov dword [edi + 0x3c], eax
movaps xmm1, xmm7
mov ecx, edi
call fcn.10029e90
mov edx, dword [ebp + 0x10]
mov dword [edi + 0x40], eax
mov dword [edi + 0x38], eax
mov dword [edi + 0xe5c], 0xbe99999a
mov byte [edi + 0xe60], 1
jmp 0x1002c5d1
mov eax, dword [edi + 0x2c]
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], eax
mov dword [edi + 0x38], eax
mov byte [edi + 0x47], 0
mov byte [edi + 0xe61], 1
mov eax, dword [ebp - 0x98]
cmp byte [edi + 0xe61], 0
je 0x1002c5f0
cmp byte [eax + 0xe0], 0
jne 0x1002c5f0
mov byte [edi + 0xe61], 0
cmp word [eax + 0x2f4], 0
je 0x1002c6ac
cmp byte [eax + 0xf0], 0
je 0x1002c610
cmp byte [eax + 0xf2], 0
je 0x1002c68a
test bl, bl
je 0x1002c61d
cmp byte [eax + 0xf3], 0
jne 0x1002c68a
cmp byte [ebp - 0xd0], 0
je 0x1002c68a
cmp byte [ebp - 0x99], 0
jne 0x1002c68a
xor ebx, ebx
lea esi, [eax + 0x2f4]
movzx eax, word [esi]
test ax, ax
je 0x1002c68a
sub esp, 8
mov dword [ebp - 0xa4], eax
lea ecx, [ebp - 0xa4]
call fcn.1002b650
add esp, 8
test al, al
je 0x1002c67e
push dword [ebp - 0xa4]
lea edx, [edi + 0x38]
mov ecx, edi
call fcn.1002a2f0
add esp, 4
mov byte [edi + 0xe60], 1
mov dword [edi + 0xe5c], 0xbe99999a
mov edx, dword [ebp + 0x10]
inc ebx
add esi, 2
cmp ebx, 0x11
jl 0x1002c637
mov ebx, dword [ebp - 0x98]
xorps xmm0, xmm0
movups xmmword [ebx + 0x2f4], xmm0
movups xmmword [ebx + 0x304], xmm0
mov word [ebx + 0x314], 0
jmp 0x1002c6b2
mov ebx, dword [ebp - 0x98]
mov edx, dword [ebp - 0xbc]
xor cl, cl
mov byte [ebp - 0x91], cl
cmp dword [ebx + 0x194c], edx
jne 0x1002d335
cmp byte [ebx + 0x195c], cl
jne 0x1002d335
cmp byte [ebp - 0xa9], cl
jne 0x1002d335
mov cl, byte [ebx + 0xf1]
xor esi, esi
mov dl, byte [ebx + 0xbd]
test cl, cl
mov eax, 0x20000
mov byte [ebp - 0xd7], dl
cmovne esi, eax
test dl, dl
je 0x1002c759
cmp byte [ebx + 0xf3], 0
je 0x1002c71f
cmp byte [ebx + 0xf0], 0
jne 0x1002c71f
mov eax, 1
jmp 0x1002c721
xor eax, eax
test eax, eax
jne 0x1002c76b
xor ah, ah
mov byte [ebp - 0x9b], ah
test dl, dl
je 0x1002c77c
cmp byte [ebx + 0xf3], 0
je 0x1002c77c
test cl, cl
je 0x1002c77c
cmp byte [ebx + 0xf0], 0
jne 0x1002c77c
cmp byte [ebx + 0xf2], 0
jne 0x1002c77c
mov byte [ebp - 0xaa], 1
jmp 0x1002c787
cmp byte [ebx + 0xf0], 0
je 0x1002c725
cmp byte [ebx + 0xf3], 0
jne 0x1002c725
cmp byte [ebx + 0xf2], 0
jne 0x1002c725
test cl, cl
jne 0x1002c725
mov ah, 1
jmp 0x1002c727
mov byte [ebp - 0xaa], 0
test dl, dl
je 0x1002c7f1
cmp byte [ebx + 0xf3], 0
mov dl, byte [ebx + 0xf2]
mov byte [ebp - 0x99], dl
je 0x1002c7fe
cmp byte [ebx + 0xf0], 0
jne 0x1002c7fe
test dl, dl
jne 0x1002c7fe
mov cl, byte [ebx + 0xf0]
mov byte [ebp - 0x9a], 1
mov edx, dword [ebp - 0x98]
xor bl, bl
cmp byte [edx + 0xf1], bl
je 0x1002c870
test cl, cl
jne 0x1002c870
cmp byte [edx + 0xf2], cl
jne 0x1002c870
cmp byte [edx + 0xf3], cl
jne 0x1002c870
mov bh, 1
jmp 0x1002c872
mov dl, byte [ebx + 0xf0]
mov byte [ebp - 0xaa], 0
mov cl, byte [ebx + 0xf0]
mov al, dl
mov byte [ebp - 0x99], al
mov byte [ebp - 0x9a], 0
test cl, cl
je 0x1002c7b6
cmp byte [ebx + 0xf1], 0
mov byte [ebp - 0x99], al
mov byte [ebp - 0x9a], 0
jne 0x1002c7b6
cmp byte [ebx + 0xf2], 0
mov byte [ebp - 0x99], al
mov byte [ebp - 0x9a], 0
jne 0x1002c7b6
cmp byte [ebx + 0xf3], 0
mov byte [ebp - 0x99], al
mov byte [ebp - 0x9a], 0
jne 0x1002c7b6
mov bl, 1
mov byte [ebp - 0x99], al
mov byte [ebp - 0x9a], 0
xor bh, bh
test ah, ah
je 0x1002c88d
mov eax, dword [0x1008794c]
mov ecx, dword [eax + 0x7c]
test ecx, ecx
js 0x1002c88d
mov dl, 1
call fcn.10009570
test al, al
jne 0x1002c8a8
test bh, bh
je 0x1002c8d4
mov eax, dword [0x1008794c]
mov ecx, dword [eax + 0x5c]
test ecx, ecx
js 0x1002c8d4
mov dl, 1
call fcn.10009570
test al, al
je 0x1002c8d4
cmp byte [ebp - 0xd0], 0
je 0x1002c8d4
cmp byte [ebp - 0x138], 0
jne 0x1002c8d4
cmp byte [ebp - 0xb4], 0
je 0x1002c8cb
mov eax, dword [edi + 0x3c]
cmp eax, dword [edi + 0x40]
je 0x1002c8d4
mov byte [ebp - 0x9c], 1
jmp 0x1002c8db
mov byte [ebp - 0x9c], 0
cmp byte [ebp - 0x9b], 0
je 0x1002c8fb
mov eax, dword [0x1008794c]
mov ecx, dword [eax + 0x74]
test ecx, ecx
js 0x1002c8fb
mov dl, 1
call fcn.10009570
test al, al
jne 0x1002c916
test bl, bl
je 0x1002c939
mov eax, dword [0x1008794c]
mov ecx, dword [eax + 0x58]
test ecx, ecx
js 0x1002c939
mov dl, 1
call fcn.10009570
test al, al
je 0x1002c939
cmp byte [ebp - 0x138], 0
jne 0x1002c939
cmp byte [ebp - 0xb4], 0
je 0x1002c930
mov eax, dword [edi + 0x3c]
cmp eax, dword [edi + 0x40]
je 0x1002c939
mov byte [ebp - 0xd5], 1
jmp 0x1002c940
mov byte [ebp - 0xd5], 0
mov bl, byte [ebp - 0x9b]
test bl, bl
je 0x1002c961
mov eax, dword [0x1008794c]
mov ecx, dword [eax + 0x78]
test ecx, ecx
js 0x1002c961
mov dl, 1
call fcn.10009570
test al, al
jne 0x1002c97c
test bh, bh
je 0x1002c98c
mov eax, dword [0x1008794c]
mov ecx, dword [eax + 0x58]
test ecx, ecx
js 0x1002c98c
mov dl, 1
call fcn.10009570
test al, al
je 0x1002c98c
cmp byte [ebp - 0xd0], 0
mov byte [ebp - 0xd6], 1
jne 0x1002c993
mov byte [ebp - 0xd6], 0
test bl, bl
je 0x1002c9c7
mov eax, dword [0x1008794c]
mov ecx, dword [eax + 0x84]
test ecx, ecx
js 0x1002c9c7
mov dl, 1
call fcn.10009570
test al, al
je 0x1002c9c7
cmp byte [ebp - 0xd0], 0
je 0x1002c9c7
cmp byte [ebp - 0xcc], 0
je 0x1002c9c7
mov bh, 1
jmp 0x1002c9cd
xor bh, bh
test bl, bl
je 0x1002c9e7
mov eax, dword [0x1008794c]
mov ecx, dword [eax + 0x80]
test ecx, ecx
js 0x1002c9e7
mov dl, 1
call fcn.10009570
test al, al
jne 0x1002ca0a
cmp byte [ebp - 0xaa], 0
je 0x1002ca20
mov eax, dword [0x1008794c]
mov ecx, dword [eax + 0x84]
test ecx, ecx
js 0x1002ca20
mov dl, 1
call fcn.10009570
test al, al
je 0x1002ca20
cmp byte [ebp - 0xd0], 0
je 0x1002ca20
cmp byte [ebp - 0xcc], 0
je 0x1002ca20
mov bl, 1
jmp 0x1002ca22
xor bl, bl
mov eax, dword [0x1008794c]
mov ecx, dword [eax + 0x38]
test ecx, ecx
js 0x1002ca7f
mov dl, 1
call fcn.10009570
test al, al
je 0x1002ca7f
cmp byte [ebp - 0x9a], 0
je 0x1002ca59
mov eax, 0x10004
lea edx, [edi + 0x38]
or eax, esi
mov ecx, edi
push eax
call fcn.1002a2f0
jmp 0x1002d315
cmp byte [ebp - 0x99], 0
lea edx, [edi + 0x38]
mov ecx, 0x1000c
mov eax, 0x10000
cmovne eax, ecx
mov ecx, edi
or eax, esi
push eax
call fcn.1002a2f0
jmp 0x1002d315
mov eax, dword [0x1008794c]
mov ecx, dword [eax + 0x3c]
test ecx, ecx
js 0x1002cadc
mov dl, 1
call fcn.10009570
test al, al
je 0x1002cadc
cmp byte [ebp - 0x9a], 0
je 0x1002cab6
mov eax, 0x10005
lea edx, [edi + 0x38]
or eax, esi
mov ecx, edi
push eax
call fcn.1002a2f0
jmp 0x1002d315
cmp byte [ebp - 0x99], 0
lea edx, [edi + 0x38]
mov ecx, 0x1000d
mov eax, 0x10001
cmovne eax, ecx
mov ecx, edi
or eax, esi
push eax
call fcn.1002a2f0
jmp 0x1002d315
mov eax, dword [0x1008794c]
mov ecx, dword [eax + 0x40]
test ecx, ecx
js 0x1002cb86
mov dl, 1
call fcn.10009570
test al, al
je 0x1002cb86
cmp byte [ebp - 0xb4], 0
je 0x1002cb86
mov ebx, dword [ebp - 0x98]
cmp byte [ebx + 0xf0], 0
je 0x1002cb52
mov esi, dword [ebp - 0xd4]
xorps xmm4, xmm4
movss xmm1, dword [esi + 0x58]
movaps xmm0, xmm1
subss xmm0, dword [ebx + 0x185c]
addss xmm1, dword [esi + 0xe4]
maxss xmm0, xmm4
subss xmm1, xmm0
movss dword [esi + 0x58], xmm0
movss dword [esi + 0xe4], xmm1
jmp 0x1002d32f
movzx eax, byte [ebp - 0x9a]
lea eax, [eax*4 + 0x10002]
or eax, esi
push eax
lea edx, [edi + 0x38]
mov ecx, edi
call fcn.1002a2f0
add esp, 4
mov byte [edi + 0xe60], 1
mov dword [edi + 0xe5c], 0xbe99999a
jmp 0x1002d32f
mov eax, dword [0x1008794c]
mov ecx, dword [eax + 0x44]
test ecx, ecx
js 0x1002cc31
mov dl, 1
call fcn.10009570
test al, al
je 0x1002cc31
cmp byte [ebp - 0xb4], 0
je 0x1002cc31
mov ebx, dword [ebp - 0x98]
cmp byte [ebx + 0xf0], 0
je 0x1002cc1e
mov eax, dword [0x1008794c]
mov ecx, dword [ebp - 0xd4]
mov eax, dword [eax + 0x1930]
movss xmm3, dword [ecx + 0x58]
movaps xmm2, xmm3
addss xmm2, dword [ebx + 0x185c]
movss xmm0, dword [eax + 0x20]
subss xmm0, dword [eax + 0x70]
movss xmm1, dword [eax + 0x30]
addss xmm3, dword [ecx + 0xe4]
subss xmm1, xmm0
xorps xmm0, xmm0
maxss xmm0, xmm1
minss xmm2, xmm0
subss xmm3, xmm2
movss dword [ecx + 0x58], xmm2
movss dword [ecx + 0xe4], xmm3
jmp 0x1002d32f
movzx eax, byte [ebp - 0x9a]
lea eax, [eax*4 + 0x10003]
jmp 0x1002cb60
mov eax, dword [0x1008794c]
mov ecx, dword [eax + 0x50]
test ecx, ecx
js 0x1002cc6b
mov dl, 1
call fcn.10009570
test al, al
je 0x1002cc6b
mov ebx, dword [ebp - 0x98]
mov eax, esi
or eax, 0x10006
or esi, 0x10004
cmp byte [ebx + 0xf0], 0
cmovne esi, eax
push esi
jmp 0x1002cb63
mov eax, dword [0x1008794c]
mov ecx, dword [eax + 0x54]
test ecx, ecx
js 0x1002cca5
mov dl, 1
call fcn.10009570
test al, al
je 0x1002cca5
mov ebx, dword [ebp - 0x98]
mov eax, esi
or eax, 0x10007
or esi, 0x10005
cmp byte [ebx + 0xf0], 0
cmovne esi, eax
push esi
jmp 0x1002cb63
mov eax, dword [0x1008794c]
mov ecx, dword [eax + 0x5c]
test ecx, ecx
js 0x1002ccdb
mov dl, 1
call fcn.10009570
test al, al
je 0x1002ccdb
cmp byte [ebp - 0xd0], 0
je 0x1002ccdb
or esi, 0x10008
lea edx, [edi + 0x38]
push esi
mov ecx, edi
call fcn.1002a2f0
jmp 0x1002d315
mov eax, dword [0x1008794c]
mov ecx, dword [eax + 0x60]
test ecx, ecx
js 0x1002cda6
mov dl, 1
call fcn.10009570
test al, al
je 0x1002cda6
cmp byte [ebp - 0xd0], 0
je 0x1002cda6
mov eax, dword [edi + 0x3c]
cmp eax, dword [edi + 0x40]
jne 0x1002cd3b
cmp byte [ebp - 0x99], 0
je 0x1002cd4d
push 0x3000c
lea edx, [edi + 0x38]
mov ecx, edi
call fcn.1002a2f0
add esp, 4
mov byte [edi + 0xe60], 1
mov dword [edi + 0xe5c], 0xbe99999a
mov ebx, dword [ebp - 0x98]
or esi, 0x10009
push esi
jmp 0x1002cb63
cmp byte [ebp - 0xd7], 0
je 0x1002cd3b
mov ebx, dword [ebp - 0x98]
cmp byte [ebx + 0xf3], 0
je 0x1002cd41
cmp byte [ebx + 0xf2], 0
jne 0x1002cd41
cmp byte [ebx + 0xf0], 0
jne 0x1002cd41
push 0x30004
lea edx, [edi + 0x38]
mov ecx, edi
call fcn.1002a2f0
add esp, 4
mov byte [edi + 0xe60], 1
or esi, 0x10009
mov dword [edi + 0xe5c], 0xbe99999a
push esi
jmp 0x1002cb63
mov eax, dword [0x1008794c]
mov ecx, dword [eax + 0x68]
test ecx, ecx
js 0x1002ce3c
mov dl, 1
call fcn.10009570
test al, al
je 0x1002ce3c
mov edx, dword [ebp + 0x10]
mov eax, edx
mov ebx, dword [ebp - 0x98]
shr eax, 0xb
and al, 1
cmp byte [ebp - 0xb4], 0
je 0x1002cde8
mov cl, byte [ebx + 0xf0]
test al, al
je 0x1002ce01
test cl, cl
jne 0x1002ce05
mov byte [ebp - 0xa9], 1
mov byte [ebp - 0xab], 1
mov cl, byte [ebp - 0x91]
jmp 0x1002d338
test cl, cl
jne 0x1002cde8
cmp byte [ebp - 0xd0], 0
je 0x1002cdf6
sub esp, 8
mov dword [ebp - 0xa4], 0xa
lea ecx, [ebp - 0xa4]
call fcn.1002b650
add esp, 8
test al, al
je 0x1002d32f
push dword [ebp - 0xa4]
jmp 0x1002cb63
test dword [ebp + 0x10], 0x400
je 0x1002cec5
mov eax, dword [0x1008794c]
mov ecx, dword [eax + 0x34]
test ecx, ecx
js 0x1002cec5
mov dl, 1
call fcn.10009570
test al, al
je 0x1002cec5
mov eax, dword [ebp - 0x98]
cmp byte [eax + 0xf0], 0
jne 0x1002cec5
cmp byte [eax + 0xf1], 0
jne 0x1002cec5
cmp byte [eax + 0xf2], 0
jne 0x1002cec5
cmp byte [ebp - 0xd0], 0
je 0x1002cec5
mov edx, dword [ebp + 0x10]
lea ecx, [ebp - 0xa4]
sub esp, 8
mov dword [ebp - 0xa4], 9
call fcn.1002b650
add esp, 8
test al, al
je 0x1002d329
push dword [ebp - 0xa4]
lea edx, [edi + 0x38]
mov ecx, edi
call fcn.1002a2f0
jmp 0x1002d315
mov eax, dword [0x1008794c]
mov ecx, dword [eax + 0x6c]
test ecx, ecx
js 0x1002ceef
mov dl, 1
call fcn.10009570
test al, al
je 0x1002ceef
mov ebx, dword [ebp - 0x98]
mov cl, 1
mov byte [ebp - 0xa9], cl
jmp 0x1002d335
test bh, bh
jne 0x1002d2f6
test bl, bl
jne 0x1002d2f6
cmp byte [ebp - 0x9b], bl
je 0x1002cf36
mov eax, dword [0x1008794c]
mov ecx, dword [eax + 0x70]
test ecx, ecx
js 0x1002cf36
mov dl, 1
call fcn.10009570
test al, al
je 0x1002cf36
mov eax, dword [edi + 0x2c]
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], eax
mov dword [edi + 0x38], eax
mov byte [edi + 0x47], bl
jmp 0x1002d322
mov al, byte [ebp - 0x9c]
test al, al
jne 0x1002d1cc
cmp byte [ebp - 0xd5], al
jne 0x1002d1cc
cmp byte [ebp - 0xd6], al
je 0x1002d329
mov eax, dword [0x1008794c]
mov ecx, dword [eax + 0xc0]
test ecx, ecx
je 0x1002cf82
push dword [eax + 0xc8]
call ecx
mov esi, eax
add esp, 4
test esi, esi
je 0x1002d329
jmp 0x1002cf87
mov esi, 0x1007fb2a
mov ecx, esi
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002cf90
mov eax, dword [0x1008794c]
sub ecx, edx
test eax, eax
je 0x1002cfa8
inc dword [eax + 0x388]
lea eax, [ecx*2 + 2]
push eax
call dword [fcn.1003e22c]
xor ebx, ebx
add esp, 4
mov ecx, eax
mov dword [ebp - 0xe0], ecx
cmp byte [esi], bl
je 0x1002d02a
mov edi, eax
nop dword [eax]
push 0
mov edx, esi
lea ecx, [ebp - 0xcc]
call fcn.10004260
add esi, eax
add esp, 4
mov eax, dword [ebp - 0xcc]
test eax, eax
je 0x1002d01e
cmp eax, 0x10000
jae 0x1002d019
mov edx, dword [ebp + 0x10]
lea ecx, [ebp - 0xcc]
sub esp, 8
call fcn.1002b650
add esp, 8
test al, al
je 0x1002d019
mov ax, word [ebp - 0xcc]
mov word [edi + ebx*2], ax
inc ebx
cmp byte [esi], 0
jne 0x1002cfd0
mov edi, dword [ebp - 0xfc]
mov ecx, dword [ebp - 0xe0]
xor eax, eax
mov word [ecx + ebx*2], ax
test ebx, ebx
jle 0x1002d1aa
mov ecx, dword [edi + 0x40]
lea esi, [edi + 0x38]
mov eax, dword [esi + 4]
mov edx, dword [edi + 0x2c]
cmp eax, ecx
je 0x1002d09a
mov dword [ebp - 0xa0], eax
cmp eax, edx
jle 0x1002d05f
mov eax, edx
mov dword [esi + 4], edx
mov dword [ebp - 0xa0], eax
jmp 0x1002d065
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0xa8], ecx
cmp ecx, edx
jle 0x1002d07c
mov ecx, edx
mov dword [esi + 8], edx
mov dword [ebp - 0xa8], ecx
jmp 0x1002d082
mov ecx, dword [ebp - 0xa8]
mov edi, dword [ebp - 0xa8]
cmp dword [ebp - 0xa0], edi
jne 0x1002d09a
mov eax, dword [ebp - 0xa0]
mov ecx, edi
mov dword [esi], eax
mov edi, dword [esi]
cmp edi, edx
mov dword [ebp - 0xa8], edi
mov edi, dword [ebp - 0xfc]
jle 0x1002d0b4
mov dword [esi], edx
mov dword [ebp - 0xa8], edx
mov edx, dword [edi + 0x2c]
cmp eax, ecx
je 0x1002d11b
mov dword [ebp - 0xa0], eax
cmp eax, edx
jle 0x1002d0d2
mov eax, edx
mov dword [esi + 4], edx
mov dword [ebp - 0xa0], eax
jmp 0x1002d0d8
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0xc4], ecx
cmp ecx, edx
jle 0x1002d0eb
mov dword [esi + 8], edx
mov dword [ebp - 0xc4], edx
mov ecx, dword [ebp - 0xa8]
mov dword [ebp - 0xa8], ecx
mov ecx, dword [ebp - 0xc4]
mov edi, ecx
cmp dword [ebp - 0xa0], edi
mov edi, dword [ebp - 0xfc]
jne 0x1002d11b
mov eax, dword [ebp - 0xa0]
mov dword [esi], eax
mov dword [ebp - 0xa8], eax
cmp dword [ebp - 0xa8], edx
jle 0x1002d125
mov dword [esi], edx
cmp eax, ecx
je 0x1002d15a
mov edx, esi
jge 0x1002d140
sub ecx, eax
push ecx
push eax
mov ecx, edi
call fcn.1002a210
mov eax, dword [esi + 4]
mov dword [esi + 8], eax
jmp 0x1002d151
sub eax, ecx
push eax
push ecx
mov ecx, edi
call fcn.1002a210
mov eax, dword [esi + 8]
mov dword [esi + 4], eax
mov dword [esi], eax
add esp, 8
mov byte [esi + 0xf], 0
mov edx, dword [esi]
mov ecx, edi
push ebx
push dword [ebp - 0xe0]
call fcn.10029d00
add esp, 8
test al, al
je 0x1002d189
mov edx, dword [esi]
lea ecx, [esi + 0x18]
push ebx
push 0
call fcn.1002b150
add esp, 8
mov byte [esi + 0xf], 0
add dword [esi], ebx
jmp 0x1002d19d
movzx eax, word [esi + 0xe16]
test ax, ax
je 0x1002d19d
dec eax
mov word [esi + 0xe16], ax
mov ecx, dword [ebp - 0xe0]
mov byte [edi + 0xe60], 1
test ecx, ecx
je 0x1002d1bd
mov eax, dword [0x1008794c]
test eax, eax
je 0x1002d1bd
dec dword [eax + 0x388]
push ecx
call dword [fcn.1003e228]
add esp, 4
jmp 0x1002d329
mov ebx, dword [ebp - 0x98]
cmp dword [ebx + 0xc4], 0
je 0x1002d256
mov ebx, dword [edi + 0x40]
mov eax, dword [edi + 0x3c]
cmp eax, ebx
je 0x1002d1ef
mov ecx, ebx
cmovge ebx, eax
cmovl ecx, eax
jmp 0x1002d1f4
mov ebx, dword [edi + 0x2c]
xor ecx, ecx
mov eax, ebx
mov dword [ebp - 0xa4], ecx
sub eax, ecx
lea ecx, [edi + 0x1c]
lea eax, [eax*4 + 1]
push eax
call fcn.10016010
mov ecx, dword [edi + 0xc]
mov edx, dword [edi + 0x1c]
lea eax, [ecx + ebx*2]
push eax
mov eax, dword [ebp - 0xa4]
lea eax, [ecx + eax*2]
mov ecx, dword [edi + 0x24]
push eax
call fcn.10004460
mov eax, dword [0x1008794c]
add esp, 8
mov ecx, dword [eax + 0xc4]
test ecx, ecx
je 0x1002d24a
push dword [edi + 0x24]
push dword [eax + 0xc8]
call ecx
add esp, 8
mov ebx, dword [ebp - 0x98]
mov al, byte [ebp - 0x9c]
test al, al
je 0x1002d32f
mov eax, dword [edi + 0x3c]
cmp eax, dword [edi + 0x40]
jne 0x1002d27a
mov eax, dword [edi + 0x2c]
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], eax
mov dword [edi + 0x38], eax
mov byte [edi + 0x47], 0
mov byte [edi + 0xe60], 1
mov ecx, dword [edi + 0x40]
mov eax, dword [edi + 0x3c]
cmp eax, ecx
je 0x1002d32f
mov edx, dword [edi + 0x2c]
cmp eax, edx
jle 0x1002d29b
mov dword [edi + 0x3c], edx
mov eax, edx
cmp ecx, edx
jle 0x1002d2a4
mov dword [edi + 0x40], edx
mov ecx, edx
cmp eax, ecx
jne 0x1002d2ab
mov dword [edi + 0x38], eax
cmp dword [edi + 0x38], edx
jle 0x1002d2b3
mov dword [edi + 0x38], edx
cmp eax, ecx
je 0x1002d2f0
lea edx, [edi + 0x38]
jge 0x1002d2d9
sub ecx, eax
push ecx
push eax
mov ecx, edi
call fcn.1002a210
mov eax, dword [edi + 0x3c]
add esp, 8
mov dword [edi + 0x40], eax
mov dword [edi + 0x38], eax
mov byte [edi + 0x47], 0
jmp 0x1002d32f
sub eax, ecx
push eax
push ecx
mov ecx, edi
call fcn.1002a210
mov eax, dword [edi + 0x40]
add esp, 8
mov dword [edi + 0x3c], eax
mov dword [edi + 0x38], eax
mov byte [edi + 0x47], 0
jmp 0x1002d32f
movzx eax, bh
lea edx, [edi + 0x38]
xor eax, 1
mov ecx, edi
add eax, 0x1000a
push eax
call fcn.1002a2f0
mov eax, dword [edi + 0x38]
mov dword [edi + 0x40], eax
mov dword [edi + 0x3c], eax
add esp, 4
mov dword [edi + 0xe5c], 0xbe99999a
mov byte [edi + 0xe60], 1
mov ebx, dword [ebp - 0x98]
mov cl, byte [ebp - 0x91]
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp - 0xbc]
cmp dword [ebx + 0x194c], eax
jne 0x1002d8d4
xor eax, eax
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xa8], eax
test cl, cl
je 0x1002d3c5
cmp byte [ebp - 0xd0], al
je 0x1002d3ac
mov esi, dword [edi + 0x18]
mov ecx, esi
mov eax, dword [ebp - 0xb0]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1002d393
test dl, dl
je 0x1002d38f
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1002d393
add eax, 2
add ecx, 2
test dl, dl
jne 0x1002d373
xor eax, eax
jmp 0x1002d398
sbb eax, eax
or eax, 1
test eax, eax
je 0x1002d3ac
mov eax, dword [edi + 0x10]
dec eax
mov dword [ebp - 0xc4], esi
mov dword [ebp - 0xa8], eax
cmp byte [ebp - 0xab], 0
je 0x1002d7a4
mov edx, dword [ebp + 0x10]
test dl, 0x20
je 0x1002d7a4
cmp byte [ebp - 0xd0], 0
je 0x1002d3f7
mov eax, dword [edi + 4]
lea ecx, [edi + 0x1c]
lea eax, [eax*4 + 1]
push eax
call fcn.10016010
mov edx, dword [edi + 0x1c]
mov ecx, dword [edi + 0x24]
push 0
push dword [edi + 0xc]
call fcn.10004460
mov edx, dword [ebp + 0x10]
add esp, 8
test edx, 0x1c0
je 0x1002d762
push 0xdc9
push 0x100831f8
push 0x100836a0
call dword [ebp - 0xc8]
mov edx, dword [ebp + 0x10]
xor esi, esi
add esp, 0xc
lea ebx, [esi + 0x15]
test dl, 0x40
je 0x1002d449
mov eax, dword [0x1008794c]
mov ecx, dword [eax + 0x34]
test ecx, ecx
js 0x1002d449
mov dl, 1
call fcn.10009570
mov edx, dword [ebp + 0x10]
test al, al
je 0x1002d449
lea esi, [ebx + 0x2b]
xor ebx, ebx
jmp 0x1002d4a6
test dl, dl
jns 0x1002d495
mov eax, dword [0x1008794c]
mov ecx, dword [eax + 0x40]
test ecx, ecx
js 0x1002d471
mov dl, 1
call fcn.10009570
test al, al
je 0x1002d471
mov edx, dword [ebp + 0x10]
mov esi, 0x80
lea ebx, [esi - 0x7d]
jmp 0x1002d4a6
mov eax, dword [0x1008794c]
mov ecx, dword [eax + 0x44]
test ecx, ecx
js 0x1002d495
mov dl, 1
call fcn.10009570
test al, al
je 0x1002d495
mov edx, dword [ebp + 0x10]
mov esi, 0x80
lea ebx, [esi - 0x7c]
jmp 0x1002d4a6
mov edx, dword [ebp + 0x10]
mov eax, 0x100
test edx, 0x100
cmovne esi, eax
test esi, esi
je 0x1002d762
xor eax, eax
mov dword [ebp - 0x60], esi
mov esi, dword [edi + 0xc]
mov ecx, esi
mov word [ebp - 0x3f], ax
mov byte [ebp - 0x3d], al
mov dword [ebp - 0x58], eax
mov eax, dword [edi + 0x24]
mov dword [ebp - 0x4c], eax
mov eax, dword [edi + 0x28]
mov dword [ebp - 0x48], eax
mov eax, dword [edi + 0x30]
mov dword [ebp - 0x44], eax
mov eax, dword [edi + 0x38]
mov dword [ebp - 0x5c], edx
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], ebx
lea edx, [esi + eax*2]
mov byte [ebp - 0x40], 0
call fcn.10004590
mov ecx, dword [edi + 0x3c]
mov ebx, eax
mov dword [ebp - 0x3c], ebx
lea edx, [esi + ecx*2]
mov ecx, esi
call fcn.10004590
mov ecx, dword [edi + 0x40]
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x38], eax
lea edx, [esi + ecx*2]
mov ecx, esi
call fcn.10004590
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x60]
push eax
xor eax, eax
call eax
mov ecx, dword [ebp - 0x4c]
add esp, 4
mov esi, dword [ebp - 0xc8]
cmp ecx, dword [edi + 0x24]
je 0x1002d551
push 0xdf8
push 0x100831f8
push 0x10083798
call esi
mov ecx, dword [ebp - 0x4c]
add esp, 0xc
mov eax, dword [ebp - 0x44]
cmp eax, dword [edi + 0x30]
je 0x1002d570
push 0xdf9
push 0x100831f8
push 0x100837f8
call esi
mov ecx, dword [ebp - 0x4c]
add esp, 0xc
mov eax, dword [ebp + 0x10]
cmp dword [ebp - 0x5c], eax
je 0x1002d58f
push 0xdfa
push 0x100831f8
push 0x1008385c
call esi
mov ecx, dword [ebp - 0x4c]
add esp, 0xc
mov eax, dword [ebp - 0x3c]
cmp eax, ebx
je 0x1002d5f3
mov ecx, dword [ebp - 0x4c]
mov esi, ecx
lea ebx, [eax + ecx]
xor eax, eax
mov dword [ebp - 0xa0], eax
test ebx, ebx
je 0x1002d5ae
cmp esi, ebx
jae 0x1002d5e6
cmp byte [esi], 0
je 0x1002d5e6
push ebx
mov edx, esi
lea ecx, [ebp - 0xc0]
call fcn.10004260
add esi, eax
add esp, 4
mov eax, dword [ebp - 0xc0]
test eax, eax
je 0x1002d5e0
cmp eax, 0x10000
mov eax, dword [ebp - 0xa0]
jae 0x1002d5a6
inc eax
jmp 0x1002d5a0
mov eax, dword [ebp - 0xa0]
mov ecx, dword [ebp - 0x4c]
mov dword [edi + 0x38], eax
mov byte [edi + 0xe60], 1
mov eax, dword [ebp - 0x38]
cmp eax, dword [ebp - 0x130]
je 0x1002d656
mov ecx, dword [ebp - 0x4c]
mov esi, ecx
lea ebx, [eax + ecx]
xor eax, eax
mov dword [ebp - 0xa0], eax
nop
test ebx, ebx
je 0x1002d618
cmp esi, ebx
jae 0x1002d650
cmp byte [esi], 0
je 0x1002d650
push ebx
mov edx, esi
lea ecx, [ebp - 0xc0]
call fcn.10004260
add esi, eax
add esp, 4
mov eax, dword [ebp - 0xc0]
test eax, eax
je 0x1002d64a
cmp eax, 0x10000
mov eax, dword [ebp - 0xa0]
jae 0x1002d610
inc eax
jmp 0x1002d608
mov eax, dword [ebp - 0xa0]
mov ecx, dword [ebp - 0x4c]
mov dword [edi + 0x3c], eax
mov eax, dword [ebp - 0x34]
cmp eax, dword [ebp - 0xa4]
je 0x1002d6b7
mov ecx, dword [ebp - 0x4c]
mov esi, ecx
lea ebx, [eax + ecx]
xor eax, eax
mov dword [ebp - 0xa0], eax
test ebx, ebx
je 0x1002d679
cmp esi, ebx
jae 0x1002d6b1
cmp byte [esi], 0
je 0x1002d6b1
push ebx
mov edx, esi
lea ecx, [ebp - 0xc0]
call fcn.10004260
add esi, eax
add esp, 4
mov eax, dword [ebp - 0xc0]
test eax, eax
je 0x1002d6ab
cmp eax, 0x10000
mov eax, dword [ebp - 0xa0]
jae 0x1002d671
inc eax
jmp 0x1002d66b
mov eax, dword [ebp - 0xa0]
mov ecx, dword [ebp - 0x4c]
mov dword [edi + 0x40], eax
cmp byte [ebp - 0x40], 0
je 0x1002d762
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002d6c4
mov esi, dword [ebp - 0x48]
sub ecx, edx
cmp esi, ecx
je 0x1002d6ef
push 0xe00
push 0x100831f8
push 0x10083898
call dword [ebp - 0xc8]
mov esi, dword [ebp - 0x48]
add esp, 0xc
mov ecx, dword [ebp - 0x100]
cmp esi, ecx
jle 0x1002d73b
cmp byte [ebp - 0x110], 0
je 0x1002d73b
mov ebx, dword [edi + 8]
lea eax, [edi + 4]
sub esi, ecx
add esi, dword [eax]
cmp esi, ebx
jle 0x1002d739
test ebx, ebx
je 0x1002d721
mov eax, ebx
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
add ecx, ebx
jmp 0x1002d726
mov ecx, 8
cmp ecx, esi
mov eax, esi
cmovg eax, ecx
lea ecx, [edi + 4]
push eax
call fcn.10016140
lea eax, [edi + 4]
mov dword [eax], esi
mov edx, dword [edi + 4]
push 0
push ecx
push dword [ebp - 0x4c]
mov ecx, dword [edi + 0xc]
call fcn.100043f0
mov dword [edi + 0x2c], eax
add esp, 0xc
mov eax, dword [ebp - 0x48]
mov dword [edi + 0x28], eax
mov dword [edi + 0xe5c], 0xbe99999a
cmp byte [ebp - 0xd0], 0
je 0x1002d7a4
mov esi, dword [edi + 0x24]
mov eax, esi
mov ecx, dword [ebp - 0xb0]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1002d796
test dl, dl
je 0x1002d792
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1002d796
add eax, 2
add ecx, 2
test dl, dl
jne 0x1002d776
xor eax, eax
jmp 0x1002d79b
sbb eax, eax
or eax, 1
test eax, eax
je 0x1002d7a4
mov ebx, dword [edi + 0x28]
jmp 0x1002d7b0
mov esi, dword [ebp - 0xc4]
mov ebx, dword [ebp - 0xa8]
test esi, esi
je 0x1002d8b0
test ebx, ebx
jns 0x1002d7d4
push 0xe15
push 0x100831f8
push 0x10083910
call dword [ebp - 0xc8]
add esp, 0xc
cmp dword [ebp - 0x100], ebx
je 0x1002d87a
cmp byte [ebp - 0x110], 0
je 0x1002d87a
mov eax, dword [ebp + 0x10]
xorps xmm0, xmm0
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0x7c], eax
lea eax, [ebx + 1]
cmp dword [ebp + 8], eax
movlpd qword [ebp - 0x84], xmm0
cmovge eax, dword [ebp + 8]
mov dword [ebp - 0x74], eax
lea eax, [ebp - 0x90]
push eax
xor eax, eax
movlpd qword [ebp - 0x70], xmm0
movlpd qword [ebp - 0x68], xmm0
mov dword [ebp - 0x90], 0x40000
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x88], 0
call eax
mov esi, dword [ebp - 0x74]
add esp, 4
mov ecx, dword [ebp - 0x7c]
mov dword [ebp - 0xb0], ecx
lea ebx, [esi - 1]
cmp dword [ebp - 0x78], ebx
cmovl ebx, dword [ebp - 0x78]
cmp ebx, esi
jle 0x1002d883
push 0xe23
push 0x100831f8
push 0x10083948
call dword [ebp - 0xc8]
add esp, 0xc
jmp 0x1002d87d
mov esi, dword [ebp + 8]
mov ecx, dword [ebp - 0xb0]
lea eax, [ebx + 1]
cmp eax, esi
cmovl esi, eax
cmp esi, 1
jb 0x1002d8a9
push esi
push dword [edi + 0x24]
push ecx
call dword [0x1003e308]
mov eax, dword [ebp - 0xb0]
add esp, 0xc
mov byte [esi + eax - 1], 0
mov byte [ebp - 0xb5], 1
mov ebx, dword [ebp - 0x98]
mov dword [edi + 0xe64], 0
mov dword [edi + 0xe68], 0
mov dword [edi + 0xe6c], 0
cmp byte [ebp - 0xa9], 0
je 0x1002d93c
mov ecx, dword [ebp - 0xbc]
cmp dword [ebx + 0x194c], ecx
jne 0x1002d93c
mov edx, dword [0x1008794c]
mov ecx, dword [edx + 0x194c]
test ecx, ecx
setne al
mov byte [edx + 0x195c], al
test ecx, ecx
je 0x1002d917
mov dword [edx + 0x1958], 0
mov byte [edx + 0x195e], 0
mov dword [edx + 0x194c], 0
mov dword [edx + 0x1964], 0
mov byte [edx + 0x195d], 0
mov dword [edx + 0x1970], 0
mov eax, dword [ebp - 0xbc]
cmp dword [ebx + 0x194c], eax
jne 0x1002d95c
cmp byte [ebp - 0xd0], 0
je 0x1002d95c
mov ecx, dword [edi + 0x24]
mov dword [ebp - 0xb0], ecx
mov edx, dword [ebp - 0xb4]
test dl, dl
jne 0x1002dada
push 1
mov edx, eax
lea ecx, [ebp - 0x30]
call fcn.10005e00
mov eax, dword [0x1008794c]
xorps xmm3, xmm3
movss xmm6, dword [0x10083d78]
add esp, 4
movups xmm2, xmmword [eax + 0x1618]
comiss xmm3, xmm2
movaps xmm1, xmm2
shufps xmm1, xmm2, 0xff
mulss xmm1, dword [eax + 0x1510]
movups xmmword [ebp - 0x18], xmm2
jbe 0x1002d9ad
xorps xmm0, xmm0
jmp 0x1002d9b4
movaps xmm0, xmm6
minss xmm0, xmm2
movss xmm4, dword [0x10083e84]
movss xmm5, dword [0x10083d44]
movss xmm2, dword [ebp - 0x14]
comiss xmm3, xmm2
mulss xmm0, xmm4
addss xmm0, xmm5
cvttss2si edx, xmm0
jbe 0x1002d9df
xorps xmm0, xmm0
jmp 0x1002d9e6
movaps xmm0, xmm6
minss xmm0, xmm2
movss xmm2, dword [ebp - 0x10]
mulss xmm0, xmm4
addss xmm0, xmm5
cvttss2si eax, xmm0
shl eax, 8
or edx, eax
comiss xmm3, xmm2
jbe 0x1002da06
xorps xmm0, xmm0
jmp 0x1002da0d
movaps xmm0, xmm6
minss xmm0, xmm2
mulss xmm0, xmm4
addss xmm0, xmm5
cvttss2si eax, xmm0
shl eax, 0x10
or edx, eax
comiss xmm3, xmm1
jbe 0x1002da28
xorps xmm0, xmm0
jmp 0x1002da2f
movaps xmm0, xmm6
minss xmm0, xmm1
push dword [ebp - 0x24]
movss xmm2, dword [ebx + 0x154c]
push dword [ebp - 0x28]
mulss xmm0, xmm4
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
addss xmm0, xmm5
cvttss2si ecx, xmm0
shl ecx, 0x18
or ecx, edx
mov dl, 1
call fcn.100053b0
movss xmm6, dword [ebp - 0x128]
add esp, 0x10
movss xmm3, dword [ebp - 0x104]
movaps xmm0, xmm6
addss xmm0, dword [ebx + 0x1544]
movss xmm2, dword [ebp - 0xdc]
movaps xmm1, xmm3
addss xmm1, dword [ebp - 0x11c]
mov esi, dword [ebp - 0xd4]
addss xmm2, xmm6
mov edx, dword [ebp - 0xb4]
movss dword [ebp - 0x28], xmm0
movaps xmm0, xmm3
addss xmm0, dword [ebx + 0x1548]
movss dword [ebp - 0x18], xmm6
movss dword [ebp - 0x14], xmm3
movss dword [ebp - 0xc0], xmm2
movss dword [ebp - 0x10], xmm2
movss dword [ebp - 0x24], xmm0
movss dword [ebp - 0x100], xmm2
movss dword [ebp - 0x110], xmm1
jmp 0x1002db46
movss xmm0, dword [ebp - 0x128]
movss xmm1, dword [ebp - 0x104]
movss xmm3, dword [ebp - 0xdc]
movaps xmm2, xmm1
addss xmm2, dword [ebp - 0x11c]
mov esi, dword [ebp - 0xd4]
addss xmm3, xmm0
movss dword [ebp - 0x18], xmm0
movss dword [ebp - 0x14], xmm1
mov eax, dword [esi + 0xc8]
movaps xmm1, xmm2
mov ecx, dword [esi + 0xcc]
movaps xmm0, xmm3
movss dword [ebp - 0x100], xmm3
movss dword [ebp - 0xc0], xmm0
movss dword [ebp - 0x10], xmm0
movss dword [ebp - 0x110], xmm2
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], ecx
lea eax, [ebp - 0x28]
movss dword [ebp - 0xc], xmm1
movss xmm0, dword [eax]
xorps xmm5, xmm5
movss dword [ebp - 0xcc], xmm0
xorps xmm4, xmm4
movss dword [ebp - 0x10c], xmm0
xorps xmm7, xmm7
movss xmm0, dword [eax + 4]
mov dword [ebp - 0x114], eax
mov eax, dword [ebp - 0xbc]
movss dword [ebp - 0xa4], xmm1
movss dword [ebp - 0xe0], xmm0
movss dword [ebp - 0x108], xmm0
movss dword [ebp - 0xa8], xmm5
movss dword [ebp - 0xc4], xmm4
cmp dword [edi], eax
jne 0x1002dc0b
test dl, dl
je 0x1002dc0b
cmp dword [esi + 0x1d0], 0
jg 0x1002dbe0
push 0x4f9
push 0x1007fa10
push 0x10081dc4
call dword [ebp - 0xc8]
movss xmm4, dword [ebp - 0xc4]
add esp, 0xc
movss xmm5, dword [ebp - 0xa8]
xorps xmm7, xmm7
mov ecx, dword [esi + 0x1d0]
xor edx, edx
mov eax, dword [esi + 0x1d8]
push dword [eax + ecx*4 - 4]
mov ecx, 0x10083284
call fcn.10003e90
add esp, 4
cmp dword [ebx + 0x194c], eax
jne 0x1002dc0b
mov al, 1
jmp 0x1002dc0d
xor al, al
mov ecx, dword [ebp - 0xbc]
cmp dword [ebx + 0x194c], ecx
je 0x1002e110
test al, al
jne 0x1002e110
mov edi, dword [ebp - 0xb0]
cmp byte [ebp - 0xb4], al
je 0x1002dc88
mov dl, byte [edi]
lea esi, [edi + 1]
xor ecx, ecx
test dl, dl
je 0x1002dc52
cmp dl, 0xa
lea eax, [ecx + 1]
mov dl, byte [esi]
cmovne eax, ecx
inc esi
mov ecx, eax
test dl, dl
jne 0x1002dc40
mov al, byte [esi - 1]
dec esi
cmp al, 0xa
je 0x1002dc5f
cmp al, 0xd
je 0x1002dc5f
inc ecx
movss xmm5, dword [ebp - 0xdc]
movd xmm4, ecx
cvtdq2ps xmm4, xmm4
movss dword [ebp - 0xa8], xmm5
mulss xmm4, dword [ebx + 0x185c]
movss dword [ebp - 0xc4], xmm4
jmp 0x1002dca8
mov ecx, edi
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002dc90
sub ecx, edx
lea esi, [ecx + edi]
cmp ecx, 0x200000
jge 0x1002e005
mov eax, dword [0x1008794c]
movups xmm2, xmmword [eax + 0x15a8]
comiss xmm7, xmm2
movaps xmm1, xmm2
shufps xmm1, xmm2, 0xff
mulss xmm1, dword [eax + 0x1510]
movups xmmword [ebp - 0xf4], xmm2
jbe 0x1002dcd4
movaps xmm0, xmm7
jmp 0x1002dce0
movss xmm0, dword [0x10083d78]
minss xmm0, xmm2
movss xmm3, dword [0x10083e84]
movss xmm6, dword [0x10083d44]
movss xmm2, dword [ebp - 0xf0]
comiss xmm7, xmm2
mulss xmm0, xmm3
addss xmm0, xmm6
cvttss2si ecx, xmm0
jbe 0x1002dd0e
movaps xmm0, xmm7
jmp 0x1002dd1a
movss xmm0, dword [0x10083d78]
minss xmm0, xmm2
movss xmm2, dword [ebp - 0xec]
mulss xmm0, xmm3
addss xmm0, xmm6
cvttss2si eax, xmm0
shl eax, 8
or ecx, eax
comiss xmm7, xmm2
jbe 0x1002dd3d
movaps xmm0, xmm7
jmp 0x1002dd49
movss xmm0, dword [0x10083d78]
minss xmm0, xmm2
mulss xmm0, xmm3
addss xmm0, xmm6
cvttss2si eax, xmm0
shl eax, 0x10
or ecx, eax
comiss xmm7, xmm1
jbe 0x1002dd64
movaps xmm0, xmm7
jmp 0x1002dd70
movss xmm0, dword [0x10083d78]
minss xmm0, xmm1
mov edx, dword [ebx + 0x1858]
mulss xmm0, xmm3
mov dword [ebp - 0xcc], edx
addss xmm0, xmm6
cvttss2si eax, xmm0
movss xmm0, dword [ebx + 0x185c]
lea ebx, [ebp - 0x18]
shl eax, 0x18
or ecx, eax
movss dword [ebp - 0xa4], xmm0
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0xc0], ecx
mov edi, dword [eax + 0x284]
xor eax, eax
cmp byte [ebp - 0xb4], al
cmovne ebx, eax
test ecx, 0xff000000
je 0x1002df5c
test esi, esi
jne 0x1002ddea
mov ecx, dword [ebp - 0xb0]
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002ddd6
mov eax, dword [ebp - 0xb0]
sub ecx, esi
lea esi, [eax + ecx]
jmp 0x1002ddf0
mov eax, dword [ebp - 0xb0]
cmp eax, esi
je 0x1002df5c
test edx, edx
jne 0x1002de08
mov eax, dword [edi + 0x28]
mov eax, dword [eax + 8]
mov dword [ebp - 0xcc], eax
ucomiss xmm0, xmm7
lahf
test ah, 0x44
jp 0x1002de21
mov eax, dword [edi + 0x28]
movss xmm0, dword [eax + 0xc]
movss dword [ebp - 0xa4], xmm0
cmp dword [edi + 0x48], 0
jg 0x1002de3f
push 0x4f9
push 0x1007fa10
push 0x10081dc4
call dword [ebp - 0xc8]
add esp, 0xc
mov eax, dword [ebp - 0xcc]
mov edx, dword [edi + 0x48]
mov ecx, dword [edi + 0x50]
mov eax, dword [eax + 0x44]
mov eax, dword [eax + 8]
cmp eax, dword [ecx + edx*4 - 4]
je 0x1002de6f
push 0x481
push 0x10082560
push 0x10082710
call dword [ebp - 0xc8]
add esp, 0xc
cmp dword [edi + 0x3c], 0
jg 0x1002de8d
push 0x4f9
push 0x1007fa10
push 0x10081dc4
call dword [ebp - 0xc8]
add esp, 0xc
mov ecx, dword [edi + 0x3c]
mov eax, dword [edi + 0x44]
shl ecx, 4
movups xmm0, xmmword [eax + ecx - 0x10]
movups xmmword [ebp - 0xf4], xmm0
test ebx, ebx
je 0x1002df07
movss xmm1, dword [ebx]
movss xmm0, dword [ebp - 0xf4]
comiss xmm0, xmm1
jae 0x1002debf
movss dword [ebp - 0xf4], xmm1
movss xmm1, dword [ebx + 4]
movss xmm0, dword [ebp - 0xf0]
comiss xmm0, xmm1
jae 0x1002ded9
movss dword [ebp - 0xf0], xmm1
movss xmm0, dword [ebx + 8]
comiss xmm0, dword [ebp - 0xec]
ja 0x1002deef
movss dword [ebp - 0xec], xmm0
movss xmm0, dword [ebx + 0xc]
comiss xmm0, dword [ebp - 0xe8]
ja 0x1002df05
movss dword [ebp - 0xe8], xmm0
test ebx, ebx
movss xmm2, dword [ebp - 0xa4]
setne al
movzx eax, al
push eax
push ecx
mov ecx, dword [ebp - 0xcc]
lea eax, [ebp - 0xf4]
mov dword [esp], 0
push esi
push dword [ebp - 0xb0]
push eax
mov eax, dword [ebp - 0x114]
push dword [ebp - 0xc0]
push dword [eax + 4]
push dword [eax]
push edi
call fcn.10022320
movss xmm4, dword [ebp - 0xc4]
xorps xmm7, xmm7
movss xmm5, dword [ebp - 0xa8]
mov ebx, dword [ebp - 0x98]
cmp byte [ebp - 0xb4], 0
je 0x1002dfff
mov ecx, dword [0x1008794c]
addss xmm5, xmm7
addss xmm4, dword [ebx + 0x185c]
mov eax, dword [ecx + 0x1930]
mov byte [eax + 0x78], 1
mov eax, dword [ecx + 0x1930]
cmp byte [eax + 0x7b], 0
jne 0x1002dff5
movss xmm1, dword [eax + 0xcc]
lea ecx, [ebp - 0x28]
movss xmm3, dword [eax + 0xc8]
movaps xmm0, xmm1
movaps xmm2, xmm3
movss dword [ebp - 0x14], xmm1
addss xmm2, xmm5
movss dword [ebp - 0x18], xmm3
addss xmm0, xmm4
movss dword [ebp - 0x10], xmm2
subss xmm2, xmm3
movss dword [ebp - 0xc], xmm0
subss xmm0, xmm1
movaps xmm1, xmm7
movss dword [ebp - 0x28], xmm2
movss dword [ebp - 0x24], xmm0
call fcn.10006bb0
push 0
xor edx, edx
lea ecx, [ebp - 0x18]
call fcn.10006d20
add esp, 4
call fcn.100099a0
call fcn.1000f760
mov edi, dword [ebp - 0xb0]
mov eax, dword [ebp - 0x138]
test al, al
je 0x1002e01a
call fcn.1000ef60
mov eax, dword [ebp - 0x138]
cmp byte [ebx + 0x2ba8], 0
je 0x1002e039
test al, al
jne 0x1002e039
push 0
mov edx, edi
lea ecx, [ebp - 0x10c]
call fcn.10014910
add esp, 4
movss xmm0, dword [ebp - 0x140]
xorps xmm4, xmm4
comiss xmm0, xmm4
jbe 0x1002e097
movss xmm0, dword [ebp - 0x124]
xor edx, edx
addss xmm0, dword [ebx + 0x155c]
mov ecx, dword [ebp - 0x144]
movss dword [ebp - 0x10c], xmm0
movss xmm0, dword [ebp - 0x104]
addss xmm0, dword [ebx + 0x1548]
movss dword [ebp - 0x108], xmm0
push dword [ebp - 0x108]
push dword [ebp - 0x10c]
push 1
call fcn.100048e0
add esp, 0xc
mov bl, byte [ebp - 0xb5]
test bl, bl
je 0x1002e0ee
mov esi, dword [0x1008794c]
mov eax, dword [esi + 0x194c]
cmp eax, dword [ebp - 0xbc]
je 0x1002e0da
test eax, eax
je 0x1002e0da
cmp byte [esi + 0x1be4], 0
jne 0x1002e0da
push 0x9d2
push 0x1007fa98
push 0x1007fba8
call dword [ebp - 0xc8]
add esp, 0xc
mov eax, dword [esi + 0x1930]
mov byte [esi + 0x195e], 1
or dword [eax + 0x110], 4
test byte [ebp + 0x10], 0x20
movzx ecx, byte [ebp - 0xab]
movzx eax, bl
cmovne eax, ecx
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1003bcd0
mov esp, ebp
pop ebp
ret
mov esi, dword [edi + 0xc]
xorps xmm6, xmm6
movss xmm0, dword [ebx + 0x18]
xorps xmm4, xmm4
mov eax, dword [edi + 0x38]
or ebx, 0xffffffff
addss xmm0, dword [edi + 0xe5c]
mov edx, dword [edi + 0x3c]
mov ecx, 1
mov dword [ebp - 0x118], esi
lea eax, [esi + eax*2]
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x130], eax
mov eax, dword [edi + 0x40]
movss dword [edi + 0xe5c], xmm0
mov dword [ebp - 0x120], 0xfffffc19
cmp edx, eax
je 0x1002e17d
cmovl eax, edx
mov dword [ebp - 0x120], ebx
mov ecx, 2
lea eax, [esi + eax*2]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0xb4]
xor esi, esi
movzx eax, al
add ecx, eax
mov eax, dword [ebp - 0x118]
mov edx, eax
movzx eax, word [eax]
test ax, ax
je 0x1002e1f7
mov esi, eax
xor edi, edi
nop
cmp si, 0xa
jne 0x1002e1d7
inc edi
cmp ebx, 0xffffffff
jne 0x1002e1bb
cmp edx, dword [ebp - 0x130]
jb 0x1002e1bb
dec ecx
mov ebx, edi
test ecx, ecx
jle 0x1002e1e5
cmp dword [ebp - 0x120], 0xffffffff
jne 0x1002e1d7
cmp edx, dword [ebp - 0xa0]
jb 0x1002e1d7
dec ecx
mov dword [ebp - 0x120], edi
test ecx, ecx
jle 0x1002e1e5
movzx eax, word [edx + 2]
add edx, 2
mov esi, eax
test ax, ax
jne 0x1002e1a0
mov dword [ebp - 0xf8], edi
mov edi, dword [ebp - 0xfc]
mov esi, dword [ebp - 0xf8]
mov edx, dword [ebp - 0x118]
inc esi
cmp ebx, 0xffffffff
mov dword [ebp - 0xf8], esi
mov eax, esi
cmovne eax, ebx
mov ebx, dword [ebp - 0x130]
mov dword [ebp - 0xe8], eax
mov ecx, ebx
mov eax, dword [ebp - 0x120]
cmp eax, 0xffffffff
cmove eax, esi
mov dword [ebp - 0x120], eax
cmp ebx, edx
jbe 0x1002e23e
cmp word [ecx - 2], 0xa
je 0x1002e23e
add ecx, 0xfffffffe
cmp ecx, edx
ja 0x1002e230
mov eax, dword [0x1008794c]
movaps xmm1, xmm7
movaps xmm3, xmm7
mov esi, dword [eax + 0x1858]
movss xmm2, dword [eax + 0x185c]
divss xmm2, dword [esi]
cmp ecx, ebx
jae 0x1002e2a3
nop
movzx eax, word [ecx]
add ecx, 2
mov edx, eax
cmp eax, 0xa
jne 0x1002e276
maxss xmm1, xmm3
movaps xmm3, xmm7
jmp 0x1002e299
cmp edx, 0xd
je 0x1002e299
mov edx, eax
cmp edx, dword [esi + 0x1c]
jge 0x1002e28c
mov eax, dword [esi + 0x24]
movss xmm0, dword [eax + edx*4]
jmp 0x1002e291
movss xmm0, dword [esi + 0x38]
mulss xmm0, xmm2
addss xmm3, xmm0
cmp ecx, ebx
jb 0x1002e260
mov edx, dword [ebp - 0x118]
movd xmm5, dword [ebp - 0xe8]
maxss xmm3, xmm1
mov ecx, dword [ebp - 0x98]
mov ebx, dword [ebp - 0x120]
cvtdq2ps xmm5, xmm5
movss xmm0, dword [ecx + 0x185c]
mulss xmm5, xmm0
movss dword [ebp - 0x14c], xmm3
movss dword [ebp - 0x148], xmm5
test ebx, ebx
js 0x1002e390
mov ecx, dword [ebp - 0xa0]
cmp ecx, edx
jbe 0x1002e2fe
nop dword [eax]
cmp word [ecx - 2], 0xa
je 0x1002e2fe
add ecx, 0xfffffffe
cmp ecx, edx
ja 0x1002e2f0
movaps xmm1, xmm7
mov eax, dword [0x1008794c]
movaps xmm4, xmm7
mov esi, dword [eax + 0x1858]
movss xmm2, dword [eax + 0x185c]
divss xmm2, dword [esi]
cmp ecx, dword [ebp - 0xa0]
jae 0x1002e373
mov edi, dword [ebp - 0xa0]
nop dword [eax]
movzx eax, word [ecx]
add ecx, 2
mov edx, eax
cmp eax, 0xa
jne 0x1002e346
maxss xmm1, xmm4
movaps xmm4, xmm7
jmp 0x1002e369
cmp edx, 0xd
je 0x1002e369
mov edx, eax
cmp edx, dword [esi + 0x1c]
jge 0x1002e35c
mov eax, dword [esi + 0x24]
movss xmm0, dword [eax + edx*4]
jmp 0x1002e361
movss xmm0, dword [esi + 0x38]
mulss xmm0, xmm2
addss xmm4, xmm0
cmp ecx, edi
jb 0x1002e330
mov edi, dword [ebp - 0xfc]
mov ecx, dword [ebp - 0x98]
maxss xmm4, xmm1
movd xmm6, ebx
cvtdq2ps xmm6, xmm6
movss xmm0, dword [ecx + 0x185c]
mulss xmm6, xmm0
mov edx, dword [ebp - 0xb4]
test dl, dl
je 0x1002e3c3
movd xmm1, dword [ebp - 0xf8]
cvtdq2ps xmm1, xmm1
mulss xmm1, xmm0
movss xmm0, dword [ebp - 0xdc]
movss dword [ebp - 0xa8], xmm0
movss dword [ebp - 0xc4], xmm1
jmp 0x1002e3cb
movss xmm0, dword [ebp - 0xdc]
cmp byte [edi + 0xe60], 0
je 0x1002e48d
test dword [ebp + 0x10], 0x1000
jne 0x1002e426
movss xmm2, dword [edi + 0x34]
movaps xmm1, xmm3
comiss xmm2, xmm3
mulss xmm0, dword [0x10083d30]
jbe 0x1002e403
subss xmm1, xmm0
movaps xmm0, xmm7
maxss xmm0, xmm1
jmp 0x1002e414
subss xmm1, dword [ebp - 0xdc]
comiss xmm1, xmm2
jb 0x1002e42d
addss xmm0, xmm1
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x34], xmm0
jmp 0x1002e42d
mov dword [edi + 0x34], 0
test dl, dl
je 0x1002e48d
mov eax, dword [ebp - 0xd4]
movaps xmm1, xmm5
subss xmm1, dword [ecx + 0x185c]
movss xmm2, dword [eax + 0x58]
comiss xmm2, xmm1
jbe 0x1002e455
movaps xmm0, xmm7
maxss xmm0, xmm1
jmp 0x1002e464
movaps xmm0, xmm5
subss xmm0, dword [ebp - 0x11c]
maxss xmm0, xmm2
subss xmm2, xmm0
movss dword [eax + 0x58], xmm0
addss xmm2, dword [eax + 0xcc]
movss dword [ebp - 0xe0], xmm2
movss dword [eax + 0xcc], xmm2
movss dword [ebp - 0x108], xmm2
movss xmm5, dword [edi + 0x34]
mov ecx, dword [edi + 0x40]
mov edx, dword [edi + 0x3c]
mov byte [edi + 0xe60], 0
movss dword [ebp - 0xf8], xmm5
cmp edx, ecx
je 0x1002e86f
mov ebx, dword [ebp - 0x118]
mov eax, ecx
cmovl eax, edx
cmovge ecx, edx
cmp byte [ebp - 0xb4], 0
lea esi, [ebx + eax*2]
lea ebx, [ebx + ecx*2]
je 0x1002e4d6
movss dword [ebp - 0x12c], xmm7
jmp 0x1002e4de
movss xmm7, dword [0x10083e1c]
mov eax, dword [0x1008794c]
xorps xmm3, xmm3
movss dword [ebp - 0x118], xmm7
movups xmm1, xmmword [eax + 0x17f8]
comiss xmm3, xmm1
movaps xmm2, xmm1
shufps xmm2, xmm1, 0xff
mulss xmm2, dword [eax + 0x1510]
movups xmmword [ebp - 0xf4], xmm1
jbe 0x1002e515
xorps xmm0, xmm0
jmp 0x1002e521
movss xmm0, dword [0x10083d78]
minss xmm0, xmm1
mulss xmm0, dword [0x10083e84]
movss xmm1, dword [ebp - 0xf0]
comiss xmm3, xmm1
addss xmm0, dword [0x10083d44]
cvttss2si ecx, xmm0
jbe 0x1002e547
xorps xmm0, xmm0
jmp 0x1002e553
movss xmm0, dword [0x10083d78]
minss xmm0, xmm1
mulss xmm0, dword [0x10083e84]
movss xmm1, dword [ebp - 0xec]
addss xmm0, dword [0x10083d44]
cvttss2si eax, xmm0
shl eax, 8
or ecx, eax
comiss xmm3, xmm1
jbe 0x1002e57e
xorps xmm0, xmm0
jmp 0x1002e58a
movss xmm0, dword [0x10083d78]
minss xmm0, xmm1
movss xmm1, dword [0x10083e84]
mulss xmm0, xmm1
addss xmm0, dword [0x10083d44]
cvttss2si eax, xmm0
shl eax, 0x10
or ecx, eax
comiss xmm3, xmm2
jbe 0x1002e5b1
xorps xmm0, xmm0
jmp 0x1002e5bd
movss xmm0, dword [0x10083d78]
minss xmm0, xmm2
mulss xmm0, xmm1
addss xmm0, dword [0x10083d44]
cvttss2si eax, xmm0
shl eax, 0x18
or eax, ecx
mov ecx, dword [ebp - 0x114]
mov dword [ebp - 0xe8], eax
movss xmm0, dword [ecx]
movaps xmm3, xmm0
addss xmm3, xmm4
xorps xmm4, xmm4
subss xmm3, xmm5
movss xmm5, dword [ebp - 0xe0]
addss xmm5, xmm6
subss xmm5, xmm4
movss dword [ebp - 0x130], xmm5
cmp esi, ebx
jae 0x1002e862
movss xmm6, dword [ebp - 0xa4]
mov edi, eax
mov edx, dword [ebp - 0x98]
movaps xmm0, xmm6
addss xmm0, dword [edx + 0x185c]
comiss xmm5, xmm0
ja 0x1002e847
movss xmm0, dword [ebp - 0x104]
comiss xmm0, xmm5
jbe 0x1002e669
cmp esi, ebx
jae 0x1002e805
nop dword [eax]
mov ax, word [esi]
add esi, 2
cmp ax, 0xa
je 0x1002e805
cmp esi, ebx
jb 0x1002e650
jmp 0x1002e805
mov eax, dword [0x1008794c]
xorps xmm0, xmm0
xorps xmm4, xmm4
xorps xmm1, xmm1
mov edx, dword [eax + 0x1858]
movss xmm2, dword [eax + 0x185c]
divss xmm2, dword [edx]
cmp esi, ebx
jae 0x1002e6d7
nop dword [eax]
movzx eax, word [esi]
add esi, 2
mov ecx, eax
cmp eax, 0xa
je 0x1002e6c4
cmp ecx, 0xd
je 0x1002e6be
cmp ecx, dword [edx + 0x1c]
jge 0x1002e6b1
mov eax, dword [edx + 0x24]
movss xmm0, dword [eax + ecx*4]
jmp 0x1002e6b6
movss xmm0, dword [edx + 0x38]
mulss xmm0, xmm2
addss xmm1, xmm0
cmp esi, ebx
jb 0x1002e690
jmp 0x1002e6ce
xorps xmm4, xmm4
maxss xmm4, xmm1
xorps xmm1, xmm1
mov ecx, dword [ebp - 0x114]
xorps xmm0, xmm0
maxss xmm1, xmm4
comiss xmm0, xmm1
jb 0x1002e717
mov eax, dword [ebp - 0x98]
mov eax, dword [eax + 0x1858]
cmp dword [eax + 0x1c], 0x20
jle 0x1002e6ff
mov eax, dword [eax + 0x24]
movss xmm0, dword [eax + 0x80]
jmp 0x1002e704
movss xmm0, dword [eax + 0x38]
mulss xmm0, dword [0x10083d44]
cvttss2si eax, xmm0
movd xmm1, eax
cvtdq2ps xmm1, xmm1
mov edx, dword [ebp - 0x98]
addss xmm1, xmm3
movss xmm2, dword [ebp - 0x12c]
movaps xmm0, xmm7
movss xmm7, dword [ebp - 0x128]
addss xmm0, xmm5
xorps xmm4, xmm4
subss xmm2, dword [edx + 0x185c]
addss xmm3, xmm4
movss xmm4, dword [ebp - 0xc0]
minss xmm1, xmm4
minss xmm0, xmm6
addss xmm2, xmm5
maxss xmm3, xmm7
movss dword [ebp - 0xec], xmm1
comiss xmm0, dword [ebp - 0x104]
maxss xmm2, dword [ebp - 0x104]
movss dword [ebp - 0xf4], xmm3
movss dword [ebp - 0xe8], xmm0
movss dword [ebp - 0xf0], xmm2
jbe 0x1002e805
comiss xmm6, xmm2
jbe 0x1002e805
comiss xmm1, xmm7
jbe 0x1002e805
comiss xmm4, xmm3
jbe 0x1002e805
push 0xf
push ecx
mov dword [esp], 0
lea eax, [ebp - 0xec]
push edi
push eax
lea eax, [ebp - 0xf4]
push eax
mov eax, dword [ebp - 0xd4]
mov ecx, dword [eax + 0x284]
call fcn.1001f4a0
movss xmm0, dword [ebp - 0x100]
movss xmm5, dword [ebp - 0x130]
movss xmm6, dword [ebp - 0xa4]
mov ecx, dword [ebp - 0x114]
mov edx, dword [ebp - 0x98]
movss dword [ebp - 0x100], xmm0
movss xmm0, dword [ebp - 0x110]
movss dword [ebp - 0x110], xmm0
movss xmm0, dword [ecx]
movss xmm7, dword [ebp - 0x118]
movaps xmm3, xmm0
addss xmm5, dword [edx + 0x185c]
subss xmm3, dword [ebp - 0xf8]
movss dword [ebp - 0x130], xmm5
cmp esi, ebx
jb 0x1002e620
movss xmm5, dword [ebp - 0xf8]
xorps xmm7, xmm7
mov edi, dword [ebp - 0xfc]
jmp 0x1002e877
movss xmm0, dword [ebp - 0xcc]
xorps xmm7, xmm7
movss xmm5, dword [ebp - 0xf8]
mov edi, dword [ebp - 0xfc]
jmp 0x1002e877
movss xmm5, dword [ebp - 0xf8]
xorps xmm7, xmm7
jmp 0x1002e877
movss xmm0, dword [ebp - 0xcc]
cmp byte [ebp - 0xb4], 0
mov ecx, dword [edi + 0x28]
jne 0x1002e88f
cmp ecx, 0x200000
jge 0x1002eb5e
mov eax, dword [0x1008794c]
subss xmm0, xmm5
movss xmm5, dword [0x10083d78]
movups xmm2, xmmword [eax + 0x15a8]
movss dword [ebp - 0x134], xmm0
comiss xmm7, xmm2
movss xmm0, dword [ebp - 0xe0]
movaps xmm1, xmm2
subss xmm0, xmm7
shufps xmm1, xmm2, 0xff
mulss xmm1, dword [eax + 0x1510]
movups xmmword [ebp - 0xf4], xmm2
movss dword [ebp - 0x130], xmm0
jbe 0x1002e8e3
movaps xmm0, xmm7
jmp 0x1002e8ea
movaps xmm0, xmm5
minss xmm0, xmm2
movss xmm3, dword [0x10083e84]
movss xmm4, dword [0x10083d44]
movss xmm2, dword [ebp - 0xf0]
comiss xmm7, xmm2
mulss xmm0, xmm3
addss xmm0, xmm4
cvttss2si ebx, xmm0
jbe 0x1002e918
movaps xmm0, xmm7
jmp 0x1002e91f
movaps xmm0, xmm5
minss xmm0, xmm2
movss xmm2, dword [ebp - 0xec]
mulss xmm0, xmm3
addss xmm0, xmm4
cvttss2si eax, xmm0
shl eax, 8
or ebx, eax
comiss xmm7, xmm2
jbe 0x1002e942
movaps xmm0, xmm7
jmp 0x1002e949
movaps xmm0, xmm5
minss xmm0, xmm2
mulss xmm0, xmm3
addss xmm0, xmm4
cvttss2si eax, xmm0
shl eax, 0x10
or ebx, eax
comiss xmm7, xmm1
jbe 0x1002e964
movaps xmm0, xmm7
jmp 0x1002e96b
movaps xmm0, xmm5
minss xmm0, xmm1
mulss xmm0, xmm3
lea edi, [ebp - 0x18]
addss xmm0, xmm4
cvttss2si eax, xmm0
shl eax, 0x18
or ebx, eax
mov eax, dword [ebp - 0xd4]
mov esi, dword [eax + 0x284]
mov eax, dword [ebp - 0x98]
mov edx, dword [eax + 0x1858]
movss xmm0, dword [eax + 0x185c]
mov eax, dword [ebp - 0xb0]
add eax, ecx
mov dword [ebp - 0xa4], edx
xor ecx, ecx
movss dword [ebp - 0x12c], xmm0
cmp byte [ebp - 0xb4], cl
mov dword [ebp - 0xc0], eax
cmovne edi, ecx
test ebx, 0xff000000
je 0x1002eb5e
test eax, eax
jne 0x1002ea00
mov ecx, dword [ebp - 0xb0]
lea eax, [ecx + 1]
mov dword [ebp - 0xe8], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002e9e5
sub ecx, dword [ebp - 0xe8]
mov eax, dword [ebp - 0xb0]
add eax, ecx
mov dword [ebp - 0xc0], eax
cmp dword [ebp - 0xb0], eax
je 0x1002eb5e
test edx, edx
jne 0x1002ea1c
mov eax, dword [esi + 0x28]
mov eax, dword [eax + 8]
mov dword [ebp - 0xa4], eax
ucomiss xmm0, xmm7
lahf
test ah, 0x44
jp 0x1002ea35
mov eax, dword [esi + 0x28]
movss xmm0, dword [eax + 0xc]
movss dword [ebp - 0x12c], xmm0
cmp dword [esi + 0x48], 0
jg 0x1002ea53
push 0x4f9
push 0x1007fa10
push 0x10081dc4
call dword [ebp - 0xc8]
add esp, 0xc
mov eax, dword [ebp - 0xa4]
mov edx, dword [esi + 0x48]
mov ecx, dword [esi + 0x50]
mov eax, dword [eax + 0x44]
mov eax, dword [eax + 8]
cmp eax, dword [ecx + edx*4 - 4]
je 0x1002ea83
push 0x481
push 0x10082560
push 0x10082710
call dword [ebp - 0xc8]
add esp, 0xc
cmp dword [esi + 0x3c], 0
jg 0x1002eaa1
push 0x4f9
push 0x1007fa10
push 0x10081dc4
call dword [ebp - 0xc8]
add esp, 0xc
mov ecx, dword [esi + 0x3c]
mov eax, dword [esi + 0x44]
shl ecx, 4
movups xmm0, xmmword [ecx + eax - 0x10]
movups xmmword [ebp - 0xf4], xmm0
test edi, edi
je 0x1002eb1b
movss xmm1, dword [edi]
movss xmm0, dword [ebp - 0xf4]
comiss xmm0, xmm1
jae 0x1002ead3
movss dword [ebp - 0xf4], xmm1
movss xmm1, dword [edi + 4]
movss xmm0, dword [ebp - 0xf0]
comiss xmm0, xmm1
jae 0x1002eaed
movss dword [ebp - 0xf0], xmm1
movss xmm0, dword [edi + 8]
comiss xmm0, dword [ebp - 0xec]
ja 0x1002eb03
movss dword [ebp - 0xec], xmm0
movss xmm0, dword [edi + 0xc]
comiss xmm0, dword [ebp - 0xe8]
ja 0x1002eb19
movss dword [ebp - 0xe8], xmm0
test edi, edi
movss xmm2, dword [ebp - 0x12c]
setne al
movzx eax, al
push eax
push ecx
mov ecx, dword [ebp - 0xa4]
lea eax, [ebp - 0xf4]
mov dword [esp], 0
push dword [ebp - 0xc0]
push dword [ebp - 0xb0]
push eax
push ebx
push dword [ebp - 0x130]
push dword [ebp - 0x134]
push esi
call fcn.10022320
mov ebx, dword [ebp - 0x98]
cmp byte [ebx + 0xbe], 0
je 0x1002ebbc
movss xmm0, dword [ebx + 0x2ac4]
xorps xmm4, xmm4
comiss xmm4, xmm0
jae 0x1002ebbc
cvtps2pd xmm0, xmm0
movsd qword [ebp - 0xec], xmm0
fld qword [ebp - 0xec]
fld qword [0x10083df0]
call fcn.1003cdbe
movss xmm0, dword [0x10083d68]
fstp qword [ebp - 0xec]
movsd xmm1, qword [ebp - 0xec]
cvtpd2ps xmm1, xmm1
comiss xmm0, xmm1
jae 0x1002ebbc
xor al, al
jmp 0x1002ebbe
mov al, 1
movss xmm2, dword [ebp - 0xe0]
xorps xmm7, xmm7
mov ecx, dword [ebp - 0x114]
movss xmm6, dword [0x10083d44]
movss xmm4, dword [0x10083d78]
addss xmm2, dword [ebp - 0x148]
movss xmm5, dword [ecx]
addss xmm5, dword [ebp - 0x14c]
subss xmm2, xmm7
subss xmm5, dword [ebp - 0xf8]
movss dword [ebp - 0xe0], xmm2
movaps xmm0, xmm2
movaps xmm3, xmm2
movss dword [ebp - 0xcc], xmm5
movaps xmm1, xmm5
movss dword [ebp - 0x18], xmm5
addss xmm1, xmm4
subss xmm0, dword [ebx + 0x185c]
subss xmm3, dword [0x10083de0]
movss dword [ebp - 0x10], xmm1
addss xmm0, xmm6
movss dword [ebp - 0xc], xmm3
movss dword [ebp - 0x14], xmm0
test al, al
je 0x1002ed97
comiss xmm3, dword [ebp - 0x104]
jbe 0x1002ed97
movss xmm4, dword [ebp - 0x110]
comiss xmm4, xmm0
jbe 0x1002ed8f
comiss xmm1, dword [ebp - 0x128]
jbe 0x1002ed8f
movss xmm0, dword [ebp - 0x100]
comiss xmm0, xmm5
jbe 0x1002ed8f
mov eax, dword [0x1008794c]
movups xmm2, xmmword [eax + 0x15a8]
comiss xmm7, xmm2
movaps xmm1, xmm2
shufps xmm1, xmm2, 0xff
mulss xmm1, dword [eax + 0x1510]
movups xmmword [ebp - 0x30], xmm2
jbe 0x1002ecb1
xorps xmm0, xmm0
jmp 0x1002ecbd
movss xmm0, dword [0x10083d78]
minss xmm0, xmm2
movss xmm4, dword [0x10083e84]
movss xmm2, dword [ebp - 0x2c]
comiss xmm7, xmm2
mulss xmm0, xmm4
addss xmm0, xmm6
cvttss2si ecx, xmm0
jbe 0x1002ece0
xorps xmm0, xmm0
jmp 0x1002ecec
movss xmm0, dword [0x10083d78]
minss xmm0, xmm2
movss xmm2, dword [ebp - 0x28]
mulss xmm0, xmm4
addss xmm0, xmm6
cvttss2si eax, xmm0
shl eax, 8
or ecx, eax
comiss xmm7, xmm2
jbe 0x1002ed0c
xorps xmm0, xmm0
jmp 0x1002ed18
movss xmm0, dword [0x10083d78]
minss xmm0, xmm2
mulss xmm0, xmm4
addss xmm0, xmm6
cvttss2si eax, xmm0
shl eax, 0x10
or ecx, eax
comiss xmm7, xmm1
jbe 0x1002ed33
xorps xmm0, xmm0
jmp 0x1002ed3f
movss xmm0, dword [0x10083d78]
minss xmm0, xmm1
mulss xmm0, xmm4
push ecx
mov dword [esp], 0x3f800000
movss dword [ebp - 0x28], xmm5
addss xmm0, xmm6
movss dword [ebp - 0x24], xmm3
cvttss2si eax, xmm0
shl eax, 0x18
or eax, ecx
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0xd4]
mov ecx, dword [eax + 0x284]
call fcn.1001f260
movss xmm2, dword [ebp - 0xe0]
xorps xmm7, xmm7
movss xmm5, dword [ebp - 0xcc]
movss xmm4, dword [0x10083d78]
cmp byte [ebp - 0xd0], 0
je 0x1002edbc
subss xmm2, dword [ebx + 0x185c]
subss xmm5, xmm4
movss dword [ebx + 0x2b70], xmm2
movss dword [ebx + 0x2b6c], xmm5
movss xmm4, dword [ebp - 0xc4]
movss xmm5, dword [ebp - 0xa8]
jmp 0x1002df62