Function at 0x10001290
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x1000b040]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
add edx, 8
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x40], eax
lea esi, [ebp - 0x13]
mov ecx, 4
nop dword [eax]
movzx eax, byte [edx - 8]
lea edx, [edx + 1]
mov byte [esi - 1], al
lea esi, [esi + 4]
movzx eax, byte [edx - 5]
mov byte [esi - 4], al
movzx eax, byte [edx - 1]
mov byte [esi - 3], al
movzx eax, byte [edx + 3]
mov byte [esi - 2], al
sub ecx, 1
jne 0x100012c0
mov edi, dword [edi + 4]
lea ebx, [ebp - 0x14]
mov esi, edi
mov dword [ebp - 0x38], edi
shl esi, 4
lea edi, [ebp - 0x12]
add esi, dword [ebp + 0x10]
lea edx, [esi + 0xc]
nop
movzx eax, byte [ecx + esi]
lea edx, [edx + 1]
xor byte [ebx + ecx*4], al
lea ebx, [ebp - 0x11]
movzx eax, byte [esi + ecx + 4]
xor byte [ebp + ecx*4 - 0x13], al
movzx eax, byte [edx - 5]
xor byte [edi + ecx*4], al
movzx eax, byte [edx - 1]
xor byte [ebx + ecx*4], al
inc ecx
lea ebx, [ebp - 0x14]
cmp ecx, 4
jb 0x10001300
mov ebx, dword [ebp - 0x38]
dec ebx
mov dword [ebp - 0x38], ebx
cmp ebx, 1
jb 0x100014a0
mov edi, ebx
lea esi, [ebp - 0x14]
shl edi, 4
add edi, dword [ebp + 0x10]
mov dword [ebp - 0x3c], edi
nop dword [eax + eax]
lea eax, [ebp - 0x14]
push eax
call fcn.100017f0
movzx eax, byte [ebp - 0xd]
lea ebx, [ebp - 0x12]
mov byte [ebp - 0x2c], al
xor edx, edx
movzx eax, byte [ebp - 0x10]
mov byte [ebp - 0x2b], al
movzx eax, byte [ebp - 0xf]
mov byte [ebp - 0x2a], al
movzx eax, byte [ebp - 0xe]
mov ecx, dword [ebp - 8]
mov byte [ebp - 0x29], al
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x10], eax
movzx eax, byte [ebp - 0xa]
mov byte [ebp - 0x30], al
movzx eax, byte [ebp - 9]
mov byte [ebp - 0x2f], al
movzx eax, byte [ebp - 0xc]
mov byte [ebp - 0x2e], al
movzx eax, byte [ebp - 0xb]
mov byte [ebp - 0x2d], al
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0xc], eax
movzx eax, byte [ebp - 6]
mov byte [ebp - 0x27], al
movzx eax, byte [ebp - 5]
mov byte [ebp - 0x28], ch
mov byte [ebp - 0x25], cl
mov ecx, edi
mov byte [ebp - 0x26], al
lea edi, [ebp - 0x11]
mov eax, dword [ebp - 0x28]
mov dword [ebp - 8], eax
movzx eax, byte [ecx]
lea ecx, [ecx + 1]
xor byte [esi + edx*4], al
movzx eax, byte [ecx + 3]
xor byte [ebp + edx*4 - 0x13], al
movzx eax, byte [ecx + 7]
xor byte [ebx + edx*4], al
movzx eax, byte [ecx + 0xb]
xor byte [edi + edx*4], al
inc edx
cmp edx, 4
jb 0x100013c4
mov edi, dword [ebp - 0x3c]
xorps xmm0, xmm0
movups xmmword [ebp - 0x24], xmm0
xor esi, esi
mov cl, byte [ebp + esi - 0x22]
xor eax, eax
mov bl, byte [ebp + esi - 0x24]
mov bh, byte [ebp + esi - 0x23]
mov byte [ebp - 0x31], cl
mov cl, byte [ebp + esi - 0x21]
mov byte [ebp - 0x32], cl
nop dword [eax]
movzx edx, byte [esi + eax + 0x100072a0]
movzx ecx, byte [ebp + eax*4 - 0x14]
shl edx, 8
xor bl, byte [ecx + edx + 0x100074b8]
movzx ecx, byte [ebp + eax*4 - 0x13]
mov byte [ebp - 0x33], bl
mov bl, byte [ebp - 0x31]
xor bh, byte [ecx + edx + 0x100074b8]
movzx ecx, byte [ebp + eax*4 - 0x12]
xor bl, byte [ecx + edx + 0x100074b8]
movzx ecx, byte [ebp + eax*4 - 0x11]
inc eax
mov byte [ebp - 0x31], bl
mov bl, byte [ebp - 0x32]
xor bl, byte [ecx + edx + 0x100074b8]
mov byte [ebp - 0x32], bl
mov bl, byte [ebp - 0x33]
cmp eax, 4
jb 0x10001410
mov al, byte [ebp - 0x31]
mov cl, byte [ebp - 0x32]
mov byte [ebp + esi - 0x24], bl
mov byte [ebp + esi - 0x23], bh
mov byte [ebp + esi - 0x22], al
mov byte [ebp + esi - 0x21], cl
add esi, 4
cmp esi, 0x10
jb 0x100013f5
movups xmm0, xmmword [ebp - 0x24]
sub edi, 0x10
lea esi, [ebp - 0x14]
sub dword [ebp - 0x38], 1
movups xmmword [ebp - 0x14], xmm0
mov dword [ebp - 0x3c], edi
jne 0x10001350
lea eax, [ebp - 0x14]
push eax
call fcn.100017f0
movzx eax, byte [ebp - 0xd]
mov esi, 4
mov byte [ebp - 0x28], al
movzx eax, byte [ebp - 0x10]
mov byte [ebp - 0x27], al
movzx eax, byte [ebp - 0xf]
mov byte [ebp - 0x26], al
movzx eax, byte [ebp - 0xe]
mov ecx, dword [ebp - 8]
mov byte [ebp - 0x25], al
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x10], eax
add edx, 8
movzx eax, byte [ebp - 0xa]
mov byte [ebp - 0x28], al
movzx eax, byte [ebp - 9]
mov byte [ebp - 0x27], al
movzx eax, byte [ebp - 0xc]
mov byte [ebp - 0x26], al
movzx eax, byte [ebp - 0xb]
mov byte [ebp - 0x25], al
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0xc], eax
movzx eax, byte [ebp - 6]
mov byte [ebp - 0x27], al
movzx eax, byte [ebp - 5]
mov byte [ebp - 0x28], ch
mov byte [ebp - 0x25], cl
lea ecx, [ebp - 0x13]
mov byte [ebp - 0x26], al
mov eax, dword [ebp - 0x28]
mov dword [ebp - 8], eax
nop dword [eax + eax]
movzx eax, byte [edx - 8]
lea edx, [edx + 1]
xor byte [ecx - 1], al
lea ecx, [ecx + 4]
movzx eax, byte [edx - 5]
xor byte [ecx - 4], al
movzx eax, byte [edx - 1]
xor byte [ecx - 3], al
movzx eax, byte [edx + 3]
xor byte [ecx - 2], al
sub esi, 1
jne 0x10001520
mov edx, dword [ebp - 0x40]
lea esi, [ebp - 0x14]
xor ecx, ecx
lea edi, [ebp - 0x12]
lea ebx, [ebp - 0x11]
nop word [eax + eax]
movzx eax, byte [esi + ecx*4]
mov byte [edx + ecx], al
movzx eax, byte [ebp + ecx*4 - 0x13]
mov byte [edx + ecx + 4], al
movzx eax, byte [edi + ecx*4]
mov byte [edx + ecx + 8], al
movzx eax, byte [ebx + ecx*4]
mov byte [edx + ecx + 0xc], al
inc ecx
cmp ecx, 4
jb 0x10001560
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100055ab
mov esp, ebp
pop ebp
ret 0xc