Function at 0x100662b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10144dc9
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x10174110]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x30], 0
xorps xmm0, xmm0
movq qword [ebp - 0x20], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 4], 0
mov eax, dword [0x101a6754]
test eax, eax
je 0x1006631f
mov eax, dword [eax + 0x18]
mov ecx, 1
jmp 0x10066326
xor eax, eax
mov ecx, 2
mov dword [ebp - 0x14], ecx
test cl, 2
je 0x10066334
and ecx, 0xfffffffd
mov dword [ebp - 0x14], ecx
test cl, 1
je 0x1006633f
and ecx, 0xfffffffe
mov dword [ebp - 0x14], ecx
test eax, eax
je 0x1006652e
movaps xmm0, xmmword [0x10160760]
xor eax, eax
movaps xmm2, xmmword [0x10160a90]
movups xmmword [ebp - 0x80], xmm0
mov word [ebp - 0x50], 0xa0e3
movaps xmm0, xmmword [0x10160730]
movups xmmword [ebp - 0x70], xmm0
movaps xmm0, xmmword [0x101614d0]
movups xmmword [ebp - 0x60], xmm0
nop word [eax + eax]
movups xmm0, xmmword [ebp + eax - 0x80]
movaps xmm1, xmm2
pxor xmm1, xmm0
movups xmmword [ebp + eax - 0x80], xmm1
add eax, 0x10
cmp eax, 0x30
jb 0x10066380
cmp eax, 0x32
jae 0x100663ab
nop
xor byte [ebp + eax - 0x80], 0xa0
inc eax
cmp eax, 0x32
jb 0x100663a0
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0xf
lea edx, [ecx + 1]
mov byte [ebp - 0x4c], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100663c3
sub ecx, edx
lea eax, [ebp - 0x80]
push ecx
push eax
lea ecx, [ebp - 0x4c]
call fcn.100352a0
mov edi, dword [0x101a675c]
test edi, edi
je 0x100663e8
mov edi, dword [edi + 0x50]
jmp 0x100663ea
xor edi, edi
mov esi, dword [0x101a6754]
mov eax, dword [ebp - 0x14]
test esi, esi
je 0x100663ff
mov esi, dword [esi + 0x18]
or eax, 8
jmp 0x10066404
or eax, 0x10
xor esi, esi
test al, 0x10
je 0x1006640b
and eax, 0xffffffef
test al, 8
je 0x10066412
and eax, 0xfffffff7
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x34]
or eax, 0x20
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x30], eax
xorps xmm0, xmm0
lea eax, [ebp - 0x4c]
movq qword [ebp - 0x2c], xmm0
push eax
push esi
mov edx, edi
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
call fcn.10065cf0
add esp, 8
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x100664a3
nop dword [eax + eax]
mov ecx, dword [ebp - 0x28]
cmp dword [ebp - 0x24], ecx
je 0x10066470
mov dword [ecx], eax
add dword [ebp - 0x28], 4
jmp 0x10066480
lea eax, [ebp - 0x14]
push eax
push ecx
lea ecx, [ebp - 0x2c]
call fcn.100d9d70
mov eax, dword [ebp - 0x14]
sub esi, eax
lea ecx, [ebp - 0x34]
dec esi
add edi, esi
lea esi, [eax + 1]
lea eax, [ebp - 0x4c]
mov edx, edi
push eax
push esi
call fcn.10065cf0
add esp, 8
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
test eax, eax
jne 0x10066460
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 1
call fcn.100d9600
mov esi, dword [ebp - 0x2c]
lea ecx, [ebp - 0x2c]
mov edi, dword [ebp - 0x28]
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
call fcn.100d9600
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x38]
cmp edx, 0x10
jb 0x10066515
mov ecx, dword [ebp - 0x4c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1006650b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10066551
push edx
push ecx
call fcn.1011a4ac
add esp, 8
cmp esi, edi
je 0x1006652e
nop dword [eax]
push dword [esi]
call fcn.10066560
add esi, 4
cmp esi, edi
jne 0x10066520
lea ecx, [ebp - 0x20]
call fcn.100d9600
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10119ff7
mov esp, ebp
pop ebp
ret
call fcn.10121c8d
int3