Function at 0x1002d4f3
Capabilities:
Encode data using xor

Disassembly:
push 0xe8
mov eax, 0x10040d3b
call fcn.1003dd61
mov esi, ecx
cmp dword [ebp + 8], 0
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x3c], edi
jbe 0x1002d870
test edi, edi
je 0x1002d870
call fcn.1002d4d2
xor ebx, ebx
test al, al
jne 0x1002d5ac
movaps xmm0, xmmword [str._aWhpbuRwTshub]
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 0x1002d538
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 [0x1004cee0]
movups xmmword [ebp - 0xf4], xmm0
mov byte [ebp - 0xd4], bl
movaps xmm0, xmmword [0x1004d690]
movups xmmword [ebp - 0xe4], xmm0
mov al, byte [ebp - 0xf4]
xor byte [ebp + ecx - 0xf3], al
inc ecx
cmp ecx, 0x1f
jb 0x1002d57b
lea eax, [ebp - 0xf3]
mov byte [ebp - 0xd4], bl
push eax
lea ecx, [ebp - 0x60]
call fcn.10003d99
mov byte [ebp - 4], 1
jmp 0x1002d770
mov edx, dword [ebp + 0x14]
mov cl, bl
movzx eax, cl
cmp edx, 1
jne 0x1002d67d
add eax, 0xe
imul eax, eax, 0x14
cmp dword [eax + esi], 2
jne 0x1002d68e
movaps xmm0, xmmword [str.Ke__.9f]
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 0x1002d5da
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 [0x1004d820]
movups xmmword [ebp - 0xd0], xmm0
mov dword [ebp - 0x80], 0x737c2620
movaps xmm0, xmmword [0x1004d830]
movups xmmword [ebp - 0xc0], xmm0
mov byte [ebp - 0x7c], bl
movaps xmm0, xmmword [0x1004d220]
movups xmmword [ebp - 0xb0], xmm0
movaps xmm0, xmmword [str.r__6r__:r]
movups xmmword [ebp - 0xa0], xmm0
movaps xmm0, xmmword [0x1004d0d0]
movups xmmword [ebp - 0x90], xmm0
mov al, byte [ebp - 0xd0]
xor byte [ebp + ecx - 0xcf], al
inc ecx
cmp ecx, 0x53
jb 0x1002d64f
lea eax, [ebp - 0xcf]
mov byte [ebp - 0x7c], bl
push eax
lea ecx, [ebp - 0x60]
call fcn.10003d99
mov byte [ebp - 4], 3
jmp 0x1002d770
cmp edx, 2
jne 0x1002d68e
add eax, 0xe
imul eax, eax, 0x14
cmp dword [eax + esi], 1
je 0x1002d6c8
inc cl
cmp cl, 6
jb 0x1002d5b1
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 0x1002d6bd
cmp dword [ecx + esi + 0x110], ebx
jbe 0x1002d79d
inc al
cmp al, 6
jb 0x1002d69b
jmp 0x1002d870
movaps xmm0, xmmword [0x1004c8c0]
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 0x1002d6d5
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 [0x1004d2e0]
movups xmmword [ebp - 0xd0], xmm0
mov dword [ebp - 0x80], 0x424d17
movaps xmm0, xmmword [0x1004cc80]
movups xmmword [ebp - 0xc0], xmm0
movaps xmm0, xmmword [0x1004ccc0]
movups xmmword [ebp - 0xb0], xmm0
movaps xmm0, xmmword [0x1004cc30]
movups xmmword [ebp - 0xa0], xmm0
movaps xmm0, xmmword [0x1004ccf0]
movups xmmword [ebp - 0x90], xmm0
mov al, byte [ebp - 0xd0]
xor byte [ebp + ecx - 0xcf], al
inc ecx
cmp ecx, 0x52
jb 0x1002d747
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 0x1002d870
mov ecx, edi
call fcn.10008403
mov ecx, eax
mov dword [ebp - 0x40], ecx
test ecx, ecx
je 0x1002d870
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.10008425
test eax, eax
je 0x1002d7fd
cmp dword [eax + 0x3c], ebx
je 0x1002d7fd
push edi
push eax
xor edx, edx
lea ecx, [ebp - 0x78]
call fcn.100084f5
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.10008b20
lea ecx, [ebp - 0x78]
jmp 0x1002d81e
mov edx, dword [ebp - 0x40]
lea ecx, [ebp - 0xec]
push edi
push ebx
call fcn.100084f5
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.10008b20
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.1000d392
mov edx, dword [ebp - 0x14]
cmp edx, 0xf
jbe 0x1002d870
mov ecx, dword [ebp - 0x28]
inc edx
call fcn.10003b6a
call fcn.1003dd1f
ret 0x10