Function at 0x10029380
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10061c78
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push esi
push edi
mov eax, dword [0x10075604]
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 0x100295b3
movzx eax, word [esi + 0x28]
test ax, ax
jg 0x100295b3
movaps xmm0, xmmword [str..ZO_JG_I]
xor ecx, ecx
mov byte [esi + 0x20], 0
mov dword [esi + 0x24], 0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0x141e1e75
mov dword [ebp - 0x14], 0x731e1e
mov al, byte [ebp - 0x28]
xor byte [ebp + ecx - 0x27], al
inc ecx
cmp ecx, 0x16
jb 0x100293f1
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.10013630
mov eax, dword [ebp - 0x30]
add esp, 8
mov byte [ebp - 4], 0
cmp eax, 0x10
jb 0x1002943c
inc eax
push 1
push eax
push dword [ebp - 0x44]
call fcn.10002610
add esp, 0xc
movaps xmm0, xmmword [0x10068b00]
xor ecx, ecx
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0x3e3e552e
mov dword [ebp - 0x14], 0x533e3e34
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 0x10029460
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.10013630
mov eax, dword [ebp - 0x30]
add esp, 8
mov byte [ebp - 4], 0
cmp eax, 0x10
jb 0x100294ab
inc eax
push 1
push eax
push dword [ebp - 0x44]
call fcn.10002610
add esp, 0xc
cmp dword [ebp + 0x1c], 0
jne 0x10029537
mov byte [ebp - 0x1c], 3
mov al, 0x50
xor al, byte [ebp - 0x1c]
mov cl, 0x6a
xor cl, byte [ebp - 0x1c]
mov dl, 0x66
mov byte [ebp - 0x1b], al
mov ah, dl
mov byte [ebp - 0x1a], cl
mov ch, 0x23
mov cl, byte [ebp - 0x1c]
mov dh, 0x40
mov byte [ebp - 0x29], 0x62
xor ah, cl
mov al, byte [ebp - 0x29]
xor ch, cl
xor al, cl
mov byte [ebp - 0x2a], 0x6d
mov byte [ebp - 0x13], al
mov bl, 0x64
mov al, byte [ebp - 0x2a]
mov bh, 0x6f
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.10013630
add esp, 8
jmp 0x1002958e
cmp dword [ebp + 0x20], 0x10
lea eax, [ebp + 0xc]
movaps xmm0, xmmword [0x10068ac0]
cmovae eax, dword [ebp + 0xc]
xor ecx, ecx
push eax
movups xmmword [ebp - 0x24], xmm0
mov word [ebp - 0x14], 0x32
mov al, byte [ebp - 0x24]
xor byte [ebp + ecx - 0x23], al
inc ecx
cmp ecx, 0x10
jb 0x10029556
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], 4
call fcn.10013630
add esp, 0x28
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0
call fcn.10001840
mov ecx, dword [esi]
push 2
call dword [0x100755a0]
mov ecx, esi
mov word [esi + 0x28], di
mov byte [esi + 0x21], 1
call fcn.10028cf0
mov eax, dword [ebp + 0x20]
cmp eax, 0x10
jb 0x100295ca
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