Function at 0x1001faf0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
movaps xmm0, xmmword [0x100af220]
xor edx, edx
push ebx
push esi
push edi
mov esi, ecx
mov word [ebp - 0xc], 0x116
movups xmmword [ebp - 0x1c], xmm0
mov byte [ebp - 0xa], 0
mov al, byte [ebp - 0x1c]
xor byte [ebp + edx - 0x1b], al
inc edx
cmp edx, 0x11
jb 0x1001fb12
sub esp, 0x18
mov byte [ebp - 0xa], 0
mov edx, esp
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
cmp dword [edx + 0x14], 0x10
jb 0x1001fb40
mov eax, dword [edx]
jmp 0x1001fb42
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0x1b], 0
jne 0x1001fb4f
xor ecx, ecx
jmp 0x1001fb5e
lea ecx, [ebp - 0x1b]
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001fb55
sub ecx, edi
push ecx
lea eax, [ebp - 0x1b]
mov ecx, edx
push eax
call fcn.10004a40
mov ecx, dword [esi]
call fcn.10014550
mov dword [esi + 4], eax
mov cl, 0x4b
mov byte [ebp - 0x18], 0x3f
mov al, 0x4c
xor al, byte [ebp - 0x18]
mov bl, 0x60
xor cl, byte [ebp - 0x18]
mov dl, 0x4d
mov byte [ebp - 0x17], al
mov dh, 0x59
mov byte [ebp - 0x16], cl
mov ah, 0x56
mov cl, byte [ebp - 0x18]
mov ch, 0x51
mov byte [ebp - 1], bl
xor dl, cl
mov al, byte [ebp - 1]
xor dh, cl
xor al, cl
mov byte [ebp - 0x15], dl
mov byte [ebp - 0xf], al
mov bh, 0x50
mov byte [ebp - 0x11], dh
xor bl, cl
mov edx, esp
mov byte [ebp - 2], 0xe
mov al, byte [ebp - 2]
xor ah, cl
mov byte [ebp - 0xd], 0
xor ch, cl
xor bh, cl
mov byte [ebp - 0x14], bl
xor al, cl
mov byte [ebp - 0x13], ah
mov byte [ebp - 0x12], ch
mov byte [ebp - 0x10], bh
mov byte [ebp - 0xe], al
mov byte [ebp - 0xd], 0
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
cmp dword [edx + 0x14], 0x10
jb 0x1001fbee
mov eax, dword [edx]
jmp 0x1001fbf0
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0x17], 0
jne 0x1001fbfd
xor ecx, ecx
jmp 0x1001fc0c
lea ecx, [ebp - 0x17]
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001fc03
sub ecx, edi
push ecx
lea eax, [ebp - 0x17]
mov ecx, edx
push eax
call fcn.10004a40
mov ecx, dword [esi + 4]
call fcn.10014550
mov dword [esi + 8], eax
mov cl, 0x48
mov byte [ebp - 0x18], 0x3c
mov al, 0x4f
xor al, byte [ebp - 0x18]
mov bl, 0x63
xor cl, byte [ebp - 0x18]
mov dl, 0x4e
mov byte [ebp - 0x17], al
mov dh, 0x5a
mov byte [ebp - 0x16], cl
mov ah, 0x55
mov cl, byte [ebp - 0x18]
mov ch, 0x52
mov byte [ebp - 2], bl
xor dl, cl
mov al, byte [ebp - 2]
xor dh, cl
xor al, cl
mov byte [ebp - 0x15], dl
mov byte [ebp - 0xf], al
mov bh, 0x53
mov byte [ebp - 0x11], dh
xor bl, cl
mov edx, esp
mov byte [ebp - 1], 0xe
mov al, byte [ebp - 1]
xor ah, cl
mov byte [ebp - 0xd], 0
xor ch, cl
xor bh, cl
mov byte [ebp - 0x14], bl
xor al, cl
mov byte [ebp - 0x13], ah
mov byte [ebp - 0x12], ch
mov byte [ebp - 0x10], bh
mov byte [ebp - 0xe], al
mov byte [ebp - 0xd], 0
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
cmp dword [edx + 0x14], 0x10
jb 0x1001fc9d
mov eax, dword [edx]
jmp 0x1001fc9f
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0x17], 0
jne 0x1001fcac
xor ecx, ecx
jmp 0x1001fcbb
lea ecx, [ebp - 0x17]
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001fcb2
sub ecx, edi
push ecx
lea eax, [ebp - 0x17]
mov ecx, edx
push eax
call fcn.10004a40
mov ecx, dword [esi + 4]
call fcn.10014550
mov dword [esi + 0xc], eax
mov cl, 0x14
mov byte [ebp - 0x18], 0x60
mov al, 0x13
xor al, byte [ebp - 0x18]
mov bl, 0x3f
xor cl, byte [ebp - 0x18]
mov dl, 0x12
mov byte [ebp - 0x17], al
mov dh, 6
mov byte [ebp - 0x16], cl
mov ah, 9
mov cl, byte [ebp - 0x18]
mov ch, 0xe
mov byte [ebp - 2], bl
xor dl, cl
mov al, byte [ebp - 2]
xor dh, cl
xor al, cl
mov byte [ebp - 0x15], dl
mov byte [ebp - 0xf], al
mov bh, 0xf
mov byte [ebp - 0x11], dh
xor bl, cl
mov edx, esp
mov byte [ebp - 1], 0x53
mov al, byte [ebp - 1]
xor ah, cl
mov byte [ebp - 0xd], 0
xor ch, cl
xor bh, cl
mov byte [ebp - 0x14], bl
xor al, cl
mov byte [ebp - 0x13], ah
mov byte [ebp - 0x12], ch
mov byte [ebp - 0x10], bh
mov byte [ebp - 0xe], al
mov byte [ebp - 0xd], 0
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
cmp dword [edx + 0x14], 0x10
jb 0x1001fd4c
mov eax, dword [edx]
jmp 0x1001fd4e
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0x17], 0
jne 0x1001fd5b
xor ecx, ecx
jmp 0x1001fd6a
lea ecx, [ebp - 0x17]
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001fd61
sub ecx, edi
push ecx
lea eax, [ebp - 0x17]
mov ecx, edx
push eax
call fcn.10004a40
mov ecx, dword [esi + 4]
call fcn.10014550
add esp, 0x18
mov dword [esi + 0x10], eax
mov cl, 0x6e
mov dword [ebp - 0x18], 0x903076e
mov dword [ebp - 0x14], 0xf1a1d31
xor eax, eax
mov dword [ebp - 0x10], 0x71a1c
mov word [ebp - 0xc], 9
xor byte [ebp + eax - 0x17], cl
inc eax
cmp eax, 0xc
jae 0x1001fdb2
mov cl, byte [ebp - 0x18]
jmp 0x1001fda3
sub esp, 0x18
mov byte [ebp - 0xb], 0
mov edx, esp
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
cmp dword [edx + 0x14], 0x10
jb 0x1001fdd3
mov eax, dword [edx]
jmp 0x1001fdd5
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0x17], 0
jne 0x1001fde2
xor ecx, ecx
jmp 0x1001fdf1
lea ecx, [ebp - 0x17]
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001fde8
sub ecx, edi
push ecx
lea eax, [ebp - 0x17]
mov ecx, edx
push eax
call fcn.10004a40
mov ecx, dword [esi + 4]
call fcn.10014550
add esp, 0x18
mov dword [esi + 0x18], eax
mov cl, 0x15
mov dword [ebp - 0x18], 0x72787c15
mov dword [ebp - 0x14], 0x666c774a
xor eax, eax
mov dword [ebp - 0x10], 0x717b7461
mov byte [ebp - 0xc], 0
xor byte [ebp + eax - 0x17], cl
inc eax
cmp eax, 0xb
jae 0x1001fe37
mov cl, byte [ebp - 0x18]
jmp 0x1001fe28
sub esp, 0x18
mov byte [ebp - 0xc], 0
mov edx, esp
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
mov byte [edx], 0
cmp byte [ebp - 0x17], 0
jne 0x1001fe5b
xor ecx, ecx
jmp 0x1001fe6a
lea ecx, [ebp - 0x17]
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001fe61
sub ecx, edi
push ecx
lea eax, [ebp - 0x17]
mov ecx, edx
push eax
call fcn.10004a40
mov ecx, dword [esi + 4]
call fcn.10014550
add esp, 0x18
mov dword [esi + 0x1c], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret