Function at 0x10001090
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
push ebx
push esi
push edi
mov edi, dword [sym.imp.msvcrt.dll_rand]
xor esi, esi
call edi
mov byte [esp + esi + 0x20], al
inc esi
cmp esi, 8
jb 0x100010a4
mov ecx, dword [ebp + 0xc]
lea edx, [esp + 0x28]
xorps xmm0, xmm0
sub edx, ecx
movups xmmword [esp + 0x28], xmm0
movq qword [esp + 0x38], xmm0
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx + ecx - 1], al
test al, al
jne 0x100010c7
mov eax, dword [ebp + 0x10]
mov esi, eax
nop dword [eax]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100010e0
lea edi, [esp + 0x28]
sub eax, esi
dec edi
nop
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x100010f0
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x28]
dec edi
nop dword [eax + eax]
mov al, byte [edi + 1]
lea edi, [edi + 1]
test al, al
jne 0x10001110
mov ax, word [0x10003080]
xor esi, esi
mov word [edi], ax
mov ecx, dword [esp + 0x24]
mov al, byte [esp + 0x20]
mov edx, dword [esp + 0x20]
mov ebx, edx
mov dword [esp + 0x10], eax
mov eax, ecx
shrd ebx, eax, 8
mov dword [esp + 0xc], edx
mov eax, ecx
shrd dword [esp + 0xc], eax, 0x10
mov eax, ecx
shrd edx, eax, 0x18
mov al, cl
mov dword [esp + 0x14], eax
mov eax, ecx
shr eax, 8
mov dword [esp + 0x18], eax
mov eax, ecx
shr eax, 0x10
mov dword [esp + 0x1c], eax
shr ecx, 0x18
nop word [eax + eax]
mov eax, dword [esp + 0x10]
xor byte [esp + esi*8 + 0x28], al
xor byte [esp + esi*8 + 0x2f], cl
mov eax, dword [esp + 0xc]
xor byte [esp + esi*8 + 0x2a], al
mov eax, dword [esp + 0x14]
xor byte [esp + esi*8 + 0x2c], al
xor byte [esp + esi*8 + 0x2b], dl
mov eax, dword [esp + 0x18]
xor byte [esp + esi*8 + 0x2d], al
mov eax, dword [esp + 0x1c]
xor byte [esp + esi*8 + 0x2e], al
xor byte [esp + esi*8 + 0x29], bl
mov edx, dword [esp + esi*8 + 0x28]
mov eax, edx
shr eax, 0x10
movzx ecx, al
mov eax, edx
shr eax, 8
movzx eax, al
shl eax, 0x10
shl ecx, 8
or ecx, eax
movzx eax, dl
shl eax, 0x18
or ecx, eax
shr edx, 0x18
or ecx, edx
mov edx, dword [esp + esi*8 + 0x2c]
mov eax, edx
mov dword [esp + 0x14], ecx
shr eax, 0x10
movzx ecx, al
mov eax, edx
shr eax, 8
movzx eax, al
shl eax, 0x10
shl ecx, 8
or ecx, eax
movzx eax, dl
shl eax, 0x18
or ecx, eax
shr edx, 0x18
or ecx, edx
lea eax, [esp + 0x10]
push eax
lea edx, [esp + 0x18]
mov dword [esp + 0x14], ecx
call fcn.10001000
mov edx, dword [esp + 0x18]
add esp, 4
mov eax, edx
shr eax, 0x10
movzx ecx, al
mov eax, edx
shr eax, 8
movzx eax, al
shl eax, 0x10
shl ecx, 8
or ecx, eax
movzx eax, dl
shl eax, 0x18
or ecx, eax
shr edx, 0x18
or ecx, edx
mov edx, dword [esp + 0x10]
mov dword [esp + esi*8 + 0x28], ecx
mov eax, edx
shr eax, 0x10
movzx ecx, al
mov eax, edx
shr eax, 8
movzx eax, al
shl eax, 0x10
shl ecx, 8
or ecx, eax
movzx eax, dl
shl eax, 0x18
or ecx, eax
shr edx, 0x18
or ecx, edx
mov edx, ecx
mov dword [esp + esi*8 + 0x2c], ecx
mov eax, dword [esp + esi*8 + 0x28]
inc esi
mov dword [esp + 0x10], eax
mov ebx, eax
mov ecx, dword [esp + 0x10]
mov eax, edx
shrd ebx, eax, 8
mov eax, edx
mov dword [esp + 0x14], edx
shrd ecx, eax, 0x10
mov eax, edx
mov byte [esp + 0xc], cl
mov ecx, dword [esp + 0x10]
shrd ecx, eax, 0x18
mov dl, cl
mov ecx, dword [esp + 0x14]
mov eax, ecx
shr eax, 8
mov byte [esp + 0x18], al
mov eax, ecx
shr eax, 0x10
shr ecx, 0x18
mov byte [esp + 0x1c], al
cmp esi, 3
jb 0x10001170
mov edi, dword [ebp + 8]
xor esi, esi
mov ebx, dword [sym.imp.msvcrt.dll_sprintf]
nop word [eax + eax]
movzx eax, byte [esp + esi + 0x20]
push eax
push str._02X
push edi
call ebx
inc esi
add esp, 0xc
add edi, 2
cmp esi, 0x20
jb 0x100012d0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc