Function at 0x100767f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x1029ad64]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
mov word [edi], 0
lea eax, [edi + 0x2c]
mov dword [edi + 4], 0
mov dword [edi + 8], 0x1010101
mov byte [edi + 0xc], 1
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x24], 0
cmp byte [0x10285510], 0
je 0x100768ba
cmp byte [0x10285511], 0
jne 0x1007690b
mov byte [0x10285511], 1
xor esi, esi
nop
xor edx, edx
mov ebx, esi
xor edx, dword [0x1028552c]
xor ebx, dword [0x10285528]
xor edx, 0xd28f2c5
xor ebx, 0x1de26cd5
mov ecx, edx
mov eax, ebx
shld ecx, eax, 0xd
shl eax, 0xd
xor edx, ecx
xor ebx, eax
mov dword [ebp - 0x20], edx
mov eax, ebx
shrd eax, edx, 7
xor al, byte [esi + 0x10285512]
xor al, bl
mov byte [esi + 0x10285512], al
inc esi
cmp esi, 0x10
jb 0x10076870
jmp 0x10076908
xor esi, esi
nop dword [eax]
xor edx, edx
mov ebx, esi
xor edx, dword [0x1028552c]
xor ebx, dword [0x10285528]
xor edx, 0xd28f2c5
xor ebx, 0x1de26cd5
mov ecx, edx
mov eax, ebx
shld ecx, eax, 0xd
shl eax, 0xd
xor edx, ecx
xor ebx, eax
mov dword [ebp - 0x20], edx
mov eax, ebx
shrd eax, edx, 7
xor al, byte [esi + 0x10285512]
xor al, bl
mov byte [esi + 0x10285512], al
inc esi
cmp esi, 0x10
jb 0x100768c0
lea eax, [edi + 0x2c]
push 0xf
push 0x10285512
mov ecx, eax
mov dword [eax], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
call fcn.100464c0
mov dword [edi + 0x44], 0
mov dword [edi + 0x48], 0
mov dword [edi + 0x4c], 0
mov dword [edi + 0x50], 0
mov dword [edi + 0x54], 0
push 0x20
mov dword [edi + 0x58], 0
mov dword [edi + 0x5c], 0
call fcn.10138eea
xorps xmm0, xmm0
push 0x40
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [edi + 0x58], eax
movups xmmword [edi + 0x60], xmm0
movups xmmword [edi + 0x70], xmm0
mov dword [edi + 0x80], 0
mov dword [edi + 0x84], 0
call fcn.10138eea
add esp, 8
mov ecx, 0x10285418
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [edi + 0x80], eax
lea eax, [ebp - 0x1c]
push eax
mov dword [edi + 0x88], 0
mov dword [edi + 0x8c], 0
mov byte [edi + 0x90], 0
mov dword [edi + 0x94], 0
mov dword [edi + 0x98], 0
call fcn.10077c30
cmp dword [ebp - 8], 0x10
lea ecx, [ebp - 0x1c]
mov dword [edi + 0x9c], 0
cmovae ecx, dword [ebp - 0x1c]
mov edx, ecx
mov dword [edi + 0xac], 0
mov dword [edi + 0xb0], 0xf
mov byte [edi + 0x9c], 0
lea ebx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x10076a25
sub edx, ebx
push edx
push ecx
lea ecx, [edi + 0x9c]
call fcn.100464c0
mov edx, dword [ebp - 8]
cmp edx, 0x10
jb 0x10076a71
mov ecx, dword [ebp - 0x1c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10076a67
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10076a67
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.10138f1a
add esp, 8
push 0xaf0
lea esi, [edi + 0xb4]
push 0
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov eax, 0x32
add esi, 0x18
nop
mov byte [esi - 0x18], 0
lea esi, [esi + 0x38]
mov dword [esi - 0x4c], 0
mov dword [esi - 0x3c], 0
mov dword [esi - 0x38], 0xf
mov dword [esi - 0x34], 0
mov dword [esi - 0x24], 0
mov dword [esi - 0x20], 0xf
mov dword [esi - 0x1c], 0
sub eax, 1
jne 0x10076a90
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10139242
mov esp, ebp
pop ebp
ret