Function at 0x10029510
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10062be8
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push esi
push edi
mov eax, dword [0x10077604]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov di, word [ebp + 8]
mov dword [ebp - 4], 0
test di, di
je 0x10029743
movzx eax, word [esi + 0x28]
test ax, ax
jg 0x10029743
movaps xmm0, xmmword [0x10069b40]
xor ecx, ecx
mov byte [esi + 0x20], 0
mov dword [esi + 0x24], 0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0x72787813
mov dword [ebp - 0x14], 0x157878
mov al, byte [ebp - 0x28]
xor byte [ebp + ecx - 0x27], al
inc ecx
cmp ecx, 0x16
jb 0x10029581
lea eax, [ebp - 0x27]
mov byte [ebp - 0x11], 0
push eax
lea ecx, [ebp - 0x44]
call fcn.100017e0
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 1
push eax
push dword [esi + 8]
call fcn.100136d0
mov eax, dword [ebp - 0x30]
add esp, 8
mov byte [ebp - 4], 0
cmp eax, 0x10
jb 0x100295cc
inc eax
push 1
push eax
push dword [ebp - 0x44]
call fcn.10002610
add esp, 0xc
movaps xmm0, xmmword [0x10069ad0]
xor ecx, ecx
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0x1d1d760d
mov dword [ebp - 0x14], 0x701d1d17
mov byte [ebp - 0x10], 0
nop dword [eax + eax]
mov al, byte [ebp - 0x28]
xor byte [ebp + ecx - 0x27], al
inc ecx
cmp ecx, 0x17
jb 0x100295f0
lea eax, [ebp - 0x27]
mov byte [ebp - 0x10], 0
push eax
lea ecx, [ebp - 0x44]
call fcn.100017e0
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 2
push eax
push dword [esi + 0xc]
call fcn.100136d0
mov eax, dword [ebp - 0x30]
add esp, 8
mov byte [ebp - 4], 0
cmp eax, 0x10
jb 0x1002963b
inc eax
push 1
push eax
push dword [ebp - 0x44]
call fcn.10002610
add esp, 0xc
cmp dword [ebp + 0x1c], 0
jne 0x100296c7
mov byte [ebp - 0x1c], 4
mov al, 0x57
xor al, byte [ebp - 0x1c]
mov cl, 0x6d
xor cl, byte [ebp - 0x1c]
mov dl, 0x61
mov byte [ebp - 0x1b], al
mov ah, dl
mov byte [ebp - 0x1a], cl
mov ch, 0x24
mov cl, byte [ebp - 0x1c]
mov dh, 0x47
mov byte [ebp - 0x29], 0x65
xor ah, cl
mov al, byte [ebp - 0x29]
xor ch, cl
xor al, cl
mov byte [ebp - 0x2a], 0x6a
mov byte [ebp - 0x13], al
mov bl, 0x63
mov al, byte [ebp - 0x2a]
mov bh, 0x68
xor al, cl
mov byte [ebp - 0x17], ah
mov byte [ebp - 0x12], al
xor dl, cl
xor bl, cl
mov byte [ebp - 0x16], ch
xor dh, cl
mov byte [ebp - 0x11], 0
xor bh, cl
mov byte [ebp - 0x19], dl
lea eax, [ebp - 0x1b]
mov byte [ebp - 0x18], bl
push eax
lea ecx, [ebp - 0x44]
mov byte [ebp - 0x15], dh
mov byte [ebp - 0x14], bh
mov byte [ebp - 0x11], 0
call fcn.100017e0
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 3
push eax
push dword [esi + 0x10]
call fcn.100136d0
add esp, 8
jmp 0x1002971e
cmp dword [ebp + 0x20], 0x10
lea eax, [ebp + 0xc]
movaps xmm0, xmmword [0x10069b10]
cmovae eax, dword [ebp + 0xc]
xor ecx, ecx
push eax
movups xmmword [ebp - 0x24], xmm0
mov word [ebp - 0x14], 0x1c
mov al, byte [ebp - 0x24]
xor byte [ebp + ecx - 0x23], al
inc ecx
cmp ecx, 0x10
jb 0x100296e6
sub esp, 0x18
mov byte [ebp - 0x13], 0
lea eax, [ebp - 0x23]
mov ecx, esp
push eax
call fcn.100017e0
lea eax, [ebp - 0x44]
push eax
call fcn.100322e0
push eax
push dword [esi + 0x10]
mov byte [ebp - 4], 4
call fcn.100136d0
add esp, 0x28
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0
call fcn.10001840
mov ecx, dword [esi]
push 2
call dword [0x100775a0]
mov ecx, esi
mov word [esi + 0x28], di
mov byte [esi + 0x21], 1
call fcn.10028e80
mov eax, dword [ebp + 0x20]
cmp eax, 0x10
jb 0x1002975a
push 1
inc eax
push eax
push dword [ebp + 0xc]
call fcn.10002610
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c