Function at 0x10006eb0
Capabilities:
Encode data using xor

Disassembly:
jmp 0x100d01e0
mov eax, 0x18
call fcn.10001f96
push ebx
push ebp
push esi
push edi
mov eax, dword [esp + 0x40]
lea edx, [eax + 1]
movzx ebx, byte [edx + 3]
movzx ecx, byte [eax]
movzx eax, byte [edx]
shl eax, 8
or ecx, eax
movzx eax, byte [edx + 1]
shl eax, 0x10
or ecx, eax
movzx eax, byte [edx + 2]
shl eax, 0x18
or ecx, eax
movzx eax, byte [edx + 4]
shl eax, 8
or ebx, eax
mov dword [esp + 0x14], ecx
movzx ecx, byte [edx + 6]
movzx eax, byte [edx + 5]
shl ecx, 8
or ecx, eax
mov eax, dword [esp + 0x44]
lea edx, [eax + 1]
shl ecx, 0x10
or ebx, ecx
movzx ecx, byte [eax]
movzx eax, byte [edx]
shl eax, 8
or ecx, eax
mov dword [esp + 0x18], ebx
movzx eax, byte [edx + 1]
movzx ebx, byte [edx + 3]
shl eax, 0x10
or ecx, eax
movzx eax, byte [edx + 2]
shl eax, 0x18
or ecx, eax
movzx eax, byte [edx + 4]
shl eax, 8
or ebx, eax
mov dword [esp + 0x44], ecx
movzx ecx, byte [edx + 6]
movzx eax, byte [edx + 5]
mov esi, dword [esp + 0x3c]
shl ecx, 8
or ecx, eax
shl ecx, 0x10
movzx edx, byte [esi + 1]
or ebx, ecx
movzx eax, byte [esi]
movzx ecx, byte [esi + 7]
shl edx, 8
or edx, eax
shl ecx, 8
movzx eax, byte [esi + 2]
shl eax, 0x10
or edx, eax
mov dword [esp + 0x10], ebx
movzx eax, byte [esi + 3]
shl eax, 0x18
or edx, eax
movzx eax, byte [esi + 5]
shl eax, 8
cmp dword [esp + 0x48], 0
mov dword [esp + 0x40], edx
je 0x100d049d
movzx ebx, byte [esi + 4]
mov ebp, dword [esp + 0x34]
or ebx, eax
movzx eax, byte [esi + 6]
mov esi, dword [esp + 0x30]
or ecx, eax
mov edi, dword [esp + 0x2c]
shl ecx, 0x10
or ebx, ecx
lea ecx, [ebp - 8]
mov dword [esp + 0x34], ecx
test ecx, ecx
js 0x100d03c2
shr ebp, 3
mov eax, ebp
neg eax
lea ecx, [ecx + eax*8]
mov dword [esp + 0x34], ecx
nop dword [eax]
movzx eax, byte [edi + 1]
movzx edx, byte [edi]
movzx ecx, byte [edi + 4]
shl eax, 8
or edx, eax
movzx eax, byte [edi + 2]
shl eax, 0x10
or edx, eax
movzx eax, byte [edi + 3]
shl eax, 0x18
or edx, eax
movzx eax, byte [edi + 5]
xor edx, dword [esp + 0x40]
xor edx, dword [esp + 0x14]
shl eax, 8
or ecx, eax
mov dword [esp + 0x20], edx
movzx eax, byte [edi + 6]
shl eax, 0x10
or ecx, eax
movzx eax, byte [edi + 7]
shl eax, 0x18
add edi, 8
or ecx, eax
lea eax, [esp + 0x20]
push 1
push dword [esp + 0x3c]
xor ecx, ebx
xor ecx, dword [esp + 0x20]
push eax
mov dword [esp + 0x30], ecx
call sym.libcrypto_1_1.dll_DES_encrypt1
mov edx, dword [esp + 0x2c]
add esp, 0xc
xor edx, dword [esp + 0x44]
mov ebx, dword [esp + 0x24]
mov eax, edx
xor ebx, dword [esp + 0x10]
shr eax, 8
mov byte [esi], dl
mov byte [esi + 1], al
mov eax, edx
shr eax, 0x10
mov byte [esi + 2], al
mov eax, edx
shr eax, 0x18
mov byte [esi + 3], al
mov eax, ebx
shr eax, 8
mov byte [esi + 5], al
mov eax, ebx
shr eax, 0x10
mov byte [esi + 6], al
mov eax, ebx
shr eax, 0x18
mov byte [esi + 4], bl
mov byte [esi + 7], al
add esi, 8
mov dword [esp + 0x40], edx
sub ebp, 1
jne 0x100d0300
mov ecx, dword [esp + 0x34]
cmp ecx, 0xfffffff8
je 0x100d0699
mov eax, dword [esp + 0x34]
add edi, 8
add ecx, edi
add eax, 7
xor ebp, ebp
xor edi, edi
cmp eax, 7
ja case.default.0x100d03e0
jmp dword [eax*4 + 0x100d0704]
movzx ebp, byte [ecx - 1]
dec ecx
shl ebp, 0x18
movzx eax, byte [ecx - 1]
dec ecx
shl eax, 0x10
or ebp, eax
movzx eax, byte [ecx - 1]
dec ecx
shl eax, 8
or ebp, eax
movzx eax, byte [ecx - 1]
dec ecx
or ebp, eax
movzx edi, byte [ecx - 1]
dec ecx
shl edi, 0x18
movzx eax, byte [ecx - 1]
dec ecx
shl eax, 0x10
or edi, eax
movzx eax, byte [ecx - 1]
dec ecx
shl eax, 8
or edi, eax
movzx eax, byte [ecx - 1]
or edi, eax
push 1
push dword [esp + 0x3c]
xor edi, edx
lea eax, [esp + 0x28]
xor edi, dword [esp + 0x1c]
xor ebp, ebx
xor ebp, dword [esp + 0x20]
push eax
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], ebp
call sym.libcrypto_1_1.dll_DES_encrypt1
mov edx, dword [esp + 0x2c]
add esp, 0xc
xor edx, dword [esp + 0x44]
mov ebx, dword [esp + 0x24]
mov eax, edx
xor ebx, dword [esp + 0x10]
shr eax, 8
mov byte [esi], dl
mov byte [esi + 1], al
mov eax, edx
shr eax, 0x10
mov byte [esi + 2], al
mov eax, edx
shr eax, 0x18
mov byte [esi + 3], al
mov eax, ebx
shr eax, 8
mov byte [esi + 5], al
mov eax, ebx
shr eax, 0x10
mov byte [esi + 6], al
mov eax, ebx
shr eax, 0x18
mov byte [esi + 4], bl
mov byte [esi + 7], al
jmp 0x100d0699
movzx ebp, byte [esi + 4]
mov edi, dword [esp + 0x34]
or ebp, eax
movzx eax, byte [esi + 6]
add edi, 0xfffffff8
mov esi, dword [esp + 0x30]
or ecx, eax
mov ebx, dword [esp + 0x2c]
shl ecx, 0x10
or ebp, ecx
mov dword [esp + 0x48], ebp
test edi, edi
jle 0x100d05ba
lea eax, [edi - 1]
mov dword [esp + 0x34], esi
shr eax, 3
inc eax
mov dword [esp + 0x48], eax
neg eax
lea edi, [edi + eax*8]
mov dword [esp + 0x1c], edi
movzx eax, byte [ebx + 1]
movzx edi, byte [ebx]
shl eax, 8
or edi, eax
movzx esi, byte [ebx + 4]
movzx eax, byte [ebx + 2]
shl eax, 0x10
or edi, eax
movzx eax, byte [ebx + 3]
shl eax, 0x18
or edi, eax
mov eax, edi
xor eax, dword [esp + 0x44]
mov dword [esp + 0x20], eax
movzx eax, byte [ebx + 5]
shl eax, 8
or esi, eax
movzx eax, byte [ebx + 6]
shl eax, 0x10
or esi, eax
movzx eax, byte [ebx + 7]
shl eax, 0x18
add ebx, 8
or esi, eax
mov eax, esi
xor eax, dword [esp + 0x10]
push 0
push dword [esp + 0x3c]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x28]
push eax
call sym.libcrypto_1_1.dll_DES_encrypt1
mov ecx, dword [esp + 0x2c]
add esp, 0xc
xor ecx, dword [esp + 0x40]
xor ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x24]
mov eax, ecx
xor edx, ebp
shr eax, 8
mov ebp, dword [esp + 0x34]
xor edx, dword [esp + 0x18]
mov byte [ebp], cl
mov byte [ebp + 1], al
mov eax, ecx
shr eax, 0x10
mov byte [ebp + 2], al
mov eax, edx
shr eax, 8
mov byte [ebp + 5], al
mov eax, edx
mov byte [ebp + 4], dl
shr edx, 0x18
shr ecx, 0x18
shr eax, 0x10
mov byte [ebp + 7], dl
mov edx, edi
mov byte [ebp + 3], cl
mov byte [ebp + 6], al
add ebp, 8
sub dword [esp + 0x48], 1
mov dword [esp + 0x34], ebp
mov ebp, esi
mov dword [esp + 0x40], edx
jne 0x100d04e1
mov esi, dword [esp + 0x34]
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x48], ebp
cmp edi, 0xfffffff8
je 0x100d0695
movzx eax, byte [ebx + 1]
movzx ecx, byte [ebx]
movzx edx, byte [ebx + 4]
shl eax, 8
or ecx, eax
movzx eax, byte [ebx + 2]
shl eax, 0x10
or ecx, eax
movzx eax, byte [ebx + 3]
shl eax, 0x18
or ecx, eax
movzx eax, byte [ebx + 5]
mov dword [esp + 0x34], ecx
xor ecx, dword [esp + 0x44]
mov dword [esp + 0x20], ecx
movzx ecx, byte [ebx + 7]
shl eax, 8
or edx, eax
shl ecx, 8
movzx eax, byte [ebx + 6]
or ecx, eax
lea eax, [esp + 0x20]
shl ecx, 0x10
or edx, ecx
push 0
push dword [esp + 0x3c]
mov dword [esp + 0x4c], edx
xor edx, dword [esp + 0x18]
push eax
mov dword [esp + 0x30], edx
call sym.libcrypto_1_1.dll_DES_encrypt1
mov ebx, dword [esp + 0x2c]
lea ecx, [edi + 8]
mov edx, dword [esp + 0x30]
add edi, 7
xor ebx, dword [esp + 0x4c]
xor edx, ebp
xor ebx, dword [esp + 0x20]
add esp, 0xc
xor edx, dword [esp + 0x18]
add ecx, esi
cmp edi, 7
ja case.default.0x100d064e
jmp dword [edi*4 + 0x100d0724]
dec ecx
mov eax, edx
shr eax, 0x18
mov byte [ecx], al
dec ecx
mov eax, edx
shr eax, 0x10
mov byte [ecx], al
dec ecx
mov eax, edx
shr eax, 8
mov byte [ecx], al
dec ecx
mov byte [ecx], dl
dec ecx
mov eax, ebx
shr eax, 0x18
mov byte [ecx], al
dec ecx
mov eax, ebx
shr eax, 0x10
mov byte [ecx], al
dec ecx
mov eax, ebx
shr eax, 8
mov byte [ecx], al
mov byte [ecx - 1], bl
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 0x44]
jmp 0x100d0699
mov ebx, dword [esp + 0x48]
mov eax, ebx
mov ecx, ebx
shr eax, 0x10
mov dword [esp + 0x18], eax
mov eax, ebx
shr eax, 8
mov dword [esp + 0x48], eax
mov eax, edx
shr eax, 0x18
mov dword [esp + 0x44], eax
mov eax, edx
shr eax, 0x10
mov dword [esp + 0x40], eax
mov eax, edx
shr ecx, 0x18
shr eax, 8
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x3c]
pop edi
pop esi
pop ebp
mov byte [eax], dl
mov edx, dword [esp + 0x28]
mov byte [eax + 1], dl
mov edx, dword [esp + 0x34]
mov byte [eax + 2], dl
mov edx, dword [esp + 0x38]
mov byte [eax + 3], dl
mov edx, dword [esp + 0x3c]
mov byte [eax + 4], bl
mov byte [eax + 5], dl
mov edx, dword [esp + 0xc]
mov byte [eax + 6], dl
mov byte [eax + 7], cl
pop ebx
add esp, 0x18
ret