Function at 0x10021b30
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
movaps xmm0, xmmword [0x10067de0]
xor edx, edx
push ebx
push esi
push edi
mov esi, ecx
mov word [ebp - 0xc], 0x1b0c
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 0x10021b52
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 0x10021b80
mov eax, dword [edx]
jmp 0x10021b82
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0x1b], 0
jne 0x10021b8f
xor ecx, ecx
jmp 0x10021b9e
lea ecx, [ebp - 0x1b]
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10021b95
sub ecx, edi
push ecx
lea eax, [ebp - 0x1b]
mov ecx, edx
push eax
call fcn.10005550
mov ecx, dword [esi]
call fcn.10010890
mov dword [esi + 4], eax
mov cl, 0x1e
mov byte [ebp - 0x18], 0x6a
mov al, 0x19
xor al, byte [ebp - 0x18]
mov bl, 0x35
xor cl, byte [ebp - 0x18]
mov dl, 0x18
mov byte [ebp - 0x17], al
mov dh, 0xc
mov byte [ebp - 0x16], cl
mov ah, 3
mov cl, byte [ebp - 0x18]
mov ch, 4
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, 5
mov byte [ebp - 0x11], dh
xor bl, cl
mov edx, esp
mov byte [ebp - 2], 0x5b
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 0x10021c2e
mov eax, dword [edx]
jmp 0x10021c30
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0x17], 0
jne 0x10021c3d
xor ecx, ecx
jmp 0x10021c4c
lea ecx, [ebp - 0x17]
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10021c43
sub ecx, edi
push ecx
lea eax, [ebp - 0x17]
mov ecx, edx
push eax
call fcn.10005550
mov ecx, dword [esi + 4]
call fcn.10010890
mov dword [esi + 8], eax
mov cl, 0x4a
mov byte [ebp - 0x18], 0x3e
mov al, 0x4d
xor al, byte [ebp - 0x18]
mov bl, 0x61
xor cl, byte [ebp - 0x18]
mov dl, 0x4c
mov byte [ebp - 0x17], al
mov dh, 0x58
mov byte [ebp - 0x16], cl
mov ah, 0x57
mov cl, byte [ebp - 0x18]
mov ch, 0x50
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, 0x51
mov byte [ebp - 0x11], dh
xor bl, cl
mov edx, esp
mov byte [ebp - 1], 0xc
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 0x10021cdd
mov eax, dword [edx]
jmp 0x10021cdf
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0x17], 0
jne 0x10021cec
xor ecx, ecx
jmp 0x10021cfb
lea ecx, [ebp - 0x17]
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10021cf2
sub ecx, edi
push ecx
lea eax, [ebp - 0x17]
mov ecx, edx
push eax
call fcn.10005550
mov ecx, dword [esi + 4]
call fcn.10010890
mov dword [esi + 0xc], eax
mov cl, 0x58
mov byte [ebp - 0x18], 0x2c
mov al, 0x5f
xor al, byte [ebp - 0x18]
mov bl, 0x73
xor cl, byte [ebp - 0x18]
mov dl, 0x5e
mov byte [ebp - 0x17], al
mov dh, 0x4a
mov byte [ebp - 0x16], cl
mov ah, 0x45
mov cl, byte [ebp - 0x18]
mov ch, 0x42
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, 0x43
mov byte [ebp - 0x11], dh
xor bl, cl
mov edx, esp
mov byte [ebp - 1], 0x1f
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 0x10021d8c
mov eax, dword [edx]
jmp 0x10021d8e
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0x17], 0
jne 0x10021d9b
xor ecx, ecx
jmp 0x10021daa
lea ecx, [ebp - 0x17]
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10021da1
sub ecx, edi
push ecx
lea eax, [ebp - 0x17]
mov ecx, edx
push eax
call fcn.10005550
mov ecx, dword [esi + 4]
call fcn.10010890
add esp, 0x18
mov dword [esi + 0x10], eax
mov cl, 0x62
mov dword [ebp - 0x18], 0x50f0b62
mov dword [ebp - 0x14], 0x316113d
xor eax, eax
mov dword [ebp - 0x10], 0xc0b1610
mov word [ebp - 0xc], 5
xor byte [ebp + eax - 0x17], cl
inc eax
cmp eax, 0xc
jae 0x10021df2
mov cl, byte [ebp - 0x18]
jmp 0x10021de3
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 0x10021e13
mov eax, dword [edx]
jmp 0x10021e15
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0x17], 0
jne 0x10021e22
xor ecx, ecx
jmp 0x10021e31
lea ecx, [ebp - 0x17]
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10021e28
sub ecx, edi
push ecx
lea eax, [ebp - 0x17]
mov ecx, edx
push eax
call fcn.10005550
mov ecx, dword [esi + 4]
call fcn.10010890
add esp, 0x18
mov dword [esi + 0x18], eax
mov cl, 0x4e
mov dword [ebp - 0x18], 0x2923274e
mov dword [ebp - 0x14], 0x3d372c11
xor eax, eax
mov dword [ebp - 0x10], 0x2a202f3a
mov byte [ebp - 0xc], 0
xor byte [ebp + eax - 0x17], cl
inc eax
cmp eax, 0xb
jae 0x10021e77
mov cl, byte [ebp - 0x18]
jmp 0x10021e68
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 0x10021e9b
xor ecx, ecx
jmp 0x10021eaa
lea ecx, [ebp - 0x17]
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10021ea1
sub ecx, edi
push ecx
lea eax, [ebp - 0x17]
mov ecx, edx
push eax
call fcn.10005550
mov ecx, dword [esi + 4]
call fcn.10010890
add esp, 0x18
mov dword [esi + 0x1c], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret