Function at 0x100b1e50
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xb8
mov eax, dword [0x102060c0]
xor eax, esp
mov dword [esp + 0xb4], eax
mov eax, dword [0x10223ca0]
push esi
push edi
cmp byte [eax + 0x199e], 0
je 0x100b280d
mov eax, dword [0x10225524]
mov ecx, dword [eax]
test ecx, ecx
je 0x100b280d
mov eax, dword [ecx]
mov eax, dword [eax + 0x270]
call eax
test al, al
je 0x100b280d
mov eax, dword [0x10223ca8]
mov ecx, dword [eax + 0x10]
mov eax, dword [ecx]
mov eax, dword [eax + 0x68]
call eax
test al, al
je 0x100b280d
mov eax, dword [0x10223ca8]
mov ecx, dword [eax + 0x10]
mov eax, dword [ecx]
mov eax, dword [eax + 0x6c]
call eax
test al, al
je 0x100b280d
mov eax, dword [0x10225524]
mov ecx, dword [0x10224d4c]
mov esi, dword [eax]
mov eax, dword fs:[0x2c]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x1034c494]
cmp eax, dword [ecx + 4]
jle 0x100b1f2e
push 0x1034c494
call fcn.10199827
add esp, 4
cmp dword [0x1034c494], 0xffffffff
jne 0x100b1f2e
mov edx, 0xc60bf9f2
mov ecx, 0x101e9179
call fcn.1007d520
mov ecx, eax
call fcn.100d0590
push 0x1034c494
mov dword [0x1034c49c], eax
call fcn.101997d6
add esp, 4
mov eax, dword [0x1034c49c]
mov ecx, dword [0x10225524]
movss xmm0, dword [esi + eax]
mov ecx, dword [ecx]
movss dword [esp + 0xc], xmm0
call fcn.1007d660
mov ecx, dword [0x10225524]
mov ecx, dword [ecx]
call fcn.100a67e0
mov eax, dword [0x10225524]
mov ecx, dword [eax]
mov eax, dword [ecx]
mov eax, dword [eax + 0x2c]
call eax
xorps xmm0, xmm0
movss xmm1, dword [eax + 4]
movss dword [esp + 0x10], xmm1
call fcn.101c0210
mov eax, dword [0x10225524]
cvtsd2ss xmm0, xmm0
mov ecx, dword [eax]
movss dword [esp + 0x14], xmm0
movss xmm0, dword [esp + 0xc]
mov eax, dword [ecx]
mulss xmm0, dword [0x101f75d4]
mov eax, dword [eax + 0x28]
movss dword [esp + 0xc], xmm0
call eax
movss xmm1, dword [esp + 0xc]
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [esp + 0x24], xmm0
cvtps2pd xmm0, xmm1
mov dword [esp + 0x2c], eax
call fcn.101c0210
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
mulss xmm1, dword [esp + 0x14]
mulss xmm1, dword [0x101f78f4]
addss xmm1, dword [esp + 0x24]
movss dword [esp + 0x30], xmm1
movss xmm1, dword [esp + 0xc]
cvtps2pd xmm0, xmm1
call fcn.101c1490
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
xorps xmm0, xmm0
mulss xmm1, dword [esp + 0x14]
mulss xmm1, dword [0x101f78f4]
addss xmm1, dword [esp + 0x28]
movss dword [esp + 0x34], xmm1
call fcn.101c1490
cvtsd2ss xmm0, xmm0
lea edx, [esp + 0x3c]
lea ecx, [esp + 0x24]
xorps xmm0, xmmword [0x101f80d0]
mulss xmm0, dword [0x101f78f4]
addss xmm0, dword [esp + 0x2c]
movss dword [esp + 0x38], xmm0
call fcn.10036470
test al, al
je 0x100b280d
lea edx, [esp + 0x18]
lea ecx, [esp + 0x30]
call fcn.10036470
test al, al
je 0x100b280d
mov eax, dword [0x10223ca8]
movss xmm1, dword [0x101f79e0]
push 0xff
mov ecx, dword [eax + 0x5c]
mov eax, dword [0x10223ca0]
mov esi, dword [ecx]
movss xmm0, dword [eax + 0x19b8]
mulss xmm0, xmm1
cvttss2si edx, xmm0
movss xmm0, dword [eax + 0x19b4]
mulss xmm0, xmm1
push edx
cvttss2si edx, xmm0
movss xmm0, dword [eax + 0x19b0]
mulss xmm0, xmm1
push edx
cvttss2si eax, xmm0
push eax
mov eax, dword [esi + 0x3c]
call eax
mov eax, dword [0x10223ca8]
mov ecx, dword [eax + 0x5c]
cvttss2si eax, dword [esp + 0x1c]
mov edx, dword [ecx]
push eax
cvttss2si eax, dword [esp + 0x1c]
push eax
cvttss2si eax, dword [esp + 0x48]
push eax
cvttss2si eax, dword [esp + 0x48]
push eax
mov eax, dword [edx + 0x4c]
call eax
mov eax, dword [0x101eb0ac]
xor edx, edx
mov dword [esp + 0x48], eax
mov al, byte [0x101eb0b0]
mov byte [esp + 0x4c], al
mov dword [esp + 0xc], edx
nop dword [eax]
mov eax, 0x1f7047dd
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, 0x39
sub cl, al
add cl, 0x32
xor byte [esp + edx + 0x48], cl
inc edx
mov dword [esp + 0xc], edx
cmp edx, 5
jl 0x100b2100
xorps xmm0, xmm0
mov dword [esp + 0x60], 0
lea ecx, [esp + 0x48]
movaps xmmword [esp + 0x50], xmm0
mov dword [esp + 0x64], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100b2152
sub ecx, edx
lea eax, [esp + 0x48]
push ecx
push eax
lea ecx, [esp + 0x58]
call fcn.100278e0
cmp dword [esp + 0x64], 0xf
lea edx, [esp + 0x50]
xorps xmm0, xmm0
mov dword [esp + 0xa0], 0
cmova edx, dword [esp + 0x50]
mov ecx, edx
movaps xmmword [esp + 0x90], xmm0
mov dword [esp + 0xa4], 0
lea esi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100b21a0
sub ecx, esi
push ecx
push edx
lea ecx, [esp + 0x98]
call fcn.100278e0
mov ecx, dword [esp + 0x64]
cmp ecx, 0xf
jbe 0x100b21ed
mov edx, dword [esp + 0x50]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100b21e3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100b2821
push ecx
push edx
call fcn.1019958d
add esp, 8
mov eax, dword [0x10223ca8]
lea ecx, [esp + 0x90]
cmp dword [esp + 0xa4], 0xf
cmova ecx, dword [esp + 0x90]
mov edi, dword [eax + 0x5c]
mov eax, dword [esp + 0xa0]
add eax, ecx
cmp dword [esp + 0xa4], 0xf
lea ecx, [esp + 0x90]
cmova ecx, dword [esp + 0x90]
push ecx
push eax
push ecx
lea ecx, [esp + 0x5c]
call fcn.1003ca10
cmp dword [eax + 0x14], 7
jbe 0x100b2240
mov eax, dword [eax]
mov edx, dword [edi]
lea ecx, [esp + 0xc]
push ecx
lea ecx, [esp + 0x4c]
push ecx
push eax
mov eax, dword [0x10223cb0]
mov ecx, edi
push dword [eax + 0x2c]
mov eax, dword [edx + 0x13c]
call eax
lea ecx, [esp + 0x50]
call fcn.100021a0
mov eax, dword [0x10223ca8]
movss xmm1, dword [0x101f79e0]
push 0xff
mov ecx, dword [eax + 0x5c]
mov eax, dword [0x10223ca0]
mov esi, dword [ecx]
movss xmm0, dword [eax + 0x19b8]
mulss xmm0, xmm1
cvttss2si edx, xmm0
movss xmm0, dword [eax + 0x19b4]
mulss xmm0, xmm1
push edx
cvttss2si edx, xmm0
movss xmm0, dword [eax + 0x19b0]
mulss xmm0, xmm1
push edx
cvttss2si eax, xmm0
push eax
mov eax, dword [esi + 0x64]
call eax
mov eax, dword [0x10223ca8]
mov ecx, dword [eax + 0x5c]
mov eax, dword [0x10223cb0]
mov edx, dword [ecx]
push dword [eax + 0x2c]
mov eax, dword [edx + 0x5c]
call eax
mov eax, dword [0x10223ca8]
movss xmm1, dword [esp + 0x1c]
mov ecx, dword [eax + 0x5c]
mov eax, dword [esp + 0xc]
cdq
sub eax, edx
sar eax, 1
mov esi, dword [ecx]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm1, xmm0
cvttss2si eax, xmm1
movss xmm1, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x4c]
cdq
sub eax, edx
sar eax, 1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm1, xmm0
cvttss2si eax, xmm1
push eax
mov eax, dword [esi + 0x68]
call eax
mov eax, dword [0x10223ca8]
lea ecx, [esp + 0x90]
cmp dword [esp + 0xa4], 0xf
cmova ecx, dword [esp + 0x90]
mov eax, dword [eax + 0x5c]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0xa0]
add eax, ecx
cmp dword [esp + 0xa4], 0xf
lea ecx, [esp + 0x90]
cmova ecx, dword [esp + 0x90]
push ecx
push eax
push ecx
lea ecx, [esp + 0x5c]
call fcn.1003ca10
mov esi, eax
cmp dword [esi + 0x14], 7
jbe 0x100b2379
mov esi, dword [esi]
mov edx, esi
lea edi, [edx + 2]
nop
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x100b2380
mov ecx, dword [esp + 0x48]
sub edx, edi
push 0
sar edx, 1
push edx
mov eax, dword [ecx]
push esi
mov eax, dword [eax + 0x70]
call eax
lea ecx, [esp + 0x50]
call fcn.100021a0
movss xmm0, dword [esp + 0x10]
mulss xmm0, dword [0x101f75d4]
movss dword [esp + 0x10], xmm0
cvtps2pd xmm0, xmm0
call fcn.101c0210
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
mulss xmm1, dword [esp + 0x14]
mulss xmm1, dword [0x101f78f4]
addss xmm1, dword [esp + 0x24]
movss dword [esp + 0x30], xmm1
movss xmm1, dword [esp + 0x10]
cvtps2pd xmm0, xmm1
call fcn.101c1490
cvtsd2ss xmm0, xmm0
lea edx, [esp + 0x3c]
lea ecx, [esp + 0x24]
mulss xmm0, dword [esp + 0x14]
mulss xmm0, dword [0x101f78f4]
addss xmm0, dword [esp + 0x28]
movss dword [esp + 0x34], xmm0
call fcn.10036470
test al, al
je 0x100b27d5
lea edx, [esp + 0x18]
lea ecx, [esp + 0x30]
call fcn.10036470
test al, al
je 0x100b27d5
lea edx, [esp + 0x3c]
lea ecx, [esp + 0x24]
call fcn.10036470
test al, al
je 0x100b27d5
lea edx, [esp + 0x18]
lea ecx, [esp + 0x30]
call fcn.10036470
test al, al
je 0x100b27d5
mov eax, dword [0x10223ca8]
movss xmm1, dword [0x101f79e0]
push 0xff
mov ecx, dword [eax + 0x5c]
mov eax, dword [0x10223ca0]
mov esi, dword [ecx]
movss xmm0, dword [eax + 0x19a7]
mulss xmm0, xmm1
cvttss2si edx, xmm0
movss xmm0, dword [eax + 0x19a3]
mulss xmm0, xmm1
push edx
cvttss2si edx, xmm0
movss xmm0, dword [eax + 0x199f]
mulss xmm0, xmm1
push edx
cvttss2si eax, xmm0
push eax
mov eax, dword [esi + 0x3c]
call eax
mov eax, dword [0x10223ca8]
mov ecx, dword [eax + 0x5c]
cvttss2si eax, dword [esp + 0x1c]
mov edx, dword [ecx]
push eax
cvttss2si eax, dword [esp + 0x1c]
push eax
cvttss2si eax, dword [esp + 0x48]
push eax
cvttss2si eax, dword [esp + 0x48]
push eax
mov eax, dword [edx + 0x4c]
call eax
mov eax, dword [str._vuy6]
xor edx, edx
mov dword [esp + 0x48], eax
mov al, byte [0x101eb1f4]
mov byte [esp + 0x4c], al
mov dword [esp + 0x10], edx
nop dword [eax + eax]
mov eax, 0x1f7047dd
mul edx
mov eax, dword [esp + 0x10]
sub eax, edx
shr eax, 1
add eax, edx
mov edx, dword [esp + 0x10]
shr eax, 5
mov cl, dl
movsx eax, al
imul eax, eax, 0x39
sub cl, al
add cl, 0x32
xor byte [esp + edx + 0x48], cl
inc edx
mov dword [esp + 0x10], edx
cmp edx, 5
jl 0x100b2500
xorps xmm0, xmm0
mov dword [esp + 0x60], 0
lea ecx, [esp + 0x48]
movaps xmmword [esp + 0x50], xmm0
mov dword [esp + 0x64], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100b2552
sub ecx, edx
lea eax, [esp + 0x48]
push ecx
push eax
lea ecx, [esp + 0x58]
call fcn.100278e0
cmp dword [esp + 0x64], 0xf
lea edx, [esp + 0x50]
xorps xmm0, xmm0
mov dword [esp + 0x80], 0
cmova edx, dword [esp + 0x50]
mov ecx, edx
movaps xmmword [esp + 0x70], xmm0
mov dword [esp + 0x84], 0
lea esi, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100b25a0
sub ecx, esi
push ecx
push edx
lea ecx, [esp + 0x78]
call fcn.100278e0
mov ecx, dword [esp + 0x64]
cmp ecx, 0xf
jbe 0x100b25ea
mov edx, dword [esp + 0x50]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100b25e0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100b2821
push ecx
push edx
call fcn.1019958d
add esp, 8
mov eax, dword [0x10223ca8]
lea ecx, [esp + 0x70]
cmp dword [esp + 0x84], 0xf
cmova ecx, dword [esp + 0x70]
mov edi, dword [eax + 0x5c]
mov eax, dword [esp + 0x80]
add eax, ecx
cmp dword [esp + 0x84], 0xf
lea ecx, [esp + 0x70]
cmova ecx, dword [esp + 0x70]
push ecx
push eax
push ecx
lea ecx, [esp + 0x5c]
call fcn.1003ca10
cmp dword [eax + 0x14], 7
jbe 0x100b2631
mov eax, dword [eax]
mov edx, dword [edi]
lea ecx, [esp + 0x48]
push ecx
lea ecx, [esp + 0x14]
push ecx
push eax
mov eax, dword [0x10223cb0]
mov ecx, edi
push dword [eax + 0x2c]
mov eax, dword [edx + 0x13c]
call eax
lea ecx, [esp + 0x50]
call fcn.100021a0
mov eax, dword [0x10223ca8]
movss xmm1, dword [0x101f79e0]
push 0xff
mov ecx, dword [eax + 0x5c]
mov eax, dword [0x10223ca0]
mov esi, dword [ecx]
movss xmm0, dword [eax + 0x19a7]
mulss xmm0, xmm1
cvttss2si edx, xmm0
movss xmm0, dword [eax + 0x19a3]
mulss xmm0, xmm1
push edx
cvttss2si edx, xmm0
movss xmm0, dword [eax + 0x199f]
mulss xmm0, xmm1
push edx
cvttss2si eax, xmm0
push eax
mov eax, dword [esi + 0x64]
call eax
mov eax, dword [0x10223ca8]
mov ecx, dword [eax + 0x5c]
mov eax, dword [0x10223cb0]
mov edx, dword [ecx]
push dword [eax + 0x2c]
mov eax, dword [edx + 0x5c]
call eax
mov eax, dword [0x10223ca8]
movss xmm1, dword [esp + 0x1c]
mov ecx, dword [eax + 0x5c]
mov eax, dword [esp + 0x48]
cdq
sub eax, edx
sar eax, 1
mov esi, dword [ecx]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm1, xmm0
cvttss2si eax, xmm1
movss xmm1, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x14]
cdq
sub eax, edx
sar eax, 1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm1, xmm0
cvttss2si eax, xmm1
push eax
mov eax, dword [esi + 0x68]
call eax
mov eax, dword [0x10223ca8]
lea ecx, [esp + 0x70]
cmp dword [esp + 0x84], 0xf
cmova ecx, dword [esp + 0x70]
mov edi, dword [eax + 0x5c]
mov eax, dword [esp + 0x80]
add eax, ecx
cmp dword [esp + 0x84], 0xf
lea ecx, [esp + 0x70]
cmova ecx, dword [esp + 0x70]
push ecx
push eax
push ecx
lea ecx, [esp + 0x5c]
call fcn.1003ca10
mov esi, eax
cmp dword [esi + 0x14], 7
jbe 0x100b275a
mov esi, dword [esi]
mov edx, esi
lea ecx, [edx + 2]
nop
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x100b2760
mov eax, dword [edi]
sub edx, ecx
push 0
sar edx, 1
mov ecx, edi
push edx
mov eax, dword [eax + 0x70]
push esi
call eax
lea ecx, [esp + 0x50]
call fcn.100021a0
mov ecx, dword [esp + 0x84]
cmp ecx, 0xf
jbe 0x100b27ba
mov edx, dword [esp + 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100b27b0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100b2821
push ecx
push edx
call fcn.1019958d
add esp, 8
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0xf
mov byte [esp + 0x70], 0
mov ecx, dword [esp + 0xa4]
cmp ecx, 0xf
jbe 0x100b280d
mov edx, dword [esp + 0x90]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100b2803
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100b2821
push ecx
push edx
call fcn.1019958d
add esp, 8
mov ecx, dword [esp + 0xbc]
pop edi
pop esi
xor ecx, esp
call fcn.10199294
mov esp, ebp
pop ebp
ret
call fcn.1019e6c6
int3