Function at 0x1006dd30
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 0x100dc03d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x88
mov eax, dword fs:[0x2c]
mov edx, dword [0x1010f2d4]
push esi
mov esi, dword [0x1010f2d8]
push edi
mov edi, dword [eax + edx*4]
mov eax, dword [0x10131cf0]
mov dword [ebp - 0x18], ecx
cmp eax, dword [edi + 4]
jle 0x1006e0d5
push 0x10131cf0
call fcn.100b0641
add esp, 4
cmp dword [0x10131cf0], 0xffffffff
jne 0x1006e0d5
mov dword [ebp - 4], 0
xor edx, edx
mov eax, dword [0x100f3aa0]
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x14], edx
movups xmm0, xmmword [0x100f3a80]
movups xmmword [ebp - 0x84], xmm0
movups xmm0, xmmword [0x100f3a90]
movups xmmword [ebp - 0x74], xmm0
cmp esi, 2
jl 0x1006df20
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 ecx, dword [ebp - 0x30]
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 - 0x84]
pxor xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [ebp + edx - 0x84], 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 - 0x80]
pxor xmm1, xmm0
movd dword [ebp + edx - 0x80], xmm1
add edx, 8
cmp edx, 0x20
jl 0x1006de12
mov dword [ebp - 0x14], edx
cmp edx, 0x24
jge 0x1006df51
nop word [eax + eax]
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 - 0x84], cl
inc edx
mov dword [ebp - 0x14], edx
cmp edx, 0x24
jl 0x1006df20
xorps xmm0, xmm0
mov dword [ebp - 0x50], 0
lea ecx, [ebp - 0x84]
mov dword [ebp - 0x4c], 0
movups xmmword [ebp - 0x60], xmm0
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1006df70
sub ecx, edx
lea eax, [ebp - 0x84]
push ecx
push eax
lea ecx, [ebp - 0x60]
call fcn.10049b80
mov byte [ebp - 4], 1
lea esi, [ebp - 0x60]
cmp dword [ebp - 0x4c], 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 0x1006dfb8
mov esi, dword [ebp - 0x60]
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 0x1006dfc0
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 0x1006e010
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 eax, dword [eax + 1]
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x34]
mov dword [0x10131ce8], eax
cmp ecx, 0x10
jb 0x1006e083
mov edx, dword [ebp - 0x48]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1006e079
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006e44d
push ecx
push edx
call fcn.100b0b76
add esp, 8
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x4c]
cmp ecx, 0x10
jb 0x1006e0bb
mov edx, dword [ebp - 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1006e0b1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006e44d
push ecx
push edx
call fcn.100b0b76
add esp, 8
push 0x10131cf0
mov dword [ebp - 4], 0xffffffff
call fcn.100b05f7
mov esi, dword [0x1010f2d8]
add esp, 4
mov eax, dword [0x10131cdc]
cmp eax, dword [edi + 4]
jle 0x1006e42a
push 0x10131cdc
call fcn.100b0641
add esp, 4
cmp dword [0x10131cdc], 0xffffffff
jne 0x1006e42a
mov dword [ebp - 4], 3
xor edx, edx
mov dword [ebp - 0x14], edx
movups xmm0, xmmword [0x100f3aa4]
movups xmmword [ebp - 0x90], xmm0
movups xmm0, xmmword [0x100f3ab4]
movups xmmword [ebp - 0x80], xmm0
movups xmm0, xmmword [0x100f3ac4]
movups xmmword [ebp - 0x70], xmm0
cmp esi, 2
jl 0x1006e275
movaps xmm0, xmmword [str.9999999999999999]
mov eax, 4
movaps xmm4, xmmword [0x100f8cc0]
xor ecx, ecx
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
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 - 0x90]
pxor xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [ebp + ecx - 0x90], 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 - 0x8c]
pxor xmm1, xmm0
movd dword [ebp + ecx - 0x8c], xmm1
add ecx, 8
cmp ecx, 0x30
jl 0x1006e170
jmp 0x1006e2a6
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 - 0x90], cl
inc edx
mov dword [ebp - 0x14], edx
cmp edx, 0x30
jl 0x1006e275
xorps xmm0, xmm0
mov dword [ebp - 0x38], 0
lea ecx, [ebp - 0x90]
mov dword [ebp - 0x34], 0
movups xmmword [ebp - 0x48], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1006e2c4
sub ecx, edx
lea eax, [ebp - 0x90]
push ecx
push eax
lea ecx, [ebp - 0x48]
call fcn.10049b80
mov byte [ebp - 4], 4
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 0x1006e30c
mov esi, dword [ebp - 0x48]
xor edx, edx
mov dword [ebp - 0x14], edx
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 0x1006e311
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]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1006e360
sub ecx, edx
lea eax, [ebp - 0x2b]
push ecx
push eax
lea ecx, [ebp - 0x60]
call fcn.10049b80
mov byte [ebp - 4], 5
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], 4
mov ecx, dword [ebp - 0x4c]
mov dword [0x10131ce4], eax
cmp ecx, 0x10
jb 0x1006e3d0
mov edx, dword [ebp - 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1006e3c6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006e452
push ecx
push edx
call fcn.100b0b76
add esp, 8
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x34]
cmp ecx, 0x10
jb 0x1006e404
mov edx, dword [ebp - 0x48]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1006e3fa
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006e452
push ecx
push edx
call fcn.100b0b76
add esp, 8
push 0x10131cdc
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
push dword [ebp - 0x18]
mov eax, dword [0x10131ce4]
mov ecx, dword [0x10131ce8]
call eax
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