Function at 0x1010f250
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1017a098
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x101cfdb0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ecx, dword [ebp + 8]
mov esi, dword [0x102710b4]
call fcn.1004dd60
mov ecx, dword [0x102710b4]
xorps xmm0, xmm0
mov word [esi + 0x36], ax
movups xmmword [ecx + 0x1c], xmm0
movq qword [ecx + 0x2c], xmm0
mov word [ecx + 0x34], 0
mov eax, dword [edi + 0x68]
test eax, eax
je 0x1010f2e2
cmp byte [eax + 0x10d], 0
je 0x1010f2e2
mov eax, dword [edi + 0x78]
test eax, eax
je 0x1010f2e2
cmp byte [eax + 0x10d], 0
je 0x1010f2e2
push 1
mov ecx, edi
mov dword [edi + 0x1b4], 0x10001
call fcn.1010e5e0
mov ecx, dword [0x102710b4]
movzx edx, word [ecx + 0x36]
lea ecx, [ebp - 0x88]
call fcn.10049240
mov esi, dword [edi + 0x1b8]
mov dword [ebp - 4], 0
test esi, esi
je 0x1010f31e
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1010f31e
lea eax, [ebp - 0x88]
mov ecx, esi
push eax
call dword [0x101b07cc]
lea ecx, [ebp - 0x88]
mov dword [ebp - 4], 0xffffffff
call fcn.100432e0
mov eax, dword [ebp - 0x70]
cmp eax, 0x10
jb 0x1010f348
inc eax
push eax
push dword [ebp - 0x84]
call fcn.100479d0
add esp, 8
mov eax, dword [ebp - 0x88]
push 8
push eax
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 0xf
mov byte [ebp - 0x84], 0
mov dword [ebp - 0x88], 0
call fcn.100479d0
movaps xmm0, xmmword [0x101b7240]
add esp, 8
movups xmmword [ebp - 0x50], xmm0
xor ecx, ecx
mov dword [ebp - 0x20], 0x1b081d14
movaps xmm0, xmmword [0x101b8090]
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x1c], 0x1b160f0e
movaps xmm0, xmmword [0x101b74b0]
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x18], 0x1415130e
mov word [ebp - 0x14], 0x5409
mov byte [ebp - 0x12], 0
nop word [eax + eax]
mov al, byte [ebp - 0x50]
xor byte [ebp + ecx - 0x4f], al
inc ecx
cmp ecx, 0x3d
jb 0x1010f3c0
sub esp, 0x1c
mov byte [ebp - 0x12], 0
lea eax, [ebp - 0x4f]
mov ecx, esp
push eax
call fcn.100461a0
lea eax, [ebp - 0x6c]
push eax
call fcn.100492e0
add esp, 0x20
mov dword [ebp - 4], 1
lea ecx, [eax + 4]
cmp dword [eax + 0x18], 0x10
mov dword [ebp - 0x8c], ecx
jb 0x1010f409
mov ecx, dword [ecx]
mov dword [ebp - 0x8c], ecx
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1010f410
sub ecx, edx
mov dword [ebp - 0x90], ecx
lea esi, [ecx + 0x21]
push esi
call fcn.10117010
push esi
mov edi, eax
push 0
push edi
mov dword [ebp - 0x94], edi
call fcn.101193b0
push dword [ebp - 0x90]
lea esi, [edi + 0x20]
push dword [ebp - 0x8c]
push esi
call fcn.10118c50
mov eax, dword [ebp - 0x90]
add esp, 0x1c
mov dword [edi + 0x14], eax
mov dword [edi + 4], esi
mov dword [edi + 0x18], 0x1f
mov ecx, dword ds:[0xf3690c]
push 0
push 0x42d1eb
push dword [ebp - 0x94]
mov eax, dword [0x101b06ec]
call eax
push edi
call fcn.101163d0
add esp, 4
lea ecx, [ebp - 0x6c]
call fcn.100432e0
mov eax, dword [ebp - 0x54]
cmp eax, 0x10
jb 0x1010f4a5
inc eax
push eax
push dword [ebp - 0x68]
call fcn.100479d0
add esp, 8
mov eax, dword [ebp - 0x6c]
push 8
push eax
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0xf
mov byte [ebp - 0x68], 0
mov dword [ebp - 0x6c], 0
call fcn.100479d0
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.101163c0
mov esp, ebp
pop ebp
ret 4