Function at 0x1000f690
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006c075
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x10080040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp byte [0x100850a8], 0
je 0x1000f91e
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount64]
call esi
sub eax, dword [0x10085118]
sbb edx, dword [0x1008511c]
mov dword [ebp - 0x4c], edx
jne 0x1000f6eb
cmp eax, 0xbb8
jb 0x1000f91e
call esi
movaps xmm0, xmmword [0x10078ce0]
xor ecx, ecx
mov dword [0x10085118], eax
mov dword [0x1008511c], edx
movups xmmword [ebp - 0x60], xmm0
mov al, byte [ebp - 0x60]
xor byte [ebp + ecx - 0x5f], al
inc ecx
cmp ecx, 0xe
jb 0x1000f705
sub esp, 0x18
mov byte [ebp - 0x51], 0
mov edx, esp
lea ecx, [ebp - 0x5f]
xorps xmm0, xmm0
lea esi, [ecx + 1]
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000f735
sub ecx, esi
lea eax, [ebp - 0x5f]
push ecx
push eax
mov ecx, edx
call fcn.10002130
lea ecx, [ebp - 0x48]
call fcn.10040610
add esp, 0x18
mov dword [ebp - 4], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x14], 0
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x2c], vtable.ByteBuffer.0
mov byte [ebp - 0x28], 1
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x30], 0x1000
call fcn.1000a4e0
mov byte [ebp - 4], 2
mov edi, dword [ebp - 0x18]
mov esi, edi
mov ecx, dword [ebp - 0x1c]
sub esi, ecx
mov dword [ebp - 0x2c], vtable.Packet.0
cmp esi, 0x989680
ja 0x1000f815
mov edx, dword [ebp - 0x20]
inc edx
cmp esi, edx
jae 0x1000f805
mov eax, dword [ebp - 0x14]
sub eax, ecx
cmp edx, eax
jbe 0x1000f7ee
push ecx
push edx
lea ecx, [ebp - 0x1c]
call fcn.1000a6b0
jmp 0x1000f802
sub edx, esi
push edx
push 0
push edi
lea esi, [edi + edx]
call fcn.1004c190
add esp, 0xc
mov dword [ebp - 0x18], esi
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x20]
mov byte [ecx + eax], 0xa1
inc dword [ebp - 0x20]
mov edi, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
mov edx, edi
mov byte [ebp - 4], 3
sub edx, ecx
cmp edx, 0x989680
ja 0x1000f863
mov esi, dword [ebp - 0x20]
inc esi
cmp edx, esi
jae 0x1000f859
mov eax, dword [ebp - 0x14]
sub eax, ecx
cmp esi, eax
jbe 0x1000f842
push ecx
push esi
lea ecx, [ebp - 0x1c]
call fcn.1000a6b0
jmp 0x1000f856
sub esi, edx
push esi
push 0
push edi
call fcn.1004c190
lea eax, [esi + edi]
add esp, 0xc
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x20]
mov byte [ecx + eax], 0xa2
inc dword [ebp - 0x20]
cmp dword [ebp - 0x34], 0xf
lea eax, [ebp - 0x48]
lea ecx, [ebp - 0x2c]
cmova eax, dword [ebp - 0x48]
push eax
call fcn.1000a2a0
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
sub eax, ecx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x4c], ecx
cmp eax, 0x4000
ja 0x1000f8a5
mov ecx, dword ds:[0x10077bac]
mov ecx, dword ds:[ecx]
push dword [ebp - 0x30]
push dword [ebp - 0x4c]
call dword [0x10077ba8]
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x2c], vtable.ByteBuffer.0
test ecx, ecx
je 0x1000f8ee
mov edx, dword [ebp - 0x14]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x1000f8cf
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000f939
push edx
push ecx
call fcn.1004a076
add esp, 8
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov ecx, dword [ebp - 0x34]
cmp ecx, 0xf
jbe 0x1000f91e
mov edx, dword [ebp - 0x48]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000f914
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000f939
push ecx
push edx
call fcn.1004a076
add esp, 8
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.1004a015
mov esp, ebp
pop ebp
ret
call fcn.1004f344
int3