Function at 0x1012c000
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 0x1012d2ff
push 0x103db39c
call fcn.1018d9ab
add esp, 4
test eax, eax
jne 0x1012d313
cmp dword [0x103db3c8], 0x7fffffff
je 0x1012d31a
movss xmm0, dword [0x103d8914]
xorps xmm1, xmm1
ucomiss xmm0, xmm1
movss dword [esp + 0x1c], xmm1
lahf
test ah, 0x44
mov eax, dword [0x10214414]
jp 0x1012c07c
cmp byte [eax + 0x5c], 0
je 0x1012d2f2
cmp byte [eax + 0x5c], 0
mov esi, dword [0x103d8bec]
movss xmm1, dword [0x101eb2c4]
jne 0x1012c0a1
or dword [esi + 0x1c64], 0x40
mov dword [esi + 0x1cb8], 0x3f000000
movss xmm0, dword [esi + 0x54]
subss xmm0, dword [0x101eb5b8]
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 0x1012c126
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.10156d90
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.10156d90
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.10156e40
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 0x1012c2ae
movss xmm0, dword [eax + 0x37a8]
mov esi, dword [0x103d8bec]
movss dword [esp + 8], 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.10156e40
movss xmm0, dword [esp + 8]
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 [0x101eb6e4]
mov ecx, 1
movss xmm2, dword [0x101eb6ac]
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 [0x101e397c]
mov dword [eax + 0x1cb0], 0
mov dword [eax + 0x1cb4], 0
mov eax, dword [0x10214414]
cmp byte [eax + 0x5c], 0
mov ax, word [0x101e3984]
cmovne esi, ecx
mov word [esp + 0x178], ax
mov al, byte [0x101e3986]
xor edx, edx
movq qword [esp + 0x170], xmm0
mov byte [esp + 0x17a], al
mov dword [esp + 8], edx
mov eax, 0xa0a0a0a1
mul edx
shr edx, 5
movsx eax, dl
mov edx, dword [esp + 8]
mov cl, dl
imul eax, eax, 0x33
sub cl, al
add cl, 0x30
xor byte [esp + edx + 0x170], cl
inc edx
mov dword [esp + 8], edx
cmp edx, 0xb
jl 0x1012c356
push esi
xor edx, edx
lea ecx, [esp + 0x174]
call fcn.1014de90
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.1017cf70
movss xmm2, dword [0x101eb334]
mov ecx, eax
push esi
call fcn.1017d420
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 + 0xc], eax
mov eax, edi
cmove eax, esi
push eax
call fcn.10021d40
cmp dword [0x103d8928], 0
movaps xmm3, xmmword [0x101ebbb0]
movss xmm2, dword [esp + 0x1c]
cmovne esi, edi
comiss xmm2, xmm3
movss xmm0, dword [0x101eb334]
movups xmmword [esp + 0x180], xmm3
jbe 0x1012c458
movaps xmm1, xmm2
jmp 0x1012c45f
movaps xmm1, xmm0
minss xmm1, xmm3
movss xmm3, dword [0x101eb60c]
movss xmm5, dword [0x101eb2c4]
movss xmm4, dword [esp + 0x184]
mulss xmm1, xmm3
addss xmm1, xmm5
cvttss2si ecx, xmm1
shl ecx, 0x10
comiss xmm2, xmm4
jbe 0x1012c491
movaps xmm1, xmm2
jmp 0x1012c498
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 0x1012c4bc
movaps xmm1, xmm2
jmp 0x1012c4c3
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 0x1012c4e4
movaps xmm0, xmm2
jmp 0x1012c4e8
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 [0x101eb49c]
shl edx, 0x18
or edx, ecx
movss dword [esp + 0x180], xmm0
movss xmm0, dword [esp + 0x168]
addss xmm0, dword [0x101eb438]
movss dword [esp + 0x184], xmm0
test edx, 0xff000000
je 0x1012c5b5
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 0x1012c550
sub ecx, dword [esp + 0x170]
add ecx, esi
cmp esi, ecx
je 0x1012c5b5
test edi, edi
jne 0x1012c572
mov eax, dword [esp + 8]
mov eax, dword [eax + 0x2c]
mov edi, dword [eax + 8]
push dword [esp + 0x184]
mov eax, dword [esp + 0xc]
push dword [esp + 0x184]
movss xmm2, dword [0x101eb4f8]
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.1015d0f0
push ecx
lea ecx, [esp + 0xd4]
call fcn.1001f3a0
cmp byte [0x101e3c2b], 0
mov ecx, dword [str.dX_V]
mov esi, dword [0x101e3c28]
mov eax, dword [0x10215510]
mov dword [esp + 0x170], ecx
mov dword [esp + 0x174], esi
je 0x1012c72b
xor edx, edx
mov dword [esp + 8], edx
cmp eax, 2
jl 0x1012c6f4
movaps xmm2, xmmword [0x101eb860]
movaps xmm3, xmmword [0x101ebc90]
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 [0x101eb8e0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x101eb8a0]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x101eb980]
packuswb xmm1, xmm1
paddb xmm1, xmmword [str.0000000000000000]
movd xmm0, ecx
xorps xmm1, xmm0
movaps xmm0, xmm2
movd dword [esp + 0x170], 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 [0x101eb8e0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x101eb980]
packuswb xmm1, xmm1
paddb xmm1, xmmword [str.0000000000000000]
movd xmm0, esi
xorps xmm1, xmm0
movd dword [esp + 0x174], xmm1
jmp 0x1012c72b
mov eax, 0xa0a0a0a1
imul edx
add edx, dword [esp + 8]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 8]
movsx eax, al
mov cl, dl
imul eax, eax, 0x33
sub cl, al
add cl, 0x30
xor byte [esp + edx + 0x170], cl
inc edx
mov dword [esp + 8], edx
cmp edx, 8
jl 0x1012c6f4
lea edx, [esp + 0x170]
lea ecx, [esp + 0xd0]
call fcn.100b2280
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, 0x101e2f28
mov ecx, eax
call fcn.100b2280
lea eax, [esp + 0x1b4]
push eax
lea ecx, [esp + 0xd4]
call fcn.1001f300
mov esi, eax
cmp dword [esi + 0x14], 0xf
jbe 0x1012c791
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 0x1012c7b7
movss xmm2, dword [esp + 0x1c]
jmp 0x1012c81e
movss xmm3, dword [0x101eb6ac]
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.1015cf30
movss xmm0, dword [esp + 0x168]
addss xmm0, dword [0x101eb32c]
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 [0x101eb2c4]
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.1015f900
mov ecx, dword [esp + 0x1c8]
cmp ecx, 0xf
jbe 0x1012c8ae
mov edx, dword [esp + 0x1b4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1012c8a4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1012d32b
push ecx
push edx
call fcn.1018e573
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 0x1012d1ef
movss xmm0, dword [0x103d8914]
comiss xmm0, dword [0x103d8920]
setae al
mov byte [esp + 0x1b], al
cmp ecx, dword [0x103db538]
jne 0x1012cc4d
xor ecx, ecx
test al, al
je 0x1012c9d4
mov edx, 0xff00ff00
call fcn.10145d40
mov ax, word [0x101e33ec]
xor edx, edx
movq xmm0, qword [str.tTTFGTTVT:]
mov word [esp + 0x188], ax
mov al, byte [0x101e33ee]
movq qword [esp + 0x180], xmm0
mov byte [esp + 0x18a], al
mov dword [esp + 8], edx
mov eax, 0xa0a0a0a1
mul edx
shr edx, 5
movsx eax, dl
mov edx, dword [esp + 8]
mov cl, dl
imul eax, eax, 0x33
sub cl, al
add cl, 0x30
xor byte [esp + edx + 0x180], cl
inc edx
mov dword [esp + 8], edx
cmp edx, 0xb
jl 0x1012c942
mov esi, dword [0x103d8bec]
movss xmm3, dword [0x101eb6ac]
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.1015cf30
movss xmm0, dword [esp + 0x168]
lea ecx, [esp + 0x180]
jmp 0x1012cbac
mov edx, 0xffff0000
call fcn.10145d40
cmp byte [str.7ta], 0
mov ecx, dword [0x101e31a4]
mov esi, dword [0x101e31a8]
mov dword [esp + 0x168], ecx
mov dword [esp + 0x16c], esi
je 0x1012cb4b
xor edx, edx
cmp dword [0x10215510], 2
mov dword [esp + 8], edx
jl 0x1012cb14
movaps xmm2, xmmword [0x101eb860]
movaps xmm4, xmmword [0x101ebc90]
movaps xmm1, xmm2
punpckldq xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
mov eax, dword [str.0000000000000000]
psrad xmm1, 5
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x101eb8e0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x101eb8a0]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x101eb980]
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
punpckldq xmm1, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
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 [0x101eb980]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, esi
xorps xmm1, xmm0
movd dword [esp + 0x16c], xmm1
jmp 0x1012cb4b
mov eax, 0xa0a0a0a1
imul edx
add edx, dword [esp + 8]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 8]
movsx eax, al
mov cl, dl
imul eax, eax, 0x33
sub cl, al
add cl, 0x30
xor byte [esp + edx + 0x168], cl
inc edx
mov dword [esp + 8], edx
cmp edx, 8
jl 0x1012cb14
mov esi, dword [0x103d8bec]
movss xmm3, dword [0x101eb6ac]
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.1015cf30
movss xmm0, dword [esp + 0x180]
lea ecx, [esp + 0x168]
addss xmm0, dword [0x101eb32c]
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 [0x101eb2c4]
addss xmm1, xmm2
maxss xmm0, xmm1
movss dword [eax + 0xcc], xmm1
movss dword [eax + 0xe4], xmm0
call fcn.1015f900
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 0x1012d1f5
mov eax, dword [0x103db3fc]
mov edx, dword [0x103db400]
cmp eax, edx
je 0x1012d1ef
cmp dword [eax + 0x84], ecx
je 0x1012cc71
add eax, 0x148
cmp eax, edx
jne 0x1012cc60
cmp eax, edx
je 0x1012d1ef
test eax, eax
je 0x1012d1ef
push ecx
lea ecx, [esp + 0x3c]
call fcn.1001f3a0
mov eax, dword [0x101e37e4]
xor edx, edx
cmp dword [0x10215510], 2
movups xmm0, xmmword [0x101e37d4]
mov dword [esp + 0x1a0], eax
mov ax, word [0x101e37e8]
mov word [esp + 0x1a4], ax
mov al, byte [0x101e37ea]
movups xmmword [esp + 0x190], xmm0
mov byte [esp + 0x1a6], al
mov dword [esp + 8], edx
jl 0x1012ce20
movaps xmm0, xmmword [str.0000000000000000]
lea esi, [esp + 0x194]
movaps xmm4, xmmword [0x101eb860]
movaps xmm3, xmmword [0x101ebc90]
movaps xmm5, xmmword [0x101eb8e0]
movaps xmmword [esp + 0x170], xmm0
mov ecx, dword [esp + 0x170]
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 [0x101eb980]
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
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 [0x101eb980]
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 + 8], edx
cmp edx, 0x17
jge 0x1012ce57
nop dword [eax]
mov eax, 0xa0a0a0a1
imul edx
add edx, dword [esp + 8]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 8]
movsx eax, al
mov cl, dl
imul eax, eax, 0x33
sub cl, al
add cl, 0x30
xor byte [esp + edx + 0x190], cl
inc edx
mov dword [esp + 8], edx
cmp edx, 0x17
jl 0x1012ce20
lea edx, [esp + 0x190]
lea ecx, [esp + 0x38]
call fcn.100b2280
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.1018d63d
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 + 8], 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 0x1012cfa6
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 + 0xc], ecx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [esp + 8]
push eax
call fcn.100265d0
mov ecx, dword [esp + 0x174]
add esp, 4
mov dword [esp + 8], eax
test ecx, ecx
je 0x1012cf4d
mov edx, dword [ecx]
mov edx, dword [edx + 8]
call edx
test eax, eax
je 0x1012cf4d
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 + 0x10]
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 + 0x1c]
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 + 8], 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 + 8]
and esi, 0x17
mov dword [eax + 0xc], esi
mov eax, dword [eax + 0x10]
and eax, esi
jne 0x1012d330
lea ecx, [esp + 0x180]
call fcn.100209e0
mov edx, 0x101e2f28
mov ecx, edi
call fcn.100b2280
lea eax, [esp + 0x190]
push eax
lea ecx, [esp + 0x3c]
call fcn.1001f300
mov esi, eax
cmp dword [esi + 0x14], 0xf
jbe 0x1012d000
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 0x1012d08b
movss xmm3, dword [0x101eb6ac]
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.1015cf30
movss xmm0, dword [esp + 0x168]
addss xmm0, dword [0x101eb32c]
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 [0x101eb2c4]
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.1015f900
mov ecx, dword [esp + 0x1a4]
cmp ecx, 0xf
jbe 0x1012d11d
mov edx, dword [esp + 0x190]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1012d113
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1012d36d
push ecx
push edx
call fcn.1018e573
add esp, 8
cmp byte [esp + 0x1b], 0
mov eax, 0xff00ff00
mov edx, 0xffff0000
mov ecx, 0x28
cmovne edx, eax
call fcn.10145d40
mov eax, dword [0x10214404]
movss xmm0, dword [0x103d8920]
movss xmm1, dword [0x101eb478]
mov eax, dword [eax + 0x10]
subss xmm0, dword [eax + 0x10]
divss xmm0, dword [0x103d8924]
call fcn.100b5890
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.1018d42f
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 0x1012d238
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.10145e30
mov ecx, 1
call fcn.10145e30
call fcn.10150120
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.1018d42f
add esp, 4
push 0x103db39c
call fcn.1018d9dd
add esp, 4
mov ecx, dword [esp + 0x1cc]
pop edi
pop esi
xor ecx, esp
call fcn.1018e27a
mov esp, ebp
pop ebp
ret
push 5
call fcn.1018dbec
push 6
mov dword [0x103db3c8], 0x7ffffffe
call fcn.1018dbec
call fcn.101936a6
test al, 4
je 0x1012d33b
mov esi, str.ios_base::badbit_set
jmp 0x1012d34a
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 + 0x10]
call fcn.10003ac0
mov ecx, eax
call fcn.100031c0
call fcn.101936a6
int3