Function at 0x52e480
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x80
mov dword [esp + 8], edx
mov edx, dword [ecx + 0xc]
mov dword [esp + 0x38], edx
inc edx
je 0x52f1f3
mov ebx, dword [ecx + 4]
mov edi, ecx
mov dword [esp + 0x2c], edi
lea eax, [ebx + 1]
mov dword [esp + 0x30], ebx
mov ecx, eax
mov esi, eax
shr ecx, 3
and esi, 0xfffffff8
sub esi, ecx
cmp ebx, 8
mov ecx, esi
mov dword [esp + 0x48], esi
cmovb ecx, ebx
mov esi, ecx
shr esi, 1
cmp edx, esi
jbe 0x52e4f4
inc ecx
cmp edx, ecx
cmova ecx, edx
cmp ecx, 8
jae 0x52e567
xor eax, eax
cmp ecx, 4
setae al
lea ebx, [eax*4 + 4]
jmp 0x52e5ac
mov edi, dword [edi]
test eax, eax
je 0x52e621
pxor xmm0, xmm0
mov esi, ebx
cmp eax, 0x11
pcmpgtb xmm0, xmmword [edi]
por xmm0, xmmword [0x560610]
movdqa xmmword [edi], xmm0
jb 0x52e54b
movdqa xmm0, xmmword [0x560610]
mov ecx, 0x10
nop word cs:[eax + eax]
pxor xmm1, xmm1
pcmpgtb xmm1, xmmword [edi + ecx]
por xmm1, xmm0
movdqa xmmword [edi + ecx], xmm1
add ecx, 0x10
jb 0x52e54b
cmp ecx, eax
jb 0x52e530
cmp eax, 0x10
jae 0x52e7e5
lea ecx, [edi + 0x10]
push eax
push edi
push ecx
call sub.msvcrt.dll_memmove
add esp, 0xc
jmp 0x52e7f9
cmp ecx, 0x20000000
jae 0x52f1f3
shl ecx, 3
mov ebx, 1
cmp ecx, 0xe
jb 0x52e5ac
mov edx, 0x24924925
mov eax, ecx
mov ebx, 0xffffffff
mul edx
sub ecx, edx
shr ecx, 1
add ecx, edx
shr ecx, 2
dec ecx
bsr ecx, ecx
not ecx
shr ebx, cl
inc ebx
cmp ebx, 0xfffffff
ja 0x52f1f3
mov ecx, ebx
lea edx, [ebx + 0x10]
shl ecx, 4
mov esi, ecx
add esi, edx
jb 0x52f1f3
cmp esi, 0x7ffffff1
jae 0x52f1f3
test esi, esi
je 0x52e636
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ecx
movzx eax, byte [0x5da16c]
mov eax, dword [0x5da100]
test eax, eax
jne 0x52e5f8
call sub.kernel32.dll_GetProcessHeap
test eax, eax
je 0x52f1fa
mov dword [0x5da100], eax
lea ecx, [esi + 0x10]
push ecx
push 0
push eax
call sub.kernel32.dll_HeapAlloc
test eax, eax
je 0x52f1fa
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov edi, eax
and edi, 0xfffffff0
mov dword [edi + 0xc], eax
add edi, 0x10
jmp 0x52e63b
push eax
push edi
add edi, 0x10
push edi
call sub.msvcrt.dll_memmove
add esp, 0xc
xor ecx, ecx
jmp 0x52f1db
mov edi, 0x10
mov eax, ebx
lea esi, [ebx - 1]
and ebx, 0xfffffff8
shr eax, 3
sub ebx, eax
cmp esi, 8
cmovb ebx, esi
add edi, ecx
push edx
push 0xff
push edi
call sub.msvcrt.dll_memset
add esp, 0xc
mov edx, dword [esp + 0x30]
sub ebx, dword [esp + 0x38]
cmp edx, 0xffffffff
je 0x52e7a4
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x24], ebx
mov ebx, dword [eax]
mov eax, dword [esp + 8]
mov ecx, dword [eax]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x10], ecx
mov ecx, dword [eax + 4]
mov dword [esp + 0xc], ecx
mov ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
mov dword [esp + 0x1c], eax
lea eax, [ebx - 0x10]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x18], eax
xor eax, eax
jmp 0x52e6f6
lea ecx, [edx - 0x10]
shr eax, 0x19
and ecx, esi
mov byte [edi + edx], al
shl edx, 4
mov byte [ecx + edi + 0x10], al
mov eax, ebx
sub eax, dword [esp + 0x14]
movq xmm0, qword [eax - 0x10]
movsd xmm1, qword [eax - 8]
mov eax, edi
sub eax, edx
neg edx
movq qword [edi + edx - 0x10], xmm0
movsd qword [eax - 8], xmm1
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 8]
cmp eax, edx
lea eax, [eax + 1]
je 0x52e78b
cmp byte [ebx + eax], 0
js 0x52e6eb
mov ecx, eax
mov dword [esp + 8], eax
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0xc]
shl ecx, 4
mov dword [esp + 0x14], ecx
sub eax, ecx
mov ecx, dword [esp + 0x10]
push dword [eax + 8]
push dword [eax]
push dword [esp + 0x28]
push dword [esp + 0x28]
call sym.core::hash::BuildHasher::hash_one::h937699b85088a4b7
add esp, 0x10
mov ecx, esi
and ecx, eax
movdqu xmm0, xmmword [edi + ecx]
pmovmskb edx, xmm0
test edx, edx
jne 0x52e768
mov ebx, 0x10
nop word cs:[eax + eax]
nop dword [eax]
add ecx, ebx
add ebx, 0x10
and ecx, esi
movdqu xmm0, xmmword [edi + ecx]
pmovmskb edx, xmm0
test edx, edx
je 0x52e750
mov ebx, dword [esp + 0x28]
tzcnt edx, edx
add edx, ecx
and edx, esi
cmp byte [edi + edx], 0
js 0x52e6b0
movdqa xmm0, xmmword [edi]
pmovmskb ecx, xmm0
tzcnt edx, ecx
jmp 0x52e6b0
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x24]
test edx, edx
mov dword [eax], edi
mov dword [eax + 4], esi
mov dword [eax + 8], ecx
jne 0x52e7b9
jmp 0x52f1e6
mov eax, dword [esp + 0x2c]
mov edx, 0xffffffff
mov ecx, dword [eax]
mov dword [eax], edi
mov dword [eax + 4], esi
mov dword [eax + 8], ebx
mov ebx, ecx
mov eax, edx
shl eax, 4
lea ecx, [edx + eax + 0x10]
cmp ecx, 0xffffffef
je 0x52f1e6
add eax, 0x10
sub ebx, eax
push dword [ebx - 4]
push 0
push dword [0x5da100]
call sub.kernel32.dll_HeapFree
jmp 0x52f1e6
movq xmm0, qword [edi]
movq xmm1, qword [edi + 8]
movq qword [edi + eax + 8], xmm1
movq qword [edi + eax], xmm0
mov eax, dword [esp + 8]
movdqa xmm3, xmmword [0x560620]
xor edx, edx
mov dword [esp + 0x24], edi
movdqu xmm1, xmmword [eax]
pshufd xmm0, xmm1, 0x55
movd ecx, xmm1
pxor xmm3, xmm1
pshufd xmm2, xmm1, 0xee
pshufd xmm1, xmm1, 0xff
movd eax, xmm0
xor ecx, 0x70736575
movdqa xmmword [esp + 0x60], xmm3
movd dword [esp + 0x58], xmm3
xor eax, 0x736f6d65
mov dword [esp + 0x40], ecx
movd ecx, xmm1
mov dword [esp + 0x44], eax
movd eax, xmm2
xor ecx, 0x74656462
xor eax, 0x79746573
movd xmm1, ecx
mov dword [esp + 0x4c], ecx
movd xmm2, eax
mov dword [esp + 0x50], eax
punpcklqdq xmm1, xmm2
pshufd xmm2, xmm3, 0x55
shufps xmm1, xmm3, 0xe2
movd dword [esp + 0x54], xmm2
jmp 0x52e8b4
mov edx, dword [esp + 0x34]
mov edi, dword [esp + 0x24]
shr eax, 0x19
mov esi, ebx
lea ecx, [edx - 0x10]
mov byte [edi + edx], al
and ecx, ebx
mov byte [ecx + edi + 0x10], al
cmp edx, esi
lea edx, [edx + 1]
je 0x52f1d1
cmp byte [edi + edx], 0x80
jne 0x52e8a9
mov eax, edx
mov dword [esp + 0x34], edx
not eax
shl eax, 4
add eax, edi
mov dword [esp + 0x3c], eax
mov eax, edx
shl eax, 4
neg eax
lea eax, [edi + eax - 0x10]
mov dword [esp + 0x5c], eax
nop word [eax + eax]
mov eax, dword [esp + 0x5c]
xor ebx, ebx
mov edx, dword [esp + 0x40]
mov edi, dword [esp + 0x44]
movaps xmm2, xmm1
mov ecx, dword [eax]
mov eax, dword [eax + 8]
mov esi, eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x10], ecx
and esi, 7
and eax, 0xfffffff8
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x28], esi
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x1c], eax
mov eax, 0
je 0x52ea69
mov eax, dword [esp + 0xc]
mov ebx, dword [esp + 0x4c]
mov edx, dword [esp + 0x40]
movaps xmm3, xmmword [esp + 0x60]
mov edi, dword [esp + 0x44]
xor esi, esi
dec eax
and eax, 0xfffffff8
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x50]
nop dword [eax]
mov dword [esp + 8], esi
mov ecx, dword [esp + 0x10]
movd xmm6, edx
movd xmm7, edi
mov esi, dword [esp + 8]
punpckldq xmm6, xmm7
mov esi, dword [ecx + esi]
xor eax, esi
mov dword [esp + 0x14], esi
mov esi, dword [esp + 8]
movd xmm5, eax
movd xmm2, eax
mov eax, dword [ecx + esi + 4]
add esi, 8
xor ebx, eax
movd xmm4, ebx
punpckldq xmm2, xmm4
punpcklqdq xmm4, xmm5
shufps xmm4, xmm3, 0xe2
punpcklqdq xmm2, xmm6
movaps xmm6, xmm3
movaps xmm5, xmm4
paddq xmm2, xmm3
psrlq xmm6, 0x33
psllq xmm4, 0x10
psllq xmm3, 0xd
psrlq xmm5, 0x30
movsd xmm3, xmm4
pshufd xmm4, xmm2, 0x4b
movsd xmm6, xmm5
orpd xmm3, xmm6
xorpd xmm3, xmm2
movapd xmm2, xmm3
movapd xmm5, xmm3
paddq xmm4, xmm3
psrlq xmm2, 0x2b
psrlq xmm5, 0x2f
movd edx, xmm4
movsd xmm5, xmm2
movdqa xmm2, xmm3
psllq xmm3, 0x11
xor edx, dword [esp + 0x14]
psllq xmm2, 0x15
movsd xmm3, xmm2
orpd xmm3, xmm5
movapd xmm2, xmm3
pshufd xmm3, xmm4, 0xff
movd ecx, xmm3
pshufd xmm3, xmm4, 0x55
xorpd xmm2, xmm4
movd edi, xmm3
movd xmm5, ecx
movapd xmm3, xmm4
xor edi, eax
cmp esi, dword [esp + 0xc]
shufpd xmm3, xmm5, 1
pshufd xmm5, xmm2, 0x55
movd eax, xmm2
shufps xmm3, xmm2, 0xe2
movd ebx, xmm5
jb 0x52e950
mov eax, dword [esp + 0x18]
mov dword [esp + 0x14], ecx
mov esi, dword [esp + 0x28]
mov ecx, dword [esp + 0x10]
pshufd xmm3, xmm4, 0xee
xor ebx, ebx
movd dword [esp + 0x1c], xmm3
add eax, 8
cmp esi, 3
mov dword [esp + 8], edi
mov dword [esp + 0x18], eax
jbe 0x52eab0
mov eax, dword [ecx + eax]
xor edi, edi
mov ebx, 4
mov dword [esp + 0xc], eax
mov eax, ebx
or eax, 1
cmp eax, esi
jb 0x52eac3
mov eax, dword [esp + 0xc]
mov ecx, edi
cmp ebx, esi
jb 0x52eb00
inc dword [esp + 0x20]
test esi, esi
je 0x52ec5a
mov edi, ecx
mov dword [esp + 0xc], eax
jmp 0x52eb3c
xor edi, edi
mov dword [esp + 0xc], 0
mov eax, ebx
or eax, 1
cmp eax, esi
jae 0x52ea8d
mov eax, dword [esp + 0x18]
xor esi, esi
add eax, ebx
movzx eax, word [ecx + eax]
lea ecx, [ebx*8]
shld esi, eax, cl
shl eax, cl
test cl, 0x20
mov ecx, 0
cmovne esi, eax
cmovne eax, ecx
mov ecx, edi
mov edi, dword [esp + 0xc]
or ebx, 2
or ecx, esi
mov esi, dword [esp + 0x28]
or edi, eax
mov eax, edi
cmp ebx, esi
jae 0x52ea97
mov edi, ecx
mov ecx, dword [esp + 0x18]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x10]
xor esi, esi
add ecx, ebx
shl ebx, 3
movzx eax, byte [eax + ecx]
mov ecx, ebx
shld esi, eax, cl
shl eax, cl
test bl, 0x20
mov ecx, 0
cmovne esi, eax
cmovne eax, ecx
inc dword [esp + 0x20]
or edi, esi
mov esi, dword [esp + 0x28]
or dword [esp + 0xc], eax
lea ecx, [esi*8]
xor ebx, ebx
mov eax, 0xff
shld ebx, eax, cl
shl eax, cl
test cl, 0x20
mov ecx, ebx
mov ebx, 0
cmovne ecx, eax
cmovne eax, ebx
or eax, dword [esp + 0xc]
or ecx, edi
cmp esi, 7
jne 0x52ee58
mov edi, ecx
mov ecx, esi
mov esi, eax
mov eax, 8
movss xmm5, dword [esp + 0x14]
movss xmm6, dword [esp + 0x1c]
pshufd xmm4, xmm2, 0x55
movd xmm0, dword [esp + 8]
sub eax, ecx
movd ecx, xmm2
xor ecx, esi
movd xmm7, ecx
movd xmm3, ecx
movd ecx, xmm4
xor ecx, edi
movlhps xmm6, xmm5
movd xmm5, edx
movd xmm4, ecx
punpckldq xmm5, xmm0
shufps xmm6, xmm2, 0xe2
punpckldq xmm3, xmm4
punpcklqdq xmm4, xmm7
shufps xmm4, xmm2, 0xe2
punpcklqdq xmm3, xmm5
movdqa xmm5, xmm2
psllq xmm2, 0xd
movaps xmm0, xmm4
psllq xmm4, 0x10
psrlq xmm5, 0x33
paddq xmm3, xmm6
psrlq xmm0, 0x30
movsd xmm2, xmm4
movsd xmm5, xmm0
orpd xmm2, xmm5
xorpd xmm2, xmm3
pshufd xmm3, xmm3, 0x4b
movapd xmm0, xmm2
movapd xmm4, xmm2
paddq xmm3, xmm2
psrlq xmm0, 0x2b
psrlq xmm4, 0x2f
pshufd xmm5, xmm3, 0x55
movd edx, xmm3
movsd xmm4, xmm0
movdqa xmm0, xmm2
psllq xmm2, 0x11
movd ecx, xmm5
xor edx, esi
psllq xmm0, 0x15
xor ecx, edi
movsd xmm2, xmm0
pshufd xmm0, xmm3, 0xee
mov dword [esp + 8], ecx
orpd xmm2, xmm4
movd ebx, xmm0
pshufd xmm0, xmm3, 0xff
xorpd xmm2, xmm3
movd esi, xmm0
jmp 0x52ec64
mov esi, dword [esp + 0x14]
mov ebx, dword [esp + 0x1c]
xor eax, eax
mov ecx, 1
sub ecx, eax
mov edi, ecx
and ecx, 0xfffffff8
and edi, 7
cmp eax, ecx
mov dword [esp + 0xc], edi
jae 0x52edb0
mov edi, dword [esp + 8]
nop word cs:[eax + eax]
nop dword [eax]
movd xmm0, esi
movd esi, xmm2
movd xmm6, ebx
movd xmm3, edi
pshufd xmm4, xmm2, 0x55
add eax, 8
punpcklqdq xmm6, xmm0
movd xmm0, edx
xor esi, 0xff
punpckldq xmm0, xmm3
movd xmm3, esi
movd xmm5, esi
shufps xmm6, xmm2, 0xe2
punpckldq xmm3, xmm4
movdqa xmm4, xmm2
punpcklqdq xmm3, xmm0
movaps xmm0, xmm2
psrlq xmm4, 0x30
movss xmm0, xmm5
movdqa xmm5, xmm2
psllq xmm2, 0xd
paddq xmm3, xmm6
psrlq xmm5, 0x33
psllq xmm0, 0x10
movsd xmm5, xmm4
movsd xmm2, xmm0
orpd xmm2, xmm5
xorpd xmm2, xmm3
pshufd xmm3, xmm3, 0x4b
movapd xmm0, xmm2
movapd xmm4, xmm2
movapd xmm5, xmm2
paddq xmm3, xmm2
psllq xmm2, 0x11
psllq xmm5, 0x15
psrlq xmm0, 0x2b
psrlq xmm4, 0x2f
movd edx, xmm3
movsd xmm2, xmm5
movsd xmm4, xmm0
pshufd xmm5, xmm3, 0xff
xor edx, 0xff
cmp eax, ecx
orpd xmm2, xmm4
pshufd xmm4, xmm3, 0xee
movd esi, xmm5
movd ebx, xmm4
pshufd xmm4, xmm3, 0x55
xorpd xmm2, xmm3
movd edi, xmm4
jb 0x52ec90
xor eax, eax
cmp dword [esp + 0xc], 4
mov dword [esp + 0x10], 0
mov ecx, 0xff
mov dword [esp + 0x18], 0
setae al
mov dword [esp + 8], eax
mov eax, dword [esp + 0x10]
cmovae eax, ecx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 8]
shl eax, 2
jmp 0x52edc6
mov edi, dword [esp + 8]
mov dword [esp + 0x10], 0
mov dword [esp + 0x18], 0
xor eax, eax
mov ecx, eax
mov dword [esp + 0x14], esi
mov dword [esp + 0x1c], ebx
or ecx, 1
cmp ecx, dword [esp + 0xc]
jae 0x52ee20
lea ecx, [eax*8]
xor esi, esi
mov ebx, 0xff
shld esi, ebx, cl
shl ebx, cl
test cl, 0x20
mov ecx, 0
cmovne esi, ebx
cmovne ebx, ecx
mov ecx, dword [esp + 0x18]
or eax, 2
or dword [esp + 0x10], ebx
or ecx, esi
cmp eax, dword [esp + 0xc]
mov dword [esp + 8], edi
jb 0x52ee2e
mov eax, dword [esp + 0x10]
jmp 0x52ee58
mov ecx, dword [esp + 0x18]
cmp eax, dword [esp + 0xc]
mov dword [esp + 8], edi
jae 0x52ee11
shl eax, 3
mov edi, ecx
xor esi, esi
mov ebx, 0xff
mov ecx, eax
shld esi, ebx, cl
shl ebx, cl
test al, 0x20
mov eax, 0
mov ecx, edi
cmovne esi, ebx
cmovne ebx, eax
mov eax, dword [esp + 0x10]
or ecx, esi
or eax, ebx
mov esi, dword [esp + 0x20]
pshufd xmm0, xmm2, 0x55
mov ebx, dword [esp + 8]
mov dword [esp + 0x10], eax
shl esi, 0x18
or esi, ecx
movd ecx, xmm0
pshufd xmm0, xmm2, 0xff
xor ecx, esi
mov dword [esp + 0x20], esi
movd esi, xmm2
pshufd xmm2, xmm2, 0xee
movd edi, xmm2
xor esi, eax
mov dword [esp + 0xc], ecx
movd ecx, xmm0
add edx, edi
mov eax, edi
adc ebx, ecx
shld eax, ecx, 0xd
shld ecx, edi, 0xd
mov edi, dword [esp + 0xc]
xor eax, edx
xor ecx, ebx
add dword [esp + 0x14], esi
mov dword [esp + 8], ebx
mov ebx, esi
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x1c]
adc eax, edi
shrd esi, edi, 0x10
shld ebx, edi, 0x10
mov edi, dword [esp + 0x14]
xor esi, eax
xor ebx, edi
add dword [esp + 8], ebx
mov dword [esp + 0xc], ebx
adc edx, esi
shld dword [esp + 0xc], esi, 0x15
shrd ebx, esi, 0xb
mov esi, dword [esp + 0x18]
movd xmm7, dword [esp + 0xc]
movd xmm6, ebx
mov ebx, dword [esp + 0x30]
add edi, esi
mov dword [esp + 0x14], edi
adc eax, ecx
mov edi, esi
shld esi, ecx, 0x11
punpckldq xmm7, xmm6
movd xmm3, dword [esp + 0x14]
movd xmm5, esi
mov esi, dword [esp + 8]
shrd edi, ecx, 0xf
movd xmm2, eax
xor eax, 0xff
mov ecx, dword [esp + 0x10]
movd xmm0, edi
movd xmm4, eax
mov eax, dword [esp + 0x20]
mov edi, dword [esp + 0x24]
punpckldq xmm5, xmm0
punpcklqdq xmm7, xmm5
movd xmm5, edx
movdqa xmm0, xmm3
xor ecx, esi
punpcklqdq xmm3, xmm4
punpckldq xmm0, xmm2
movd xmm2, esi
xor eax, edx
punpckldq xmm2, xmm5
movd xmm5, ecx
punpcklqdq xmm2, xmm0
movd xmm0, eax
pxor xmm2, xmm7
punpcklqdq xmm0, xmm5
movdqa xmm5, xmm2
movdqa xmm4, xmm2
shufps xmm3, xmm2, 0xe2
shufps xmm5, xmm0, 0x24
movdqa xmm0, xmm2
psrlq xmm4, 0x33
psrlq xmm0, 0x30
paddq xmm3, xmm5
movsd xmm4, xmm0
movdqa xmm0, xmm2
psllq xmm2, 0xd
psllq xmm0, 0x10
movsd xmm2, xmm0
orpd xmm2, xmm4
xorpd xmm2, xmm3
pshufd xmm3, xmm3, 0x4b
movapd xmm0, xmm2
movapd xmm4, xmm2
paddq xmm3, xmm2
psrlq xmm0, 0x2b
psrlq xmm4, 0x2f
movsd xmm4, xmm0
movdqa xmm0, xmm2
psllq xmm2, 0x11
psllq xmm0, 0x15
movsd xmm2, xmm0
orpd xmm2, xmm4
xorpd xmm2, xmm3
pshufd xmm3, xmm3, 0x4b
movapd xmm0, xmm2
movapd xmm4, xmm2
paddq xmm3, xmm2
psrlq xmm0, 0x30
psrlq xmm4, 0x33
movsd xmm4, xmm0
movdqa xmm0, xmm2
psllq xmm2, 0xd
psllq xmm0, 0x10
movsd xmm2, xmm0
orpd xmm2, xmm4
xorpd xmm2, xmm3
pshufd xmm3, xmm3, 0x4b
movapd xmm0, xmm2
movapd xmm4, xmm2
paddq xmm3, xmm2
psrlq xmm0, 0x2b
psrlq xmm4, 0x2f
movsd xmm4, xmm0
movdqa xmm0, xmm2
psllq xmm2, 0x11
psllq xmm0, 0x15
movsd xmm2, xmm0
orpd xmm2, xmm4
xorpd xmm2, xmm3
pshufd xmm3, xmm3, 0x4b
movapd xmm0, xmm2
movapd xmm4, xmm2
paddq xmm3, xmm2
psrlq xmm0, 0x30
psrlq xmm4, 0x33
movsd xmm4, xmm0
movdqa xmm0, xmm2
psllq xmm2, 0xd
psllq xmm0, 0x10
movsd xmm2, xmm0
orpd xmm2, xmm4
xorpd xmm2, xmm3
movapd xmm0, xmm2
movapd xmm4, xmm2
movapd xmm5, xmm2
psrlq xmm0, 0x2b
psrlq xmm4, 0x2f
psllq xmm5, 0x11
movsd xmm4, xmm0
movapd xmm0, xmm2
psllq xmm0, 0x15
movsd xmm5, xmm0
orpd xmm5, xmm4
movapd xmm0, xmm5
shufpd xmm0, xmm3, 1
xorpd xmm5, xmm0
paddq xmm0, xmm2
pshufd xmm2, xmm0, 0xee
pshufd xmm0, xmm0, 0xff
movd eax, xmm5
movd edx, xmm0
movd ecx, xmm2
xor eax, edx
xor eax, ecx
mov ecx, ebx
and ecx, eax
movdqu xmm0, xmmword [edi + ecx]
mov esi, ecx
pmovmskb edx, xmm0
test edx, edx
jne 0x52f12c
mov dword [esp + 8], eax
mov eax, ebx
mov ebx, edi
mov edi, 0x10
mov esi, ecx
nop
add esi, edi
add edi, 0x10
and esi, eax
movdqu xmm0, xmmword [ebx + esi]
pmovmskb edx, xmm0
test edx, edx
je 0x52f110
mov edi, ebx
mov ebx, eax
mov eax, dword [esp + 8]
tzcnt edx, edx
add edx, esi
and edx, ebx
cmp byte [edi + edx], 0
js 0x52f146
movdqa xmm0, xmmword [edi]
pmovmskb edx, xmm0
tzcnt edx, edx
mov esi, dword [esp + 0x34]
mov edi, edx
sub edi, ecx
sub esi, ecx
xor edi, esi
and edi, ebx
cmp edi, 0x10
jb 0x52e890
mov edi, dword [esp + 0x24]
shr eax, 0x19
lea esi, [edx - 0x10]
and esi, ebx
movzx ecx, byte [edi + edx]
mov byte [edi + edx], al
not edx
mov byte [esi + edi + 0x10], al
shl edx, 4
add edx, edi
cmp cl, 0xff
je 0x52f1a0
mov eax, dword [esp + 0x3c]
movdqu xmm2, xmmword [edx]
movdqu xmm0, xmmword [eax]
movdqu xmmword [eax], xmm2
movdqu xmmword [edx], xmm0
jmp 0x52e8e0
mov ecx, dword [esp + 0x34]
mov esi, ebx
lea eax, [ecx - 0x10]
mov byte [edi + ecx], 0xff
and eax, ebx
mov ebx, dword [esp + 0x3c]
mov byte [eax + edi + 0x10], 0xff
movq xmm0, qword [ebx]
movq xmm2, qword [ebx + 8]
movq qword [edx + 8], xmm2
movq qword [edx], xmm0
mov edx, ecx
jmp 0x52e8a9
mov ecx, dword [esp + 0x48]
cmp esi, 8
cmovb ecx, esi
sub ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x2c]
mov dword [eax + 8], ecx
mov eax, 0x80000001
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
call dbg.capacity_overflow
ud2
mov ecx, esi
call dbg.alloc_err
ud2