Function at 0x10093df0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x7c
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x14], 0x10094350
mov esi, dword [ebp + 0x10]
lea eax, [ebp - 0x18]
mov ecx, dword [ebp + 0xc]
mov edx, dword fs:[0]
mov dword [ebp - 0x18], edx
mov dword fs:[0], eax
mov ebx, dword [esi + 8]
mov edi, dword [esi + 4]
test ebx, ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x24], edi
je 0x10093e7d
mov esi, 0xcbf29ce4
mov eax, 0x84222325
nop dword [eax]
movzx ecx, byte [edi]
mov edx, 0x1b3
imul esi, esi, 0x1b3
inc edi
xor ecx, eax
mov eax, ecx
shl ecx, 8
mul edx
add ecx, edx
add esi, ecx
dec ebx
jne 0x10093e40
xor eax, 0xff
mov ecx, dword [ebp + 0xc]
imul ebx, eax, 0x1b3
mov eax, ebx
shr eax, 0x19
cmp dword [ecx + 8], 0
mov dword [ebp - 0x2c], eax
jne 0x10093eb1
jmp 0x10093e8d
mov al, 0x43
mov ebx, 0x8602eb6e
cmp dword [ecx + 8], 0
mov dword [ebp - 0x2c], eax
jne 0x10093eb1
lea eax, [ecx + 0x10]
mov dword [ebp - 0x10], 0
mov edx, 1
push eax
mov dword [ebp - 0x28], ebx
call fcn.10110e90
mov ebx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp + 0xc]
add esp, 4
movzx eax, al
mov edi, dword [ecx]
mov edx, dword [ecx + 4]
mov ecx, dword [ebp - 0x30]
xor esi, esi
mov dword [ebp - 0x20], 0
movd xmm0, eax
punpcklbw xmm0, xmm0
pshuflw xmm0, xmm0, 0
pshufd xmm0, xmm0, 0
mov dword [ebp - 0x3c], edi
movdqu xmmword [ebp - 0x78], xmm0
and ebx, edx
movdqu xmm1, xmmword [ebp - 0x78]
mov dword [ebp - 0x38], esi
movdqu xmm0, xmmword [edi + ebx]
mov dword [ebp - 0x28], ebx
movdqu xmmword [ebp - 0x88], xmm0
pcmpeqb xmm0, xmm1
pmovmskb esi, xmm0
test esi, esi
jne 0x10093f6d
cmp dword [ebp - 0x20], 1
movdqu xmm1, xmmword [ebp - 0x88]
mov dword [ebp - 0x20], 1
je 0x10093f33
pmovmskb esi, xmm1
xor eax, eax
test esi, esi
setne al
tzcnt esi, esi
add esi, ebx
mov dword [ebp - 0x20], eax
and esi, edx
mov dword [ebp - 0x34], esi
pcmpeqd xmm0, xmm0
pcmpeqb xmm1, xmm0
pmovmskb eax, xmm1
test eax, eax
mov eax, dword [ebp - 0x38]
jne 0x1009401d
lea ebx, [ebx + eax + 0x10]
add eax, 0x10
mov esi, eax
jmp 0x10093edf
mov ebx, dword [ebp - 0x28]
lea eax, [esi - 1]
and ax, si
mov esi, eax
je 0x10093f05
tzcnt eax, esi
add eax, ebx
and eax, edx
neg eax
imul ebx, eax, 0x2c
cmp ecx, dword [edi + ebx - 0x24]
jne 0x10093f60
add ebx, edi
push ecx
push dword [ebx - 0x28]
push dword [ebp - 0x24]
mov edi, edx
call sub.VCRUNTIME140.dll_memcmp
mov edx, edi
mov edi, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x30]
add esp, 0xc
test eax, eax
jne 0x10093f60
movsd xmm0, qword [ebx - 8]
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0x14]
movsd qword [esi + 0x18], xmm0
movsd xmm0, qword [ebx - 0x10]
movsd qword [esi + 0x10], xmm0
movsd xmm0, qword [ebx - 0x20]
movsd xmm1, qword [ebx - 0x18]
movsd qword [esi], xmm0
movsd xmm0, qword [eax + 0x18]
movsd qword [esi + 8], xmm1
movsd qword [ebx - 8], xmm0
movsd xmm0, qword [eax + 0x10]
movsd qword [ebx - 0x10], xmm0
movsd xmm0, qword [eax]
movsd xmm1, qword [eax + 8]
mov eax, dword [ebp + 0x10]
movsd qword [ebx - 0x18], xmm1
movsd qword [ebx - 0x20], xmm0
mov eax, dword [eax]
test eax, eax
je 0x1009400a
push 1
push eax
push dword [ebp - 0x24]
call fcn.100218b0
add esp, 0xc
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
mov eax, esi
add esp, 0x7c
pop esi
pop edi
pop ebx
pop ebp
ret
mov ebx, dword [ebp - 0x34]
mov esi, edx
movzx eax, byte [edi + ebx]
test al, al
js 0x1009403a
movdqa xmm0, xmmword [edi]
pmovmskb eax, xmm0
tzcnt ebx, eax
movzx eax, byte [edi + ebx]
mov edx, dword [ebp + 0x10]
and al, 1
movzx eax, al
mov ecx, dword [edx + 8]
movsd xmm0, qword [edx]
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x60], ecx
mov ecx, dword [ebp + 0x14]
movsd qword [ebp - 0x68], xmm0
movsd xmm1, qword [ecx]
movsd xmm2, qword [ecx + 8]
movsd xmm3, qword [ecx + 0x10]
movsd xmm4, qword [ecx + 0x18]
mov ecx, dword [ebp + 0xc]
sub dword [ecx + 8], eax
lea eax, [ebx - 0x10]
movsd qword [ebp - 0x5c], xmm1
movsd qword [ebp - 0x54], xmm2
movsd qword [ebp - 0x4c], xmm3
movsd qword [ebp - 0x44], xmm4
mov byte [edi + ebx], dl
neg ebx
and eax, esi
mov esi, dword [ebp + 8]
mov byte [edi + eax + 0x10], dl
inc dword [ecx + 0xc]
imul eax, ebx, 0x2c
mov ecx, dword [ebp - 0x40]
mov dword [edi + eax - 4], ecx
movsd xmm0, qword [ebp - 0x48]
movsd qword [edi + eax - 0xc], xmm0
movsd xmm0, qword [ebp - 0x50]
movsd qword [edi + eax - 0x14], xmm0
movsd xmm0, qword [ebp - 0x58]
movsd qword [edi + eax - 0x1c], xmm0
movsd xmm0, qword [ebp - 0x68]
movsd xmm1, qword [ebp - 0x60]
movsd qword [edi + eax - 0x24], xmm1
movsd qword [edi + eax - 0x2c], xmm0
mov dword [esi], 6
jmp 0x1009400a