Function at 0x427de4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x78
push esi
push edi
mov edi, edx
mov esi, ecx
mov dword [esp + 0x24], esi
test edi, edi
je 0x428313
mov eax, dword [ebp + 8]
add eax, edi
mov dword [esp + 0x28], eax
mov eax, dword [esi + 0x230]
mov dword [esp + 0xc], eax
test eax, eax
jne 0x427e1d
lea eax, [esi + 0x40]
mov dword [esp + 0xc], eax
push 0x40
lea eax, [esp + 0x44]
push esi
push eax
call sub.msvcrt.dll_memcpy
mov eax, dword [ebp + 8]
add esp, 0xc
add dword [esi + 0x210], eax
mov edx, 0x100
mov ecx, dword [esi + 0x200]
adc dword [esi + 0x214], 0
sub edx, ecx
mov dword [esp + 0x30], edx
cmp eax, edx
ja 0x427e73
push eax
lea eax, [esi + 0x100]
add eax, ecx
push edi
push eax
call sub.msvcrt.dll_memcpy
mov eax, dword [ebp + 8]
add esp, 0xc
add dword [esi + 0x200], eax
jmp 0x428313
test ecx, ecx
je 0x4280b3
push edx
lea eax, [esi + 0x100]
add eax, ecx
push edi
push eax
call sub.msvcrt.dll_memcpy
add edi, dword [esp + 0x3c]
add esp, 0xc
mov eax, dword [esi + 0x21c]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x30], eax
lea eax, [esi + 0x100]
push 4
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x218]
pop edx
mov dword [esp + 0x20], edx
mov edx, dword [esi + 0x218]
mov dword [esp + 0x3c], eax
mov eax, dword [esi + 0x208]
mov dword [esp + 0x10], edx
sub dword [esp + 0x10], eax
cmp dword [esp + 0x10], 4
mov edx, dword [esp + 0x20]
lea ecx, [ecx + eax*8]
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], ecx
ja 0x428019
mov eax, dword [esp + 0xc]
add eax, dword [esp + 0x30]
movdqa xmm3, xmmword [0x4376d0]
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
mov dword [esp + 0x38], eax
test esi, esi
je 0x427f88
mov eax, edi
mov dword [esp + 0x2c], edi
mov edx, ecx
mov dword [esp + 0x30], esi
lea edi, [esp + 0x40]
sub edx, edi
prefetcht0 byte [eax + 0x180]
lea esi, [esp + 0x40]
sub eax, ecx
push 4
mov dword [esp + 0x38], eax
mov edi, eax
pop ecx
lea eax, [edx + esi]
movdqu xmm0, xmmword [eax + edi]
movdqu xmm2, xmmword [eax]
pshufd xmm1, xmm0, 0x4e
paddq xmm1, xmmword [esi]
pxor xmm2, xmm0
pshufd xmm0, xmm2, 0x31
pmuludq xmm0, xmm2
paddq xmm1, xmm0
movdqa xmmword [esi], xmm1
lea esi, [esi + 0x10]
dec ecx
jne 0x427f31
mov eax, dword [esp + 0x2c]
add edx, 8
mov ecx, dword [esp + 0x1c]
add eax, 0x40
add ecx, 8
mov dword [esp + 0x2c], eax
dec dword [esp + 0x30]
mov dword [esp + 0x1c], ecx
jne 0x427f1b
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 0x38]
lea eax, [esp + 0x40]
mov edx, eax
mov dword [esp + 0x30], 4
sub ecx, edx
mov edx, dword [esp + 0x20]
dec dword [esp + 0x30]
movdqa xmm1, xmmword [eax]
movdqu xmm0, xmmword [ecx + eax]
psrlq xmm1, 0x2f
pxor xmm1, xmmword [eax]
pxor xmm1, xmm0
pshufd xmm0, xmm1, 0x31
pmuludq xmm0, xmm3
pmuludq xmm1, xmm3
psllq xmm0, 0x20
paddq xmm0, xmm1
movdqa xmmword [eax], xmm0
lea eax, [eax + 0x10]
jne 0x427fa0
mov ecx, dword [esp + 0xc]
mov eax, esi
shl eax, 6
sub edx, esi
mov esi, dword [esp + 0x3c]
add edi, eax
mov dword [esp + 0x14], edi
mov dword [esp + 0x20], edx
mov dword [esp + 0x10], esi
mov dword [esp + 0x1c], ecx
cmp edx, esi
jae 0x427f05
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x18]
and dword [esi + 0x208], 0
test edx, edx
je 0x4280ac
test edx, edx
je 0x4280a6
lea eax, [esp + 0x40]
mov edx, ecx
sub edx, eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x14]
prefetcht0 byte [eax + 0x180]
lea esi, [esp + 0x40]
sub eax, ecx
push 4
mov dword [esp + 0x40], eax
mov edi, eax
pop ecx
lea eax, [edx + esi]
movdqu xmm2, xmmword [eax + edi]
movdqu xmm0, xmmword [eax]
pxor xmm0, xmm2
pshufd xmm1, xmm0, 0x31
pmuludq xmm1, xmm0
pshufd xmm0, xmm2, 0x4e
paddq xmm0, xmmword [esi]
paddq xmm1, xmm0
movdqa xmmword [esi], xmm1
lea esi, [esi + 0x10]
dec ecx
jne 0x42804b
mov eax, dword [esp + 0x14]
add edx, 8
mov ecx, dword [esp + 0x1c]
add eax, 0x40
add ecx, 8
mov dword [esp + 0x14], eax
dec dword [esp + 0x30]
mov dword [esp + 0x1c], ecx
jne 0x428035
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
add dword [esi + 0x208], edx
and dword [esi + 0x200], 0
mov eax, dword [esp + 0x28]
mov ecx, eax
sub ecx, edi
cmp ecx, 0x100
jle 0x4282e5
mov eax, dword [esi + 0x21c]
dec ecx
mov edx, dword [esp + 0xc]
mov dword [esp + 0x3c], eax
mov eax, dword [esi + 0x218]
mov dword [esp + 0x34], eax
mov eax, dword [esi + 0x208]
shr ecx, 6
mov dword [esp + 0x20], ecx
mov dword [esp + 0x18], edi
lea edx, [edx + eax*8]
mov dword [esp + 0x10], edx
mov edx, dword [esi + 0x218]
mov dword [esp + 0x14], edx
sub dword [esp + 0x14], eax
mov edx, dword [esp + 0x10]
cmp ecx, dword [esp + 0x14]
jb 0x428234
mov eax, dword [esp + 0xc]
add eax, dword [esp + 0x3c]
movdqa xmm3, xmmword [0x4376d0]
mov esi, dword [esp + 0x14]
mov dword [esp + 0x38], eax
test esi, esi
je 0x4281af
mov eax, edi
mov dword [esp + 0x30], edi
mov ecx, edx
mov dword [esp + 0x2c], esi
lea edi, [esp + 0x40]
sub ecx, edi
prefetcht0 byte [eax + 0x180]
lea edi, [esp + 0x40]
sub eax, edx
push 4
mov dword [esp + 0x40], eax
mov esi, eax
pop edx
lea eax, [ecx + edi]
movdqu xmm2, xmmword [eax + esi]
movdqu xmm0, xmmword [eax]
pxor xmm0, xmm2
pshufd xmm1, xmm0, 0x31
pmuludq xmm1, xmm0
pshufd xmm0, xmm2, 0x4e
paddq xmm0, xmmword [edi]
paddq xmm1, xmm0
movdqa xmmword [edi], xmm1
lea edi, [edi + 0x10]
dec edx
jne 0x428158
mov eax, dword [esp + 0x30]
add ecx, 8
mov edx, dword [esp + 0x10]
add eax, 0x40
add edx, 8
mov dword [esp + 0x30], eax
dec dword [esp + 0x2c]
mov dword [esp + 0x10], edx
jne 0x428142
mov edi, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
mov edx, dword [esp + 0x38]
lea eax, [esp + 0x40]
mov ecx, eax
mov dword [esp + 0x30], 4
sub edx, ecx
mov ecx, dword [esp + 0x20]
dec dword [esp + 0x30]
movdqa xmm1, xmmword [eax]
movdqu xmm0, xmmword [edx + eax]
psrlq xmm1, 0x2f
pxor xmm1, xmmword [eax]
pxor xmm1, xmm0
pshufd xmm0, xmm1, 0x31
pmuludq xmm0, xmm3
pmuludq xmm1, xmm3
psllq xmm0, 0x20
paddq xmm0, xmm1
movdqa xmmword [eax], xmm0
lea eax, [eax + 0x10]
jne 0x4281c7
mov edx, dword [esp + 0xc]
mov eax, esi
shl eax, 6
sub ecx, esi
mov esi, dword [esp + 0x34]
add edi, eax
mov dword [esp + 0x18], edi
mov dword [esp + 0x20], ecx
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], edx
cmp ecx, esi
jae 0x42812c
mov esi, dword [esp + 0x24]
and dword [esi + 0x208], 0
test ecx, ecx
je 0x4282cc
mov eax, edi
mov dword [esp + 0x30], edi
mov esi, edx
mov dword [esp + 0x2c], ecx
lea edi, [esp + 0x40]
sub esi, edi
prefetcht0 byte [eax + 0x180]
lea ecx, [esp + 0x40]
sub eax, edx
push 4
mov dword [esp + 0x40], eax
mov edi, eax
pop edx
lea eax, [esi + ecx]
movdqu xmm0, xmmword [eax + edi]
movdqu xmm2, xmmword [eax]
pshufd xmm1, xmm0, 0x4e
paddq xmm1, xmmword [ecx]
pxor xmm2, xmm0
pshufd xmm0, xmm2, 0x31
pmuludq xmm0, xmm2
paddq xmm1, xmm0
movdqa xmmword [ecx], xmm1
lea ecx, [ecx + 0x10]
dec edx
jne 0x428264
mov eax, dword [esp + 0x30]
add esi, 8
mov edx, dword [esp + 0x10]
add eax, 0x40
add edx, 8
mov dword [esp + 0x30], eax
dec dword [esp + 0x2c]
mov dword [esp + 0x10], edx
jne 0x42824e
mov ecx, dword [esp + 0x20]
mov eax, ecx
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x18]
shl eax, 6
add edi, eax
add dword [esi + 0x208], ecx
push 0x40
lea eax, [edi - 0x40]
push eax
lea eax, [esi + 0x1c0]
push eax
call sub.msvcrt.dll_memcpy
mov eax, dword [esp + 0x34]
add esp, 0xc
sub eax, edi
push eax
mov dword [esp + 0x2c], eax
lea eax, [esi + 0x100]
push edi
push eax
call sub.msvcrt.dll_memcpy
mov eax, dword [esp + 0x34]
mov dword [esi + 0x200], eax
lea eax, [esp + 0x4c]
push 0x40
push eax
push esi
call sub.msvcrt.dll_memcpy
add esp, 0x18
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret