Function at 0x1006d8d0
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 0x100dbff1
push eax
mov dword fs:[0], esp
mov eax, dword fs:[0x2c]
mov ecx, dword [0x1010f2d4]
push ebx
sub esp, 0x88
push esi
push edi
mov edi, dword [eax + ecx*4]
mov eax, dword [0x10131ce0]
cmp eax, dword [edi + 4]
jle 0x1006dc8e
push 0x10131ce0
call fcn.100b0641
add esp, 4
cmp dword [0x10131ce0], 0xffffffff
jne 0x1006dc8e
mov dword [ebp - 4], 0
xor ecx, ecx
cmp dword [0x1010f2d8], 2
movups xmm0, xmmword [0x100f3a2c]
mov al, byte [0x100f3a54]
mov byte [ebp - 0x61], al
movups xmmword [ebp - 0x89], xmm0
movups xmm0, xmmword [0x100f3a3c]
movups xmmword [ebp - 0x79], xmm0
movq xmm0, qword [0x100f3a4c]
movq qword [ebp - 0x69], xmm0
jl 0x1006dad0
movaps xmm0, xmmword [str.9999999999999999]
mov eax, 4
movaps xmm4, xmmword [0x100f8cc0]
movaps xmm3, xmmword [0x100f8fa0]
movaps xmm6, xmmword [0x100f8dc0]
movd xmm5, eax
mov eax, 0x1f
movaps xmmword [ebp - 0x30], xmm0
mov edx, dword [ebp - 0x30]
movd xmm7, eax
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
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 - 0x89]
pxor xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [ebp + ecx - 0x89], 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 - 0x85]
pxor xmm1, xmm0
movd dword [ebp + ecx - 0x85], xmm1
add ecx, 8
cmp ecx, 0x28
jl 0x1006d9c0
cmp ecx, 0x29
jge 0x1006dafb
nop dword [eax + 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 - 0x89], dl
inc ecx
cmp ecx, 0x29
jl 0x1006dad0
xorps xmm0, xmm0
mov dword [ebp - 0x38], 0
lea ecx, [ebp - 0x89]
mov dword [ebp - 0x34], 0
movups xmmword [ebp - 0x48], xmm0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1006db20
sub ecx, edx
lea eax, [ebp - 0x89]
push ecx
push eax
lea ecx, [ebp - 0x48]
call fcn.10049b80
mov byte [ebp - 4], 1
lea esi, [ebp - 0x48]
cmp dword [ebp - 0x34], 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 0x1006db68
mov esi, dword [ebp - 0x48]
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 0x1006db70
xorps xmm0, xmm0
mov dword [ebp - 0x50], 0
lea ecx, [ebp - 0x2b]
mov dword [ebp - 0x4c], 0
movups xmmword [ebp - 0x60], xmm0
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1006dbc0
sub ecx, edx
lea eax, [ebp - 0x2b]
push ecx
push eax
lea ecx, [ebp - 0x60]
call fcn.10049b80
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x60]
cmp dword [ebp - 0x4c], 0x10
cmovae ecx, dword [ebp - 0x60]
call fcn.100470f0
mov edx, esi
mov ecx, eax
call fcn.1006d060
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x4c]
mov dword [0x10131cd8], eax
cmp ecx, 0x10
jb 0x1006dc30
mov edx, dword [ebp - 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1006dc26
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006dd27
push ecx
push edx
call fcn.100b0b76
add esp, 8
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x34]
cmp ecx, 0x10
jb 0x1006dc68
mov edx, dword [ebp - 0x48]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1006dc5e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006dd27
push ecx
push edx
call fcn.100b0b76
add esp, 8
push 0x10131ce0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0xf
mov byte [ebp - 0x48], 0
mov dword [ebp - 4], 0xffffffff
call fcn.100b05f7
add esp, 4
mov eax, dword [0x10131cf4]
cmp eax, dword [edi + 4]
jle 0x1006dcc8
push 0x10131cf4
call fcn.100b0641
add esp, 4
cmp dword [0x10131cf4], 0xffffffff
jne 0x1006dcc8
mov eax, dword [0x10131cd8]
push 0x10131cf4
mov dword [0x10131cd4], eax
call fcn.100b05f7
add esp, 4
mov edx, dword [0x10131cd4]
test edx, edx
jne 0x1006dce7
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
movq xmm0, qword [ebx + 0x14]
sub esp, 0xc
mov eax, dword [ebx + 0x1c]
mov ecx, esp
sub esp, 0xc
movq qword [ecx], xmm0
movq xmm0, qword [ebx + 8]
mov dword [ecx + 8], eax
mov ecx, esp
mov eax, dword [ebx + 0x10]
movq qword [ecx], xmm0
mov dword [ecx + 8], eax
call edx
mov ecx, dword [ebp - 0xc]
add esp, 0x18
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.100b7b82
int3