Function at 0x1012c010
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x1c8
mov eax, dword [0x101f90c0]
xor eax, esp
mov dword [esp + 0x1c4], eax
mov eax, dword [0x10214408]
push esi
push edi
cmp byte [eax + 0x35a1], 0
je 0x1012d2ef
push 0x103db39c
call fcn.1018d7fb
add esp, 4
test eax, eax
jne 0x1012d303
cmp dword [0x103db3c8], 0x7fffffff
je 0x1012d30a
movss xmm0, dword [0x103d8914]
xorps xmm1, xmm1
ucomiss xmm0, xmm1
movss dword [esp + 0x1c], xmm1
lahf
test ah, 0x44
mov eax, dword [0x10214414]
jp 0x1012c08c
cmp byte [eax + 0x5c], 0
je 0x1012d2e2
cmp byte [eax + 0x5c], 0
mov esi, dword [0x103d8bec]
movss xmm1, dword [0x101eb2e4]
jne 0x1012c0b1
or dword [esi + 0x1c64], 0x40
mov dword [esi + 0x1cb8], 0x3f000000
movss xmm0, dword [esi + 0x54]
subss xmm0, dword [0x101eb5d8]
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 [0x10214414]
cmp byte [eax + 0x5c], 0
jne 0x1012c136
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.10156bf0
mov dword [esi + 0x15a0], 0x40900000
lea eax, [esp + 0x170]
mov esi, dword [0x103d8bec]
push eax
mov dword [esp + 0x174], 2
movss xmm0, dword [esi + 0x156c]
lea ecx, [esi + 0x1ce4]
movss dword [esp + 0x178], xmm0
call fcn.10156bf0
mov dword [esi + 0x156c], 0x40900000
lea eax, [esp + 0x20]
mov esi, dword [0x103d8bec]
push eax
mov dword [esp + 0x24], 0
movups xmm0, xmmword [esi + 0x1624]
lea ecx, [esi + 0x1cd8]
movups xmmword [esp + 0x28], xmm0
call fcn.10156ca0
mov dword [esi + 0x1624], 0x437f0000
mov dword [esi + 0x1628], 0x437f0000
mov dword [esi + 0x162c], 0x437f0000
mov dword [esi + 0x1630], 0x437f0000
mov eax, dword [0x10214408]
cmp byte [eax + 0x326c], 0
je 0x1012c2be
movss xmm0, dword [eax + 0x37a8]
mov esi, dword [0x103d8bec]
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.10156ca0
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 [0x103d8bec]
mov esi, 0xc022b
movss xmm0, dword [0x101eb704]
mov ecx, 1
movss xmm2, dword [0x101eb6cc]
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 [0x10214414]
cmp byte [eax + 0x5c], 0
mov ax, word [0x101e3be0]
cmovne esi, ecx
mov word [esp + 0x178], ax
mov al, byte [0x101e3be2]
xor edx, edx
movq qword [esp + 0x170], xmm0
mov byte [esp + 0x17a], al
mov dword [esp + 0xc], edx
mov eax, 0x5397829d
mul edx
shr edx, 4
movsx eax, dl
mov edx, dword [esp + 0xc]
mov cl, dl
imul eax, eax, 0x31
sub cl, al
add cl, 0x34
xor byte [esp + edx + 0x170], cl
inc edx
mov dword [esp + 0xc], edx
cmp edx, 0xb
jl 0x1012c366
push esi
xor edx, edx
lea ecx, [esp + 0x174]
call fcn.1014dcf0
mov ecx, dword [0x103d8bec]
mov eax, dword [ecx + 0x1bdc]
mov byte [eax + 0x8c], 1
mov eax, dword [ecx + 0x1bdc]
mov esi, dword [eax + 0x28c]
call fcn.1017cdb0
movss xmm2, dword [0x101eb354]
mov ecx, eax
push esi
call fcn.1017d260
mov ecx, dword [0x103d8bec]
mov edi, 0x101c7630
mov esi, 0x101c762c
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, 0x10214434
cmp dword [0x103d8928], 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.10021d40
cmp dword [0x103d8928], 0
movaps xmm3, xmmword [0x101ebbc0]
movss xmm2, dword [esp + 0x1c]
cmovne esi, edi
comiss xmm2, xmm3
movss xmm0, dword [0x101eb354]
movups xmmword [esp + 0x180], xmm3
jbe 0x1012c468
movaps xmm1, xmm2
jmp 0x1012c46f
movaps xmm1, xmm0
minss xmm1, xmm3
movss xmm3, dword [0x101eb62c]
movss xmm5, dword [0x101eb2e4]
movss xmm4, dword [esp + 0x184]
mulss xmm1, xmm3
addss xmm1, xmm5
cvttss2si ecx, xmm1
shl ecx, 0x10
comiss xmm2, xmm4
jbe 0x1012c4a1
movaps xmm1, xmm2
jmp 0x1012c4a8
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 0x1012c4cc
movaps xmm1, xmm2
jmp 0x1012c4d3
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 0x1012c4f4
movaps xmm0, xmm2
jmp 0x1012c4f8
minss xmm0, xmm1
mov eax, dword [0x10214414]
mulss xmm0, xmm3
mov edi, dword [eax + 0x1c]
addss xmm0, xmm5
cvttss2si edx, xmm0
movss xmm0, dword [esp + 0x170]
addss xmm0, dword [0x101eb4bc]
shl edx, 0x18
or edx, ecx
movss dword [esp + 0x180], xmm0
movss xmm0, dword [esp + 0x168]
addss xmm0, dword [0x101eb458]
movss dword [esp + 0x184], xmm0
test edx, 0xff000000
je 0x1012c5c5
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 0x1012c560
sub ecx, dword [esp + 0x170]
add ecx, esi
cmp esi, ecx
je 0x1012c5c5
test edi, edi
jne 0x1012c582
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 [0x101eb518]
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.1015cf50
push ecx
lea ecx, [esp + 0xd4]
call fcn.1001f3a0
cmp byte [str._vyyts9], 0
mov ecx, dword [str.__R]
mov esi, dword [0x101e33d4]
mov eax, dword [0x10215510]
mov dword [esp + 0x170], ecx
mov dword [esp + 0x174], esi
je 0x1012c733
xor edx, edx
mov dword [esp + 0xc], edx
cmp eax, 2
jl 0x1012c700
movaps xmm2, xmmword [0x101eb880]
movaps xmm3, xmmword [0x101ebc30]
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 [0x101eb8e0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x101eb8c0]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x101eb990]
packuswb xmm1, xmm1
paddb xmm1, xmmword [str.4444444444444444]
movd xmm0, ecx
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 [0x101eb8e0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x101eb990]
packuswb xmm1, xmm1
paddb xmm1, xmmword [str.4444444444444444]
movd xmm0, esi
xorps xmm1, xmm0
movd dword [esp + 0x174], xmm1
jmp 0x1012c733
mov eax, 0x5397829d
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, 0x31
sub cl, al
add cl, 0x34
xor byte [esp + edx + 0x170], cl
inc edx
mov dword [esp + 0xc], edx
cmp edx, 8
jl 0x1012c700
lea edx, [esp + 0x170]
lea ecx, [esp + 0xd0]
call fcn.100b2220
mov ecx, dword [0x10214404]
xor edx, edx
movss xmm0, dword [0x103d8914]
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.1001f420
mov edx, 0x101e2f40
mov ecx, eax
call fcn.100b2220
lea eax, [esp + 0x1b4]
push eax
lea ecx, [esp + 0xd4]
call fcn.1001f300
mov esi, eax
cmp dword [esi + 0x14], 0xf
jbe 0x1012c799
mov esi, dword [esi]
mov edi, dword [0x103d8bec]
mov eax, dword [edi + 0x1bdc]
movss xmm0, dword [eax + 0x14]
movss dword [esp + 0x170], xmm0
test esi, esi
jne 0x1012c7bf
movss xmm2, dword [esp + 0x1c]
jmp 0x1012c826
movss xmm3, dword [0x101eb6cc]
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.1015cd90
movss xmm0, dword [esp + 0x168]
addss xmm0, dword [0x101eb34c]
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 [0x101eb2e4]
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.1015f760
mov ecx, dword [esp + 0x1c8]
cmp ecx, 0xf
jbe 0x1012c8b6
mov edx, dword [esp + 0x1b4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1012c8ac
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1012d31b
push ecx
push edx
call fcn.1018e3c3
add esp, 8
mov ecx, dword [0x103d891c]
mov dword [esp + 0x1c4], 0
mov dword [esp + 0x1c8], 0xf
mov byte [esp + 0x1b4], 0
cmp ecx, 0xffffffff
je 0x1012d1df
movss xmm0, dword [0x103d8914]
comiss xmm0, dword [0x103d8920]
setae al
mov byte [esp + 0xb], al
cmp ecx, dword [0x103db538]
jne 0x1012cc55
xor ecx, ecx
test al, al
je 0x1012c9e2
mov edx, 0xff00ff00
call fcn.10145ba0
mov ax, word [0x101e373c]
xor edx, edx
movq xmm0, qword [str.pPPBKXXZPX_]
mov word [esp + 0x188], ax
mov al, byte [0x101e373e]
movq qword [esp + 0x180], xmm0
mov byte [esp + 0x18a], al
mov dword [esp + 0xc], edx
nop word [eax + eax]
mov eax, 0x5397829d
mul edx
shr edx, 4
movsx eax, dl
mov edx, dword [esp + 0xc]
mov cl, dl
imul eax, eax, 0x31
sub cl, al
add cl, 0x34
xor byte [esp + edx + 0x180], cl
inc edx
mov dword [esp + 0xc], edx
cmp edx, 0xb
jl 0x1012c950
mov esi, dword [0x103d8bec]
movss xmm3, dword [0x101eb6cc]
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.1015cd90
movss xmm0, dword [esp + 0x168]
lea ecx, [esp + 0x180]
jmp 0x1012cbb4
mov edx, 0xffff0000
call fcn.10145ba0
cmp byte [0x101e3967], 0
mov ecx, dword [0x101e3960]
mov esi, dword [0x101e3964]
mov dword [esp + 0x168], ecx
mov dword [esp + 0x16c], esi
je 0x1012cb53
xor edx, edx
cmp dword [0x10215510], 2
mov dword [esp + 0xc], edx
jl 0x1012cb20
movaps xmm2, xmmword [0x101eb880]
movaps xmm4, xmmword [0x101ebc30]
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.4444444444444444]
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x101eb8e0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x101eb8c0]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x101eb990]
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 [0x101eb8e0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x101eb990]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, esi
xorps xmm1, xmm0
movd dword [esp + 0x16c], xmm1
jmp 0x1012cb53
mov eax, 0x5397829d
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, 0x31
sub cl, al
add cl, 0x34
xor byte [esp + edx + 0x168], cl
inc edx
mov dword [esp + 0xc], edx
cmp edx, 8
jl 0x1012cb20
mov esi, dword [0x103d8bec]
movss xmm3, dword [0x101eb6cc]
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.1015cd90
movss xmm0, dword [esp + 0x180]
lea ecx, [esp + 0x168]
addss xmm0, dword [0x101eb34c]
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 [0x101eb2e4]
addss xmm1, xmm2
maxss xmm0, xmm1
movss dword [eax + 0xcc], xmm1
movss dword [eax + 0xe4], xmm0
call fcn.1015f760
mov esi, dword [0x103d8bec]
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 0x1012d1e5
mov eax, dword [0x103db3fc]
mov edx, dword [0x103db400]
cmp eax, edx
je 0x1012d1df
cmp dword [eax + 0x84], ecx
je 0x1012cc79
add eax, 0x148
cmp eax, edx
jne 0x1012cc68
cmp eax, edx
je 0x1012d1df
test eax, eax
je 0x1012d1df
push ecx
lea ecx, [esp + 0x3c]
call fcn.1001f3a0
mov eax, dword [0x101e36c0]
xor edx, edx
cmp dword [0x10215510], 2
movups xmm0, xmmword [0x101e36b0]
mov dword [esp + 0x1a0], eax
mov ax, word [0x101e36c4]
mov word [esp + 0x1a4], ax
mov al, byte [0x101e36c6]
movups xmmword [esp + 0x190], xmm0
mov byte [esp + 0x1a6], al
mov dword [esp + 0xc], edx
jl 0x1012ce14
movaps xmm0, xmmword [str.4444444444444444]
lea esi, [esp + 0x194]
movaps xmm4, xmmword [0x101eb880]
movaps xmm3, xmmword [0x101ebc30]
movaps xmm5, xmmword [0x101eb8e0]
movaps xmmword [esp + 0x170], xmm0
mov ecx, dword [esp + 0x170]
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, 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 [0x101eb990]
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 [0x101eb990]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [esi + edx]
xorps xmm1, xmm0
movd dword [esi + edx], xmm1
add edx, 8
cmp edx, 0x10
jl 0x1012cd10
mov dword [esp + 0xc], edx
cmp edx, 0x17
jge 0x1012ce47
mov eax, 0x5397829d
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, 0x31
sub cl, al
add cl, 0x34
xor byte [esp + edx + 0x190], cl
inc edx
mov dword [esp + 0xc], edx
cmp edx, 0x17
jl 0x1012ce14
lea edx, [esp + 0x190]
lea ecx, [esp + 0x38]
call fcn.100b2220
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.1018d48d
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 [0x10214404]
lea ecx, [esp + 0x18c]
movss xmm0, dword [0x103d8920]
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.10020a90
cmp byte [esp + 0x184], 0
mov esi, 4
je 0x1012cf96
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.100265d0
mov ecx, dword [esp + 0x174]
add esp, 4
mov dword [esp + 0xc], eax
test ecx, ecx
je 0x1012cf3d
mov edx, dword [ecx]
mov edx, dword [edx + 8]
call edx
test eax, eax
je 0x1012cf3d
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 0x1012d320
lea ecx, [esp + 0x180]
call fcn.100209e0
mov edx, 0x101e2f40
mov ecx, edi
call fcn.100b2220
lea eax, [esp + 0x190]
push eax
lea ecx, [esp + 0x3c]
call fcn.1001f300
mov esi, eax
cmp dword [esi + 0x14], 0xf
jbe 0x1012cff0
mov esi, dword [esi]
mov edi, dword [0x103d8bec]
mov eax, dword [edi + 0x1bdc]
movss xmm0, dword [eax + 0x14]
movss dword [esp + 0x170], xmm0
test esi, esi
je 0x1012d07b
movss xmm3, dword [0x101eb6cc]
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.1015cd90
movss xmm0, dword [esp + 0x168]
addss xmm0, dword [0x101eb34c]
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 [0x101eb2e4]
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.1015f760
mov ecx, dword [esp + 0x1a4]
cmp ecx, 0xf
jbe 0x1012d10d
mov edx, dword [esp + 0x190]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1012d103
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1012d35d
push ecx
push edx
call fcn.1018e3c3
add esp, 8
cmp byte [esp + 0xb], 0
mov eax, 0xff00ff00
mov edx, 0xffff0000
mov ecx, 0x28
cmovne edx, eax
call fcn.10145ba0
mov eax, dword [0x10214404]
movss xmm0, dword [0x103d8920]
movss xmm1, dword [0x101eb498]
mov eax, dword [eax + 0x10]
subss xmm0, dword [eax + 0x10]
divss xmm0, dword [0x103d8924]
call fcn.100b5830
mov esi, dword [0x103d8bec]
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], 0x101c6bf4
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.1001ef40
mov eax, dword [esp + 0x38]
mov eax, dword [eax + 4]
mov dword [esp + eax + 0x38], 0x101c75f0
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], 0x101c6c28
call fcn.1018d27f
add esp, 4
mov esi, dword [0x103d8bec]
mov eax, dword [esi + 0x1bdc]
mov byte [eax + 0x8c], 1
mov eax, dword [0x10214408]
cmp byte [eax + 0x326c], 0
je 0x1012d228
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.10145c90
mov ecx, 1
call fcn.10145c90
call fcn.1014ff80
mov eax, dword [esp + 0xd0]
mov eax, dword [eax + 4]
mov dword [esp + eax + 0xd0], 0x101c6bf4
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.1001ef40
mov eax, dword [esp + 0xd0]
mov eax, dword [eax + 4]
mov dword [esp + eax + 0xd0], 0x101c75f0
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], 0x101c6c28
call fcn.1018d27f
add esp, 4
push 0x103db39c
call fcn.1018d82d
add esp, 4
mov ecx, dword [esp + 0x1cc]
pop edi
pop esi
xor ecx, esp
call fcn.1018e0ca
mov esp, ebp
pop ebp
ret
push 5
call fcn.1018da3c
push 6
mov dword [0x103db3c8], 0x7ffffffe
call fcn.1018da3c
call fcn.101934f6
test al, 4
je 0x1012d32b
mov esi, str.ios_base::badbit_set
jmp 0x1012d33a
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.10003340
push eax
push esi
lea ecx, [esp + 0x14]
call fcn.10003ac0
mov ecx, eax
call fcn.100031c0
call fcn.101934f6
int3