Function at 0x42831b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xb4
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0x2c], esi
mov ebx, dword [esi + 0x230]
mov dword [esp + 0x20], ebx
test ebx, ebx
jne 0x428345
lea ebx, [esi + 0x40]
mov dword [esp + 0x20], ebx
mov ecx, dword [esi + 0x214]
mov eax, dword [esi + 0x210]
mov dword [esp + 0x38], eax
mov dword [esp + 0x34], ecx
test ecx, ecx
jne 0x4283a6
cmp eax, 0xf0
ja 0x4283a6
cmp dword [esi + 0x204], 0
lea ecx, [esi + 0x100]
je 0x42838b
push dword [esi + 0x224]
mov edx, eax
push dword [esi + 0x220]
call fcn.0042789f
jmp 0x428660
mov eax, dword [esi + 0x21c]
mov edx, dword [esi + 0x210]
add eax, 0x40
push eax
push ebx
call fcn.0042750b
jmp 0x428660
push 0x40
pop edi
push edi
lea eax, [esp + 0x44]
push esi
push eax
call sub.msvcrt.dll_memcpy
mov ecx, dword [esi + 0x200]
add esp, 0xc
cmp ecx, edi
jb 0x4285ab
mov edx, dword [esi + 0x21c]
dec ecx
mov eax, dword [esi + 0x208]
shr ecx, 6
mov dword [esp + 0x10], edx
lea edx, [esi + 0x100]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esi + 0x218]
mov dword [esp + 0x14], ecx
sub dword [esp + 0x14], eax
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x18], edx
mov edx, dword [esi + 0x218]
mov dword [esp + 0x24], edx
lea edx, [ebx + eax*8]
cmp ecx, dword [esp + 0x14]
jb 0x428526
mov eax, dword [esp + 0x10]
movdqa xmm3, xmmword [0x4376d0]
add eax, ebx
mov esi, dword [esp + 0x14]
mov dword [esp + 0x3c], eax
test esi, esi
je 0x4284b0
mov ebx, dword [esp + 0x18]
lea ecx, [esp + 0x40]
mov eax, edx
mov dword [esp + 0x30], ebx
sub eax, ecx
mov dword [esp + 0x10], esi
mov dword [esp + 0x28], eax
prefetcht0 byte [ebx + 0x180]
lea ecx, [esp + 0x40]
mov edi, dword [esp + 0x28]
mov esi, ebx
push 4
sub esi, edx
pop ebx
lea eax, [edi + 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 ebx
jne 0x42845d
mov ebx, dword [esp + 0x30]
add edx, 8
add dword [esp + 0x28], 8
push 0x40
pop edi
add ebx, edi
dec dword [esp + 0x10]
mov dword [esp + 0x30], ebx
jne 0x428447
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0x14]
mov edx, dword [esp + 0x3c]
lea eax, [esp + 0x40]
mov ebx, eax
mov dword [esp + 0x10], 4
sub edx, ebx
mov ebx, dword [esp + 0x20]
dec dword [esp + 0x10]
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 0x4284c8
mov eax, esi
sub ecx, esi
mov esi, dword [esp + 0x24]
mov edx, ebx
shl eax, 6
add dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x14], esi
cmp ecx, esi
jae 0x428427
mov esi, dword [esp + 0x2c]
test ecx, ecx
je 0x42859d
lea eax, [esp + 0x40]
mov esi, edx
sub esi, eax
mov eax, dword [esp + 0x18]
prefetcht0 byte [eax + 0x180]
lea edi, [esp + 0x40]
sub eax, edx
push 4
mov dword [esp + 0x28], eax
mov ebx, eax
pop ecx
lea eax, [esi + edi]
movdqu xmm0, xmmword [ebx + 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]
dec ecx
jne 0x42854c
mov eax, dword [esp + 0x18]
add edx, 8
push 0x40
pop edi
add eax, edi
add esi, 8
dec dword [esp + 0x1c]
mov dword [esp + 0x18], eax
jne 0x428536
mov esi, dword [esp + 0x2c]
mov ebx, dword [esp + 0x20]
lea edx, [esi + 0xc0]
add edx, dword [esi + 0x200]
jmp 0x4285ef
sub edi, ecx
mov eax, esi
sub eax, edi
add eax, 0x200
push edi
push eax
lea eax, [esp + 0x88]
push eax
call sub.msvcrt.dll_memcpy
mov eax, dword [esi + 0x200]
add esp, 0xc
push eax
lea eax, [esi + 0x100]
push eax
lea eax, [esp + 0x88]
add eax, edi
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
lea edx, [esp + 0x80]
mov eax, dword [esi + 0x21c]
lea ecx, [esp + 0x40]
lea esi, [ebx - 7]
add esi, eax
mov eax, ecx
push 4
sub edx, esi
sub esi, eax
pop ebx
lea eax, [esi + ecx]
movdqu xmm0, xmmword [eax + edx]
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 ebx
jne 0x428607
push 0x9e3779b1
push 0x85ebca87
push dword [esp + 0x3c]
push dword [esp + 0x44]
call fcn.00401ac0
push edx
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x44]
push eax
lea edx, [edx + 0xb]
call fcn.00426c32
pop ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret