Function at 0x1006d2a0
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
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x100dbfb9
push eax
mov dword fs:[0], esp
mov eax, dword [0x10110010]
mov ecx, dword [0x1010f2d4]
push ebx
sub esp, 0x88
mov dword [eax + 0x174], 0xffffffff
mov eax, dword fs:[0x2c]
push esi
mov esi, 4
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x10131cec]
push edi
mov edi, dword [0x1010f2d8]
lea edx, [esi + 0x1b]
cmp eax, dword [ecx + 4]
jle 0x1006d666
push 0x10131cec
call fcn.100b0641
add esp, 4
cmp dword [0x10131cec], 0xffffffff
jne 0x1006d661
mov dword [ebp - 4], 0
xor edx, edx
mov eax, dword [0x100f3a78]
mov dword [ebp - 0x6b], eax
mov ax, word [0x100f3a7c]
mov word [ebp - 0x67], ax
mov al, byte [0x100f3a7e]
mov byte [ebp - 0x65], al
mov dword [ebp - 0x14], edx
movups xmm0, xmmword [0x100f3a58]
movups xmmword [ebp - 0x8b], xmm0
movups xmm0, xmmword [0x100f3a68]
movups xmmword [ebp - 0x7b], xmm0
cmp edi, 2
jl 0x1006d4b0
movaps xmm0, xmmword [str.9999999999999999]
mov eax, 0x1f
movaps xmm4, xmmword [0x100f8cc0]
movaps xmm3, xmmword [0x100f8fa0]
movaps xmm6, xmmword [0x100f8dc0]
movaps xmmword [ebp - 0x30], xmm0
mov ecx, dword [ebp - 0x30]
movd xmm5, esi
movd xmm7, 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, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm7
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x100f8f50]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [ebp + edx - 0x8b]
pxor xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [ebp + edx - 0x8b], 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, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm7
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x100f8f50]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [ebp + edx - 0x87]
pxor xmm1, xmm0
movd dword [ebp + edx - 0x87], xmm1
add edx, 8
cmp edx, 0x20
jl 0x1006d3a3
mov dword [ebp - 0x14], edx
cmp edx, 0x27
jge 0x1006d4e1
nop
mov eax, 0x4bda12f7
imul edx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 0x14]
movsx eax, al
mov cl, dl
imul eax, eax, 0x36
sub cl, al
add cl, 0x39
xor byte [ebp + edx - 0x8b], cl
inc edx
mov dword [ebp - 0x14], edx
cmp edx, 0x27
jl 0x1006d4b0
xorps xmm0, xmm0
mov dword [ebp - 0x54], 0
lea ecx, [ebp - 0x8b]
mov dword [ebp - 0x50], 0
movups xmmword [ebp - 0x64], xmm0
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1006d500
sub ecx, edx
lea eax, [ebp - 0x8b]
push ecx
push eax
lea ecx, [ebp - 0x64]
call fcn.10049b80
mov byte [ebp - 4], 1
lea esi, [ebp - 0x64]
cmp dword [ebp - 0x50], 0x10
mov ax, word [0x100f3854]
movq xmm0, qword [str.ZVRYSJ]
mov word [ebp - 0x23], ax
mov al, byte [0x100f3856]
movq qword [ebp - 0x2b], xmm0
mov byte [ebp - 0x21], al
jb 0x1006d548
mov esi, dword [ebp - 0x64]
xor edx, edx
mov dword [ebp - 0x14], edx
nop dword [eax]
mov eax, 0x2f684bdb
mul edx
mov eax, dword [ebp - 0x14]
sub eax, edx
shr eax, 1
add eax, edx
mov edx, dword [ebp - 0x14]
shr eax, 5
mov cl, dl
movsx eax, al
imul eax, eax, 0x36
sub cl, al
add cl, 0x39
xor byte [ebp + edx - 0x2b], cl
inc edx
mov dword [ebp - 0x14], edx
cmp edx, 0xb
jl 0x1006d550
xorps xmm0, xmm0
mov dword [ebp - 0x38], 0
lea ecx, [ebp - 0x2b]
mov dword [ebp - 0x34], 0
movups xmmword [ebp - 0x48], xmm0
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1006d5a0
sub ecx, edx
lea eax, [ebp - 0x2b]
push ecx
push eax
lea ecx, [ebp - 0x48]
call fcn.10049b80
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x48]
cmp dword [ebp - 0x34], 0x10
cmovae ecx, dword [ebp - 0x48]
call fcn.100470f0
mov edx, esi
mov ecx, eax
call fcn.1006d060
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x34]
mov dword [0x10131ccc], eax
cmp ecx, 0x10
jb 0x1006d610
mov edx, dword [ebp - 0x48]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1006d606
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006d8c5
push ecx
push edx
call fcn.100b0b76
add esp, 8
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x50]
cmp ecx, 0x10
jb 0x1006d648
mov edx, dword [ebp - 0x64]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1006d63e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006d8c5
push ecx
push edx
call fcn.100b0b76
add esp, 8
push 0x10131cec
mov dword [ebp - 4], 0xffffffff
call fcn.100b05f7
add esp, 4
mov esi, 4
mov edx, 0x1f
cmp dword [0x10131ccc], 0
je 0x1006d8b2
movups xmm0, xmmword [str.zyhraw5_]
mov al, byte [0x100f3a28]
xor ecx, ecx
mov byte [ebp - 0x4c], al
movups xmmword [ebp - 0x64], xmm0
movq xmm0, qword [0x100f3a20]
movq qword [ebp - 0x54], xmm0
cmp edi, 2
jl 0x1006d7d0
movaps xmm0, xmmword [str.9999999999999999]
movaps xmm4, xmmword [0x100f8cc0]
movaps xmm3, xmmword [0x100f8fa0]
movaps xmm6, xmmword [0x100f8dc0]
movd xmm7, edx
movaps xmmword [ebp - 0x30], xmm0
mov edx, dword [ebp - 0x30]
movd xmm5, esi
nop dword [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
psrad xmm1, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm7
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x100f8f50]
packuswb xmm1, xmm1
movd xmm0, edx
paddb xmm1, xmm0
movd xmm0, dword [ebp + ecx - 0x64]
pxor xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [ebp + ecx - 0x64], 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, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm7
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x100f8f50]
packuswb xmm1, xmm1
movd xmm0, edx
paddb xmm1, xmm0
movd xmm0, dword [ebp + ecx - 0x60]
pxor xmm1, xmm0
movd dword [ebp + ecx - 0x60], xmm1
add ecx, 8
cmp ecx, 0x18
jl 0x1006d6d0
cmp ecx, 0x19
jge 0x1006d7f8
nop dword [eax]
mov eax, 0x4bda12f7
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dl, cl
movsx eax, al
imul eax, eax, 0x36
sub dl, al
add dl, 0x39
xor byte [ebp + ecx - 0x64], dl
inc ecx
cmp ecx, 0x19
jl 0x1006d7d0
xorps xmm0, xmm0
mov dword [ebp - 0x38], 0
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x34], 0
movups xmmword [ebp - 0x48], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1006d813
sub ecx, edx
lea eax, [ebp - 0x64]
push ecx
push eax
lea ecx, [ebp - 0x48]
call fcn.10049b80
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x48]
cmp dword [ebp - 0x34], 0x10
cmovae ecx, dword [ebp - 0x48]
call fcn.1006dd30
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x34]
lea esi, [eax - 0xa0]
cmp ecx, 0x10
jb 0x1006d87d
mov edx, dword [ebp - 0x48]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1006d873
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006d8ca
push ecx
push edx
call fcn.100b0b76
add esp, 8
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0xf
mov byte [ebp - 0x48], 0
test esi, esi
je 0x1006d8b2
xor eax, eax
cmp dword [esi + 0x80], eax
jbe 0x1006d8b2
nop dword [eax]
push eax
mov ecx, esi
call dword [0x10131ccc]
inc eax
cmp eax, dword [esi + 0x80]
jb 0x1006d8a0
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.100b7b82
call fcn.100b7b82
int3