Function at 0x1013cde0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x1c8
mov eax, dword [0x1020c0c0]
xor eax, esp
mov dword [esp + 0x1c4], eax
mov eax, dword [0x10229c78]
push esi
push edi
cmp byte [eax + 0x36ad], 0
je 0x1013e015
push 0x1045647c
call fcn.1019f887
add esp, 4
test eax, eax
jne 0x1013e029
movss xmm0, dword [0x10449ba8]
xorps xmm1, xmm1
ucomiss xmm0, xmm1
movss dword [esp + 0x2c], xmm1
lahf
test ah, 0x44
mov eax, dword [0x10229c84]
jp 0x1013ce4c
cmp byte [eax + 0x5c], 0
je 0x1013e008
cmp byte [eax + 0x5c], 0
mov esi, dword [0x10453c48]
jne 0x1013ce69
or dword [esi + 0x1c74], 0x40
mov dword [esi + 0x1cc8], 0x3f000000
movss xmm0, dword [esi + 0x54]
subss xmm0, dword [0x10202324]
or dword [esi + 0x1c74], 3
mov dword [esi + 0x1c88], 0x42700000
mov dword [esi + 0x1c8c], 0
mov dword [esi + 0x1c90], 0
mulss xmm0, dword [0x10201ff4]
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 [0x10229c84]
cmp byte [eax + 0x5c], 0
jne 0x1013cef2
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.10167cd0
mov dword [esi + 0x15a0], 0x40900000
lea eax, [esp + 0x170]
mov esi, dword [0x10453c48]
push eax
mov dword [esp + 0x174], 2
movss xmm0, dword [esi + 0x156c]
lea ecx, [esi + 0x1cf4]
movss dword [esp + 0x178], xmm0
call fcn.10167cd0
mov dword [esi + 0x156c], 0x40900000
lea eax, [esp + 0x170]
mov esi, dword [0x10453c48]
push eax
mov dword [esp + 0x174], 0
movups xmm0, xmmword [esi + 0x1624]
lea ecx, [esi + 0x1ce8]
movups xmmword [esp + 0x178], xmm0
call fcn.10167d80
movaps xmm0, xmmword [0x10202a80]
movups xmmword [esi + 0x1624], xmm0
mov eax, dword [0x10229c78]
cmp byte [eax + 0x3344], 0
je 0x1013d001
movups xmm0, xmmword [eax + 0x38b8]
mov esi, dword [0x10453c48]
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.10167d80
movups xmm0, xmmword [esp + 0x170]
movups xmmword [esi + 0x1684], xmm0
mov eax, dword [0x10453c48]
mov esi, 0xc022b
movaps xmm0, xmmword [0x10202b40]
mov ecx, 1
or dword [eax + 0x1c74], 0x10
movups xmmword [eax + 0x1cb0], xmm0
mov dword [eax + 0x1cc0], 0
movq xmm0, qword [str.pYW]
mov dword [eax + 0x1cc4], 0
mov eax, dword [0x10229c84]
cmp byte [eax + 0x5c], 0
mov ax, word [0x101f9fc0]
cmovne esi, ecx
mov word [esp + 0x178], ax
mov al, byte [0x101f9fc2]
xor edx, edx
movq qword [esp + 0x170], xmm0
mov byte [esp + 0x17a], al
mov dword [esp + 0x18], edx
nop word [eax + eax]
mov eax, 0x3521cfb3
mul edx
mov eax, dword [esp + 0x18]
sub eax, edx
shr eax, 1
add eax, edx
mov edx, dword [esp + 0x18]
shr eax, 5
mov cl, dl
movsx eax, al
imul eax, eax, 0x35
sub cl, al
add cl, 0x32
xor byte [esp + edx + 0x170], cl
inc edx
mov dword [esp + 0x18], edx
cmp edx, 0xb
jl 0x1013d080
push esi
xor edx, edx
lea ecx, [esp + 0x174]
call fcn.1015ee50
mov ecx, dword [0x10453c48]
mov eax, dword [ecx + 0x1bec]
mov byte [eax + 0xa8], 1
mov eax, dword [ecx + 0x1bec]
mov esi, dword [eax + 0x2c4]
call fcn.1018e240
movss xmm2, dword [0x10202060]
mov ecx, eax
push esi
call fcn.1018e6e0
mov ecx, dword [0x10453c48]
mov edi, 0x101dd108
mov esi, 0x101dd104
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, 0x10229ca4
cmp dword [0x10449bc0], 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.10022c30
cmp dword [0x10449bc0], 0
xorps xmm2, xmm2
movaps xmm3, xmmword [0x10202a40]
movss xmm0, dword [0x10202060]
cmovne esi, edi
comiss xmm2, xmm3
movups xmmword [esp + 0x170], xmm3
jbe 0x1013d189
xorps xmm1, xmm1
jmp 0x1013d190
movaps xmm1, xmm0
minss xmm1, xmm3
movss xmm3, dword [0x10202378]
movss xmm4, dword [0x10201ff4]
movss xmm5, dword [esp + 0x174]
mulss xmm1, xmm3
addss xmm1, xmm4
cvttss2si ecx, xmm1
shl ecx, 0x10
comiss xmm2, xmm5
jbe 0x1013d1c2
xorps xmm1, xmm1
jmp 0x1013d1c9
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 0x1013d1ed
xorps xmm1, xmm1
jmp 0x1013d1f4
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 0x1013d215
xorps xmm0, xmm0
jmp 0x1013d219
minss xmm0, xmm1
mov eax, dword [0x10229c84]
mulss xmm0, xmm3
mov edi, dword [eax + 0x1c]
addss xmm0, xmm4
cvttss2si edx, xmm0
movss xmm0, dword [esp + 0x168]
addss xmm0, dword [0x102021fc]
shl edx, 0x18
or edx, ecx
movss dword [esp + 0x168], xmm0
movss xmm0, dword [esp + 0x160]
addss xmm0, dword [0x10202188]
movss dword [esp + 0x16c], xmm0
test edx, 0xff000000
je 0x1013d2e5
mov ecx, esi
lea eax, [ecx + 1]
mov dword [esp + 0x160], eax
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1013d280
sub ecx, dword [esp + 0x160]
add ecx, esi
cmp esi, ecx
je 0x1013d2e5
test edi, edi
jne 0x1013d2a2
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 [0x10202258]
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.1016dc80
push ecx
lea ecx, [esp + 0xcc]
call fcn.10020360
cmp byte [0x101fa423], 0
mov edi, 4
mov eax, dword [0x101fa41c]
mov ecx, dword [0x101fa420]
mov esi, dword [0x1022b6e0]
mov dword [esp + 0x160], eax
mov dword [esp + 0x164], ecx
je 0x1013d463
xor edx, edx
mov dword [esp + 0x18], edx
cmp esi, 2
jl 0x1013d430
movaps xmm2, xmmword [0x102025e0]
mov edx, 0x1f
movaps xmm3, xmmword [0x10202aa0]
movaps xmm1, xmm2
punpckldq xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
movd xmm4, edi
psrad xmm1, xmm4
movd xmm5, edx
movaps xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x10202660]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x10202620]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x10202710]
packuswb xmm1, xmm1
paddb xmm1, xmmword [str.2222222222222222777777777777777788888888888888889999999999999999]
movd xmm0, eax
pxor xmm1, xmm0
movaps xmm0, xmm2
movd dword [esp + 0x160], xmm1
movaps xmm1, xmm2
punpckldq xmm1, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm4
movaps xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x10202660]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x10202710]
packuswb xmm1, xmm1
paddb xmm1, xmmword [str.2222222222222222777777777777777788888888888888889999999999999999]
movd xmm0, ecx
pxor xmm1, xmm0
movd dword [esp + 0x164], xmm1
jmp 0x1013d463
mov eax, 0x4d4873ed
imul edx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 0x18]
movsx eax, al
mov cl, dl
imul eax, eax, 0x35
sub cl, al
add cl, 0x32
xor byte [esp + edx + 0x160], cl
inc edx
mov dword [esp + 0x18], edx
cmp edx, 8
jl 0x1013d430
lea edx, [esp + 0x160]
lea ecx, [esp + 0xc8]
call fcn.100be240
mov ecx, dword [0x10229c74]
xor edx, edx
movss xmm0, dword [0x10449ba8]
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.10020400
mov edx, 0x101f9ae8
mov ecx, eax
call fcn.100be240
lea eax, [esp + 0x1b4]
push eax
lea ecx, [esp + 0xcc]
call fcn.100202c0
mov esi, eax
cmp dword [esi + 0x14], 0x10
jb 0x1013d4c9
mov esi, dword [esi]
mov ecx, dword [0x10453c48]
mov eax, dword [ecx + 0x1bec]
movss xmm1, dword [ecx + 0x1988]
movss xmm2, dword [eax + 0x18]
movss dword [esp + 0x160], xmm2
test esi, esi
jne 0x1013d4fa
xorps xmm3, xmm3
movss dword [esp + 0x14], xmm1
jmp 0x1013d55f
movss xmm3, dword [0x10202414]
lea eax, [esp + 0x168]
push 0
push 0
push esi
push ecx
mov ecx, dword [ecx + 0x1984]
movaps xmm2, xmm1
mov dword [esp], 0xbf800000
push eax
call fcn.1016dac0
movss xmm0, dword [esp + 0x168]
addss xmm0, dword [0x10202058]
movss xmm2, dword [esp + 0x160]
mov ecx, dword [0x10453c48]
cvttss2si eax, xmm0
movss xmm0, dword [esp + 0x16c]
movss dword [esp + 0x14], xmm0
movd xmm3, eax
cvtdq2ps xmm3, xmm3
mov eax, dword [ecx + 0x1bec]
subss xmm2, xmm3
push 1
xor edx, edx
mov byte [eax + 0xa8], 1
mov eax, dword [ecx + 0x1bec]
mov ecx, esi
mulss xmm2, dword [0x10201ff4]
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.10170460
mov ecx, dword [esp + 0x1c8]
cmp ecx, 0x10
jb 0x1013d5ef
mov edx, dword [esp + 0x1b4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1013d5e5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1013e02f
push ecx
push edx
call fcn.101a043c
add esp, 8
mov ecx, dword [0x10449bb0]
mov dword [esp + 0x1c4], 0
mov dword [esp + 0x1c8], 0xf
mov byte [esp + 0x1b4], 0
cmp ecx, 0xffffffff
je 0x1013df05
movss xmm0, dword [0x10449ba8]
comiss xmm0, dword [0x10449bb8]
setae al
mov byte [esp + 0xf], al
cmp ecx, dword [0x1051df48]
jne 0x1013d98f
xor ecx, ecx
test al, al
je 0x1013d713
mov edx, 0xff00ff00
call fcn.10156ba0
mov ax, word [0x101fa2a0]
xor edx, edx
movq xmm0, qword [str.vVR_EVZXV_]
mov word [esp + 0x178], ax
mov al, byte [0x101fa2a2]
movq qword [esp + 0x170], xmm0
mov byte [esp + 0x17a], al
mov dword [esp + 0x18], edx
mov eax, 0x3521cfb3
mul edx
mov eax, dword [esp + 0x18]
sub eax, edx
shr eax, 1
add eax, edx
mov edx, dword [esp + 0x18]
shr eax, 5
mov cl, dl
movsx eax, al
imul eax, eax, 0x35
sub cl, al
add cl, 0x32
xor byte [esp + edx + 0x170], cl
inc edx
mov dword [esp + 0x18], edx
cmp edx, 0xb
jl 0x1013d683
mov esi, dword [0x10453c48]
movss xmm3, dword [0x10202414]
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.1016dac0
lea ecx, [esp + 0x170]
jmp 0x1013d8e8
mov edx, 0xffff0000
call fcn.10156ba0
cmp byte [0x101fa453], 0
mov ecx, dword [0x101fa44c]
mov esi, dword [0x101fa450]
mov dword [esp + 0x168], ecx
mov dword [esp + 0x16c], esi
je 0x1013d893
xor edx, edx
cmp dword [0x1022b6e0], 2
mov dword [esp + 0x18], edx
jl 0x1013d860
movaps xmm2, xmmword [0x102025e0]
mov eax, 0x1f
movaps xmm4, xmmword [0x10202aa0]
movaps xmm1, xmm2
punpckldq xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
movd xmm5, edi
psrad xmm1, xmm5
movd xmm6, eax
mov eax, dword [str.2222222222222222777777777777777788888888888888889999999999999999]
movaps xmm0, xmm1
psrld xmm0, xmm6
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x10202660]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x10202620]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x10202710]
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
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm6
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x10202660]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x10202710]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, esi
pxor xmm1, xmm0
movd dword [esp + 0x16c], xmm1
jmp 0x1013d893
mov eax, 0x4d4873ed
imul edx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 0x18]
movsx eax, al
mov cl, dl
imul eax, eax, 0x35
sub cl, al
add cl, 0x32
xor byte [esp + edx + 0x168], cl
inc edx
mov dword [esp + 0x18], edx
cmp edx, 8
jl 0x1013d860
mov esi, dword [0x10453c48]
movss xmm3, dword [0x10202414]
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.1016dac0
lea ecx, [esp + 0x168]
movss xmm0, dword [esp + 0x10]
xor edx, edx
addss xmm0, dword [0x10202058]
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 [0x10201ff4]
addss xmm1, xmm2
maxss xmm0, xmm1
movss dword [eax + 0xec], xmm1
movss dword [eax + 0x104], xmm0
call fcn.10170460
mov esi, dword [0x10453c48]
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 0x1013df0b
mov eax, dword [0x1051de0c]
mov edx, dword [0x1051de10]
cmp eax, edx
je 0x1013df05
cmp dword [eax + 0x84], ecx
je 0x1013d9b3
add eax, 0x148
cmp eax, edx
jne 0x1013d9a2
cmp eax, edx
je 0x1013df05
test eax, eax
je 0x1013df05
push ecx
lea ecx, [esp + 0x34]
call fcn.10020360
mov eax, dword [0x101f9f04]
xor edx, edx
cmp dword [0x1022b6e0], 2
movups xmm0, xmmword [0x101f9ef4]
mov dword [esp + 0x1a0], eax
mov ax, word [0x101f9f08]
mov word [esp + 0x1a4], ax
mov al, byte [0x101f9f0a]
movups xmmword [esp + 0x190], xmm0
mov byte [esp + 0x1a6], al
mov dword [esp + 0x18], edx
jl 0x1013db60
movaps xmm0, xmmword [str.2222222222222222777777777777777788888888888888889999999999999999]
mov eax, 0x1f
movaps xmm4, xmmword [0x102025e0]
movaps xmm3, xmmword [0x10202aa0]
movaps xmm6, xmmword [0x10202660]
movaps xmmword [esp + 0x170], xmm0
mov ecx, dword [esp + 0x170]
movd xmm5, edi
movd xmm7, eax
nop dword [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
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 [0x10202710]
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
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
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 [0x10202710]
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 0x1013da50
mov dword [esp + 0x18], edx
cmp edx, 0x17
jge 0x1013db93
nop dword [eax]
mov eax, 0x4d4873ed
imul edx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 0x18]
movsx eax, al
mov cl, dl
imul eax, eax, 0x35
sub cl, al
add cl, 0x32
xor byte [esp + edx + 0x190], cl
inc edx
mov dword [esp + 0x18], edx
cmp edx, 0x17
jl 0x1013db60
lea edx, [esp + 0x190]
lea ecx, [esp + 0x30]
call fcn.100be240
mov esi, eax
push 0
push 3
mov ecx, dword [esi]
mov edx, dword [ecx + 4]
mov ecx, dword [edx + esi + 0x14]
and ecx, 0xffffefff
or ecx, 0x2000
mov dword [edx + esi + 0x14], ecx
mov eax, dword [esi]
mov eax, dword [eax + 4]
or dword [eax + esi + 0x14], 0x10
lea eax, [esp + 0x178]
push eax
call fcn.1019f2ed
mov ecx, dword [esi]
add esp, 0xc
push dword [eax + 0xc]
mov ecx, dword [ecx + 4]
push dword [eax + 8]
mov eax, dword [eax]
add ecx, esi
push ecx
call eax
mov eax, dword [0x10229c74]
lea ecx, [esp + 0x1c]
movss xmm0, dword [0x10449bb8]
xorps xmm1, xmm1
add esp, 0xc
mov dword [esp + 0x18], 0
mov eax, dword [eax + 0x10]
push esi
subss xmm0, dword [eax + 0x10]
maxss xmm1, xmm0
movss dword [esp + 0x16c], xmm1
call fcn.10021980
cmp byte [esp + 0x14], 0
je 0x1013dcd7
mov eax, dword [esi]
mov eax, dword [eax + 4]
mov eax, dword [eax + esi + 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.10027a90
mov ecx, dword [esp + 0x164]
add esp, 4
mov dword [esp + 0x18], eax
test ecx, ecx
je 0x1013dc7e
mov edx, dword [ecx]
mov edx, dword [edx + 8]
call edx
test eax, eax
je 0x1013dc7e
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov eax, dword [esi]
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 + esi + 0x40]
add ecx, esi
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, edi
mov dword [esp + 0x18], eax
mov eax, dword [esi]
xor ecx, ecx
mov eax, dword [eax + 4]
add eax, esi
cmp dword [eax + 0x38], ecx
cmovne edi, ecx
or edi, dword [esp + 0x18]
or edi, dword [eax + 0xc]
and edi, 0x17
mov dword [eax + 0xc], edi
mov eax, dword [eax + 0x10]
and eax, edi
jne 0x1013e034
lea ecx, [esp + 0x10]
call fcn.100218d0
mov edx, 0x101f9ae8
mov ecx, esi
call fcn.100be240
lea eax, [esp + 0x190]
push eax
lea ecx, [esp + 0x34]
call fcn.100202c0
mov esi, eax
cmp dword [esi + 0x14], 0x10
jb 0x1013dd2e
mov esi, dword [esi]
mov edi, dword [0x10453c48]
mov eax, dword [edi + 0x1bec]
movss xmm2, dword [edi + 0x1988]
movss xmm0, dword [eax + 0x18]
movss dword [esp + 0x160], xmm0
test esi, esi
je 0x1013dda1
movss xmm3, dword [0x10202414]
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.1016dac0
movss xmm0, dword [esp + 0x10]
addss xmm0, dword [0x10202058]
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 [0x10201ff4]
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.10170460
mov ecx, dword [esp + 0x1a4]
cmp ecx, 0x10
jb 0x1013de33
mov edx, dword [esp + 0x190]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1013de29
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1013e071
push ecx
push edx
call fcn.101a043c
add esp, 8
cmp byte [esp + 0xf], 0
mov eax, 0xff00ff00
mov edx, 0xffff0000
mov ecx, 0x29
cmovne edx, eax
call fcn.10156ba0
mov eax, dword [0x10229c74]
movss xmm0, dword [0x10449bb8]
movss xmm1, dword [0x102021d8]
mov eax, dword [eax + 0x10]
subss xmm0, dword [eax + 0x10]
divss xmm0, dword [0x10449bbc]
call fcn.100c16b0
mov esi, dword [0x10453c48]
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], 0x101dc6e4
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.1001ff40
mov eax, dword [esp + 0x30]
mov eax, dword [eax + 4]
mov dword [esp + eax + 0x30], 0x101dd0c8
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], 0x101dc718
call fcn.1019f0e5
add esp, 4
mov esi, dword [0x10453c48]
mov eax, dword [esi + 0x1bec]
mov byte [eax + 0xa8], 1
mov eax, dword [0x10229c78]
cmp byte [eax + 0x3344], 0
je 0x1013df4e
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.10156c90
mov ecx, 1
call fcn.10156c90
call fcn.101610e0
mov eax, dword [esp + 0xc8]
mov eax, dword [eax + 4]
mov dword [esp + eax + 0xc8], 0x101dc6e4
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.1001ff40
mov eax, dword [esp + 0xc8]
mov eax, dword [eax + 4]
mov dword [esp + eax + 0xc8], 0x101dd0c8
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], 0x101dc718
call fcn.1019f0e5
add esp, 4
push 0x1045647c
call fcn.1019f8ce
add esp, 4
mov ecx, dword [esp + 0x1cc]
pop edi
pop esi
xor ecx, esp
call fcn.101a0143
mov esp, ebp
pop ebp
ret
push eax
call fcn.1019f9be
call fcn.101a56c6
test al, 4
je 0x1013e03f
mov esi, str.ios_base::badbit_set
jmp 0x1013e04e
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.10003680
push eax
push esi
lea ecx, [esp + 0x20]
call fcn.10003d30
mov ecx, eax
call fcn.10003500
call fcn.101a56c6
int3