Function at 0x42d5b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x78
mov dword [ebp - 0x10], edx
mov edx, dword [ecx + 0xc]
mov dword [ebp - 0x14], edx
inc edx
je 0x42e0b1
mov ebx, dword [ecx + 4]
mov edi, ecx
mov dword [ebp - 0x34], edi
lea eax, [ebx + 1]
mov esi, eax
mov ecx, eax
shr esi, 3
and ecx, 0xfffffff8
sub ecx, esi
cmp ebx, 8
cmovb ecx, ebx
mov esi, ecx
shr esi, 1
cmp edx, esi
jbe 0x42d60d
inc ecx
cmp edx, ecx
cmova ecx, edx
cmp ecx, 8
jae 0x42d677
xor eax, eax
cmp ecx, 4
setae al
lea eax, [eax*4 + 4]
jmp 0x42d6b0
mov edi, dword [edi]
test eax, eax
je 0x42d734
pxor xmm0, xmm0
cmp eax, 0x11
pcmpgtb xmm0, xmmword [edi]
por xmm0, xmmword [0x55f560]
movdqa xmmword [edi], xmm0
jb 0x42d65b
movdqa xmm0, xmmword [0x55f560]
mov ecx, 0x10
nop dword [eax]
pxor xmm1, xmm1
pcmpgtb xmm1, xmmword [edi + ecx]
por xmm1, xmm0
movdqa xmmword [edi + ecx], xmm1
add ecx, 0x10
jb 0x42d65b
cmp ecx, eax
jb 0x42d640
cmp eax, 0x10
jae 0x42d8fe
lea ecx, [edi + 0x10]
push eax
push edi
push ecx
call sub.msvcrt.dll_memmove
add esp, 0xc
jmp 0x42d912
cmp ecx, 0x20000000
jae 0x42e0b1
shl ecx, 3
mov eax, 1
cmp ecx, 0xe
jb 0x42d6b0
mov edx, 0x24924925
mov eax, ecx
mul edx
mov eax, 0xffffffff
sub ecx, edx
shr ecx, 1
add ecx, edx
shr ecx, 2
dec ecx
bsr ecx, ecx
not ecx
shr eax, cl
inc eax
mov ecx, 0x18
mov esi, eax
mul ecx
jo 0x42e0b1
add eax, 0xf
lea edx, [esi + 0x10]
and eax, 0xfffffff0
mov edi, eax
add edi, edx
jb 0x42e0b1
cmp edi, 0x7ffffff1
jae 0x42e0b1
test edi, edi
mov dword [ebp - 0x38], ebx
je 0x42d74c
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x1c], eax
movzx eax, byte [0x5da16c]
mov eax, dword [0x5da100]
test eax, eax
jne 0x42d70d
call sub.kernel32.dll_GetProcessHeap
test eax, eax
je 0x42e0b8
mov dword [0x5da100], eax
lea ecx, [edi + 0x10]
push ecx
push 0
push eax
call sub.kernel32.dll_HeapAlloc
test eax, eax
je 0x42e0b8
mov ebx, eax
mov edx, dword [ebp - 0x30]
and ebx, 0xfffffff0
mov dword [ebx + 0xc], eax
mov eax, dword [ebp - 0x1c]
add ebx, 0x10
jmp 0x42d751
push eax
push edi
add edi, 0x10
push edi
call sub.msvcrt.dll_memmove
add esp, 0xc
mov esi, dword [ebp - 0x34]
xor eax, eax
jmp 0x42e09e
mov ebx, 0x10
mov ecx, esi
lea edi, [esi - 1]
and esi, 0xfffffff8
shr ecx, 3
sub esi, ecx
cmp edi, 8
cmovb esi, edi
add ebx, eax
push edx
push 0xff
push ebx
call sub.msvcrt.dll_memset
add esp, 0xc
sub esi, dword [ebp - 0x14]
cmp dword [ebp - 0x38], 0xffffffff
je 0x42d8b4
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x20], esi
xor esi, esi
mov edx, dword [eax]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x1c], ecx
mov ecx, dword [eax + 4]
mov dword [ebp - 0x30], ecx
mov ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
mov dword [ebp - 0x18], ecx
lea ecx, [edx - 0x18]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], ecx
jmp 0x42d815
lea ecx, [edx - 0x10]
shr eax, 0x19
and ecx, edi
mov byte [ebx + edx], al
shl edx, 3
mov byte [ecx + ebx + 0x10], al
mov ecx, dword [ebp - 0x14]
lea eax, [esi*8]
lea eax, [eax + eax*2]
sub ecx, eax
lea eax, [edx + edx*2]
mov edx, ebx
movsd xmm0, qword [ecx - 0x18]
sub edx, eax
neg eax
movq xmm1, qword [ecx - 0x10]
movsd qword [ebx + eax - 0x18], xmm0
movq xmm0, qword [ecx - 8]
movq qword [edx - 0x10], xmm1
movq qword [edx - 8], xmm0
cmp esi, dword [ebp - 0x38]
lea esi, [esi + 1]
je 0x42d89a
mov eax, dword [ebp - 0x14]
cmp byte [eax + esi], 0
js 0x42d809
mov eax, esi
mov dword [ebp - 0x10], esi
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x30]
mov esi, dword [ebp - 0x24]
neg eax
lea eax, [eax + eax*2]
push dword [esi + eax*8 + 8]
push dword [esi + eax*8]
push dword [ebp - 0x18]
push dword [ebp - 0x28]
call sym.core::hash::BuildHasher::hash_one::h7e131c6a305e5844
add esp, 0x10
mov ecx, edi
and ecx, eax
movdqu xmm0, xmmword [ebx + ecx]
pmovmskb edx, xmm0
test edx, edx
jne 0x42d874
mov esi, 0x10
nop dword [eax]
add ecx, esi
add esi, 0x10
and ecx, edi
movdqu xmm0, xmmword [ebx + ecx]
pmovmskb edx, xmm0
test edx, edx
je 0x42d860
tzcnt edx, edx
mov esi, dword [ebp - 0x10]
add edx, ecx
and edx, edi
cmp byte [ebx + edx], 0
js 0x42d7c0
movdqa xmm0, xmmword [ebx]
pmovmskb ecx, xmm0
tzcnt edx, ecx
jmp 0x42d7c0
mov esi, dword [ebp - 0x38]
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x20]
test esi, esi
mov dword [eax], ebx
mov dword [eax + 4], edi
mov dword [eax + 8], ecx
jne 0x42d8c9
jmp 0x42e0a4
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax]
mov dword [eax], ebx
mov dword [eax + 4], edi
mov dword [eax + 8], esi
mov esi, 0xffffffff
mov dword [ebp - 0x14], ecx
lea eax, [esi + 1]
mov ecx, 0x18
mul ecx
add eax, 0xf
and eax, 0xfffffff0
add esi, eax
cmp esi, 0xffffffef
je 0x42e0a4
mov ecx, dword [ebp - 0x14]
sub ecx, eax
push dword [ecx - 4]
push 0
push dword [0x5da100]
call sub.kernel32.dll_HeapFree
jmp 0x42e0a4
movq xmm0, qword [edi]
movq xmm1, qword [edi + 8]
movq qword [edi + eax + 8], xmm1
movq qword [edi + eax], xmm0
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x60], edi
mov dword [ebp - 0x38], ebx
mov edx, dword [eax + 8]
mov esi, dword [eax]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x48], edx
mov edx, dword [eax + 0xc]
mov eax, ecx
mov dword [ebp - 0x54], ecx
mov ecx, esi
mov dword [ebp - 0x58], esi
xor dword [ebp - 0x54], 0x6c796765
xor dword [ebp - 0x58], 0x6e657261
xor eax, 0x736f6d65
xor ecx, 0x70736575
mov dword [ebp - 0x44], eax
mov esi, edx
mov dword [ebp - 0x50], edx
mov edx, dword [ebp - 0x48]
xor dword [ebp - 0x50], 0x74656462
xor esi, 0x646f7261
mov eax, edx
xor edx, 0x79746573
xor eax, 0x6e646f6d
mov dword [ebp - 0x48], edx
mov edx, esi
add ecx, eax
adc dword [ebp - 0x44], esi
shld edx, eax, 0xd
shld eax, esi, 0xd
mov dword [ebp - 0x74], ecx
xor eax, ecx
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x70], eax
xor edx, ecx
mov ecx, edx
mov dword [ebp - 0x6c], edx
shld ecx, eax, 0x11
shld eax, edx, 0x11
xor edx, edx
mov dword [ebp - 0x68], ecx
mov dword [ebp - 0x64], eax
jmp 0x42d9d0
mov edx, dword [ebp - 0x5c]
mov edi, dword [ebp - 0x60]
shr eax, 0x19
lea ecx, [edx - 0x10]
mov byte [edi + edx], al
and ecx, ebx
mov byte [ecx + edi + 0x10], al
cmp edx, ebx
lea edx, [edx + 1]
je 0x42e085
cmp byte [edi + edx], 0x80
jne 0x42d9c5
lea eax, [edx*8]
mov dword [ebp - 0x5c], edx
lea eax, [eax + eax*2]
neg eax
lea eax, [edi + eax - 0x18]
mov dword [ebp - 0x78], eax
mov eax, edx
neg eax
lea eax, [eax + eax*2]
lea eax, [edi + eax*8 - 0x18]
mov dword [ebp - 0x80], eax
nop word [eax + eax]
mov eax, dword [ebp - 0x80]
mov edx, 4
mov esi, dword [eax]
mov eax, dword [eax + 8]
cmp eax, 4
mov dword [ebp - 0x2c], eax
cmovb edx, eax
xor ebx, ebx
mov eax, 0
cmp edx, 3
jbe 0x42da29
mov ebx, dword [esi]
mov eax, 4
mov ecx, eax
mov dword [ebp - 0x24], esi
or ecx, 1
cmp ecx, edx
jae 0x42da52
movzx esi, word [esi + eax]
lea ecx, [eax*8]
mov edi, 0
shl esi, cl
test cl, 0x20
cmovne esi, edi
or eax, 2
or ebx, esi
mov esi, ebx
cmp eax, edx
jae 0x42da72
mov ecx, dword [ebp - 0x24]
movzx edx, byte [ecx + eax]
shl eax, 3
mov ecx, eax
shl edx, cl
test al, 0x20
mov ecx, 0
cmovne edx, ecx
or esi, edx
mov ebx, dword [ebp - 0x2c]
mov dword [ebp - 0x14], esi
lea eax, [ebx + 4]
cmp ebx, 4
mov dword [ebp - 0x84], eax
jae 0x42dac0
mov eax, dword [ebp - 0x64]
mov ecx, dword [ebp - 0x54]
mov esi, dword [ebp - 0x48]
mov edx, dword [ebp - 0x50]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x58]
jmp 0x42dd2c
mov edx, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x58]
mov edi, dword [ebp - 0x54]
xor edx, ebx
xor ecx, esi
add eax, edx
mov esi, eax
mov dword [ebp - 0x1c], eax
mov eax, edx
adc edi, ecx
shrd edx, ecx, 0x10
shld eax, ecx, 0x10
xor edx, edi
mov dword [ebp - 0x10], edi
xor eax, esi
mov esi, ebx
mov edi, edx
mov ecx, eax
mov ebx, eax
add ecx, dword [ebp - 0x44]
adc edi, dword [ebp - 0x74]
shld ebx, edx, 0x15
shrd eax, edx, 0xb
mov edx, ecx
xor ebx, ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x40], ebx
mov ebx, dword [ebp - 0x10]
xor eax, edi
add ecx, dword [ebp - 0x70]
mov dword [ebp - 0x30], eax
adc ebx, dword [ebp - 0x6c]
mov dword [ebp - 0x1c], ecx
xor ecx, dword [ebp - 0x64]
xor edi, dword [ebp - 0x14]
xor edx, esi
add esi, 0xfffffffc
mov dword [ebp - 0x10], ebx
xor ebx, dword [ebp - 0x68]
mov dword [ebp - 0x20], ecx
mov ecx, esi
mov dword [ebp - 0x18], edi
and ecx, 7
and esi, 0xfffffff8
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x7c], ecx
je 0x42dc54
mov eax, dword [ebp - 0x2c]
mov esi, ebx
mov ebx, dword [ebp - 0x40]
mov dword [ebp - 0x14], 4
lea ecx, [eax - 5]
mov eax, edx
mov edx, dword [ebp - 0x20]
and ecx, 0xfffffff8
mov dword [ebp - 0x3c], ecx
mov ecx, dword [ebp - 0x18]
nop word cs:[eax + eax]
mov dword [ebp - 0x18], ecx
mov edi, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x24]
mov edi, dword [ecx + edi + 4]
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x20], edi
xor dword [ebp - 0x30], edi
mov edi, dword [ebp - 0x14]
mov edi, dword [ecx + edi]
mov ecx, dword [ebp - 0x18]
xor ebx, edi
add eax, edx
mov dword [ebp - 0x4c], edi
mov edi, edx
adc ecx, esi
shld edi, esi, 0xd
shld esi, edx, 0xd
mov dword [ebp - 0x28], eax
mov edx, dword [ebp - 0x1c]
xor edi, eax
mov eax, dword [ebp - 0x30]
xor esi, ecx
mov dword [ebp - 0x40], edi
mov edi, dword [ebp - 0x10]
add edi, ebx
adc edx, eax
mov dword [ebp - 0x10], edx
mov edx, ebx
shrd ebx, eax, 0x10
shld edx, eax, 0x10
xor ebx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x28]
xor edx, edi
add ecx, edx
mov dword [ebp - 0x18], ecx
mov ecx, edx
adc eax, ebx
shld ecx, ebx, 0x15
shrd edx, ebx, 0xb
mov ebx, ecx
mov ecx, edi
mov edi, dword [ebp - 0x40]
xor edx, eax
xor ebx, dword [ebp - 0x18]
mov dword [ebp - 0x30], edx
add ecx, edi
mov edx, edi
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp - 0x10]
adc ecx, esi
add dword [ebp - 0x14], 8
shld edx, esi, 0x11
shld esi, edi, 0x11
mov dword [ebp - 0x10], ecx
mov ecx, eax
mov eax, dword [ebp - 0x18]
mov edi, dword [ebp - 0x14]
xor edx, dword [ebp - 0x1c]
xor ecx, dword [ebp - 0x20]
xor esi, dword [ebp - 0x10]
xor eax, dword [ebp - 0x4c]
cmp edi, dword [ebp - 0x2c]
jb 0x42db70
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp - 0x7c]
add dword [ebp - 0x3c], 0xc
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x40], ebx
mov ebx, esi
mov edx, eax
cmp ecx, 3
mov dword [ebp - 0x28], edx
jbe 0x42dc63
mov eax, dword [ebp - 0x24]
mov edi, dword [ebp - 0x3c]
mov edx, 4
mov edi, dword [eax + edi]
xor eax, eax
jmp 0x42dc69
mov dword [ebp - 0x3c], 4
cmp ecx, 3
mov dword [ebp - 0x28], edx
ja 0x42dc42
xor edi, edi
xor eax, eax
xor edx, edx
mov dword [ebp - 0x14], eax
mov eax, edx
mov esi, ebx
or eax, 1
cmp eax, ecx
jae 0x42dcb0
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x24]
mov ebx, edi
xor edi, edi
add eax, edx
movzx eax, word [ecx + eax]
lea ecx, [edx*8]
shld edi, eax, cl
shl eax, cl
test cl, 0x20
mov ecx, 0
cmovne edi, eax
cmovne eax, ecx
or edx, 2
or dword [ebp - 0x14], edi
or ebx, eax
cmp edx, dword [ebp - 0x7c]
jb 0x42dcb7
jmp 0x42dce2
mov ebx, edi
cmp edx, dword [ebp - 0x7c]
jae 0x42dce2
mov ecx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x24]
xor edi, edi
add ecx, edx
shl edx, 3
movzx eax, byte [eax + ecx]
mov ecx, edx
shld edi, eax, cl
shl eax, cl
test dl, 0x20
mov ecx, 0
cmovne edi, eax
cmovne eax, ecx
or dword [ebp - 0x14], edi
or ebx, eax
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x2c], ebx
mov edi, dword [ebp - 0x10]
add edx, ecx
mov ebx, ecx
adc eax, esi
shld ebx, esi, 0xd
shld esi, ecx, 0xd
mov dword [ebp - 0x28], edx
xor esi, eax
xor ebx, edx
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x18], eax
mov eax, edi
mov ecx, esi
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x10], ebx
shld ecx, ebx, 0x11
mov dword [ebp - 0x24], ecx
mov ecx, ebx
shld ecx, esi, 0x11
mov esi, dword [ebp - 0x40]
mov dword [ebp - 0x20], ecx
mov ecx, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x84]
xor esi, dword [ebp - 0x2c]
movd xmm4, dword [ebp - 0x20]
movd xmm5, dword [ebp - 0x24]
shl edi, 0x18
punpckldq xmm4, xmm5
or edi, dword [ebp - 0x14]
xor edx, edi
add eax, esi
adc ecx, edx
mov ebx, ecx
mov dword [ebp - 0x1c], ecx
mov ecx, eax
mov eax, esi
shrd esi, edx, 0x10
xor esi, ebx
mov ebx, dword [ebp - 0x18]
shld eax, edx, 0x10
xor eax, ecx
mov edx, eax
add ebx, eax
adc dword [ebp - 0x28], esi
shld edx, esi, 0x15
shrd eax, esi, 0xb
add ecx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x1c]
movd xmm0, ebx
movd xmm1, eax
mov eax, dword [ebp - 0x28]
movd xmm3, edx
punpckldq xmm3, xmm1
punpcklqdq xmm3, xmm4
mov dword [ebp - 0x10], ecx
adc esi, dword [ebp - 0x4c]
movd xmm1, dword [ebp - 0x10]
movd xmm6, eax
xor edi, eax
mov eax, dword [ebp - 0x2c]
punpckldq xmm0, xmm6
movd xmm4, esi
mov ecx, esi
movdqa xmm5, xmm1
xor eax, ebx
xor ecx, 0xff
mov ebx, dword [ebp - 0x38]
punpckldq xmm5, xmm4
movd xmm4, eax
movd xmm2, ecx
punpcklqdq xmm0, xmm5
punpcklqdq xmm1, xmm2
pxor xmm0, xmm3
movd xmm3, edi
mov edi, dword [ebp - 0x60]
punpcklqdq xmm3, xmm4
movdqa xmm4, xmm0
movdqa xmm2, xmm0
shufps xmm1, xmm0, 0xe2
shufps xmm4, xmm3, 0x24
movdqa xmm3, xmm0
psrlq xmm2, 0x30
psrlq xmm3, 0x33
paddq xmm1, xmm4
movsd xmm3, xmm2
movdqa xmm2, xmm0
psllq xmm0, 0xd
psllq xmm2, 0x10
movsd xmm0, xmm2
orpd xmm0, xmm3
xorpd xmm0, xmm1
pshufd xmm1, xmm1, 0x4b
movapd xmm2, xmm0
movapd xmm3, xmm0
paddq xmm1, xmm0
psrlq xmm2, 0x2b
psrlq xmm3, 0x2f
movsd xmm3, xmm2
movdqa xmm2, xmm0
psllq xmm0, 0x11
psllq xmm2, 0x15
movsd xmm0, xmm2
orpd xmm0, xmm3
xorpd xmm0, xmm1
pshufd xmm1, xmm1, 0x4b
movapd xmm2, xmm0
movapd xmm3, xmm0
paddq xmm1, xmm0
psrlq xmm2, 0x30
psrlq xmm3, 0x33
movsd xmm3, xmm2
movdqa xmm2, xmm0
psllq xmm0, 0xd
psllq xmm2, 0x10
movsd xmm0, xmm2
orpd xmm0, xmm3
xorpd xmm0, xmm1
pshufd xmm1, xmm1, 0x4b
movapd xmm2, xmm0
movapd xmm3, xmm0
paddq xmm1, xmm0
psrlq xmm2, 0x2b
psrlq xmm3, 0x2f
movsd xmm3, xmm2
movdqa xmm2, xmm0
psllq xmm0, 0x11
psllq xmm2, 0x15
movsd xmm0, xmm2
orpd xmm0, xmm3
xorpd xmm0, xmm1
pshufd xmm1, xmm1, 0x4b
movapd xmm2, xmm0
movapd xmm3, xmm0
paddq xmm1, xmm0
psrlq xmm2, 0x30
psrlq xmm3, 0x33
movsd xmm3, xmm2
movdqa xmm2, xmm0
psllq xmm0, 0xd
psllq xmm2, 0x10
movsd xmm0, xmm2
orpd xmm0, xmm3
xorpd xmm0, xmm1
movapd xmm2, xmm0
movapd xmm3, xmm0
movapd xmm4, xmm0
psrlq xmm2, 0x2b
psrlq xmm3, 0x2f
psllq xmm4, 0x11
movsd xmm3, xmm2
movapd xmm2, xmm0
psllq xmm2, 0x15
movsd xmm4, xmm2
orpd xmm4, xmm3
movapd xmm2, xmm4
shufpd xmm2, xmm1, 1
xorpd xmm4, xmm2
paddq xmm2, xmm0
pshufd xmm0, xmm2, 0xee
movd eax, xmm4
movd ecx, xmm0
pshufd xmm0, xmm2, 0xff
movd edx, xmm0
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 0x42dfab
mov dword [ebp - 0x14], eax
mov eax, ebx
mov ebx, edi
mov edi, 0x10
mov esi, ecx
nop word cs:[eax + eax]
nop dword [eax]
add esi, edi
add edi, 0x10
and esi, eax
movdqu xmm0, xmmword [ebx + esi]
pmovmskb edx, xmm0
test edx, edx
je 0x42df90
mov edi, ebx
mov ebx, eax
mov eax, dword [ebp - 0x14]
tzcnt edx, edx
add edx, esi
and edx, ebx
cmp byte [edi + edx], 0
js 0x42dfc5
movdqa xmm0, xmmword [edi]
pmovmskb edx, xmm0
tzcnt edx, edx
mov esi, dword [ebp - 0x5c]
mov edi, edx
sub edi, ecx
sub esi, ecx
xor edi, esi
and edi, ebx
cmp edi, 0x10
jb 0x42d9b0
mov edi, dword [ebp - 0x60]
lea esi, [edx - 0x10]
shr eax, 0x19
and esi, ebx
movzx ecx, byte [edi + edx]
mov byte [edi + edx], al
mov byte [esi + edi + 0x10], al
lea eax, [edx*8]
lea eax, [eax + eax*2]
neg eax
lea eax, [edi + eax - 0x18]
cmp cl, 0xff
je 0x42e050
mov ecx, dword [ebp - 0x78]
movsd xmm1, qword [eax]
movsd xmm0, qword [ecx]
movsd qword [ecx], xmm1
movsd qword [eax], xmm0
movsd xmm0, qword [ecx + 8]
movsd xmm1, qword [eax + 8]
movsd qword [ecx + 8], xmm1
movsd qword [eax + 8], xmm0
movq xmm0, qword [ecx + 0x10]
movq xmm1, qword [eax + 0x10]
movq qword [ecx + 0x10], xmm1
movq qword [eax + 0x10], xmm0
jmp 0x42da00
mov edx, dword [ebp - 0x5c]
mov esi, dword [ebp - 0x78]
lea ecx, [edx - 0x10]
mov byte [edi + edx], 0xff
and ecx, ebx
mov byte [ecx + edi + 0x10], 0xff
movsd xmm0, qword [esi + 0x10]
movsd qword [eax + 0x10], xmm0
movq xmm0, qword [esi]
movq xmm1, qword [esi + 8]
movq qword [eax + 8], xmm1
movq qword [eax], xmm0
jmp 0x42d9c5
mov esi, dword [ebp - 0x34]
mov ecx, dword [esi + 4]
lea eax, [ecx + 1]
mov edx, eax
and eax, 0xfffffff8
shr edx, 3
sub eax, edx
cmp ecx, 8
cmovb eax, ecx
sub eax, dword [esi + 0xc]
mov dword [esi + 8], eax
mov eax, 0x80000001
add esp, 0x78
pop esi
pop edi
pop ebx
pop ebp
ret
call dbg.capacity_overflow
ud2
mov ecx, edi
call dbg.alloc_err
ud2