Function at 0x100788e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1017c275
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x101dadb0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
xor edx, edx
xor ebx, ebx
mov dword [ebp - 0x40], edx
xor esi, esi
nop word [eax + eax]
mov eax, dword [edi + 0x140]
mov ecx, dword [edi + 0x13c]
sub eax, ecx
sar eax, 5
cmp ebx, eax
jb 0x10078982
push str.vector_subscript_out_of_range
push 0x101b8af8
push 0
push 0x611
push 0x101b9560
push 2
call fcn.10126bf0
add esp, 0x18
cmp eax, 1
jne 0x1007895b
int3
push 0
push 0x611
push str.C:Program_Files__x86_Microsoft_Visual_Studio2019CommunityVCToolsMSVC14.29.30133include_vector
push 0x101b8c38
push str._vector_subscript_out_of_range_
call fcn.10135530
mov ecx, dword [edi + 0x13c]
add esp, 0x14
mov edx, dword [ebp - 0x40]
mov eax, dword [ecx + esi + 0x1c]
test eax, eax
je 0x100789f6
cmp byte [eax + 0x10d], 0
je 0x100789f6
mov eax, dword [edi + 0x140]
sub eax, ecx
sar eax, 5
cmp ebx, eax
jb 0x100789ef
push str.vector_subscript_out_of_range
push 0x101b8af8
push 0
push 0x611
push 0x101b9560
push 2
call fcn.10126bf0
add esp, 0x18
cmp eax, 1
jne 0x100789c8
int3
push 0
push 0x611
push str.C:Program_Files__x86_Microsoft_Visual_Studio2019CommunityVCToolsMSVC14.29.30133include_vector
push 0x101b8c38
push str._vector_subscript_out_of_range_
call fcn.10135530
mov ecx, dword [edi + 0x13c]
add esp, 0x14
mov edx, dword [ebp - 0x40]
add edx, dword [ecx + esi + 4]
mov dword [ebp - 0x40], edx
add esi, 0x20
inc ebx
cmp esi, 0xe0
jl 0x10078920
push 0x2e
push edx
lea eax, [ebp - 0x3c]
push eax
lea esi, [ebp - 0x60]
call fcn.100f6260
mov dword [ebp - 4], 0
lea ecx, [eax + 4]
cmp dword [eax + 0x18], 0x10
jb 0x10078a27
mov ecx, dword [ecx]
movaps xmm0, xmmword [str.Nkn]
push ecx
movups xmmword [ebp - 0x20], xmm0
xor ecx, ecx
mov al, byte [ebp - 0x20]
xor byte [ebp + ecx - 0x1f], al
inc ecx
cmp ecx, 0xe
jb 0x10078a35
sub esp, 0x1c
mov byte [ebp - 0x11], 0
lea eax, [ebp - 0x1f]
mov ecx, esp
push eax
call fcn.10046d00
push esi
call fcn.10049e30
mov esi, dword [edi + 0x54]
add esp, 0x24
mov byte [ebp - 4], 1
test esi, esi
je 0x10078a81
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10078a81
lea eax, [ebp - 0x60]
mov ecx, esi
push eax
call dword [0x101ba78c]
lea ecx, [ebp - 0x60]
call fcn.10043e40
mov eax, dword [ebp - 0x48]
cmp eax, 0x10
jb 0x10078a9e
inc eax
push eax
push dword [ebp - 0x5c]
call fcn.10048530
add esp, 8
mov eax, dword [ebp - 0x60]
push 8
push eax
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0xf
mov byte [ebp - 0x5c], 0
mov dword [ebp - 0x60], 0
call fcn.10048530
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.10043e40
mov eax, dword [ebp - 0x24]
cmp eax, 0x10
jb 0x10078ae9
inc eax
push eax
push dword [ebp - 0x38]
call fcn.10048530
add esp, 8
mov eax, dword [ebp - 0x3c]
push 8
push eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0xf
mov byte [ebp - 0x38], 0
mov dword [ebp - 0x3c], 0
call fcn.10048530
mov ecx, dword [edi + 0x50]
add esp, 8
test ecx, ecx
je 0x10078b1f
push 1
call dword [0x101ba7a0]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1011f880
mov esp, ebp
pop ebp
ret