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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x150
mov eax, dword [0x100860c0]
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 [0x1008694c]
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 0x1002bc2f
mov ecx, dword [ebp + 0x10]
mov eax, ecx
mov esi, dword [fcn.1003d258]
and eax, 0x100080
mov dword [ebp - 0xc8], esi
cmp eax, 0x100080
jne 0x1002b798
push 0xc64
push 0x10082198
push 0x100824c0
call esi
mov ecx, dword [ebp + 0x10]
add esp, 0xc
mov eax, ecx
and eax, 0x440
cmp eax, 0x440
jne 0x1002b7bd
push 0xc65
push 0x10082198
push 0x10082578
call esi
mov ecx, dword [ebp + 0x10]
add esp, 0xc
mov eax, dword [0x1008694c]
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 0x1002b82f
push 0xc71
push 0x10082198
push 0x10082640
call esi
add esp, 0xc
cmp byte [ebp - 0xb4], 0
je 0x1002b83d
call fcn.1000f540
cmp dword [ebx + 0x1d0], 0
jg 0x1002b85a
push 0x4f9
push 0x1007e9f0
push 0x10080d94
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.10003dd0
mov esi, dword [0x1008694c]
add esp, 4
mov dword [ebp - 0xbc], eax
cmp dword [esi + 0x194c], eax
jne 0x1002b890
mov dword [esi + 0x1954], eax
cmp dword [esi + 0x1950], eax
jne 0x1002b89f
mov byte [esi + 0x195f], 1
mov ecx, edi
cmp edi, 0xffffffff
jae 0x1002b8bc
mov dl, byte [ecx]
test dl, dl
je 0x1002b8bc
cmp dl, 0x23
jne 0x1002b8b6
cmp byte [ecx + 1], dl
je 0x1002b8bc
inc ecx
cmp ecx, 0xffffffff
jb 0x1002b8a6
movss xmm2, dword [esi + 0x185c]
mov eax, dword [ebp - 0x144]
movss xmm0, dword [0x10082e60]
mov edi, dword [esi + 0x1858]
movss dword [ebp - 0xa0], xmm2
movss dword [ebp - 0x12c], xmm0
cmp eax, ecx
jne 0x1002b8f9
xorps xmm5, xmm5
movss dword [ebp - 0x140], xmm5
jmp 0x1002b965
movss xmm3, dword [0x10082e50]
push ecx
push ecx
push eax
push ecx
lea eax, [ebp - 0x10c]
mov dword [esp], 0xbf800000
push eax
mov ecx, edi
call fcn.10022250
movss xmm1, dword [ebp - 0x10c]
xorps xmm5, xmm5
comiss xmm1, xmm5
jbe 0x1002b93a
movss xmm0, dword [ebp - 0xa0]
divss xmm0, dword [edi]
subss xmm1, xmm0
addss xmm1, dword [0x10082d14]
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 0x1002b98b
mov eax, dword [0x1008694c]
movss xmm2, dword [eax + 0x185c]
mulss xmm2, dword [0x10082ddc]
movss dword [ebp - 0xa0], xmm2
mov eax, dword [0x1008694c]
mov esi, dword [eax + 0x1930]
movss xmm0, dword [esi + 0x170]
comiss xmm5, xmm0
movss dword [ebp - 0xc0], xmm0
jbe 0x1002ba0f
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 0x1002b9f3
mov ecx, dword [ecx + 0xc]
inc ecx
call fcn.10013d10
movss xmm2, dword [ebp - 0xa0]
movaps xmm1, xmm0
subss xmm1, dword [esi + 0x3c]
xorps xmm5, xmm5
subss xmm1, dword [ebp - 0x124]
movss xmm0, dword [0x10082d18]
addss xmm1, dword [ebp - 0xc0]
maxss xmm0, xmm1
cvttss2si eax, xmm0
mov esi, dword [0x1008694c]
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 0x1002ba72
comiss xmm5, xmm7
jbe 0x1002bab6
lea ecx, [ebp - 0x28]
call fcn.1000f2d0
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 [0x10082dcc]
jb 0x1002bafa
ucomiss xmm6, xmm5
lahf
test ah, 0x44
jp 0x1002bad9
movaps xmm6, xmm4
movss dword [ebp - 0xdc], xmm6
jmp 0x1002bafa
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 0x1002bb36
ucomiss xmm7, xmm5
lahf
test ah, 0x44
jp 0x1002bb15
movaps xmm7, xmm3
movss dword [ebp - 0x11c], xmm7
jmp 0x1002bb36
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 0x1002bb85
addss xmm2, dword [esi + 0x155c]
jmp 0x1002bb88
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 0x1002bc81
mov edx, dword [ebp - 0xbc]
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x18]
call fcn.10006c60
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.10009ac0
add esp, 4
test al, al
jne 0x1002bc42
call fcn.100098e0
call fcn.1000f6a0
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.1003b130
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x1008694c]
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 0x1002bcf0
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.10006af0
mov edx, dword [ebp - 0xbc]
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x18]
call fcn.10006c60
add esp, 4
test al, al
je 0x1002bc2f
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.10006ea0
mov byte [ebp - 0xaa], al
test al, al
je 0x1002bd12
mov dword [esi + 0x1be0], 1
cmp byte [ebp - 0x138], 0
je 0x1002bdd5
mov edx, dword [esi + 0x1858]
cmp dword [edx + 0x28], 0x2a
jg 0x1002bd30
mov edi, dword [edx + 0x34]
jmp 0x1002bd4f
mov eax, dword [edx + 0x30]
mov ecx, 0xffff
movzx eax, word [eax + 0x54]
cmp ax, cx
jne 0x1002bd46
mov edi, dword [edx + 0x34]
jmp 0x1002bd4f
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 0x1002bdb6
cmp dword [esi + 0x1c], 0
jne 0x1002bdb6
cmp dword [esi + 0x28], 0
je 0x1002bdce
push 0xca0
push 0x10082198
push 0x10082660
call dword [ebp - 0xc8]
add esp, 0xc
mov ecx, esi
call fcn.1000edc0
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.10007000
add esp, 4
mov byte [ebp - 0xb5], al
test al, al
je 0x1002becf
mov ecx, dword [ebx + 0x338]
cmp ecx, dword [ebx + 0x340]
jne 0x1002becf
mov byte [ebp - 0x9c], 1
mov byte [ebp - 0xab], 0
cmp byte [ebp - 0xaa], 0
je 0x1002be4c
cmp byte [esi + 0x3f0], 0
mov byte [ebp - 0x9b], 1
jne 0x1002be53
mov byte [ebp - 0x9b], 0
cmp byte [ebp - 0xb4], 0
je 0x1002bef1
cmp dword [esi + 0x194c], 0
jne 0x1002bef1
mov eax, dword [ebp - 0xbc]
cmp dword [edi], eax
jne 0x1002bef1
mov eax, dword [ebp - 0xd4]
cmp dword [eax + 0x1d0], 0
jg 0x1002bea4
push 0x4f9
push 0x1007e9f0
push 0x10080d94
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, 0x10082220
call fcn.10003dd0
add esp, 4
cmp dword [esi + 0x1950], eax
jne 0x1002bef1
mov cl, 1
jmp 0x1002bef3
mov byte [ebp - 0x9c], 0
test al, al
je 0x1002be2c
mov byte [ebp - 0xab], 1
mov byte [ebp - 0x9c], 0
jmp 0x1002be33
xor cl, cl
mov eax, dword [esi + 0x194c]
mov edx, dword [ebp - 0xbc]
cmp eax, edx
je 0x1002bf2d
cmp dword [esi + 0x1a44], edx
je 0x1002bf1c
cmp dword [esi + 0x1a38], edx
jne 0x1002bf2d
cmp dword [esi + 0x1a54], 3
jne 0x1002bf2d
mov dl, 1
mov byte [ebp - 0xa9], 0
mov byte [ebp - 0x99], dl
jmp 0x1002bf44
xor dl, dl
mov byte [ebp - 0xa9], 0
mov byte [ebp - 0x99], dl
cmp eax, dword [ebp - 0xbc]
je 0x1002bf5e
test byte [ebp + 0x10], 0x10
jne 0x1002bf4e
test dl, dl
je 0x1002bf5e
cmp byte [ebp - 0xb4], 0
mov byte [ebp - 0xa8], 1
je 0x1002bf65
mov byte [ebp - 0xa8], 0
cmp byte [ebp - 0xb5], 0
jne 0x1002bf99
cmp byte [ebp - 0x9b], 0
jne 0x1002bf99
test cl, cl
jne 0x1002bf99
test dl, dl
jne 0x1002bf99
mov ebx, esi
cmp byte [ebx + 0x3f0], dl
je 0x1002c1a8
mov byte [ebp - 0xa9], 1
jmp 0x1002c1a8
mov eax, dword [ebp - 0xbc]
cmp dword [esi + 0x194c], eax
je 0x1002c16b
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 0x1002bfc0
mov edx, dword [ebp + 8]
sub esi, ecx
mov eax, dword [edi + 8]
inc edx
mov dword [ebp - 0xa4], edx
cmp edx, eax
jle 0x1002c00b
test eax, eax
je 0x1002bff0
cdq
sub eax, edx
mov edx, dword [ebp - 0xa4]
mov ecx, eax
sar ecx, 1
add ecx, dword [edi + 8]
jmp 0x1002bff5
mov ecx, 8
cmp ecx, edx
mov eax, edx
cmovg eax, ecx
lea ecx, [edi + 4]
push eax
call fcn.10016080
mov edx, dword [ebp - 0xa4]
inc esi
mov dword [edi + 4], edx
push esi
lea ecx, [edi + 0x10]
call fcn.10015f50
push esi
mov esi, dword [ebp - 0xb0]
push esi
push dword [edi + 0x18]
call fcn.1003c004
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.10004330
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 0x1002c0a2
cmp dword [ebp - 0xc0], edx
jne 0x1002c0a2
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 0x1002c11a
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 0x1002c11a
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 0x1002c127
mov byte [edi + 0x44], 1
test cl, cl
jne 0x1002c16b
cmp byte [ebp - 0xab], cl
jne 0x1002c149
cmp byte [ebp - 0x9b], cl
je 0x1002c16b
mov eax, dword [ebp - 0x98]
cmp byte [eax + 0xf0], cl
je 0x1002c16b
mov ecx, dword [ebp - 0xbc]
mov edx, ebx
mov byte [ebp - 0xa8], 1
call fcn.10006950
call fcn.10006a10
mov ecx, ebx
call fcn.1000e940
jmp 0x1002c18d
mov ecx, dword [ebp - 0xbc]
mov edx, ebx
call fcn.10006950
call fcn.10006a10
mov ecx, ebx
call fcn.1000e940
cmp byte [ebp - 0xb4], 0
jne 0x1002c1a2
test byte [ebp + 0x10], 0x80
mov ebx, dword [ebp - 0x98]
jne 0x1002c1a8
or dword [ebx + 0x1964], 0xc
jmp 0x1002c1a8
mov ebx, dword [ebp - 0x98]
mov ecx, dword [ebp - 0xbc]
movss xmm0, dword [0x10082ce4]
mov byte [ebp - 0xb5], 0
mov byte [ebp - 0xab], 0
mov dword [ebp - 0x100], 0
cmp dword [ebx + 0x194c], ecx
jne 0x1002c5b2
cmp byte [ebp - 0xd0], 0
jne 0x1002c296
cmp byte [ebx + 0x195c], 0
jne 0x1002c296
mov ebx, dword [ebp + 8]
lea eax, [edi + 4]
mov esi, dword [eax + 4]
inc ebx
cmp ebx, esi
jle 0x1002c233
test esi, esi
je 0x1002c213
mov eax, esi
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
add ecx, esi
jmp 0x1002c218
mov ecx, 8
cmp ecx, ebx
mov eax, ebx
cmovg eax, ecx
lea ecx, [edi + 4]
push eax
call fcn.10016080
movss xmm0, dword [0x10082ce4]
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.10004330
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 0x1002c322
mov eax, dword [ebp - 0xd4]
movss xmm2, dword [ebx + 0xdc]
subss xmm2, dword [eax + 0xcc]
subss xmm2, dword [ebx + 0x1548]
jmp 0x1002c32e
movss xmm2, dword [ebx + 0x185c]
mulss xmm2, xmm0
cmp byte [ebp - 0xa8], 0
mov bl, byte [ebx + 0xbd]
jne 0x1002c4b6
mov al, byte [ebp - 0xaa]
mov ecx, dword [ebp - 0x98]
test al, al
je 0x1002c361
test bl, bl
jne 0x1002c3c6
cmp byte [ecx + 0x3f5], bl
jne 0x1002c4b6
cmp byte [ecx + 0x3f0], 0
je 0x1002c41d
cmp byte [edi + 0xe61], 0
jne 0x1002c41d
test al, al
je 0x1002c4d1
cmp byte [edi + 0x48], 0
je 0x1002c39d
push 0
mov edx, edi
lea ecx, [ebp - 0x20]
call fcn.10029a20
movss xmm2, dword [ebp - 0x14]
add esp, 4
movaps xmm1, xmm7
mov ecx, edi
call fcn.10029d90
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 0x1002c4d1
cmp byte [ecx + 0x3f5], 0
je 0x1002c361
push 0x1000c
lea edx, [edi + 0x38]
mov ecx, edi
call fcn.1002a1f0
add esp, 4
mov byte [edi + 0xe60], 1
lea edx, [edi + 0x38]
mov dword [edi + 0xe5c], 0xbe99999a
mov ecx, edi
push 0x3000d
call fcn.1002a1f0
mov edx, dword [ebp + 0x10]
add esp, 4
mov byte [edi + 0xe60], 1
mov dword [edi + 0xe5c], 0xbe99999a
jmp 0x1002c4d1
mov eax, dword [ebp - 0x98]
cmp byte [eax + 0xe0], 0
je 0x1002c4d7
cmp byte [edi + 0xe61], 0
jne 0x1002c4e0
movss xmm0, dword [eax + 0x38c]
xorps xmm1, xmm1
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x1002c468
mov eax, dword [ebp - 0x98]
movss xmm0, dword [eax + 0x390]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x1002c4d1
cmp byte [edi + 0x48], 0
je 0x1002c482
push 0
mov edx, edi
lea ecx, [ebp - 0x20]
call fcn.10029a20
movss xmm2, dword [ebp - 0x14]
add esp, 4
mov eax, dword [edi + 0x3c]
cmp eax, dword [edi + 0x40]
jne 0x1002c490
mov eax, dword [edi + 0x38]
mov dword [edi + 0x3c], eax
movaps xmm1, xmm7
mov ecx, edi
call fcn.10029d90
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 0x1002c4d1
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 0x1002c4f0
cmp byte [eax + 0xe0], 0
jne 0x1002c4f0
mov byte [edi + 0xe61], 0
cmp word [eax + 0x2f4], 0
je 0x1002c5ac
cmp byte [eax + 0xf0], 0
je 0x1002c510
cmp byte [eax + 0xf2], 0
je 0x1002c58a
test bl, bl
je 0x1002c51d
cmp byte [eax + 0xf3], 0
jne 0x1002c58a
cmp byte [ebp - 0xd0], 0
je 0x1002c58a
cmp byte [ebp - 0x99], 0
jne 0x1002c58a
xor ebx, ebx
lea esi, [eax + 0x2f4]
movzx eax, word [esi]
test ax, ax
je 0x1002c58a
sub esp, 8
mov dword [ebp - 0xa4], eax
lea ecx, [ebp - 0xa4]
call fcn.1002b550
add esp, 8
test al, al
je 0x1002c57e
push dword [ebp - 0xa4]
lea edx, [edi + 0x38]
mov ecx, edi
call fcn.1002a1f0
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 0x1002c537
mov ebx, dword [ebp - 0x98]
xorps xmm0, xmm0
movups xmmword [ebx + 0x2f4], xmm0
movups xmmword [ebx + 0x304], xmm0
mov word [ebx + 0x314], 0
jmp 0x1002c5b2
mov ebx, dword [ebp - 0x98]
mov edx, dword [ebp - 0xbc]
xor cl, cl
mov byte [ebp - 0x91], cl
cmp dword [ebx + 0x194c], edx
jne 0x1002d235
cmp byte [ebx + 0x195c], cl
jne 0x1002d235
cmp byte [ebp - 0xa9], cl
jne 0x1002d235
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 0x1002c659
cmp byte [ebx + 0xf3], 0
je 0x1002c61f
cmp byte [ebx + 0xf0], 0
jne 0x1002c61f
mov eax, 1
jmp 0x1002c621
xor eax, eax
test eax, eax
jne 0x1002c66b
xor ah, ah
mov byte [ebp - 0x9b], ah
test dl, dl
je 0x1002c67c
cmp byte [ebx + 0xf3], 0
je 0x1002c67c
test cl, cl
je 0x1002c67c
cmp byte [ebx + 0xf0], 0
jne 0x1002c67c
cmp byte [ebx + 0xf2], 0
jne 0x1002c67c
mov byte [ebp - 0xaa], 1
jmp 0x1002c687
cmp byte [ebx + 0xf0], 0
je 0x1002c625
cmp byte [ebx + 0xf3], 0
jne 0x1002c625
cmp byte [ebx + 0xf2], 0
jne 0x1002c625
test cl, cl
jne 0x1002c625
mov ah, 1
jmp 0x1002c627
mov byte [ebp - 0xaa], 0
test dl, dl
je 0x1002c6f1
cmp byte [ebx + 0xf3], 0
mov dl, byte [ebx + 0xf2]
mov byte [ebp - 0x99], dl
je 0x1002c6fe
cmp byte [ebx + 0xf0], 0
jne 0x1002c6fe
test dl, dl
jne 0x1002c6fe
mov cl, byte [ebx + 0xf0]
mov byte [ebp - 0x9a], 1
mov edx, dword [ebp - 0x98]
xor bl, bl
cmp byte [edx + 0xf1], bl
je 0x1002c770
test cl, cl
jne 0x1002c770
cmp byte [edx + 0xf2], cl
jne 0x1002c770
cmp byte [edx + 0xf3], cl
jne 0x1002c770
mov bh, 1
jmp 0x1002c772
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 0x1002c6b6
cmp byte [ebx + 0xf1], 0
mov byte [ebp - 0x99], al
mov byte [ebp - 0x9a], 0
jne 0x1002c6b6
cmp byte [ebx + 0xf2], 0
mov byte [ebp - 0x99], al
mov byte [ebp - 0x9a], 0
jne 0x1002c6b6
cmp byte [ebx + 0xf3], 0
mov byte [ebp - 0x99], al
mov byte [ebp - 0x9a], 0
jne 0x1002c6b6
mov bl, 1
mov byte [ebp - 0x99], al
mov byte [ebp - 0x9a], 0
xor bh, bh
test ah, ah
je 0x1002c78d
mov eax, dword [0x1008694c]
mov ecx, dword [eax + 0x7c]
test ecx, ecx
js 0x1002c78d
mov dl, 1
call fcn.100094b0
test al, al
jne 0x1002c7a8
test bh, bh
je 0x1002c7d4
mov eax, dword [0x1008694c]
mov ecx, dword [eax + 0x5c]
test ecx, ecx
js 0x1002c7d4
mov dl, 1
call fcn.100094b0
test al, al
je 0x1002c7d4
cmp byte [ebp - 0xd0], 0
je 0x1002c7d4
cmp byte [ebp - 0x138], 0
jne 0x1002c7d4
cmp byte [ebp - 0xb4], 0
je 0x1002c7cb
mov eax, dword [edi + 0x3c]
cmp eax, dword [edi + 0x40]
je 0x1002c7d4
mov byte [ebp - 0x9c], 1
jmp 0x1002c7db
mov byte [ebp - 0x9c], 0
cmp byte [ebp - 0x9b], 0
je 0x1002c7fb
mov eax, dword [0x1008694c]
mov ecx, dword [eax + 0x74]
test ecx, ecx
js 0x1002c7fb
mov dl, 1
call fcn.100094b0
test al, al
jne 0x1002c816
test bl, bl
je 0x1002c839
mov eax, dword [0x1008694c]
mov ecx, dword [eax + 0x58]
test ecx, ecx
js 0x1002c839
mov dl, 1
call fcn.100094b0
test al, al
je 0x1002c839
cmp byte [ebp - 0x138], 0
jne 0x1002c839
cmp byte [ebp - 0xb4], 0
je 0x1002c830
mov eax, dword [edi + 0x3c]
cmp eax, dword [edi + 0x40]
je 0x1002c839
mov byte [ebp - 0xd5], 1
jmp 0x1002c840
mov byte [ebp - 0xd5], 0
mov bl, byte [ebp - 0x9b]
test bl, bl
je 0x1002c861
mov eax, dword [0x1008694c]
mov ecx, dword [eax + 0x78]
test ecx, ecx
js 0x1002c861
mov dl, 1
call fcn.100094b0
test al, al
jne 0x1002c87c
test bh, bh
je 0x1002c88c
mov eax, dword [0x1008694c]
mov ecx, dword [eax + 0x58]
test ecx, ecx
js 0x1002c88c
mov dl, 1
call fcn.100094b0
test al, al
je 0x1002c88c
cmp byte [ebp - 0xd0], 0
mov byte [ebp - 0xd6], 1
jne 0x1002c893
mov byte [ebp - 0xd6], 0
test bl, bl
je 0x1002c8c7
mov eax, dword [0x1008694c]
mov ecx, dword [eax + 0x84]
test ecx, ecx
js 0x1002c8c7
mov dl, 1
call fcn.100094b0
test al, al
je 0x1002c8c7
cmp byte [ebp - 0xd0], 0
je 0x1002c8c7
cmp byte [ebp - 0xcc], 0
je 0x1002c8c7
mov bh, 1
jmp 0x1002c8cd
xor bh, bh
test bl, bl
je 0x1002c8e7
mov eax, dword [0x1008694c]
mov ecx, dword [eax + 0x80]
test ecx, ecx
js 0x1002c8e7
mov dl, 1
call fcn.100094b0
test al, al
jne 0x1002c90a
cmp byte [ebp - 0xaa], 0
je 0x1002c920
mov eax, dword [0x1008694c]
mov ecx, dword [eax + 0x84]
test ecx, ecx
js 0x1002c920
mov dl, 1
call fcn.100094b0
test al, al
je 0x1002c920
cmp byte [ebp - 0xd0], 0
je 0x1002c920
cmp byte [ebp - 0xcc], 0
je 0x1002c920
mov bl, 1
jmp 0x1002c922
xor bl, bl
mov eax, dword [0x1008694c]
mov ecx, dword [eax + 0x38]
test ecx, ecx
js 0x1002c97f
mov dl, 1
call fcn.100094b0
test al, al
je 0x1002c97f
cmp byte [ebp - 0x9a], 0
je 0x1002c959
mov eax, 0x10004
lea edx, [edi + 0x38]
or eax, esi
mov ecx, edi
push eax
call fcn.1002a1f0
jmp 0x1002d215
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.1002a1f0
jmp 0x1002d215
mov eax, dword [0x1008694c]
mov ecx, dword [eax + 0x3c]
test ecx, ecx
js 0x1002c9dc
mov dl, 1
call fcn.100094b0
test al, al
je 0x1002c9dc
cmp byte [ebp - 0x9a], 0
je 0x1002c9b6
mov eax, 0x10005
lea edx, [edi + 0x38]
or eax, esi
mov ecx, edi
push eax
call fcn.1002a1f0
jmp 0x1002d215
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.1002a1f0
jmp 0x1002d215
mov eax, dword [0x1008694c]
mov ecx, dword [eax + 0x40]
test ecx, ecx
js 0x1002ca86
mov dl, 1
call fcn.100094b0
test al, al
je 0x1002ca86
cmp byte [ebp - 0xb4], 0
je 0x1002ca86
mov ebx, dword [ebp - 0x98]
cmp byte [ebx + 0xf0], 0
je 0x1002ca52
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 0x1002d22f
movzx eax, byte [ebp - 0x9a]
lea eax, [eax*4 + 0x10002]
or eax, esi
push eax
lea edx, [edi + 0x38]
mov ecx, edi
call fcn.1002a1f0
add esp, 4
mov byte [edi + 0xe60], 1
mov dword [edi + 0xe5c], 0xbe99999a
jmp 0x1002d22f
mov eax, dword [0x1008694c]
mov ecx, dword [eax + 0x44]
test ecx, ecx
js 0x1002cb31
mov dl, 1
call fcn.100094b0
test al, al
je 0x1002cb31
cmp byte [ebp - 0xb4], 0
je 0x1002cb31
mov ebx, dword [ebp - 0x98]
cmp byte [ebx + 0xf0], 0
je 0x1002cb1e
mov eax, dword [0x1008694c]
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 0x1002d22f
movzx eax, byte [ebp - 0x9a]
lea eax, [eax*4 + 0x10003]
jmp 0x1002ca60
mov eax, dword [0x1008694c]
mov ecx, dword [eax + 0x50]
test ecx, ecx
js 0x1002cb6b
mov dl, 1
call fcn.100094b0
test al, al
je 0x1002cb6b
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 0x1002ca63
mov eax, dword [0x1008694c]
mov ecx, dword [eax + 0x54]
test ecx, ecx
js 0x1002cba5
mov dl, 1
call fcn.100094b0
test al, al
je 0x1002cba5
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 0x1002ca63
mov eax, dword [0x1008694c]
mov ecx, dword [eax + 0x5c]
test ecx, ecx
js 0x1002cbdb
mov dl, 1
call fcn.100094b0
test al, al
je 0x1002cbdb
cmp byte [ebp - 0xd0], 0
je 0x1002cbdb
or esi, 0x10008
lea edx, [edi + 0x38]
push esi
mov ecx, edi
call fcn.1002a1f0
jmp 0x1002d215
mov eax, dword [0x1008694c]
mov ecx, dword [eax + 0x60]
test ecx, ecx
js 0x1002cca6
mov dl, 1
call fcn.100094b0
test al, al
je 0x1002cca6
cmp byte [ebp - 0xd0], 0
je 0x1002cca6
mov eax, dword [edi + 0x3c]
cmp eax, dword [edi + 0x40]
jne 0x1002cc3b
cmp byte [ebp - 0x99], 0
je 0x1002cc4d
push 0x3000c
lea edx, [edi + 0x38]
mov ecx, edi
call fcn.1002a1f0
add esp, 4
mov byte [edi + 0xe60], 1
mov dword [edi + 0xe5c], 0xbe99999a
mov ebx, dword [ebp - 0x98]
or esi, 0x10009
push esi
jmp 0x1002ca63
cmp byte [ebp - 0xd7], 0
je 0x1002cc3b
mov ebx, dword [ebp - 0x98]
cmp byte [ebx + 0xf3], 0
je 0x1002cc41
cmp byte [ebx + 0xf2], 0
jne 0x1002cc41
cmp byte [ebx + 0xf0], 0
jne 0x1002cc41
push 0x30004
lea edx, [edi + 0x38]
mov ecx, edi
call fcn.1002a1f0
add esp, 4
mov byte [edi + 0xe60], 1
or esi, 0x10009
mov dword [edi + 0xe5c], 0xbe99999a
push esi
jmp 0x1002ca63
mov eax, dword [0x1008694c]
mov ecx, dword [eax + 0x68]
test ecx, ecx
js 0x1002cd3c
mov dl, 1
call fcn.100094b0
test al, al
je 0x1002cd3c
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 0x1002cce8
mov cl, byte [ebx + 0xf0]
test al, al
je 0x1002cd01
test cl, cl
jne 0x1002cd05
mov byte [ebp - 0xa9], 1
mov byte [ebp - 0xab], 1
mov cl, byte [ebp - 0x91]
jmp 0x1002d238
test cl, cl
jne 0x1002cce8
cmp byte [ebp - 0xd0], 0
je 0x1002ccf6
sub esp, 8
mov dword [ebp - 0xa4], 0xa
lea ecx, [ebp - 0xa4]
call fcn.1002b550
add esp, 8
test al, al
je 0x1002d22f
push dword [ebp - 0xa4]
jmp 0x1002ca63
test dword [ebp + 0x10], 0x400
je 0x1002cdc5
mov eax, dword [0x1008694c]
mov ecx, dword [eax + 0x34]
test ecx, ecx
js 0x1002cdc5
mov dl, 1
call fcn.100094b0
test al, al
je 0x1002cdc5
mov eax, dword [ebp - 0x98]
cmp byte [eax + 0xf0], 0
jne 0x1002cdc5
cmp byte [eax + 0xf1], 0
jne 0x1002cdc5
cmp byte [eax + 0xf2], 0
jne 0x1002cdc5
cmp byte [ebp - 0xd0], 0
je 0x1002cdc5
mov edx, dword [ebp + 0x10]
lea ecx, [ebp - 0xa4]
sub esp, 8
mov dword [ebp - 0xa4], 9
call fcn.1002b550
add esp, 8
test al, al
je 0x1002d229
push dword [ebp - 0xa4]
lea edx, [edi + 0x38]
mov ecx, edi
call fcn.1002a1f0
jmp 0x1002d215
mov eax, dword [0x1008694c]
mov ecx, dword [eax + 0x6c]
test ecx, ecx
js 0x1002cdef
mov dl, 1
call fcn.100094b0
test al, al
je 0x1002cdef
mov ebx, dword [ebp - 0x98]
mov cl, 1
mov byte [ebp - 0xa9], cl
jmp 0x1002d235
test bh, bh
jne 0x1002d1f6
test bl, bl
jne 0x1002d1f6
cmp byte [ebp - 0x9b], bl
je 0x1002ce36
mov eax, dword [0x1008694c]
mov ecx, dword [eax + 0x70]
test ecx, ecx
js 0x1002ce36
mov dl, 1
call fcn.100094b0
test al, al
je 0x1002ce36
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 0x1002d222
mov al, byte [ebp - 0x9c]
test al, al
jne 0x1002d0cc
cmp byte [ebp - 0xd5], al
jne 0x1002d0cc
cmp byte [ebp - 0xd6], al
je 0x1002d229
mov eax, dword [0x1008694c]
mov ecx, dword [eax + 0xc0]
test ecx, ecx
je 0x1002ce82
push dword [eax + 0xc8]
call ecx
mov esi, eax
add esp, 4
test esi, esi
je 0x1002d229
jmp 0x1002ce87
mov esi, 0x1007eafe
mov ecx, esi
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002ce90
mov eax, dword [0x1008694c]
sub ecx, edx
test eax, eax
je 0x1002cea8
inc dword [eax + 0x388]
lea eax, [ecx*2 + 2]
push eax
call dword [fcn.1003d218]
xor ebx, ebx
add esp, 4
mov ecx, eax
mov dword [ebp - 0xe0], ecx
cmp byte [esi], bl
je 0x1002cf2a
mov edi, eax
nop dword [eax]
push 0
mov edx, esi
lea ecx, [ebp - 0xcc]
call fcn.100041a0
add esi, eax
add esp, 4
mov eax, dword [ebp - 0xcc]
test eax, eax
je 0x1002cf1e
cmp eax, 0x10000
jae 0x1002cf19
mov edx, dword [ebp + 0x10]
lea ecx, [ebp - 0xcc]
sub esp, 8
call fcn.1002b550
add esp, 8
test al, al
je 0x1002cf19
mov ax, word [ebp - 0xcc]
mov word [edi + ebx*2], ax
inc ebx
cmp byte [esi], 0
jne 0x1002ced0
mov edi, dword [ebp - 0xfc]
mov ecx, dword [ebp - 0xe0]
xor eax, eax
mov word [ecx + ebx*2], ax
test ebx, ebx
jle 0x1002d0aa
mov ecx, dword [edi + 0x40]
lea esi, [edi + 0x38]
mov eax, dword [esi + 4]
mov edx, dword [edi + 0x2c]
cmp eax, ecx
je 0x1002cf9a
mov dword [ebp - 0xa0], eax
cmp eax, edx
jle 0x1002cf5f
mov eax, edx
mov dword [esi + 4], edx
mov dword [ebp - 0xa0], eax
jmp 0x1002cf65
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0xa8], ecx
cmp ecx, edx
jle 0x1002cf7c
mov ecx, edx
mov dword [esi + 8], edx
mov dword [ebp - 0xa8], ecx
jmp 0x1002cf82
mov ecx, dword [ebp - 0xa8]
mov edi, dword [ebp - 0xa8]
cmp dword [ebp - 0xa0], edi
jne 0x1002cf9a
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 0x1002cfb4
mov dword [esi], edx
mov dword [ebp - 0xa8], edx
mov edx, dword [edi + 0x2c]
cmp eax, ecx
je 0x1002d01b
mov dword [ebp - 0xa0], eax
cmp eax, edx
jle 0x1002cfd2
mov eax, edx
mov dword [esi + 4], edx
mov dword [ebp - 0xa0], eax
jmp 0x1002cfd8
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0xc4], ecx
cmp ecx, edx
jle 0x1002cfeb
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 0x1002d01b
mov eax, dword [ebp - 0xa0]
mov dword [esi], eax
mov dword [ebp - 0xa8], eax
cmp dword [ebp - 0xa8], edx
jle 0x1002d025
mov dword [esi], edx
cmp eax, ecx
je 0x1002d05a
mov edx, esi
jge 0x1002d040
sub ecx, eax
push ecx
push eax
mov ecx, edi
call fcn.1002a110
mov eax, dword [esi + 4]
mov dword [esi + 8], eax
jmp 0x1002d051
sub eax, ecx
push eax
push ecx
mov ecx, edi
call fcn.1002a110
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.10029c00
add esp, 8
test al, al
je 0x1002d089
mov edx, dword [esi]
lea ecx, [esi + 0x18]
push ebx
push 0
call fcn.1002b050
add esp, 8
mov byte [esi + 0xf], 0
add dword [esi], ebx
jmp 0x1002d09d
movzx eax, word [esi + 0xe16]
test ax, ax
je 0x1002d09d
dec eax
mov word [esi + 0xe16], ax
mov ecx, dword [ebp - 0xe0]
mov byte [edi + 0xe60], 1
test ecx, ecx
je 0x1002d0bd
mov eax, dword [0x1008694c]
test eax, eax
je 0x1002d0bd
dec dword [eax + 0x388]
push ecx
call dword [fcn.1003d214]
add esp, 4
jmp 0x1002d229
mov ebx, dword [ebp - 0x98]
cmp dword [ebx + 0xc4], 0
je 0x1002d156
mov ebx, dword [edi + 0x40]
mov eax, dword [edi + 0x3c]
cmp eax, ebx
je 0x1002d0ef
mov ecx, ebx
cmovge ebx, eax
cmovl ecx, eax
jmp 0x1002d0f4
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.10015f50
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.100043a0
mov eax, dword [0x1008694c]
add esp, 8
mov ecx, dword [eax + 0xc4]
test ecx, ecx
je 0x1002d14a
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 0x1002d22f
mov eax, dword [edi + 0x3c]
cmp eax, dword [edi + 0x40]
jne 0x1002d17a
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 0x1002d22f
mov edx, dword [edi + 0x2c]
cmp eax, edx
jle 0x1002d19b
mov dword [edi + 0x3c], edx
mov eax, edx
cmp ecx, edx
jle 0x1002d1a4
mov dword [edi + 0x40], edx
mov ecx, edx
cmp eax, ecx
jne 0x1002d1ab
mov dword [edi + 0x38], eax
cmp dword [edi + 0x38], edx
jle 0x1002d1b3
mov dword [edi + 0x38], edx
cmp eax, ecx
je 0x1002d1f0
lea edx, [edi + 0x38]
jge 0x1002d1d9
sub ecx, eax
push ecx
push eax
mov ecx, edi
call fcn.1002a110
mov eax, dword [edi + 0x3c]
add esp, 8
mov dword [edi + 0x40], eax
mov dword [edi + 0x38], eax
mov byte [edi + 0x47], 0
jmp 0x1002d22f
sub eax, ecx
push eax
push ecx
mov ecx, edi
call fcn.1002a110
mov eax, dword [edi + 0x40]
add esp, 8
mov dword [edi + 0x3c], eax
mov dword [edi + 0x38], eax
mov byte [edi + 0x47], 0
jmp 0x1002d22f
movzx eax, bh
lea edx, [edi + 0x38]
xor eax, 1
mov ecx, edi
add eax, 0x1000a
push eax
call fcn.1002a1f0
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 0x1002d7d4
xor eax, eax
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xa8], eax
test cl, cl
je 0x1002d2c5
cmp byte [ebp - 0xd0], al
je 0x1002d2ac
mov esi, dword [edi + 0x18]
mov ecx, esi
mov eax, dword [ebp - 0xb0]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1002d293
test dl, dl
je 0x1002d28f
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1002d293
add eax, 2
add ecx, 2
test dl, dl
jne 0x1002d273
xor eax, eax
jmp 0x1002d298
sbb eax, eax
or eax, 1
test eax, eax
je 0x1002d2ac
mov eax, dword [edi + 0x10]
dec eax
mov dword [ebp - 0xc4], esi
mov dword [ebp - 0xa8], eax
cmp byte [ebp - 0xab], 0
je 0x1002d6a4
mov edx, dword [ebp + 0x10]
test dl, 0x20
je 0x1002d6a4
cmp byte [ebp - 0xd0], 0
je 0x1002d2f7
mov eax, dword [edi + 4]
lea ecx, [edi + 0x1c]
lea eax, [eax*4 + 1]
push eax
call fcn.10015f50
mov edx, dword [edi + 0x1c]
mov ecx, dword [edi + 0x24]
push 0
push dword [edi + 0xc]
call fcn.100043a0
mov edx, dword [ebp + 0x10]
add esp, 8
test edx, 0x1c0
je 0x1002d662
push 0xdc9
push 0x10082198
push 0x10082640
call dword [ebp - 0xc8]
mov edx, dword [ebp + 0x10]
xor esi, esi
add esp, 0xc
lea ebx, [esi + 0x15]
test dl, 0x40
je 0x1002d349
mov eax, dword [0x1008694c]
mov ecx, dword [eax + 0x34]
test ecx, ecx
js 0x1002d349
mov dl, 1
call fcn.100094b0
mov edx, dword [ebp + 0x10]
test al, al
je 0x1002d349
lea esi, [ebx + 0x2b]
xor ebx, ebx
jmp 0x1002d3a6
test dl, dl
jns 0x1002d395
mov eax, dword [0x1008694c]
mov ecx, dword [eax + 0x40]
test ecx, ecx
js 0x1002d371
mov dl, 1
call fcn.100094b0
test al, al
je 0x1002d371
mov edx, dword [ebp + 0x10]
mov esi, 0x80
lea ebx, [esi - 0x7d]
jmp 0x1002d3a6
mov eax, dword [0x1008694c]
mov ecx, dword [eax + 0x44]
test ecx, ecx
js 0x1002d395
mov dl, 1
call fcn.100094b0
test al, al
je 0x1002d395
mov edx, dword [ebp + 0x10]
mov esi, 0x80
lea ebx, [esi - 0x7c]
jmp 0x1002d3a6
mov edx, dword [ebp + 0x10]
mov eax, 0x100
test edx, 0x100
cmovne esi, eax
test esi, esi
je 0x1002d662
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.100044d0
mov ecx, dword [edi + 0x3c]
mov ebx, eax
mov dword [ebp - 0x3c], ebx
lea edx, [esi + ecx*2]
mov ecx, esi
call fcn.100044d0
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.100044d0
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 0x1002d451
push 0xdf8
push 0x10082198
push 0x10082738
call esi
mov ecx, dword [ebp - 0x4c]
add esp, 0xc
mov eax, dword [ebp - 0x44]
cmp eax, dword [edi + 0x30]
je 0x1002d470
push 0xdf9
push 0x10082198
push 0x10082798
call esi
mov ecx, dword [ebp - 0x4c]
add esp, 0xc
mov eax, dword [ebp + 0x10]
cmp dword [ebp - 0x5c], eax
je 0x1002d48f
push 0xdfa
push 0x10082198
push 0x100827fc
call esi
mov ecx, dword [ebp - 0x4c]
add esp, 0xc
mov eax, dword [ebp - 0x3c]
cmp eax, ebx
je 0x1002d4f3
mov ecx, dword [ebp - 0x4c]
mov esi, ecx
lea ebx, [eax + ecx]
xor eax, eax
mov dword [ebp - 0xa0], eax
test ebx, ebx
je 0x1002d4ae
cmp esi, ebx
jae 0x1002d4e6
cmp byte [esi], 0
je 0x1002d4e6
push ebx
mov edx, esi
lea ecx, [ebp - 0xc0]
call fcn.100041a0
add esi, eax
add esp, 4
mov eax, dword [ebp - 0xc0]
test eax, eax
je 0x1002d4e0
cmp eax, 0x10000
mov eax, dword [ebp - 0xa0]
jae 0x1002d4a6
inc eax
jmp 0x1002d4a0
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 0x1002d556
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 0x1002d518
cmp esi, ebx
jae 0x1002d550
cmp byte [esi], 0
je 0x1002d550
push ebx
mov edx, esi
lea ecx, [ebp - 0xc0]
call fcn.100041a0
add esi, eax
add esp, 4
mov eax, dword [ebp - 0xc0]
test eax, eax
je 0x1002d54a
cmp eax, 0x10000
mov eax, dword [ebp - 0xa0]
jae 0x1002d510
inc eax
jmp 0x1002d508
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 0x1002d5b7
mov ecx, dword [ebp - 0x4c]
mov esi, ecx
lea ebx, [eax + ecx]
xor eax, eax
mov dword [ebp - 0xa0], eax
test ebx, ebx
je 0x1002d579
cmp esi, ebx
jae 0x1002d5b1
cmp byte [esi], 0
je 0x1002d5b1
push ebx
mov edx, esi
lea ecx, [ebp - 0xc0]
call fcn.100041a0
add esi, eax
add esp, 4
mov eax, dword [ebp - 0xc0]
test eax, eax
je 0x1002d5ab
cmp eax, 0x10000
mov eax, dword [ebp - 0xa0]
jae 0x1002d571
inc eax
jmp 0x1002d56b
mov eax, dword [ebp - 0xa0]
mov ecx, dword [ebp - 0x4c]
mov dword [edi + 0x40], eax
cmp byte [ebp - 0x40], 0
je 0x1002d662
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002d5c4
mov esi, dword [ebp - 0x48]
sub ecx, edx
cmp esi, ecx
je 0x1002d5ef
push 0xe00
push 0x10082198
push 0x10082838
call dword [ebp - 0xc8]
mov esi, dword [ebp - 0x48]
add esp, 0xc
mov ecx, dword [ebp - 0x100]
cmp esi, ecx
jle 0x1002d63b
cmp byte [ebp - 0x110], 0
je 0x1002d63b
mov ebx, dword [edi + 8]
lea eax, [edi + 4]
sub esi, ecx
add esi, dword [eax]
cmp esi, ebx
jle 0x1002d639
test ebx, ebx
je 0x1002d621
mov eax, ebx
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
add ecx, ebx
jmp 0x1002d626
mov ecx, 8
cmp ecx, esi
mov eax, esi
cmovg eax, ecx
lea ecx, [edi + 4]
push eax
call fcn.10016080
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.10004330
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 0x1002d6a4
mov esi, dword [edi + 0x24]
mov eax, esi
mov ecx, dword [ebp - 0xb0]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1002d696
test dl, dl
je 0x1002d692
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1002d696
add eax, 2
add ecx, 2
test dl, dl
jne 0x1002d676
xor eax, eax
jmp 0x1002d69b
sbb eax, eax
or eax, 1
test eax, eax
je 0x1002d6a4
mov ebx, dword [edi + 0x28]
jmp 0x1002d6b0
mov esi, dword [ebp - 0xc4]
mov ebx, dword [ebp - 0xa8]
test esi, esi
je 0x1002d7b0
test ebx, ebx
jns 0x1002d6d4
push 0xe15
push 0x10082198
push 0x100828b0
call dword [ebp - 0xc8]
add esp, 0xc
cmp dword [ebp - 0x100], ebx
je 0x1002d77a
cmp byte [ebp - 0x110], 0
je 0x1002d77a
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 0x1002d783
push 0xe23
push 0x10082198
push 0x100828e8
call dword [ebp - 0xc8]
add esp, 0xc
jmp 0x1002d77d
mov esi, dword [ebp + 8]
mov ecx, dword [ebp - 0xb0]
lea eax, [ebx + 1]
cmp eax, esi
cmovl esi, eax
cmp esi, 1
jb 0x1002d7a9
push esi
push dword [edi + 0x24]
push ecx
call dword [0x1003d2f4]
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 0x1002d83c
mov ecx, dword [ebp - 0xbc]
cmp dword [ebx + 0x194c], ecx
jne 0x1002d83c
mov edx, dword [0x1008694c]
mov ecx, dword [edx + 0x194c]
test ecx, ecx
setne al
mov byte [edx + 0x195c], al
test ecx, ecx
je 0x1002d817
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 0x1002d85c
cmp byte [ebp - 0xd0], 0
je 0x1002d85c
mov ecx, dword [edi + 0x24]
mov dword [ebp - 0xb0], ecx
mov edx, dword [ebp - 0xb4]
test dl, dl
jne 0x1002d9da
push 1
mov edx, eax
lea ecx, [ebp - 0x30]
call fcn.10005d40
mov eax, dword [0x1008694c]
xorps xmm3, xmm3
movss xmm6, dword [0x10082d18]
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 0x1002d8ad
xorps xmm0, xmm0
jmp 0x1002d8b4
movaps xmm0, xmm6
minss xmm0, xmm2
movss xmm4, dword [0x10082e1c]
movss xmm5, dword [0x10082ce4]
movss xmm2, dword [ebp - 0x14]
comiss xmm3, xmm2
mulss xmm0, xmm4
addss xmm0, xmm5
cvttss2si edx, xmm0
jbe 0x1002d8df
xorps xmm0, xmm0
jmp 0x1002d8e6
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 0x1002d906
xorps xmm0, xmm0
jmp 0x1002d90d
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 0x1002d928
xorps xmm0, xmm0
jmp 0x1002d92f
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.100052f0
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 0x1002da46
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 0x1002db0b
test dl, dl
je 0x1002db0b
cmp dword [esi + 0x1d0], 0
jg 0x1002dae0
push 0x4f9
push 0x1007e9f0
push 0x10080d94
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, 0x10082220
call fcn.10003dd0
add esp, 4
cmp dword [ebx + 0x194c], eax
jne 0x1002db0b
mov al, 1
jmp 0x1002db0d
xor al, al
mov ecx, dword [ebp - 0xbc]
cmp dword [ebx + 0x194c], ecx
je 0x1002e010
test al, al
jne 0x1002e010
mov edi, dword [ebp - 0xb0]
cmp byte [ebp - 0xb4], al
je 0x1002db88
mov dl, byte [edi]
lea esi, [edi + 1]
xor ecx, ecx
test dl, dl
je 0x1002db52
cmp dl, 0xa
lea eax, [ecx + 1]
mov dl, byte [esi]
cmovne eax, ecx
inc esi
mov ecx, eax
test dl, dl
jne 0x1002db40
mov al, byte [esi - 1]
dec esi
cmp al, 0xa
je 0x1002db5f
cmp al, 0xd
je 0x1002db5f
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 0x1002dba8
mov ecx, edi
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002db90
sub ecx, edx
lea esi, [ecx + edi]
cmp ecx, 0x200000
jge 0x1002df05
mov eax, dword [0x1008694c]
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 0x1002dbd4
movaps xmm0, xmm7
jmp 0x1002dbe0
movss xmm0, dword [0x10082d18]
minss xmm0, xmm2
movss xmm3, dword [0x10082e1c]
movss xmm6, dword [0x10082ce4]
movss xmm2, dword [ebp - 0xf0]
comiss xmm7, xmm2
mulss xmm0, xmm3
addss xmm0, xmm6
cvttss2si ecx, xmm0
jbe 0x1002dc0e
movaps xmm0, xmm7
jmp 0x1002dc1a
movss xmm0, dword [0x10082d18]
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 0x1002dc3d
movaps xmm0, xmm7
jmp 0x1002dc49
movss xmm0, dword [0x10082d18]
minss xmm0, xmm2
mulss xmm0, xmm3
addss xmm0, xmm6
cvttss2si eax, xmm0
shl eax, 0x10
or ecx, eax
comiss xmm7, xmm1
jbe 0x1002dc64
movaps xmm0, xmm7
jmp 0x1002dc70
movss xmm0, dword [0x10082d18]
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 0x1002de5c
test esi, esi
jne 0x1002dcea
mov ecx, dword [ebp - 0xb0]
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002dcd6
mov eax, dword [ebp - 0xb0]
sub ecx, esi
lea esi, [eax + ecx]
jmp 0x1002dcf0
mov eax, dword [ebp - 0xb0]
cmp eax, esi
je 0x1002de5c
test edx, edx
jne 0x1002dd08
mov eax, dword [edi + 0x28]
mov eax, dword [eax + 8]
mov dword [ebp - 0xcc], eax
ucomiss xmm0, xmm7
lahf
test ah, 0x44
jp 0x1002dd21
mov eax, dword [edi + 0x28]
movss xmm0, dword [eax + 0xc]
movss dword [ebp - 0xa4], xmm0
cmp dword [edi + 0x48], 0
jg 0x1002dd3f
push 0x4f9
push 0x1007e9f0
push 0x10080d94
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 0x1002dd6f
push 0x481
push 0x10081520
push 0x100816c8
call dword [ebp - 0xc8]
add esp, 0xc
cmp dword [edi + 0x3c], 0
jg 0x1002dd8d
push 0x4f9
push 0x1007e9f0
push 0x10080d94
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 0x1002de07
movss xmm1, dword [ebx]
movss xmm0, dword [ebp - 0xf4]
comiss xmm0, xmm1
jae 0x1002ddbf
movss dword [ebp - 0xf4], xmm1
movss xmm1, dword [ebx + 4]
movss xmm0, dword [ebp - 0xf0]
comiss xmm0, xmm1
jae 0x1002ddd9
movss dword [ebp - 0xf0], xmm1
movss xmm0, dword [ebx + 8]
comiss xmm0, dword [ebp - 0xec]
ja 0x1002ddef
movss dword [ebp - 0xec], xmm0
movss xmm0, dword [ebx + 0xc]
comiss xmm0, dword [ebp - 0xe8]
ja 0x1002de05
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.10022400
movss xmm4, dword [ebp - 0xc4]
xorps xmm7, xmm7
movss xmm5, dword [ebp - 0xa8]
mov ebx, dword [ebp - 0x98]
cmp byte [ebp - 0xb4], 0
je 0x1002deff
mov ecx, dword [0x1008694c]
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 0x1002def5
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.10006af0
push 0
xor edx, edx
lea ecx, [ebp - 0x18]
call fcn.10006c60
add esp, 4
call fcn.100098e0
call fcn.1000f6a0
mov edi, dword [ebp - 0xb0]
mov eax, dword [ebp - 0x138]
test al, al
je 0x1002df1a
call fcn.1000eea0
mov eax, dword [ebp - 0x138]
cmp byte [ebx + 0x2ba8], 0
je 0x1002df39
test al, al
jne 0x1002df39
push 0
mov edx, edi
lea ecx, [ebp - 0x10c]
call fcn.10014850
add esp, 4
movss xmm0, dword [ebp - 0x140]
xorps xmm4, xmm4
comiss xmm0, xmm4
jbe 0x1002df97
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.10004820
add esp, 0xc
mov bl, byte [ebp - 0xb5]
test bl, bl
je 0x1002dfee
mov esi, dword [0x1008694c]
mov eax, dword [esi + 0x194c]
cmp eax, dword [ebp - 0xbc]
je 0x1002dfda
test eax, eax
je 0x1002dfda
cmp byte [esi + 0x1be4], 0
jne 0x1002dfda
push 0x9d2
push 0x1007ea70
push 0x1007eb78
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.1003b130
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 0x1002e07d
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 0x1002e0f7
mov esi, eax
xor edi, edi
nop
cmp si, 0xa
jne 0x1002e0d7
inc edi
cmp ebx, 0xffffffff
jne 0x1002e0bb
cmp edx, dword [ebp - 0x130]
jb 0x1002e0bb
dec ecx
mov ebx, edi
test ecx, ecx
jle 0x1002e0e5
cmp dword [ebp - 0x120], 0xffffffff
jne 0x1002e0d7
cmp edx, dword [ebp - 0xa0]
jb 0x1002e0d7
dec ecx
mov dword [ebp - 0x120], edi
test ecx, ecx
jle 0x1002e0e5
movzx eax, word [edx + 2]
add edx, 2
mov esi, eax
test ax, ax
jne 0x1002e0a0
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 0x1002e13e
cmp word [ecx - 2], 0xa
je 0x1002e13e
add ecx, 0xfffffffe
cmp ecx, edx
ja 0x1002e130
mov eax, dword [0x1008694c]
movaps xmm1, xmm7
movaps xmm3, xmm7
mov esi, dword [eax + 0x1858]
movss xmm2, dword [eax + 0x185c]
divss xmm2, dword [esi]
cmp ecx, ebx
jae 0x1002e1a3
nop
movzx eax, word [ecx]
add ecx, 2
mov edx, eax
cmp eax, 0xa
jne 0x1002e176
maxss xmm1, xmm3
movaps xmm3, xmm7
jmp 0x1002e199
cmp edx, 0xd
je 0x1002e199
mov edx, eax
cmp edx, dword [esi + 0x1c]
jge 0x1002e18c
mov eax, dword [esi + 0x24]
movss xmm0, dword [eax + edx*4]
jmp 0x1002e191
movss xmm0, dword [esi + 0x38]
mulss xmm0, xmm2
addss xmm3, xmm0
cmp ecx, ebx
jb 0x1002e160
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 0x1002e290
mov ecx, dword [ebp - 0xa0]
cmp ecx, edx
jbe 0x1002e1fe
nop dword [eax]
cmp word [ecx - 2], 0xa
je 0x1002e1fe
add ecx, 0xfffffffe
cmp ecx, edx
ja 0x1002e1f0
movaps xmm1, xmm7
mov eax, dword [0x1008694c]
movaps xmm4, xmm7
mov esi, dword [eax + 0x1858]
movss xmm2, dword [eax + 0x185c]
divss xmm2, dword [esi]
cmp ecx, dword [ebp - 0xa0]
jae 0x1002e273
mov edi, dword [ebp - 0xa0]
nop dword [eax]
movzx eax, word [ecx]
add ecx, 2
mov edx, eax
cmp eax, 0xa
jne 0x1002e246
maxss xmm1, xmm4
movaps xmm4, xmm7
jmp 0x1002e269
cmp edx, 0xd
je 0x1002e269
mov edx, eax
cmp edx, dword [esi + 0x1c]
jge 0x1002e25c
mov eax, dword [esi + 0x24]
movss xmm0, dword [eax + edx*4]
jmp 0x1002e261
movss xmm0, dword [esi + 0x38]
mulss xmm0, xmm2
addss xmm4, xmm0
cmp ecx, edi
jb 0x1002e230
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 0x1002e2c3
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 0x1002e2cb
movss xmm0, dword [ebp - 0xdc]
cmp byte [edi + 0xe60], 0
je 0x1002e38d
test dword [ebp + 0x10], 0x1000
jne 0x1002e326
movss xmm2, dword [edi + 0x34]
movaps xmm1, xmm3
comiss xmm2, xmm3
mulss xmm0, dword [0x10082cd0]
jbe 0x1002e303
subss xmm1, xmm0
movaps xmm0, xmm7
maxss xmm0, xmm1
jmp 0x1002e314
subss xmm1, dword [ebp - 0xdc]
comiss xmm1, xmm2
jb 0x1002e32d
addss xmm0, xmm1
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x34], xmm0
jmp 0x1002e32d
mov dword [edi + 0x34], 0
test dl, dl
je 0x1002e38d
mov eax, dword [ebp - 0xd4]
movaps xmm1, xmm5
subss xmm1, dword [ecx + 0x185c]
movss xmm2, dword [eax + 0x58]
comiss xmm2, xmm1
jbe 0x1002e355
movaps xmm0, xmm7
maxss xmm0, xmm1
jmp 0x1002e364
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 0x1002e76f
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 0x1002e3d6
movss dword [ebp - 0x12c], xmm7
jmp 0x1002e3de
movss xmm7, dword [0x10082dbc]
mov eax, dword [0x1008694c]
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 0x1002e415
xorps xmm0, xmm0
jmp 0x1002e421
movss xmm0, dword [0x10082d18]
minss xmm0, xmm1
mulss xmm0, dword [0x10082e1c]
movss xmm1, dword [ebp - 0xf0]
comiss xmm3, xmm1
addss xmm0, dword [0x10082ce4]
cvttss2si ecx, xmm0
jbe 0x1002e447
xorps xmm0, xmm0
jmp 0x1002e453
movss xmm0, dword [0x10082d18]
minss xmm0, xmm1
mulss xmm0, dword [0x10082e1c]
movss xmm1, dword [ebp - 0xec]
addss xmm0, dword [0x10082ce4]
cvttss2si eax, xmm0
shl eax, 8
or ecx, eax
comiss xmm3, xmm1
jbe 0x1002e47e
xorps xmm0, xmm0
jmp 0x1002e48a
movss xmm0, dword [0x10082d18]
minss xmm0, xmm1
movss xmm1, dword [0x10082e1c]
mulss xmm0, xmm1
addss xmm0, dword [0x10082ce4]
cvttss2si eax, xmm0
shl eax, 0x10
or ecx, eax
comiss xmm3, xmm2
jbe 0x1002e4b1
xorps xmm0, xmm0
jmp 0x1002e4bd
movss xmm0, dword [0x10082d18]
minss xmm0, xmm2
mulss xmm0, xmm1
addss xmm0, dword [0x10082ce4]
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 0x1002e762
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 0x1002e747
movss xmm0, dword [ebp - 0x104]
comiss xmm0, xmm5
jbe 0x1002e569
cmp esi, ebx
jae 0x1002e705
nop dword [eax]
mov ax, word [esi]
add esi, 2
cmp ax, 0xa
je 0x1002e705
cmp esi, ebx
jb 0x1002e550
jmp 0x1002e705
mov eax, dword [0x1008694c]
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 0x1002e5d7
nop dword [eax]
movzx eax, word [esi]
add esi, 2
mov ecx, eax
cmp eax, 0xa
je 0x1002e5c4
cmp ecx, 0xd
je 0x1002e5be
cmp ecx, dword [edx + 0x1c]
jge 0x1002e5b1
mov eax, dword [edx + 0x24]
movss xmm0, dword [eax + ecx*4]
jmp 0x1002e5b6
movss xmm0, dword [edx + 0x38]
mulss xmm0, xmm2
addss xmm1, xmm0
cmp esi, ebx
jb 0x1002e590
jmp 0x1002e5ce
xorps xmm4, xmm4
maxss xmm4, xmm1
xorps xmm1, xmm1
mov ecx, dword [ebp - 0x114]
xorps xmm0, xmm0
maxss xmm1, xmm4
comiss xmm0, xmm1
jb 0x1002e617
mov eax, dword [ebp - 0x98]
mov eax, dword [eax + 0x1858]
cmp dword [eax + 0x1c], 0x20
jle 0x1002e5ff
mov eax, dword [eax + 0x24]
movss xmm0, dword [eax + 0x80]
jmp 0x1002e604
movss xmm0, dword [eax + 0x38]
mulss xmm0, dword [0x10082ce4]
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 0x1002e705
comiss xmm6, xmm2
jbe 0x1002e705
comiss xmm1, xmm7
jbe 0x1002e705
comiss xmm4, xmm3
jbe 0x1002e705
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.1001f3e0
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 0x1002e520
movss xmm5, dword [ebp - 0xf8]
xorps xmm7, xmm7
mov edi, dword [ebp - 0xfc]
jmp 0x1002e777
movss xmm0, dword [ebp - 0xcc]
xorps xmm7, xmm7
movss xmm5, dword [ebp - 0xf8]
mov edi, dword [ebp - 0xfc]
jmp 0x1002e777
movss xmm5, dword [ebp - 0xf8]
xorps xmm7, xmm7
jmp 0x1002e777
movss xmm0, dword [ebp - 0xcc]
cmp byte [ebp - 0xb4], 0
mov ecx, dword [edi + 0x28]
jne 0x1002e78f
cmp ecx, 0x200000
jge 0x1002ea5e
mov eax, dword [0x1008694c]
subss xmm0, xmm5
movss xmm5, dword [0x10082d18]
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 0x1002e7e3
movaps xmm0, xmm7
jmp 0x1002e7ea
movaps xmm0, xmm5
minss xmm0, xmm2
movss xmm3, dword [0x10082e1c]
movss xmm4, dword [0x10082ce4]
movss xmm2, dword [ebp - 0xf0]
comiss xmm7, xmm2
mulss xmm0, xmm3
addss xmm0, xmm4
cvttss2si ebx, xmm0
jbe 0x1002e818
movaps xmm0, xmm7
jmp 0x1002e81f
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 0x1002e842
movaps xmm0, xmm7
jmp 0x1002e849
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 0x1002e864
movaps xmm0, xmm7
jmp 0x1002e86b
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 0x1002ea5e
test eax, eax
jne 0x1002e900
mov ecx, dword [ebp - 0xb0]
lea eax, [ecx + 1]
mov dword [ebp - 0xe8], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002e8e5
sub ecx, dword [ebp - 0xe8]
mov eax, dword [ebp - 0xb0]
add eax, ecx
mov dword [ebp - 0xc0], eax
cmp dword [ebp - 0xb0], eax
je 0x1002ea5e
test edx, edx
jne 0x1002e91c
mov eax, dword [esi + 0x28]
mov eax, dword [eax + 8]
mov dword [ebp - 0xa4], eax
ucomiss xmm0, xmm7
lahf
test ah, 0x44
jp 0x1002e935
mov eax, dword [esi + 0x28]
movss xmm0, dword [eax + 0xc]
movss dword [ebp - 0x12c], xmm0
cmp dword [esi + 0x48], 0
jg 0x1002e953
push 0x4f9
push 0x1007e9f0
push 0x10080d94
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 0x1002e983
push 0x481
push 0x10081520
push 0x100816c8
call dword [ebp - 0xc8]
add esp, 0xc
cmp dword [esi + 0x3c], 0
jg 0x1002e9a1
push 0x4f9
push 0x1007e9f0
push 0x10080d94
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 0x1002ea1b
movss xmm1, dword [edi]
movss xmm0, dword [ebp - 0xf4]
comiss xmm0, xmm1
jae 0x1002e9d3
movss dword [ebp - 0xf4], xmm1
movss xmm1, dword [edi + 4]
movss xmm0, dword [ebp - 0xf0]
comiss xmm0, xmm1
jae 0x1002e9ed
movss dword [ebp - 0xf0], xmm1
movss xmm0, dword [edi + 8]
comiss xmm0, dword [ebp - 0xec]
ja 0x1002ea03
movss dword [ebp - 0xec], xmm0
movss xmm0, dword [edi + 0xc]
comiss xmm0, dword [ebp - 0xe8]
ja 0x1002ea19
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.10022400
mov ebx, dword [ebp - 0x98]
cmp byte [ebx + 0xbe], 0
je 0x1002eabc
movss xmm0, dword [ebx + 0x2ac4]
xorps xmm4, xmm4
comiss xmm4, xmm0
jae 0x1002eabc
cvtps2pd xmm0, xmm0
movsd qword [ebp - 0xec], xmm0
fld qword [ebp - 0xec]
fld qword [0x10082d90]
call fcn.1003c21e
movss xmm0, dword [0x10082d08]
fstp qword [ebp - 0xec]
movsd xmm1, qword [ebp - 0xec]
cvtpd2ps xmm1, xmm1
comiss xmm0, xmm1
jae 0x1002eabc
xor al, al
jmp 0x1002eabe
mov al, 1
movss xmm2, dword [ebp - 0xe0]
xorps xmm7, xmm7
mov ecx, dword [ebp - 0x114]
movss xmm6, dword [0x10082ce4]
movss xmm4, dword [0x10082d18]
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 [0x10082d80]
movss dword [ebp - 0x10], xmm1
addss xmm0, xmm6
movss dword [ebp - 0xc], xmm3
movss dword [ebp - 0x14], xmm0
test al, al
je 0x1002ec97
comiss xmm3, dword [ebp - 0x104]
jbe 0x1002ec97
movss xmm4, dword [ebp - 0x110]
comiss xmm4, xmm0
jbe 0x1002ec8f
comiss xmm1, dword [ebp - 0x128]
jbe 0x1002ec8f
movss xmm0, dword [ebp - 0x100]
comiss xmm0, xmm5
jbe 0x1002ec8f
mov eax, dword [0x1008694c]
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 0x1002ebb1
xorps xmm0, xmm0
jmp 0x1002ebbd
movss xmm0, dword [0x10082d18]
minss xmm0, xmm2
movss xmm4, dword [0x10082e1c]
movss xmm2, dword [ebp - 0x2c]
comiss xmm7, xmm2
mulss xmm0, xmm4
addss xmm0, xmm6
cvttss2si ecx, xmm0
jbe 0x1002ebe0
xorps xmm0, xmm0
jmp 0x1002ebec
movss xmm0, dword [0x10082d18]
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 0x1002ec0c
xorps xmm0, xmm0
jmp 0x1002ec18
movss xmm0, dword [0x10082d18]
minss xmm0, xmm2
mulss xmm0, xmm4
addss xmm0, xmm6
cvttss2si eax, xmm0
shl eax, 0x10
or ecx, eax
comiss xmm7, xmm1
jbe 0x1002ec33
xorps xmm0, xmm0
jmp 0x1002ec3f
movss xmm0, dword [0x10082d18]
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.1001f1a0
movss xmm2, dword [ebp - 0xe0]
xorps xmm7, xmm7
movss xmm5, dword [ebp - 0xcc]
movss xmm4, dword [0x10082d18]
cmp byte [ebp - 0xd0], 0
je 0x1002ecbc
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 0x1002de62