Function at 0x101374c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x1c8
mov eax, dword [0x102070c0]
xor eax, esp
mov dword [esp + 0x1c4], eax
mov eax, dword [0x10224ca0]
push esi
push edi
cmp byte [eax + 0x36ad], 0
je 0x101387bb
push 0x10352a2c
call fcn.1019998b
add esp, 4
test eax, eax
jne 0x101387cf
cmp dword [0x10352a58], 0x7fffffff
je 0x101387d6
movss xmm0, dword [0x103436f8]
xorps xmm1, xmm1
ucomiss xmm0, xmm1
movss dword [esp + 0x1c], xmm1
lahf
test ah, 0x44
mov eax, dword [0x10224cac]
jp 0x1013753c
cmp byte [eax + 0x5c], 0
je 0x101387ae
cmp byte [eax + 0x5c], 0
mov esi, dword [0x103501f8]
movss xmm1, dword [0x101f878c]
jne 0x10137561
or dword [esi + 0x1c74], 0x40
mov dword [esi + 0x1cc8], 0x3f000000
movss xmm0, dword [esi + 0x54]
subss xmm0, dword [0x101f8aac]
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 [0x10224cac]
cmp byte [eax + 0x5c], 0
jne 0x101375e6
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.10162270
mov dword [esi + 0x15a0], 0x40900000
lea eax, [esp + 0x170]
mov esi, dword [0x103501f8]
push eax
mov dword [esp + 0x174], 2
movss xmm0, dword [esi + 0x156c]
lea ecx, [esi + 0x1cf4]
movss dword [esp + 0x178], xmm0
call fcn.10162270
mov dword [esi + 0x156c], 0x40900000
lea eax, [esp + 0x20]
mov esi, dword [0x103501f8]
push eax
mov dword [esp + 0x24], 0
movups xmm0, xmmword [esi + 0x1624]
lea ecx, [esi + 0x1ce8]
movups xmmword [esp + 0x28], xmm0
call fcn.10162320
mov dword [esi + 0x1624], 0x437f0000
mov dword [esi + 0x1628], 0x437f0000
mov dword [esi + 0x162c], 0x437f0000
mov dword [esi + 0x1630], 0x437f0000
mov eax, dword [0x10224ca0]
cmp byte [eax + 0x3344], 0
je 0x1013776e
movss xmm0, dword [eax + 0x38b8]
mov esi, dword [0x103501f8]
movss dword [esp + 0xc], xmm0
movss xmm0, dword [eax + 0x38bc]
movss dword [esp + 0x180], xmm0
movss xmm0, dword [eax + 0x38c0]
lea ecx, [esi + 0x1ce8]
movss dword [esp + 0x168], xmm0
movss xmm0, dword [eax + 0x38c4]
lea eax, [esp + 0x20]
movss dword [esp + 0x170], xmm0
movups xmm0, xmmword [esi + 0x1684]
push eax
mov dword [esp + 0x24], 6
movups xmmword [esp + 0x28], xmm0
call fcn.10162320
movss xmm0, dword [esp + 0xc]
movss dword [esi + 0x1684], xmm0
movss xmm0, dword [esp + 0x180]
movss dword [esi + 0x1688], xmm0
movss xmm0, dword [esp + 0x168]
movss dword [esi + 0x168c], xmm0
movss xmm0, dword [esp + 0x170]
movss dword [esi + 0x1690], xmm0
mov eax, dword [0x103501f8]
mov esi, 0xc022b
movss xmm0, dword [0x101f8bd4]
mov ecx, 1
movss xmm2, dword [0x101f8b9c]
movss xmm1, dword [esp + 0x1c]
or dword [eax + 0x1c74], 0x10
movss dword [esp + 0x170], 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.pYW]
mov dword [eax + 0x1cc0], 0
mov dword [eax + 0x1cc4], 0
mov eax, dword [0x10224cac]
cmp byte [eax + 0x5c], 0
mov ax, word [0x101f0cf4]
cmovne esi, ecx
mov word [esp + 0x178], ax
mov al, byte [0x101f0cf6]
xor edx, edx
movq qword [esp + 0x170], xmm0
mov byte [esp + 0x17a], al
mov dword [esp + 0xc], edx
nop word [eax + eax]
mov eax, 0x2f684bdb
mul edx
mov eax, dword [esp + 0xc]
sub eax, edx
shr eax, 1
add eax, edx
mov edx, dword [esp + 0xc]
shr eax, 5
mov cl, dl
movsx eax, al
imul eax, eax, 0x36
sub cl, al
add cl, 0x32
xor byte [esp + edx + 0x170], cl
inc edx
mov dword [esp + 0xc], edx
cmp edx, 0xb
jl 0x10137820
push esi
xor edx, edx
lea ecx, [esp + 0x174]
call fcn.101592e0
mov ecx, dword [0x103501f8]
mov eax, dword [ecx + 0x1bec]
mov byte [eax + 0xa8], 1
mov eax, dword [ecx + 0x1bec]
mov esi, dword [eax + 0x2c4]
call fcn.10188440
movss xmm2, dword [0x101f87f8]
mov ecx, eax
push esi
call fcn.101888f0
mov ecx, dword [0x103501f8]
mov edi, 0x101d3768
mov esi, 0x101d3764
push 1
mov eax, dword [ecx + 0x1bec]
movss xmm0, dword [eax + 0x10]
movss dword [esp + 0x174], xmm0
movss xmm0, dword [eax + 0x14]
mov byte [eax + 0xa8], 1
mov eax, dword [ecx + 0x1bec]
mov ecx, 0x10224ccc
cmp dword [0x10343710], 0
movss dword [esp + 0x16c], xmm0
mov eax, dword [eax + 0x2c4]
mov dword [esp + 0x10], eax
mov eax, edi
cmove eax, esi
push eax
call fcn.10022cd0
cmp dword [0x10343710], 0
movaps xmm3, xmmword [0x101f9140]
movss xmm2, dword [esp + 0x1c]
cmovne esi, edi
comiss xmm2, xmm3
movss xmm0, dword [0x101f87f8]
movups xmmword [esp + 0x180], xmm3
jbe 0x1013792c
movaps xmm1, xmm2
jmp 0x10137933
movaps xmm1, xmm0
minss xmm1, xmm3
movss xmm3, dword [0x101f8b00]
movss xmm5, dword [0x101f878c]
movss xmm4, dword [esp + 0x184]
mulss xmm1, xmm3
addss xmm1, xmm5
cvttss2si ecx, xmm1
shl ecx, 0x10
comiss xmm2, xmm4
jbe 0x10137965
movaps xmm1, xmm2
jmp 0x1013796c
movaps xmm1, xmm0
minss xmm1, xmm4
movss xmm4, dword [esp + 0x188]
mulss xmm1, xmm3
addss xmm1, xmm5
cvttss2si eax, xmm1
shl eax, 8
or ecx, eax
comiss xmm2, xmm4
jbe 0x10137990
movaps xmm1, xmm2
jmp 0x10137997
movaps xmm1, xmm0
minss xmm1, xmm4
mulss xmm1, xmm3
addss xmm1, xmm5
cvttss2si eax, xmm1
movss xmm1, dword [esp + 0x18c]
or ecx, eax
comiss xmm2, xmm1
jbe 0x101379b8
movaps xmm0, xmm2
jmp 0x101379bc
minss xmm0, xmm1
mov eax, dword [0x10224cac]
mulss xmm0, xmm3
mov edi, dword [eax + 0x1c]
addss xmm0, xmm5
cvttss2si edx, xmm0
movss xmm0, dword [esp + 0x170]
addss xmm0, dword [0x101f898c]
shl edx, 0x18
or edx, ecx
movss dword [esp + 0x180], xmm0
movss xmm0, dword [esp + 0x168]
addss xmm0, dword [0x101f8918]
movss dword [esp + 0x184], xmm0
test edx, 0xff000000
je 0x10137a85
mov ecx, esi
lea eax, [ecx + 1]
mov dword [esp + 0x170], eax
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10137a20
sub ecx, dword [esp + 0x170]
add ecx, esi
cmp esi, ecx
je 0x10137a85
test edi, edi
jne 0x10137a42
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 0x2c]
mov edi, dword [eax + 8]
push dword [esp + 0x184]
mov eax, dword [esp + 0x10]
push dword [esp + 0x184]
movss xmm2, dword [0x101f89e8]
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.101684f0
push ecx
lea ecx, [esp + 0xd4]
call fcn.10020240
cmp byte [str.9_fz], 0
mov eax, dword [str.fZYP]
mov ecx, dword [0x101f0b2c]
mov esi, dword [0x10225d40]
mov dword [esp + 0x170], eax
mov dword [esp + 0x174], ecx
je 0x10137bf3
xor edx, edx
mov dword [esp + 0xc], edx
cmp esi, 2
jl 0x10137bc0
movaps xmm2, xmmword [0x101f8d60]
movaps xmm3, xmmword [0x101f91b0]
movaps xmm1, xmm2
punpckldq xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x101f8e10]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x101f8da0]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x101f8eb0]
packuswb xmm1, xmm1
paddb xmm1, xmmword [0x101f8f00]
movd xmm0, eax
xorps xmm1, xmm0
movaps xmm0, xmm2
movd dword [esp + 0x170], xmm1
movaps xmm1, xmm2
punpckldq xmm1, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x101f8e10]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x101f8eb0]
packuswb xmm1, xmm1
paddb xmm1, xmmword [0x101f8f00]
movd xmm0, ecx
xorps xmm1, xmm0
movd dword [esp + 0x174], xmm1
jmp 0x10137bf3
mov eax, 0x4bda12f7
imul edx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 0xc]
movsx eax, al
mov cl, dl
imul eax, eax, 0x36
sub cl, al
add cl, 0x32
xor byte [esp + edx + 0x170], cl
inc edx
mov dword [esp + 0xc], edx
cmp edx, 8
jl 0x10137bc0
lea edx, [esp + 0x170]
lea ecx, [esp + 0xd0]
call fcn.100bc180
mov ecx, dword [0x10224c9c]
xor edx, edx
movss xmm0, dword [0x103436f8]
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.100202c0
mov edx, 0x101f027c
mov ecx, eax
call fcn.100bc180
lea eax, [esp + 0x1b4]
push eax
lea ecx, [esp + 0xd4]
call fcn.100201a0
mov esi, eax
cmp dword [esi + 0x14], 0xf
jbe 0x10137c59
mov esi, dword [esi]
mov edi, dword [0x103501f8]
mov eax, dword [edi + 0x1bec]
movss xmm0, dword [eax + 0x18]
movss dword [esp + 0x170], xmm0
test esi, esi
jne 0x10137c7f
movss xmm2, dword [esp + 0x1c]
jmp 0x10137ce6
movss xmm3, dword [0x101f8b9c]
lea eax, [esp + 0x168]
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.10168330
movss xmm0, dword [esp + 0x168]
addss xmm0, dword [0x101f87f0]
cvttss2si eax, xmm0
movss xmm0, dword [esp + 0x16c]
movss dword [esp + 0x16c], xmm0
movss xmm0, dword [esp + 0x170]
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 [0x101f878c]
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.1016ad00
mov ecx, dword [esp + 0x1c8]
cmp ecx, 0xf
jbe 0x10137d76
mov edx, dword [esp + 0x1b4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10137d6c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x101387e7
push ecx
push edx
call fcn.1019a58d
add esp, 8
mov ecx, dword [0x10343700]
mov dword [esp + 0x1c4], 0
mov dword [esp + 0x1c8], 0xf
mov byte [esp + 0x1b4], 0
cmp ecx, 0xffffffff
je 0x101386ab
movss xmm0, dword [0x103436f8]
comiss xmm0, dword [0x10343708]
setae al
mov byte [esp + 0xb], al
cmp ecx, dword [0x10352bc8]
jne 0x10138119
xor ecx, ecx
test al, al
je 0x10137eac
mov edx, 0xff00ff00
call fcn.10151150
mov ax, word [0x101f0adc]
xor edx, edx
movq xmm0, qword [str.vVR_EVZXV_]
mov word [esp + 0x188], ax
mov al, byte [0x101f0ade]
movq qword [esp + 0x180], xmm0
mov byte [esp + 0x18a], al
mov dword [esp + 0xc], edx
nop word [eax + eax]
mov eax, 0x2f684bdb
mul edx
mov eax, dword [esp + 0xc]
sub eax, edx
shr eax, 1
add eax, edx
mov edx, dword [esp + 0xc]
shr eax, 5
mov cl, dl
movsx eax, al
imul eax, eax, 0x36
sub cl, al
add cl, 0x32
xor byte [esp + edx + 0x180], cl
inc edx
mov dword [esp + 0xc], edx
cmp edx, 0xb
jl 0x10137e10
mov esi, dword [0x103501f8]
movss xmm3, dword [0x101f8b9c]
push 0
push 0
mov eax, dword [esi + 0x1bec]
movss xmm2, dword [esi + 0x1988]
movss xmm0, dword [eax + 0x18]
lea eax, [esp + 0x188]
push eax
push ecx
mov ecx, dword [esi + 0x1984]
lea eax, [esp + 0x178]
mov dword [esp], 0xbf800000
push eax
movss dword [esp + 0x184], xmm0
call fcn.10168330
movss xmm0, dword [esp + 0x168]
lea ecx, [esp + 0x180]
jmp 0x10138078
mov edx, 0xffff0000
call fcn.10151150
cmp byte [0x101f0b37], 0
mov ecx, dword [0x101f0b30]
mov esi, dword [0x101f0b34]
mov dword [esp + 0x168], ecx
mov dword [esp + 0x16c], esi
je 0x10138017
xor edx, edx
cmp dword [0x10225d40], 2
mov dword [esp + 0xc], edx
jl 0x10137fe4
movaps xmm2, xmmword [0x101f8d60]
movaps xmm4, xmmword [0x101f91b0]
movaps xmm1, xmm2
punpckldq xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
mov eax, dword [0x101f8f00]
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x101f8e10]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x101f8da0]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x101f8eb0]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, ecx
xorps 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, 4
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x101f8e10]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x101f8eb0]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, esi
xorps xmm1, xmm0
movd dword [esp + 0x16c], xmm1
jmp 0x10138017
mov eax, 0x4bda12f7
imul edx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 0xc]
movsx eax, al
mov cl, dl
imul eax, eax, 0x36
sub cl, al
add cl, 0x32
xor byte [esp + edx + 0x168], cl
inc edx
mov dword [esp + 0xc], edx
cmp edx, 8
jl 0x10137fe4
mov esi, dword [0x103501f8]
movss xmm3, dword [0x101f8b9c]
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 + 0x190]
mov dword [esp], 0xbf800000
push eax
movss dword [esp + 0x184], xmm0
call fcn.10168330
movss xmm0, dword [esp + 0x180]
lea ecx, [esp + 0x168]
addss xmm0, dword [0x101f87f0]
movss xmm2, dword [esp + 0x170]
xor edx, edx
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 [0x101f878c]
addss xmm1, xmm2
maxss xmm0, xmm1
movss dword [eax + 0xec], xmm1
movss dword [eax + 0x104], xmm0
call fcn.1016ad00
mov esi, dword [0x103501f8]
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 0x101386b1
mov eax, dword [0x10352a8c]
mov edx, dword [0x10352a90]
cmp eax, edx
je 0x101386ab
nop dword [eax]
cmp dword [eax + 0x84], ecx
je 0x10138141
add eax, 0x148
cmp eax, edx
jne 0x10138130
cmp eax, edx
je 0x101386ab
test eax, eax
je 0x101386ab
push ecx
lea ecx, [esp + 0x3c]
call fcn.10020240
mov eax, dword [0x101f0da4]
xor edx, edx
cmp dword [0x10225d40], 2
movups xmm0, xmmword [0x101f0d94]
mov dword [esp + 0x1a0], eax
mov ax, word [0x101f0da8]
mov word [esp + 0x1a4], ax
mov al, byte [0x101f0daa]
movups xmmword [esp + 0x190], xmm0
mov byte [esp + 0x1a6], al
mov dword [esp + 0xc], edx
jl 0x101382e0
movaps xmm0, xmmword [0x101f8f00]
movaps xmm4, xmmword [0x101f8d60]
movaps xmm3, xmmword [0x101f91b0]
movaps xmm5, xmmword [0x101f8e10]
movaps xmmword [esp + 0x170], xmm0
mov ecx, dword [esp + 0x170]
nop
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, 4
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 [0x101f8eb0]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [esp + edx + 0x190]
xorps 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, 4
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 [0x101f8eb0]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [esp + edx + 0x194]
xorps xmm1, xmm0
movd dword [esp + edx + 0x194], xmm1
add edx, 8
cmp edx, 0x10
jl 0x101381d0
mov dword [esp + 0xc], edx
cmp edx, 0x17
jge 0x10138313
nop dword [eax]
mov eax, 0x4bda12f7
imul edx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 0xc]
movsx eax, al
mov cl, dl
imul eax, eax, 0x36
sub cl, al
add cl, 0x32
xor byte [esp + edx + 0x190], cl
inc edx
mov dword [esp + 0xc], edx
cmp edx, 0x17
jl 0x101382e0
lea edx, [esp + 0x190]
lea ecx, [esp + 0x38]
call fcn.100bc180
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 + 0x28]
push eax
call fcn.1019961d
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 [0x10224c9c]
lea ecx, [esp + 0x18c]
movss xmm0, dword [0x10343708]
add esp, 0xc
movss xmm1, dword [esp + 0x1c]
mov dword [esp + 0xc], 0
mov eax, dword [eax + 0x10]
push edi
subss xmm0, dword [eax + 0x10]
maxss xmm1, xmm0
movss dword [esp + 0x16c], xmm1
call fcn.10021940
cmp byte [esp + 0x184], 0
mov esi, 4
je 0x10138462
mov eax, dword [edi]
mov eax, dword [eax + 4]
mov eax, dword [eax + edi + 0x30]
mov ecx, dword [eax + 4]
mov dword [esp + 0x170], ecx
mov dword [esp + 0x10], ecx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [esp + 0xc]
push eax
call fcn.100275e0
mov ecx, dword [esp + 0x174]
add esp, 4
mov dword [esp + 0xc], eax
test ecx, ecx
je 0x10138409
mov edx, dword [ecx]
mov edx, dword [edx + 8]
call edx
test eax, eax
je 0x10138409
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 + 0x14]
mov byte [esp + 0x178], 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 + 0x20]
lea eax, [esp + 0x184]
push dword [esp + 0x184]
push eax
call dword [edx + 0x14]
xor eax, eax
cmp byte [esp + 0x170], al
cmovne eax, esi
mov dword [esp + 0xc], 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 [eax + 0xc]
or esi, dword [esp + 0xc]
and esi, 0x17
mov dword [eax + 0xc], esi
mov eax, dword [eax + 0x10]
and eax, esi
jne 0x101387ec
lea ecx, [esp + 0x180]
call fcn.10021890
mov edx, 0x101f027c
mov ecx, edi
call fcn.100bc180
lea eax, [esp + 0x190]
push eax
lea ecx, [esp + 0x3c]
call fcn.100201a0
mov esi, eax
cmp dword [esi + 0x14], 0xf
jbe 0x101384bc
mov esi, dword [esi]
mov edi, dword [0x103501f8]
mov eax, dword [edi + 0x1bec]
movss xmm0, dword [eax + 0x18]
movss dword [esp + 0x170], xmm0
test esi, esi
je 0x10138547
movss xmm3, dword [0x101f8b9c]
lea eax, [esp + 0x168]
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.10168330
movss xmm0, dword [esp + 0x168]
addss xmm0, dword [0x101f87f0]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x1c], xmm0
movss xmm0, dword [esp + 0x16c]
movss dword [esp + 0x16c], xmm0
movss xmm0, dword [esp + 0x170]
mov eax, dword [edi + 0x1bec]
xor edx, edx
subss xmm0, dword [esp + 0x1c]
push 1
mov ecx, esi
mov byte [eax + 0xa8], 1
mov eax, dword [edi + 0x1bec]
mulss xmm0, dword [0x101f878c]
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.1016ad00
mov ecx, dword [esp + 0x1a4]
cmp ecx, 0xf
jbe 0x101385d9
mov edx, dword [esp + 0x190]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x101385cf
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10138829
push ecx
push edx
call fcn.1019a58d
add esp, 8
cmp byte [esp + 0xb], 0
mov eax, 0xff00ff00
mov edx, 0xffff0000
mov ecx, 0x29
cmovne edx, eax
call fcn.10151150
mov eax, dword [0x10224c9c]
movss xmm0, dword [0x10343708]
movss xmm1, dword [0x101f8968]
mov eax, dword [eax + 0x10]
subss xmm0, dword [eax + 0x10]
divss xmm0, dword [0x1034370c]
call fcn.100bf490
mov esi, dword [0x103501f8]
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 + 0x38]
mov eax, dword [eax + 4]
mov dword [esp + eax + 0x38], 0x101d2d2c
mov eax, dword [esp + 0x38]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [esp + ecx + 0x34], eax
lea ecx, [esp + 0x3c]
call fcn.1001fde0
mov eax, dword [esp + 0x38]
mov eax, dword [eax + 4]
mov dword [esp + eax + 0x38], 0x101d3718
mov eax, dword [esp + 0x38]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [esp + ecx + 0x34], eax
lea eax, [esp + 0x88]
push eax
mov dword [esp + 0x8c], 0x101d2d60
call fcn.1019940f
add esp, 4
mov esi, dword [0x103501f8]
mov eax, dword [esi + 0x1bec]
mov byte [eax + 0xa8], 1
mov eax, dword [0x10224ca0]
cmp byte [eax + 0x3344], 0
je 0x101386f4
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.10151240
mov ecx, 1
call fcn.10151240
call fcn.1015b580
mov eax, dword [esp + 0xd0]
mov eax, dword [eax + 4]
mov dword [esp + eax + 0xd0], 0x101d2d2c
mov eax, dword [esp + 0xd0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [esp + ecx + 0xcc], eax
lea ecx, [esp + 0xd4]
call fcn.1001fde0
mov eax, dword [esp + 0xd0]
mov eax, dword [eax + 4]
mov dword [esp + eax + 0xd0], 0x101d3718
mov eax, dword [esp + 0xd0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [esp + ecx + 0xcc], eax
lea eax, [esp + 0x120]
push eax
mov dword [esp + 0x124], 0x101d2d60
call fcn.1019940f
add esp, 4
push 0x10352a2c
call fcn.101999bd
add esp, 4
mov ecx, dword [esp + 0x1cc]
pop edi
pop esi
xor ecx, esp
call fcn.1019a294
mov esp, ebp
pop ebp
ret
push 5
call fcn.10199bcc
push 6
mov dword [0x10352a58], 0x7ffffffe
call fcn.10199bcc
call fcn.1019f6c6
test al, 4
je 0x101387f7
mov esi, str.ios_base::badbit_set
jmp 0x10138806
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.10003530
push eax
push esi
lea ecx, [esp + 0x14]
call fcn.10003cb0
mov ecx, eax
call fcn.100033b0
call fcn.1019f6c6
int3