Function at 0x1013e790
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x1d8
mov eax, dword [0x1020f0c0]
xor eax, esp
mov dword [esp + 0x1d4], eax
mov eax, dword [0x1022ccc8]
push esi
push edi
cmp byte [eax + 0x3821], 0
je 0x1013f9b1
push 0x1045943c
call fcn.101a144b
add esp, 4
test eax, eax
jne 0x1013f9c5
cmp dword [0x10459468], 0x7fffffff
je 0x1013f9cc
movss xmm0, dword [0x1044cb88]
xorps xmm1, xmm1
ucomiss xmm0, xmm1
movss dword [esp + 0x14], xmm1
lahf
test ah, 0x44
mov eax, dword [0x1022ccd4]
jp 0x1013e80c
cmp byte [eax + 0x5c], 0
je 0x1013f9a4
cmp byte [eax + 0x5c], 0
mov esi, dword [0x10456c08]
movss xmm1, dword [0x10200e0c]
jne 0x1013e831
or dword [esi + 0x1c74], 0x40
mov dword [esi + 0x1cc8], 0x3f000000
movss xmm0, dword [esi + 0x54]
subss xmm0, dword [0x1020113c]
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 [0x1022ccd4]
cmp byte [eax + 0x5c], 0
jne 0x1013e8b6
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.10169db0
mov dword [esi + 0x15a0], 0x40900000
lea eax, [esp + 0x180]
mov esi, dword [0x10456c08]
push eax
mov dword [esp + 0x184], 2
movss xmm0, dword [esi + 0x156c]
lea ecx, [esi + 0x1cf4]
movss dword [esp + 0x188], xmm0
call fcn.10169db0
mov dword [esi + 0x156c], 0x40900000
lea eax, [esp + 0x38]
mov esi, dword [0x10456c08]
push eax
mov dword [esp + 0x3c], 0
movups xmm0, xmmword [esi + 0x1624]
lea ecx, [esi + 0x1ce8]
movups xmmword [esp + 0x40], xmm0
call fcn.10169e60
mov dword [esi + 0x1624], 0x437f0000
mov dword [esi + 0x1628], 0x437f0000
mov dword [esi + 0x162c], 0x437f0000
mov dword [esi + 0x1630], 0x437f0000
mov eax, dword [0x1022ccc8]
cmp byte [eax + 0x34a4], 0
je 0x1013ea38
movss xmm0, dword [eax + 0x3a2c]
mov esi, dword [0x10456c08]
movss dword [esp + 0x24], xmm0
movss xmm0, dword [eax + 0x3a30]
movss dword [esp + 0x190], xmm0
movss xmm0, dword [eax + 0x3a34]
lea ecx, [esi + 0x1ce8]
movss dword [esp + 0x18], xmm0
movss xmm0, dword [eax + 0x3a38]
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.10169e60
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 [0x10456c08]
mov esi, 0xc022b
movss xmm1, dword [esp + 0x14]
mov ecx, 1
movss xmm0, dword [0x10201264]
movss xmm2, dword [0x1020122c]
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 [0x101f8dc0]
mov dword [eax + 0x1cc0], 0
mov dword [eax + 0x1cc4], 0
mov eax, dword [0x1022ccd4]
cmp byte [eax + 0x5c], 0
mov ax, word [0x101f8dc8]
cmovne esi, ecx
mov word [esp + 0x188], ax
mov al, byte [0x101f8dca]
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, 0x38
xor byte [esp + edx + 0x180], cl
inc edx
mov dword [esp + 0x24], edx
cmp edx, 0xb
jl 0x1013eae0
push esi
xor edx, edx
lea ecx, [esp + 0x184]
call fcn.10160fa0
mov ecx, dword [0x10456c08]
mov eax, dword [ecx + 0x1bec]
mov byte [eax + 0xa8], 1
mov eax, dword [ecx + 0x1bec]
mov esi, dword [eax + 0x2c4]
call fcn.1018feb0
movss xmm2, dword [0x10200e78]
mov ecx, eax
push esi
call fcn.10190360
mov ecx, dword [0x10456c08]
mov edi, 0x101db8d8
mov esi, 0x101db8d4
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, 0x1022ccf4
cmp dword [0x1044cba0], 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.10023b60
cmp dword [0x1044cba0], 0
movaps xmm3, xmmword [0x10201780]
movss xmm2, dword [esp + 0x14]
cmovne esi, edi
comiss xmm2, xmm3
movss xmm0, dword [0x10200e78]
movups xmmword [esp + 0x190], xmm3
jbe 0x1013ebdf
movaps xmm1, xmm2
jmp 0x1013ebe6
movaps xmm1, xmm0
minss xmm1, xmm3
movss xmm3, dword [0x10201190]
movss xmm5, dword [0x10200e0c]
movss xmm4, dword [esp + 0x194]
mulss xmm1, xmm3
addss xmm1, xmm5
cvttss2si ecx, xmm1
shl ecx, 0x10
comiss xmm2, xmm4
jbe 0x1013ec18
movaps xmm1, xmm2
jmp 0x1013ec1f
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 0x1013ec43
movaps xmm1, xmm2
jmp 0x1013ec4a
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 0x1013ec6b
movaps xmm0, xmm2
jmp 0x1013ec6f
minss xmm0, xmm1
mov eax, dword [0x1022ccd4]
mulss xmm0, xmm3
mov edi, dword [eax + 0x1c]
addss xmm0, xmm5
cvttss2si edx, xmm0
movss xmm0, dword [esp + 0x180]
addss xmm0, dword [0x10201014]
shl edx, 0x18
or edx, ecx
movss dword [esp + 0x190], xmm0
movss xmm0, dword [esp + 0x18]
addss xmm0, dword [0x10200fa0]
movss dword [esp + 0x194], xmm0
test edx, 0xff000000
je 0x1013ed35
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 0x1013ecd0
sub ecx, dword [esp + 0x180]
add ecx, esi
cmp esi, ecx
je 0x1013ed35
test edi, edi
jne 0x1013ecf2
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 [0x10201070]
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.1016fa20
push ecx
lea ecx, [esp + 0xec]
call fcn.100210e0
cmp byte [str._vhxy], 0
mov ecx, dword [str.lPW]
mov esi, dword [0x101f913c]
mov eax, dword [0x1022e690]
mov dword [esp + 0x180], ecx
mov dword [esp + 0x184], esi
je 0x1013eeab
xor edx, edx
mov dword [esp + 0x24], edx
cmp eax, 2
jl 0x1013ee74
movaps xmm2, xmmword [0x10201400]
movaps xmm3, xmmword [0x10201830]
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 [0x102014a0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x10201440]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x10201520]
packuswb xmm1, xmm1
paddb xmm1, xmmword [0x10201560]
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 [0x102014a0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x10201520]
packuswb xmm1, xmm1
paddb xmm1, xmmword [0x10201560]
movd xmm0, esi
xorps xmm1, xmm0
movd dword [esp + 0x184], xmm1
jmp 0x1013eeab
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, 0x38
xor byte [esp + edx + 0x180], cl
inc edx
mov dword [esp + 0x24], edx
cmp edx, 8
jl 0x1013ee74
lea edx, [esp + 0x180]
lea ecx, [esp + 0xe8]
call fcn.100c0c40
mov ecx, dword [0x1022ccc4]
xor edx, edx
movss xmm0, dword [0x1044cb88]
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.10021160
mov edx, 0x101f8558
mov ecx, eax
call fcn.100c0c40
lea eax, [esp + 0x1c4]
push eax
lea ecx, [esp + 0xec]
call fcn.10021040
mov esi, eax
cmp dword [esi + 0x14], 0xf
jbe 0x1013ef11
mov esi, dword [esi]
mov edi, dword [0x10456c08]
mov eax, dword [edi + 0x1bec]
movss xmm0, dword [eax + 0x18]
movss dword [esp + 0x180], xmm0
test esi, esi
jne 0x1013ef37
movss xmm2, dword [esp + 0x14]
jmp 0x1013ef92
movss xmm3, dword [0x1020122c]
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.1016f860
movss xmm0, dword [esp + 0x18]
addss xmm0, dword [0x10200e70]
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 [0x10200e0c]
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.10172200
mov ecx, dword [esp + 0x1d8]
cmp ecx, 0xf
jbe 0x1013f022
mov edx, dword [esp + 0x1c4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1013f018
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1013f9dd
push ecx
push edx
call fcn.101a201e
add esp, 8
mov ecx, dword [0x1044cb90]
mov dword [esp + 0x1d4], 0
mov dword [esp + 0x1d8], 0xf
mov byte [esp + 0x1c4], 0
cmp ecx, 0xffffffff
je 0x1013f8a1
movss xmm0, dword [0x1044cb88]
comiss xmm0, dword [0x1044cb98]
setae al
mov byte [esp + 0x37], al
cmp ecx, dword [0x10520f08]
jne 0x1013f31a
xor ecx, ecx
test al, al
je 0x1013f13c
mov edx, 0xff00ff00
call fcn.101598f0
mov ax, word [0x101f9010]
xor edx, edx
movq xmm0, qword [0x101f9008]
mov word [esp + 0x198], ax
mov al, byte [0x101f9012]
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, 0x38
xor byte [esp + edx + 0x190], cl
inc edx
mov dword [esp + 0x24], edx
cmp edx, 0xb
jl 0x1013f0b6
mov esi, dword [0x10456c08]
movss xmm3, dword [0x1020122c]
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.1016f860
lea ecx, [esp + 0x190]
jmp 0x1013f273
mov edx, 0xffff0000
call fcn.101598f0
cmp byte [0x101f8a7b], 0
mov eax, dword [str.jLT_]
mov dword [esp + 0x14], eax
je 0x1013f224
xor edx, edx
cmp dword [0x1022e690], 2
mov dword [esp + 0x24], edx
jl 0x1013f1f0
movaps xmm3, xmmword [0x10201400]
movaps xmm2, xmm3
movaps xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmmword [0x10201830]
punpckldq xmm2, xmm3
pmuldq xmm2, xmmword [0x10201830]
shufps xmm2, xmm0, 0xdd
paddd xmm2, xmm3
psrad xmm2, 5
movaps xmm0, xmm2
psrld xmm0, 0x1f
paddd xmm0, xmm2
pmulld xmm0, xmmword [0x102014a0]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x10201520]
packuswb xmm1, xmm1
paddb xmm1, xmmword [0x10201560]
movd xmm0, eax
xorps xmm1, xmm0
movd dword [esp + 0x14], xmm1
jmp 0x1013f224
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, 0x38
xor byte [esp + edx + 0x14], cl
inc edx
mov dword [esp + 0x24], edx
cmp edx, 4
jl 0x1013f1f0
mov esi, dword [0x10456c08]
movss xmm3, dword [0x1020122c]
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.1016f860
lea ecx, [esp + 0x14]
movss xmm0, dword [esp + 0x18]
xor edx, edx
addss xmm0, dword [0x10200e70]
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 [0x10200e0c]
addss xmm1, xmm2
maxss xmm0, xmm1
movss dword [eax + 0xec], xmm1
movss dword [eax + 0x104], xmm0
call fcn.10172200
mov esi, dword [0x10456c08]
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 0x1013f8a7
mov eax, dword [0x10520dcc]
mov edx, dword [0x10520dd0]
cmp eax, edx
je 0x1013f8a1
nop dword [eax]
cmp dword [eax + 0x84], ecx
je 0x1013f341
add eax, 0x148
cmp eax, edx
jne 0x1013f330
cmp eax, edx
je 0x1013f8a1
test eax, eax
je 0x1013f8a1
push ecx
lea ecx, [esp + 0x54]
call fcn.100210e0
mov eax, dword [0x101f88a8]
xor edx, edx
cmp dword [0x1022e690], 2
movups xmm0, xmmword [0x101f8898]
mov dword [esp + 0x1b0], eax
mov ax, word [0x101f88ac]
mov word [esp + 0x1b4], ax
mov al, byte [0x101f88ae]
movups xmmword [esp + 0x1a0], xmm0
mov byte [esp + 0x1b6], al
mov dword [esp + 0x24], edx
jl 0x1013f4f0
movaps xmm0, xmmword [0x10201560]
lea esi, [esp + 0x1a4]
movaps xmm4, xmmword [0x10201400]
movaps xmm3, xmmword [0x10201830]
movaps xmm5, xmmword [0x102014a0]
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 [0x10201520]
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 [0x10201520]
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 0x1013f3e0
mov dword [esp + 0x24], edx
cmp edx, 0x17
jge 0x1013f527
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, 0x38
xor byte [esp + edx + 0x1a0], cl
inc edx
mov dword [esp + 0x24], edx
cmp edx, 0x17
jl 0x1013f4f0
lea edx, [esp + 0x1a0]
lea ecx, [esp + 0x50]
call fcn.100c0c40
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.101a10dd
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 [0x1022ccc4]
lea ecx, [esp + 0x19c]
movss xmm0, dword [0x1044cb98]
add esp, 0xc
movss xmm1, dword [esp + 0x14]
mov dword [esp + 0x24], 0
mov eax, dword [eax + 0x10]
push edi
subss xmm0, dword [eax + 0x10]
maxss xmm1, xmm0
movss dword [esp + 0x1c], xmm1
call fcn.100227d0
cmp byte [esp + 0x194], 0
mov esi, 4
je 0x1013f670
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.10028520
mov ecx, dword [esp + 0x184]
add esp, 4
mov dword [esp + 0x24], eax
test ecx, ecx
je 0x1013f61a
mov edx, dword [ecx]
mov edx, dword [edx + 8]
call edx
test eax, eax
je 0x1013f61a
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 0x1013f9e2
lea ecx, [esp + 0x190]
call fcn.10022720
mov edx, 0x101f8558
mov ecx, edi
call fcn.100c0c40
lea eax, [esp + 0x1a0]
push eax
lea ecx, [esp + 0x54]
call fcn.10021040
mov esi, eax
cmp dword [esi + 0x14], 0xf
jbe 0x1013f6ca
mov esi, dword [esi]
mov edi, dword [0x10456c08]
mov eax, dword [edi + 0x1bec]
movss xmm0, dword [eax + 0x18]
movss dword [esp + 0x180], xmm0
test esi, esi
je 0x1013f73d
movss xmm3, dword [0x1020122c]
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.1016f860
movss xmm0, dword [esp + 0x18]
addss xmm0, dword [0x10200e70]
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 [0x10200e0c]
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.10172200
mov ecx, dword [esp + 0x1b4]
cmp ecx, 0xf
jbe 0x1013f7cf
mov edx, dword [esp + 0x1a0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1013f7c5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1013fa1c
push ecx
push edx
call fcn.101a201e
add esp, 8
cmp byte [esp + 0x37], 0
mov eax, 0xff00ff00
mov edx, 0xffff0000
mov ecx, 0x29
cmovne edx, eax
call fcn.101598f0
mov eax, dword [0x1022ccc4]
movss xmm0, dword [0x1044cb98]
movss xmm1, dword [0x10200ff0]
mov eax, dword [eax + 0x10]
subss xmm0, dword [eax + 0x10]
divss xmm0, dword [0x1044cb9c]
call fcn.100c40a0
mov esi, dword [0x10456c08]
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], 0x101dae9c
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.10020c80
mov eax, dword [esp + 0x50]
mov eax, dword [eax + 4]
mov dword [esp + eax + 0x50], 0x101db898
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], 0x101daed0
call fcn.101a0ecf
add esp, 4
mov esi, dword [0x10456c08]
mov eax, dword [esi + 0x1bec]
mov byte [eax + 0xa8], 1
mov eax, dword [0x1022ccc8]
cmp byte [eax + 0x34a4], 0
je 0x1013f8ea
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.101599e0
mov ecx, 1
call fcn.101599e0
call fcn.10163240
mov eax, dword [esp + 0xe8]
mov eax, dword [eax + 4]
mov dword [esp + eax + 0xe8], 0x101dae9c
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.10020c80
mov eax, dword [esp + 0xe8]
mov eax, dword [eax + 4]
mov dword [esp + eax + 0xe8], 0x101db898
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], 0x101daed0
call fcn.101a0ecf
add esp, 4
push 0x1045943c
call fcn.101a147d
add esp, 4
mov ecx, dword [esp + 0x1dc]
pop edi
pop esi
xor ecx, esp
call fcn.101a1d25
mov esp, ebp
pop ebp
ret
push 5
call fcn.101a168c
push 6
mov dword [0x10459468], 0x7ffffffe
call fcn.101a168c
call fcn.101a7156
test al, 4
je 0x1013f9ed
mov esi, str.ios_base::badbit_set
jmp 0x1013f9fc
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.10003730
push eax
push esi
lea ecx, [esp + 0x2c]
call fcn.10003eb0
mov ecx, eax
call fcn.100035b0
call fcn.101a7156
int3