Function at 0x1001f040
Capabilities:
Contain obfuscated stackstrings
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xd8
mov eax, dword [0x10067040]
xor eax, esp
mov dword [esp + 0xd4], eax
mov eax, dword [ebp + 8]
mov dword [esp + 4], eax
mov eax, dword [0x100dd8ec]
push esi
mov esi, eax
mov dword [esp + 0x70], ecx
push edi
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], esi
call fcn.1001dfb0
mov dword [esp + 0x30], eax
mov edi, eax
mov dword [esp + 0x3c], edi
test eax, eax
jne 0x1001f102
mov edx, dword [esi + 0x1ab4]
test edx, edx
je 0x1001f0a9
mov eax, dword [esi + 0x1adc]
mov ecx, dword [esi + 0x1ae0]
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], ecx
jmp 0x1001f0b9
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
test edx, edx
lea ecx, [esp + 0x68]
mov edx, dword [esp + 0xc]
lea eax, [esp + 0x50]
cmovne eax, ecx
mov ecx, dword [esp + 0x74]
movss xmm0, dword [eax]
movss dword [esp + 0x78], xmm0
movss xmm0, dword [eax + 4]
movss dword [esp + 0x7c], xmm0
push dword [esp + 0x7c]
push dword [esp + 0x7c]
call fcn.1001e020
mov edi, eax
add esp, 8
mov eax, dword [0x100dd8ec]
mov dword [esp + 0x3c], edi
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0xc]
test ecx, 0x200
je 0x1001f115
or ecx, 6
mov dword [esp + 0xc], ecx
mov eax, dword [esi + 0x19e0]
mov edx, dword [edi + 0x224]
mov dword [esp + 0x44], eax
mov dword [esp + 0x70], edx
cmp edx, eax
je 0x1001f132
mov dword [edi + 8], ecx
jmp 0x1001f139
mov ecx, dword [edi + 8]
mov dword [esp + 0xc], ecx
cmp dword [esi + 0x1a04], 0
lea edx, [esi + 0x1a04]
mov dword [esp + 0x18], edx
jne 0x1001f150
xor eax, eax
jmp 0x1001f160
mov eax, dword [esi + 0x1a0c]
mov esi, dword [edx]
mov eax, dword [eax + esi*4 - 4]
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x70]
cmp edi, dword [esp + 0x44]
mov edi, dword [esp + 0x3c]
je 0x1001f186
mov esi, ecx
and esi, 0x5000000
neg esi
sbb esi, esi
and esi, eax
mov dword [esp + 0x20], esi
mov esi, dword [esp + 0x14]
jmp 0x1001f190
mov eax, dword [edi + 0x324]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x44]
dec eax
mov byte [edi + 0x7e], 0
cmp dword [esp + 0x70], eax
mov eax, dword [edi + 0xa8]
mov dword [esp + 0x40], eax
setl byte [esp + 0xb]
mov eax, ecx
and eax, 0x4000000
mov dword [esp + 0x1c], eax
je 0x1001f1f5
mov eax, dword [esi + 0x1aa4]
lea esi, [eax + eax*8]
mov eax, dword [esp + 0x14]
mov edx, dword [eax + 0x1aa0]
mov eax, dword [edi + 0x8c]
cmp edi, dword [edx + esi*4 + 4]
setne cl
cmp eax, dword [edx + esi*4]
mov esi, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
setne al
or cl, al
mov al, byte [esp + 0xb]
or al, cl
mov byte [esp + 0xb], al
jmp 0x1001f1f9
mov al, byte [esp + 0xb]
test al, al
jne 0x1001f209
cmp dword [esp + 0x40], 0
jg 0x1001f209
mov byte [edi + 0x7c], al
jmp 0x1001f222
or dword [edi + 0xac], 8
or dword [edi + 0xb0], 8
or dword [edi + 0xb4], 8
mov byte [edi + 0x7c], 1
mov ecx, dword [edx + 4]
cmp dword [edx], ecx
jne 0x1001f263
test ecx, ecx
je 0x1001f23e
mov eax, ecx
cdq
sub eax, edx
lea edx, [esi + 0x1a04]
sar eax, 1
add eax, ecx
jmp 0x1001f243
mov eax, 8
mov ecx, dword [edx]
inc ecx
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edx
call fcn.10034c60
mov edx, dword [0x100dd8ec]
mov edi, dword [esp + 0x3c]
mov dword [esp + 0x10], edx
jmp 0x1001f267
mov edx, dword [esp + 0x10]
mov ecx, dword [esi + 0x1a04]
mov eax, dword [esi + 0x1a0c]
mov dword [eax + ecx*4], edi
lea ecx, [edi + 0x1a0]
inc dword [esi + 0x1a04]
cmp dword [esp + 0x1c], 0
movss xmm0, dword [edx + 0x193c]
mov dword [edx + 0x1a20], edi
mulss xmm0, dword [edi + 0x274]
movss dword [edx + 0x194c], xmm0
movss dword [edx + 0x1938], xmm0
mov eax, dword [edi + 0x1c8]
mov dword [ecx], eax
mov eax, dword [edi + 0x194]
mov dword [ecx + 4], eax
mov eax, dword [edx + 0x1aa4]
mov dword [ecx + 8], eax
mov eax, dword [edx + 0x1a74]
mov dword [ecx + 0xc], eax
mov eax, dword [edx + 0x1a80]
mov dword [ecx + 0x10], eax
mov eax, dword [edx + 0x1a8c]
mov dword [ecx + 0x14], eax
je 0x1001f38b
mov eax, dword [esi + 0x1aa4]
lea ecx, [esi + 0x1aa4]
mov edx, dword [esi + 0x1aa0]
mov dword [esp + 0x2c], edx
lea eax, [eax + eax*8]
mov dword [edx + eax*4 + 4], edi
mov edx, dword [ecx]
mov dword [esp + 0x38], eax
mov eax, dword [ecx + 4]
cmp edx, eax
jne 0x1001f348
inc edx
mov dword [esp + 0x18], edx
test eax, eax
je 0x1001f329
cdq
sub eax, edx
mov edx, dword [esp + 0x18]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x1001f32e
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.10035200
mov eax, dword [0x100dd8ec]
lea ecx, [esi + 0x1aa4]
mov dword [esp + 0x10], eax
mov eax, dword [ecx]
mov edi, dword [esp + 0x2c]
mov ecx, dword [ecx + 8]
lea edx, [eax + eax*8]
mov eax, dword [esp + 0x38]
movups xmm0, xmmword [edi + eax*4]
movups xmmword [ecx + edx*4], xmm0
movups xmm0, xmmword [edi + eax*4 + 0x10]
movups xmmword [ecx + edx*4 + 0x10], xmm0
mov eax, dword [edi + eax*4 + 0x20]
mov dword [ecx + edx*4 + 0x20], eax
mov ecx, edi
mov eax, dword [esp + 0x38]
mov edi, dword [esp + 0x3c]
inc dword [esi + 0x1aa4]
mov eax, dword [ecx + eax*4]
mov dword [edi + 0x8c], eax
cmp dword [esp + 0x40], 0
jle 0x1001f3a6
test dword [esp + 0xc], 0x1000000
jne 0x1001f3a6
mov dword [edi + 0x338], 0
mov ecx, dword [esi + 0x1ab0]
mov byte [esp + 9], 0
mov byte [esp + 8], 0
mov byte [esp + 0xa], 0
test ecx, ecx
je 0x1001f447
mov edx, dword [edi + 0xac]
test ecx, edx
mov eax, edx
setne byte [esp + 9]
test ecx, eax
je 0x1001f436
movss xmm1, dword [esi + 0x1ad8]
movss xmm0, dword [esi + 0x1ad4]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
comiss xmm0, dword [0x10062b2c]
jbe 0x1001f436
mov eax, dword [esi + 0x1acc]
and edx, 0xfffffff1
mov ecx, dword [esi + 0x1ad0]
mov dword [edi + 0xb8], eax
mov dword [edi + 0xbc], ecx
mov eax, dword [esi + 0x1ad4]
mov ecx, dword [esi + 0x1ad8]
mov dword [edi + 0xc0], eax
mov dword [edi + 0xc4], ecx
mov dword [edi + 0xac], edx
jmp 0x1001f447
push ecx
lea edx, [esi + 0x1acc]
mov ecx, edi
call fcn.10023030
add esp, 4
mov ecx, dword [esi + 0x1ab4]
test ecx, ecx
je 0x1001f4a4
mov eax, dword [edi + 0xb0]
xorps xmm1, xmm1
and eax, ecx
je 0x1001f472
movss xmm0, dword [esi + 0x1adc]
comiss xmm0, xmm1
jbe 0x1001f472
mov byte [esp + 8], 1
jmp 0x1001f47c
xor dl, dl
mov byte [esp + 8], dl
test eax, eax
je 0x1001f48e
movss xmm0, dword [esi + 0x1ae0]
comiss xmm0, xmm1
mov byte [esp + 0xa], 1
ja 0x1001f493
mov byte [esp + 0xa], 0
push ecx
lea edx, [esi + 0x1adc]
mov ecx, edi
call fcn.100230f0
add esp, 4
cmp dword [esi + 0x1ab8], 0
je 0x1001f55a
mov eax, dword [esi + 0x1ae4]
xorps xmm0, xmm0
mov ecx, dword [esi + 0x1ae8]
mov dword [edi + 0x38], ecx
movss xmm3, dword [edi + 0x38]
ucomiss xmm3, xmm0
mov dword [edi + 0x34], eax
lahf
test ah, 0x44
jnp 0x1001f572
mov ecx, dword [edi + 8]
mov eax, dword [esp + 0x10]
test cl, 1
je 0x1001f4e9
xorps xmm2, xmm2
jmp 0x1001f509
movss xmm0, dword [eax + 0x1548]
movss xmm2, dword [eax + 0x193c]
addss xmm0, xmm0
mulss xmm2, dword [edi + 0x274]
addss xmm2, xmm0
test ecx, 0x400
je 0x1001f548
movss xmm1, dword [eax + 0x193c]
mulss xmm1, dword [edi + 0x274]
movss xmm0, dword [eax + 0x1548]
addss xmm0, xmm0
addss xmm1, dword [edi + 0x148]
addss xmm1, xmm0
addss xmm1, xmm2
addss xmm1, xmm3
movss dword [edi + 0x38], xmm1
jmp 0x1001f572
xorps xmm1, xmm1
addss xmm1, xmm2
addss xmm1, xmm3
movss dword [edi + 0x38], xmm1
jmp 0x1001f572
mov eax, dword [esp + 0x70]
cmp eax, dword [esp + 0x44]
je 0x1001f572
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov ecx, dword [esi + 0x1abc]
test ecx, ecx
je 0x1001f598
mov eax, dword [edi + 0xb4]
mov dl, byte [esi + 0x1aec]
test ecx, eax
je 0x1001f598
and eax, 0xfffffff1
mov byte [edi + 0x79], dl
mov dword [edi + 0xb4], eax
cmp dword [esi + 0x1ac4], 0
je 0x1001f5b0
mov ecx, edi
call fcn.10022710
mov edx, dword [0x100dd8ec]
jmp 0x1001f5b4
mov edx, dword [esp + 0x10]
cmp byte [edi + 0x7c], 0
je 0x1001f5cf
and dword [edi + 0xac], 0xfffffff7
and dword [edi + 0xb0], 0xfffffff7
and dword [edi + 0xb4], 0xfffffff7
mov eax, dword [esp + 0x70]
cmp eax, dword [esp + 0x44]
je 0x10021dc7
mov ecx, dword [esp + 0xc]
mov eax, ecx
mov esi, dword [esp + 0x20]
and eax, 0x3000000
mov dword [edi + 0x324], esi
test esi, esi
mov esi, dword [esp + 0x14]
mov dword [esp + 0x10], eax
mov dword [edi + 0x330], edi
mov dword [edi + 0x32c], edi
mov dword [edi + 0x328], edi
je 0x1001f647
cmp eax, 0x1000000
jne 0x1001f627
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 0x328]
mov dword [edi + 0x328], eax
test ecx, 0x8000000
jne 0x1001f647
test ecx, 0x5000000
je 0x1001f647
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 0x32c]
mov dword [edi + 0x32c], eax
test dword [edi + 8], 0x800000
je 0x1001f669
mov ecx, edi
mov eax, dword [ecx + 0x324]
mov ecx, eax
mov dword [edi + 0x330], eax
test dword [ecx + 8], 0x800000
jne 0x1001f652
mov byte [edi + 0x76], 1
mov dword [edi + 0x80], 0
mov ecx, dword [esi + 0x1a1c]
lea eax, [ecx + 1]
mov dword [esi + 0x1a1c], eax
mov eax, dword [esp + 0x44]
mov dword [edi + 0x84], ecx
mov dword [edi + 0x88], 0
mov dword [edi + 0x1d4], 0xff7fffff
mov dword [edi + 0x1d8], 0xff7fffff
mov dword [edi + 0x1dc], 0x7f7fffff
mov dword [edi + 0x1e0], 0x7f7fffff
mov dword [edi + 0x224], eax
mov eax, dword [edi + 0x1cc]
cmp eax, 1
jge 0x1001f70c
test eax, eax
je 0x1001f6e9
cdq
sub eax, edx
lea edx, [edi + 0x1c8]
mov ecx, eax
sar ecx, 1
add ecx, dword [edx + 4]
jmp 0x1001f6f4
mov ecx, 8
lea edx, [edi + 0x1c8]
mov eax, 1
cmp ecx, eax
cmovg eax, ecx
mov ecx, edx
push eax
call fcn.10034c60
mov edx, dword [0x100dd8ec]
mov dword [edi + 0x1c8], 1
xorps xmm1, xmm1
movss xmm0, dword [edi + 0x34]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x1001f739
movss xmm0, dword [edi + 0xe0]
subss xmm0, dword [edi + 0xc]
addss xmm0, dword [edi + 0x54]
cvttss2si eax, xmm0
movss xmm0, dword [edi + 0x38]
ucomiss xmm0, xmm1
movd xmm2, eax
cvtdq2ps xmm2, xmm2
lahf
test ah, 0x44
jp 0x1001f764
movss xmm0, dword [edi + 0xe4]
subss xmm0, dword [edi + 0x10]
addss xmm0, dword [edi + 0x58]
addss xmm2, dword [edi + 0x3c]
cvttss2si eax, xmm0
movd xmm0, eax
mov eax, dword [edi + 0xa4]
cvtdq2ps xmm0, xmm0
addss xmm0, dword [edi + 0x40]
movss dword [edi + 0x2c], xmm2
movss dword [edi + 0x30], xmm0
test eax, eax
jle 0x1001f794
dec eax
mov dword [edi + 0xa4], eax
mov eax, dword [edi + 0xa8]
test eax, eax
jle 0x1001f7a5
dec eax
mov dword [edi + 0xa8], eax
cmp dword [esp + 0x30], 0
mov cl, byte [esp + 8]
mov ch, byte [esp + 0xa]
jne 0x1001f7c6
test cl, cl
je 0x1001f7bc
test ch, ch
jne 0x1001f7c6
mov dword [edi + 0xa8], 1
cmp byte [esp + 0xb], 0
mov eax, dword [esp + 0xc]
je 0x1001f818
test eax, 0x6000000
je 0x1001f818
mov dword [edi + 0xa8], 1
test al, 0x40
je 0x1001f818
test cl, cl
jne 0x1001f7f8
mov dword [edi + 0x1c], 0
mov dword [edi + 0x14], 0
test ch, ch
jne 0x1001f80a
mov dword [edi + 0x20], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
movss xmm0, dword [edx + 0x193c]
mov dword [edx + 0x1a20], edi
mulss xmm0, dword [edi + 0x274]
movss dword [edx + 0x194c], xmm0
movss dword [edx + 0x1938], xmm0
test eax, 0x1000000
je 0x1001f84f
movss xmm0, dword [esi + 0x1538]
jmp 0x1001f86f
test eax, 0x6000000
je 0x1001f867
test eax, 0x8000000
jne 0x1001f867
movss xmm0, dword [esi + 0x1540]
jmp 0x1001f86f
movss xmm0, dword [esi + 0x151c]
movss dword [edi + 0x48], xmm0
mov eax, dword [esi + 0x1510]
mov ecx, dword [esi + 0x1514]
mov dword [edi + 0x3c], eax
mov dword [edi + 0x40], ecx
mov ecx, dword [esp + 0xc]
mov eax, ecx
and eax, 0x5010000
cmp eax, 0x1000000
jne 0x1001f8c2
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x1001f8c2
test ecx, 0x400
je 0x1001f8b3
movss xmm0, dword [esi + 0x1514]
jmp 0x1001f8b6
xorps xmm0, xmm0
mov dword [edi + 0x3c], 0
movss dword [edi + 0x40], xmm0
movss xmm0, dword [edi + 0x3c]
maxss xmm0, dword [esi + 0x1554]
maxss xmm0, dword [esi + 0x1b0c]
movss dword [edi + 0x144], xmm0
mov eax, dword [esi + 0x1b10]
mov dword [edi + 0x148], eax
test cl, 0x21
jne 0x1001fa15
test byte [edi + 8], 1
je 0x1001f8ff
xorps xmm2, xmm2
jmp 0x1001f91f
movss xmm0, dword [edx + 0x1548]
movss xmm2, dword [edx + 0x193c]
addss xmm0, xmm0
mulss xmm2, dword [edi + 0x274]
addss xmm2, xmm0
movss xmm3, dword [edi + 0xc]
movaps xmm0, xmm3
movss xmm4, dword [edi + 0x10]
addss xmm0, dword [edi + 0x1c]
addss xmm2, dword [edi + 0x10]
cmp dword [esi + 0x1a24], edi
jne 0x1001f9e1
cmp dword [esi + 0x1a2c], 0
jne 0x1001f9e1
cmp dword [esi + 0x1a34], 0
jne 0x1001f9e1
mov eax, dword [edx + 0x1a20]
movss xmm1, dword [edx + 0x156c]
movaps xmm5, xmm1
maxss xmm3, dword [eax + 0x1d4]
minss xmm0, dword [eax + 0x1dc]
maxss xmm4, dword [eax + 0x1d8]
minss xmm2, dword [eax + 0x1e0]
subss xmm3, xmm1
movss xmm1, dword [edx + 0xd8]
addss xmm5, xmm0
movss xmm0, dword [edx + 0x1570]
movaps xmm6, xmm0
subss xmm4, xmm0
addss xmm6, xmm2
comiss xmm1, xmm3
jb 0x1001f9de
movss xmm0, dword [edx + 0xdc]
comiss xmm0, xmm4
jb 0x1001f9de
comiss xmm5, xmm1
jbe 0x1001f9de
comiss xmm6, xmm0
jbe 0x1001f9de
cmp byte [esi + 0x3ed], 0
xorps xmm1, xmm1
je 0x1001f9e1
mov byte [edi + 0x7a], 1
jmp 0x1001f9e1
xorps xmm1, xmm1
cmp byte [edi + 0x7a], 0
je 0x1001fa19
cmp byte [edi + 0x79], 0
sete al
test dword [edi + 8], 0x100
mov byte [edi + 0x79], al
jne 0x1001fa0c
comiss xmm1, dword [edx + 0x2c8c]
jb 0x1001fa0c
mov eax, dword [edx + 0x1c]
mov dword [edx + 0x2c8c], eax
mov ecx, edi
call fcn.10022710
jmp 0x1001fa19
mov byte [edi + 0x79], 0
lea eax, [edi + 0x2c]
mov byte [edi + 0x7a], 0
push eax
mov edx, edi
lea ecx, [esp + 0x4c]
call fcn.1001e570
movss xmm0, dword [0x10062ce8]
add esp, 4
test byte [esp + 0xc], 0x40
movss dword [esp + 0x28], xmm0
movss dword [esp + 0x34], xmm0
je 0x1001fa89
cmp byte [edi + 0x79], 0
jne 0x1001fa89
cmp byte [esp + 8], 0
jne 0x1001fa68
movss xmm0, dword [esp + 0x48]
movss dword [esp + 0x28], xmm0
movss dword [edi + 0x1c], xmm0
cmp byte [esp + 0xa], 0
jne 0x1001fb33
movss xmm0, dword [esp + 0x4c]
movss dword [esp + 0x34], xmm0
movss dword [edi + 0x20], xmm0
jmp 0x1001fb33
mov eax, dword [edi + 0x90]
test eax, eax
jg 0x1001faa0
cmp dword [edi + 0x94], 0
jle 0x1001fb33
cmp byte [esp + 8], 0
jne 0x1001fad2
test eax, eax
jle 0x1001fad2
cmp byte [edi + 0x98], 0
je 0x1001fac1
movss xmm0, dword [edi + 0x1c]
maxss xmm0, dword [esp + 0x48]
jmp 0x1001fac7
movss xmm0, dword [esp + 0x48]
movss dword [esp + 0x28], xmm0
movss dword [edi + 0x1c], xmm0
cmp byte [esp + 0xa], 0
jne 0x1001fb09
cmp dword [edi + 0x94], 0
jle 0x1001fb09
cmp byte [edi + 0x98], 0
je 0x1001faf8
movss xmm0, dword [edi + 0x20]
maxss xmm0, dword [esp + 0x4c]
jmp 0x1001fafe
movss xmm0, dword [esp + 0x4c]
movss dword [esp + 0x34], xmm0
movss dword [edi + 0x20], xmm0
cmp byte [edi + 0x79], 0
jne 0x1001fb33
test dword [edi + 8], 0x100
mov ecx, dword [0x100dd8ec]
jne 0x1001fb33
xorps xmm0, xmm0
comiss xmm0, dword [ecx + 0x2c8c]
jb 0x1001fb33
mov eax, dword [ecx + 0x1c]
mov dword [ecx + 0x2c8c], eax
push dword [edi + 0x20]
mov edx, edi
lea ecx, [esp + 0xb4]
push dword [edi + 0x1c]
call fcn.1001e3a0
mov edx, dword [esp + 0x14]
add esp, 8
movss xmm3, dword [eax]
movss xmm0, dword [eax + 4]
mov al, byte [edi + 0x79]
movss dword [edi + 0x1c], xmm3
movss dword [edi + 0x20], xmm0
mov byte [esp + 8], al
test al, al
je 0x1001fbca
test edx, 0x1000000
jne 0x1001fbca
test byte [edi + 8], 1
je 0x1001fb7f
xorps xmm2, xmm2
jmp 0x1001fba4
mov eax, dword [0x100dd8ec]
movss xmm0, dword [eax + 0x1548]
movss xmm2, dword [eax + 0x193c]
addss xmm0, xmm0
mulss xmm2, dword [edi + 0x274]
addss xmm2, xmm0
movss xmm0, dword [edi + 0xc]
addss xmm2, dword [edi + 0x10]
addss xmm0, xmm3
subss xmm2, dword [edi + 0x10]
subss xmm0, dword [edi + 0xc]
movss dword [esp + 0x54], xmm2
movss dword [esp + 0x50], xmm0
jmp 0x1001fbd8
mov eax, dword [edi + 0x1c]
mov ecx, dword [edi + 0x20]
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], ecx
cmp byte [esp + 8], 0
lea ecx, [esp + 0x50]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [edi + 0x14], eax
mov dword [edi + 0x18], ecx
jne 0x1001fcd3
movss xmm0, dword [esp + 0x28]
movss xmm1, dword [0x10062ce8]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x1001fc0e
movss xmm3, dword [edi + 0x24]
movss xmm0, dword [esp + 0x34]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x1001fc24
movss xmm2, dword [edi + 0x20]
jmp 0x1001fc29
movss xmm2, dword [edi + 0x28]
test edx, 0x4000
jne 0x1001fc44
movss xmm0, dword [edi + 0x30]
comiss xmm0, xmm2
jbe 0x1001fc40
test dl, 8
je 0x1001fc44
xor cl, cl
jmp 0x1001fc46
mov cl, 1
mov byte [edi + 0x75], cl
test edx, 0x8000
jne 0x1001fc8a
xorps xmm1, xmm1
test cl, cl
je 0x1001fc62
movss xmm0, dword [esi + 0x157c]
jmp 0x1001fc65
xorps xmm0, xmm0
subss xmm3, xmm0
movss xmm0, dword [edi + 0x2c]
comiss xmm0, xmm3
jbe 0x1001fc81
mov eax, edx
and eax, 0x808
cmp eax, 0x800
je 0x1001fc8a
mov byte [edi + 0x74], 0
xorps xmm0, xmm0
jmp 0x1001fcbd
mov byte [edi + 0x74], 1
test cl, cl
jne 0x1001fcb2
subss xmm2, dword [esi + 0x157c]
movss xmm0, dword [edi + 0x30]
comiss xmm0, xmm2
jbe 0x1001fcad
test dl, 8
jne 0x1001fcad
mov cl, 1
jmp 0x1001fcaf
xor cl, cl
mov byte [edi + 0x75], cl
movss xmm0, dword [esi + 0x157c]
xorps xmm1, xmm1
test cl, cl
je 0x1001fcc9
movss xmm1, dword [esi + 0x157c]
movss dword [edi + 0x6c], xmm1
movss dword [edi + 0x70], xmm0
cmp byte [esp + 0xb], 0
je 0x1001fd18
mov dword [edi + 0xa0], 0xffffffff
test edx, 0x4000000
je 0x1001fd18
cmp byte [esp + 9], 0
jne 0x1001fd18
mov eax, dword [esi + 0x1aa4]
lea ecx, [eax + eax*8]
mov eax, dword [esi + 0x1aac]
movss xmm0, dword [eax + ecx*4 - 0x10]
movss xmm1, dword [eax + ecx*4 - 0xc]
movss dword [edi + 0xc], xmm0
movss dword [edi + 0x10], xmm1
test edx, 0x1000000
je 0x1001fdbd
mov ecx, dword [esp + 0x20]
add ecx, 0x14c
mov dword [esp + 0x1c], ecx
mov eax, dword [ecx]
mov dword [edi + 0x80], eax
mov eax, dword [ecx + 4]
cmp dword [ecx], eax
jne 0x1001fd72
mov edx, dword [ecx]
inc edx
mov dword [esp + 0x18], edx
test eax, eax
je 0x1001fd5a
cdq
sub eax, edx
mov edx, dword [esp + 0x18]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x1001fd5f
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.10034c60
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
mov ecx, dword [ecx]
mov eax, dword [eax + 0x154]
mov dword [eax + ecx*4], edi
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x10]
inc dword [eax + 0x14c]
mov al, byte [esp + 9]
test edx, 0x4000000
jne 0x1001fdc5
test al, al
jne 0x1001fdc5
cmp ecx, 0x3000000
je 0x1001fdc5
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx + 0xc8]
mov ecx, dword [ecx + 0xcc]
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], ecx
mov ecx, dword [esp + 0x10]
mov al, byte [esp + 9]
movss xmm0, dword [edi + 0xb8]
movss xmm7, dword [0x10062ce8]
ucomiss xmm0, xmm7
movss dword [esp + 0x18], xmm0
lahf
test ah, 0x44
jnp 0x1001fef4
cmp dword [edi + 0xa8], 0
jne 0x1001fef4
movss xmm6, dword [edi + 0xc4]
movss xmm0, dword [esi + 0x15cc]
movss xmm2, dword [edi + 0xc0]
movss xmm5, dword [edi + 0xbc]
movss xmm3, dword [esi + 0x15d0]
and dword [edi + 0xac], 0xfffffff1
movss xmm1, dword [esp + 0x18]
mov dword [edi + 0xb8], 0x7f7fffff
mov dword [edi + 0xbc], 0x7f7fffff
mulss xmm2, dword [edi + 0x1c]
movss dword [esp + 0x1c], xmm6
movss xmm6, dword [edi + 0x10]
subss xmm1, xmm2
movss dword [esp + 0x30], xmm6
movss xmm6, dword [esp + 0x1c]
mulss xmm6, dword [edi + 0x20]
movss xmm7, dword [edi + 0xc]
maxss xmm0, xmm1
subss xmm5, xmm6
cvttss2si eax, xmm0
maxss xmm3, xmm5
movd xmm1, eax
cvttss2si eax, xmm3
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0xc], xmm1
subss xmm1, xmm7
movss dword [edi + 0x10], xmm0
subss xmm0, dword [esp + 0x30]
addss xmm1, dword [edi + 0xc8]
addss xmm0, dword [edi + 0xcc]
movss dword [edi + 0xc8], xmm1
movss dword [edi + 0xcc], xmm0
movss xmm1, dword [edi + 0x10]
movss xmm0, dword [edi + 0xc]
subss xmm1, dword [esp + 0x30]
subss xmm0, xmm7
addss xmm1, dword [edi + 0xe4]
addss xmm0, dword [edi + 0xe0]
movss dword [edi + 0xe4], xmm1
movss dword [edi + 0xe0], xmm0
jmp 0x1001ff45
test edx, 0x10000000
jne 0x1001ff23
test edx, 0x4000000
je 0x1001ff0f
test al, al
jne 0x1001ff0f
cmp dword [esp + 0x40], 0
jg 0x1001ff23
test edx, 0x2000000
je 0x1001ff4d
test al, al
jne 0x1001ff4d
cmp ecx, 0x3000000
je 0x1001ff4d
mov edx, edi
lea ecx, [esp + 0x50]
call fcn.1001dca0
mov edx, dword [esp + 0xc]
movss xmm1, dword [eax + 4]
movss xmm0, dword [eax]
movss dword [edi + 0xc], xmm0
movss dword [edi + 0x10], xmm1
movss xmm7, dword [0x10062ce8]
test edx, 0x1000000
jne 0x1002000d
cmp byte [esp + 9], 0
jne 0x1002000d
cmp dword [edi + 0x90], 0
jg 0x1002000d
cmp dword [edi + 0x94], 0
xorps xmm2, xmm2
jg 0x10020010
movss xmm0, dword [esi + 0x10]
comiss xmm0, xmm2
jbe 0x10020010
movss xmm0, dword [esi + 0x14]
comiss xmm0, xmm2
jbe 0x10020010
movss xmm5, dword [esi + 0x15c8]
movss xmm4, dword [esi + 0x15c4]
movss xmm3, dword [edi + 0x14]
addss xmm3, dword [edi + 0xc]
movss xmm2, dword [edi + 0x18]
addss xmm2, dword [edi + 0x10]
maxss xmm5, dword [esi + 0x15d0]
maxss xmm4, dword [esi + 0x15cc]
maxss xmm2, xmm5
maxss xmm3, xmm4
subss xmm2, dword [edi + 0x18]
subss xmm3, dword [edi + 0x14]
movss dword [edi + 0x10], xmm2
movss dword [edi + 0xc], xmm3
movss xmm0, dword [esi + 0x10]
subss xmm0, xmm4
minss xmm3, xmm0
movss xmm0, dword [esi + 0x14]
subss xmm0, xmm5
movss dword [edi + 0xc], xmm3
minss xmm2, xmm0
movss dword [edi + 0x10], xmm2
xorps xmm2, xmm2
cvttss2si eax, dword [edi + 0xc]
movd xmm1, eax
cvttss2si eax, dword [edi + 0x10]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movss dword [edi + 0xc], xmm1
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x10], xmm0
test edx, 0x1000000
je 0x10020044
movss xmm6, dword [esi + 0x1534]
jmp 0x10020064
mov eax, edx
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x1002005c
movss xmm6, dword [esi + 0x153c]
jmp 0x10020064
movss xmm6, dword [esi + 0x1518]
mov eax, dword [edi + 0x370]
movss dword [edi + 0x44], xmm6
cmp eax, 0x7fffffff
je 0x1002008a
mov ecx, dword [edi + 0x360]
cmp ecx, 0xffffffff
je 0x1002008a
inc eax
add eax, ecx
inc ecx
cdq
idiv ecx
jmp 0x1002008f
mov edx, 0x7fffffff
mov eax, dword [edi + 0x374]
mov dword [edi + 0x368], edx
cmp eax, 0x7fffffff
je 0x100200b6
mov ecx, dword [edi + 0x364]
cmp ecx, 0xffffffff
je 0x100200b6
inc eax
add eax, ecx
inc ecx
cdq
idiv ecx
jmp 0x100200bb
mov edx, 0x7fffffff
movss xmm1, dword [edi + 0x5c]
comiss xmm7, xmm1
mov dword [edi + 0x36c], edx
mov dword [edi + 0x364], 0xffffffff
mov dword [edi + 0x360], 0xffffffff
mov dword [edi + 0x374], 0x7fffffff
mov dword [edi + 0x370], 0x7fffffff
movss xmm4, dword [edi + 0x54]
movss xmm3, dword [edi + 0x58]
jbe 0x10020113
movss xmm0, dword [edi + 0x1c]
movaps xmm4, xmm1
subss xmm0, dword [edi + 0x6c]
mulss xmm0, dword [edi + 0x64]
subss xmm4, xmm0
movss xmm0, dword [edi + 0x60]
comiss xmm7, xmm0
movss xmm5, dword [0x10062bac]
jbe 0x100201f9
movss xmm7, dword [edi + 0x68]
movaps xmm3, xmm0
comiss xmm2, xmm7
jb 0x10020143
movss xmm0, dword [edi + 0x40]
comiss xmm0, xmm3
jb 0x10020143
xorps xmm3, xmm3
comiss xmm7, xmm5
mov eax, dword [0x100dd8ec]
jb 0x1002016a
movss xmm1, dword [edi + 0x30]
movaps xmm0, xmm1
subss xmm0, dword [edi + 0x40]
addss xmm0, dword [eax + 0x1558]
comiss xmm3, xmm0
jb 0x1002016a
movaps xmm3, xmm1
mov ecx, dword [edi + 8]
test cl, 1
je 0x10020177
xorps xmm5, xmm5
jmp 0x10020197
movss xmm0, dword [eax + 0x1548]
movss xmm5, dword [eax + 0x193c]
addss xmm0, xmm0
mulss xmm5, dword [edi + 0x274]
addss xmm5, xmm0
test ecx, 0x400
je 0x100201c9
movss xmm1, dword [eax + 0x193c]
mulss xmm1, dword [edi + 0x274]
movss xmm0, dword [eax + 0x1548]
addss xmm0, xmm0
addss xmm1, dword [edi + 0x148]
addss xmm1, xmm0
jmp 0x100201cc
xorps xmm1, xmm1
addss xmm1, xmm5
movss xmm5, dword [0x10062bac]
movaps xmm0, xmm5
subss xmm0, xmm7
mulss xmm1, xmm0
movss xmm0, dword [edi + 0x20]
subss xmm0, dword [edi + 0x70]
subss xmm3, xmm1
mulss xmm0, xmm7
subss xmm3, xmm0
cmp byte [edi + 0x79], 0
maxss xmm4, xmm2
maxss xmm3, xmm2
jne 0x10020251
cmp byte [edi + 0x7b], 0
jne 0x10020251
movss xmm0, dword [edi + 0x1c]
subss xmm0, dword [edi + 0x6c]
movss xmm1, dword [edi + 0x2c]
subss xmm1, xmm0
xorps xmm0, xmm0
maxss xmm0, xmm1
comiss xmm0, xmm4
ja 0x1002022f
movaps xmm4, xmm0
movss xmm0, dword [edi + 0x20]
subss xmm0, dword [edi + 0x70]
movss xmm1, dword [edi + 0x30]
subss xmm1, xmm0
xorps xmm0, xmm0
maxss xmm0, xmm1
comiss xmm0, xmm3
ja 0x10020251
movaps xmm3, xmm0
cmp byte [esp + 0xb], 0
movss dword [edi + 0x54], xmm4
movss dword [edi + 0x58], xmm3
mov dword [edi + 0x5c], 0x7f7fffff
mov dword [edi + 0x60], 0x7f7fffff
mov byte [esp + 8], 0
je 0x10020293
mov eax, dword [esp + 0xc]
test eax, 0x1000
jne 0x10020293
test eax, 0x3000000
je 0x1002028e
test eax, 0x4000000
je 0x10020293
mov byte [esp + 8], 1
movss xmm1, dword [esi + 0x1938]
addss xmm6, xmm5
xorps xmm0, xmm0
or eax, 0xffffffff
movaps xmmword [esp + 0xc0], xmm0
movaps xmm0, xmm1
mulss xmm1, dword [0x10062b68]
mov dword [esp + 0x18], eax
mulss xmm0, dword [0x10062bb0]
mov dword [esp + 0x38], eax
xor eax, eax
cmp byte [esi + 0xbe], al
addss xmm6, xmm1
setne al
inc eax
cmp byte [edi + 0x79], 0
mov dword [esp + 0x60], eax
maxss xmm0, xmm6
cvttss2si esi, xmm0
jne 0x10020311
lea ecx, [esp + 0xc0]
push ecx
push eax
lea eax, [esp + 0x40]
mov ecx, edi
push eax
lea edx, [esp + 0x54]
call fcn.1001e6c0
mov eax, dword [esp + 0x44]
add esp, 0xc
mov dword [esp + 0x18], eax
xorps xmm2, xmm2
movss xmm0, dword [edi + 0x14]
comiss xmm0, xmm2
jbe 0x1002032f
test dword [esp + 0xc], 0x2000040
jne 0x1002032f
mulss xmm0, dword [0x10062b8c]
jmp 0x10020343
mov eax, dword [esp + 0x14]
movss xmm0, dword [eax + 0x1938]
mulss xmm0, dword [0x10062c50]
cvttss2si eax, xmm0
mov ecx, edi
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ecx + 0x228], xmm0
mov ecx, dword [edi + 0x27c]
call fcn.10047800
mov edx, dword [esp + 0x14]
xor ecx, ecx
mov eax, 2
cmp byte [edx + 0x15da], cl
cmovne ecx, eax
xor eax, eax
cmp byte [edx + 0x15d8], al
setne al
or ecx, eax
mov eax, dword [edi + 0x27c]
mov dword [eax + 0x24], ecx
mov eax, dword [edx + 0x1934]
mov ecx, dword [edi + 0x27c]
lea edi, [ecx + 0x48]
mov dword [esp + 0x30], ecx
mov ecx, dword [edi]
mov eax, dword [eax + 0x44]
mov eax, dword [eax + 8]
mov dword [esp + 0x1c], eax
mov eax, dword [edi + 4]
cmp ecx, eax
jne 0x100203d4
inc ecx
test eax, eax
je 0x100203c2
cdq
sub eax, edx
sar eax, 1
add eax, dword [edi + 4]
jmp 0x100203c7
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edi
call fcn.10034c60
mov edx, dword [edi]
mov eax, dword [edi + 8]
mov ecx, dword [esp + 0x1c]
mov dword [eax + edx*4], ecx
mov ecx, dword [esp + 0x30]
inc dword [edi]
call fcn.10047c30
mov edi, dword [0x100dd8ec]
movss xmm2, dword [edi + 0xac]
movss xmm1, dword [edi + 0xb4]
ucomiss xmm2, xmm1
movss dword [esp + 0x8c], xmm2
movss dword [esp + 0x84], xmm1
lahf
test ah, 0x44
jnp 0x10020462
movss xmm0, dword [edi + 0xb0]
ucomiss xmm0, dword [edi + 0xb8]
lahf
test ah, 0x44
jnp 0x10020462
movss dword [esp + 0xb0], xmm2
movaps xmm2, xmm0
movss xmm0, dword [edi + 0xb8]
movss dword [esp + 0x80], xmm2
movss dword [esp + 0xb4], xmm2
movss dword [esp + 0xb8], xmm1
jmp 0x100204a8
xorps xmm0, xmm0
xorps xmm1, xmm1
movss dword [esp + 0x80], xmm0
movss dword [esp + 0xb4], xmm0
movss xmm0, dword [edi + 0x10]
movss dword [esp + 0x84], xmm0
movss dword [esp + 0xb8], xmm0
movss xmm0, dword [edi + 0x14]
movss dword [esp + 0x8c], xmm1
movss dword [esp + 0xb0], xmm1
mov eax, dword [esp + 0xc]
and eax, 0x5000000
movss dword [esp + 0xbc], xmm0
movss dword [esp + 0x2c], xmm0
cmp eax, 0x1000000
jne 0x10020531
cmp dword [esp + 0x10], 0x3000000
je 0x10020531
mov eax, dword [edi + 0x1a20]
push 1
mov byte [eax + 0x78], 1
mov eax, dword [esp + 0x24]
mov edi, dword [edi + 0x1a20]
push dword [eax + 0x1e0]
mov ecx, dword [edi + 0x27c]
push dword [eax + 0x1dc]
push dword [eax + 0x1d8]
push dword [eax + 0x1d4]
call fcn.10047d00
mov eax, dword [edi + 0x27c]
mov ecx, dword [eax + 0x3c]
mov eax, dword [eax + 0x44]
shl ecx, 4
movss xmm0, dword [eax + ecx - 0xc]
movss xmm1, dword [eax + ecx - 8]
movss xmm2, dword [eax + ecx - 4]
mov eax, dword [eax + ecx - 0x10]
jmp 0x1002058f
mov eax, dword [edi + 0x1a20]
push 1
push dword [esp + 0xc0]
push dword [esp + 0xc0]
mov byte [eax + 0x78], 1
mov edi, dword [edi + 0x1a20]
push dword [esp + 0xc0]
push dword [esp + 0xc0]
mov ecx, dword [edi + 0x27c]
call fcn.10047d00
mov eax, dword [edi + 0x27c]
mov ecx, dword [eax + 0x3c]
mov eax, dword [eax + 0x44]
shl ecx, 4
movss xmm0, dword [ecx + eax - 0xc]
movss xmm1, dword [ecx + eax - 8]
movss xmm2, dword [ecx + eax - 4]
mov eax, dword [ecx + eax - 0x10]
test dword [esp + 0xc], 0x8000000
mov dword [edi + 0x1d4], eax
movss dword [edi + 0x1d8], xmm0
movss dword [edi + 0x1dc], xmm1
movss dword [edi + 0x1e0], xmm2
je 0x100205d1
call fcn.1001ce90
mov edi, dword [esp + 0x3c]
cmp edi, eax
jne 0x100205d5
cmp dword [edi + 0xa8], 0
jg 0x100205d5
mov cl, 1
jmp 0x100205d7
mov edi, dword [esp + 0x3c]
xor cl, cl
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0x1b5c]
test eax, eax
je 0x100205f1
cmp edi, dword [eax + 0x328]
jne 0x100205f1
mov al, 1
jmp 0x100205f3
xor al, al
mov byte [esp + 9], al
test cl, cl
jne 0x10020603
test al, al
je 0x10020724
movss xmm1, dword [edx + 0x1c54]
push 0xf
push ecx
movzx ecx, cl
add ecx, 0x33
mov dword [esp], 0
call fcn.10014520
mov ecx, dword [edi + 0x27c]
push eax
lea eax, [esp + 0xc4]
push eax
lea eax, [esp + 0xc0]
push eax
call fcn.10049a00
cmp byte [esp + 9], 0
mov edx, dword [esp + 0x14]
je 0x10020724
cmp edi, dword [edx + 0x1b5c]
jne 0x10020724
movss xmm2, dword [edi + 0xc]
movss xmm3, dword [edi + 0x10]
movaps xmm1, xmm2
movss xmm0, dword [edx + 0x1938]
movaps xmm4, xmm3
addss xmm2, dword [edi + 0x14]
addss xmm3, dword [edi + 0x18]
subss xmm1, xmm0
subss xmm4, xmm0
addss xmm2, xmm0
addss xmm3, xmm0
movss xmm0, dword [esp + 0x8c]
comiss xmm0, xmm1
movss dword [esp + 0x90], xmm1
movss dword [esp + 0x94], xmm4
movss dword [esp + 0x98], xmm2
movss dword [esp + 0x9c], xmm3
jb 0x100206da
movss xmm0, dword [esp + 0x80]
comiss xmm0, xmm4
jb 0x100206da
comiss xmm2, dword [esp + 0x84]
jb 0x100206da
comiss xmm3, dword [esp + 0x2c]
jae 0x10020724
movss xmm1, dword [edx + 0x1b68]
mulss xmm1, dword [0x10062b6c]
push 0xf
movss xmm0, dword [edx + 0x1518]
push ecx
mov ecx, 0x32
movss dword [esp], xmm0
call fcn.10014520
mov ecx, dword [edi + 0x27c]
push eax
lea eax, [esp + 0xa4]
push eax
lea eax, [esp + 0xa0]
push eax
call fcn.10049a00
mov edx, dword [esp + 0x14]
movss xmm0, dword [edi + 0x44]
movss xmm1, dword [edi + 0x48]
mov ecx, dword [edx + 0x1b58]
movss dword [esp + 0x10], xmm0
movss dword [esp + 0x28], xmm1
test ecx, ecx
jne 0x1002074a
mov ecx, dword [edx + 0x1b1c]
cmp byte [esp + 8], 0
jne 0x10020767
test ecx, ecx
je 0x10020763
mov eax, dword [edi + 0x32c]
cmp eax, dword [ecx + 0x32c]
je 0x10020767
xor cl, cl
jmp 0x10020769
mov cl, 1
test byte [edi + 8], 1
xorps xmm7, xmm7
mov byte [esp + 9], cl
je 0x1002077b
xorps xmm2, xmm2
jmp 0x100207a0
mov eax, dword [0x100dd8ec]
movss xmm0, dword [eax + 0x1548]
movss xmm2, dword [eax + 0x193c]
addss xmm0, xmm0
mulss xmm2, dword [edi + 0x274]
addss xmm2, xmm0
cmp byte [edi + 0x79], 0
movss xmm3, dword [edi + 0xc]
addss xmm2, dword [edi + 0x10]
movaps xmm0, xmm3
movss dword [esp + 0x40], xmm3
addss xmm0, dword [edi + 0x1c]
movss dword [esp + 0x90], xmm3
movss xmm3, dword [edi + 0x10]
movss dword [esp + 0x38], xmm2
movss dword [esp + 0x7c], xmm2
movss dword [esp + 0x78], xmm0
movss dword [esp + 0x94], xmm3
movss dword [esp + 0x98], xmm0
movss dword [esp + 0x9c], xmm2
je 0x10020872
mov esi, dword [esp + 0x14]
movss xmm0, dword [esi + 0x1550]
movss dword [esp + 0x18], xmm0
movss dword [esi + 0x1550], xmm1
test cl, cl
je 0x10020825
cmp byte [esi + 0x1b7a], 0
mov ecx, 0xb
je 0x1002082a
mov ecx, 0xc
push dword [esp + 0x7c]
movss xmm1, dword [0x10062bac]
push dword [esp + 0x7c]
push dword [esp + 0x9c]
push dword [esp + 0x9c]
call fcn.10014520
movss xmm2, dword [esp + 0x20]
mov dl, 1
mov ecx, eax
call fcn.1001c110
movss xmm0, dword [esp + 0x28]
add esp, 0x10
movss dword [esi + 0x1550], xmm0
jmp 0x100210f7
mov eax, dword [esp + 0xc]
test eax, 0x6000000
je 0x10020884
mov eax, 4
jmp 0x10020891
and eax, 0x1000000
or eax, 0x2000000
shr eax, 0x18
movss xmm1, dword [0x10062bac]
mov ecx, eax
call fcn.10014520
cmp dword [edx + 0x1ac8], 0
mov ecx, eax
je 0x100208f2
movss xmm1, dword [edx + 0x1b08]
comiss xmm7, xmm1
jbe 0x100208bd
xorps xmm0, xmm0
jmp 0x100208c9
movss xmm0, dword [0x10062bac]
minss xmm0, xmm1
mulss xmm0, dword [0x10062ca4]
and ecx, 0xffffff
mov dword [edx + 0x1ac8], 0
addss xmm0, dword [0x10062b80]
cvttss2si eax, xmm0
shl eax, 0x18
or ecx, eax
test byte [edi + 8], 1
movss xmm2, dword [edi + 0xc]
movss xmm3, dword [edi + 0x10]
movaps xmm0, xmm2
addss xmm0, dword [edi + 0x14]
movss dword [esp + 0x50], xmm0
movaps xmm0, xmm3
addss xmm0, dword [edi + 0x18]
movss dword [esp + 0x54], xmm0
je 0x10020923
xorps xmm1, xmm1
jmp 0x10020948
mov eax, dword [0x100dd8ec]
movss xmm0, dword [eax + 0x1548]
movss xmm1, dword [eax + 0x193c]
addss xmm0, xmm0
mulss xmm1, dword [edi + 0x274]
addss xmm1, xmm0
mov eax, dword [esp + 0xc]
addss xmm2, xmm7
movss xmm0, dword [esp + 0x10]
addss xmm1, xmm3
and eax, 1
mov edx, 0xf
mov dword [esp + 0x1c], eax
mov eax, 0xc
cmovne eax, edx
push eax
push ecx
movss dword [esp], xmm0
lea eax, [esp + 0x58]
push ecx
mov ecx, dword [edi + 0x27c]
push eax
lea eax, [esp + 0x78]
movss dword [esp + 0x78], xmm2
push eax
movss dword [esp + 0x80], xmm1
call fcn.10049a00
cmp byte [edi + 0x79], 0
je 0x100209a7
mov ecx, 0xc
jmp 0x100209af
movzx ecx, byte [esp + 9]
add ecx, 0xa
cmp dword [esp + 0x1c], 0
jne 0x100209ed
movss xmm0, dword [esp + 0x10]
movss xmm1, dword [0x10062bac]
push 3
push ecx
movss dword [esp], xmm0
call fcn.10014520
mov ecx, dword [edi + 0x27c]
push eax
lea eax, [esp + 0xa4]
push eax
lea eax, [esp + 0xa0]
push eax
call fcn.10049a00
mov eax, dword [esp + 0xc]
test eax, 0x400
je 0x10020b9a
mov edx, dword [edi + 8]
xorps xmm2, xmm2
mov ecx, dword [0x100dd8ec]
test dl, 1
je 0x10020a12
xorps xmm1, xmm1
jmp 0x10020a32
movss xmm0, dword [ecx + 0x1548]
movss xmm1, dword [ecx + 0x193c]
addss xmm0, xmm0
mulss xmm1, dword [edi + 0x274]
addss xmm1, xmm0
movss xmm4, dword [edi + 0x10]
movaps xmm5, xmm4
addss xmm5, xmm1
test edx, 0x400
je 0x10020a70
movss xmm3, dword [ecx + 0x193c]
mulss xmm3, dword [edi + 0x274]
movss xmm0, dword [ecx + 0x1548]
addss xmm0, xmm0
addss xmm3, dword [edi + 0x148]
addss xmm3, xmm0
jmp 0x10020a73
xorps xmm3, xmm3
movss xmm1, dword [edi + 0xc]
movaps xmm0, xmm5
maxss xmm0, xmm4
movaps xmm6, xmm1
maxss xmm6, xmm1
addss xmm3, xmm5
addss xmm4, dword [edi + 0x18]
movss dword [esp + 0xb4], xmm0
movaps xmm0, xmm1
movss dword [esp + 0x30], xmm6
movss dword [esp + 0xb0], xmm6
minss xmm3, xmm4
addss xmm0, dword [edi + 0x1c]
addss xmm1, dword [edi + 0x14]
movss dword [esp + 0x1c], xmm3
movss dword [esp + 0xbc], xmm3
minss xmm0, xmm1
movss dword [esp + 0xb8], xmm0
test al, 1
je 0x10020ade
movss xmm2, dword [esp + 0x10]
movss xmm1, dword [0x10062bac]
push 3
push ecx
mov ecx, 0xd
movss dword [esp], xmm2
call fcn.10014520
mov ecx, dword [edi + 0x27c]
push eax
lea eax, [esp + 0xc4]
push eax
lea eax, [esp + 0xc0]
push eax
call fcn.10049a00
mov eax, dword [esp + 0x14]
movss xmm2, dword [eax + 0x1550]
comiss xmm2, dword [0x10062b10]
jbe 0x10020b9a
movss xmm0, dword [edi + 0x10]
addss xmm0, dword [edi + 0x18]
movss xmm1, dword [esp + 0x1c]
comiss xmm0, xmm1
jbe 0x10020b9a
mov ecx, dword [esp + 0xbc]
sub esp, 8
movss xmm0, dword [esp + 0x38]
mov eax, dword [esp + 0xc0]
mov dword [esp + 0x5c], ecx
mov ecx, 5
movss dword [esp + 0x74], xmm1
movss xmm1, dword [0x10062bac]
mov dword [esp + 0x58], eax
movss dword [esp + 0x70], xmm0
movss dword [esp + 4], xmm2
call fcn.10014520
mov ecx, dword [edi + 0x27c]
add esp, 4
push eax
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0x74]
push eax
call fcn.100497b0
cmp byte [edi + 0x74], 0
je 0x10020baa
mov ecx, 1
call fcn.100220a0
cmp byte [edi + 0x75], 0
je 0x10020bb7
xor ecx, ecx
call fcn.100220a0
test byte [esp + 0xc], 2
jne 0x10020e53
movss xmm4, dword [esp + 0x28]
xor ecx, ecx
movaps xmm0, xmm4
mov dword [esp + 0x88], ecx
addss xmm0, dword [esp + 0x10]
mov eax, 0x10067c38
mov dword [esp + 0x34], eax
movss dword [esp + 0x48], xmm0
nop dword [eax]
movss xmm0, dword [edi + 0xc]
and ecx, 1
movss xmm1, dword [edi + 0x10]
movaps xmm2, xmm0
addss xmm2, dword [edi + 0x14]
mov edx, dword [edi + 0x27c]
mov dword [esp + 0xac], ecx
subss xmm2, xmm0
mulss xmm2, dword [eax - 8]
addss xmm2, xmm0
movaps xmm0, xmm1
addss xmm0, dword [edi + 0x18]
movss dword [esp + 0x30], xmm2
subss xmm0, xmm1
mulss xmm0, dword [eax - 4]
addss xmm0, xmm1
movss dword [esp + 0x1c], xmm0
je 0x10020c4e
movd xmm3, esi
movaps xmm1, xmm4
cvtdq2ps xmm3, xmm3
jmp 0x10020c58
movd xmm1, esi
movaps xmm3, xmm4
cvtdq2ps xmm1, xmm1
mulss xmm1, dword [eax]
mov edi, dword [edx + 0x58]
mulss xmm3, dword [eax + 4]
lea eax, [edx + 0x54]
mov ecx, dword [eax]
mov dword [esp + 0x24], eax
addss xmm1, xmm2
addss xmm3, xmm0
movss dword [esp + 0x68], xmm1
movss dword [esp + 0x6c], xmm3
cmp ecx, edi
jne 0x10020cbf
inc ecx
test edi, edi
je 0x10020c95
mov eax, edi
cdq
sub eax, edx
sar eax, 1
add eax, edi
jmp 0x10020c9a
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, dword [esp + 0x28]
call fcn.10035270
movss xmm2, dword [esp + 0x30]
movss xmm0, dword [esp + 0x1c]
movss xmm4, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 8]
mov eax, dword [eax]
mov edx, dword [esp + 0x68]
mov edi, dword [esp + 0x6c]
mov dword [ecx + eax*8], edx
mov dword [ecx + eax*8 + 4], edi
mov eax, dword [esp + 0x24]
inc dword [eax]
cmp dword [esp + 0xac], 0
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax + 0x27c]
je 0x10020cf9
movd xmm1, esi
movaps xmm3, xmm4
cvtdq2ps xmm1, xmm1
jmp 0x10020d03
movd xmm3, esi
movaps xmm1, xmm4
cvtdq2ps xmm3, xmm3
mov eax, dword [esp + 0x34]
mov edi, dword [ecx + 0x54]
mulss xmm1, dword [eax]
mulss xmm3, dword [eax + 4]
lea eax, [ecx + 0x54]
mov ecx, dword [eax + 4]
mov dword [esp + 0x24], eax
addss xmm1, xmm2
addss xmm3, xmm0
movss dword [esp + 0x50], xmm1
movss dword [esp + 0x54], xmm3
cmp edi, ecx
jne 0x10020d63
inc edi
test ecx, ecx
je 0x10020d45
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x10020d4a
mov eax, 8
mov ecx, dword [esp + 0x24]
cmp eax, edi
cmovg edi, eax
push edi
call fcn.10035270
movss xmm2, dword [esp + 0x30]
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 8]
mov eax, dword [eax]
mov edx, dword [esp + 0x50]
mov edi, dword [esp + 0x54]
movss xmm0, dword [esp + 0x48]
mov dword [ecx + eax*8], edx
mov dword [ecx + eax*8 + 4], edi
mov eax, dword [esp + 0x24]
mov edi, dword [esp + 0x3c]
inc dword [eax]
mov eax, dword [esp + 0x34]
mov ecx, dword [edi + 0x27c]
mulss xmm0, dword [eax]
push dword [eax + 0xc]
push dword [eax + 8]
addss xmm0, xmm2
movss xmm2, dword [esp + 0x18]
movss dword [esp + 0xb8], xmm0
movss xmm0, dword [esp + 0x50]
mulss xmm0, dword [eax + 4]
lea eax, [esp + 0xb8]
push eax
addss xmm0, dword [esp + 0x28]
movss dword [esp + 0xc0], xmm0
call fcn.100491d0
mov ecx, dword [edi + 0x27c]
mov edx, dword [esp + 0x88]
lea eax, [ecx + 0x54]
mov dword [esp + 0x24], eax
push dword [esp + edx*4 + 0xc0]
push dword [eax]
push dword [ecx + 0x5c]
call fcn.10048d90
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x10020e23
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, dword [esp + 0x28]
call fcn.10035270
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x88]
movss xmm4, dword [esp + 0x28]
inc ecx
mov dword [eax], 0
mov eax, dword [esp + 0x34]
add eax, 0x18
mov dword [esp + 0x88], ecx
mov dword [esp + 0x34], eax
cmp ecx, dword [esp + 0x60]
jl 0x10020bf0
movss xmm5, dword [esp + 0x28]
xorps xmm1, xmm1
comiss xmm5, xmm1
jbe 0x10020ed4
movss xmm0, dword [edi + 0x14]
addss xmm0, dword [edi + 0xc]
movss xmm1, dword [0x10062bac]
push ecx
movss dword [esp], xmm5
mov ecx, 5
push 0xf
movss dword [esp + 0xb8], xmm0
sub esp, 8
movss xmm0, dword [edi + 0x18]
addss xmm0, dword [edi + 0x10]
movss dword [esp + 0xc4], xmm0
movss xmm0, dword [esp + 0x20]
movss dword [esp + 4], xmm0
call fcn.10014520
mov ecx, dword [edi + 0x27c]
add esp, 4
push eax
lea eax, [esp + 0xc0]
push eax
lea eax, [edi + 0xc]
push eax
call fcn.100498f0
movss xmm5, dword [esp + 0x28]
xorps xmm1, xmm1
mov eax, dword [esp + 0x18]
cmp eax, 0xffffffff
je 0x10021059
movss xmm0, dword [edi + 0xc]
movss xmm2, dword [edi + 0x10]
movaps xmm3, xmm0
movss xmm6, dword [0x10062bac]
movaps xmm4, xmm2
addss xmm3, dword [edi + 0x14]
addss xmm4, dword [edi + 0x18]
subss xmm3, xmm6
subss xmm4, xmm6
test eax, eax
jne 0x10020f4b
movd xmm4, esi
cvtdq2ps xmm4, xmm4
movss dword [esp + 0xb4], xmm2
addss xmm2, xmm1
addss xmm0, xmm4
subss xmm3, xmm4
movss dword [esp + 0xbc], xmm2
movss dword [esp + 0xb0], xmm0
movss dword [esp + 0xb8], xmm3
jmp 0x1002101d
cmp eax, 1
jne 0x10020f8f
movaps xmm0, xmm3
movss dword [esp + 0xb8], xmm3
subss xmm0, xmm1
movss dword [esp + 0xb0], xmm0
movd xmm0, esi
cvtdq2ps xmm0, xmm0
addss xmm2, xmm0
subss xmm4, xmm0
movss dword [esp + 0xb4], xmm2
movss dword [esp + 0xbc], xmm4
jmp 0x1002101d
cmp eax, 2
jne 0x10020fd0
movd xmm2, esi
cvtdq2ps xmm2, xmm2
movss dword [esp + 0xbc], xmm4
addss xmm0, xmm2
subss xmm3, xmm2
movss dword [esp + 0xb0], xmm0
movaps xmm0, xmm4
subss xmm0, xmm1
movss dword [esp + 0xb8], xmm3
movss dword [esp + 0xb4], xmm0
jmp 0x1002101d
cmp eax, 3
jne 0x1002100e
movd xmm3, esi
cvtdq2ps xmm3, xmm3
movss dword [esp + 0xb0], xmm0
addss xmm0, xmm1
addss xmm2, xmm3
subss xmm4, xmm3
movss dword [esp + 0xb8], xmm0
movss dword [esp + 0xb4], xmm2
movss dword [esp + 0xbc], xmm4
jmp 0x1002101d
movaps xmm0, xmmword [0x10063920]
movups xmmword [esp + 0xb0], xmm0
movaps xmm0, xmm6
sub esp, 8
maxss xmm0, xmm5
movaps xmm1, xmm6
mov ecx, 0x1d
movss dword [esp + 4], xmm0
call fcn.10014520
mov ecx, dword [edi + 0x27c]
add esp, 4
push eax
lea eax, [esp + 0xc0]
push eax
lea eax, [esp + 0xbc]
push eax
call fcn.100497b0
mov esi, dword [esp + 0x14]
movss xmm2, dword [esi + 0x1550]
comiss xmm2, dword [0x10062b10]
jbe 0x100210f7
test byte [esp + 0xc], 1
jne 0x100210f7
movss xmm1, dword [esi + 0x151c]
sub esp, 8
movss xmm0, dword [esp + 0x80]
mov ecx, 5
subss xmm0, xmm1
addss xmm1, dword [esp + 0x48]
movss dword [esp + 4], xmm2
movss dword [esp + 0xb8], xmm0
movss xmm0, dword [esp + 0x40]
subss xmm0, dword [0x10062bac]
movss dword [esp + 0x58], xmm1
movss xmm1, dword [0x10062bac]
movss dword [esp + 0xbc], xmm0
movss dword [esp + 0x5c], xmm0
call fcn.10014520
mov ecx, dword [edi + 0x27c]
add esp, 4
push eax
lea eax, [esp + 0xb8]
push eax
lea eax, [esp + 0x5c]
push eax
call fcn.100497b0
cmp dword [esi + 0x1b5c], edi
jne 0x10021220
movss xmm2, dword [edi + 0xc]
movss xmm1, dword [edi + 0x10]
movaps xmm4, xmm2
movss xmm0, dword [esi + 0x1938]
movaps xmm3, xmm1
addss xmm2, dword [edi + 0x14]
addss xmm1, dword [edi + 0x18]
movss xmm6, dword [edi + 0x44]
subss xmm4, xmm0
movss xmm7, dword [esp + 0x8c]
subss xmm3, xmm0
movaps xmm5, xmm6
maxss xmm5, dword [esi + 0x1518]
addss xmm2, xmm0
comiss xmm7, xmm4
addss xmm1, xmm0
movss dword [esp + 0xb0], xmm4
movss dword [esp + 0xb4], xmm3
movss dword [esp + 0xb8], xmm2
movss dword [esp + 0xbc], xmm1
jb 0x100211dc
movss xmm7, dword [esp + 0x80]
comiss xmm7, xmm3
jb 0x100211dc
comiss xmm2, dword [esp + 0x84]
jb 0x100211dc
comiss xmm1, dword [esp + 0x2c]
jb 0x100211dc
xorps xmm0, xmmword [0x10063700]
movaps xmm5, xmm6
subss xmm0, dword [0x10062bac]
subss xmm4, xmm0
subss xmm3, xmm0
addss xmm2, xmm0
addss xmm1, xmm0
movss dword [esp + 0xb0], xmm4
movss dword [esp + 0xb4], xmm3
movss dword [esp + 0xb8], xmm2
movss dword [esp + 0xbc], xmm1
movss xmm1, dword [esi + 0x1b68]
push ecx
mov dword [esp], 0x40400000
mov ecx, 0x32
push 0xffffffffffffffff
sub esp, 8
movss dword [esp + 4], xmm5
call fcn.10014520
mov ecx, dword [edi + 0x27c]
add esp, 4
push eax
lea eax, [esp + 0xc8]
push eax
lea eax, [esp + 0xc4]
push eax
call fcn.100498f0
movss xmm4, dword [edi + 0xc]
xorps xmm2, xmm2
subss xmm4, dword [edi + 0x54]
movss xmm3, dword [edi + 0x3c]
mov ecx, dword [edi + 0x20]
movaps xmm0, xmm3
mov edx, dword [edi + 8]
mov eax, dword [edi + 0x1c]
mov dword [edi + 0x28], ecx
addss xmm0, xmm4
mov ecx, dword [0x100dd8ec]
mov dword [edi + 0x24], eax
movss dword [edi + 0x214], xmm0
test edx, 0x400
je 0x10021288
movss xmm1, dword [ecx + 0x193c]
mulss xmm1, dword [edi + 0x274]
movss xmm0, dword [ecx + 0x1548]
addss xmm0, xmm0
addss xmm1, dword [edi + 0x148]
addss xmm1, xmm0
jmp 0x1002128b
xorps xmm1, xmm1
test dl, 1
je 0x10021295
xorps xmm6, xmm6
jmp 0x100212b5
movss xmm0, dword [ecx + 0x1548]
movss xmm6, dword [ecx + 0x193c]
addss xmm0, xmm0
mulss xmm6, dword [edi + 0x274]
addss xmm6, xmm0
movss xmm5, dword [edi + 0x10]
subss xmm5, dword [edi + 0x58]
movss xmm7, dword [edi + 0x40]
movaps xmm0, xmm7
addss xmm0, xmm5
addss xmm0, xmm6
addss xmm0, xmm1
movss dword [edi + 0x218], xmm0
movss xmm0, dword [edi + 0x34]
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jp 0x100212f3
movss xmm0, dword [edi + 0x14]
subss xmm0, dword [edi + 0x6c]
subss xmm4, xmm3
addss xmm4, xmm0
movss xmm0, dword [edi + 0x38]
ucomiss xmm0, xmm2
movss dword [edi + 0x21c], xmm4
lahf
test ah, 0x44
jp 0x1002131b
movss xmm0, dword [edi + 0x18]
subss xmm0, dword [edi + 0x70]
mov dword [edi + 0x1bc], 0
subss xmm5, xmm7
mov dword [edi + 0x1c0], 0
addss xmm3, xmm2
addss xmm5, xmm0
subss xmm3, dword [edi + 0x54]
movss dword [edi + 0x220], xmm5
movss dword [edi + 0x1b8], xmm3
test edx, 0x400
je 0x10021382
movss xmm4, dword [ecx + 0x193c]
mulss xmm4, dword [edi + 0x274]
movss xmm0, dword [ecx + 0x1548]
addss xmm0, xmm0
addss xmm4, dword [edi + 0x148]
addss xmm4, xmm0
jmp 0x10021385
xorps xmm4, xmm4
test dl, 1
je 0x1002138f
xorps xmm1, xmm1
jmp 0x100213af
movss xmm0, dword [ecx + 0x1548]
movss xmm1, dword [ecx + 0x193c]
addss xmm0, xmm0
mulss xmm1, dword [edi + 0x274]
addss xmm1, xmm0
addss xmm1, xmm4
mov dword [edi + 0xf0], 0
addss xmm3, xmm2
mov dword [edi + 0xe8], 0
mov dword [edi + 0xf4], 0
mov dword [edi + 0xec], 0
addss xmm1, xmm7
addss xmm3, dword [edi + 0xc]
subss xmm1, dword [edi + 0x58]
movss dword [edi + 0xd8], xmm3
movss dword [edi + 0xc8], xmm3
movss dword [edi + 0xd0], xmm3
movss dword [edi + 0xe0], xmm3
addss xmm1, dword [edi + 0x10]
movss dword [edi + 0xdc], xmm1
movss dword [edi + 0xcc], xmm1
movss dword [edi + 0xd4], xmm1
movss dword [edi + 0xe4], xmm1
mov byte [edi + 0x12c], 0
mov eax, dword [ecx + 0x1a20]
movss xmm0, dword [eax + 0x20]
subss xmm0, dword [eax + 0x70]
movss xmm1, dword [eax + 0x30]
subss xmm1, xmm0
xorps xmm0, xmm0
maxss xmm0, xmm1
comiss xmm0, xmm2
seta al
mov byte [edi + 0x12d], al
mov eax, dword [edi + 0x13c]
mov dword [edi + 0x138], eax
lea eax, [edi + 0x14c]
mov dword [edi + 0x13c], 0
mov byte [edi + 0x140], 0
movss xmm0, dword [edi + 0xcc]
subss xmm0, dword [0x10062cd0]
movss dword [edi + 0xf8], xmm0
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x100214c9
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
lea ecx, [edi + 0x14c]
call fcn.10034c60
lea eax, [edi + 0x14c]
mov ecx, dword [esp + 0x20]
mov dword [eax], 0
mov dword [edi + 0x15c], 0
test ecx, ecx
je 0x100214f5
mov eax, dword [ecx + 0x15c]
mov dword [edi + 0x160], eax
mov eax, dword [ecx + 0x164]
jmp 0x10021504
mov dword [edi + 0x160], 0
mov eax, 1
mov dword [edi + 0x164], eax
mov eax, dword [edi + 0x228]
mov dword [edi + 0x168], eax
lea eax, [edi + 0x170]
mov dword [edi + 0x16c], 0xbf800000
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x1002154f
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 + 0x170]
call fcn.10034c60
lea eax, [edi + 0x170]
mov dword [eax], 0
lea eax, [edi + 0x17c]
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x10021584
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 + 0x17c]
call fcn.10034c60
lea eax, [edi + 0x17c]
mov dword [eax], 0
lea eax, [edi + 0x188]
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x100215b9
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 + 0x188]
call fcn.10034c60
lea eax, [edi + 0x188]
mov dword [eax], 0
lea ecx, [edi + 0x194]
mov dword [edi + 0x1c4], 0
lea eax, [edi + 0x25c]
mov dword [edi + 0xfc], 0
mov dword [edi + 0x100], 0
push 0
mov dword [edi + 0x158], eax
call fcn.10034a60
cmp byte [esp + 0xb], 0
lea ecx, [edi + 0x24c]
movss xmm0, dword [esi + 0x1554]
mov dword [edi + 0x22c], 3
mov dword [edi + 0x238], 0
mov dword [edi + 0x234], 0
movss dword [edi + 0x230], xmm0
je 0x10021637
xorps xmm0, xmm0
movups xmmword [ecx], xmm0
xor edx, edx
cmp dword [edi + 0x22c], edx
jle 0x100216a3
xorps xmm1, xmm1
test edx, edx
jle 0x10021669
movss xmm0, dword [ecx]
comiss xmm0, xmm1
jbe 0x10021669
movss xmm0, dword [edi + 0x230]
addss xmm0, dword [edi + 0x234]
movss dword [edi + 0x234], xmm0
cvttss2si eax, dword [edi + 0x234]
inc edx
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ecx - 0x10], xmm0
movss xmm0, dword [ecx]
addss xmm0, dword [edi + 0x234]
movss dword [edi + 0x234], xmm0
mov dword [ecx], 0
add ecx, 4
cmp edx, dword [edi + 0x22c]
jl 0x10021644
test dword [esp + 0xc], 0x1000000
je 0x10021715
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 0x164]
cmp dword [edi + 0x164], eax
je 0x10021715
lea ecx, [edi + 0x170]
mov dword [edi + 0x164], eax
mov eax, dword [ecx + 4]
mov edx, dword [ecx]
cmp edx, eax
jne 0x10021701
inc edx
mov dword [esp + 0x60], edx
test eax, eax
je 0x100216eb
cdq
sub eax, edx
mov edx, dword [esp + 0x60]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x100216f0
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.10034c60
lea ecx, [edi + 0x170]
mov edx, dword [ecx]
mov ecx, dword [ecx + 8]
mov eax, dword [edi + 0x164]
mov dword [ecx + edx*4], eax
inc dword [edi + 0x170]
mov eax, dword [edi + 0x90]
test eax, eax
jle 0x10021726
dec eax
mov dword [edi + 0x90], eax
mov eax, dword [edi + 0x94]
test eax, eax
jle 0x10021737
dec eax
mov dword [edi + 0x94], eax
cmp byte [esp + 8], 0
je 0x1002174e
mov ecx, edi
call fcn.10022710
xor dl, dl
mov ecx, edi
call fcn.10016a60
mov ecx, dword [esp + 0xc]
movaps xmm7, xmmword [esp + 0x90]
movaps xmmword [esp + 0x50], xmm7
test cl, 1
jne 0x10021b7a
mov eax, dword [edi + 0x164]
mov dword [esp + 0x48], eax
or eax, 0x10
mov dword [edi + 0x164], eax
inc dword [edi + 0x130]
shl dword [edi + 0x134], 1
test cl, 0x20
jne 0x100219b5
movss xmm3, dword [edi + 0xc]
xor ecx, ecx
movss xmm4, dword [edi + 0x10]
addss xmm3, dword [esi + 0x1544]
addss xmm4, dword [esi + 0x1548]
mov dword [esp + 0xb0], 0x5c404d2e
mov dword [esp + 0xb4], 0x4743535d
mov word [esp + 0xb8], 0x50
mov byte [esp + 0xba], 1
mov al, cl
add al, 0xd
xor byte [esp + ecx + 0xb0], al
inc ecx
cmp ecx, 9
jb 0x100217d4
mov ecx, dword [edi + 0x1c8]
xor edx, edx
mov eax, dword [edi + 0x1d0]
mov byte [esp + 0xba], 0
push dword [eax + ecx*4 - 4]
lea ecx, [esp + 0xb4]
call fcn.10013fa0
mov ecx, dword [0x100dd8ec]
mov edx, eax
add esp, 4
mov dword [esp + 0x18], edx
cmp dword [ecx + 0x1a3c], edx
jne 0x10021829
mov byte [ecx + 0x1a48], 1
cmp dword [ecx + 0x1a40], edx
jne 0x10021838
mov byte [ecx + 0x1a4c], 1
movss xmm0, dword [ecx + 0x1938]
movaps xmm2, xmm3
mov eax, dword [ecx + 0x1a20]
addss xmm2, xmm0
movaps xmm1, xmm4
mov dword [esp + 0x2c], eax
addss xmm1, xmm0
movss dword [esp + 0xb0], xmm3
push 0
lea ecx, [esp + 0xb4]
movss dword [esp + 0xb8], xmm4
movss dword [esp + 0xbc], xmm2
movss dword [esp + 0xc0], xmm1
call fcn.10016420
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0xb4]
add esp, 4
push 0
push 0
push 0
call fcn.10023b20
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0xbc]
add esp, 0xc
mov byte [esp + 8], al
push 1
call fcn.1001c4b0
mov eax, dword [esp + 0x30]
xor ecx, ecx
movss xmm1, dword [0x10062bac]
add esp, 4
cmp byte [eax + 0x79], cl
push dword [esp + 0xb4]
sete cl
push dword [esp + 0xb4]
lea ecx, [ecx*2 + 1]
call fcn.1001c320
mov ecx, dword [0x100dd8ec]
add esp, 8
mov dword [esp + 0x60], ecx
mov edx, dword [ecx + 0x1a3c]
test edx, edx
je 0x100219aa
mov eax, dword [ecx + 0x1a20]
cmp edx, dword [eax + 0x104]
jne 0x100219aa
cmp byte [ecx + 0xe0], 0
je 0x100219aa
movss xmm1, dword [ecx + 0x30]
movss xmm0, dword [ecx + 0x44c]
mulss xmm1, xmm1
comiss xmm0, xmm1
setae al
test al, al
je 0x100219aa
mov ecx, dword [esp + 0x2c]
call fcn.10022710
mov edx, dword [esp + 0x2c]
mov ecx, dword [edx + 0x4c]
call fcn.100159b0
mov ecx, dword [esp + 0x60]
mov byte [ecx + 0x1b7a], 1
mov eax, dword [edx + 0x328]
movss xmm1, dword [ecx + 0xd8]
movss xmm0, dword [ecx + 0xdc]
subss xmm1, dword [eax + 0xc]
subss xmm0, dword [eax + 0x10]
movss dword [ecx + 0x1a54], xmm1
movss dword [ecx + 0x1a58], xmm0
test byte [edx + 8], 4
jne 0x100219aa
mov eax, dword [edx + 0x328]
test byte [eax + 8], 4
jne 0x100219aa
mov dword [ecx + 0x1a70], edx
cmp byte [esp + 8], 0
je 0x100219b5
mov byte [edi + 0x7a], 1
dec dword [edi + 0x130]
mov eax, dword [edi + 0x134]
mov ecx, dword [esp + 0x74]
sar eax, 1
mov dword [edi + 0x134], eax
mov eax, dword [esp + 0x48]
mov dword [edi + 0x164], eax
cmp ecx, 0xffffffff
jae 0x100219f6
nop dword [eax]
mov dl, byte [ecx]
test dl, dl
je 0x100219f6
cmp dl, 0x23
jne 0x100219f0
cmp byte [ecx + 1], dl
je 0x100219f6
inc ecx
cmp ecx, 0xffffffff
jb 0x100219e0
mov edx, dword [0x100dd8ec]
mov eax, dword [edx + 0x1934]
movss xmm0, dword [edx + 0x1938]
mov edx, dword [esp + 0x74]
mov dword [esp + 0x48], eax
movss dword [esp + 0x60], xmm0
cmp edx, ecx
jne 0x10021a29
mov dword [esp + 0x60], 0
xorps xmm1, xmm1
jmp 0x10021a97
movss xmm3, dword [0x10062ce8]
movaps xmm2, xmm0
push ecx
push ecx
push edx
push ecx
lea ecx, [esp + 0xc0]
mov dword [esp], 0xbf800000
push ecx
mov ecx, eax
call fcn.1004c320
movss xmm0, dword [esp + 0xb0]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x10021a71
mov eax, dword [esp + 0x48]
movss xmm2, dword [esp + 0x60]
divss xmm2, dword [eax]
subss xmm0, xmm2
addss xmm0, dword [0x10062ba8]
mov edx, dword [esp + 0x74]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x60], xmm0
movss xmm0, dword [esp + 0xb4]
test byte [esp + 0xc], 0x20
movss dword [esp + 0x64], xmm0
movaps xmm0, xmmword [esp + 0x50]
movaps xmmword [esp + 0xb0], xmm0
je 0x10021abe
movss xmm0, dword [esi + 0x1544]
movaps xmm3, xmm0
jmp 0x10021ad9
movss xmm3, dword [esi + 0x1544]
movaps xmm0, xmm3
addss xmm0, dword [esi + 0x1938]
addss xmm0, dword [esi + 0x155c]
movss xmm4, dword [esi + 0x1528]
lea eax, [esi + 0x1528]
comiss xmm4, xmm1
movaps xmm2, xmm3
jbe 0x10021afe
movaps xmm2, xmm0
subss xmm2, xmm3
mulss xmm2, xmm4
addss xmm2, xmm3
addss xmm0, dword [esp + 0x40]
lea ecx, [esp + 0xc0]
push ecx
push eax
lea eax, [esp + 0x68]
movss dword [esp + 0xb8], xmm0
lea ecx, [esp + 0xb8]
movss xmm0, dword [esp + 0xc0]
subss xmm0, xmm2
push eax
push 0
push edx
lea edx, [esp + 0xcc]
movss dword [esp + 0xcc], xmm0
movaps xmm0, xmmword [esp + 0xc4]
movaps xmmword [esp + 0xd4], xmm0
movss xmm0, dword [edi + 0x14]
addss xmm0, dword [edi + 0xc]
subss xmm0, xmm3
movss dword [esp + 0xdc], xmm0
call fcn.1001bd40
movaps xmm7, xmmword [esp + 0x64]
add esp, 0x14
mov ecx, dword [esp + 0xc]
movss xmm2, dword [edi + 0xc]
and ecx, 0x401
movss xmm3, dword [edi + 0x10]
movss dword [edi + 0x1e4], xmm2
movaps xmm0, xmm3
movss dword [edi + 0x1e8], xmm3
addss xmm2, dword [edi + 0x14]
movss dword [edi + 0x1ec], xmm2
addss xmm0, dword [edi + 0x18]
movss dword [edi + 0x1f0], xmm0
movss xmm0, dword [edi + 0x1e4]
maxss xmm0, dword [edi + 0x1d4]
maxss xmm3, dword [edi + 0x1d8]
movss dword [edi + 0x1e4], xmm0
movss dword [edi + 0x1e8], xmm3
movss xmm1, dword [edi + 0x1ec]
movss xmm0, dword [edi + 0x1f0]
minss xmm1, dword [edi + 0x1dc]
minss xmm0, dword [edi + 0x1e0]
movss dword [edi + 0x1ec], xmm1
movss dword [edi + 0x1f0], xmm0
movss xmm5, dword [edi + 0x48]
movaps xmm6, xmm5
addss xmm6, dword [esp + 0x40]
movss dword [edi + 0x1f4], xmm6
cmp ecx, 1
jne 0x10021c2f
movaps xmm1, xmm5
jmp 0x10021c37
movss xmm1, dword [esi + 0x1550]
test dword [edi + 8], 0x400
mov edx, dword [0x100dd8ec]
je 0x10021c70
movss xmm4, dword [edx + 0x193c]
mulss xmm4, dword [edi + 0x274]
movss xmm0, dword [edx + 0x1548]
addss xmm0, xmm0
addss xmm4, dword [edi + 0x148]
addss xmm4, xmm0
jmp 0x10021c73
xorps xmm4, xmm4
addss xmm4, dword [esp + 0x38]
addss xmm4, xmm1
xorps xmm1, xmm1
movss dword [edi + 0x1f8], xmm4
movss xmm3, dword [edi + 0x14]
addss xmm3, dword [edi + 0xc]
subss xmm3, dword [edi + 0x6c]
subss xmm3, xmm5
movss dword [edi + 0x1fc], xmm3
movss xmm2, dword [edi + 0x10]
addss xmm2, dword [edi + 0x18]
subss xmm2, dword [edi + 0x70]
subss xmm2, xmm5
movss dword [edi + 0x200], xmm2
movss xmm0, dword [edi + 0x3c]
mulss xmm0, dword [0x10062b80]
subss xmm0, xmm5
movss xmm5, dword [0x10062b80]
addss xmm6, xmm5
addss xmm4, xmm5
addss xmm3, xmm5
addss xmm2, xmm5
movss xmm5, dword [esp + 0x94]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
maxss xmm1, xmm0
addss xmm6, xmm1
subss xmm3, xmm1
cvttss2si eax, xmm6
movd xmm0, eax
cvtdq2ps xmm0, xmm0
cvttss2si eax, xmm4
movss dword [edi + 0x204], xmm0
movss xmm4, dword [esp + 0x40]
movd xmm0, eax
cvttss2si eax, xmm3
cvtdq2ps xmm0, xmm0
movss xmm3, dword [esp + 0x78]
movss dword [edi + 0x208], xmm0
movd xmm0, eax
cvttss2si eax, xmm2
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x20c], xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x210], xmm0
mov eax, dword [edi + 0x4c]
mov dword [edi + 0x104], eax
movss xmm1, dword [edx + 0x156c]
movss xmm0, dword [edx + 0x1570]
subss xmm4, xmm1
addss xmm3, xmm1
movaps xmm2, xmm0
movss xmm1, dword [edx + 0xd8]
subss xmm5, xmm0
addss xmm2, dword [esp + 0x38]
comiss xmm1, xmm4
jb 0x10021db8
movss xmm0, dword [edx + 0xdc]
comiss xmm0, xmm5
jb 0x10021db8
comiss xmm3, xmm1
jbe 0x10021db8
comiss xmm2, xmm0
jbe 0x10021db8
mov eax, 1
jmp 0x10021dba
xor eax, eax
mov dword [edi + 0x108], eax
movups xmmword [edi + 0x10c], xmm7
mov eax, dword [edx + 0x1a20]
push 1
mov byte [eax + 0x78], 1
push dword [edi + 0x210]
mov esi, dword [edx + 0x1a20]
push dword [edi + 0x20c]
push dword [edi + 0x208]
mov ecx, dword [esi + 0x27c]
push dword [edi + 0x204]
call fcn.10047d00
mov eax, dword [esi + 0x27c]
mov ecx, dword [eax + 0x3c]
mov eax, dword [eax + 0x44]
add ecx, ecx
movss xmm0, dword [eax + ecx*8 - 0xc]
movss xmm1, dword [eax + ecx*8 - 8]
movss xmm2, dword [eax + ecx*8 - 4]
mov eax, dword [eax + ecx*8 - 0x10]
mov dword [esi + 0x1d4], eax
mov eax, dword [esp + 0x70]
movss dword [esi + 0x1d8], xmm0
movss dword [esi + 0x1dc], xmm1
movss dword [esi + 0x1e0], xmm2
cmp eax, dword [esp + 0x44]
je 0x10021e4c
mov byte [edi + 0x78], 0
mov eax, dword [esp + 0x14]
inc dword [edi + 0x88]
mov ecx, dword [esp + 0xc]
mov dword [eax + 0x1ac8], 0
mov dword [eax + 0x1ac4], 0
mov dword [eax + 0x1ac0], 0
mov dword [eax + 0x1abc], 0
mov dword [eax + 0x1ab8], 0
mov dword [eax + 0x1ab4], 0
mov dword [eax + 0x1ab0], 0
test ecx, 0x1000000
je 0x10021f09
test cl, 0x40
jne 0x10021eeb
cmp dword [edi + 0x90], 0
jg 0x10021eeb
cmp dword [edi + 0x94], 0
jg 0x10021eeb
movss xmm0, dword [edi + 0x1e4]
comiss xmm0, dword [edi + 0x1ec]
jae 0x10021ee1
movss xmm0, dword [edi + 0x1e8]
comiss xmm0, dword [edi + 0x1f0]
jb 0x10021eeb
mov dword [edi + 0xa4], 1
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x10021f09
cmp byte [ecx + 0x79], 0
jne 0x10021eff
cmp byte [ecx + 0x7d], 0
je 0x10021f09
mov dword [edi + 0xa4], 1
xorps xmm0, xmm0
comiss xmm0, dword [eax + 0x1508]
jb 0x10021f1f
mov dword [edi + 0xa4], 1
cmp dword [edi + 0xa4], 0
jg 0x10021f35
cmp dword [edi + 0xa8], 0
jne 0x10021f35
xor al, al
jmp 0x10021f37
mov al, 1
mov byte [edi + 0x7d], al
cmp byte [edi + 0x79], 0
jne 0x10021f4a
cmp byte [edi + 0x76], 0
je 0x10021f4a
test al, al
je 0x10021f69
cmp dword [edi + 0x90], 0
jg 0x10021f69
cmp dword [edi + 0x94], 0
jg 0x10021f69
cmp dword [edi + 0xa8], 0
jg 0x10021f69
mov al, 1
jmp 0x10021f6b
xor al, al
mov ecx, dword [esp + 0xdc]
mov byte [edi + 0x7b], al
xor al, 1
pop edi
pop esi
xor ecx, esp
call fcn.1004d226
mov esp, ebp
pop ebp
ret