Function at 0x10104510
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
mov eax, dword [0x10216634]
sub esp, 0x1d4
cmp byte [eax + 0x37d9], 0
push ebx
push esi
push edi
je 0x10105677
push 0x10425ff8
call fcn.1015f330
add esp, 4
test eax, eax
jne 0x1010567e
cmp dword [0x10426024], 0x7fffffff
je 0x10105685
movss xmm0, dword [0x10423628]
xorps xmm1, xmm1
ucomiss xmm0, xmm1
movss dword [esp + 0x40], xmm1
lahf
test ah, 0x44
mov eax, dword [0x10216964]
jp 0x1010457f
cmp byte [eax + 0xc], 0
je 0x1010566a
cmp byte [eax + 0xc], 0
mov esi, dword [0x10423820]
movss xmm1, dword [0x101ecb34]
jne 0x101045a4
or dword [esi + 0x1c64], 0x40
mov dword [esi + 0x1cb8], 0x3f000000
movss xmm0, dword [esi + 0x54]
subss xmm0, dword [0x101ecdf8]
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 [0x10216964]
cmp byte [eax + 0xc], 0
jne 0x10104629
mov dword [esi + 0x1c84], 0x432a0000
mov dword [esi + 0x1c6c], 1
movss xmm0, dword [esi + 0x15a0]
lea eax, [esp + 0x20]
push eax
lea ecx, [esi + 0x1ce4]
mov dword [esp + 0x24], 0xb
movss dword [esp + 0x28], xmm0
call fcn.101299a0
mov dword [esi + 0x15a0], 0x40900000
lea eax, [esp + 0x20]
mov esi, dword [0x10423820]
push eax
mov dword [esp + 0x24], 2
movss xmm0, dword [esi + 0x156c]
lea ecx, [esi + 0x1ce4]
movss dword [esp + 0x28], xmm0
call fcn.101299a0
mov dword [esi + 0x156c], 0x40900000
lea eax, [esp + 0x70]
mov esi, dword [0x10423820]
push eax
mov dword [esp + 0x74], 0
movups xmm0, xmmword [esi + 0x1624]
lea ecx, [esi + 0x1cd8]
movups xmmword [esp + 0x78], xmm0
call fcn.10129a50
mov dword [esi + 0x1624], 0x437f0000
mov dword [esi + 0x1628], 0x437f0000
mov dword [esi + 0x162c], 0x437f0000
mov dword [esi + 0x1630], 0x437f0000
mov eax, dword [0x10216634]
cmp byte [eax + 0x3458], 0
je 0x10104793
movss xmm0, dword [eax + 0x3ad4]
mov esi, dword [0x10423820]
movss dword [esp + 0x88], xmm0
movss xmm0, dword [eax + 0x3ad8]
movss dword [esp + 0x44], xmm0
movss xmm0, dword [eax + 0x3adc]
lea ecx, [esi + 0x1cd8]
movss dword [esp + 0x18], xmm0
movss xmm0, dword [eax + 0x3ae0]
lea eax, [esp + 0x70]
movss dword [esp + 0x20], xmm0
movups xmm0, xmmword [esi + 0x1674]
push eax
mov dword [esp + 0x74], 5
movups xmmword [esp + 0x78], xmm0
call fcn.10129a50
movss xmm0, dword [esp + 0x88]
movss dword [esi + 0x1674], xmm0
movss xmm0, dword [esp + 0x44]
movss dword [esi + 0x1678], xmm0
movss xmm0, dword [esp + 0x18]
movss dword [esi + 0x167c], xmm0
movss xmm0, dword [esp + 0x20]
movss dword [esi + 0x1680], xmm0
mov eax, dword [0x10423820]
mov esi, 0xc022b
movss xmm0, dword [0x101ececc]
mov ecx, 1
movss xmm2, dword [0x101ece94]
movss xmm1, dword [esp + 0x40]
or dword [eax + 0x1c64], 0x10
movss dword [esp + 0x20], xmm1
mov dword [eax + 0x1ca0], 0
movss dword [eax + 0x1ca4], xmm0
movss dword [eax + 0x1ca8], xmm2
movss dword [eax + 0x1cac], xmm0
movq xmm0, qword [0x101e5428]
mov dword [eax + 0x1cb0], 0
mov dword [eax + 0x1cb4], 0
mov eax, dword [0x10216964]
cmp byte [eax + 0xc], 0
mov ax, word [0x101e5430]
mov word [esp + 0x28], ax
cmovne esi, ecx
mov al, byte [0x101e5432]
xor ebx, ebx
movq qword [esp + 0x20], xmm0
mov byte [esp + 0x2a], al
nop dword [eax + eax]
mov eax, 0x8d3dcb09
mov cl, bl
mul ebx
shr edx, 5
movsx eax, dl
imul eax, eax, 0x3a
sub cl, al
add cl, 0x34
xor byte [esp + ebx + 0x20], cl
inc ebx
cmp ebx, 0xb
jl 0x10104830
push esi
xor edx, edx
lea ecx, [esp + 0x24]
call fcn.10120b40
mov ecx, dword [0x10423820]
mov eax, dword [ecx + 0x1bdc]
mov byte [eax + 0x8c], 1
mov eax, dword [ecx + 0x1bdc]
mov esi, dword [eax + 0x28c]
call fcn.1014eeb0
movss xmm2, dword [0x101ecba0]
mov ecx, eax
push esi
call fcn.1014f320
mov ecx, dword [0x10423820]
mov esi, 0x1019f424
movaps xmm3, xmmword [0x101ed280]
movss xmm2, dword [esp + 0x40]
movss xmm0, dword [0x101ecba0]
mov eax, dword [ecx + 0x1bdc]
movups xmmword [esp + 0x20], xmm3
movss xmm6, dword [eax + 0xc]
movss xmm7, dword [eax + 0x10]
mov byte [eax + 0x8c], 1
mov eax, dword [ecx + 0x1bdc]
cmp dword [0x1042363c], 0
mov ebx, dword [eax + 0x28c]
mov eax, 0x1019da84
cmovne esi, eax
comiss xmm2, xmm3
jbe 0x101048f2
movaps xmm1, xmm2
jmp 0x101048f9
movaps xmm1, xmm0
minss xmm1, xmm3
movss xmm3, dword [0x101ece10]
movss xmm5, dword [0x101ecb34]
movss xmm4, dword [esp + 0x24]
mulss xmm1, xmm3
addss xmm1, xmm5
cvttss2si ecx, xmm1
shl ecx, 0x10
comiss xmm2, xmm4
jbe 0x10104928
movaps xmm1, xmm2
jmp 0x1010492f
movaps xmm1, xmm0
minss xmm1, xmm4
movss xmm4, dword [esp + 0x28]
mulss xmm1, xmm3
addss xmm1, xmm5
cvttss2si eax, xmm1
shl eax, 8
or ecx, eax
comiss xmm2, xmm4
jbe 0x10104950
movaps xmm1, xmm2
jmp 0x10104957
movaps xmm1, xmm0
minss xmm1, xmm4
mulss xmm1, xmm3
addss xmm1, xmm5
cvttss2si eax, xmm1
movss xmm1, dword [esp + 0x2c]
or ecx, eax
comiss xmm2, xmm1
jbe 0x10104975
movaps xmm0, xmm2
jmp 0x10104979
minss xmm0, xmm1
addss xmm6, dword [0x101ecd10]
addss xmm7, dword [0x101ecca0]
mov eax, dword [0x10216964]
mulss xmm0, xmm3
movss dword [esp + 0x18], xmm6
mov edi, dword [eax + 0x94]
addss xmm0, xmm5
movss dword [esp + 0x1c], xmm7
cvttss2si edx, xmm0
shl edx, 0x18
or edx, ecx
test edx, 0xff000000
je 0x10104a10
mov ecx, esi
lea eax, [ecx + 1]
mov dword [esp + 0x20], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x101049c2
sub ecx, dword [esp + 0x20]
add ecx, esi
cmp esi, ecx
je 0x10104a10
test edi, edi
jne 0x101049dd
mov eax, dword [ebx + 0x2c]
mov edi, dword [eax + 8]
push dword [esp + 0x1c]
movups xmm0, xmmword [ebx + 0x60]
lea eax, [esp + 0x24]
push dword [esp + 0x1c]
movss xmm2, dword [0x101ecd60]
push 0
push ecx
mov dword [esp], 0
push ecx
push esi
push eax
push edx
push ebx
mov ecx, edi
movups xmmword [esp + 0x44], xmm0
call fcn.1012f4f0
push ecx
lea ecx, [esp + 0x14c]
call fcn.10020f00
cmp byte [0x101e511f], 0
mov ecx, dword [str.__R]
mov edx, dword [0x101e511c]
mov eax, dword [0x10217ca4]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], edx
je 0x10104b6a
xor ebx, ebx
cmp eax, 2
jl 0x10104b40
movaps xmm2, xmmword [0x101ed000]
movaps xmm3, xmmword [0x101ed410]
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 [0x101ed0c0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x101ed030]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x101ed130]
packuswb xmm1, xmm1
paddb xmm1, xmmword [str.4444444444444444]
movd xmm0, ecx
xorps xmm1, xmm0
movaps xmm0, xmm2
movd dword [esp + 0x20], 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 [0x101ed0c0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x101ed130]
packuswb xmm1, xmm1
paddb xmm1, xmmword [str.4444444444444444]
movd xmm0, edx
xorps xmm1, xmm0
movd dword [esp + 0x24], xmm1
jmp 0x10104b6a
mov eax, 0x8d3dcb09
mov cl, bl
imul ebx
add edx, ebx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
movsx eax, al
imul eax, eax, 0x3a
sub cl, al
add cl, 0x34
xor byte [esp + ebx + 0x20], cl
inc ebx
cmp ebx, 8
jl 0x10104b40
lea edx, [esp + 0x20]
lea ecx, [esp + 0x148]
call fcn.100af840
mov ecx, dword [0x10216630]
xor edx, edx
movss xmm0, dword [0x10423628]
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.10020f80
mov edx, 0x101e4bb4
mov ecx, eax
call fcn.100af840
lea eax, [esp + 0x98]
push eax
lea ecx, [esp + 0x14c]
call fcn.10020e60
mov esi, eax
cmp dword [esi + 0x14], 0xf
jbe 0x10104bcd
mov esi, dword [esi]
mov edi, dword [0x10423820]
mov eax, dword [edi + 0x1bdc]
movss xmm0, dword [eax + 0x14]
movss dword [esp + 0x20], xmm0
test esi, esi
jne 0x10104bf0
movss xmm2, dword [esp + 0x40]
jmp 0x10104c48
movss xmm3, dword [0x101ece94]
lea eax, [esp + 0x18]
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.1012f330
movss xmm0, dword [esp + 0x18]
addss xmm0, dword [0x101ecb98]
cvttss2si eax, xmm0
movss xmm0, dword [esp + 0x1c]
movss dword [esp + 0x1c], xmm0
movss xmm0, dword [esp + 0x20]
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 [0x101ecb34]
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.10131c10
mov ecx, dword [esp + 0xac]
cmp ecx, 0xf
jbe 0x10104cd8
mov edx, dword [esp + 0x98]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10104cce
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10105696
push ecx
push edx
call fcn.1015fe24
add esp, 8
mov ecx, dword [0x10423630]
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], 0xf
mov byte [esp + 0x98], 0
cmp ecx, 0xffffffff
je 0x10105567
movss xmm0, dword [0x10423628]
comiss xmm0, dword [0x10423634]
setae al
mov byte [esp + 0x3f], al
cmp ecx, dword [0x104edac8]
jne 0x1010502a
xor ecx, ecx
test al, al
je 0x10104dd8
mov edx, 0xff00ff00
call fcn.10119350
mov ax, word [0x101e552c]
xor ebx, ebx
movq xmm0, qword [str.pPPBKXXZPX_]
mov word [esp + 0x4c], ax
mov al, byte [0x101e552e]
movq qword [esp + 0x44], xmm0
mov byte [esp + 0x4e], al
nop
mov eax, 0x8d3dcb09
mov cl, bl
mul ebx
shr edx, 5
movsx eax, dl
imul eax, eax, 0x3a
sub cl, al
add cl, 0x34
xor byte [esp + ebx + 0x44], cl
inc ebx
cmp ebx, 0xb
jl 0x10104d60
mov esi, dword [0x10423820]
movss xmm3, dword [0x101ece94]
push 0
push 0
mov eax, dword [esi + 0x1bdc]
movss xmm2, dword [esi + 0x1978]
movss xmm0, dword [eax + 0x14]
lea eax, [esp + 0x4c]
push eax
push ecx
mov ecx, dword [esi + 0x1974]
lea eax, [esp + 0x28]
mov dword [esp], 0xbf800000
push eax
movss dword [esp + 0x34], xmm0
call fcn.1012f330
movss xmm0, dword [esp + 0x18]
lea ecx, [esp + 0x44]
jmp 0x10104f8c
mov edx, 0xffff0000
call fcn.10119350
cmp byte [0x101e538b], 0
mov ecx, dword [0x101e5384]
mov edx, dword [0x101e5388]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], edx
je 0x10104f3a
xor ebx, ebx
cmp dword [0x10217ca4], 2
jl 0x10104f10
movaps xmm2, xmmword [0x101ed000]
movaps xmm4, xmmword [0x101ed410]
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.4444444444444444]
psrad xmm1, 5
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x101ed0c0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x101ed030]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x101ed130]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, ecx
xorps xmm1, xmm0
movaps xmm0, xmm2
movd dword [esp + 0x18], 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 [0x101ed0c0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x101ed130]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, edx
xorps xmm1, xmm0
movd dword [esp + 0x1c], xmm1
jmp 0x10104f3a
mov eax, 0x8d3dcb09
mov cl, bl
imul ebx
add edx, ebx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
movsx eax, al
imul eax, eax, 0x3a
sub cl, al
add cl, 0x34
xor byte [esp + ebx + 0x18], cl
inc ebx
cmp ebx, 8
jl 0x10104f10
mov esi, dword [0x10423820]
movss xmm3, dword [0x101ece94]
push 0
push 0
mov eax, dword [esi + 0x1bdc]
movss xmm2, dword [esi + 0x1978]
movss xmm0, dword [eax + 0x14]
lea eax, [esp + 0x20]
push eax
push ecx
mov ecx, dword [esi + 0x1974]
lea eax, [esp + 0x54]
mov dword [esp], 0xbf800000
push eax
movss dword [esp + 0x34], xmm0
call fcn.1012f330
movss xmm0, dword [esp + 0x44]
lea ecx, [esp + 0x18]
addss xmm0, dword [0x101ecb98]
movss xmm2, dword [esp + 0x20]
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 [0x101ecb34]
addss xmm1, xmm2
maxss xmm0, xmm1
movss dword [eax + 0xcc], xmm1
movss dword [eax + 0xe4], xmm0
call fcn.10131c10
mov esi, dword [0x10423820]
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 0x1010556d
mov eax, dword [0x104ed988]
mov edx, dword [0x104ed98c]
cmp eax, edx
je 0x10105567
nop dword [eax]
cmp dword [eax + 0x84], ecx
je 0x10105051
add eax, 0x148
cmp eax, edx
jne 0x10105040
cmp eax, edx
je 0x10105567
test eax, eax
je 0x10105567
push ecx
lea ecx, [esp + 0xb4]
call fcn.10020f00
mov eax, dword [0x101e5188]
xor ebx, ebx
cmp dword [0x10217ca4], 2
movups xmm0, xmmword [0x101e5178]
mov dword [esp + 0x60], eax
mov ax, word [0x101e518c]
mov word [esp + 0x64], ax
mov al, byte [0x101e518e]
movups xmmword [esp + 0x50], xmm0
mov byte [esp + 0x66], al
jl 0x101051d4
movaps xmm0, xmmword [str.4444444444444444]
movaps xmm4, xmmword [0x101ed000]
movaps xmm3, xmmword [0x101ed410]
movaps xmm5, xmmword [0x101ed0c0]
movaps xmmword [esp + 0x20], xmm0
mov ecx, dword [esp + 0x20]
nop dword [eax + eax]
movd xmm0, ebx
lea eax, [ebx + 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 [0x101ed130]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [esp + ebx + 0x50]
xorps xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [esp + ebx + 0x50], 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 [0x101ed130]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [esp + ebx + 0x54]
xorps xmm1, xmm0
movd dword [esp + ebx + 0x54], xmm1
add ebx, 8
cmp ebx, 0x10
jl 0x101050d0
cmp ebx, 0x17
jge 0x101051fe
mov eax, 0x8d3dcb09
mov cl, bl
imul ebx
add edx, ebx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
movsx eax, al
imul eax, eax, 0x3a
sub cl, al
add cl, 0x34
xor byte [esp + ebx + 0x50], cl
inc ebx
cmp ebx, 0x17
jl 0x101051d4
lea edx, [esp + 0x50]
lea ecx, [esp + 0xb0]
call fcn.100af840
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 + 0x78]
push eax
call fcn.1015efad
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 [0x10216630]
lea ecx, [esp + 0x50]
movss xmm0, dword [0x10423634]
add esp, 0xc
movss xmm1, dword [esp + 0x40]
xor ebx, ebx
mov eax, dword [eax + 0xc]
push edi
subss xmm0, dword [eax + 0x10]
maxss xmm1, xmm0
movss dword [esp + 0x1c], xmm1
call fcn.10022520
lea esi, [ebx + 4]
cmp byte [esp + 0x48], bl
je 0x10105320
mov eax, dword [edi]
mov eax, dword [eax + 4]
mov eax, dword [eax + edi + 0x30]
mov ebx, dword [eax + 4]
mov ecx, ebx
mov dword [esp + 0x24], ebx
mov eax, dword [ebx]
call dword [eax + 4]
lea eax, [esp + 0x20]
push eax
call fcn.10028e40
add esp, 4
mov dword [esp + 0x20], eax
test ebx, ebx
je 0x101052d6
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 8]
test eax, eax
je 0x101052d6
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 ebx, dword [esp + 0x28]
cvtps2pd xmm0, xmm0
mov ecx, dword [eax + 4]
movzx eax, byte [ecx + edi + 0x40]
add ecx, edi
mov edx, dword [ebx]
mov byte [esp + 0x90], 0
movsd qword [esp], xmm0
push eax
push ecx
push dword [ecx + 0x38]
lea eax, [esp + 0x34]
mov ecx, ebx
push dword [esp + 0x9c]
push eax
call dword [edx + 0x14]
xor ebx, ebx
cmp byte [esp + 0x20], bl
cmovne ebx, esi
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, ebx
or esi, dword [eax + 0xc]
and esi, 0x17
mov dword [eax + 0xc], esi
mov eax, dword [eax + 0x10]
and eax, esi
jne 0x1010569b
lea ecx, [esp + 0x44]
call fcn.10022470
mov edx, 0x101e4bb4
mov ecx, edi
call fcn.100af840
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0xb4]
call fcn.10020e60
mov esi, eax
cmp dword [esi + 0x14], 0xf
jbe 0x10105375
mov esi, dword [esi]
mov edi, dword [0x10423820]
mov eax, dword [edi + 0x1bdc]
movss xmm0, dword [eax + 0x14]
movss dword [esp + 0x20], xmm0
test esi, esi
je 0x101053ee
movss xmm3, dword [0x101ece94]
lea eax, [esp + 0x18]
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.1012f330
movss xmm0, dword [esp + 0x18]
addss xmm0, dword [0x101ecb98]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x40], xmm0
movss xmm0, dword [esp + 0x1c]
movss dword [esp + 0x1c], xmm0
movss xmm0, dword [esp + 0x20]
mov eax, dword [edi + 0x1bdc]
xor edx, edx
subss xmm0, dword [esp + 0x40]
push 1
mov ecx, esi
mov byte [eax + 0x8c], 1
mov eax, dword [edi + 0x1bdc]
mulss xmm0, dword [0x101ecb34]
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.10131c10
mov ecx, dword [esp + 0x64]
cmp ecx, 0xf
jbe 0x1010547a
mov edx, dword [esp + 0x50]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10105470
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x101056d8
push ecx
push edx
call fcn.1015fe24
add esp, 8
cmp byte [esp + 0x3f], 0
mov eax, 0xff00ff00
mov edx, 0xffff0000
mov ecx, 0x28
cmovne edx, eax
call fcn.10119350
mov eax, dword [0x10216630]
movss xmm0, dword [0x10423634]
movss xmm1, dword [0x101ecce8]
mov eax, dword [eax + 0xc]
subss xmm0, dword [eax + 0x10]
divss xmm0, dword [0x10423638]
call fcn.100b35d0
mov esi, dword [0x10423820]
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 + 0xb0]
mov eax, dword [eax + 4]
mov dword [esp + eax + 0xb0], 0x10197ca4
mov eax, dword [esp + 0xb0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [esp + ecx + 0xac], eax
lea ecx, [esp + 0xb4]
call fcn.10020aa0
mov eax, dword [esp + 0xb0]
mov eax, dword [eax + 4]
mov dword [esp + eax + 0xb0], 0x101986a0
mov eax, dword [esp + 0xb0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [esp + ecx + 0xac], eax
lea eax, [esp + 0x100]
push eax
mov dword [esp + 0x104], 0x10197cd8
call fcn.1015ed9f
add esp, 4
mov esi, dword [0x10423820]
mov eax, dword [esi + 0x1bdc]
mov byte [eax + 0x8c], 1
mov eax, dword [0x10216634]
cmp byte [eax + 0x3458], 0
je 0x101055b0
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.10119490
mov ecx, 1
call fcn.10119490
call fcn.10122da0
mov eax, dword [esp + 0x148]
mov eax, dword [eax + 4]
mov dword [esp + eax + 0x148], 0x10197ca4
mov eax, dword [esp + 0x148]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [esp + ecx + 0x144], eax
lea ecx, [esp + 0x14c]
call fcn.10020aa0
mov eax, dword [esp + 0x148]
mov eax, dword [eax + 4]
mov dword [esp + eax + 0x148], 0x101986a0
mov eax, dword [esp + 0x148]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [esp + ecx + 0x144], eax
lea eax, [esp + 0x198]
push eax
mov dword [esp + 0x19c], 0x10197cd8
call fcn.1015ed9f
add esp, 4
push 0x10425ff8
call fcn.1015f362
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 5
call fcn.1015f571
push 6
mov dword [0x10426024], 0x7ffffffe
call fcn.1015f571
call fcn.10164f66
test al, 4
je 0x101056a6
mov esi, str.ios_base::badbit_set
jmp 0x101056b5
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.10003be0
push eax
push esi
lea ecx, [esp + 0x90]
call fcn.10004340
mov ecx, eax
call fcn.10003a60
call fcn.10164f66
int3