Function at 0x1001f790
Capabilities:
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 [0x10068040]
xor eax, esp
mov dword [esp + 0xd4], eax
mov eax, dword [ebp + 8]
mov dword [esp + 4], eax
mov eax, dword [0x100de918]
push esi
mov esi, eax
mov dword [esp + 0x70], ecx
push edi
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], esi
call fcn.1001e700
mov dword [esp + 0x30], eax
mov edi, eax
mov dword [esp + 0x3c], edi
test eax, eax
jne 0x1001f852
mov edx, dword [esi + 0x1ab4]
test edx, edx
je 0x1001f7f9
mov eax, dword [esi + 0x1adc]
mov ecx, dword [esi + 0x1ae0]
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], ecx
jmp 0x1001f809
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.1001e770
mov edi, eax
add esp, 8
mov eax, dword [0x100de918]
mov dword [esp + 0x3c], edi
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0xc]
test ecx, 0x200
je 0x1001f865
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 0x1001f882
mov dword [edi + 8], ecx
jmp 0x1001f889
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 0x1001f8a0
xor eax, eax
jmp 0x1001f8b0
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 0x1001f8d6
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 0x1001f8e0
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 0x1001f945
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 0x1001f949
mov al, byte [esp + 0xb]
test al, al
jne 0x1001f959
cmp dword [esp + 0x40], 0
jg 0x1001f959
mov byte [edi + 0x7c], al
jmp 0x1001f972
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 0x1001f9b3
test ecx, ecx
je 0x1001f98e
mov eax, ecx
cdq
sub eax, edx
lea edx, [esi + 0x1a04]
sar eax, 1
add eax, ecx
jmp 0x1001f993
mov eax, 8
mov ecx, dword [edx]
inc ecx
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edx
call fcn.10035490
mov edx, dword [0x100de918]
mov edi, dword [esp + 0x3c]
mov dword [esp + 0x10], edx
jmp 0x1001f9b7
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 0x1001fadb
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 0x1001fa98
inc edx
mov dword [esp + 0x18], edx
test eax, eax
je 0x1001fa79
cdq
sub eax, edx
mov edx, dword [esp + 0x18]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x1001fa7e
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.10035a30
mov eax, dword [0x100de918]
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 0x1001faf6
test dword [esp + 0xc], 0x1000000
jne 0x1001faf6
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 0x1001fb97
mov edx, dword [edi + 0xac]
test ecx, edx
mov eax, edx
setne byte [esp + 9]
test ecx, eax
je 0x1001fb86
movss xmm1, dword [esi + 0x1ad8]
movss xmm0, dword [esi + 0x1ad4]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
comiss xmm0, dword [0x10063b84]
jbe 0x1001fb86
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 0x1001fb97
push ecx
lea edx, [esi + 0x1acc]
mov ecx, edi
call fcn.10023780
add esp, 4
mov ecx, dword [esi + 0x1ab4]
test ecx, ecx
je 0x1001fbf4
mov eax, dword [edi + 0xb0]
xorps xmm1, xmm1
and eax, ecx
je 0x1001fbc2
movss xmm0, dword [esi + 0x1adc]
comiss xmm0, xmm1
jbe 0x1001fbc2
mov byte [esp + 8], 1
jmp 0x1001fbcc
xor dl, dl
mov byte [esp + 8], dl
test eax, eax
je 0x1001fbde
movss xmm0, dword [esi + 0x1ae0]
comiss xmm0, xmm1
mov byte [esp + 0xa], 1
ja 0x1001fbe3
mov byte [esp + 0xa], 0
push ecx
lea edx, [esi + 0x1adc]
mov ecx, edi
call fcn.10023840
add esp, 4
cmp dword [esi + 0x1ab8], 0
je 0x1001fcaa
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 0x1001fcc2
mov ecx, dword [edi + 8]
mov eax, dword [esp + 0x10]
test cl, 1
je 0x1001fc39
xorps xmm2, xmm2
jmp 0x1001fc59
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 0x1001fc98
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 0x1001fcc2
xorps xmm1, xmm1
addss xmm1, xmm2
addss xmm1, xmm3
movss dword [edi + 0x38], xmm1
jmp 0x1001fcc2
mov eax, dword [esp + 0x70]
cmp eax, dword [esp + 0x44]
je 0x1001fcc2
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov ecx, dword [esi + 0x1abc]
test ecx, ecx
je 0x1001fce8
mov eax, dword [edi + 0xb4]
mov dl, byte [esi + 0x1aec]
test ecx, eax
je 0x1001fce8
and eax, 0xfffffff1
mov byte [edi + 0x79], dl
mov dword [edi + 0xb4], eax
cmp dword [esi + 0x1ac4], 0
je 0x1001fd00
mov ecx, edi
call fcn.10022e60
mov edx, dword [0x100de918]
jmp 0x1001fd04
mov edx, dword [esp + 0x10]
cmp byte [edi + 0x7c], 0
je 0x1001fd1f
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 0x10022517
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 0x1001fd97
cmp eax, 0x1000000
jne 0x1001fd77
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 0x328]
mov dword [edi + 0x328], eax
test ecx, 0x8000000
jne 0x1001fd97
test ecx, 0x5000000
je 0x1001fd97
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 0x32c]
mov dword [edi + 0x32c], eax
test dword [edi + 8], 0x800000
je 0x1001fdb9
mov ecx, edi
mov eax, dword [ecx + 0x324]
mov ecx, eax
mov dword [edi + 0x330], eax
test dword [ecx + 8], 0x800000
jne 0x1001fda2
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 0x1001fe5c
test eax, eax
je 0x1001fe39
cdq
sub eax, edx
lea edx, [edi + 0x1c8]
mov ecx, eax
sar ecx, 1
add ecx, dword [edx + 4]
jmp 0x1001fe44
mov ecx, 8
lea edx, [edi + 0x1c8]
mov eax, 1
cmp ecx, eax
cmovg eax, ecx
mov ecx, edx
push eax
call fcn.10035490
mov edx, dword [0x100de918]
mov dword [edi + 0x1c8], 1
xorps xmm1, xmm1
movss xmm0, dword [edi + 0x34]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x1001fe89
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 0x1001feb4
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 0x1001fee4
dec eax
mov dword [edi + 0xa4], eax
mov eax, dword [edi + 0xa8]
test eax, eax
jle 0x1001fef5
dec eax
mov dword [edi + 0xa8], eax
cmp dword [esp + 0x30], 0
mov cl, byte [esp + 8]
mov ch, byte [esp + 0xa]
jne 0x1001ff16
test cl, cl
je 0x1001ff0c
test ch, ch
jne 0x1001ff16
mov dword [edi + 0xa8], 1
cmp byte [esp + 0xb], 0
mov eax, dword [esp + 0xc]
je 0x1001ff68
test eax, 0x6000000
je 0x1001ff68
mov dword [edi + 0xa8], 1
test al, 0x40
je 0x1001ff68
test cl, cl
jne 0x1001ff48
mov dword [edi + 0x1c], 0
mov dword [edi + 0x14], 0
test ch, ch
jne 0x1001ff5a
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 0x1001ff9f
movss xmm0, dword [esi + 0x1538]
jmp 0x1001ffbf
test eax, 0x6000000
je 0x1001ffb7
test eax, 0x8000000
jne 0x1001ffb7
movss xmm0, dword [esi + 0x1540]
jmp 0x1001ffbf
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 0x10020012
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x10020012
test ecx, 0x400
je 0x10020003
movss xmm0, dword [esi + 0x1514]
jmp 0x10020006
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 0x10020165
test byte [edi + 8], 1
je 0x1002004f
xorps xmm2, xmm2
jmp 0x1002006f
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 0x10020131
cmp dword [esi + 0x1a2c], 0
jne 0x10020131
cmp dword [esi + 0x1a34], 0
jne 0x10020131
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 0x1002012e
movss xmm0, dword [edx + 0xdc]
comiss xmm0, xmm4
jb 0x1002012e
comiss xmm5, xmm1
jbe 0x1002012e
comiss xmm6, xmm0
jbe 0x1002012e
cmp byte [esi + 0x3ed], 0
xorps xmm1, xmm1
je 0x10020131
mov byte [edi + 0x7a], 1
jmp 0x10020131
xorps xmm1, xmm1
cmp byte [edi + 0x7a], 0
je 0x10020169
cmp byte [edi + 0x79], 0
sete al
test dword [edi + 8], 0x100
mov byte [edi + 0x79], al
jne 0x1002015c
comiss xmm1, dword [edx + 0x2c8c]
jb 0x1002015c
mov eax, dword [edx + 0x1c]
mov dword [edx + 0x2c8c], eax
mov ecx, edi
call fcn.10022e60
jmp 0x10020169
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.1001ecc0
movss xmm0, dword [0x10063d48]
add esp, 4
test byte [esp + 0xc], 0x40
movss dword [esp + 0x28], xmm0
movss dword [esp + 0x34], xmm0
je 0x100201d9
cmp byte [edi + 0x79], 0
jne 0x100201d9
cmp byte [esp + 8], 0
jne 0x100201b8
movss xmm0, dword [esp + 0x48]
movss dword [esp + 0x28], xmm0
movss dword [edi + 0x1c], xmm0
cmp byte [esp + 0xa], 0
jne 0x10020283
movss xmm0, dword [esp + 0x4c]
movss dword [esp + 0x34], xmm0
movss dword [edi + 0x20], xmm0
jmp 0x10020283
mov eax, dword [edi + 0x90]
test eax, eax
jg 0x100201f0
cmp dword [edi + 0x94], 0
jle 0x10020283
cmp byte [esp + 8], 0
jne 0x10020222
test eax, eax
jle 0x10020222
cmp byte [edi + 0x98], 0
je 0x10020211
movss xmm0, dword [edi + 0x1c]
maxss xmm0, dword [esp + 0x48]
jmp 0x10020217
movss xmm0, dword [esp + 0x48]
movss dword [esp + 0x28], xmm0
movss dword [edi + 0x1c], xmm0
cmp byte [esp + 0xa], 0
jne 0x10020259
cmp dword [edi + 0x94], 0
jle 0x10020259
cmp byte [edi + 0x98], 0
je 0x10020248
movss xmm0, dword [edi + 0x20]
maxss xmm0, dword [esp + 0x4c]
jmp 0x1002024e
movss xmm0, dword [esp + 0x4c]
movss dword [esp + 0x34], xmm0
movss dword [edi + 0x20], xmm0
cmp byte [edi + 0x79], 0
jne 0x10020283
test dword [edi + 8], 0x100
mov ecx, dword [0x100de918]
jne 0x10020283
xorps xmm0, xmm0
comiss xmm0, dword [ecx + 0x2c8c]
jb 0x10020283
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.1001eaf0
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 0x1002031a
test edx, 0x1000000
jne 0x1002031a
test byte [edi + 8], 1
je 0x100202cf
xorps xmm2, xmm2
jmp 0x100202f4
mov eax, dword [0x100de918]
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 0x10020328
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 0x10020423
movss xmm0, dword [esp + 0x28]
movss xmm1, dword [0x10063d48]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x1002035e
movss xmm3, dword [edi + 0x24]
movss xmm0, dword [esp + 0x34]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x10020374
movss xmm2, dword [edi + 0x20]
jmp 0x10020379
movss xmm2, dword [edi + 0x28]
test edx, 0x4000
jne 0x10020394
movss xmm0, dword [edi + 0x30]
comiss xmm0, xmm2
jbe 0x10020390
test dl, 8
je 0x10020394
xor cl, cl
jmp 0x10020396
mov cl, 1
mov byte [edi + 0x75], cl
test edx, 0x8000
jne 0x100203da
xorps xmm1, xmm1
test cl, cl
je 0x100203b2
movss xmm0, dword [esi + 0x157c]
jmp 0x100203b5
xorps xmm0, xmm0
subss xmm3, xmm0
movss xmm0, dword [edi + 0x2c]
comiss xmm0, xmm3
jbe 0x100203d1
mov eax, edx
and eax, 0x808
cmp eax, 0x800
je 0x100203da
mov byte [edi + 0x74], 0
xorps xmm0, xmm0
jmp 0x1002040d
mov byte [edi + 0x74], 1
test cl, cl
jne 0x10020402
subss xmm2, dword [esi + 0x157c]
movss xmm0, dword [edi + 0x30]
comiss xmm0, xmm2
jbe 0x100203fd
test dl, 8
jne 0x100203fd
mov cl, 1
jmp 0x100203ff
xor cl, cl
mov byte [edi + 0x75], cl
movss xmm0, dword [esi + 0x157c]
xorps xmm1, xmm1
test cl, cl
je 0x10020419
movss xmm1, dword [esi + 0x157c]
movss dword [edi + 0x6c], xmm1
movss dword [edi + 0x70], xmm0
cmp byte [esp + 0xb], 0
je 0x10020468
mov dword [edi + 0xa0], 0xffffffff
test edx, 0x4000000
je 0x10020468
cmp byte [esp + 9], 0
jne 0x10020468
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 0x1002050d
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 0x100204c2
mov edx, dword [ecx]
inc edx
mov dword [esp + 0x18], edx
test eax, eax
je 0x100204aa
cdq
sub eax, edx
mov edx, dword [esp + 0x18]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x100204af
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.10035490
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 0x10020515
test al, al
jne 0x10020515
cmp ecx, 0x3000000
je 0x10020515
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 [0x10063d48]
ucomiss xmm0, xmm7
movss dword [esp + 0x18], xmm0
lahf
test ah, 0x44
jnp 0x10020640
cmp dword [edi + 0xa8], 0
jne 0x10020640
movss xmm4, dword [edi + 0xc4]
movss xmm0, dword [esi + 0x15cc]
movss xmm2, dword [edi + 0xc0]
movss xmm5, dword [edi + 0x20]
movss xmm6, 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], xmm4
mulss xmm5, dword [esp + 0x1c]
subss xmm1, xmm2
movss xmm4, dword [edi + 0x10]
movss xmm7, dword [edi + 0xc]
subss xmm6, xmm5
movss dword [esp + 0x30], xmm4
maxss xmm0, xmm1
maxss xmm3, xmm6
cvttss2si eax, xmm0
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, xmm4
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, xmm4
subss xmm0, xmm7
addss xmm1, dword [edi + 0xe4]
addss xmm0, dword [edi + 0xe0]
movss dword [edi + 0xe4], xmm1
movss dword [edi + 0xe0], xmm0
jmp 0x10020691
test edx, 0x10000000
jne 0x1002066f
test edx, 0x4000000
je 0x1002065b
test al, al
jne 0x1002065b
cmp dword [esp + 0x40], 0
jg 0x1002066f
test edx, 0x2000000
je 0x10020699
test al, al
jne 0x10020699
cmp ecx, 0x3000000
je 0x10020699
mov edx, edi
lea ecx, [esp + 0x50]
call fcn.1001e3f0
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 [0x10063d48]
test edx, 0x1000000
jne 0x10020759
cmp byte [esp + 9], 0
jne 0x10020759
cmp dword [edi + 0x90], 0
jg 0x10020759
cmp dword [edi + 0x94], 0
xorps xmm2, xmm2
jg 0x1002075c
movss xmm0, dword [esi + 0x10]
comiss xmm0, xmm2
jbe 0x1002075c
movss xmm0, dword [esi + 0x14]
comiss xmm0, xmm2
jbe 0x1002075c
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 0x10020790
movss xmm6, dword [esi + 0x1534]
jmp 0x100207b0
mov eax, edx
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x100207a8
movss xmm6, dword [esi + 0x153c]
jmp 0x100207b0
movss xmm6, dword [esi + 0x1518]
mov eax, dword [edi + 0x370]
movss dword [edi + 0x44], xmm6
cmp eax, 0x7fffffff
je 0x100207d6
mov ecx, dword [edi + 0x360]
cmp ecx, 0xffffffff
je 0x100207d6
inc eax
add eax, ecx
inc ecx
cdq
idiv ecx
jmp 0x100207db
mov edx, 0x7fffffff
mov eax, dword [edi + 0x374]
mov dword [edi + 0x368], edx
cmp eax, 0x7fffffff
je 0x10020802
mov ecx, dword [edi + 0x364]
cmp ecx, 0xffffffff
je 0x10020802
inc eax
add eax, ecx
inc ecx
cdq
idiv ecx
jmp 0x10020807
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 0x1002085f
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 [0x10063c04]
jbe 0x10020945
movss xmm7, dword [edi + 0x68]
movaps xmm3, xmm0
comiss xmm2, xmm7
jb 0x1002088f
movss xmm0, dword [edi + 0x40]
comiss xmm0, xmm3
jb 0x1002088f
xorps xmm3, xmm3
comiss xmm7, xmm5
mov eax, dword [0x100de918]
jb 0x100208b6
movss xmm1, dword [edi + 0x30]
movaps xmm0, xmm1
subss xmm0, dword [edi + 0x40]
addss xmm0, dword [eax + 0x1558]
comiss xmm3, xmm0
jb 0x100208b6
movaps xmm3, xmm1
mov ecx, dword [edi + 8]
test cl, 1
je 0x100208c3
xorps xmm5, xmm5
jmp 0x100208e3
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 0x10020915
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 0x10020918
xorps xmm1, xmm1
addss xmm1, xmm5
movss xmm5, dword [0x10063c04]
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 0x1002099d
cmp byte [edi + 0x7b], 0
jne 0x1002099d
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 0x1002097b
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 0x1002099d
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 0x100209df
mov eax, dword [esp + 0xc]
test eax, 0x1000
jne 0x100209df
test eax, 0x3000000
je 0x100209da
test eax, 0x4000000
je 0x100209df
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 [0x10063bc0]
mov dword [esp + 0x18], eax
mulss xmm0, dword [0x10063c08]
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 0x10020a5d
lea ecx, [esp + 0xc0]
push ecx
push eax
lea eax, [esp + 0x40]
mov ecx, edi
push eax
lea edx, [esp + 0x54]
call fcn.1001ee10
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 0x10020a7b
test dword [esp + 0xc], 0x2000040
jne 0x10020a7b
mulss xmm0, dword [0x10063be4]
jmp 0x10020a8f
mov eax, dword [esp + 0x14]
movss xmm0, dword [eax + 0x1938]
mulss xmm0, dword [0x10063cac]
cvttss2si eax, xmm0
mov ecx, edi
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ecx + 0x228], xmm0
mov ecx, dword [edi + 0x27c]
call fcn.10048130
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 0x10020b20
inc ecx
test eax, eax
je 0x10020b0e
cdq
sub eax, edx
sar eax, 1
add eax, dword [edi + 4]
jmp 0x10020b13
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edi
call fcn.10035490
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.10048560
mov edi, dword [0x100de918]
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 0x10020bae
movss xmm0, dword [edi + 0xb0]
ucomiss xmm0, dword [edi + 0xb8]
lahf
test ah, 0x44
jnp 0x10020bae
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 0x10020bf4
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 0x10020c7d
cmp dword [esp + 0x10], 0x3000000
je 0x10020c7d
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.10048630
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 0x10020cdb
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.10048630
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 0x10020d1d
call fcn.1001d5f0
mov edi, dword [esp + 0x3c]
cmp edi, eax
jne 0x10020d21
cmp dword [edi + 0xa8], 0
jg 0x10020d21
mov cl, 1
jmp 0x10020d23
mov edi, dword [esp + 0x3c]
xor cl, cl
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0x1b5c]
test eax, eax
je 0x10020d3d
cmp edi, dword [eax + 0x328]
jne 0x10020d3d
mov al, 1
jmp 0x10020d3f
xor al, al
mov byte [esp + 9], al
test cl, cl
jne 0x10020d4f
test al, al
je 0x10020e70
movss xmm1, dword [edx + 0x1c54]
push 0xf
push ecx
movzx ecx, cl
add ecx, 0x33
mov dword [esp], 0
call fcn.10014c90
mov ecx, dword [edi + 0x27c]
push eax
lea eax, [esp + 0xc4]
push eax
lea eax, [esp + 0xc0]
push eax
call fcn.1004a260
cmp byte [esp + 9], 0
mov edx, dword [esp + 0x14]
je 0x10020e70
cmp edi, dword [edx + 0x1b5c]
jne 0x10020e70
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 0x10020e26
movss xmm0, dword [esp + 0x80]
comiss xmm0, xmm4
jb 0x10020e26
comiss xmm2, dword [esp + 0x84]
jb 0x10020e26
comiss xmm3, dword [esp + 0x2c]
jae 0x10020e70
movss xmm1, dword [edx + 0x1b68]
mulss xmm1, dword [0x10063bc4]
push 0xf
movss xmm0, dword [edx + 0x1518]
push ecx
mov ecx, 0x32
movss dword [esp], xmm0
call fcn.10014c90
mov ecx, dword [edi + 0x27c]
push eax
lea eax, [esp + 0xa4]
push eax
lea eax, [esp + 0xa0]
push eax
call fcn.1004a260
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 0x10020e96
mov ecx, dword [edx + 0x1b1c]
cmp byte [esp + 8], 0
jne 0x10020eb3
test ecx, ecx
je 0x10020eaf
mov eax, dword [edi + 0x32c]
cmp eax, dword [ecx + 0x32c]
je 0x10020eb3
xor cl, cl
jmp 0x10020eb5
mov cl, 1
test byte [edi + 8], 1
xorps xmm7, xmm7
mov byte [esp + 9], cl
je 0x10020ec7
xorps xmm2, xmm2
jmp 0x10020eec
mov eax, dword [0x100de918]
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 0x10020fbe
mov esi, dword [esp + 0x14]
movss xmm0, dword [esi + 0x1550]
movss dword [esp + 0x18], xmm0
movss dword [esi + 0x1550], xmm1
test cl, cl
je 0x10020f71
cmp byte [esi + 0x1b7a], 0
mov ecx, 0xb
je 0x10020f76
mov ecx, 0xc
push dword [esp + 0x7c]
movss xmm1, dword [0x10063c04]
push dword [esp + 0x7c]
push dword [esp + 0x9c]
push dword [esp + 0x9c]
call fcn.10014c90
movss xmm2, dword [esp + 0x20]
mov dl, 1
mov ecx, eax
call fcn.1001c870
movss xmm0, dword [esp + 0x28]
add esp, 0x10
movss dword [esi + 0x1550], xmm0
jmp 0x10021846
mov eax, dword [esp + 0xc]
test eax, 0x6000000
je 0x10020fd0
mov eax, 4
jmp 0x10020fdd
and eax, 0x1000000
or eax, 0x2000000
shr eax, 0x18
movss xmm1, dword [0x10063c04]
mov ecx, eax
call fcn.10014c90
cmp dword [edx + 0x1ac8], 0
mov ecx, eax
je 0x1002103e
movss xmm1, dword [edx + 0x1b08]
comiss xmm7, xmm1
jbe 0x10021009
xorps xmm0, xmm0
jmp 0x10021015
movss xmm0, dword [0x10063c04]
minss xmm0, xmm1
mulss xmm0, dword [0x10063d00]
and ecx, 0xffffff
mov dword [edx + 0x1ac8], 0
addss xmm0, dword [0x10063bd8]
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 0x1002106f
xorps xmm1, xmm1
jmp 0x10021094
mov eax, dword [0x100de918]
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.1004a260
cmp byte [edi + 0x79], 0
je 0x100210f3
mov ecx, 0xc
jmp 0x100210fb
movzx ecx, byte [esp + 9]
add ecx, 0xa
cmp dword [esp + 0x1c], 0
jne 0x10021139
movss xmm0, dword [esp + 0x10]
movss xmm1, dword [0x10063c04]
push 3
push ecx
movss dword [esp], xmm0
call fcn.10014c90
mov ecx, dword [edi + 0x27c]
push eax
lea eax, [esp + 0xa4]
push eax
lea eax, [esp + 0xa0]
push eax
call fcn.1004a260
mov eax, dword [esp + 0xc]
test eax, 0x400
je 0x100212e6
mov edx, dword [edi + 8]
xorps xmm2, xmm2
mov ecx, dword [0x100de918]
test dl, 1
je 0x1002115e
xorps xmm1, xmm1
jmp 0x1002117e
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 0x100211bc
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 0x100211bf
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 0x1002122a
movss xmm2, dword [esp + 0x10]
movss xmm1, dword [0x10063c04]
push 3
push ecx
mov ecx, 0xd
movss dword [esp], xmm2
call fcn.10014c90
mov ecx, dword [edi + 0x27c]
push eax
lea eax, [esp + 0xc4]
push eax
lea eax, [esp + 0xc0]
push eax
call fcn.1004a260
mov eax, dword [esp + 0x14]
movss xmm2, dword [eax + 0x1550]
comiss xmm2, dword [0x10063b68]
jbe 0x100212e6
movss xmm0, dword [edi + 0x10]
addss xmm0, dword [edi + 0x18]
movss xmm1, dword [esp + 0x1c]
comiss xmm0, xmm1
jbe 0x100212e6
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 [0x10063c04]
mov dword [esp + 0x58], eax
movss dword [esp + 0x70], xmm0
movss dword [esp + 4], xmm2
call fcn.10014c90
mov ecx, dword [edi + 0x27c]
add esp, 4
push eax
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0x74]
push eax
call fcn.1004a010
cmp byte [edi + 0x74], 0
je 0x100212f6
mov ecx, 1
call fcn.100227f0
cmp byte [edi + 0x75], 0
je 0x10021303
xor ecx, ecx
call fcn.100227f0
test byte [esp + 0xc], 2
jne 0x100215a2
movss xmm4, dword [esp + 0x28]
xor ecx, ecx
movaps xmm0, xmm4
mov dword [esp + 0x88], ecx
addss xmm0, dword [esp + 0x10]
mov eax, 0x10068c40
mov dword [esp + 0x34], eax
movss dword [esp + 0x48], xmm0
nop word [eax + 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 0x1002139e
movd xmm3, esi
movaps xmm1, xmm4
cvtdq2ps xmm3, xmm3
jmp 0x100213a8
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 0x1002140f
inc ecx
test edi, edi
je 0x100213e5
mov eax, edi
cdq
sub eax, edx
sar eax, 1
add eax, edi
jmp 0x100213ea
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, dword [esp + 0x28]
call fcn.10035aa0
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 0x10021449
movd xmm1, esi
movaps xmm3, xmm4
cvtdq2ps xmm1, xmm1
jmp 0x10021453
movd xmm3, esi
movaps xmm1, xmm4
cvtdq2ps xmm3, xmm3
mov eax, dword [esp + 0x34]
mov edi, dword [ecx + 0x58]
mulss xmm1, dword [eax]
mulss xmm3, dword [eax + 4]
lea eax, [ecx + 0x54]
mov ecx, dword [eax]
mov dword [esp + 0x24], eax
addss xmm1, xmm2
addss xmm3, xmm0
movss dword [esp + 0x50], xmm1
movss dword [esp + 0x54], xmm3
cmp ecx, edi
jne 0x100214b2
inc ecx
test edi, edi
je 0x10021494
mov eax, edi
cdq
sub eax, edx
sar eax, 1
add eax, edi
jmp 0x10021499
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, dword [esp + 0x28]
call fcn.10035aa0
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.10049a30
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.100495f0
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x10021572
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.10035aa0
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 0x10021340
movss xmm5, dword [esp + 0x28]
xorps xmm1, xmm1
comiss xmm5, xmm1
jbe 0x10021623
movss xmm0, dword [edi + 0x14]
addss xmm0, dword [edi + 0xc]
movss xmm1, dword [0x10063c04]
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.10014c90
mov ecx, dword [edi + 0x27c]
add esp, 4
push eax
lea eax, [esp + 0xc0]
push eax
lea eax, [edi + 0xc]
push eax
call fcn.1004a150
movss xmm5, dword [esp + 0x28]
xorps xmm1, xmm1
mov eax, dword [esp + 0x18]
cmp eax, 0xffffffff
je 0x100217a8
movss xmm0, dword [edi + 0xc]
movss xmm2, dword [edi + 0x10]
movaps xmm3, xmm0
movss xmm6, dword [0x10063c04]
movaps xmm4, xmm2
addss xmm3, dword [edi + 0x14]
addss xmm4, dword [edi + 0x18]
subss xmm3, xmm6
subss xmm4, xmm6
test eax, eax
jne 0x1002169a
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 0x1002176c
cmp eax, 1
jne 0x100216de
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 0x1002176c
cmp eax, 2
jne 0x1002171f
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 0x1002176c
cmp eax, 3
jne 0x1002175d
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 0x1002176c
movaps xmm0, xmmword [0x10064a80]
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.10014c90
mov ecx, dword [edi + 0x27c]
add esp, 4
push eax
lea eax, [esp + 0xc0]
push eax
lea eax, [esp + 0xbc]
push eax
call fcn.1004a010
mov esi, dword [esp + 0x14]
movss xmm2, dword [esi + 0x1550]
comiss xmm2, dword [0x10063b68]
jbe 0x10021846
test byte [esp + 0xc], 1
jne 0x10021846
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 [0x10063c04]
movss dword [esp + 0x58], xmm1
movss xmm1, dword [0x10063c04]
movss dword [esp + 0xbc], xmm0
movss dword [esp + 0x5c], xmm0
call fcn.10014c90
mov ecx, dword [edi + 0x27c]
add esp, 4
push eax
lea eax, [esp + 0xb8]
push eax
lea eax, [esp + 0x5c]
push eax
call fcn.1004a010
cmp dword [esi + 0x1b5c], edi
jne 0x1002196f
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 0x1002192b
movss xmm7, dword [esp + 0x80]
comiss xmm7, xmm3
jb 0x1002192b
comiss xmm2, dword [esp + 0x84]
jb 0x1002192b
comiss xmm1, dword [esp + 0x2c]
jb 0x1002192b
xorps xmm0, xmmword [0x10064660]
movaps xmm5, xmm6
subss xmm0, dword [0x10063c04]
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.10014c90
mov ecx, dword [edi + 0x27c]
add esp, 4
push eax
lea eax, [esp + 0xc8]
push eax
lea eax, [esp + 0xc4]
push eax
call fcn.1004a150
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 [0x100de918]
mov dword [edi + 0x24], eax
movss dword [edi + 0x214], xmm0
test edx, 0x400
je 0x100219d7
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 0x100219da
xorps xmm1, xmm1
test dl, 1
je 0x100219e4
xorps xmm6, xmm6
jmp 0x10021a04
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 0x10021a42
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 0x10021a6a
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 0x10021ad1
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 0x10021ad4
xorps xmm4, xmm4
test dl, 1
je 0x10021ade
xorps xmm1, xmm1
jmp 0x10021afe
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 [0x10063d30]
movss dword [edi + 0xf8], xmm0
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x10021c18
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.10035490
lea eax, [edi + 0x14c]
mov ecx, dword [esp + 0x20]
mov dword [eax], 0
mov dword [edi + 0x15c], 0
test ecx, ecx
je 0x10021c44
mov eax, dword [ecx + 0x15c]
mov dword [edi + 0x160], eax
mov eax, dword [ecx + 0x164]
jmp 0x10021c53
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 0x10021c9e
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.10035490
lea eax, [edi + 0x170]
mov dword [eax], 0
lea eax, [edi + 0x17c]
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x10021cd3
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.10035490
lea eax, [edi + 0x17c]
mov dword [eax], 0
lea eax, [edi + 0x188]
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x10021d08
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.10035490
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.10035290
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 0x10021d86
xorps xmm0, xmm0
movups xmmword [ecx], xmm0
xor edx, edx
cmp dword [edi + 0x22c], edx
jle 0x10021df2
xorps xmm1, xmm1
test edx, edx
jle 0x10021db8
movss xmm0, dword [ecx]
comiss xmm0, xmm1
jbe 0x10021db8
movss xmm0, dword [edi + 0x234]
addss xmm0, dword [edi + 0x230]
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 0x10021d93
test dword [esp + 0xc], 0x1000000
je 0x10021e64
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 0x164]
cmp dword [edi + 0x164], eax
je 0x10021e64
lea ecx, [edi + 0x170]
mov dword [edi + 0x164], eax
mov eax, dword [ecx + 4]
mov edx, dword [ecx]
cmp edx, eax
jne 0x10021e50
inc edx
mov dword [esp + 0x60], edx
test eax, eax
je 0x10021e3a
cdq
sub eax, edx
mov edx, dword [esp + 0x60]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x10021e3f
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.10035490
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 0x10021e75
dec eax
mov dword [edi + 0x90], eax
mov eax, dword [edi + 0x94]
test eax, eax
jle 0x10021e86
dec eax
mov dword [edi + 0x94], eax
cmp byte [esp + 8], 0
je 0x10021e9d
mov ecx, edi
call fcn.10022e60
xor dl, dl
mov ecx, edi
call fcn.100171e0
mov ecx, dword [esp + 0xc]
movaps xmm7, xmmword [esp + 0x90]
movaps xmmword [esp + 0x50], xmm7
test cl, 1
jne 0x100222ca
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 0x10022104
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], 0x15171475
mov dword [esp + 0xb4], 0xe0c1a16
mov word [esp + 0xb8], 0x1b
mov byte [esp + 0xba], 1
mov al, cl
add al, 0x56
xor byte [esp + ecx + 0xb0], al
inc ecx
cmp ecx, 9
jb 0x10021f23
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.10014710
mov ecx, dword [0x100de918]
mov edx, eax
add esp, 4
mov dword [esp + 0x18], edx
cmp dword [ecx + 0x1a3c], edx
jne 0x10021f78
mov byte [ecx + 0x1a48], 1
cmp dword [ecx + 0x1a40], edx
jne 0x10021f87
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.10016b90
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0xb4]
add esp, 4
push 0
push 0
push 0
call fcn.10024330
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0xbc]
add esp, 0xc
mov byte [esp + 8], al
push 1
call fcn.1001cc10
mov eax, dword [esp + 0x30]
xor ecx, ecx
movss xmm1, dword [0x10063c04]
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.1001ca80
mov ecx, dword [0x100de918]
add esp, 8
mov dword [esp + 0x60], ecx
mov edx, dword [ecx + 0x1a3c]
test edx, edx
je 0x100220f9
mov eax, dword [ecx + 0x1a20]
cmp edx, dword [eax + 0x104]
jne 0x100220f9
cmp byte [ecx + 0xe0], 0
je 0x100220f9
movss xmm1, dword [ecx + 0x30]
movss xmm0, dword [ecx + 0x44c]
mulss xmm1, xmm1
comiss xmm0, xmm1
setae al
test al, al
je 0x100220f9
mov ecx, dword [esp + 0x2c]
call fcn.10022e60
mov edx, dword [esp + 0x2c]
mov ecx, dword [edx + 0x4c]
call fcn.10016120
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 0x100220f9
mov eax, dword [edx + 0x328]
test byte [eax + 8], 4
jne 0x100220f9
mov dword [ecx + 0x1a70], edx
cmp byte [esp + 8], 0
je 0x10022104
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 0x10022146
nop dword [eax + eax]
mov dl, byte [ecx]
test dl, dl
je 0x10022146
cmp dl, 0x23
jne 0x10022140
cmp byte [ecx + 1], dl
je 0x10022146
inc ecx
cmp ecx, 0xffffffff
jb 0x10022130
mov edx, dword [0x100de918]
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 0x10022179
mov dword [esp + 0x60], 0
xorps xmm1, xmm1
jmp 0x100221e7
movss xmm3, dword [0x10063d48]
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.1004cc10
movss xmm0, dword [esp + 0xb0]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x100221c1
mov eax, dword [esp + 0x48]
movss xmm2, dword [esp + 0x60]
divss xmm2, dword [eax]
subss xmm0, xmm2
addss xmm0, dword [0x10063c00]
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 0x1002220e
movss xmm0, dword [esi + 0x1544]
movaps xmm3, xmm0
jmp 0x10022229
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 0x1002224e
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.1001c4a0
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 0x1002237f
movaps xmm1, xmm5
jmp 0x10022387
movss xmm1, dword [esi + 0x1550]
test dword [edi + 8], 0x400
mov edx, dword [0x100de918]
je 0x100223c0
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 0x100223c3
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 [0x10063bd8]
subss xmm0, xmm5
movss xmm5, dword [0x10063bd8]
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 0x10022508
movss xmm0, dword [edx + 0xdc]
comiss xmm0, xmm5
jb 0x10022508
comiss xmm3, xmm1
jbe 0x10022508
comiss xmm2, xmm0
jbe 0x10022508
mov eax, 1
jmp 0x1002250a
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.10048630
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 0x1002259c
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 0x10022659
test cl, 0x40
jne 0x1002263b
cmp dword [edi + 0x90], 0
jg 0x1002263b
cmp dword [edi + 0x94], 0
jg 0x1002263b
movss xmm0, dword [edi + 0x1e4]
comiss xmm0, dword [edi + 0x1ec]
jae 0x10022631
movss xmm0, dword [edi + 0x1e8]
comiss xmm0, dword [edi + 0x1f0]
jb 0x1002263b
mov dword [edi + 0xa4], 1
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x10022659
cmp byte [ecx + 0x79], 0
jne 0x1002264f
cmp byte [ecx + 0x7d], 0
je 0x10022659
mov dword [edi + 0xa4], 1
xorps xmm0, xmm0
comiss xmm0, dword [eax + 0x1508]
jb 0x1002266f
mov dword [edi + 0xa4], 1
cmp dword [edi + 0xa4], 0
jg 0x10022685
cmp dword [edi + 0xa8], 0
jne 0x10022685
xor al, al
jmp 0x10022687
mov al, 1
mov byte [edi + 0x7d], al
cmp byte [edi + 0x79], 0
jne 0x1002269a
cmp byte [edi + 0x76], 0
je 0x1002269a
test al, al
je 0x100226b9
cmp dword [edi + 0x90], 0
jg 0x100226b9
cmp dword [edi + 0x94], 0
jg 0x100226b9
cmp dword [edi + 0xa8], 0
jg 0x100226b9
mov al, 1
jmp 0x100226bb
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.1004db16
mov esp, ebp
pop ebp
ret