Function at 0x10029170
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10061c30
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push esi
mov eax, dword [0x10075604]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 4], 0
test eax, eax
je 0x10029351
mov dword [esi + 0x24], eax
xor eax, eax
mov word [esi + 0x20], 1
mov word [esi + 0x28], ax
call fcn.10028cf0
movaps xmm0, xmmword [0x10068b40]
xor ecx, ecx
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x34], 0x79791269
mov dword [ebp - 0x30], 0x14797973
mov byte [ebp - 0x2c], 0
nop
mov al, byte [ebp - 0x44]
xor byte [ebp + ecx - 0x43], al
inc ecx
cmp ecx, 0x17
jb 0x100291e0
cmp byte [ebp - 0x43], 0
mov byte [ebp - 0x2c], 0
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
jne 0x1002920d
xor ecx, ecx
jmp 0x1002921c
lea ecx, [ebp - 0x43]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10029213
sub ecx, edx
push ecx
lea eax, [ebp - 0x43]
push eax
lea ecx, [ebp - 0x28]
call fcn.10002800
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push eax
push dword [esi + 0xc]
call fcn.10013630
mov eax, dword [ebp - 0x14]
add esp, 8
mov byte [ebp - 4], 0
cmp eax, 0x10
jb 0x10029257
inc eax
push 1
push eax
push dword [ebp - 0x28]
call fcn.10002610
add esp, 0xc
cmp dword [ebp + 0x1c], 0
jne 0x100292e3
mov byte [ebp - 0x1c], 0x22
mov al, 0x71
xor al, byte [ebp - 0x1c]
mov cl, 0x4b
xor cl, byte [ebp - 0x1c]
mov dl, 0x47
mov byte [ebp - 0x1b], al
mov ah, dl
mov byte [ebp - 0x1a], cl
mov ch, 2
mov cl, byte [ebp - 0x1c]
mov dh, 0x61
mov byte [ebp - 0xd], 0x43
xor ah, cl
mov al, byte [ebp - 0xd]
xor ch, cl
xor al, cl
mov byte [ebp - 0xe], 0x4c
mov byte [ebp - 0x13], al
mov bl, 0x45
mov al, byte [ebp - 0xe]
mov bh, 0x4e
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], 2
push eax
push dword [esi + 0x10]
call fcn.10013630
add esp, 8
jmp 0x1002933a
cmp dword [ebp + 0x20], 0x10
lea eax, [ebp + 0xc]
movaps xmm0, xmmword [0x10068ae0]
cmovae eax, dword [ebp + 0xc]
xor ecx, ecx
push eax
movups xmmword [ebp - 0x24], xmm0
mov word [ebp - 0x14], 0xd
mov al, byte [ebp - 0x24]
xor byte [ebp + ecx - 0x23], al
inc ecx
cmp ecx, 0x10
jb 0x10029302
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.10031980
push eax
push dword [esi + 0x10]
mov byte [ebp - 4], 3
call fcn.10013630
add esp, 0x28
mov eax, dword [ebp - 0x30]
cmp eax, 0x10
jb 0x10029351
push 1
inc eax
push eax
push dword [ebp - 0x44]
call fcn.10002610
add esp, 0xc
mov eax, dword [ebp + 0x20]
cmp eax, 0x10
jb 0x10029368
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 esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c