Function at 0x1002cee3
Capabilities:
Encode data using xor

Disassembly:
push 0xe8
mov eax, 0x100407ab
call fcn.1003d7b1
mov esi, ecx
cmp dword [ebp + 8], 0
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x3c], edi
jbe 0x1002d260
test edi, edi
je 0x1002d260
call fcn.1002cec2
xor ebx, ebx
test al, al
jne 0x1002cf9c
movaps xmm0, xmmword [str.wHPBU_nrW_atSHUB]
mov ecx, ebx
movups xmmword [ebp - 0x38], xmm0
mov al, byte [ebp - 0x38]
xor byte [ebp + ecx - 0x37], al
inc ecx
cmp ecx, 0xe
jb 0x1002cf28
lea eax, [ebp - 0x37]
mov byte [ebp - 0x29], bl
push eax
lea ecx, [ebp - 0x78]
call fcn.10003d99
mov dword [ebp - 4], ebx
mov ecx, ebx
movaps xmm0, xmmword [0x1004d770]
movups xmmword [ebp - 0xf4], xmm0
mov byte [ebp - 0xd4], bl
movaps xmm0, xmmword [0x1004d010]
movups xmmword [ebp - 0xe4], xmm0
mov al, byte [ebp - 0xf4]
xor byte [ebp + ecx - 0xf3], al
inc ecx
cmp ecx, 0x1f
jb 0x1002cf6b
lea eax, [ebp - 0xf3]
mov byte [ebp - 0xd4], bl
push eax
lea ecx, [ebp - 0x60]
call fcn.10003d99
mov byte [ebp - 4], 1
jmp 0x1002d160
mov edx, dword [ebp + 0x14]
mov cl, bl
movzx eax, cl
cmp edx, 1
jne 0x1002d06d
add eax, 0xe
imul eax, eax, 0x14
cmp dword [eax + esi], 2
jne 0x1002d07e
movaps xmm0, xmmword [str.X_b7_u_r_x_v_7]
mov ecx, ebx
movups xmmword [ebp - 0x38], xmm0
mov al, byte [ebp - 0x38]
xor byte [ebp + ecx - 0x37], al
inc ecx
cmp ecx, 0xe
jb 0x1002cfca
lea eax, [ebp - 0x37]
mov byte [ebp - 0x29], bl
push eax
lea ecx, [ebp - 0x78]
call fcn.10003d99
mov dword [ebp - 4], 2
mov ecx, ebx
movaps xmm0, xmmword [0x1004cfb0]
movups xmmword [ebp - 0xd0], xmm0
mov dword [ebp - 0x80], 0x2f207a7c
movaps xmm0, xmmword [0x1004cfc0]
movups xmmword [ebp - 0xc0], xmm0
mov byte [ebp - 0x7c], bl
movaps xmm0, xmmword [0x1004d570]
movups xmmword [ebp - 0xb0], xmm0
movaps xmm0, xmmword [0x1004d2c0]
movups xmmword [ebp - 0xa0], xmm0
movaps xmm0, xmmword [0x1004d6f0]
movups xmmword [ebp - 0x90], xmm0
mov al, byte [ebp - 0xd0]
xor byte [ebp + ecx - 0xcf], al
inc ecx
cmp ecx, 0x53
jb 0x1002d03f
lea eax, [ebp - 0xcf]
mov byte [ebp - 0x7c], bl
push eax
lea ecx, [ebp - 0x60]
call fcn.10003d99
mov byte [ebp - 4], 3
jmp 0x1002d160
cmp edx, 2
jne 0x1002d07e
add eax, 0xe
imul eax, eax, 0x14
cmp dword [eax + esi], 1
je 0x1002d0b8
inc cl
cmp cl, 6
jb 0x1002cfa1
mov al, bl
movzx ecx, al
mov dword [ebp - 0x48], ecx
imul ecx, ecx, 0x14
mov dword [ebp - 0x44], ecx
cmp dword [ecx + esi + 0x10c], ebx
ja 0x1002d0ad
cmp dword [ecx + esi + 0x110], ebx
jbe 0x1002d18d
inc al
cmp al, 6
jb 0x1002d08b
jmp 0x1002d260
movaps xmm0, xmmword [0x1004c830]
mov ecx, ebx
movups xmmword [ebp - 0x38], xmm0
mov al, byte [ebp - 0x38]
xor byte [ebp + ecx - 0x37], al
inc ecx
cmp ecx, 0xe
jb 0x1002d0c5
lea eax, [ebp - 0x37]
mov byte [ebp - 0x29], bl
push eax
lea ecx, [ebp - 0x78]
call fcn.10003d99
mov dword [ebp - 4], 4
mov ecx, ebx
movaps xmm0, xmmword [0x1004d3a0]
movups xmmword [ebp - 0xd0], xmm0
mov dword [ebp - 0x80], 0x555a00
movaps xmm0, xmmword [str.0ZT6]
movups xmmword [ebp - 0xc0], xmm0
movaps xmm0, xmmword [0x1004cb50]
movups xmmword [ebp - 0xb0], xmm0
movaps xmm0, xmmword [0x1004ce00]
movups xmmword [ebp - 0xa0], xmm0
movaps xmm0, xmmword [0x1004cb20]
movups xmmword [ebp - 0x90], xmm0
mov al, byte [ebp - 0xd0]
xor byte [ebp + ecx - 0xcf], al
inc ecx
cmp ecx, 0x52
jb 0x1002d137
lea eax, [ebp - 0xcf]
mov byte [ebp - 0x7d], bl
push eax
lea ecx, [ebp - 0x60]
call fcn.10003d99
mov byte [ebp - 4], 5
push ebx
push ecx
and dword [esp], 0
lea eax, [ebp - 0x78]
push ebx
push ebx
push ebx
push eax
lea eax, [ebp - 0x60]
push eax
push eax
call dword [0x1004b680]
lea ecx, [ebp - 0x60]
call fcn.10003b97
lea ecx, [ebp - 0x78]
call fcn.10003b97
jmp 0x1002d260
mov ecx, edi
call fcn.100083f8
mov ecx, eax
mov dword [ebp - 0x40], ecx
test ecx, ecx
je 0x1002d260
xor eax, eax
lea edi, [ebp - 0x28]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], bl
mov edi, dword [ebp - 0x3c]
mov edx, edi
mov dword [ebp - 4], 6
call fcn.1000841a
test eax, eax
je 0x1002d1ed
cmp dword [eax + 0x3c], ebx
je 0x1002d1ed
push edi
push eax
xor edx, edx
lea ecx, [ebp - 0x78]
call fcn.100084ea
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.10008b15
lea ecx, [ebp - 0x78]
jmp 0x1002d20e
mov edx, dword [ebp - 0x40]
lea ecx, [ebp - 0xec]
push edi
push ebx
call fcn.100084ea
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.10008b15
lea ecx, [ebp - 0xec]
call fcn.10003b97
mov ecx, dword [ebp - 0x44]
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0x14]
mov dword [ecx + esi + 0x10c], eax
mov eax, dword [ebp + 0x10]
mov dword [ecx + esi + 0x114], eax
mov eax, dword [ebp - 0x48]
add eax, 0xe
mov dword [ecx + esi + 0x110], edi
mov ecx, dword [ecx + esi + 0x11c]
imul eax, eax, 0x14
mov dword [eax + esi], edx
lea edx, [ebp - 0x28]
call fcn.1000cd86
mov edx, dword [ebp - 0x14]
cmp edx, 0xf
jbe 0x1002d260
mov ecx, dword [ebp - 0x28]
inc edx
call fcn.10003b6a
call fcn.1003d76f
ret 0x10