Function at 0x426afb
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x68
push esi
push edi
mov eax, 0xc2b2ae3d
mov dword [esp + 0x38], 0x85ebca87
mov dword [esp + 0x30], eax
xor ecx, ecx
mov dword [esp + 0x44], eax
mov edx, 0x9e3779b1
mov eax, 0x85ebca77
mov dword [esp + 0x34], ecx
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov eax, dword [ebp + 0x1c]
add eax, 0xffffffc0
mov dword [esp + 0x5c], ecx
shr eax, 3
mov dword [esp + 0x6c], ecx
mov ecx, eax
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0xc]
shl ecx, 6
dec eax
mov dword [esp + 0x3c], edx
mov dword [esp + 0x68], edx
xor edx, edx
div ecx
mov esi, eax
mov dword [esp + 0x40], 0x27d4eb4f
mov dword [esp + 0x48], 0x9e3779f9
mov dword [esp + 0x4c], 0x165667b1
mov dword [esp + 0x50], 0xc2b2ae63
mov dword [esp + 0x60], 0x165667c5
mov dword [esp + 0x64], 0x27d4eb2f
mov dword [esp + 0x24], ecx
mov dword [esp + 0x2c], esi
mov edi, dword [ebp + 0x18]
test esi, esi
je 0x426cb2
mov eax, dword [ebp + 0x1c]
movdqa xmm3, xmmword [0x437510]
add eax, 0xffffffc0
mov edx, dword [esp + 0x1c]
add eax, edi
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0xc], eax
mov dword [esp + 0x20], esi
test edx, edx
je 0x426c50
lea esi, [esp + 0x30]
mov dword [esp + 0x18], edx
mov ecx, edi
mov eax, edi
sub ecx, esi
mov dword [esp + 0x14], eax
mov esi, dword [esp + 0xc]
mov dword [esp + 0x10], esi
prefetcht0 byte [esi + 0x180]
lea edx, [esp + 0x30]
mov edi, esi
push 4
sub edi, eax
pop esi
lea eax, [ecx + edx]
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 [edx]
paddq xmm1, xmm0
movdqa xmmword [edx], xmm1
lea edx, [edx + 0x10]
dec esi
jne 0x426bf9
mov esi, dword [esp + 0x10]
add ecx, 8
mov eax, dword [esp + 0x14]
add esi, 0x40
add eax, 8
mov dword [esp + 0x10], esi
dec dword [esp + 0x18]
mov dword [esp + 0x14], eax
jne 0x426be7
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
mov esi, dword [esp + 0x28]
lea eax, [esp + 0x30]
mov edi, eax
mov dword [esp + 0x18], 4
sub esi, edi
mov edi, dword [ebp + 0x18]
dec dword [esp + 0x18]
movdqa xmm1, xmmword [eax]
movdqu xmm0, xmmword [esi + 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 0x426c67
add dword [esp + 0xc], ecx
dec dword [esp + 0x20]
jne 0x426bc5
mov esi, dword [esp + 0x2c]
mov eax, dword [ebp + 0xc]
imul esi, ecx
mov ecx, eax
sub ecx, esi
dec ecx
shr ecx, 6
mov dword [esp + 0x14], ecx
test ecx, ecx
je 0x426d52
mov eax, edi
mov edx, edi
lea edi, [esp + 0x30]
mov dword [esp + 0x18], eax
sub edx, edi
add esi, dword [ebp + 8]
mov dword [esp + 0x1c], esi
prefetcht0 byte [esi + 0x180]
lea edi, [esp + 0x30]
sub esi, eax
mov dword [esp + 0x20], 4
mov dword [esp + 0x2c], esi
dec dword [esp + 0x20]
lea eax, [edx + edi]
movdqu xmm0, xmmword [esi + eax]
movdqu xmm2, xmmword [eax]
pshufd xmm1, xmm0, 0x4e
paddq xmm1, xmmword [edi]
pxor xmm2, xmm0
pshufd xmm0, xmm2, 0x31
pmuludq xmm0, xmm2
paddq xmm1, xmm0
movdqa xmmword [edi], xmm1
lea edi, [edi + 0x10]
jne 0x426cfa
mov esi, dword [esp + 0x1c]
add edx, 8
mov eax, dword [esp + 0x18]
add esi, 0x40
add eax, 8
mov dword [esp + 0x1c], esi
dec dword [esp + 0x14]
mov dword [esp + 0x18], eax
jne 0x426ce1
mov edi, dword [ebp + 0x18]
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
lea ecx, [esp + 0x30]
mov edx, dword [ebp + 0x1c]
add esi, 0xffffffc0
add edx, 0xffffffb9
add esi, eax
add edx, edi
mov eax, ecx
push 4
sub esi, edx
sub edx, eax
pop edi
lea eax, [edx + ecx]
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 [ecx]
paddq xmm1, xmm0
movdqa xmmword [ecx], xmm1
lea ecx, [ecx + 0x10]
dec edi
jne 0x426d6f
push 0x9e3779b1
push 0x85ebca87
push edi
push dword [ebp + 0xc]
call fcn.0042a988
push edx
mov edx, dword [ebp + 0x18]
lea ecx, [esp + 0x34]
push eax
lea edx, [edx + 0xb]
call fcn.00424666
pop ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret