Function at 0x10001890
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x1005a280]
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
mov ebx, ecx
mov dword [ebp - 0x44], eax
push edi
mov dword [ebp - 0x40], ebx
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 0x100018c0
mov edi, dword [ebx + 4]
mov esi, edi
shl esi, 4
add esi, dword [ebp + 0x10]
lea edx, [esi + 0xc]
movzx eax, byte [ebp + ecx*4 - 0x14]
lea edx, [edx + 1]
xor al, byte [esi + ecx]
mov byte [ebp + ecx*4 - 0x14], al
movzx eax, byte [esi + ecx + 4]
xor byte [ebp + ecx*4 - 0x13], al
movzx eax, byte [edx - 5]
xor byte [ebp + ecx*4 - 0x12], al
movzx eax, byte [edx - 1]
xor byte [ebp + ecx*4 - 0x11], al
inc ecx
cmp ecx, 4
jb 0x100018f5
lea ebx, [edi - 1]
mov dword [ebp - 0x3c], ebx
cmp ebx, 1
jb 0x10001aa0
mov edi, ebx
lea esi, [ebp - 0x14]
shl edi, 4
add edi, dword [ebp + 0x10]
mov dword [ebp - 0x38], edi
mov ecx, dword [ebp - 0x40]
lea eax, [ebp - 0x14]
push eax
call fcn.10001d70
movzx eax, byte [ebp - 0xd]
lea ebx, [ebp - 0x12]
mov byte [ebp - 0x30], al
mov ecx, edi
movzx eax, byte [ebp - 0x10]
lea edi, [ebp - 0x11]
mov byte [ebp - 0x2f], al
xor edx, edx
movzx eax, byte [ebp - 0xf]
mov byte [ebp - 0x2e], al
movzx eax, byte [ebp - 0xe]
mov byte [ebp - 0x2d], al
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x10], eax
movzx eax, byte [ebp - 0xa]
mov byte [ebp - 0x34], al
movzx eax, byte [ebp - 9]
mov byte [ebp - 0x33], al
movzx eax, byte [ebp - 0xc]
mov byte [ebp - 0x32], al
movzx eax, byte [ebp - 0xb]
mov byte [ebp - 0x31], al
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0xc], eax
movzx eax, byte [ebp - 7]
mov byte [ebp - 0x28], al
movzx eax, byte [ebp - 6]
mov byte [ebp - 0x27], al
movzx eax, byte [ebp - 5]
mov byte [ebp - 0x26], al
movzx eax, byte [ebp - 8]
mov byte [ebp - 0x25], al
mov eax, dword [ebp - 0x28]
mov dword [ebp - 8], eax
nop dword [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 0x100019c0
mov edi, dword [ebp - 0x38]
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 - 0x29], cl
mov cl, byte [ebp + esi - 0x21]
mov byte [ebp - 0x2a], cl
nop dword [eax]
movzx edx, byte [esi + eax + 0x1004a458]
movzx ecx, byte [ebp + eax*4 - 0x14]
shl edx, 8
xor bl, byte [ecx + edx + 0x10049548]
movzx ecx, byte [ebp + eax*4 - 0x13]
mov byte [ebp - 0x2b], bl
mov bl, byte [ebp - 0x29]
xor bh, byte [ecx + edx + 0x10049548]
movzx ecx, byte [ebp + eax*4 - 0x12]
xor bl, byte [ecx + edx + 0x10049548]
movzx ecx, byte [ebp + eax*4 - 0x11]
inc eax
mov byte [ebp - 0x29], bl
mov bl, byte [ebp - 0x2a]
xor bl, byte [ecx + edx + 0x10049548]
mov byte [ebp - 0x2a], bl
mov bl, byte [ebp - 0x2b]
cmp eax, 4
jb 0x10001a10
mov al, byte [ebp - 0x29]
mov cl, byte [ebp - 0x2a]
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 0x100019f1
movups xmm0, xmmword [ebp - 0x24]
sub edi, 0x10
lea esi, [ebp - 0x14]
sub dword [ebp - 0x3c], 1
movups xmmword [ebp - 0x14], xmm0
mov dword [ebp - 0x38], edi
jne 0x10001940
mov ecx, dword [ebp - 0x40]
lea eax, [ebp - 0x14]
push eax
call fcn.10001d70
movzx eax, byte [ebp - 0xd]
lea ecx, [ebp - 0x13]
mov byte [ebp - 0x28], al
mov esi, 4
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 byte [ebp - 0x25], al
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x10], eax
movzx eax, byte [ebp - 0xa]
mov byte [ebp - 0x28], al
movzx eax, byte [ebp - 9]
mov edx, dword [ebp + 0x10]
mov byte [ebp - 0x27], al
add edx, 8
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 - 7]
mov byte [ebp - 0x28], al
movzx eax, byte [ebp - 6]
mov byte [ebp - 0x27], al
movzx eax, byte [ebp - 5]
mov byte [ebp - 0x26], al
movzx eax, byte [ebp - 8]
mov byte [ebp - 0x25], al
mov eax, dword [ebp - 0x28]
mov dword [ebp - 8], 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 0x10001b20
mov edx, dword [ebp - 0x44]
xor ecx, ecx
pop edi
pop esi
pop ebx
nop
movzx eax, byte [ebp + ecx*4 - 0x14]
mov byte [edx + ecx], al
movzx eax, byte [ebp + ecx*4 - 0x13]
mov byte [edx + ecx + 4], al
movzx eax, byte [ebp + ecx*4 - 0x12]
mov byte [edx + ecx + 8], al
movzx eax, byte [ebp + ecx*4 - 0x11]
mov byte [edx + ecx + 0xc], al
inc ecx
cmp ecx, 4
jb 0x10001b50
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100278e1
mov esp, ebp
pop ebp
ret 0xc