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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x148
push esi
mov esi, dword [0x1003fc00]
mov dword [ebp - 0xbc], ecx
mov ecx, esi
push edi
mov dword [ebp - 0xc], ecx
mov eax, dword [ecx + 0x199c]
mov byte [eax + 0x7c], 1
mov edi, dword [ecx + 0x199c]
mov dword [ebp - 0x28], edi
cmp byte [edi + 0x7f], 0
jne 0x1002d558
mov ecx, dword [ebx + 0x14]
mov eax, ecx
shr eax, 0xe
mov edx, ecx
and eax, 0xffffff01
shr edx, 0x14
mov dword [ebp - 0x44], eax
and edx, 0xffffff01
mov eax, ecx
mov dword [ebp - 0x2c], edx
shr eax, 0xf
and eax, 0xffffff01
mov dword [ebp - 0xac], eax
mov eax, ecx
shr eax, 0x10
not al
and eax, 0xffffff01
mov dword [ebp - 0x18], eax
mov eax, ecx
shr eax, 0x12
and eax, 0xffffff01
mov dword [ebp - 0x7c], eax
test dl, dl
je 0x1002d2c5
call fcn.100138d0
mov esi, dword [0x1003fc00]
mov ecx, dword [edi + 0x1c4]
xor edx, edx
mov eax, dword [edi + 0x1cc]
push dword [eax + ecx*4 - 4]
mov ecx, dword [ebp - 0xbc]
call fcn.10008cd0
add esp, 4
mov dword [ebp - 0x24], eax
cmp dword [esi + 0x19bc], eax
jne 0x1002d2f6
mov dword [esi + 0x19c4], eax
cmp dword [esi + 0x19c0], eax
jne 0x1002d305
mov byte [esi + 0x19d0], 1
mov eax, dword [ebp - 0xbc]
mov ecx, eax
cmp eax, 0xffffffff
jae 0x1002d328
mov dl, byte [ecx]
test dl, dl
je 0x1002d328
cmp dl, 0x23
jne 0x1002d322
cmp byte [ecx + 1], dl
je 0x1002d328
inc ecx
cmp ecx, 0xffffffff
jb 0x1002d312
movss xmm1, dword [0x1003b574]
xorps xmm4, xmm4
movss xmm0, dword [esi + 0x18bc]
movss dword [ebp - 0xb0], xmm1
cmp eax, ecx
jne 0x1002d351
movss dword [ebp - 0xc0], xmm4
jmp 0x1002d39e
movss xmm3, dword [0x1003b568]
movaps xmm2, xmm0
push ecx
push ecx
push eax
push ecx
mov ecx, dword [esi + 0x18b8]
lea eax, [ebp - 0x74]
mov dword [esp], 0xbf800000
push eax
call fcn.10025300
movss xmm0, dword [ebp - 0x74]
xorps xmm4, xmm4
addss xmm0, dword [0x1003b4b4]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0xc0], xmm0
movss xmm0, dword [ebp - 0x70]
cmp byte [ebp - 0x2c], 0
je 0x1002d3b4
movss xmm0, dword [esi + 0x18bc]
mulss xmm0, dword [0x1003b518]
mov eax, dword [ebp - 0xc]
mov esi, dword [esi + 0x199c]
movss xmm5, dword [0x1003b4b8]
movss xmm1, dword [eax + 0x1548]
movss xmm2, dword [esi + 0x170]
movaps xmm3, xmm1
comiss xmm4, xmm2
addss xmm3, xmm1
addss xmm3, xmm0
jbe 0x1002d44b
movss xmm4, dword [esi + 0xc8]
mov edi, dword [esi + 0x1c0]
movss xmm1, dword [esi + 0x218]
subss xmm4, dword [esi + 0xc]
subss xmm1, dword [esi + 0xc]
test edi, edi
je 0x1002d439
mov edx, dword [edi + 0xc]
movss xmm1, dword [edi + 0x18]
subss xmm1, dword [edi + 0x14]
lea eax, [edx + 1]
test eax, eax
cmovns edx, eax
mov eax, dword [edi + 0x34]
lea ecx, [edx*8]
sub ecx, edx
mulss xmm1, dword [eax + ecx*4]
addss xmm1, dword [edi + 0x14]
subss xmm1, dword [esi + 0x3c]
mov edi, dword [ebp - 0x28]
subss xmm1, xmm4
addss xmm1, xmm2
movaps xmm2, xmm5
maxss xmm2, xmm1
mov eax, dword [ebx + 0x10]
lea ecx, [ebp - 0x74]
push dword [eax + 4]
push dword [eax]
cvttss2si eax, xmm2
movaps xmm2, xmm3
movd xmm1, eax
cvtdq2ps xmm1, xmm1
call fcn.1000b780
movss xmm3, dword [edi + 0xc8]
xorps xmm5, xmm5
movss xmm1, dword [ebp - 0x74]
movaps xmm0, xmm3
movss xmm4, dword [edi + 0xcc]
addss xmm0, xmm1
movss xmm2, dword [ebp - 0xc0]
add esp, 8
comiss xmm2, xmm5
mov esi, dword [ebp - 0xc]
movss dword [ebp - 0x84], xmm1
movss xmm1, dword [ebp - 0x70]
movss dword [ebp - 0xb4], xmm1
addss xmm1, xmm4
movss dword [ebp - 0xa0], xmm3
movss dword [ebp - 0x9c], xmm4
movss dword [ebp - 0x98], xmm0
movss dword [ebp - 0x94], xmm1
jbe 0x1002d4de
addss xmm2, dword [esi + 0x155c]
jmp 0x1002d4e1
xorps xmm2, xmm2
cmp byte [ebp - 0x2c], 0
addss xmm0, xmm2
addss xmm1, xmm5
movss dword [ebp - 0x60], xmm3
movss dword [ebp - 0x5c], xmm4
mov dword [ebp - 0x6c], edi
movss dword [ebp - 0x58], xmm0
movss dword [ebp - 0x54], xmm1
je 0x1002d60d
mov edi, dword [ebp - 0x24]
lea eax, [ebp - 0xa0]
push eax
mov edx, edi
lea ecx, [ebp - 0x60]
call fcn.1000b310
add esp, 4
test al, al
jne 0x1002d563
movss xmm0, dword [ebp - 0x58]
lea ecx, [ebp - 0x74]
subss xmm0, dword [ebp - 0x60]
movss xmm1, dword [esi + 0x1548]
movss dword [ebp - 0x74], xmm0
movss xmm0, dword [ebp - 0x54]
subss xmm0, dword [ebp - 0x5c]
movss dword [ebp - 0x70], xmm0
call fcn.1000b1b0
call fcn.10013a00
xor al, al
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
movss xmm0, dword [ebp - 0x98]
lea edx, [ebp - 0x74]
movss xmm1, dword [ebp - 0xa0]
movss dword [ebp - 0xe4], xmm0
subss xmm0, xmm1
movss dword [ebp - 0xa4], xmm1
movss xmm1, dword [ebp - 0x9c]
push ecx
mov ecx, edi
movss dword [ebp - 0x80], xmm1
movss dword [ebp - 0x74], xmm0
movss xmm0, dword [ebp - 0x94]
subss xmm0, xmm1
movss dword [ebp - 0x70], xmm0
call fcn.1000ded0
add esp, 4
test al, al
jne 0x1002d5d1
call fcn.1000dc60
call fcn.10013a00
xor al, al
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov ecx, dword [0x1003fc00]
movss xmm0, dword [ebp - 0x84]
mov eax, dword [ecx + 0x199c]
mov byte [eax + 0x7c], 1
mov edi, dword [ecx + 0x199c]
mov dword [ebp - 0x6c], edi
subss xmm0, dword [edi + 0x70]
mov eax, dword [edi + 0x134]
or dword [edi + 0x13c], eax
movss dword [ebp - 0x84], xmm0
jmp 0x1002d67b
subss xmm1, xmm4
subss xmm0, xmm3
lea ecx, [ebp - 0x74]
movss dword [ebp - 0x70], xmm1
movss xmm1, dword [esi + 0x1548]
movss dword [ebp - 0x74], xmm0
call fcn.1000b1b0
lea eax, [ebp - 0xa0]
push eax
mov eax, dword [ebp - 0x24]
lea ecx, [ebp - 0x60]
mov edx, eax
call fcn.1000b310
add esp, 4
test al, al
je 0x1002d558
movss xmm0, dword [ebp - 0x98]
movss dword [ebp - 0xe4], xmm0
movss xmm0, dword [ebp - 0x9c]
movss dword [ebp - 0x80], xmm0
movss xmm0, dword [ebp - 0xa0]
movss dword [ebp - 0xa4], xmm0
mov edx, dword [ebp - 0x24]
lea ecx, [ebp - 0xa0]
call fcn.1000b540
mov byte [ebp - 0xf], al
test al, al
je 0x1002d69a
mov dword [esi + 0x1d04], 1
lea eax, [esi + 0x1dc4]
xor ecx, ecx
cmp dword [eax], edx
mov edi, eax
mov esi, dword [ebp - 0x28]
cmovne edi, ecx
mov ecx, esi
mov dword [ebp - 0x3c], edi
call fcn.1000b6b0
mov edx, dword [ebp - 0xc]
mov byte [ebp - 0x31], al
test al, al
je 0x1002d721
cmp dword [edx + 0x1bb8], esi
jne 0x1002d721
mov ecx, dword [edx + 0x1bc0]
cmp ecx, dword [esi + 0x164]
jne 0x1002d721
mov byte [ebp - 4], 1
mov byte [ebp - 0x1d], 0
cmp byte [ebp - 0xf], 0
je 0x1002d6f1
cmp byte [edx + 0x3d8], 0
mov byte [ebp - 0xe], 1
jne 0x1002d6f5
mov byte [ebp - 0xe], 0
mov esi, dword [edx + 0x19bc]
mov eax, dword [ebp - 0x24]
cmp esi, eax
je 0x1002d733
cmp dword [edx + 0x1ac0], eax
je 0x1002d71b
cmp dword [edx + 0x1ab4], eax
jne 0x1002d733
cmp dword [edx + 0x1ad4], 3
jne 0x1002d733
mov byte [ebp - 6], 1
jmp 0x1002d737
mov byte [ebp - 4], 0
test al, al
je 0x1002d6da
mov byte [ebp - 0x1d], 1
mov byte [ebp - 4], 0
jmp 0x1002d6de
mov byte [ebp - 6], 0
mov eax, dword [ebp - 0x2c]
test al, al
je 0x1002d77c
test edi, edi
je 0x1002d77c
test esi, esi
jne 0x1002d77c
mov eax, dword [ebp - 0x6c]
xor edx, edx
mov ecx, dword [eax + 0x1c4]
mov eax, dword [eax + 0x1cc]
push dword [eax + ecx*4 - 4]
mov ecx, str.SCROLLY
call fcn.10008cd0
mov ecx, dword [ebp - 0xc]
add esp, 4
cmp dword [ecx + 0x19c0], eax
jne 0x1002d779
mov byte [ebp - 5], 1
jmp 0x1002d78c
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 5], 0
test al, al
je 0x1002d7b6
mov byte [ebp - 5], 0
test edi, edi
je 0x1002d7b6
mov eax, dword [ebp - 0x6c]
mov ecx, str.SCROLLY
mov edx, dword [eax + 0x1c4]
mov eax, dword [eax + 0x1cc]
push dword [eax + edx*4 - 4]
xor edx, edx
call fcn.10008cd0
add esp, 4
cmp esi, eax
jne 0x1002d7b6
mov al, 1
jmp 0x1002d7b8
xor al, al
mov edx, dword [ebp - 0x24]
mov cl, byte [ebp - 6]
mov byte [ebp - 0xd], al
mov byte [ebp - 0x4c], 0
cmp esi, edx
je 0x1002d7dd
test byte [ebx + 0x14], 0x10
jne 0x1002d7d3
test cl, cl
je 0x1002d7dd
cmp byte [ebp - 0x2c], 0
mov byte [ebp - 0x1c], 1
je 0x1002d7e1
mov byte [ebp - 0x1c], 0
cmp byte [ebp - 0x31], 0
mov dword [ebp - 0x78], 1
jne 0x1002d8e3
cmp byte [ebp - 0xe], 0
jne 0x1002d8e3
cmp byte [ebp - 5], 0
jne 0x1002d8e3
test cl, cl
jne 0x1002d8e3
mov byte [ebp - 5], cl
test al, al
jne 0x1002d8e7
mov byte [ebp - 0x11], al
mov esi, edx
mov edx, dword [ebp - 0xc]
cmp dword [edx + 0x19bc], esi
je 0x1002d882
cmp byte [ebp - 5], 0
je 0x1002d87a
mov edx, dword [ebp - 0x28]
mov ecx, esi
call fcn.1000afe0
call fcn.1000b090
mov ecx, edx
call fcn.10013480
mov edx, dword [ebp - 0xc]
mov eax, dword [ebx + 0x14]
mov dword [edx + 0x19d8], 2
test eax, 0x440
je 0x1002d866
mov dword [edx + 0x19d8], 0x20002
cmp byte [ebp - 0x2c], 0
jne 0x1002d87a
test al, al
js 0x1002d87a
mov dword [edx + 0x19d4], 0xc
cmp dword [edx + 0x19bc], esi
jne 0x1002d88e
test edi, edi
jne 0x1002d88e
call fcn.1000b150
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0x19bc]
cmp eax, esi
jne 0x1002d8b8
cmp byte [edx + 0x3d8], 0
je 0x1002d8b8
cmp byte [ebp - 0x11], 0
jne 0x1002d8b8
mov ecx, dword [ebp - 0x4c]
cmp byte [ebp - 5], 0
movzx ecx, cl
cmove ecx, dword [ebp - 0x78]
mov dword [ebp - 0x4c], ecx
cmp byte [ebp - 0x44], 0
je 0x1002db73
test edi, edi
je 0x1002db73
cmp eax, esi
je 0x1002dacb
cmp byte [ebp - 0xd], 0
jne 0x1002dacb
xor cl, cl
jmp 0x1002dacd
mov byte [ebp - 5], 1
mov byte [ebp - 0x11], 1
mov dword [ebp - 0x3c], edi
cmp esi, edx
je 0x1002d81c
mov edi, dword [ebp - 0xc]
mov ecx, dword [ebx + 8]
add edi, 0x1dc4
mov dword [ebp - 0x3c], edi
mov dword [edi + 0xe60], 0xbe99999a
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002d912
mov eax, dword [edi + 0x28]
sub ecx, edx
lea esi, [ecx + 1]
cmp esi, eax
jle 0x1002d94f
test eax, eax
je 0x1002d938
cdq
sub eax, edx
lea edx, [edi + 0x24]
mov ecx, eax
sar ecx, 1
add ecx, dword [edx + 4]
jmp 0x1002d940
mov ecx, 8
lea edx, [edi + 0x24]
cmp ecx, esi
mov eax, esi
cmovg eax, ecx
mov ecx, edx
push eax
call fcn.10018de0
push esi
push dword [ebx + 8]
mov dword [edi + 0x24], esi
push dword [edi + 0x2c]
call sub.VCRUNTIME140.dll_memcpy
mov edx, dword [ebx + 0xc]
lea eax, [edi + 0xc]
mov esi, dword [eax + 4]
inc edx
add esp, 0xc
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x30], edx
cmp edx, esi
jle 0x1002d9a8
test esi, esi
je 0x1002d98d
mov eax, esi
cdq
sub eax, edx
mov edx, dword [ebp - 0x30]
mov ecx, eax
sar ecx, 1
add ecx, esi
jmp 0x1002d992
mov ecx, 8
cmp ecx, edx
mov eax, edx
cmovg eax, ecx
lea ecx, [edi + 0xc]
push eax
call fcn.10018ed0
mov edx, dword [ebp - 0x30]
lea eax, [edi + 0xc]
mov dword [eax], edx
mov ecx, dword [edi + 0x1c]
test ecx, ecx
jns 0x1002d9ca
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
lea ecx, [edi + 0x18]
call fcn.10018de0
mov esi, dword [ebx + 8]
lea eax, [ebp - 0x48]
mov edx, dword [ebx + 0xc]
push eax
push ecx
mov dword [edi + 0x18], 0
mov ecx, dword [edi + 0x14]
push esi
mov byte [edi + 0x30], 0
call fcn.10009130
mov ecx, dword [ebp - 0x48]
add esp, 0xc
sub ecx, esi
mov edx, eax
mov esi, dword [ebp - 0x24]
mov dword [edi + 4], edx
mov dword [edi + 8], ecx
cmp dword [edi], esi
jne 0x1002da24
cmp dword [edi + 0x3c], edx
mov ecx, edx
cmovl ecx, dword [edi + 0x3c]
cmp dword [edi + 0x40], edx
mov dword [edi + 0x3c], ecx
mov ecx, edx
cmovl ecx, dword [edi + 0x40]
cmp dword [edi + 0x44], edx
mov dword [edi + 0x40], ecx
cmovl edx, dword [edi + 0x44]
mov dword [edi + 0x44], edx
jmp 0x1002da8d
mov ecx, dword [ebp - 0x2c]
mov al, cl
xor al, 1
mov dword [edi], esi
mov dword [edi + 0x38], 0
mov dword [edi + 0xe52], 0x630000
mov dword [edi + 0xe58], 0
mov dword [edi + 0xe5c], 0x3e7
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x48], 0x10000
mov dword [edi + 0x50], 0
mov byte [edi + 0x4c], al
test cl, cl
jne 0x1002da90
mov ecx, dword [ebp - 0x1c]
cmp byte [ebp - 4], 0
movzx ecx, cl
cmovne ecx, dword [ebp - 0x78]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp - 0x2c]
test dword [ebx + 0x14], 0x2000
je 0x1002da9d
mov byte [edi + 0x48], 1
test cl, cl
jne 0x1002d81e
cmp byte [ebp - 0x1d], cl
jne 0x1002dac2
cmp byte [ebp - 0xe], cl
je 0x1002d81e
mov eax, dword [ebp - 0xc]
cmp byte [eax + 0xf8], cl
je 0x1002d81e
mov byte [ebp - 0x1c], 1
jmp 0x1002d81e
mov cl, 1
mov eax, dword [edi + 0x40]
cmp eax, dword [edi + 0x44]
je 0x1002dad9
test cl, cl
jne 0x1002dae1
test cl, cl
je 0x1002db73
mov edx, dword [ebx + 0xc]
lea eax, [edi + 0xc]
mov esi, dword [eax + 4]
inc edx
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x30], edx
cmp edx, esi
jle 0x1002db28
test esi, esi
je 0x1002db0d
mov eax, esi
cdq
sub eax, edx
mov edx, dword [ebp - 0x30]
mov ecx, eax
sar ecx, 1
add ecx, esi
jmp 0x1002db12
mov ecx, 8
cmp ecx, edx
mov eax, edx
cmovg eax, ecx
lea ecx, [edi + 0xc]
push eax
call fcn.10018ed0
mov edx, dword [ebp - 0x30]
lea eax, [edi + 0xc]
mov dword [eax], edx
lea eax, [ebp - 0x48]
push eax
push ecx
push dword [ebx + 8]
mov ecx, dword [edi + 0x14]
call fcn.10009130
mov ecx, dword [ebp - 0x48]
mov esi, eax
sub ecx, dword [ebx + 8]
add esp, 0xc
cmp dword [edi + 0x3c], esi
mov edx, esi
mov dword [edi + 8], ecx
mov ecx, esi
cmovl edx, dword [edi + 0x3c]
cmp dword [edi + 0x40], esi
mov dword [edi + 4], esi
cmovl ecx, dword [edi + 0x40]
cmp dword [edi + 0x44], esi
mov dword [edi + 0x3c], edx
cmovl esi, dword [edi + 0x44]
mov edx, dword [ebp - 0xc]
mov dword [edi + 0x44], esi
mov esi, dword [ebp - 0x24]
mov dword [edi + 0x40], ecx
mov ecx, dword [edx + 0x19bc]
cmp ecx, esi
je 0x1002db8d
test edi, edi
je 0x1002db87
cmp byte [ebp - 0xd], 0
jne 0x1002db8d
mov byte [ebp - 0xd], 0
jmp 0x1002db91
mov byte [ebp - 0xd], 1
test edi, edi
je 0x1002dbb2
mov eax, dword [edi + 0x40]
cmp eax, dword [edi + 0x44]
mov al, byte [ebp - 0xd]
je 0x1002dbb5
test al, al
je 0x1002dbb5
mov byte [ebp - 2], 1
mov byte [ebp - 3], 0
mov byte [ebp - 5], 0
jmp 0x1002dbcc
mov al, byte [ebp - 0xd]
mov byte [ebp - 3], 0
mov byte [ebp - 5], 0
mov byte [ebp - 2], 0
test al, al
jne 0x1002dbcc
mov byte [ebp - 2], al
cmp ecx, esi
jne 0x1002dbe0
cmp byte [ebp - 0x44], 0
jne 0x1002dbe0
test edi, edi
je 0x1002dbe0
cmp byte [edi + 0x30], 0
mov byte [ebp - 0x31], 1
jne 0x1002dbe4
mov byte [ebp - 0x31], 0
cmp byte [ebp - 0xac], 0
je 0x1002dc8d
mov esi, dword [edx + 0x18b8]
cmp dword [esi + 0x14], 0x2a
jg 0x1002dc02
mov eax, dword [esi + 0x2c]
jmp 0x1002dc21
mov eax, dword [esi + 0x1c]
mov ecx, 0xffff
movzx eax, word [eax + 0x54]
cmp ax, cx
jne 0x1002dc18
mov eax, dword [esi + 0x2c]
jmp 0x1002dc21
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x28]
lea eax, [eax + ecx*8]
mov dword [ebp - 0x28], eax
add edx, 0x2c38
mov eax, dword [esi + 0x10]
mov esi, dword [ebp - 0xc]
mov dword [edx + 0x10], eax
mov eax, dword [esi + 0x18b8]
mov eax, dword [eax + 0x44]
mov dword [edx + 0x44], eax
mov eax, dword [esi + 0x18b8]
mov ecx, dword [eax + 0x30]
mov eax, dword [eax + 0x34]
mov dword [edx + 0x30], ecx
mov ecx, edx
mov dword [edx + 0x34], eax
mov eax, dword [esi + 0x18b8]
mov eax, dword [eax + 0x48]
mov dword [edx + 0x48], eax
mov eax, dword [esi + 0x18b8]
mov eax, dword [eax + 0x4c]
mov dword [edx + 0x4c], eax
mov eax, dword [esi + 0x18b8]
mov eax, dword [eax + 0x38]
mov dword [edx + 0x38], eax
mov eax, dword [ebp - 0x28]
mov dword [edx + 0x2c], eax
mov eax, dword [eax + 4]
mov dword [edx + 0xc], eax
call fcn.10013670
mov edx, esi
mov esi, dword [ebp - 0x24]
movss xmm0, dword [0x1003b48c]
mov dword [ebp - 0x64], 0
cmp dword [edx + 0x19bc], esi
jne 0x1002dfbb
mov eax, dword [edi + 8]
mov dword [ebp - 0x64], eax
mov eax, dword [ebx + 0xc]
mov dword [edi + 0x34], eax
mov eax, dword [ebx + 0x14]
mov dword [edi + 0xe68], eax
mov dword [edi + 0xe6c], 0
mov dword [edi + 0xe70], 0
cmp byte [edx + 0xe8], 0
mov dword [edx + 0x2f28], 1
sete al
cmp byte [ebp - 0x2c], 0
mov byte [edx + 0x19cd], al
movss xmm7, dword [edx + 0xe0]
subss xmm7, dword [ebp - 0xa4]
subss xmm7, dword [edx + 0x1544]
addss xmm7, dword [edi + 0x38]
je 0x1002dd2b
mov eax, dword [ebp - 0x6c]
movss xmm2, dword [edx + 0xe4]
subss xmm2, dword [eax + 0xcc]
subss xmm2, dword [edx + 0x1548]
jmp 0x1002dd37
movss xmm2, dword [edx + 0x18bc]
mulss xmm2, xmm0
cmp byte [ebp - 0x1c], 0
mov al, byte [edx + 0xad]
mov byte [ebp - 4], al
jne 0x1002deb6
mov cl, byte [ebp - 0xf]
test cl, cl
je 0x1002dd61
test al, al
jne 0x1002ddcc
cmp byte [edx + 0x3dd], al
jne 0x1002deb6
cmp byte [edx + 0x3d8], 0
je 0x1002de23
cmp byte [edi + 0xe65], 0
jne 0x1002de23
test cl, cl
je 0x1002ded4
cmp byte [edi + 0x4c], 0
je 0x1002dda3
push 0
mov edx, edi
lea ecx, [ebp - 0xe0]
call fcn.1002b690
movss xmm2, dword [ebp - 0xd4]
add esp, 4
movaps xmm1, xmm7
mov ecx, edi
call fcn.1002b9c0
mov edx, dword [ebp - 0xc]
mov dword [edi + 0x3c], eax
mov dword [edi + 0x40], eax
mov dword [edi + 0x44], eax
mov byte [edi + 0x4b], 0
mov dword [edi + 0xe60], 0xbe99999a
jmp 0x1002ded1
cmp byte [edx + 0x3dd], 0
je 0x1002dd61
push 0x1000c
lea edx, [edi + 0x3c]
mov ecx, edi
call fcn.1002bde0
add esp, 4
mov byte [edi + 0xe64], 1
lea edx, [edi + 0x3c]
mov dword [edi + 0xe60], 0xbe99999a
mov ecx, edi
push 0x3000d
call fcn.1002bde0
mov edx, dword [ebp - 0xc]
add esp, 4
mov byte [edi + 0xe64], 1
mov dword [edi + 0xe60], 0xbe99999a
jmp 0x1002ded1
cmp byte [edx + 0xe8], 0
je 0x1002ded4
cmp byte [edi + 0xe65], 0
jne 0x1002dedd
movss xmm0, dword [edx + 0x374]
xorps xmm1, xmm1
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x1002de62
movss xmm0, dword [edx + 0x378]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x1002ded4
cmp byte [edi + 0x4c], 0
je 0x1002de82
push 0
mov edx, edi
lea ecx, [ebp - 0xe0]
call fcn.1002b690
movss xmm2, dword [ebp - 0xd4]
add esp, 4
mov eax, dword [edi + 0x40]
cmp eax, dword [edi + 0x44]
jne 0x1002de90
mov eax, dword [edi + 0x3c]
mov dword [edi + 0x40], eax
movaps xmm1, xmm7
mov ecx, edi
call fcn.1002b9c0
mov edx, dword [ebp - 0xc]
mov dword [edi + 0x44], eax
mov dword [edi + 0x3c], eax
mov dword [edi + 0xe60], 0xbe99999a
mov byte [edi + 0xe64], 1
jmp 0x1002ded1
mov eax, dword [edi + 4]
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], eax
mov dword [edi + 0x3c], eax
mov byte [edi + 0x4b], 0
mov byte [edi + 0xe65], 1
mov al, byte [ebp - 4]
cmp byte [edi + 0xe65], 0
je 0x1002deed
cmp byte [edx + 0xe8], 0
jne 0x1002deed
mov byte [edi + 0xe65], 0
cmp dword [edx + 0x1500], 0
jle 0x1002dfbb
cmp byte [edx + 0xf8], 0
je 0x1002df10
cmp byte [edx + 0xfa], 0
je 0x1002df8a
test al, al
je 0x1002df1d
cmp byte [edx + 0xfb], 0
jne 0x1002df8a
cmp byte [ebp - 0x44], 0
jne 0x1002df8a
cmp byte [ebp - 6], 0
jne 0x1002df8a
mov dword [ebp - 0x48], 0
xor esi, esi
mov eax, dword [edx + 0x1508]
lea ecx, [ebp - 0x30]
mov edx, dword [ebx + 0x14]
sub esp, 8
movzx eax, word [esi + eax]
mov dword [ebp - 0x30], eax
call fcn.1002d080
add esp, 8
test al, al
je 0x1002df75
push dword [ebp - 0x30]
lea edx, [edi + 0x3c]
mov ecx, edi
call fcn.1002bde0
add esp, 4
mov byte [edi + 0xe64], 1
mov dword [edi + 0xe60], 0xbe99999a
mov eax, dword [ebp - 0x48]
add esi, 2
mov edx, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0x48], eax
cmp eax, dword [edx + 0x1500]
jl 0x1002df32
mov ecx, dword [edx + 0x1504]
lea esi, [edx + 0x1500]
test ecx, ecx
jns 0x1002dfb5
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.10018ed0
mov edx, dword [ebp - 0xc]
mov dword [esi], 0
mov eax, dword [ebp - 0x24]
mov byte [ebp - 1], 0
cmp dword [edx + 0x19bc], eax
jne 0x1002eaee
cmp byte [edx + 0x19cc], 0
jne 0x1002eaee
cmp byte [ebp - 0x4c], 0
jne 0x1002eaee
mov cl, byte [edx + 0xf9]
xor esi, esi
mov dl, byte [edx + 0xad]
test cl, cl
mov eax, 0x20000
mov byte [ebp - 0x12], dl
cmovne esi, eax
mov eax, dword [ebp - 0xc]
test dl, dl
je 0x1002e02b
cmp byte [eax + 0xfb], 0
je 0x1002e020
cmp byte [eax + 0xf8], 0
jne 0x1002e020
mov eax, 1
jmp 0x1002e022
xor eax, eax
test eax, eax
je 0x1002e04e
mov eax, dword [ebp - 0xc]
jmp 0x1002e03d
cmp byte [eax + 0xf8], 0
je 0x1002e04e
cmp byte [eax + 0xfb], 0
jne 0x1002e04e
cmp byte [eax + 0xfa], 0
jne 0x1002e04e
test cl, cl
jne 0x1002e04e
mov ah, 1
jmp 0x1002e050
xor ah, ah
mov ecx, dword [ebp - 0xc]
mov byte [ebp - 4], ah
test dl, dl
je 0x1002e084
cmp byte [ecx + 0xfb], 0
je 0x1002e084
cmp byte [ecx + 0xf9], 0
je 0x1002e084
cmp byte [ecx + 0xf8], 0
jne 0x1002e084
cmp byte [ecx + 0xfa], 0
jne 0x1002e084
mov byte [ebp - 0x11], 1
jmp 0x1002e08c
mov byte [ebp - 0x11], 0
test dl, dl
je 0x1002e0f4
cmp byte [ecx + 0xfb], 0
mov dl, byte [ecx + 0xfa]
mov byte [ebp - 0xe], dl
je 0x1002e0fe
cmp byte [ecx + 0xf8], 0
jne 0x1002e0fe
test dl, dl
jne 0x1002e0fe
mov cl, byte [ecx + 0xf8]
mov byte [ebp - 0x10], 1
mov edx, dword [ebp - 0xc]
cmp byte [edx + 0xf9], 0
mov byte [ebp - 6], 0
je 0x1002e153
mov byte [ebp - 6], 0
test cl, cl
jne 0x1002e153
mov byte [ebp - 6], cl
cmp byte [edx + 0xfa], cl
jne 0x1002e153
mov byte [ebp - 6], cl
cmp byte [edx + 0xfb], cl
jne 0x1002e153
mov byte [ebp - 0xf], 1
mov byte [ebp - 6], cl
jmp 0x1002e157
mov dl, byte [ecx + 0xf8]
mov byte [ebp - 0x11], 0
mov cl, byte [ecx + 0xf8]
mov al, dl
mov byte [ebp - 0xe], al
mov byte [ebp - 0x10], 0
test cl, cl
je 0x1002e0b5
mov edx, dword [ebp - 0xc]
mov byte [ebp - 0xe], al
mov byte [ebp - 0x10], 0
cmp byte [edx + 0xf9], 0
jne 0x1002e0b8
cmp byte [edx + 0xfa], 0
mov byte [ebp - 0xe], al
mov byte [ebp - 0x10], 0
jne 0x1002e0b8
cmp byte [edx + 0xfb], 0
mov byte [ebp - 0xe], al
mov byte [ebp - 0x10], 0
jne 0x1002e0b8
mov byte [ebp - 6], 1
mov byte [ebp - 0xe], al
mov byte [ebp - 0x10], 0
mov byte [ebp - 0xf], 0
test ah, ah
mov eax, dword [0x1003fc00]
je 0x1002e175
mov ecx, dword [eax + 0x7c]
test ecx, ecx
js 0x1002e175
call fcn.1000d930
test al, al
jne 0x1002e18b
mov eax, dword [0x1003fc00]
cmp byte [ebp - 0xf], 0
je 0x1002e1ae
mov ecx, dword [eax + 0x5c]
test ecx, ecx
js 0x1002e1ae
call fcn.1000d930
test al, al
je 0x1002e1ae
cmp byte [ebp - 0x44], 0
jne 0x1002e1ae
cmp byte [ebp - 0xac], 0
jne 0x1002e1ae
cmp byte [ebp - 0x2c], 0
je 0x1002e1a8
mov eax, dword [edi + 0x40]
cmp eax, dword [edi + 0x44]
je 0x1002e1ae
mov byte [ebp - 0x1d], 1
jmp 0x1002e1b2
mov byte [ebp - 0x1d], 0
cmp byte [ebp - 4], 0
mov eax, dword [0x1003fc00]
je 0x1002e1d2
mov ecx, dword [eax + 0x74]
test ecx, ecx
js 0x1002e1d2
call fcn.1000d930
test al, al
jne 0x1002e1e8
mov eax, dword [0x1003fc00]
cmp byte [ebp - 6], 0
je 0x1002e205
mov ecx, dword [eax + 0x58]
test ecx, ecx
js 0x1002e205
call fcn.1000d930
test al, al
je 0x1002e205
cmp byte [ebp - 0xac], 0
jne 0x1002e205
cmp byte [ebp - 0x2c], 0
je 0x1002e1ff
mov eax, dword [edi + 0x40]
cmp eax, dword [edi + 0x44]
je 0x1002e205
mov byte [ebp - 6], 1
jmp 0x1002e209
mov byte [ebp - 6], 0
cmp byte [ebp - 4], 0
mov eax, dword [0x1003fc00]
je 0x1002e229
mov ecx, dword [eax + 0x78]
test ecx, ecx
js 0x1002e229
call fcn.1000d930
test al, al
jne 0x1002e23f
mov eax, dword [0x1003fc00]
cmp byte [ebp - 0xf], 0
je 0x1002e249
mov ecx, dword [eax + 0x58]
test ecx, ecx
js 0x1002e249
call fcn.1000d930
test al, al
je 0x1002e249
cmp byte [ebp - 0x44], 0
mov byte [ebp - 0x13], 1
je 0x1002e24d
mov byte [ebp - 0x13], 0
mov al, byte [ebp - 4]
test al, al
je 0x1002e282
mov ecx, dword [0x1003fc00]
mov ecx, dword [ecx + 0x84]
test ecx, ecx
js 0x1002e282
call fcn.1000d930
test al, al
je 0x1002e27f
cmp byte [ebp - 0x44], 0
jne 0x1002e27f
cmp byte [ebp - 0x18], 0
je 0x1002e27f
mov byte [ebp - 0xf], 1
jmp 0x1002e28a
mov al, byte [ebp - 4]
mov byte [ebp - 0xf], 0
test al, al
je 0x1002e2a2
mov eax, dword [0x1003fc00]
mov ecx, dword [eax + 0x80]
test ecx, ecx
js 0x1002e2a7
call fcn.1000d930
test al, al
jne 0x1002e2c0
mov eax, dword [0x1003fc00]
cmp byte [ebp - 0x11], 0
je 0x1002e2d0
mov ecx, dword [eax + 0x84]
test ecx, ecx
js 0x1002e2d0
call fcn.1000d930
test al, al
je 0x1002e2d0
cmp byte [ebp - 0x44], 0
jne 0x1002e2d0
cmp byte [ebp - 0x18], 0
mov byte [ebp - 0x11], 1
jne 0x1002e2d4
mov byte [ebp - 0x11], 0
mov eax, dword [0x1003fc00]
mov ecx, dword [eax + 0x38]
test ecx, ecx
js 0x1002e32e
call fcn.1000d930
test al, al
je 0x1002e329
cmp byte [ebp - 0x10], 0
je 0x1002e306
mov eax, 0x10004
lea edx, [edi + 0x3c]
or eax, esi
mov ecx, edi
push eax
call fcn.1002bde0
jmp 0x1002eada
cmp byte [ebp - 0xe], 0
lea edx, [edi + 0x3c]
mov ecx, 0x1000c
mov eax, 0x10000
cmovne eax, ecx
mov ecx, edi
or eax, esi
push eax
call fcn.1002bde0
jmp 0x1002eada
mov eax, dword [0x1003fc00]
mov ecx, dword [eax + 0x3c]
test ecx, ecx
js 0x1002e383
call fcn.1000d930
test al, al
je 0x1002e37e
cmp byte [ebp - 0x10], 0
je 0x1002e35b
mov eax, 0x10005
lea edx, [edi + 0x3c]
or eax, esi
mov ecx, edi
push eax
call fcn.1002bde0
jmp 0x1002eada
cmp byte [ebp - 0xe], 0
lea edx, [edi + 0x3c]
mov ecx, 0x1000d
mov eax, 0x10001
cmovne eax, ecx
mov ecx, edi
or eax, esi
push eax
call fcn.1002bde0
jmp 0x1002eada
mov eax, dword [0x1003fc00]
mov ecx, dword [eax + 0x40]
test ecx, ecx
js 0x1002e3fb
call fcn.1000d930
test al, al
je 0x1002e3fb
cmp byte [ebp - 0x2c], 0
je 0x1002e3fb
mov ecx, dword [ebp - 0xc]
cmp byte [ecx + 0xf8], 0
je 0x1002e3de
mov eax, dword [ebp - 0x6c]
movss xmm1, dword [eax + 0x5c]
movaps xmm0, xmm1
subss xmm0, dword [ecx + 0x18bc]
addss xmm1, dword [eax + 0xe4]
maxss xmm0, dword [0x1003b448]
subss xmm1, xmm0
movss dword [eax + 0x5c], xmm0
movss dword [eax + 0xe4], xmm1
jmp 0x1002eaee
movzx eax, byte [ebp - 0x10]
lea edx, [edi + 0x3c]
mov ecx, edi
lea eax, [eax*4 + 0x10002]
or eax, esi
push eax
call fcn.1002bde0
jmp 0x1002eada
mov ecx, dword [0x1003fc00]
mov ecx, dword [ecx + 0x44]
test ecx, ecx
js 0x1002e4a7
call fcn.1000d930
test al, al
je 0x1002e4a7
cmp byte [ebp - 0x2c], 0
je 0x1002e4a7
mov ecx, dword [ebp - 0xc]
cmp byte [ecx + 0xf8], 0
je 0x1002e48a
mov esi, dword [0x1003fc00]
mov edx, dword [ebp - 0x6c]
mov eax, dword [esi + 0x199c]
movss xmm3, dword [edx + 0x5c]
movaps xmm2, xmm3
addss xmm2, dword [ecx + 0x18bc]
movss xmm0, dword [eax + 0x20]
subss xmm0, dword [eax + 0x74]
movss xmm1, dword [eax + 0x30]
addss xmm3, dword [edx + 0xe4]
subss xmm1, xmm0
xorps xmm0, xmm0
maxss xmm0, xmm1
minss xmm2, xmm0
subss xmm3, xmm2
movss dword [edx + 0x5c], xmm2
movss dword [edx + 0xe4], xmm3
jmp 0x1002eaee
movzx eax, byte [ebp - 0x10]
lea edx, [edi + 0x3c]
mov ecx, edi
lea eax, [eax*4 + 0x10003]
or eax, esi
push eax
call fcn.1002bde0
jmp 0x1002eada
mov ecx, dword [0x1003fc00]
mov ecx, dword [ecx + 0x50]
test ecx, ecx
js 0x1002e4e7
call fcn.1000d930
test al, al
je 0x1002e4e7
mov ecx, dword [ebp - 0xc]
lea edx, [edi + 0x3c]
mov eax, esi
or esi, 0x10004
or eax, 0x10006
cmp byte [ecx + 0xf8], 0
mov ecx, edi
cmovne esi, eax
push esi
call fcn.1002bde0
jmp 0x1002eada
mov ecx, dword [0x1003fc00]
mov ecx, dword [ecx + 0x54]
test ecx, ecx
js 0x1002e527
call fcn.1000d930
test al, al
je 0x1002e527
mov ecx, dword [ebp - 0xc]
lea edx, [edi + 0x3c]
mov eax, esi
or esi, 0x10005
or eax, 0x10007
cmp byte [ecx + 0xf8], 0
mov ecx, edi
cmovne esi, eax
push esi
call fcn.1002bde0
jmp 0x1002eada
mov ecx, dword [0x1003fc00]
mov ecx, dword [ecx + 0x5c]
test ecx, ecx
js 0x1002e559
call fcn.1000d930
test al, al
je 0x1002e559
cmp byte [ebp - 0x44], 0
jne 0x1002e559
or esi, 0x10008
lea edx, [edi + 0x3c]
push esi
mov ecx, edi
call fcn.1002bde0
jmp 0x1002eada
mov ecx, dword [0x1003fc00]
mov ecx, dword [ecx + 0x60]
test ecx, ecx
js 0x1002e5eb
call fcn.1000d930
test al, al
je 0x1002e5eb
cmp byte [ebp - 0x44], 0
jne 0x1002e5eb
mov eax, dword [edi + 0x40]
cmp eax, dword [edi + 0x44]
jne 0x1002e5d5
cmp byte [ebp - 0xe], 0
je 0x1002e58e
push 0x3000c
jmp 0x1002e5b7
cmp byte [ebp - 0x12], 0
je 0x1002e5d5
mov eax, dword [ebp - 0xc]
cmp byte [eax + 0xfb], 0
je 0x1002e5d5
cmp byte [eax + 0xfa], 0
jne 0x1002e5d5
cmp byte [eax + 0xf8], 0
jne 0x1002e5d5
push 0x30004
lea edx, [edi + 0x3c]
mov ecx, edi
call fcn.1002bde0
mov dword [edi + 0xe60], 0xbe99999a
add esp, 4
mov byte [edi + 0xe64], 1
or esi, 0x10009
lea edx, [edi + 0x3c]
push esi
mov ecx, edi
call fcn.1002bde0
jmp 0x1002eada
mov esi, dword [0x1003fc00]
mov ecx, dword [esi + 0x68]
test ecx, ecx
js 0x1002e66c
call fcn.1000d930
test al, al
je 0x1002e66c
mov edx, dword [ebx + 0x14]
mov eax, edx
shr eax, 0xb
and al, 1
cmp byte [ebp - 0x2c], 0
je 0x1002e622
mov ecx, dword [ebp - 0xc]
mov cl, byte [ecx + 0xf8]
test al, al
je 0x1002e62f
test cl, cl
jne 0x1002e633
mov byte [ebp - 0x4c], 1
mov byte [ebp - 5], 1
jmp 0x1002eaf1
test cl, cl
jne 0x1002e622
cmp byte [ebp - 0x44], 0
jne 0x1002eaf1
mov dword [ebp - 0x30], 0xa
sub esp, 8
lea ecx, [ebp - 0x30]
call fcn.1002d080
add esp, 8
test al, al
je 0x1002eaee
push dword [ebp - 0x30]
lea edx, [edi + 0x3c]
mov ecx, edi
call fcn.1002bde0
jmp 0x1002eada
test dword [ebx + 0x14], 0x400
je 0x1002e6b5
mov ecx, dword [esi + 0x34]
test ecx, ecx
js 0x1002e6b5
call fcn.1000d930
test al, al
je 0x1002e6b5
mov eax, dword [ebp - 0xc]
cmp byte [eax + 0xf8], 0
jne 0x1002e6b5
cmp byte [eax + 0xf9], 0
jne 0x1002e6b5
cmp byte [eax + 0xfa], 0
jne 0x1002e6b5
cmp byte [ebp - 0x44], 0
jne 0x1002e6b5
mov edx, dword [ebx + 0x14]
mov dword [ebp - 0x30], 9
jmp 0x1002e644
mov ecx, dword [esi + 0x6c]
test ecx, ecx
js 0x1002e6d2
call fcn.1000d930
test al, al
je 0x1002e6d2
mov edx, dword [ebx + 0x14]
mov cl, 1
mov byte [ebp - 0x4c], cl
jmp 0x1002eaf4
mov al, byte [ebp - 0xf]
test al, al
jne 0x1002eabb
cmp byte [ebp - 0x11], al
jne 0x1002eabb
cmp byte [ebp - 4], al
je 0x1002e714
mov ecx, dword [esi + 0x70]
test ecx, ecx
js 0x1002e714
call fcn.1000d930
test al, al
je 0x1002e714
mov eax, dword [edi + 4]
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], eax
mov dword [edi + 0x3c], eax
mov byte [edi + 0x4b], 0
jmp 0x1002eae7
mov al, byte [ebp - 0x1d]
test al, al
jne 0x1002e949
cmp byte [ebp - 6], al
jne 0x1002e949
cmp byte [ebp - 0x13], al
je 0x1002eaee
mov eax, dword [esi + 0xc8]
test eax, eax
je 0x1002e752
push dword [esi + 0xd0]
call eax
mov esi, eax
add esp, 4
test esi, esi
je 0x1002eaee
jmp 0x1002e757
mov esi, 0x100364f1
mov ecx, esi
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002e760
mov eax, dword [0x1003fc00]
sub ecx, edx
test eax, eax
je 0x1002e778
inc dword [eax + 0x370]
lea eax, [ecx*2 + 2]
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov ecx, eax
add esp, 4
xor eax, eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x38], eax
cmp byte [esi], al
je 0x1002e7f1
xor edi, edi
nop dword [eax]
push 0
mov edx, esi
lea ecx, [ebp - 0x28]
call fcn.10008fa0
add esi, eax
add esp, 4
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x1002e7e5
cmp eax, 0x10000
jae 0x1002e7e0
mov edx, dword [ebx + 0x14]
lea ecx, [ebp - 0x28]
sub esp, 8
call fcn.1002d080
add esp, 8
test al, al
je 0x1002e7e0
mov ecx, dword [ebp - 0x18]
mov ax, word [ebp - 0x28]
mov word [ecx + edi*2], ax
inc edi
cmp byte [esi], 0
jne 0x1002e7a0
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x38], edi
mov edi, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x38]
xor edx, edx
mov word [ecx + eax*2], dx
test eax, eax
jle 0x1002e927
mov ecx, dword [edi + 0x44]
lea esi, [edi + 0x3c]
mov eax, dword [esi + 4]
mov edx, dword [edi + 4]
cmp eax, ecx
je 0x1002e846
mov dword [ebp - 0x40], eax
cmp eax, edx
jle 0x1002e820
mov eax, edx
mov dword [esi + 4], edx
mov dword [ebp - 0x40], eax
jmp 0x1002e823
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x1c], ecx
cmp ecx, edx
jle 0x1002e834
mov ecx, edx
mov dword [esi + 8], edx
mov dword [ebp - 0x1c], ecx
jmp 0x1002e837
mov ecx, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x1c]
cmp dword [ebp - 0x40], edi
jne 0x1002e846
mov eax, dword [ebp - 0x40]
mov ecx, edi
mov dword [esi], eax
mov edi, dword [esi]
cmp edi, edx
mov dword [ebp - 0x1c], edi
mov edi, dword [ebp - 0x3c]
jle 0x1002e857
mov dword [esi], edx
mov dword [ebp - 0x1c], edx
mov edx, dword [edi + 4]
cmp eax, ecx
je 0x1002e89a
mov dword [ebp - 0x40], eax
cmp eax, edx
jle 0x1002e86f
mov eax, edx
mov dword [esi + 4], edx
mov dword [ebp - 0x40], eax
jmp 0x1002e872
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x68], ecx
cmp ecx, edx
jle 0x1002e87f
mov dword [esi + 8], edx
mov dword [ebp - 0x68], edx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp - 0x68]
mov edi, ecx
cmp dword [ebp - 0x40], edi
mov edi, dword [ebp - 0x3c]
jne 0x1002e89a
mov eax, dword [ebp - 0x40]
mov dword [esi], eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], edx
jle 0x1002e8a1
mov dword [esi], edx
cmp eax, ecx
je 0x1002e8d6
mov edx, esi
jge 0x1002e8bc
sub ecx, eax
push ecx
push eax
mov ecx, edi
call fcn.1002bca0
mov eax, dword [esi + 4]
mov dword [esi + 8], eax
jmp 0x1002e8cd
sub eax, ecx
push eax
push ecx
mov ecx, edi
call fcn.1002bca0
mov eax, dword [esi + 8]
mov dword [esi + 4], eax
mov dword [esi], eax
add esp, 8
mov byte [esi + 0xf], 0
push dword [ebp - 0x38]
mov edx, dword [esi]
mov ecx, edi
push dword [ebp - 0x18]
call fcn.1002b870
add esp, 8
test al, al
je 0x1002e909
push dword [ebp - 0x38]
mov edx, dword [esi]
lea ecx, [esi + 0x18]
push 0
call fcn.1002cbe0
mov eax, dword [ebp - 0x38]
add esp, 8
add dword [esi], eax
mov byte [esi + 0xf], 0
jmp 0x1002e91d
movzx eax, word [esi + 0xe16]
test ax, ax
je 0x1002e91d
dec eax
mov word [esi + 0xe16], ax
mov ecx, dword [ebp - 0x18]
mov byte [edi + 0xe64], 1
test ecx, ecx
je 0x1002e93a
mov eax, dword [0x1003fc00]
test eax, eax
je 0x1002e93a
dec dword [eax + 0x370]
push ecx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
jmp 0x1002eaee
mov ecx, dword [ebp - 0xc]
cmp dword [ecx + 0xcc], 0
je 0x1002ea1b
mov ecx, dword [edi + 0x44]
mov eax, dword [edi + 0x40]
cmp eax, ecx
je 0x1002e96d
mov esi, ecx
cmovge ecx, eax
cmovl esi, eax
jmp 0x1002e972
mov ecx, dword [edi + 4]
xor esi, esi
mov al, byte [ebp - 2]
mov byte [ebp - 2], al
mov al, byte [ebp - 3]
mov byte [ebp - 3], al
mov al, byte [ebp - 5]
mov byte [ebp - 5], al
mov eax, dword [edi + 0x14]
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x48], esi
lea edx, [eax + ecx*2]
lea ecx, [eax + esi*2]
call fcn.100092d0
mov ecx, dword [0x1003fc00]
inc eax
mov dword [ebp - 0x50], eax
test ecx, ecx
je 0x1002e9ac
inc dword [ecx + 0x370]
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov esi, dword [edi + 0x14]
add esp, 4
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x50]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0x48]
lea ecx, [esi + ecx*2]
push ecx
lea ecx, [esi + eax*2]
mov esi, dword [ebp - 0xa8]
push ecx
mov ecx, esi
call fcn.100091a0
mov eax, dword [0x1003fc00]
add esp, 8
mov ecx, dword [eax + 0xcc]
test ecx, ecx
je 0x1002ea00
push esi
push dword [eax + 0xd0]
call ecx
mov eax, dword [0x1003fc00]
add esp, 8
test esi, esi
je 0x1002ea0e
test eax, eax
je 0x1002ea0e
dec dword [eax + 0x370]
push esi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov al, byte [ebp - 0x1d]
add esp, 4
test al, al
je 0x1002eaee
mov eax, dword [edi + 0x40]
cmp eax, dword [edi + 0x44]
jne 0x1002ea3f
mov eax, dword [edi + 4]
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], eax
mov dword [edi + 0x3c], eax
mov byte [edi + 0x4b], 0
mov byte [edi + 0xe64], 1
mov ecx, dword [edi + 0x44]
mov eax, dword [edi + 0x40]
cmp eax, ecx
je 0x1002eaee
mov edx, dword [edi + 4]
cmp eax, edx
jle 0x1002ea60
mov dword [edi + 0x40], edx
mov eax, edx
cmp ecx, edx
jle 0x1002ea69
mov dword [edi + 0x44], edx
mov ecx, edx
cmp eax, ecx
jne 0x1002ea70
mov dword [edi + 0x3c], eax
cmp dword [edi + 0x3c], edx
jle 0x1002ea78
mov dword [edi + 0x3c], edx
cmp eax, ecx
je 0x1002eab5
lea edx, [edi + 0x3c]
jge 0x1002ea9e
sub ecx, eax
push ecx
push eax
mov ecx, edi
call fcn.1002bca0
mov eax, dword [edi + 0x40]
add esp, 8
mov dword [edi + 0x44], eax
mov dword [edi + 0x3c], eax
mov byte [edi + 0x4b], 0
jmp 0x1002eaee
sub eax, ecx
push eax
push ecx
mov ecx, edi
call fcn.1002bca0
mov eax, dword [edi + 0x44]
add esp, 8
mov dword [edi + 0x40], eax
mov dword [edi + 0x3c], eax
mov byte [edi + 0x4b], 0
jmp 0x1002eaee
movzx eax, al
lea edx, [edi + 0x3c]
xor eax, 1
mov ecx, edi
add eax, 0x1000a
push eax
call fcn.1002bde0
mov eax, dword [edi + 0x3c]
mov dword [edi + 0x44], eax
mov dword [edi + 0x40], eax
add esp, 4
mov dword [edi + 0xe60], 0xbe99999a
mov byte [edi + 0xe64], 1
mov edx, dword [ebx + 0x14]
mov cl, byte [ebp - 1]
mov esi, dword [ebp - 0xc]
mov eax, dword [ebp - 0x24]
cmp dword [esi + 0x19bc], eax
jne 0x1002f086
xor eax, eax
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x1c], eax
test cl, cl
je 0x1002eb6c
cmp byte [ebp - 0x44], al
jne 0x1002eb56
mov esi, dword [edi + 0x2c]
mov ecx, esi
mov eax, dword [ebx + 8]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1002eb43
test dl, dl
je 0x1002eb3f
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1002eb43
add eax, 2
add ecx, 2
test dl, dl
jne 0x1002eb23
xor eax, eax
jmp 0x1002eb48
sbb eax, eax
or eax, 1
test eax, eax
je 0x1002eb56
mov eax, dword [edi + 0x24]
dec eax
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x1c], eax
cmp byte [ebp - 5], 0
je 0x1002ef86
mov edx, dword [ebx + 0x14]
test dl, 0x20
je 0x1002ef86
cmp byte [ebp - 0x44], 0
jne 0x1002ebce
mov eax, dword [edi + 0xc]
lea ecx, [edi + 0x18]
mov byte [edi + 0x30], 1
lea esi, [eax*4 + 1]
mov eax, dword [ecx + 4]
cmp esi, eax
jle 0x1002ebb7
test eax, eax
je 0x1002eb9d
cdq
sub eax, edx
lea edx, [edi + 0x18]
mov ecx, eax
sar ecx, 1
add ecx, dword [edx + 4]
jmp 0x1002eba5
mov ecx, 8
lea edx, [edi + 0x18]
cmp ecx, esi
mov eax, esi
cmovg eax, ecx
mov ecx, edx
push eax
call fcn.10018de0
lea ecx, [edi + 0x18]
mov dword [ecx], esi
mov edx, esi
mov ecx, dword [edi + 0x20]
push 0
push dword [edi + 0x14]
call fcn.100091a0
mov edx, dword [ebx + 0x14]
add esp, 8
test edx, 0x1c0
je 0x1002ef4a
mov eax, dword [0x1003fc00]
xor esi, esi
test dl, 0x40
je 0x1002ec07
mov ecx, dword [eax + 0x34]
test ecx, ecx
js 0x1002ec07
call fcn.1000d930
mov edx, dword [ebx + 0x14]
test al, al
je 0x1002ec02
mov esi, 0x40
xor eax, eax
jmp 0x1002ec5d
mov eax, dword [0x1003fc00]
test dl, dl
jns 0x1002ec4a
mov ecx, dword [eax + 0x40]
test ecx, ecx
js 0x1002ec2d
call fcn.1000d930
mov edx, dword [ebx + 0x14]
test al, al
je 0x1002ec28
mov esi, 0x80
lea eax, [esi - 0x7d]
jmp 0x1002ec5d
mov eax, dword [0x1003fc00]
mov ecx, dword [eax + 0x44]
test ecx, ecx
js 0x1002ec4a
call fcn.1000d930
mov edx, dword [ebx + 0x14]
test al, al
je 0x1002ec4a
mov esi, 0x80
lea eax, [esi - 0x7c]
jmp 0x1002ec5d
test edx, 0x100
mov eax, pe_nt_image_headers32
cmovne esi, eax
mov eax, 0x15
test esi, esi
je 0x1002ef4a
mov dword [ebp - 0x104], eax
xor ecx, ecx
mov eax, dword [edi + 0x20]
mov dword [ebp - 0x100], eax
mov eax, dword [edi + 8]
mov dword [ebp - 0xfc], eax
mov eax, dword [edi + 0x34]
mov dword [ebp - 0x114], esi
mov esi, dword [edi + 0x14]
mov dword [ebp - 0xf8], eax
mov eax, dword [edi + 0x3c]
mov word [ebp - 0xf3], cx
mov byte [ebp - 0xf1], cl
mov dword [ebp - 0x110], edx
mov dword [ebp - 0x10c], ecx
lea edx, [esi + eax*2]
mov byte [ebp - 0xf4], cl
mov ecx, esi
mov dword [ebp - 0x108], 0
call fcn.100092d0
mov edx, dword [ebp - 0x3c]
mov edi, eax
mov ecx, esi
mov dword [ebp - 0xf0], edi
mov edx, dword [edx + 0x40]
lea edx, [esi + edx*2]
call fcn.100092d0
mov dword [ebp - 0xa8], eax
mov ecx, esi
mov dword [ebp - 0xec], eax
mov eax, dword [ebp - 0x3c]
mov edx, dword [eax + 0x44]
lea edx, [esi + edx*2]
call fcn.100092d0
mov dword [ebp - 0x30], eax
mov dword [ebp - 0xe8], eax
lea eax, [ebp - 0x114]
push eax
xor eax, eax
call eax
mov ecx, dword [ebp - 0xf0]
add esp, 4
cmp ecx, edi
je 0x1002eda3
mov eax, dword [ebp - 0x100]
xor edx, edx
mov esi, eax
mov dword [ebp - 0x18], edx
lea edi, [ecx + eax]
mov ah, byte [ebp - 2]
mov ch, byte [ebp - 3]
test edi, edi
je 0x1002ed3e
cmp esi, edi
jae 0x1002ed94
cmp byte [esi], 0
mov al, ch
mov cl, ah
mov byte [ebp - 0x13], al
mov byte [ebp - 0x12], cl
mov byte [ebp - 2], ah
mov byte [ebp - 3], al
je 0x1002ed94
push edi
mov edx, esi
lea ecx, [ebp - 0x50]
call fcn.10008fa0
mov cl, byte [ebp - 0x12]
add esi, eax
mov al, byte [ebp - 0x13]
add esp, 4
mov edx, dword [ebp - 0x50]
mov byte [ebp - 2], cl
mov byte [ebp - 3], al
test edx, edx
je 0x1002ed91
cmp edx, 0x10000
mov edx, dword [ebp - 0x18]
jae 0x1002ed85
inc edx
mov dword [ebp - 0x18], edx
mov ah, cl
mov ch, al
mov byte [ebp - 2], ah
mov byte [ebp - 3], ch
jmp 0x1002ed36
mov edx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x3c]
mov dword [edi + 0x3c], edx
mov byte [edi + 0xe64], 1
jmp 0x1002eda6
mov edi, dword [ebp - 0x3c]
mov eax, dword [ebp - 0xec]
cmp eax, dword [ebp - 0xa8]
je 0x1002ee34
mov ecx, dword [ebp - 0x100]
xor edx, edx
mov esi, ecx
mov dword [ebp - 0x18], edx
lea edi, [eax + ecx]
mov ah, byte [ebp - 2]
mov ch, byte [ebp - 3]
nop
test edi, edi
je 0x1002edd8
cmp esi, edi
jae 0x1002ee2e
cmp byte [esi], 0
mov al, ch
mov cl, ah
mov byte [ebp - 0x13], al
mov byte [ebp - 0x12], cl
mov byte [ebp - 2], ah
mov byte [ebp - 3], al
je 0x1002ee2e
push edi
mov edx, esi
lea ecx, [ebp - 0x50]
call fcn.10008fa0
mov cl, byte [ebp - 0x12]
add esi, eax
mov al, byte [ebp - 0x13]
add esp, 4
mov edx, dword [ebp - 0x50]
mov byte [ebp - 2], cl
mov byte [ebp - 3], al
test edx, edx
je 0x1002ee2b
cmp edx, 0x10000
mov edx, dword [ebp - 0x18]
jae 0x1002ee1f
inc edx
mov dword [ebp - 0x18], edx
mov ah, cl
mov ch, al
mov byte [ebp - 2], ah
mov byte [ebp - 3], ch
jmp 0x1002edd0
mov edx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x3c]
mov dword [edi + 0x40], edx
mov eax, dword [ebp - 0xe8]
cmp eax, dword [ebp - 0x30]
je 0x1002eec4
mov ecx, dword [ebp - 0x100]
xor edx, edx
mov esi, ecx
mov dword [ebp - 0x18], edx
lea edi, [eax + ecx]
mov ah, byte [ebp - 2]
mov ch, byte [ebp - 3]
nop dword [eax]
test edi, edi
je 0x1002ee68
cmp esi, edi
jae 0x1002eebe
cmp byte [esi], 0
mov al, ch
mov cl, ah
mov byte [ebp - 0x13], al
mov byte [ebp - 0x12], cl
mov byte [ebp - 2], ah
mov byte [ebp - 3], al
je 0x1002eebe
push edi
mov edx, esi
lea ecx, [ebp - 0x50]
call fcn.10008fa0
mov cl, byte [ebp - 0x12]
add esi, eax
mov al, byte [ebp - 0x13]
add esp, 4
mov edx, dword [ebp - 0x50]
mov byte [ebp - 2], cl
mov byte [ebp - 3], al
test edx, edx
je 0x1002eebb
cmp edx, 0x10000
mov edx, dword [ebp - 0x18]
jae 0x1002eeaf
inc edx
mov dword [ebp - 0x18], edx
mov ah, cl
mov ch, al
mov byte [ebp - 2], ah
mov byte [ebp - 3], ch
jmp 0x1002ee60
mov edx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x3c]
mov dword [edi + 0x44], edx
cmp byte [ebp - 0xf4], 0
je 0x1002ef4a
mov esi, dword [ebp - 0xfc]
mov ecx, dword [ebp - 0x64]
cmp esi, ecx
jle 0x1002ef1d
cmp byte [ebp - 0x7c], 0
je 0x1002ef1d
mov eax, dword [edi + 0x10]
sub esi, ecx
add esi, dword [edi + 0xc]
cmp esi, eax
jle 0x1002ef1a
test eax, eax
je 0x1002ef03
cdq
sub eax, edx
lea edx, [edi + 0xc]
mov ecx, eax
sar ecx, 1
add ecx, dword [edx + 4]
jmp 0x1002ef0b
mov ecx, 8
lea edx, [edi + 0xc]
cmp ecx, esi
mov eax, esi
cmovg eax, ecx
mov ecx, edx
push eax
call fcn.10018ed0
mov dword [edi + 0xc], esi
mov edx, dword [edi + 0xc]
push 0
push ecx
push dword [ebp - 0x100]
mov ecx, dword [edi + 0x14]
call fcn.10009130
mov dword [edi + 4], eax
add esp, 0xc
mov eax, dword [ebp - 0xfc]
mov dword [edi + 8], eax
mov dword [edi + 0xe60], 0xbe99999a
cmp byte [ebp - 0x44], 0
jne 0x1002ef86
mov esi, dword [edi + 0x20]
mov eax, esi
mov ecx, dword [ebx + 8]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1002ef78
test dl, dl
je 0x1002ef74
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1002ef78
add eax, 2
add ecx, 2
test dl, dl
jne 0x1002ef58
xor eax, eax
jmp 0x1002ef7d
sbb eax, eax
or eax, 1
test eax, eax
je 0x1002ef86
mov ecx, dword [edi + 8]
jmp 0x1002ef8c
mov esi, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x1c]
test esi, esi
je 0x1002f062
cmp dword [ebp - 0x64], ecx
je 0x1002f02d
cmp byte [ebp - 0x7c], 0
je 0x1002f02d
mov eax, dword [ebx + 0x14]
xorps xmm0, xmm0
mov dword [ebp - 0x140], eax
mov eax, dword [ebx + 8]
mov dword [ebp - 0x130], eax
lea eax, [ecx + 1]
cmp dword [ebx + 0xc], eax
movlpd qword [ebp - 0x138], xmm0
cmovge eax, dword [ebx + 0xc]
mov dword [ebp - 0x128], eax
lea eax, [ebp - 0x144]
push eax
xor eax, eax
movlpd qword [ebp - 0x124], xmm0
movlpd qword [ebp - 0x11c], xmm0
mov dword [ebp - 0x144], 0x40000
mov dword [ebp - 0x12c], ecx
mov dword [ebp - 0x13c], 0
call eax
mov edx, dword [ebp - 0x128]
add esp, 4
mov eax, dword [ebp - 0x130]
mov dword [ebx + 8], eax
lea ecx, [edx - 1]
cmp dword [ebp - 0x12c], ecx
cmovl ecx, dword [ebp - 0x12c]
jmp 0x1002f030
mov edx, dword [ebx + 0xc]
lea eax, [ecx + 1]
cmp eax, edx
cmovl edx, eax
mov dword [ebx + 0xc], edx
cmp edx, 1
jb 0x1002f05e
jbe 0x1002f056
lea eax, [edx - 1]
push eax
push esi
push dword [ebx + 8]
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
mov edx, dword [ebx + 0xc]
add esp, 0xc
mov eax, dword [ebx + 8]
mov byte [edx + eax - 1], 0
mov byte [ebp - 3], 1
mov esi, dword [ebp - 0xc]
mov eax, dword [ebp - 0x24]
mov dword [edi + 0xe68], 0
mov dword [edi + 0xe6c], 0
mov dword [edi + 0xe70], 0
cmp byte [ebp - 0x4c], 0
je 0x1002f099
cmp dword [esi + 0x19bc], eax
jne 0x1002f099
call fcn.1000b150
mov eax, dword [ebp - 0x2c]
movss xmm3, dword [0x1003b544]
test al, al
jne 0x1002f231
mov edx, dword [ebp - 0x24]
lea ecx, [ebp - 0xa0]
push 1
call fcn.1000a3f0
mov eax, dword [0x1003fc00]
xorps xmm4, xmm4
movss xmm6, dword [0x1003b4b8]
add esp, 4
movups xmm1, xmmword [eax + 0x1628]
comiss xmm4, xmm1
movaps xmm2, xmm1
movaps xmmword [ebp - 0xe0], xmm1
shufps xmm2, xmm1, 0xff
mulss xmm2, dword [eax + 0x1510]
jbe 0x1002f0f6
xorps xmm0, xmm0
jmp 0x1002f0fd
movaps xmm0, xmm6
minss xmm0, xmm1
movss xmm3, dword [0x1003b544]
movss xmm5, dword [0x1003b48c]
movss xmm1, dword [ebp - 0xdc]
comiss xmm4, xmm1
mulss xmm0, xmm3
addss xmm0, xmm5
cvttss2si edx, xmm0
jbe 0x1002f12b
xorps xmm0, xmm0
jmp 0x1002f132
movaps xmm0, xmm6
minss xmm0, xmm1
movss xmm1, dword [ebp - 0xd8]
mulss xmm0, xmm3
addss xmm0, xmm5
cvttss2si eax, xmm0
shl eax, 8
or edx, eax
comiss xmm4, xmm1
jbe 0x1002f155
xorps xmm0, xmm0
jmp 0x1002f15c
movaps xmm0, xmm6
minss xmm0, xmm1
mulss xmm0, xmm3
addss xmm0, xmm5
cvttss2si eax, xmm0
shl eax, 0x10
or edx, eax
comiss xmm4, xmm2
jbe 0x1002f177
xorps xmm0, xmm0
jmp 0x1002f17e
movaps xmm0, xmm6
minss xmm0, xmm2
push dword [ebp - 0x94]
movss xmm2, dword [esi + 0x154c]
push dword [ebp - 0x98]
mulss xmm0, xmm3
push dword [ebp - 0x9c]
push dword [ebp - 0xa0]
addss xmm0, xmm5
cvttss2si ecx, xmm0
shl ecx, 0x18
or ecx, edx
mov dl, 1
call fcn.10009be0
movss xmm5, dword [ebp - 0xa4]
add esp, 0x10
movss xmm6, dword [ebp - 0x80]
movaps xmm2, xmm5
movss xmm4, dword [ebp - 0x84]
movaps xmm1, xmm5
movss xmm0, dword [ebp - 0xb4]
addss xmm2, xmm4
mov edx, dword [ebp - 0xc]
addss xmm0, xmm6
movss xmm3, dword [0x1003b544]
movaps xmm7, xmm6
mov eax, dword [ebp - 0x2c]
movss dword [ebp - 0xd8], xmm5
addss xmm1, dword [edx + 0x1544]
addss xmm7, dword [edx + 0x1548]
movss dword [ebp - 0xd4], xmm6
movss dword [ebp - 0x7c], xmm2
movss dword [ebp - 0xd0], xmm2
movss dword [ebp - 0x50], xmm2
movss dword [ebp - 0xa8], xmm0
jmp 0x1002f2a3
movss xmm0, dword [ebp - 0xa4]
movss xmm1, dword [ebp - 0x80]
movaps xmm4, xmm0
addss xmm4, dword [ebp - 0x84]
movss xmm2, dword [ebp - 0xb4]
mov ecx, dword [ebp - 0x6c]
addss xmm2, xmm1
mov edx, dword [ebp - 0xc]
movss dword [ebp - 0xd8], xmm0
movaps xmm0, xmm4
movss dword [ebp - 0xd4], xmm1
movss xmm1, dword [ecx + 0xc8]
movss xmm7, dword [ecx + 0xcc]
movss dword [ebp - 0x50], xmm4
movss xmm4, dword [ebp - 0x84]
movss dword [ebp - 0x7c], xmm0
movss dword [ebp - 0xd0], xmm0
movaps xmm0, xmm2
movss dword [ebp - 0xa8], xmm2
cmp byte [ebp - 0x31], 0
movss dword [ebp - 0x94], xmm7
movss dword [ebp - 0x1c], xmm7
movss dword [ebp - 0x70], xmm7
xorps xmm7, xmm7
movss dword [ebp - 0x98], xmm1
movss dword [ebp - 0x4c], xmm1
movss dword [ebp - 0xcc], xmm0
movss dword [ebp - 0x78], xmm0
movss dword [ebp - 0x74], xmm1
movss dword [ebp - 0x48], xmm7
movss dword [ebp - 0x30], xmm7
je 0x1002f2ef
mov esi, dword [edi + 0x20]
mov dword [ebx + 8], esi
jmp 0x1002f2f2
mov esi, dword [ebx + 8]
cmp byte [ebp - 0xd], 0
jne 0x1002f666
cmp byte [ebp - 2], 0
jne 0x1002f666
test al, al
je 0x1002f359
mov dl, byte [esi]
xor ecx, ecx
inc esi
test dl, dl
je 0x1002f325
cmp dl, 0xa
lea eax, [ecx + 1]
mov dl, byte [esi]
cmovne eax, ecx
inc esi
mov ecx, eax
test dl, dl
jne 0x1002f313
mov al, byte [esi - 1]
dec esi
mov dword [ebp - 0x24], esi
cmp al, 0xa
je 0x1002f335
cmp al, 0xd
je 0x1002f335
inc ecx
mov edx, dword [ebp - 0xc]
movaps xmm0, xmm4
movd xmm7, ecx
cvtdq2ps xmm7, xmm7
movss dword [ebp - 0x48], xmm0
mulss xmm7, dword [edx + 0x18bc]
movss dword [ebp - 0x30], xmm7
xorps xmm7, xmm7
jmp 0x1002f396
mov eax, dword [ebp - 0x24]
cmp dword [edx + 0x19bc], eax
jne 0x1002f36e
mov esi, dword [edi + 8]
mov edi, dword [ebx + 8]
add esi, edi
jmp 0x1002f384
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002f373
mov edi, dword [ebx + 8]
sub ecx, edx
mov edx, dword [ebp - 0xc]
add esi, ecx
mov eax, esi
mov dword [ebp - 0x24], esi
sub eax, edi
cmp eax, 0x200000
jge 0x1002f5a9
mov eax, dword [0x1003fc00]
movss xmm5, dword [0x1003b4b8]
movups xmm2, xmmword [eax + 0x15b8]
comiss xmm7, xmm2
movaps xmm1, xmm2
movaps xmmword [ebp - 0x60], xmm2
shufps xmm1, xmm2, 0xff
mulss xmm1, dword [eax + 0x1510]
jbe 0x1002f3c7
movaps xmm0, xmm7
jmp 0x1002f3ce
movaps xmm0, xmm5
minss xmm0, xmm2
movss xmm4, dword [0x1003b48c]
movss xmm2, dword [ebp - 0x5c]
comiss xmm7, xmm2
mulss xmm0, xmm3
addss xmm0, xmm4
cvttss2si ecx, xmm0
jbe 0x1002f3f1
movaps xmm0, xmm7
jmp 0x1002f3f8
movaps xmm0, xmm5
minss xmm0, xmm2
movss xmm2, dword [ebp - 0x58]
mulss xmm0, xmm3
addss xmm0, xmm4
cvttss2si eax, xmm0
shl eax, 8
or ecx, eax
comiss xmm7, xmm2
jbe 0x1002f418
movaps xmm0, xmm7
jmp 0x1002f41f
movaps xmm0, xmm5
minss xmm0, xmm2
mulss xmm0, xmm3
addss xmm0, xmm4
cvttss2si eax, xmm0
shl eax, 0x10
or ecx, eax
comiss xmm7, xmm1
jbe 0x1002f43a
movaps xmm5, xmm7
jmp 0x1002f43e
minss xmm5, xmm1
mov eax, dword [ebp - 0x6c]
movss xmm2, dword [edx + 0x18bc]
mulss xmm5, xmm3
mov dword [ebp - 0x50], 0
mov esi, dword [eax + 0x26c]
mov eax, dword [ebp - 0x24]
addss xmm5, xmm4
mov dword [ebp - 0x7c], eax
cvttss2si edi, xmm5
shl edi, 0x18
or edi, ecx
mov ecx, dword [edx + 0x18b8]
cmp byte [ebp - 0x2c], 0
lea edx, [ebp - 0xd8]
mov dword [ebp - 0x28], ecx
cmovne edx, dword [ebp - 0x50]
test edi, 0xff000000
je 0x1002f55f
test eax, eax
jne 0x1002f4b5
mov ecx, dword [ebx + 8]
lea eax, [ecx + 1]
mov dword [ebp - 0x50], eax
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002f4a0
sub ecx, dword [ebp - 0x50]
mov eax, dword [ebx + 8]
add eax, ecx
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x7c], eax
cmp dword [ebx + 8], eax
je 0x1002f55f
test ecx, ecx
jne 0x1002f4cb
mov eax, dword [esi + 0x28]
mov eax, dword [eax + 8]
mov dword [ebp - 0x28], eax
ucomiss xmm2, xmm7
lahf
test ah, 0x44
jp 0x1002f4dc
mov eax, dword [esi + 0x28]
movss xmm2, dword [eax + 0xc]
mov ecx, dword [esi + 0x3c]
mov eax, dword [esi + 0x44]
shl ecx, 4
movups xmm0, xmmword [eax + ecx - 0x10]
movups xmmword [ebp - 0x60], xmm0
test edx, edx
je 0x1002f52d
movss xmm0, dword [ebp - 0x60]
maxss xmm0, dword [edx]
movss dword [ebp - 0x60], xmm0
movss xmm0, dword [ebp - 0x5c]
maxss xmm0, dword [edx + 4]
movss dword [ebp - 0x5c], xmm0
movss xmm0, dword [ebp - 0x58]
minss xmm0, dword [edx + 8]
movss dword [ebp - 0x58], xmm0
movss xmm0, dword [ebp - 0x54]
minss xmm0, dword [edx + 0xc]
movss dword [ebp - 0x54], xmm0
setne al
movzx eax, al
push eax
push ecx
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x60]
mov dword [esp], 0
push dword [ebp - 0x7c]
push dword [ebx + 8]
push eax
push edi
push dword [ebp - 0x94]
push dword [ebp - 0x98]
push esi
call fcn.100254b0
xorps xmm7, xmm7
mov edi, dword [ebp - 0xc]
cmp byte [ebp - 0x2c], 0
je 0x1002f5a3
movss xmm0, dword [ebp - 0x48]
lea ecx, [ebp - 0x98]
addss xmm0, xmm7
movss dword [ebp - 0x98], xmm0
movss xmm0, dword [ebp - 0x30]
addss xmm0, dword [edi + 0x18bc]
movss dword [ebp - 0x94], xmm0
call fcn.10029c60
call fcn.1000dc60
call fcn.10013a00
mov edi, dword [ebx + 8]
mov esi, dword [ebp - 0x24]
mov ecx, dword [ebp - 0xac]
test cl, cl
je 0x1002f5be
call fcn.10013780
mov ecx, dword [ebp - 0xac]
mov eax, dword [ebp - 0xc]
cmp byte [eax + 0x2d0c], 0
je 0x1002f5df
test cl, cl
jne 0x1002f5df
push esi
mov edx, edi
lea ecx, [ebp - 0x74]
call fcn.10017760
mov eax, dword [ebp - 0xc]
add esp, 4
movss xmm0, dword [ebp - 0xc0]
comiss xmm0, dword [0x1003b448]
jbe 0x1002f62f
movss xmm0, dword [ebp - 0xe4]
xor edx, edx
addss xmm0, dword [eax + 0x155c]
mov ecx, dword [ebp - 0xbc]
movss dword [ebp - 0x74], xmm0
movss xmm0, dword [ebp - 0x80]
addss xmm0, dword [eax + 0x1548]
movss dword [ebp - 0x70], xmm0
push dword [ebp - 0x70]
push dword [ebp - 0x74]
push 1
call fcn.10009430
add esp, 0xc
mov cl, byte [ebp - 3]
test cl, cl
je 0x1002f64f
mov eax, dword [0x1003fc00]
mov byte [eax + 0x19cf], 1
mov eax, dword [eax + 0x199c]
or dword [eax + 0x10c], 4
test byte [ebx + 0x14], 0x20
movzx eax, cl
movzx ecx, byte [ebp - 5]
pop edi
cmovne eax, ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov eax, dword [edi + 8]
xor edx, edx
mov ecx, dword [edi + 0x14]
add eax, esi
mov esi, 0xfffffc18
mov dword [ebp - 0x24], eax
xorps xmm5, xmm5
mov dword [ebp - 0x38], ecx
xorps xmm3, xmm3
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x68], esi
cmp byte [ebp - 0xd], dl
je 0x1002f6ac
mov eax, dword [edi + 0x3c]
or esi, 0xffffffff
mov dword [ebp - 0x18], esi
lea eax, [ecx + eax*2]
mov dword [ebp - 0x64], eax
lea edx, [esi + 2]
cmp byte [ebp - 2], 0
je 0x1002f6d0
mov ecx, dword [edi + 0x44]
cmp dword [edi + 0x40], ecx
mov eax, dword [ebp - 0x38]
cmovl ecx, dword [edi + 0x40]
inc edx
mov dword [ebp - 0x68], 0xffffffff
lea eax, [eax + ecx*2]
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x2c]
movzx eax, al
add edx, eax
xor eax, eax
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x38]
movzx eax, word [eax]
test ax, ax
je 0x1002f738
mov edi, dword [ebp - 0x18]
mov esi, eax
nop dword [eax]
cmp si, 0xa
jne 0x1002f721
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp edi, 0xffffffff
jne 0x1002f70e
cmp ecx, dword [ebp - 0x64]
jb 0x1002f70e
dec edx
mov edi, eax
test edx, edx
jle 0x1002f72f
cmp dword [ebp - 0x68], 0xffffffff
jne 0x1002f721
cmp ecx, dword [ebp - 0x28]
jb 0x1002f721
dec edx
mov dword [ebp - 0x68], eax
test edx, edx
jle 0x1002f72f
movzx eax, word [ecx + 2]
add ecx, 2
mov esi, eax
test ax, ax
jne 0x1002f6f0
mov dword [ebp - 0x18], edi
mov edi, dword [ebp - 0x3c]
mov esi, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x40]
mov edx, dword [ebp - 0x64]
inc ecx
cmp esi, 0xffffffff
mov dword [ebp - 0x40], ecx
mov eax, ecx
cmovne eax, esi
mov esi, dword [ebp - 0x38]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x68]
cmp eax, 0xffffffff
cmove eax, ecx
mov ecx, edx
mov dword [ebp - 0x68], eax
cmp edx, esi
jbe 0x1002f770
cmp word [ecx - 2], 0xa
je 0x1002f770
add ecx, 0xfffffffe
cmp ecx, esi
ja 0x1002f762
mov eax, dword [0x1003fc00]
movaps xmm4, xmm7
movss dword [ebp - 0x18], xmm4
movaps xmm1, xmm7
mov esi, dword [eax + 0x18b8]
movss xmm2, dword [eax + 0x18bc]
divss xmm2, dword [esi + 0x10]
cmp ecx, edx
jae 0x1002f7f1
mov edi, dword [ebp - 0x64]
nop word [eax + eax]
movzx eax, word [ecx]
add ecx, 2
mov edx, eax
cmp eax, 0xa
jne 0x1002f7b6
maxss xmm4, xmm1
movaps xmm1, xmm7
jmp 0x1002f7d8
cmp edx, 0xd
je 0x1002f7d8
mov edx, eax
cmp edx, dword [esi]
jge 0x1002f7cb
mov eax, dword [esi + 8]
movss xmm0, dword [eax + edx*4]
jmp 0x1002f7d0
movss xmm0, dword [esi + 0xc]
mulss xmm0, xmm2
addss xmm1, xmm0
cmp ecx, edi
jb 0x1002f7a0
comiss xmm1, xmm4
mov edi, dword [ebp - 0x3c]
movss dword [ebp - 0x18], xmm4
jbe 0x1002f7f1
movaps xmm4, xmm1
movss dword [ebp - 0x18], xmm1
cmp dword [ebp - 0x68], 0
movd xmm6, dword [ebp - 0x54]
mov ecx, dword [ebp - 0xc]
cvtdq2ps xmm6, xmm6
movss xmm0, dword [ecx + 0x18bc]
mulss xmm6, xmm0
movss dword [ebp - 0x94], xmm6
jl 0x1002f8be
mov edx, dword [ebp - 0x28]
mov ecx, edx
mov esi, dword [ebp - 0x38]
cmp edx, esi
jbe 0x1002f834
cmp word [ecx - 2], 0xa
je 0x1002f834
add ecx, 0xfffffffe
cmp ecx, esi
ja 0x1002f826
mov eax, dword [0x1003fc00]
movaps xmm3, xmm7
movaps xmm1, xmm7
mov esi, dword [eax + 0x18b8]
movss xmm2, dword [eax + 0x18bc]
divss xmm2, dword [esi + 0x10]
cmp ecx, edx
jae 0x1002f8a7
mov edi, dword [ebp - 0x28]
nop dword [eax]
movzx eax, word [ecx]
add ecx, 2
mov edx, eax
cmp eax, 0xa
jne 0x1002f876
maxss xmm3, xmm1
movaps xmm1, xmm7
jmp 0x1002f898
cmp edx, 0xd
je 0x1002f898
mov edx, eax
cmp edx, dword [esi]
jge 0x1002f88b
mov eax, dword [esi + 8]
movss xmm0, dword [eax + edx*4]
jmp 0x1002f890
movss xmm0, dword [esi + 0xc]
mulss xmm0, xmm2
addss xmm1, xmm0
cmp ecx, edi
jb 0x1002f860
comiss xmm1, xmm3
mov edi, dword [ebp - 0x3c]
jbe 0x1002f8a7
movaps xmm3, xmm1
movd xmm5, dword [ebp - 0x68]
mov ecx, dword [ebp - 0xc]
cvtdq2ps xmm5, xmm5
movss xmm0, dword [ecx + 0x18bc]
mulss xmm5, xmm0
mov edx, dword [ebp - 0x2c]
movss xmm1, dword [ebp - 0x84]
test dl, dl
je 0x1002f8e9
movd xmm7, dword [ebp - 0x40]
cvtdq2ps xmm7, xmm7
mulss xmm7, xmm0
movaps xmm0, xmm1
movss dword [ebp - 0x48], xmm0
movss dword [ebp - 0x30], xmm7
xorps xmm7, xmm7
cmp byte [ebp - 0xd], 0
je 0x1002f9b6
cmp byte [edi + 0xe64], 0
je 0x1002f9b6
test dword [ebx + 0x14], 0x1000
jne 0x1002f951
movss xmm2, dword [edi + 0x38]
movaps xmm0, xmm1
comiss xmm2, xmm4
mulss xmm0, dword [0x1003b478]
movaps xmm1, xmm4
jbe 0x1002f92e
subss xmm1, xmm0
movaps xmm0, xmm7
maxss xmm0, xmm1
jmp 0x1002f93f
subss xmm1, dword [ebp - 0x84]
comiss xmm1, xmm2
jb 0x1002f958
addss xmm0, xmm1
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x38], xmm0
jmp 0x1002f958
mov dword [edi + 0x38], 0
test dl, dl
je 0x1002f9af
mov eax, dword [ebp - 0x6c]
movaps xmm1, xmm6
subss xmm1, dword [ecx + 0x18bc]
movss xmm7, dword [eax + 0x5c]
comiss xmm7, xmm1
jbe 0x1002f97d
xorps xmm0, xmm0
maxss xmm0, xmm1
jmp 0x1002f98c
movaps xmm0, xmm6
subss xmm0, dword [ebp - 0xb4]
maxss xmm0, xmm7
subss xmm7, xmm0
movss dword [eax + 0x5c], xmm0
addss xmm7, dword [eax + 0xcc]
movss dword [ebp - 0x1c], xmm7
movss dword [eax + 0xcc], xmm7
movss dword [ebp - 0x70], xmm7
mov byte [edi + 0xe64], 0
cmp byte [ebp - 2], 0
movss xmm6, dword [edi + 0x38]
movss dword [ebp - 0x64], xmm6
je 0x1002fd00
mov edx, dword [edi + 0x44]
mov eax, edx
mov ecx, dword [edi + 0x40]
cmp ecx, edx
mov esi, dword [ebp - 0x38]
movss xmm4, dword [0x1003b4b8]
cmovl eax, ecx
cmovge edx, ecx
cmp byte [ebp - 0xd], 0
lea esi, [esi + eax*2]
mov eax, dword [ebp - 0x38]
lea eax, [eax + edx*2]
mov dword [ebp - 0x28], eax
je 0x1002f9fc
movaps xmm1, xmm4
jmp 0x1002fa04
movss xmm1, dword [0x1003b490]
mov edx, dword [0x1003fc00]
xorps xmm7, xmm7
movups xmm2, xmmword [edx + 0x1858]
mulss xmm1, dword [edx + 0x1510]
comiss xmm7, xmm2
movaps xmm0, xmm2
movaps xmmword [ebp - 0x60], xmm2
shufps xmm0, xmm2, 0xff
mulss xmm1, xmm0
jbe 0x1002fa35
xorps xmm0, xmm0
jmp 0x1002fa3c
movaps xmm0, xmm4
minss xmm0, xmm2
movss xmm4, dword [0x1003b544]
movss xmm2, dword [ebp - 0x5c]
comiss xmm7, xmm2
mulss xmm0, xmm4
addss xmm0, dword [0x1003b48c]
cvttss2si ecx, xmm0
jbe 0x1002fa63
xorps xmm0, xmm0
jmp 0x1002fa6f
movss xmm0, dword [0x1003b4b8]
minss xmm0, xmm2
movss xmm2, dword [ebp - 0x58]
mulss xmm0, xmm4
addss xmm0, dword [0x1003b48c]
cvttss2si eax, xmm0
shl eax, 8
or ecx, eax
comiss xmm7, xmm2
jbe 0x1002fa93
xorps xmm0, xmm0
jmp 0x1002fa9f
movss xmm0, dword [0x1003b4b8]
minss xmm0, xmm2
movss xmm2, dword [0x1003b48c]
mulss xmm0, xmm4
addss xmm0, xmm2
cvttss2si eax, xmm0
shl eax, 0x10
or ecx, eax
comiss xmm7, xmm1
jbe 0x1002fac2
xorps xmm0, xmm0
jmp 0x1002face
movss xmm0, dword [0x1003b4b8]
minss xmm0, xmm1
mulss xmm0, xmm4
addss xmm0, xmm2
cvttss2si eax, xmm0
shl eax, 0x18
or eax, ecx
cmp byte [ebp - 0x2c], 0
mov dword [ebp - 0x54], eax
je 0x1002faf2
movss dword [ebp - 0xb0], xmm7
jmp 0x1002fafa
movss xmm7, dword [0x1003b4e4]
movss xmm4, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x28]
addss xmm4, xmm3
movss dword [ebp - 0x40], xmm7
subss xmm4, xmm6
movss xmm6, dword [ebp - 0x1c]
addss xmm6, xmm5
subss xmm6, dword [0x1003b448]
movss dword [ebp - 0xb4], xmm6
cmp esi, ecx
jae 0x1002fcfb
movss xmm5, dword [ebp - 0x78]
mov edi, dword [ebp - 0x54]
mov eax, dword [ebp - 0xc]
nop dword [eax + eax]
movaps xmm0, xmm5
addss xmm0, dword [eax + 0x18bc]
comiss xmm6, xmm0
ja 0x1002fcf8
movss xmm0, dword [ebp - 0x80]
comiss xmm0, xmm6
jbe 0x1002fb7f
cmp esi, ecx
jae 0x1002fcd1
mov ax, word [esi]
add esi, 2
cmp ax, 0xa
je 0x1002fcce
cmp esi, ecx
jb 0x1002fb66
jmp 0x1002fcce
mov eax, dword [0x1003fc00]
xorps xmm0, xmm0
mov edx, dword [edx + 0x18b8]
xorps xmm3, xmm3
xorps xmm1, xmm1
movss xmm2, dword [eax + 0x18bc]
divss xmm2, dword [edx + 0x10]
cmp esi, ecx
jae 0x1002fbea
movzx eax, word [esi]
add esi, 2
mov ecx, eax
cmp eax, 0xa
je 0x1002fbda
cmp ecx, 0xd
je 0x1002fbd1
cmp ecx, dword [edx]
jge 0x1002fbc4
mov eax, dword [edx + 8]
movss xmm0, dword [eax + ecx*4]
jmp 0x1002fbc9
movss xmm0, dword [edx + 0xc]
mulss xmm0, xmm2
addss xmm1, xmm0
mov ecx, dword [ebp - 0x28]
cmp esi, ecx
jb 0x1002fba4
jmp 0x1002fbe7
mov ecx, dword [ebp - 0x28]
xorps xmm3, xmm3
maxss xmm3, xmm1
xorps xmm1, xmm1
xorps xmm0, xmm0
maxss xmm1, xmm3
comiss xmm0, xmm1
jb 0x1002fc26
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x18b8]
cmp dword [eax], 0x20
jle 0x1002fc0e
mov eax, dword [eax + 8]
movss xmm0, dword [eax + 0x80]
jmp 0x1002fc13
movss xmm0, dword [eax + 0xc]
mulss xmm0, dword [0x1003b48c]
cvttss2si eax, xmm0
movd xmm1, eax
cvtdq2ps xmm1, xmm1
mov edx, dword [ebp - 0xc]
addss xmm1, xmm4
movss xmm2, dword [ebp - 0xb0]
movaps xmm0, xmm7
addss xmm4, dword [0x1003b448]
movss xmm7, dword [ebp - 0xa4]
addss xmm0, xmm6
subss xmm2, dword [edx + 0x18bc]
movss xmm3, dword [ebp - 0x7c]
minss xmm1, xmm3
maxss xmm4, xmm7
minss xmm0, xmm5
addss xmm2, xmm6
movss dword [ebp - 0x58], xmm1
movss dword [ebp - 0x60], xmm4
comiss xmm0, dword [ebp - 0x80]
maxss xmm2, dword [ebp - 0x80]
movss dword [ebp - 0x54], xmm0
movss dword [ebp - 0x5c], xmm2
jbe 0x1002fcc8
comiss xmm5, xmm2
jbe 0x1002fcc8
comiss xmm1, xmm7
jbe 0x1002fcc8
comiss xmm3, xmm4
jbe 0x1002fcc8
push 0xf
push ecx
mov dword [esp], 0
lea eax, [ebp - 0x58]
push edi
push eax
lea eax, [ebp - 0x60]
push eax
mov eax, dword [ebp - 0x6c]
mov ecx, dword [eax + 0x26c]
call fcn.10022690
movss xmm6, dword [ebp - 0xb4]
movss xmm5, dword [ebp - 0x78]
mov ecx, dword [ebp - 0x28]
mov edx, dword [0x1003fc00]
mov eax, dword [ebp - 0xc]
movss xmm4, dword [ebp - 0x4c]
movss xmm7, dword [ebp - 0x40]
addss xmm6, dword [eax + 0x18bc]
subss xmm4, dword [ebp - 0x64]
movss dword [ebp - 0xb4], xmm6
cmp esi, ecx
jb 0x1002fb40
mov edi, dword [ebp - 0x3c]
movss xmm6, dword [ebp - 0x64]
cmp byte [ebp - 0x2c], 0
mov edx, dword [ebp - 0x24]
jne 0x1002fd19
mov eax, edx
sub eax, dword [ebx + 8]
cmp eax, 0x200000
jge 0x1002ff27
mov eax, dword [0x1003fc00]
xorps xmm7, xmm7
movss xmm5, dword [0x1003b4b8]
movups xmm1, xmmword [eax + 0x15b8]
comiss xmm7, xmm1
movaps xmm2, xmm1
movaps xmmword [ebp - 0x60], xmm1
shufps xmm2, xmm1, 0xff
mulss xmm2, dword [eax + 0x1510]
jbe 0x1002fd4d
xorps xmm0, xmm0
jmp 0x1002fd54
movaps xmm0, xmm5
minss xmm0, xmm1
movss xmm3, dword [0x1003b544]
movss xmm4, dword [0x1003b48c]
movss xmm1, dword [ebp - 0x5c]
comiss xmm7, xmm1
mulss xmm0, xmm3
addss xmm0, xmm4
cvttss2si ecx, xmm0
jbe 0x1002fd7f
xorps xmm0, xmm0
jmp 0x1002fd86
movaps xmm0, xmm5
minss xmm0, xmm1
movss xmm1, dword [ebp - 0x58]
mulss xmm0, xmm3
addss xmm0, xmm4
cvttss2si eax, xmm0
shl eax, 8
or ecx, eax
comiss xmm7, xmm1
jbe 0x1002fda6
xorps xmm0, xmm0
jmp 0x1002fdad
movaps xmm0, xmm5
minss xmm0, xmm1
mulss xmm0, xmm3
addss xmm0, xmm4
cvttss2si eax, xmm0
shl eax, 0x10
or ecx, eax
comiss xmm7, xmm2
jbe 0x1002fdc8
xorps xmm0, xmm0
jmp 0x1002fdcf
movaps xmm0, xmm5
minss xmm0, xmm2
mulss xmm0, xmm3
mov esi, dword [ebp - 0x6c]
mov dword [ebp - 0x54], 0
addss xmm0, xmm4
mov esi, dword [esi + 0x26c]
cvttss2si eax, xmm0
movss xmm0, dword [ebp - 0x4c]
shl eax, 0x18
subss xmm0, xmm6
or eax, ecx
mov ecx, edx
mov edx, dword [ebp - 0xc]
cmp byte [ebp - 0x2c], 0
mov dword [ebp - 0x7c], eax
movss dword [ebp - 0xb8], xmm0
movss xmm2, dword [edx + 0x18bc]
movss xmm0, dword [ebp - 0x1c]
mov edx, dword [edx + 0x18b8]
subss xmm0, xmm7
mov dword [ebp - 0x78], edx
lea edx, [ebp - 0xd8]
cmovne edx, dword [ebp - 0x54]
mov dword [ebp - 0xb0], ecx
movss dword [ebp - 0xb4], xmm0
test eax, 0xff000000
je 0x1002ff2a
cmp dword [ebp - 0x24], 0
jne 0x1002fe77
mov ecx, dword [ebx + 8]
lea eax, [ecx + 1]
mov dword [ebp - 0x54], eax
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002fe60
sub ecx, dword [ebp - 0x54]
mov eax, dword [ebx + 8]
add ecx, eax
mov dword [ebp - 0xb0], ecx
jmp 0x1002fe7a
mov eax, dword [ebx + 8]
cmp eax, ecx
je 0x1002ff2a
cmp dword [ebp - 0x78], 0
jne 0x1002fe91
mov eax, dword [esi + 0x28]
mov eax, dword [eax + 8]
mov dword [ebp - 0x78], eax
ucomiss xmm2, xmm7
lahf
test ah, 0x44
jp 0x1002fea2
mov eax, dword [esi + 0x28]
movss xmm2, dword [eax + 0xc]
mov ecx, dword [esi + 0x3c]
mov eax, dword [esi + 0x44]
shl ecx, 4
movups xmm0, xmmword [ecx + eax - 0x10]
movups xmmword [ebp - 0x60], xmm0
test edx, edx
je 0x1002fef3
movss xmm0, dword [ebp - 0x60]
maxss xmm0, dword [edx]
movss dword [ebp - 0x60], xmm0
movss xmm0, dword [ebp - 0x5c]
maxss xmm0, dword [edx + 4]
movss dword [ebp - 0x5c], xmm0
movss xmm0, dword [ebp - 0x58]
minss xmm0, dword [edx + 8]
movss dword [ebp - 0x58], xmm0
movss xmm0, dword [ebp - 0x54]
minss xmm0, dword [edx + 0xc]
movss dword [ebp - 0x54], xmm0
setne al
movzx eax, al
push eax
push ecx
mov ecx, dword [ebp - 0x78]
lea eax, [ebp - 0x60]
mov dword [esp], 0
push dword [ebp - 0xb0]
push dword [ebx + 8]
push eax
push dword [ebp - 0x7c]
push dword [ebp - 0xb4]
push dword [ebp - 0xb8]
push esi
call fcn.100254b0
xorps xmm7, xmm7
cmp byte [ebp - 0xd], 0
je 0x1002f55f
mov eax, dword [ebp - 0xc]
movss xmm0, dword [eax + 0x18]
addss xmm0, dword [edi + 0xe60]
movss dword [edi + 0xe60], xmm0
mov edi, eax
cmp byte [edi + 0xae], 0
je 0x1002ff8f
comiss xmm7, xmm0
jae 0x1002ff8f
cvtps2pd xmm0, xmm0
movsd qword [ebp - 0x58], xmm0
fld qword [ebp - 0x58]
fld qword [0x1003b4d0]
call sub.api_ms_win_crt_math_l1_1_0.dll__CIfmod
movss xmm0, dword [0x1003b4ac]
fstp qword [ebp - 0x58]
movsd xmm1, qword [ebp - 0x58]
cvtpd2ps xmm1, xmm1
comiss xmm0, xmm1
jae 0x1002ff8f
xor al, al
jmp 0x1002ff91
mov al, 1
movss xmm2, dword [ebp - 0x1c]
xorps xmm7, xmm7
movss xmm4, dword [ebp - 0x4c]
movss xmm6, dword [0x1003b48c]
movss xmm5, dword [0x1003b4b8]
addss xmm2, dword [ebp - 0x94]
addss xmm4, dword [ebp - 0x18]
subss xmm2, xmm7
subss xmm4, dword [ebp - 0x64]
movss dword [ebp - 0x1c], xmm2
movaps xmm0, xmm2
movss dword [ebp - 0x4c], xmm4
movaps xmm1, xmm4
movss dword [ebp - 0xd8], xmm4
movaps xmm3, xmm2
addss xmm1, xmm5
subss xmm0, dword [edi + 0x18bc]
subss xmm3, dword [0x1003b4cc]
movss dword [ebp - 0xd0], xmm1
addss xmm0, xmm6
movss dword [ebp - 0xcc], xmm3
movss dword [ebp - 0xd4], xmm0
test al, al
je 0x10030168
comiss xmm3, dword [ebp - 0x80]
jbe 0x10030168
movss xmm5, dword [ebp - 0xa8]
comiss xmm5, xmm0
jbe 0x10030160
comiss xmm1, dword [ebp - 0xa4]
jbe 0x10030160
movss xmm0, dword [ebp - 0x50]
comiss xmm0, xmm4
jbe 0x10030160
mov eax, dword [0x1003fc00]
movups xmm2, xmmword [eax + 0x15b8]
comiss xmm7, xmm2
movaps xmm1, xmm2
movaps xmmword [ebp - 0xa0], xmm2
shufps xmm1, xmm2, 0xff
mulss xmm1, dword [eax + 0x1510]
jbe 0x10030079
xorps xmm0, xmm0
jmp 0x10030085
movss xmm0, dword [0x1003b4b8]
minss xmm0, xmm2
movss xmm5, dword [0x1003b544]
movss xmm2, dword [ebp - 0x9c]
comiss xmm7, xmm2
mulss xmm0, xmm5
addss xmm0, xmm6
cvttss2si ecx, xmm0
jbe 0x100300ab
xorps xmm0, xmm0
jmp 0x100300b7
movss xmm0, dword [0x1003b4b8]
minss xmm0, xmm2
movss xmm2, dword [ebp - 0x98]
mulss xmm0, xmm5
addss xmm0, xmm6
cvttss2si eax, xmm0
shl eax, 8
or ecx, eax
comiss xmm7, xmm2
jbe 0x100300da
xorps xmm0, xmm0
jmp 0x100300e6
movss xmm0, dword [0x1003b4b8]
minss xmm0, xmm2
mulss xmm0, xmm5
addss xmm0, xmm6
cvttss2si eax, xmm0
shl eax, 0x10
or ecx, eax
comiss xmm7, xmm1
jbe 0x10030101
xorps xmm0, xmm0
jmp 0x1003010d
movss xmm0, dword [0x1003b4b8]
minss xmm0, xmm1
mulss xmm0, xmm5
push ecx
mov dword [esp], 0x3f800000
movss dword [ebp - 0x98], xmm4
addss xmm0, xmm6
movss dword [ebp - 0x94], xmm3
cvttss2si eax, xmm0
shl eax, 0x18
or eax, ecx
push eax
lea eax, [ebp - 0x98]
push eax
lea eax, [ebp - 0xd8]
push eax
mov eax, dword [ebp - 0x6c]
mov ecx, dword [eax + 0x26c]
call fcn.10022570
movss xmm2, dword [ebp - 0x1c]
xorps xmm7, xmm7
movss xmm4, dword [ebp - 0x4c]
movss xmm5, dword [0x1003b4b8]
cmp byte [ebp - 0x44], 0
jne 0x1002f562
subss xmm2, dword [edi + 0x18bc]
subss xmm4, xmm5
movss dword [edi + 0x2cd4], xmm2
movss dword [edi + 0x2cd0], xmm4
jmp 0x1002f562