Function at 0x100d7690
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x102ca745
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x198
mov eax, dword [0x1066bbc0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x12c], esi
mov eax, 1
mov dword [ebp - 0x44], eax
cmp byte [0x1065076b], 0
movups xmm0, xmmword [0x10650758]
mov dword [ebp - 0x40], eax
mov eax, dword [0x10650768]
mov dword [ebp - 0x5c], eax
mov eax, dword [0x106d5adc]
movups xmmword [ebp - 0x6c], xmm0
je 0x100d7886
xor edx, edx
mov dword [ebp - 0x3c], edx
cmp eax, 2
jl 0x100d7855
movaps xmm0, xmmword [0x10654620]
lea edi, [ebp - 0x68]
movaps xmm4, xmmword [0x106544f0]
movaps xmm3, xmmword [0x10654a40]
movaps xmm5, xmmword [0x10654530]
movaps xmmword [ebp - 0xb0], xmm0
mov ecx, dword [ebp - 0xb0]
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
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 [0x106545f0]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [ebp + edx - 0x6c]
xorps xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [ebp + edx - 0x6c], 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 [0x106545f0]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [edx + edi]
xorps xmm1, xmm0
movd dword [edx + edi], xmm1
add edx, 8
cmp edx, 0x10
jl 0x100d7750
mov dword [ebp - 0x3c], edx
cmp edx, 0x14
jge 0x100d7886
mov eax, 0xa0a0a0a1
imul edx
add edx, dword [ebp - 0x3c]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 0x3c]
movsx eax, al
mov cl, dl
imul eax, eax, 0x33
sub cl, al
add cl, 0x30
xor byte [ebp + edx - 0x6c], cl
inc edx
mov dword [ebp - 0x3c], edx
cmp edx, 0x14
jl 0x100d7855
xorps xmm0, xmm0
mov dword [ebp - 0x78], 0
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0x74], 0
movups xmmword [ebp - 0x88], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100d78a4
sub ecx, edx
lea eax, [ebp - 0x6c]
push ecx
push eax
lea ecx, [ebp - 0x88]
call fcn.10053700
mov dword [ebp - 4], 0
lea edx, [ebp - 0x88]
cmp dword [ebp - 0x74], 0xf
xorps xmm0, xmm0
cmova edx, dword [ebp - 0x88]
sub esp, 0x18
mov edi, esp
mov ecx, edx
movups xmmword [edi], xmm0
lea eax, [ecx + 1]
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [ebp - 0x3c], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100d78f6
sub ecx, dword [ebp - 0x3c]
push ecx
push edx
mov ecx, edi
call fcn.10053700
call fcn.100d6f80
mov dword [ebp - 4], 0xffffffff
add esp, 0x18
mov ecx, dword [ebp - 0x74]
cmp ecx, 0xf
jbe 0x100d794f
mov edx, dword [ebp - 0x88]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100d7945
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100d876a
push ecx
push edx
call fcn.102c1b57
add esp, 8
mov eax, dword [ebp - 0x40]
mov edi, dword [0x106d5adc]
nop dword [eax + eax]
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
mov dword [ebp - 4], 1
or eax, 1
mov dword [ebp - 0x40], eax
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, dword [0x10650504]
mov dword [ebp - 0x90], eax
mov ax, word [0x10650508]
movq qword [ebp - 0x20], xmm0
movq xmm0, qword [0x106504fc]
mov word [ebp - 0x8c], ax
mov al, byte [0x1065050a]
mov dword [ebp - 0x18], 0
movq qword [ebp - 0x98], xmm0
mov byte [ebp - 0x8a], al
mov dword [ebp - 0x3c], edx
cmp edi, 2
jl 0x100d7ae0
movaps xmm2, xmmword [0x106544f0]
mov edx, 8
movaps xmm4, xmmword [0x10654a40]
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 [0x10654620]
psrad xmm1, 5
mov dword [ebp - 0x3c], edx
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x10654530]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x10654500]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x106545f0]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, dword [0x106504fc]
xorps xmm1, xmm0
movaps xmm0, xmm2
movd dword [ebp - 0x98], 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 [0x10654530]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x106545f0]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, dword [ebp - 0x94]
xorps xmm1, xmm0
movd dword [ebp - 0x94], xmm1
nop dword [eax]
mov eax, 0xa0a0a0a1
imul edx
add edx, dword [ebp - 0x3c]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 0x3c]
movsx eax, al
mov cl, dl
imul eax, eax, 0x33
sub cl, al
add cl, 0x30
xor byte [ebp + edx - 0x98], cl
inc edx
mov dword [ebp - 0x3c], edx
cmp edx, 0xf
jl 0x100d7ae0
xorps xmm0, xmm0
mov dword [ebp - 0x118], 0
lea ecx, [ebp - 0x98]
mov dword [ebp - 0x114], 0
movups xmmword [ebp - 0x128], xmm0
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100d7b40
sub ecx, edx
lea eax, [ebp - 0x98]
push ecx
push eax
lea ecx, [ebp - 0x128]
call fcn.10053700
mov dword [ebp - 4], 2
lea edx, [ebp - 0x128]
cmp dword [ebp - 0x114], 0xf
xorps xmm0, xmm0
movups xmmword [ebp - 0x1a8], xmm0
cmova edx, dword [ebp - 0x128]
mov ecx, edx
mov dword [ebp - 0x198], 0
mov dword [ebp - 0x194], 0
lea esi, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100d7ba0
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x1a8]
call fcn.10053700
mov byte [ebp - 4], 3
xor edx, edx
mov ax, word [0x10651240]
mov word [ebp - 0x48], ax
mov al, byte [0x10651242]
mov byte [ebp - 0x46], al
mov dword [ebp - 0x3c], edx
movups xmm0, xmmword [0x10651230]
movups xmmword [ebp - 0x58], xmm0
cmp edi, 2
jl 0x100d7d16
movaps xmm0, xmmword [0x10654620]
lea esi, [ebp - 0x54]
movaps xmm4, xmmword [0x106544f0]
movaps xmm3, xmmword [0x10654a40]
movaps xmm5, xmmword [0x10654530]
movaps xmmword [ebp - 0xb0], xmm0
mov ecx, dword [ebp - 0xb0]
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 [0x106545f0]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [ebp + edx - 0x58]
xorps xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [ebp + edx - 0x58], 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 [0x106545f0]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [edx + esi]
xorps xmm1, xmm0
movd dword [edx + esi], xmm1
add edx, 8
cmp edx, 0x10
jl 0x100d7c11
mov dword [ebp - 0x3c], edx
cmp edx, 0x13
jge 0x100d7d47
mov eax, 0xa0a0a0a1
imul edx
add edx, dword [ebp - 0x3c]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 0x3c]
movsx eax, al
mov cl, dl
imul eax, eax, 0x33
sub cl, al
add cl, 0x30
xor byte [ebp + edx - 0x58], cl
inc edx
mov dword [ebp - 0x3c], edx
cmp edx, 0x13
jl 0x100d7d16
xorps xmm0, xmm0
mov dword [ebp - 0x100], 0
lea ecx, [ebp - 0x58]
mov dword [ebp - 0xfc], 0
movups xmmword [ebp - 0x110], xmm0
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100d7d70
sub ecx, edx
lea eax, [ebp - 0x58]
push ecx
push eax
lea ecx, [ebp - 0x110]
call fcn.10053700
mov byte [ebp - 4], 4
lea edx, [ebp - 0x110]
cmp dword [ebp - 0xfc], 0xf
xorps xmm0, xmm0
movups xmmword [ebp - 0x190], xmm0
cmova edx, dword [ebp - 0x110]
mov ecx, edx
mov dword [ebp - 0x180], 0
mov dword [ebp - 0x17c], 0
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100d7dc4
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x190]
call fcn.10053700
mov byte [ebp - 4], 5
movups xmm0, xmmword [0x106507a8]
movups xmmword [ebp - 0x58], xmm0
psrldq xmm0, 0xf
movd eax, xmm0
test al, al
je 0x100d7f71
xor edx, edx
mov dword [ebp - 0x3c], edx
cmp edi, 2
jl 0x100d7f40
movaps xmm0, xmmword [0x10654620]
lea esi, [ebp - 0x54]
movaps xmm4, xmmword [0x106544f0]
xor ecx, ecx
movaps xmm3, xmmword [0x10654a40]
movaps xmm5, xmmword [0x10654530]
movaps xmmword [ebp - 0xb0], xmm0
mov edx, dword [ebp - 0xb0]
nop word [eax + eax]
movd xmm0, ecx
lea eax, [ecx + 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 [0x106545f0]
packuswb xmm1, xmm1
movd xmm0, edx
paddb xmm1, xmm0
movd xmm0, dword [ebp + ecx - 0x58]
xorps xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [ebp + ecx - 0x58], 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 [0x106545f0]
packuswb xmm1, xmm1
movd xmm0, edx
paddb xmm1, xmm0
movd xmm0, dword [ecx + esi]
xorps xmm1, xmm0
movd dword [ecx + esi], xmm1
add ecx, 8
cmp ecx, 0x10
jl 0x100d7e40
jmp 0x100d7f71
mov eax, 0xa0a0a0a1
imul edx
add edx, dword [ebp - 0x3c]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 0x3c]
movsx eax, al
mov cl, dl
imul eax, eax, 0x33
sub cl, al
add cl, 0x30
xor byte [ebp + edx - 0x58], cl
inc edx
mov dword [ebp - 0x3c], edx
cmp edx, 0x10
jl 0x100d7f40
xorps xmm0, xmm0
mov dword [ebp - 0xe8], 0
lea ecx, [ebp - 0x58]
mov dword [ebp - 0xe4], 0
movups xmmword [ebp - 0xf8], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100d7f95
sub ecx, edx
lea eax, [ebp - 0x58]
push ecx
push eax
lea ecx, [ebp - 0xf8]
call fcn.10053700
mov byte [ebp - 4], 6
lea edx, [ebp - 0xf8]
cmp dword [ebp - 0xe4], 0xf
xorps xmm0, xmm0
movups xmmword [ebp - 0x178], xmm0
cmova edx, dword [ebp - 0xf8]
mov ecx, edx
mov dword [ebp - 0x168], 0
mov dword [ebp - 0x164], 0
lea esi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100d7ff0
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x178]
call fcn.10053700
mov byte [ebp - 4], 7
movups xmm0, xmmword [0x10650660]
mov ax, word [0x10650670]
mov word [ebp - 0x5c], ax
movups xmmword [ebp - 0x6c], xmm0
test ah, ah
je 0x100d818c
xor ecx, ecx
cmp edi, 2
jl 0x100d8162
movaps xmm0, xmmword [0x10654620]
lea esi, [ebp - 0x68]
movaps xmm4, xmmword [0x106544f0]
movaps xmm3, xmmword [0x10654a40]
movaps xmm5, xmmword [0x10654530]
movaps xmmword [ebp - 0xb0], xmm0
mov edx, dword [ebp - 0xb0]
nop
movd xmm0, ecx
lea eax, [ecx + 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 [0x106545f0]
packuswb xmm1, xmm1
movd xmm0, edx
paddb xmm1, xmm0
movd xmm0, dword [ebp + ecx - 0x6c]
xorps xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [ebp + ecx - 0x6c], 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 [0x106545f0]
packuswb xmm1, xmm1
movd xmm0, edx
paddb xmm1, xmm0
movd xmm0, dword [ecx + esi]
xorps xmm1, xmm0
movd dword [ecx + esi], xmm1
add ecx, 8
cmp ecx, 0x10
jl 0x100d8060
cmp ecx, 0x12
jge 0x100d818c
mov eax, 0xa0a0a0a1
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dl, cl
movsx eax, al
imul eax, eax, 0x33
sub dl, al
add dl, 0x30
xor byte [ebp + ecx - 0x6c], dl
inc ecx
cmp ecx, 0x12
jl 0x100d8162
xorps xmm0, xmm0
mov dword [ebp - 0xd0], 0
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0xcc], 0
movups xmmword [ebp - 0xe0], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100d81b0
sub ecx, edx
lea eax, [ebp - 0x6c]
push ecx
push eax
lea ecx, [ebp - 0xe0]
call fcn.10053700
mov byte [ebp - 4], 8
lea edx, [ebp - 0xe0]
cmp dword [ebp - 0xcc], 0xf
xorps xmm0, xmm0
movups xmmword [ebp - 0x160], xmm0
cmova edx, dword [ebp - 0xe0]
mov ecx, edx
mov dword [ebp - 0x150], 0
mov dword [ebp - 0x14c], 0
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100d8204
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x160]
call fcn.10053700
mov byte [ebp - 4], 9
xor edx, edx
mov al, byte [0x10650428]
mov byte [ebp - 0x74], al
mov dword [ebp - 0x3c], edx
movups xmm0, xmmword [0x10650418]
movups xmmword [ebp - 0x84], xmm0
cmp edi, 2
jl 0x100d8380
movaps xmm0, xmmword [0x10654620]
lea esi, [ebp - 0x80]
movaps xmm4, xmmword [0x106544f0]
movaps xmm3, xmmword [0x10654a40]
movaps xmm5, xmmword [0x10654530]
movaps xmmword [ebp - 0xb0], xmm0
mov ecx, dword [ebp - 0xb0]
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
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 [0x106545f0]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [ebp + edx - 0x84]
xorps xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [ebp + edx - 0x84], 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 [0x106545f0]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [edx + esi]
xorps xmm1, xmm0
movd dword [edx + esi], xmm1
add edx, 8
cmp edx, 0x10
jl 0x100d8270
mov dword [ebp - 0x3c], edx
cmp edx, 0x11
jge 0x100d83b4
nop dword [eax + eax]
mov eax, 0xa0a0a0a1
imul edx
add edx, dword [ebp - 0x3c]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 0x3c]
movsx eax, al
mov cl, dl
imul eax, eax, 0x33
sub cl, al
add cl, 0x30
xor byte [ebp + edx - 0x84], cl
inc edx
mov dword [ebp - 0x3c], edx
cmp edx, 0x11
jl 0x100d8380
xorps xmm0, xmm0
mov dword [ebp - 0xb8], 0
lea ecx, [ebp - 0x84]
mov dword [ebp - 0xb4], 0
movups xmmword [ebp - 0xc8], xmm0
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100d83e0
sub ecx, edx
lea eax, [ebp - 0x84]
push ecx
push eax
lea ecx, [ebp - 0xc8]
call fcn.10053700
mov byte [ebp - 4], 0xa
lea edx, [ebp - 0xc8]
cmp dword [ebp - 0xb4], 0xf
xorps xmm0, xmm0
movups xmmword [ebp - 0x148], xmm0
cmova edx, dword [ebp - 0xc8]
mov ecx, edx
mov dword [ebp - 0x138], 0
mov dword [ebp - 0x134], 0
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100d8437
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x148]
call fcn.10053700
push ecx
lea eax, [ebp - 0x130]
mov byte [ebp - 4], 0xf
push eax
lea eax, [ebp - 0x1a8]
push eax
lea ecx, [ebp - 0x20]
call fcn.10096a80
push fcn.10052380
push 5
push 0x18
lea eax, [ebp - 0x1a8]
mov byte [ebp - 4], 0x11
push eax
call fcn.102c1728
mov byte [ebp - 4], 0x12
mov ecx, dword [ebp - 0xb4]
cmp ecx, 0xf
jbe 0x100d84bf
mov edx, dword [ebp - 0xc8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100d84b5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100d876a
push ecx
push edx
call fcn.102c1b57
add esp, 8
mov byte [ebp - 4], 0x13
mov ecx, dword [ebp - 0xcc]
cmp ecx, 0xf
jbe 0x100d84fd
mov edx, dword [ebp - 0xe0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100d84f3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100d876a
push ecx
push edx
call fcn.102c1b57
add esp, 8
mov byte [ebp - 4], 0x14
mov ecx, dword [ebp - 0xe4]
cmp ecx, 0xf
jbe 0x100d853b
mov edx, dword [ebp - 0xf8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100d8531
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100d876a
push ecx
push edx
call fcn.102c1b57
add esp, 8
mov byte [ebp - 4], 0x15
mov ecx, dword [ebp - 0xfc]
cmp ecx, 0xf
jbe 0x100d8579
mov edx, dword [ebp - 0x110]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100d856f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100d876a
push ecx
push edx
call fcn.102c1b57
add esp, 8
mov byte [ebp - 4], 0x16
mov ecx, dword [ebp - 0x114]
cmp ecx, 0xf
jbe 0x100d85b7
mov edx, dword [ebp - 0x128]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100d85ad
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100d876a
push ecx
push edx
call fcn.102c1b57
add esp, 8
mov edx, str.adb.exe_shell__dumpsys_window_windows__grep_mCurrentFocus_
lea ecx, [ebp - 0x38]
call fcn.100508c0
xor ecx, ecx
mov byte [ebp - 4], 0x17
mov esi, dword [ebp - 0x20]
mov eax, 0x2aaaaaab
mov dword [ebp - 0x3c], ecx
mov ecx, dword [ebp - 0x1c]
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x100d865f
xor edi, edi
nop word [eax + eax]
cmp dword [esi + edi + 0x14], 0xf
lea ecx, [esi + edi]
jbe 0x100d85fc
mov ecx, dword [ecx]
cmp dword [ebp - 0x24], 0xf
lea eax, [ebp - 0x38]
push ecx
cmova eax, dword [ebp - 0x38]
push eax
call dword [sym.imp.VCRUNTIME140.dll_strstr]
mov esi, dword [ebp - 0x20]
add esp, 8
test eax, eax
je 0x100d8638
mov ecx, dword [ebp - 0x70]
lea eax, [esi + edi]
cmp ecx, eax
je 0x100d8638
cmp dword [eax + 0x14], 0xf
mov edx, dword [eax + 0x10]
jbe 0x100d862e
mov eax, dword [eax]
push edx
push eax
call fcn.10052e00
mov esi, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
mov eax, 0x2aaaaaab
inc dword [ebp - 0x3c]
sub ecx, esi
imul ecx
add edi, 0x18
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebp - 0x3c], eax
jb 0x100d85f0
mov edi, dword [0x106d5adc]
mov esi, dword [ebp - 0x70]
mov eax, esi
cmp dword [esi + 0x14], 0xf
jbe 0x100d866c
mov eax, dword [esi]
push 0
push 0x10344992
push dword [esi + 0x10]
push eax
call fcn.10055890
add esp, 0x10
test al, al
je 0x100d8744
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
mov byte [ebp - 4], 0x16
mov ecx, dword [ebp - 0x24]
cmp ecx, 0xf
jbe 0x100d86ca
mov edx, dword [ebp - 0x38]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100d86c0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100d876a
push ecx
push edx
call fcn.102c1b57
add esp, 8
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0xf
mov byte [ebp - 0x38], 0
call fcn.10052c60
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x40]
test al, 1
je 0x100d7960
mov ecx, dword [esi + 0x14]
and eax, 0xfffffffe
mov dword [ebp - 0x40], eax
cmp ecx, 0xf
jbe 0x100d872e
mov eax, dword [esi]
inc ecx
cmp ecx, 0x1000
jb 0x100d8721
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100d876a
mov eax, edx
push ecx
push eax
call fcn.102c1b57
mov eax, dword [ebp - 0x40]
add esp, 8
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
jmp 0x100d7960
mov ecx, dword [ebp - 0x24]
cmp ecx, 0xf
jbe 0x100d877a
mov edx, dword [ebp - 0x38]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100d8770
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100d8770
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.102c1b57
add esp, 8
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0xf
mov byte [ebp - 0x38], 0
call fcn.10052c60
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.102c15f2
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret