Function at 0x101522b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x1d8
mov eax, dword [0x102220c0]
xor eax, esp
mov dword [esp + 0x1d4], eax
mov eax, dword [0x1023fc80]
push esi
push edi
cmp byte [eax + 0x36e5], 0
je 0x101534d1
push 0x1046ad84
call fcn.101b435b
add esp, 4
test eax, eax
jne 0x101534e5
cmp dword [0x1046adb0], 0x7fffffff
je 0x101534ec
movss xmm0, dword [0x10468108]
xorps xmm1, xmm1
ucomiss xmm0, xmm1
movss dword [esp + 0x14], xmm1
lahf
test ah, 0x44
mov eax, dword [0x1023fc8c]
jp 0x1015232c
cmp byte [eax + 0x5c], 0
je 0x101534c4
cmp byte [eax + 0x5c], 0
mov esi, dword [0x10468550]
movss xmm1, dword [0x102141f4]
jne 0x10152351
or dword [esi + 0x1c74], 0x40
mov dword [esi + 0x1cc8], 0x3f000000
movss xmm0, dword [esi + 0x54]
subss xmm0, dword [0x10214508]
or dword [esi + 0x1c74], 3
mov dword [esi + 0x1c88], 0x42700000
mov dword [esi + 0x1c8c], 0
mov dword [esi + 0x1c90], 0
mulss xmm0, xmm1
mov dword [esi + 0x1c78], 2
mov dword [esi + 0x1c94], 0x43160000
mov dword [esi + 0x1c98], 0
movss dword [esi + 0x1c84], xmm0
mov dword [esi + 0x1c7c], 2
mov eax, dword [0x1023fc8c]
cmp byte [eax + 0x5c], 0
jne 0x101523d6
mov dword [esi + 0x1c94], 0x432a0000
mov dword [esi + 0x1c7c], 1
movss xmm0, dword [esi + 0x15a0]
lea eax, [esp + 0x180]
push eax
lea ecx, [esi + 0x1cf4]
mov dword [esp + 0x184], 0xb
movss dword [esp + 0x188], xmm0
call fcn.1017d270
mov dword [esi + 0x15a0], 0x40900000
lea eax, [esp + 0x180]
mov esi, dword [0x10468550]
push eax
mov dword [esp + 0x184], 2
movss xmm0, dword [esi + 0x156c]
lea ecx, [esi + 0x1cf4]
movss dword [esp + 0x188], xmm0
call fcn.1017d270
mov dword [esi + 0x156c], 0x40900000
lea eax, [esp + 0x38]
mov esi, dword [0x10468550]
push eax
mov dword [esp + 0x3c], 0
movups xmm0, xmmword [esi + 0x1624]
lea ecx, [esi + 0x1ce8]
movups xmmword [esp + 0x40], xmm0
call fcn.1017d320
mov dword [esi + 0x1624], 0x437f0000
mov dword [esi + 0x1628], 0x437f0000
mov dword [esi + 0x162c], 0x437f0000
mov dword [esi + 0x1630], 0x437f0000
mov eax, dword [0x1023fc80]
cmp byte [eax + 0x337c], 0
je 0x10152558
movss xmm0, dword [eax + 0x38f0]
mov esi, dword [0x10468550]
movss dword [esp + 0x24], xmm0
movss xmm0, dword [eax + 0x38f4]
movss dword [esp + 0x190], xmm0
movss xmm0, dword [eax + 0x38f8]
lea ecx, [esi + 0x1ce8]
movss dword [esp + 0x18], xmm0
movss xmm0, dword [eax + 0x38fc]
lea eax, [esp + 0x38]
movss dword [esp + 0x180], xmm0
movups xmm0, xmmword [esi + 0x1684]
push eax
mov dword [esp + 0x3c], 6
movups xmmword [esp + 0x40], xmm0
call fcn.1017d320
movss xmm0, dword [esp + 0x24]
movss dword [esi + 0x1684], xmm0
movss xmm0, dword [esp + 0x190]
movss dword [esi + 0x1688], xmm0
movss xmm0, dword [esp + 0x18]
movss dword [esi + 0x168c], xmm0
movss xmm0, dword [esp + 0x180]
movss dword [esi + 0x1690], xmm0
mov eax, dword [0x10468550]
mov esi, 0xc022b
movss xmm1, dword [esp + 0x14]
mov ecx, 1
movss xmm0, dword [0x1021462c]
movss xmm2, dword [0x102145f4]
or dword [eax + 0x1c74], 0x10
movss dword [esp + 0x180], xmm1
mov dword [eax + 0x1cb0], 0
movss dword [eax + 0x1cb4], xmm0
movss dword [eax + 0x1cb8], xmm2
movss dword [eax + 0x1cbc], xmm0
movq xmm0, qword [str.wYZZ]
mov dword [eax + 0x1cc0], 0
mov dword [eax + 0x1cc4], 0
mov eax, dword [0x1023fc8c]
cmp byte [eax + 0x5c], 0
mov ax, word [0x1020c6c4]
cmovne esi, ecx
mov word [esp + 0x188], ax
mov al, byte [0x1020c6c6]
xor edx, edx
movq qword [esp + 0x180], xmm0
mov byte [esp + 0x18a], al
mov dword [esp + 0x24], edx
mov eax, 0x8d3dcb09
mul edx
shr edx, 5
movsx eax, dl
mov edx, dword [esp + 0x24]
mov cl, dl
imul eax, eax, 0x3a
sub cl, al
add cl, 0x35
xor byte [esp + edx + 0x180], cl
inc edx
mov dword [esp + 0x24], edx
cmp edx, 0xb
jl 0x10152600
push esi
xor edx, edx
lea ecx, [esp + 0x184]
call fcn.10174470
mov ecx, dword [0x10468550]
mov eax, dword [ecx + 0x1bec]
mov byte [eax + 0xa8], 1
mov eax, dword [ecx + 0x1bec]
mov esi, dword [eax + 0x2c4]
call fcn.101a3090
movss xmm2, dword [0x10214264]
mov ecx, eax
push esi
call fcn.101a3540
mov ecx, dword [0x10468550]
mov edi, 0x101ee7a0
mov esi, 0x101ee79c
push 1
mov eax, dword [ecx + 0x1bec]
movss xmm0, dword [eax + 0x10]
movss dword [esp + 0x184], xmm0
movss xmm0, dword [eax + 0x14]
mov byte [eax + 0xa8], 1
mov eax, dword [ecx + 0x1bec]
mov ecx, 0x1023fcac
cmp dword [0x10468120], 0
movss dword [esp + 0x1c], xmm0
mov eax, dword [eax + 0x2c4]
mov dword [esp + 0x28], eax
mov eax, edi
cmove eax, esi
push eax
call fcn.10022b70
cmp dword [0x10468120], 0
movaps xmm3, xmmword [0x10214b80]
movss xmm2, dword [esp + 0x14]
cmovne esi, edi
comiss xmm2, xmm3
movss xmm0, dword [0x10214264]
movups xmmword [esp + 0x190], xmm3
jbe 0x101526ff
movaps xmm1, xmm2
jmp 0x10152706
movaps xmm1, xmm0
minss xmm1, xmm3
movss xmm3, dword [0x1021455c]
movss xmm5, dword [0x102141f4]
movss xmm4, dword [esp + 0x194]
mulss xmm1, xmm3
addss xmm1, xmm5
cvttss2si ecx, xmm1
shl ecx, 0x10
comiss xmm2, xmm4
jbe 0x10152738
movaps xmm1, xmm2
jmp 0x1015273f
movaps xmm1, xmm0
minss xmm1, xmm4
movss xmm4, dword [esp + 0x198]
mulss xmm1, xmm3
addss xmm1, xmm5
cvttss2si eax, xmm1
shl eax, 8
or ecx, eax
comiss xmm2, xmm4
jbe 0x10152763
movaps xmm1, xmm2
jmp 0x1015276a
movaps xmm1, xmm0
minss xmm1, xmm4
mulss xmm1, xmm3
addss xmm1, xmm5
cvttss2si eax, xmm1
movss xmm1, dword [esp + 0x19c]
or ecx, eax
comiss xmm2, xmm1
jbe 0x1015278b
movaps xmm0, xmm2
jmp 0x1015278f
minss xmm0, xmm1
mov eax, dword [0x1023fc8c]
mulss xmm0, xmm3
mov edi, dword [eax + 0x1c]
addss xmm0, xmm5
cvttss2si edx, xmm0
movss xmm0, dword [esp + 0x180]
addss xmm0, dword [0x102143e4]
shl edx, 0x18
or edx, ecx
movss dword [esp + 0x190], xmm0
movss xmm0, dword [esp + 0x18]
addss xmm0, dword [0x10214378]
movss dword [esp + 0x194], xmm0
test edx, 0xff000000
je 0x10152855
mov ecx, esi
lea eax, [ecx + 1]
mov dword [esp + 0x180], eax
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x101527f0
sub ecx, dword [esp + 0x180]
add ecx, esi
cmp esi, ecx
je 0x10152855
test edi, edi
jne 0x10152812
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 0x2c]
mov edi, dword [eax + 8]
push dword [esp + 0x194]
mov eax, dword [esp + 0x28]
push dword [esp + 0x194]
movss xmm2, dword [0x10214440]
push 0
movups xmm0, xmmword [eax + 0x60]
push ecx
mov dword [esp], 0
push ecx
push esi
lea ecx, [esp + 0x198]
push ecx
push edx
push eax
mov ecx, edi
movups xmmword [esp + 0x1a4], xmm0
call fcn.10182ee0
push ecx
lea ecx, [esp + 0xec]
call fcn.100201c0
cmp byte [0x1020b60f], 0
mov ecx, dword [0x1020b608]
mov esi, dword [0x1020b60c]
mov eax, dword [0x10240d90]
mov dword [esp + 0x180], ecx
mov dword [esp + 0x184], esi
je 0x101529cb
xor edx, edx
mov dword [esp + 0x24], edx
cmp eax, 2
jl 0x10152994
movaps xmm2, xmmword [0x102147a0]
movaps xmm3, xmmword [0x10214c50]
movaps xmm1, xmm2
punpckldq xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm1, xmm3
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x10214860]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x102147e0]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x102148e0]
packuswb xmm1, xmm1
paddb xmm1, xmmword [0x10214960]
movd xmm0, ecx
xorps xmm1, xmm0
movaps xmm0, xmm2
movd dword [esp + 0x180], xmm1
movaps xmm1, xmm2
punpckldq xmm1, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm1, xmm3
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x10214860]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x102148e0]
packuswb xmm1, xmm1
paddb xmm1, xmmword [0x10214960]
movd xmm0, esi
xorps xmm1, xmm0
movd dword [esp + 0x184], xmm1
jmp 0x101529cb
mov eax, 0x8d3dcb09
imul edx
add edx, dword [esp + 0x24]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 0x24]
movsx eax, al
mov cl, dl
imul eax, eax, 0x3a
sub cl, al
add cl, 0x35
xor byte [esp + edx + 0x180], cl
inc edx
mov dword [esp + 0x24], edx
cmp edx, 8
jl 0x10152994
lea edx, [esp + 0x180]
lea ecx, [esp + 0xe8]
call fcn.100b9b50
mov ecx, dword [0x1023fc7c]
xor edx, edx
movss xmm0, dword [0x10468108]
mov ecx, dword [ecx + 0xc]
subss xmm0, dword [ecx + 0x10]
cvttss2si ecx, xmm0
test ecx, ecx
cmovs ecx, edx
push ecx
mov ecx, eax
call fcn.10020240
mov edx, 0x1020b090
mov ecx, eax
call fcn.100b9b50
lea eax, [esp + 0x1c4]
push eax
lea ecx, [esp + 0xec]
call fcn.10020120
mov esi, eax
cmp dword [esi + 0x14], 0xf
jbe 0x10152a31
mov esi, dword [esi]
mov edi, dword [0x10468550]
mov eax, dword [edi + 0x1bec]
movss xmm0, dword [eax + 0x18]
movss dword [esp + 0x180], xmm0
test esi, esi
jne 0x10152a57
movss xmm2, dword [esp + 0x14]
jmp 0x10152ab2
movss xmm3, dword [0x102145f4]
lea eax, [esp + 0x18]
movss xmm2, dword [edi + 0x1988]
push 0
push 0
push esi
push ecx
mov ecx, dword [edi + 0x1984]
mov dword [esp], 0xbf800000
push eax
call fcn.10182d20
movss xmm0, dword [esp + 0x18]
addss xmm0, dword [0x1021425c]
cvttss2si eax, xmm0
movss xmm0, dword [esp + 0x1c]
movss dword [esp + 0x1c], xmm0
movss xmm0, dword [esp + 0x180]
movd xmm2, eax
cvtdq2ps xmm2, xmm2
mov eax, dword [edi + 0x1bec]
subss xmm0, xmm2
push 1
xor edx, edx
mov ecx, esi
mov byte [eax + 0xa8], 1
mov eax, dword [edi + 0x1bec]
mulss xmm0, dword [0x102141f4]
movss xmm1, dword [eax + 0x10]
subss xmm1, dword [eax + 0x74]
addss xmm1, xmm0
movss xmm0, dword [eax + 0x104]
maxss xmm0, xmm1
movss dword [eax + 0xec], xmm1
movss dword [eax + 0x104], xmm0
call fcn.10185650
mov ecx, dword [esp + 0x1d8]
cmp ecx, 0xf
jbe 0x10152b42
mov edx, dword [esp + 0x1c4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10152b38
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x101534fd
push ecx
push edx
call fcn.101b4f23
add esp, 8
mov ecx, dword [0x10468110]
mov dword [esp + 0x1d4], 0
mov dword [esp + 0x1d8], 0xf
mov byte [esp + 0x1c4], 0
cmp ecx, 0xffffffff
je 0x101533c1
movss xmm0, dword [0x10468108]
comiss xmm0, dword [0x10468118]
setae al
mov byte [esp + 0x37], al
cmp ecx, dword [0x10533070]
jne 0x10152e3a
xor ecx, ecx
test al, al
je 0x10152c5c
mov edx, 0xff00ff00
call fcn.1016cdc0
mov ax, word [0x1020bdcc]
xor edx, edx
movq xmm0, qword [str.qSQMJ_Y_Q__]
mov word [esp + 0x198], ax
mov al, byte [0x1020bdce]
movq qword [esp + 0x190], xmm0
mov byte [esp + 0x19a], al
mov dword [esp + 0x24], edx
mov eax, 0x8d3dcb09
mul edx
shr edx, 5
movsx eax, dl
mov edx, dword [esp + 0x24]
mov cl, dl
imul eax, eax, 0x3a
sub cl, al
add cl, 0x35
xor byte [esp + edx + 0x190], cl
inc edx
mov dword [esp + 0x24], edx
cmp edx, 0xb
jl 0x10152bd6
mov esi, dword [0x10468550]
movss xmm3, dword [0x102145f4]
push 0
push 0
mov eax, dword [esi + 0x1bec]
movss xmm2, dword [esi + 0x1988]
movss xmm0, dword [eax + 0x18]
lea eax, [esp + 0x198]
push eax
push ecx
mov ecx, dword [esi + 0x1984]
lea eax, [esp + 0x28]
mov dword [esp], 0xbf800000
push eax
movss dword [esp + 0x194], xmm0
call fcn.10182d20
lea ecx, [esp + 0x190]
jmp 0x10152d93
mov edx, 0xffff0000
call fcn.1016cdc0
cmp byte [0x1020be27], 0
mov eax, dword [0x1020be24]
mov dword [esp + 0x14], eax
je 0x10152d44
xor edx, edx
cmp dword [0x10240d90], 2
mov dword [esp + 0x24], edx
jl 0x10152d10
movaps xmm3, xmmword [0x102147a0]
movaps xmm2, xmm3
movaps xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmmword [0x10214c50]
punpckldq xmm2, xmm3
pmuldq xmm2, xmmword [0x10214c50]
shufps xmm2, xmm0, 0xdd
paddd xmm2, xmm3
psrad xmm2, 5
movaps xmm0, xmm2
psrld xmm0, 0x1f
paddd xmm0, xmm2
pmulld xmm0, xmmword [0x10214860]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x102148e0]
packuswb xmm1, xmm1
paddb xmm1, xmmword [0x10214960]
movd xmm0, eax
xorps xmm1, xmm0
movd dword [esp + 0x14], xmm1
jmp 0x10152d44
mov eax, 0x8d3dcb09
imul edx
add edx, dword [esp + 0x24]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 0x24]
movsx eax, al
mov cl, dl
imul eax, eax, 0x3a
sub cl, al
add cl, 0x35
xor byte [esp + edx + 0x14], cl
inc edx
mov dword [esp + 0x24], edx
cmp edx, 4
jl 0x10152d10
mov esi, dword [0x10468550]
movss xmm3, dword [0x102145f4]
push 0
push 0
mov eax, dword [esi + 0x1bec]
movss xmm2, dword [esi + 0x1988]
movss xmm0, dword [eax + 0x18]
lea eax, [esp + 0x1c]
push eax
push ecx
mov ecx, dword [esi + 0x1984]
lea eax, [esp + 0x28]
mov dword [esp], 0xbf800000
push eax
movss dword [esp + 0x194], xmm0
call fcn.10182d20
lea ecx, [esp + 0x14]
movss xmm0, dword [esp + 0x18]
xor edx, edx
addss xmm0, dword [0x1021425c]
movss xmm2, dword [esp + 0x180]
push 1
cvttss2si eax, xmm0
movd xmm0, eax
mov eax, dword [esi + 0x1bec]
cvtdq2ps xmm0, xmm0
mov byte [eax + 0xa8], 1
mov eax, dword [esi + 0x1bec]
subss xmm2, xmm0
movss xmm1, dword [eax + 0x10]
subss xmm1, dword [eax + 0x74]
movss xmm0, dword [eax + 0x104]
mulss xmm2, dword [0x102141f4]
addss xmm1, xmm2
maxss xmm0, xmm1
movss dword [eax + 0xec], xmm1
movss dword [eax + 0x104], xmm0
call fcn.10185650
mov esi, dword [0x10468550]
mov eax, dword [esi + 0x1ce8]
mov ecx, dword [esi + 0x1cf0]
lea edx, [eax + eax*4]
mov eax, dword [ecx + edx*4 - 0x14]
movups xmm0, xmmword [ecx + edx*4 - 0x10]
add eax, eax
movups xmmword [esi + eax*8 + 0x1624], xmm0
dec dword [esi + 0x1ce8]
jmp 0x101533c7
mov eax, dword [0x10532f34]
mov edx, dword [0x10532f38]
cmp eax, edx
je 0x101533c1
nop dword [eax]
cmp dword [eax + 0x84], ecx
je 0x10152e61
add eax, 0x148
cmp eax, edx
jne 0x10152e50
cmp eax, edx
je 0x101533c1
test eax, eax
je 0x101533c1
push ecx
lea ecx, [esp + 0x54]
call fcn.100201c0
mov eax, dword [0x1020c6d8]
xor edx, edx
cmp dword [0x10240d90], 2
movups xmm0, xmmword [0x1020c6c8]
mov dword [esp + 0x1b0], eax
mov ax, word [0x1020c6dc]
mov word [esp + 0x1b4], ax
mov al, byte [0x1020c6de]
movups xmmword [esp + 0x1a0], xmm0
mov byte [esp + 0x1b6], al
mov dword [esp + 0x24], edx
jl 0x10153010
movaps xmm0, xmmword [0x10214960]
lea esi, [esp + 0x1a4]
movaps xmm4, xmmword [0x102147a0]
movaps xmm3, xmmword [0x10214c50]
movaps xmm5, xmmword [0x10214860]
movaps xmmword [esp + 0x180], xmm0
mov ecx, dword [esp + 0x180]
nop word [eax + eax]
movd xmm0, edx
lea eax, [edx + 4]
pshufd xmm2, xmm0, 0
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x102148e0]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [esp + edx + 0x1a0]
xorps xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [esp + edx + 0x1a0], xmm1
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckldq xmm1, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x102148e0]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [edx + esi]
xorps xmm1, xmm0
movd dword [edx + esi], xmm1
add edx, 8
cmp edx, 0x10
jl 0x10152f00
mov dword [esp + 0x24], edx
cmp edx, 0x17
jge 0x10153047
nop dword [eax]
mov eax, 0x8d3dcb09
imul edx
add edx, dword [esp + 0x24]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 0x24]
movsx eax, al
mov cl, dl
imul eax, eax, 0x3a
sub cl, al
add cl, 0x35
xor byte [esp + edx + 0x1a0], cl
inc edx
mov dword [esp + 0x24], edx
cmp edx, 0x17
jl 0x10153010
lea edx, [esp + 0x1a0]
lea ecx, [esp + 0x50]
call fcn.100b9b50
mov edi, eax
push 0
push 3
mov ecx, dword [edi]
mov edx, dword [ecx + 4]
mov ecx, dword [edx + edi + 0x14]
and ecx, 0xffffefff
or ecx, 0x2000
mov dword [edx + edi + 0x14], ecx
mov eax, dword [edi]
mov eax, dword [eax + 4]
or dword [eax + edi + 0x14], 0x10
lea eax, [esp + 0x40]
push eax
call fcn.101b3fed
mov ecx, dword [edi]
add esp, 0xc
push dword [eax + 0xc]
mov ecx, dword [ecx + 4]
push dword [eax + 8]
mov eax, dword [eax]
add ecx, edi
push ecx
call eax
mov eax, dword [0x1023fc7c]
lea ecx, [esp + 0x19c]
movss xmm0, dword [0x10468118]
add esp, 0xc
movss xmm1, dword [esp + 0x14]
mov dword [esp + 0x24], 0
mov eax, dword [eax + 0xc]
push edi
subss xmm0, dword [eax + 0x10]
maxss xmm1, xmm0
movss dword [esp + 0x1c], xmm1
call fcn.100218b0
cmp byte [esp + 0x194], 0
mov esi, 4
je 0x10153190
mov eax, dword [edi]
mov eax, dword [eax + 4]
mov eax, dword [eax + edi + 0x30]
mov ecx, dword [eax + 4]
mov dword [esp + 0x180], ecx
mov dword [esp + 0x28], ecx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [esp + 0x24]
push eax
call fcn.10027510
mov ecx, dword [esp + 0x184]
add esp, 4
mov dword [esp + 0x24], eax
test ecx, ecx
je 0x1015313a
mov edx, dword [ecx]
mov edx, dword [edx + 8]
call edx
test eax, eax
je 0x1015313a
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov eax, dword [edi]
sub esp, 8
movss xmm0, dword [esp + 0x20]
mov edx, dword [esp + 0x2c]
mov byte [esp + 0x188], 0
mov ecx, dword [eax + 4]
movzx eax, byte [ecx + edi + 0x40]
add ecx, edi
mov edx, dword [edx]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
push eax
push ecx
push dword [ecx + 0x38]
mov ecx, dword [esp + 0x38]
lea eax, [esp + 0x194]
push dword [esp + 0x194]
push eax
call dword [edx + 0x14]
xor eax, eax
cmp byte [esp + 0x180], al
cmovne eax, esi
mov dword [esp + 0x24], eax
mov eax, dword [edi]
xor ecx, ecx
mov eax, dword [eax + 4]
add eax, edi
cmp dword [eax + 0x38], ecx
cmovne esi, ecx
or esi, dword [esp + 0x24]
or esi, dword [eax + 0xc]
and esi, 0x17
mov dword [eax + 0xc], esi
mov eax, dword [eax + 0x10]
and eax, esi
jne 0x10153502
lea ecx, [esp + 0x190]
call fcn.10021800
mov edx, 0x1020b090
mov ecx, edi
call fcn.100b9b50
lea eax, [esp + 0x1a0]
push eax
lea ecx, [esp + 0x54]
call fcn.10020120
mov esi, eax
cmp dword [esi + 0x14], 0xf
jbe 0x101531ea
mov esi, dword [esi]
mov edi, dword [0x10468550]
mov eax, dword [edi + 0x1bec]
movss xmm0, dword [eax + 0x18]
movss dword [esp + 0x180], xmm0
test esi, esi
je 0x1015325d
movss xmm3, dword [0x102145f4]
lea eax, [esp + 0x18]
movss xmm2, dword [edi + 0x1988]
push 0
push 0
push esi
push ecx
mov ecx, dword [edi + 0x1984]
mov dword [esp], 0xbf800000
push eax
call fcn.10182d20
movss xmm0, dword [esp + 0x18]
addss xmm0, dword [0x1021425c]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x14], xmm0
movss xmm0, dword [esp + 0x180]
mov eax, dword [edi + 0x1bec]
xor edx, edx
subss xmm0, dword [esp + 0x14]
push 1
mov ecx, esi
mov byte [eax + 0xa8], 1
mov eax, dword [edi + 0x1bec]
mulss xmm0, dword [0x102141f4]
movss xmm1, dword [eax + 0x10]
subss xmm1, dword [eax + 0x74]
addss xmm1, xmm0
movss xmm0, dword [eax + 0x104]
maxss xmm0, xmm1
movss dword [eax + 0xec], xmm1
movss dword [eax + 0x104], xmm0
call fcn.10185650
mov ecx, dword [esp + 0x1b4]
cmp ecx, 0xf
jbe 0x101532ef
mov edx, dword [esp + 0x1a0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x101532e5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1015353c
push ecx
push edx
call fcn.101b4f23
add esp, 8
cmp byte [esp + 0x37], 0
mov eax, 0xff00ff00
mov edx, 0xffff0000
mov ecx, 0x29
cmovne edx, eax
call fcn.1016cdc0
mov eax, dword [0x1023fc7c]
movss xmm0, dword [0x10468118]
movss xmm1, dword [0x102143c0]
mov eax, dword [eax + 0xc]
subss xmm0, dword [eax + 0x10]
divss xmm0, dword [0x1046811c]
call fcn.100bd160
mov esi, dword [0x10468550]
mov eax, dword [esi + 0x1ce8]
mov ecx, dword [esi + 0x1cf0]
lea edx, [eax + eax*4]
mov eax, dword [ecx + edx*4 - 0x14]
movups xmm0, xmmword [ecx + edx*4 - 0x10]
add eax, eax
movups xmmword [esi + eax*8 + 0x1624], xmm0
dec dword [esi + 0x1ce8]
mov eax, dword [esp + 0x50]
mov eax, dword [eax + 4]
mov dword [esp + eax + 0x50], 0x101edd7c
mov eax, dword [esp + 0x50]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [esp + ecx + 0x4c], eax
lea ecx, [esp + 0x54]
call fcn.1001fd60
mov eax, dword [esp + 0x50]
mov eax, dword [eax + 4]
mov dword [esp + eax + 0x50], 0x101ee760
mov eax, dword [esp + 0x50]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [esp + ecx + 0x4c], eax
lea eax, [esp + 0xa0]
push eax
mov dword [esp + 0xa4], 0x101eddb0
call fcn.101b3ddf
add esp, 4
mov esi, dword [0x10468550]
mov eax, dword [esi + 0x1bec]
mov byte [eax + 0xa8], 1
mov eax, dword [0x1023fc80]
cmp byte [eax + 0x337c], 0
je 0x1015340a
mov eax, dword [esi + 0x1ce8]
mov ecx, dword [esi + 0x1cf0]
lea edx, [eax + eax*4]
mov eax, dword [ecx + edx*4 - 0x14]
movups xmm0, xmmword [ecx + edx*4 - 0x10]
add eax, eax
movups xmmword [esi + eax*8 + 0x1624], xmm0
dec dword [esi + 0x1ce8]
mov eax, dword [esi + 0x1ce8]
mov ecx, dword [esi + 0x1cf0]
lea edx, [eax + eax*4]
mov eax, dword [ecx + edx*4 - 0x14]
movups xmm0, xmmword [ecx + edx*4 - 0x10]
add eax, eax
mov ecx, 1
movups xmmword [esi + eax*8 + 0x1624], xmm0
dec dword [esi + 0x1ce8]
call fcn.1016ceb0
mov ecx, 1
call fcn.1016ceb0
call fcn.10176710
mov eax, dword [esp + 0xe8]
mov eax, dword [eax + 4]
mov dword [esp + eax + 0xe8], 0x101edd7c
mov eax, dword [esp + 0xe8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [esp + ecx + 0xe4], eax
lea ecx, [esp + 0xec]
call fcn.1001fd60
mov eax, dword [esp + 0xe8]
mov eax, dword [eax + 4]
mov dword [esp + eax + 0xe8], 0x101ee760
mov eax, dword [esp + 0xe8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [esp + ecx + 0xe4], eax
lea eax, [esp + 0x138]
push eax
mov dword [esp + 0x13c], 0x101eddb0
call fcn.101b3ddf
add esp, 4
push 0x1046ad84
call fcn.101b438d
add esp, 4
mov ecx, dword [esp + 0x1dc]
pop edi
pop esi
xor ecx, esp
call fcn.101b4c2a
mov esp, ebp
pop ebp
ret
push 5
call fcn.101b459c
push 6
mov dword [0x1046adb0], 0x7ffffffe
call fcn.101b459c
call fcn.101ba056
test al, 4
je 0x1015350d
mov esi, str.ios_base::badbit_set
jmp 0x1015351c
test al, 2
mov esi, str.ios_base::failbit_set
mov eax, str.ios_base::eofbit_set
cmove esi, eax
mov edx, 1
lea ecx, [esp + 0x18]
call fcn.10003570
push eax
push esi
lea ecx, [esp + 0x2c]
call fcn.10003cf0
mov ecx, eax
call fcn.100033f0
call fcn.101ba056
int3