Function at 0x10139ea0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x1c8
mov eax, dword [0x1020a0c0]
xor eax, esp
mov dword [esp + 0x1c4], eax
mov eax, dword [0x10227c40]
push esi
push edi
cmp byte [eax + 0x3699], 0
je 0x1013b0e2
push 0x104e489c
call fcn.1019c8a7
add esp, 4
test eax, eax
jne 0x1013b0f6
movss xmm0, dword [0x10451050]
xorps xmm1, xmm1
ucomiss xmm0, xmm1
movss dword [esp + 0x2c], xmm1
lahf
test ah, 0x44
mov eax, dword [0x10227c4c]
jp 0x10139f0c
cmp byte [eax + 0x5c], 0
je 0x1013b0d5
cmp byte [eax + 0x5c], 0
mov esi, dword [0x104e2068]
jne 0x10139f29
or dword [esi + 0x1c74], 0x40
mov dword [esi + 0x1cc8], 0x3f000000
movss xmm0, dword [esi + 0x54]
subss xmm0, dword [0x101ff404]
or dword [esi + 0x1c74], 3
mov dword [esi + 0x1c88], 0x42700000
mov dword [esi + 0x1c8c], 0
mov dword [esi + 0x1c90], 0
mulss xmm0, dword [0x101ff0d4]
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 [0x10227c4c]
cmp byte [eax + 0x5c], 0
jne 0x10139fb2
mov dword [esi + 0x1c94], 0x432a0000
mov dword [esi + 0x1c7c], 1
movss xmm0, dword [esi + 0x15a0]
lea eax, [esp + 0x170]
push eax
lea ecx, [esi + 0x1cf4]
mov dword [esp + 0x174], 0xb
movss dword [esp + 0x178], xmm0
call fcn.10164ca0
mov dword [esi + 0x15a0], 0x40900000
lea eax, [esp + 0x170]
mov esi, dword [0x104e2068]
push eax
mov dword [esp + 0x174], 2
movss xmm0, dword [esi + 0x156c]
lea ecx, [esi + 0x1cf4]
movss dword [esp + 0x178], xmm0
call fcn.10164ca0
mov dword [esi + 0x156c], 0x40900000
lea eax, [esp + 0x170]
mov esi, dword [0x104e2068]
push eax
mov dword [esp + 0x174], 0
movups xmm0, xmmword [esi + 0x1624]
lea ecx, [esi + 0x1ce8]
movups xmmword [esp + 0x178], xmm0
call fcn.10164d50
movaps xmm0, xmmword [0x101ffb80]
movups xmmword [esi + 0x1624], xmm0
mov eax, dword [0x10227c40]
cmp byte [eax + 0x3344], 0
je 0x1013a0c1
movups xmm0, xmmword [eax + 0x38a4]
mov esi, dword [0x104e2068]
lea eax, [esp + 0x18]
push eax
movaps xmmword [esp + 0x174], xmm0
mov dword [esp + 0x1c], 6
movups xmm0, xmmword [esi + 0x1684]
lea ecx, [esi + 0x1ce8]
movups xmmword [esp + 0x20], xmm0
call fcn.10164d50
movups xmm0, xmmword [esp + 0x170]
movups xmmword [esi + 0x1684], xmm0
mov eax, dword [0x104e2068]
mov esi, 0xc022b
movaps xmm0, xmmword [0x101ffc20]
mov ecx, 1
or dword [eax + 0x1c74], 0x10
movups xmmword [eax + 0x1cb0], xmm0
mov dword [eax + 0x1cc0], 0
movq xmm0, qword [str.UV]
mov dword [eax + 0x1cc4], 0
mov eax, dword [0x10227c4c]
cmp byte [eax + 0x5c], 0
mov ax, word [0x101f7318]
cmovne esi, ecx
mov word [esp + 0x178], ax
mov al, byte [0x101f731a]
xor edx, edx
movq qword [esp + 0x170], xmm0
mov byte [esp + 0x17a], al
mov dword [esp + 0x18], edx
mov eax, 0x8d3dcb09
mul edx
shr edx, 5
movsx eax, dl
mov edx, dword [esp + 0x18]
mov cl, dl
imul eax, eax, 0x3a
sub cl, al
add cl, 0x39
xor byte [esp + edx + 0x170], cl
inc edx
mov dword [esp + 0x18], edx
cmp edx, 0xb
jl 0x1013a136
push esi
xor edx, edx
lea ecx, [esp + 0x174]
call fcn.1015be20
mov ecx, dword [0x104e2068]
mov eax, dword [ecx + 0x1bec]
mov byte [eax + 0xa8], 1
mov eax, dword [ecx + 0x1bec]
mov esi, dword [eax + 0x2c4]
call fcn.1018b260
movss xmm2, dword [0x101ff140]
mov ecx, eax
push esi
call fcn.1018b700
mov ecx, dword [0x104e2068]
mov edi, 0x101da0e8
mov esi, 0x101da0e4
push 1
mov eax, dword [ecx + 0x1bec]
movss xmm0, dword [eax + 0x10]
movss dword [esp + 0x16c], xmm0
movss xmm0, dword [eax + 0x14]
mov byte [eax + 0xa8], 1
mov eax, dword [ecx + 0x1bec]
mov ecx, 0x10227c6c
cmp dword [0x10451068], 0
movss dword [esp + 0x164], xmm0
mov eax, dword [eax + 0x2c4]
mov dword [esp + 0x1c], eax
mov eax, edi
cmove eax, esi
push eax
call fcn.10022990
cmp dword [0x10451068], 0
xorps xmm2, xmm2
movaps xmm3, xmmword [0x101ffb40]
movss xmm0, dword [0x101ff140]
cmovne esi, edi
comiss xmm2, xmm3
movups xmmword [esp + 0x170], xmm3
jbe 0x1013a235
xorps xmm1, xmm1
jmp 0x1013a23c
movaps xmm1, xmm0
minss xmm1, xmm3
movss xmm3, dword [0x101ff458]
movss xmm4, dword [0x101ff0d4]
movss xmm5, dword [esp + 0x174]
mulss xmm1, xmm3
addss xmm1, xmm4
cvttss2si ecx, xmm1
shl ecx, 0x10
comiss xmm2, xmm5
jbe 0x1013a26e
xorps xmm1, xmm1
jmp 0x1013a275
movaps xmm1, xmm0
minss xmm1, xmm5
movss xmm5, dword [esp + 0x178]
mulss xmm1, xmm3
addss xmm1, xmm4
cvttss2si eax, xmm1
shl eax, 8
or ecx, eax
comiss xmm2, xmm5
jbe 0x1013a299
xorps xmm1, xmm1
jmp 0x1013a2a0
movaps xmm1, xmm0
minss xmm1, xmm5
mulss xmm1, xmm3
addss xmm1, xmm4
cvttss2si eax, xmm1
movss xmm1, dword [esp + 0x17c]
or ecx, eax
comiss xmm2, xmm1
jbe 0x1013a2c1
xorps xmm0, xmm0
jmp 0x1013a2c5
minss xmm0, xmm1
mov eax, dword [0x10227c4c]
mulss xmm0, xmm3
mov edi, dword [eax + 0x1c]
addss xmm0, xmm4
cvttss2si edx, xmm0
movss xmm0, dword [esp + 0x168]
addss xmm0, dword [0x101ff2dc]
shl edx, 0x18
or edx, ecx
movss dword [esp + 0x168], xmm0
movss xmm0, dword [esp + 0x160]
addss xmm0, dword [0x101ff268]
movss dword [esp + 0x16c], xmm0
test edx, 0xff000000
je 0x1013a38b
mov ecx, esi
lea eax, [ecx + 1]
mov dword [esp + 0x160], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1013a326
sub ecx, dword [esp + 0x160]
add ecx, esi
cmp esi, ecx
je 0x1013a38b
test edi, edi
jne 0x1013a348
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0x2c]
mov edi, dword [eax + 8]
push dword [esp + 0x16c]
mov eax, dword [esp + 0x1c]
push dword [esp + 0x16c]
movss xmm2, dword [0x101ff338]
push 0
movups xmm0, xmmword [eax + 0x60]
push ecx
mov dword [esp], 0
push ecx
push esi
lea ecx, [esp + 0x188]
push ecx
push edx
push eax
mov ecx, edi
movups xmmword [esp + 0x194], xmm0
call fcn.1016ac50
push ecx
lea ecx, [esp + 0xcc]
call fcn.100201b0
cmp byte [str._unq], 0
mov edi, 5
mov eax, dword [str.mSVY]
mov ecx, dword [0x101f77a4]
mov esi, dword [0x102296a0]
mov dword [esp + 0x160], eax
mov dword [esp + 0x164], ecx
je 0x1013a517
xor edx, edx
mov dword [esp + 0x18], edx
cmp esi, 2
jl 0x1013a4e0
movaps xmm2, xmmword [0x101ff6c0]
mov edx, 0x1f
movaps xmm3, xmmword [0x101ffc00]
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
movd xmm4, edi
psrad xmm1, xmm4
movd xmm5, edx
movaps xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x101ff750]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x101ff700]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x101ff7d0]
packuswb xmm1, xmm1
paddb xmm1, xmmword [0x101ff860]
movd xmm0, eax
pxor xmm1, xmm0
movaps xmm0, xmm2
movd dword [esp + 0x160], 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, xmm4
movaps xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x101ff750]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x101ff7d0]
packuswb xmm1, xmm1
paddb xmm1, xmmword [0x101ff860]
movd xmm0, ecx
pxor xmm1, xmm0
movd dword [esp + 0x164], xmm1
jmp 0x1013a517
mov eax, 0x8d3dcb09
imul edx
add edx, dword [esp + 0x18]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 0x18]
movsx eax, al
mov cl, dl
imul eax, eax, 0x3a
sub cl, al
add cl, 0x39
xor byte [esp + edx + 0x160], cl
inc edx
mov dword [esp + 0x18], edx
cmp edx, 8
jl 0x1013a4e0
lea edx, [esp + 0x160]
lea ecx, [esp + 0xc8]
call fcn.100bbe10
mov ecx, dword [0x10227c3c]
xor edx, edx
movss xmm0, dword [0x10451050]
mov ecx, dword [ecx + 0x10]
subss xmm0, dword [ecx + 0x10]
cvttss2si ecx, xmm0
test ecx, ecx
cmovs ecx, edx
push ecx
mov ecx, eax
call fcn.10020250
mov edx, 0x101f6adc
mov ecx, eax
call fcn.100bbe10
lea eax, [esp + 0x1b4]
push eax
lea ecx, [esp + 0xcc]
call fcn.10020110
mov esi, eax
cmp dword [esi + 0x14], 0x10
jb 0x1013a57d
mov esi, dword [esi]
mov edi, dword [0x104e2068]
mov eax, dword [edi + 0x1bec]
movss xmm1, dword [edi + 0x1988]
movss xmm2, dword [eax + 0x18]
movss dword [esp + 0x160], xmm2
test esi, esi
jne 0x1013a5ae
xorps xmm3, xmm3
movss dword [esp + 0x14], xmm1
jmp 0x1013a60d
movss xmm3, dword [0x101ff4f4]
lea eax, [esp + 0x168]
push 0
push 0
push esi
push ecx
mov ecx, dword [edi + 0x1984]
movaps xmm2, xmm1
mov dword [esp], 0xbf800000
push eax
call fcn.1016aa90
movss xmm0, dword [esp + 0x168]
addss xmm0, dword [0x101ff138]
movss xmm2, dword [esp + 0x160]
cvttss2si eax, xmm0
movss xmm0, dword [esp + 0x16c]
movss dword [esp + 0x14], xmm0
movd xmm3, eax
cvtdq2ps xmm3, xmm3
mov eax, dword [edi + 0x1bec]
subss xmm2, xmm3
push 1
xor edx, edx
mov ecx, esi
mov byte [eax + 0xa8], 1
mov eax, dword [edi + 0x1bec]
mulss xmm2, dword [0x101ff0d4]
movss xmm1, dword [eax + 0x10]
subss xmm1, dword [eax + 0x74]
movss xmm0, dword [eax + 0x104]
addss xmm1, xmm2
maxss xmm0, xmm1
movss dword [eax + 0xec], xmm1
movss dword [eax + 0x104], xmm0
call fcn.1016d430
mov ecx, dword [esp + 0x1c8]
cmp ecx, 0x10
jb 0x1013a69d
mov edx, dword [esp + 0x1b4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1013a693
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1013b0fc
push ecx
push edx
call fcn.1019d45c
add esp, 8
mov ecx, dword [0x10451058]
mov dword [esp + 0x1c4], 0
mov dword [esp + 0x1c8], 0xf
mov byte [esp + 0x1b4], 0
cmp ecx, 0xffffffff
je 0x1013afd2
movss xmm0, dword [0x10451050]
comiss xmm0, dword [0x10451060]
setae al
mov byte [esp + 0xf], al
cmp ecx, dword [0x104e4a48]
jne 0x1013aa43
xor ecx, ecx
test al, al
je 0x1013a7b7
mov edx, 0xff00ff00
call fcn.10153b70
mov ax, word [0x101f7698]
xor edx, edx
movq xmm0, qword [str.__IN____C]
mov word [esp + 0x178], ax
mov al, byte [0x101f769a]
movq qword [esp + 0x170], xmm0
mov byte [esp + 0x17a], al
mov dword [esp + 0x18], edx
mov eax, 0x8d3dcb09
mul edx
shr edx, 5
movsx eax, dl
mov edx, dword [esp + 0x18]
mov cl, dl
imul eax, eax, 0x3a
sub cl, al
add cl, 0x39
xor byte [esp + edx + 0x170], cl
inc edx
mov dword [esp + 0x18], edx
cmp edx, 0xb
jl 0x1013a731
mov esi, dword [0x104e2068]
movss xmm3, dword [0x101ff4f4]
push 0
push 0
mov eax, dword [esi + 0x1bec]
movss xmm2, dword [esi + 0x1988]
movss xmm0, dword [eax + 0x18]
lea eax, [esp + 0x178]
push eax
push ecx
mov ecx, dword [esi + 0x1984]
lea eax, [esp + 0x20]
mov dword [esp], 0xbf800000
push eax
movss dword [esp + 0x174], xmm0
call fcn.1016aa90
lea ecx, [esp + 0x170]
jmp 0x1013a99c
mov edx, 0xffff0000
call fcn.10153b70
cmp byte [0x101f72b3], 0
mov ecx, dword [0x101f72ac]
mov esi, dword [0x101f72b0]
mov dword [esp + 0x168], ecx
mov dword [esp + 0x16c], esi
je 0x1013a947
xor edx, edx
cmp dword [0x102296a0], 2
mov dword [esp + 0x18], edx
jl 0x1013a910
movaps xmm2, xmmword [0x101ff6c0]
mov eax, 5
movaps xmm4, xmmword [0x101ffc00]
movaps xmm1, xmm2
punpckldq xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
movd xmm5, eax
psrad xmm1, xmm5
mov eax, 0x1f
movaps xmm0, xmm1
movd xmm6, eax
mov eax, dword [0x101ff860]
psrld xmm0, xmm6
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x101ff750]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x101ff700]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x101ff7d0]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, ecx
pxor xmm1, xmm0
movaps xmm0, xmm2
movd dword [esp + 0x168], xmm1
movaps xmm1, xmm2
punpckldq xmm1, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm6
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x101ff750]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x101ff7d0]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, esi
pxor xmm1, xmm0
movd dword [esp + 0x16c], xmm1
jmp 0x1013a947
mov eax, 0x8d3dcb09
imul edx
add edx, dword [esp + 0x18]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 0x18]
movsx eax, al
mov cl, dl
imul eax, eax, 0x3a
sub cl, al
add cl, 0x39
xor byte [esp + edx + 0x168], cl
inc edx
mov dword [esp + 0x18], edx
cmp edx, 8
jl 0x1013a910
mov esi, dword [0x104e2068]
movss xmm3, dword [0x101ff4f4]
push 0
push 0
mov eax, dword [esi + 0x1bec]
movss xmm2, dword [esi + 0x1988]
movss xmm0, dword [eax + 0x18]
lea eax, [esp + 0x170]
push eax
push ecx
mov ecx, dword [esi + 0x1984]
lea eax, [esp + 0x20]
mov dword [esp], 0xbf800000
push eax
movss dword [esp + 0x174], xmm0
call fcn.1016aa90
lea ecx, [esp + 0x168]
movss xmm0, dword [esp + 0x10]
xor edx, edx
addss xmm0, dword [0x101ff138]
movss xmm2, dword [esp + 0x160]
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 [0x101ff0d4]
addss xmm1, xmm2
maxss xmm0, xmm1
movss dword [eax + 0xec], xmm1
movss dword [eax + 0x104], xmm0
call fcn.1016d430
mov esi, dword [0x104e2068]
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 0x1013afd8
mov eax, dword [0x104e4908]
mov edx, dword [0x104e490c]
cmp eax, edx
je 0x1013afd2
cmp dword [eax + 0x84], ecx
je 0x1013aa67
add eax, 0x148
cmp eax, edx
jne 0x1013aa56
cmp eax, edx
je 0x1013afd2
test eax, eax
je 0x1013afd2
push ecx
lea ecx, [esp + 0x34]
call fcn.100201b0
mov eax, dword [0x101f7438]
xor edx, edx
cmp dword [0x102296a0], 2
movups xmm0, xmmword [0x101f7428]
mov dword [esp + 0x1a0], eax
mov ax, word [0x101f743c]
mov word [esp + 0x1a4], ax
mov al, byte [0x101f743e]
movups xmmword [esp + 0x190], xmm0
mov byte [esp + 0x1a6], al
mov dword [esp + 0x18], edx
jl 0x1013ac24
movaps xmm0, xmmword [0x101ff860]
mov eax, 5
movaps xmm4, xmmword [0x101ff6c0]
movaps xmm3, xmmword [0x101ffc00]
movaps xmm6, xmmword [0x101ff750]
movd xmm5, eax
mov eax, 0x1f
movaps xmmword [esp + 0x170], xmm0
mov ecx, dword [esp + 0x170]
movd xmm7, eax
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, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm7
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x101ff7d0]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [esp + edx + 0x190]
pxor xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [esp + edx + 0x190], 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, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm7
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x101ff7d0]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [esp + edx + 0x194]
pxor xmm1, xmm0
movd dword [esp + edx + 0x194], xmm1
add edx, 8
cmp edx, 0x10
jl 0x1013ab10
mov dword [esp + 0x18], edx
cmp edx, 0x17
jge 0x1013ac5b
mov eax, 0x8d3dcb09
imul edx
add edx, dword [esp + 0x18]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 0x18]
movsx eax, al
mov cl, dl
imul eax, eax, 0x3a
sub cl, al
add cl, 0x39
xor byte [esp + edx + 0x190], cl
inc edx
mov dword [esp + 0x18], edx
cmp edx, 0x17
jl 0x1013ac24
lea edx, [esp + 0x190]
lea ecx, [esp + 0x30]
call fcn.100bbe10
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 + 0x178]
push eax
call fcn.1019c30d
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 [0x10227c3c]
lea ecx, [esp + 0x1c]
movss xmm0, dword [0x10451060]
xorps xmm1, xmm1
add esp, 0xc
mov dword [esp + 0x18], 0
mov eax, dword [eax + 0x10]
push edi
subss xmm0, dword [eax + 0x10]
maxss xmm1, xmm0
movss dword [esp + 0x16c], xmm1
call fcn.100217d0
cmp byte [esp + 0x14], 0
mov esi, 4
je 0x1013ada4
mov eax, dword [edi]
mov eax, dword [eax + 4]
mov eax, dword [eax + edi + 0x30]
mov ecx, dword [eax + 4]
mov dword [esp + 0x160], ecx
mov dword [esp + 0x1c], ecx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [esp + 0x18]
push eax
call fcn.100277d0
mov ecx, dword [esp + 0x164]
add esp, 4
mov dword [esp + 0x18], eax
test ecx, ecx
je 0x1013ad4b
mov edx, dword [ecx]
mov edx, dword [edx + 8]
call edx
test eax, eax
je 0x1013ad4b
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov eax, dword [edi]
sub esp, 8
movss xmm0, dword [esp + 0x170]
mov edx, dword [esp + 0x20]
mov byte [esp + 0x168], 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 + 0x2c]
lea eax, [esp + 0x174]
push dword [esp + 0x174]
push eax
call dword [edx + 0x14]
xor eax, eax
cmp byte [esp + 0x160], al
cmovne eax, esi
mov dword [esp + 0x18], 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 + 0x18]
or esi, dword [eax + 0xc]
and esi, 0x17
mov dword [eax + 0xc], esi
mov eax, dword [eax + 0x10]
and eax, esi
jne 0x1013b101
lea ecx, [esp + 0x10]
call fcn.10021720
mov edx, 0x101f6adc
mov ecx, edi
call fcn.100bbe10
lea eax, [esp + 0x190]
push eax
lea ecx, [esp + 0x34]
call fcn.10020110
mov esi, eax
cmp dword [esi + 0x14], 0x10
jb 0x1013adfb
mov esi, dword [esi]
mov edi, dword [0x104e2068]
mov eax, dword [edi + 0x1bec]
movss xmm2, dword [edi + 0x1988]
movss xmm0, dword [eax + 0x18]
movss dword [esp + 0x160], xmm0
test esi, esi
je 0x1013ae6e
movss xmm3, dword [0x101ff4f4]
lea eax, [esp + 0x10]
push 0
push 0
push esi
push ecx
mov ecx, dword [edi + 0x1984]
mov dword [esp], 0xbf800000
push eax
call fcn.1016aa90
movss xmm0, dword [esp + 0x10]
addss xmm0, dword [0x101ff138]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x2c], xmm0
movss xmm0, dword [esp + 0x160]
mov eax, dword [edi + 0x1bec]
xor edx, edx
subss xmm0, dword [esp + 0x2c]
push 1
mov ecx, esi
mov byte [eax + 0xa8], 1
mov eax, dword [edi + 0x1bec]
mulss xmm0, dword [0x101ff0d4]
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.1016d430
mov ecx, dword [esp + 0x1a4]
cmp ecx, 0x10
jb 0x1013af00
mov edx, dword [esp + 0x190]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1013aef6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1013b13e
push ecx
push edx
call fcn.1019d45c
add esp, 8
cmp byte [esp + 0xf], 0
mov eax, 0xff00ff00
mov edx, 0xffff0000
mov ecx, 0x29
cmovne edx, eax
call fcn.10153b70
mov eax, dword [0x10227c3c]
movss xmm0, dword [0x10451060]
movss xmm1, dword [0x101ff2b8]
mov eax, dword [eax + 0x10]
subss xmm0, dword [eax + 0x10]
divss xmm0, dword [0x10451064]
call fcn.100bf610
mov esi, dword [0x104e2068]
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 + 0x30]
mov eax, dword [eax + 4]
mov dword [esp + eax + 0x30], 0x101d96ac
mov eax, dword [esp + 0x30]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [esp + ecx + 0x2c], eax
lea ecx, [esp + 0x34]
call fcn.1001fd90
mov eax, dword [esp + 0x30]
mov eax, dword [eax + 4]
mov dword [esp + eax + 0x30], 0x101da0a8
mov eax, dword [esp + 0x30]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [esp + ecx + 0x2c], eax
lea eax, [esp + 0x80]
push eax
mov dword [esp + 0x84], 0x101d96e0
call fcn.1019c105
add esp, 4
mov esi, dword [0x104e2068]
mov eax, dword [esi + 0x1bec]
mov byte [eax + 0xa8], 1
mov eax, dword [0x10227c40]
cmp byte [eax + 0x3344], 0
je 0x1013b01b
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.10153c60
mov ecx, 1
call fcn.10153c60
call fcn.1015e0b0
mov eax, dword [esp + 0xc8]
mov eax, dword [eax + 4]
mov dword [esp + eax + 0xc8], 0x101d96ac
mov eax, dword [esp + 0xc8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [esp + ecx + 0xc4], eax
lea ecx, [esp + 0xcc]
call fcn.1001fd90
mov eax, dword [esp + 0xc8]
mov eax, dword [eax + 4]
mov dword [esp + eax + 0xc8], 0x101da0a8
mov eax, dword [esp + 0xc8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [esp + ecx + 0xc4], eax
lea eax, [esp + 0x118]
push eax
mov dword [esp + 0x11c], 0x101d96e0
call fcn.1019c105
add esp, 4
push 0x104e489c
call fcn.1019c8ee
add esp, 4
mov ecx, dword [esp + 0x1cc]
pop edi
pop esi
xor ecx, esp
call fcn.1019d163
mov esp, ebp
pop ebp
ret
push eax
call fcn.1019c9de
call fcn.101a26e6
test al, 4
je 0x1013b10c
mov esi, str.ios_base::badbit_set
jmp 0x1013b11b
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 + 0x168]
call fcn.100035d0
push eax
push esi
lea ecx, [esp + 0x20]
call fcn.10003c80
mov ecx, eax
call fcn.10003450
call fcn.101a26e6
int3