Function at 0x1012d550
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x1c8
mov eax, dword [0x101f80c0]
xor eax, esp
mov dword [esp + 0x1c4], eax
mov eax, dword [0x10213408]
push esi
push edi
cmp byte [eax + 0x35a1], 0
je 0x1012e84b
push 0x103da39c
call fcn.1018d1ab
add esp, 4
test eax, eax
jne 0x1012e85f
cmp dword [0x103da3c8], 0x7fffffff
je 0x1012e866
movss xmm0, dword [0x103d7914]
xorps xmm1, xmm1
ucomiss xmm0, xmm1
movss dword [esp + 0x1c], xmm1
lahf
test ah, 0x44
mov eax, dword [0x10213414]
jp 0x1012d5cc
cmp byte [eax + 0x5c], 0
je 0x1012e83e
cmp byte [eax + 0x5c], 0
mov esi, dword [0x103d7bec]
movss xmm1, dword [0x101ea26c]
jne 0x1012d5f1
or dword [esi + 0x1c64], 0x40
mov dword [esi + 0x1cb8], 0x3f000000
movss xmm0, dword [esi + 0x54]
subss xmm0, dword [0x101ea560]
or dword [esi + 0x1c64], 3
mov dword [esi + 0x1c78], 0x42700000
mov dword [esi + 0x1c7c], 0
mov dword [esi + 0x1c80], 0
mulss xmm0, xmm1
mov dword [esi + 0x1c68], 2
mov dword [esi + 0x1c84], 0x43160000
mov dword [esi + 0x1c88], 0
movss dword [esi + 0x1c74], xmm0
mov dword [esi + 0x1c6c], 2
mov eax, dword [0x10213414]
cmp byte [eax + 0x5c], 0
jne 0x1012d676
mov dword [esi + 0x1c84], 0x432a0000
mov dword [esi + 0x1c6c], 1
movss xmm0, dword [esi + 0x15a0]
lea eax, [esp + 0x170]
push eax
lea ecx, [esi + 0x1ce4]
mov dword [esp + 0x174], 0xb
movss dword [esp + 0x178], xmm0
call fcn.101572a0
mov dword [esi + 0x15a0], 0x40900000
lea eax, [esp + 0x170]
mov esi, dword [0x103d7bec]
push eax
mov dword [esp + 0x174], 2
movss xmm0, dword [esi + 0x156c]
lea ecx, [esi + 0x1ce4]
movss dword [esp + 0x178], xmm0
call fcn.101572a0
mov dword [esi + 0x156c], 0x40900000
lea eax, [esp + 0x20]
mov esi, dword [0x103d7bec]
push eax
mov dword [esp + 0x24], 0
movups xmm0, xmmword [esi + 0x1624]
lea ecx, [esi + 0x1cd8]
movups xmmword [esp + 0x28], xmm0
call fcn.10157350
mov dword [esi + 0x1624], 0x437f0000
mov dword [esi + 0x1628], 0x437f0000
mov dword [esi + 0x162c], 0x437f0000
mov dword [esi + 0x1630], 0x437f0000
mov eax, dword [0x10213408]
cmp byte [eax + 0x326c], 0
je 0x1012d7fe
movss xmm0, dword [eax + 0x37a8]
mov esi, dword [0x103d7bec]
movss dword [esp + 0xc], xmm0
movss xmm0, dword [eax + 0x37ac]
movss dword [esp + 0x180], xmm0
movss xmm0, dword [eax + 0x37b0]
lea ecx, [esi + 0x1cd8]
movss dword [esp + 0x168], xmm0
movss xmm0, dword [eax + 0x37b4]
lea eax, [esp + 0x20]
movss dword [esp + 0x170], xmm0
movups xmm0, xmmword [esi + 0x1674]
push eax
mov dword [esp + 0x24], 5
movups xmmword [esp + 0x28], xmm0
call fcn.10157350
movss xmm0, dword [esp + 0xc]
movss dword [esi + 0x1674], xmm0
movss xmm0, dword [esp + 0x180]
movss dword [esi + 0x1678], xmm0
movss xmm0, dword [esp + 0x168]
movss dword [esi + 0x167c], xmm0
movss xmm0, dword [esp + 0x170]
movss dword [esi + 0x1680], xmm0
mov eax, dword [0x103d7bec]
mov esi, 0xc022b
movss xmm0, dword [0x101ea68c]
mov ecx, 1
movss xmm2, dword [0x101ea654]
movss xmm1, dword [esp + 0x1c]
or dword [eax + 0x1c64], 0x10
movss dword [esp + 0x170], xmm1
mov dword [eax + 0x1ca0], 0
movss dword [eax + 0x1ca4], xmm0
movss dword [eax + 0x1ca8], xmm2
movss dword [eax + 0x1cac], xmm0
movq xmm0, qword [str.vZ_U]
mov dword [eax + 0x1cb0], 0
mov dword [eax + 0x1cb4], 0
mov eax, dword [0x10213414]
cmp byte [eax + 0x5c], 0
mov ax, word [0x101e23d0]
cmovne esi, ecx
mov word [esp + 0x178], ax
mov al, byte [0x101e23d2]
xor edx, edx
movq qword [esp + 0x170], xmm0
mov byte [esp + 0x17a], al
mov dword [esp + 0xc], edx
nop word [eax + eax]
mov eax, 0x3521cfb3
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, 0x35
sub cl, al
add cl, 0x34
xor byte [esp + edx + 0x170], cl
inc edx
mov dword [esp + 0xc], edx
cmp edx, 0xb
jl 0x1012d8b0
push esi
xor edx, edx
lea ecx, [esp + 0x174]
call fcn.1014e540
mov ecx, dword [0x103d7bec]
mov eax, dword [ecx + 0x1bdc]
mov byte [eax + 0x8c], 1
mov eax, dword [ecx + 0x1bdc]
mov esi, dword [eax + 0x28c]
call fcn.1017ca40
movss xmm2, dword [0x101ea2dc]
mov ecx, eax
push esi
call fcn.1017cef0
mov ecx, dword [0x103d7bec]
mov edi, 0x101c6610
mov esi, 0x101c660c
push 1
mov eax, dword [ecx + 0x1bdc]
movss xmm0, dword [eax + 0xc]
movss dword [esp + 0x174], xmm0
movss xmm0, dword [eax + 0x10]
mov byte [eax + 0x8c], 1
mov eax, dword [ecx + 0x1bdc]
mov ecx, 0x10213434
cmp dword [0x103d7928], 0
movss dword [esp + 0x16c], xmm0
mov eax, dword [eax + 0x28c]
mov dword [esp + 0x10], eax
mov eax, edi
cmove eax, esi
push eax
call fcn.10021e60
cmp dword [0x103d7928], 0
movaps xmm3, xmmword [0x101eab70]
movss xmm2, dword [esp + 0x1c]
cmovne esi, edi
comiss xmm2, xmm3
movss xmm0, dword [0x101ea2dc]
movups xmmword [esp + 0x180], xmm3
jbe 0x1012d9bc
movaps xmm1, xmm2
jmp 0x1012d9c3
movaps xmm1, xmm0
minss xmm1, xmm3
movss xmm3, dword [0x101ea5b4]
movss xmm5, dword [0x101ea26c]
movss xmm4, dword [esp + 0x184]
mulss xmm1, xmm3
addss xmm1, xmm5
cvttss2si ecx, xmm1
shl ecx, 0x10
comiss xmm2, xmm4
jbe 0x1012d9f5
movaps xmm1, xmm2
jmp 0x1012d9fc
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 0x1012da20
movaps xmm1, xmm2
jmp 0x1012da27
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 0x1012da48
movaps xmm0, xmm2
jmp 0x1012da4c
minss xmm0, xmm1
mov eax, dword [0x10213414]
mulss xmm0, xmm3
mov edi, dword [eax + 0x1c]
addss xmm0, xmm5
cvttss2si edx, xmm0
movss xmm0, dword [esp + 0x170]
addss xmm0, dword [0x101ea444]
shl edx, 0x18
or edx, ecx
movss dword [esp + 0x180], xmm0
movss xmm0, dword [esp + 0x168]
addss xmm0, dword [0x101ea3e0]
movss dword [esp + 0x184], xmm0
test edx, 0xff000000
je 0x1012db15
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 0x1012dab0
sub ecx, dword [esp + 0x170]
add ecx, esi
cmp esi, ecx
je 0x1012db15
test edi, edi
jne 0x1012dad2
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 [0x101ea4a0]
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.1015ced0
push ecx
lea ecx, [esp + 0xd4]
call fcn.1001f4d0
cmp byte [str._WTX], 0
mov eax, dword [0x101e2a80]
mov ecx, dword [0x101e2a84]
mov esi, dword [0x10214510]
mov dword [esp + 0x170], eax
mov dword [esp + 0x174], ecx
je 0x1012dc83
xor edx, edx
mov dword [esp + 0xc], edx
cmp esi, 2
jl 0x1012dc50
movaps xmm2, xmmword [0x101ea800]
movaps xmm3, xmmword [0x101eabd0]
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 [0x101ea890]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x101ea840]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x101ea930]
packuswb xmm1, xmm1
paddb xmm1, xmmword [str.44444444444444447777777777777777]
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 [0x101ea890]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x101ea930]
packuswb xmm1, xmm1
paddb xmm1, xmmword [str.44444444444444447777777777777777]
movd xmm0, ecx
xorps xmm1, xmm0
movd dword [esp + 0x174], xmm1
jmp 0x1012dc83
mov eax, 0x4d4873ed
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, 0x35
sub cl, al
add cl, 0x34
xor byte [esp + edx + 0x170], cl
inc edx
mov dword [esp + 0xc], edx
cmp edx, 8
jl 0x1012dc50
lea edx, [esp + 0x170]
lea ecx, [esp + 0xd0]
call fcn.100b1fb0
mov ecx, dword [0x10213404]
xor edx, edx
movss xmm0, dword [0x103d7914]
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.1001f550
mov edx, 0x101e1f2c
mov ecx, eax
call fcn.100b1fb0
lea eax, [esp + 0x1b4]
push eax
lea ecx, [esp + 0xd4]
call fcn.1001f430
mov esi, eax
cmp dword [esi + 0x14], 0xf
jbe 0x1012dce9
mov esi, dword [esi]
mov edi, dword [0x103d7bec]
mov eax, dword [edi + 0x1bdc]
movss xmm0, dword [eax + 0x14]
movss dword [esp + 0x170], xmm0
test esi, esi
jne 0x1012dd0f
movss xmm2, dword [esp + 0x1c]
jmp 0x1012dd76
movss xmm3, dword [0x101ea654]
lea eax, [esp + 0x168]
movss xmm2, dword [edi + 0x1978]
push 0
push 0
push esi
push ecx
mov ecx, dword [edi + 0x1974]
mov dword [esp], 0xbf800000
push eax
call fcn.1015cd10
movss xmm0, dword [esp + 0x168]
addss xmm0, dword [0x101ea2d4]
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 + 0x1bdc]
subss xmm0, xmm2
push 1
xor edx, edx
mov ecx, esi
mov byte [eax + 0x8c], 1
mov eax, dword [edi + 0x1bdc]
mulss xmm0, dword [0x101ea26c]
movss xmm1, dword [eax + 0xc]
subss xmm1, dword [eax + 0x58]
addss xmm1, xmm0
movss xmm0, dword [eax + 0xe4]
maxss xmm0, xmm1
movss dword [eax + 0xcc], xmm1
movss dword [eax + 0xe4], xmm0
call fcn.1015f640
mov ecx, dword [esp + 0x1c8]
cmp ecx, 0xf
jbe 0x1012de06
mov edx, dword [esp + 0x1b4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1012ddfc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1012e877
push ecx
push edx
call fcn.1018dda2
add esp, 8
mov ecx, dword [0x103d791c]
mov dword [esp + 0x1c4], 0
mov dword [esp + 0x1c8], 0xf
mov byte [esp + 0x1b4], 0
cmp ecx, 0xffffffff
je 0x1012e73b
movss xmm0, dword [0x103d7914]
comiss xmm0, dword [0x103d7920]
setae al
mov byte [esp + 0xb], al
cmp ecx, dword [0x103da538]
jne 0x1012e1a9
xor ecx, ecx
test al, al
je 0x1012df3c
mov edx, 0xff00ff00
call fcn.10146ea0
mov ax, word [0x101e2824]
xor edx, edx
movq xmm0, qword [str.pPPBKXXZPX_]
mov word [esp + 0x188], ax
mov al, byte [0x101e2826]
movq qword [esp + 0x180], xmm0
mov byte [esp + 0x18a], al
mov dword [esp + 0xc], edx
nop word [eax + eax]
mov eax, 0x3521cfb3
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, 0x35
sub cl, al
add cl, 0x34
xor byte [esp + edx + 0x180], cl
inc edx
mov dword [esp + 0xc], edx
cmp edx, 0xb
jl 0x1012dea0
mov esi, dword [0x103d7bec]
movss xmm3, dword [0x101ea654]
push 0
push 0
mov eax, dword [esi + 0x1bdc]
movss xmm2, dword [esi + 0x1978]
movss xmm0, dword [eax + 0x14]
lea eax, [esp + 0x188]
push eax
push ecx
mov ecx, dword [esi + 0x1974]
lea eax, [esp + 0x178]
mov dword [esp], 0xbf800000
push eax
movss dword [esp + 0x184], xmm0
call fcn.1015cd10
movss xmm0, dword [esp + 0x168]
lea ecx, [esp + 0x180]
jmp 0x1012e108
mov edx, 0xffff0000
call fcn.10146ea0
cmp byte [0x101e2813], 0
mov ecx, dword [0x101e280c]
mov esi, dword [0x101e2810]
mov dword [esp + 0x168], ecx
mov dword [esp + 0x16c], esi
je 0x1012e0a7
xor edx, edx
cmp dword [0x10214510], 2
mov dword [esp + 0xc], edx
jl 0x1012e074
movaps xmm2, xmmword [0x101ea800]
movaps xmm4, xmmword [0x101eabd0]
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 [str.44444444444444447777777777777777]
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x101ea890]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x101ea840]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x101ea930]
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 [0x101ea890]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x101ea930]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, esi
xorps xmm1, xmm0
movd dword [esp + 0x16c], xmm1
jmp 0x1012e0a7
mov eax, 0x4d4873ed
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, 0x35
sub cl, al
add cl, 0x34
xor byte [esp + edx + 0x168], cl
inc edx
mov dword [esp + 0xc], edx
cmp edx, 8
jl 0x1012e074
mov esi, dword [0x103d7bec]
movss xmm3, dword [0x101ea654]
push 0
push 0
mov eax, dword [esi + 0x1bdc]
movss xmm2, dword [esi + 0x1978]
movss xmm0, dword [eax + 0x14]
lea eax, [esp + 0x170]
push eax
push ecx
mov ecx, dword [esi + 0x1974]
lea eax, [esp + 0x190]
mov dword [esp], 0xbf800000
push eax
movss dword [esp + 0x184], xmm0
call fcn.1015cd10
movss xmm0, dword [esp + 0x180]
lea ecx, [esp + 0x168]
addss xmm0, dword [0x101ea2d4]
movss xmm2, dword [esp + 0x170]
xor edx, edx
push 1
cvttss2si eax, xmm0
movd xmm0, eax
mov eax, dword [esi + 0x1bdc]
cvtdq2ps xmm0, xmm0
mov byte [eax + 0x8c], 1
mov eax, dword [esi + 0x1bdc]
subss xmm2, xmm0
movss xmm1, dword [eax + 0xc]
subss xmm1, dword [eax + 0x58]
movss xmm0, dword [eax + 0xe4]
mulss xmm2, dword [0x101ea26c]
addss xmm1, xmm2
maxss xmm0, xmm1
movss dword [eax + 0xcc], xmm1
movss dword [eax + 0xe4], xmm0
call fcn.1015f640
mov esi, dword [0x103d7bec]
mov eax, dword [esi + 0x1cd8]
mov ecx, dword [esi + 0x1ce0]
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 + 0x1cd8]
jmp 0x1012e741
mov eax, dword [0x103da3fc]
mov edx, dword [0x103da400]
cmp eax, edx
je 0x1012e73b
nop dword [eax]
cmp dword [eax + 0x84], ecx
je 0x1012e1d1
add eax, 0x148
cmp eax, edx
jne 0x1012e1c0
cmp eax, edx
je 0x1012e73b
test eax, eax
je 0x1012e73b
push ecx
lea ecx, [esp + 0x3c]
call fcn.1001f4d0
mov eax, dword [0x101e21f4]
xor edx, edx
cmp dword [0x10214510], 2
movups xmm0, xmmword [0x101e21e4]
mov dword [esp + 0x1a0], eax
mov ax, word [0x101e21f8]
mov word [esp + 0x1a4], ax
mov al, byte [0x101e21fa]
movups xmmword [esp + 0x190], xmm0
mov byte [esp + 0x1a6], al
mov dword [esp + 0xc], edx
jl 0x1012e370
movaps xmm0, xmmword [str.44444444444444447777777777777777]
movaps xmm4, xmmword [0x101ea800]
movaps xmm3, xmmword [0x101eabd0]
movaps xmm5, xmmword [0x101ea890]
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 [0x101ea930]
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 [0x101ea930]
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 0x1012e260
mov dword [esp + 0xc], edx
cmp edx, 0x17
jge 0x1012e3a3
nop dword [eax]
mov eax, 0x4d4873ed
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, 0x35
sub cl, al
add cl, 0x34
xor byte [esp + edx + 0x190], cl
inc edx
mov dword [esp + 0xc], edx
cmp edx, 0x17
jl 0x1012e370
lea edx, [esp + 0x190]
lea ecx, [esp + 0x38]
call fcn.100b1fb0
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.1018ce3d
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 [0x10213404]
lea ecx, [esp + 0x18c]
movss xmm0, dword [0x103d7920]
add esp, 0xc
movss xmm1, dword [esp + 0x1c]
mov dword [esp + 0xc], 0
mov eax, dword [eax + 0xc]
push edi
subss xmm0, dword [eax + 0x10]
maxss xmm1, xmm0
movss dword [esp + 0x16c], xmm1
call fcn.10020bb0
cmp byte [esp + 0x184], 0
mov esi, 4
je 0x1012e4f2
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.100265c0
mov ecx, dword [esp + 0x174]
add esp, 4
mov dword [esp + 0xc], eax
test ecx, ecx
je 0x1012e499
mov edx, dword [ecx]
mov edx, dword [edx + 8]
call edx
test eax, eax
je 0x1012e499
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 0x1012e87c
lea ecx, [esp + 0x180]
call fcn.10020b00
mov edx, 0x101e1f2c
mov ecx, edi
call fcn.100b1fb0
lea eax, [esp + 0x190]
push eax
lea ecx, [esp + 0x3c]
call fcn.1001f430
mov esi, eax
cmp dword [esi + 0x14], 0xf
jbe 0x1012e54c
mov esi, dword [esi]
mov edi, dword [0x103d7bec]
mov eax, dword [edi + 0x1bdc]
movss xmm0, dword [eax + 0x14]
movss dword [esp + 0x170], xmm0
test esi, esi
je 0x1012e5d7
movss xmm3, dword [0x101ea654]
lea eax, [esp + 0x168]
movss xmm2, dword [edi + 0x1978]
push 0
push 0
push esi
push ecx
mov ecx, dword [edi + 0x1974]
mov dword [esp], 0xbf800000
push eax
call fcn.1015cd10
movss xmm0, dword [esp + 0x168]
addss xmm0, dword [0x101ea2d4]
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 + 0x1bdc]
xor edx, edx
subss xmm0, dword [esp + 0x1c]
push 1
mov ecx, esi
mov byte [eax + 0x8c], 1
mov eax, dword [edi + 0x1bdc]
mulss xmm0, dword [0x101ea26c]
movss xmm1, dword [eax + 0xc]
subss xmm1, dword [eax + 0x58]
addss xmm1, xmm0
movss xmm0, dword [eax + 0xe4]
maxss xmm0, xmm1
movss dword [eax + 0xcc], xmm1
movss dword [eax + 0xe4], xmm0
call fcn.1015f640
mov ecx, dword [esp + 0x1a4]
cmp ecx, 0xf
jbe 0x1012e669
mov edx, dword [esp + 0x190]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1012e65f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1012e8b9
push ecx
push edx
call fcn.1018dda2
add esp, 8
cmp byte [esp + 0xb], 0
mov eax, 0xff00ff00
mov edx, 0xffff0000
mov ecx, 0x28
cmovne edx, eax
call fcn.10146ea0
mov eax, dword [0x10213404]
movss xmm0, dword [0x103d7920]
movss xmm1, dword [0x101ea420]
mov eax, dword [eax + 0xc]
subss xmm0, dword [eax + 0x10]
divss xmm0, dword [0x103d7924]
call fcn.100b5580
mov esi, dword [0x103d7bec]
mov eax, dword [esi + 0x1cd8]
mov ecx, dword [esi + 0x1ce0]
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 + 0x1cd8]
mov eax, dword [esp + 0x38]
mov eax, dword [eax + 4]
mov dword [esp + eax + 0x38], 0x101c5be4
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.1001f070
mov eax, dword [esp + 0x38]
mov eax, dword [eax + 4]
mov dword [esp + eax + 0x38], 0x101c65d0
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], 0x101c5c18
call fcn.1018cc2f
add esp, 4
mov esi, dword [0x103d7bec]
mov eax, dword [esi + 0x1bdc]
mov byte [eax + 0x8c], 1
mov eax, dword [0x10213408]
cmp byte [eax + 0x326c], 0
je 0x1012e784
mov eax, dword [esi + 0x1cd8]
mov ecx, dword [esi + 0x1ce0]
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 + 0x1cd8]
mov eax, dword [esi + 0x1cd8]
mov ecx, dword [esi + 0x1ce0]
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 + 0x1cd8]
call fcn.10146f90
mov ecx, 1
call fcn.10146f90
call fcn.101507d0
mov eax, dword [esp + 0xd0]
mov eax, dword [eax + 4]
mov dword [esp + eax + 0xd0], 0x101c5be4
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.1001f070
mov eax, dword [esp + 0xd0]
mov eax, dword [eax + 4]
mov dword [esp + eax + 0xd0], 0x101c65d0
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], 0x101c5c18
call fcn.1018cc2f
add esp, 4
push 0x103da39c
call fcn.1018d1dd
add esp, 4
mov ecx, dword [esp + 0x1cc]
pop edi
pop esi
xor ecx, esp
call fcn.1018daa9
mov esp, ebp
pop ebp
ret
push 5
call fcn.1018d3ec
push 6
mov dword [0x103da3c8], 0x7ffffffe
call fcn.1018d3ec
call fcn.10192ed6
test al, 4
je 0x1012e887
mov esi, str.ios_base::badbit_set
jmp 0x1012e896
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.10003370
push eax
push esi
lea ecx, [esp + 0x14]
call fcn.10003af0
mov ecx, eax
call fcn.100031f0
call fcn.10192ed6
int3