Function at 0x10029300
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10062ba0
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push esi
mov eax, dword [0x10077604]
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 0x100294e1
mov dword [esi + 0x24], eax
xor eax, eax
mov word [esi + 0x20], 1
mov word [esi + 0x28], ax
call fcn.10028e80
movaps xmm0, xmmword [str._pGOCKLKLE]
xor ecx, ecx
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x34], 0x12127902
mov dword [ebp - 0x30], 0x7f121218
mov byte [ebp - 0x2c], 0
nop
mov al, byte [ebp - 0x44]
xor byte [ebp + ecx - 0x43], al
inc ecx
cmp ecx, 0x17
jb 0x10029370
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 0x1002939d
xor ecx, ecx
jmp 0x100293ac
lea ecx, [ebp - 0x43]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100293a3
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.100136d0
mov eax, dword [ebp - 0x14]
add esp, 8
mov byte [ebp - 4], 0
cmp eax, 0x10
jb 0x100293e7
inc eax
push 1
push eax
push dword [ebp - 0x28]
call fcn.10002610
add esp, 0xc
cmp dword [ebp + 0x1c], 0
jne 0x10029473
mov byte [ebp - 0x1c], 0x46
mov al, 0x15
xor al, byte [ebp - 0x1c]
mov cl, 0x2f
xor cl, byte [ebp - 0x1c]
mov dl, 0x23
mov byte [ebp - 0x1b], al
mov ah, dl
mov byte [ebp - 0x1a], cl
mov ch, 0x66
mov cl, byte [ebp - 0x1c]
mov dh, 5
mov byte [ebp - 0xd], 0x27
xor ah, cl
mov al, byte [ebp - 0xd]
xor ch, cl
xor al, cl
mov byte [ebp - 0xe], 0x28
mov byte [ebp - 0x13], al
mov bl, 0x21
mov al, byte [ebp - 0xe]
mov bh, 0x2a
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.100136d0
add esp, 8
jmp 0x100294ca
cmp dword [ebp + 0x20], 0x10
lea eax, [ebp + 0xc]
movaps xmm0, xmmword [0x10069b50]
cmovae eax, dword [ebp + 0xc]
xor ecx, ecx
push eax
movups xmmword [ebp - 0x24], xmm0
mov word [ebp - 0x14], 0x50
mov al, byte [ebp - 0x24]
xor byte [ebp + ecx - 0x23], al
inc ecx
cmp ecx, 0x10
jb 0x10029492
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], 3
call fcn.100136d0
add esp, 0x28
mov eax, dword [ebp - 0x30]
cmp eax, 0x10
jb 0x100294e1
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 0x100294f8
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