Function at 0x5303a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xa0
mov dword [esp + 0x10], edx
mov edx, dword [ecx + 0xc]
mov dword [esp + 0x40], edx
inc edx
je 0x5311c6
mov ebx, dword [ecx + 4]
mov edi, ecx
mov dword [esp + 0x34], edi
lea eax, [ebx + 1]
mov dword [esp + 0x2c], 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 + 0x54], esi
cmovb ecx, ebx
mov esi, ecx
shr esi, 1
cmp edx, esi
jbe 0x530410
inc ecx
cmp edx, ecx
cmova ecx, edx
cmp ecx, 8
jae 0x530477
xor eax, eax
cmp ecx, 4
setae al
lea ebx, [eax*4 + 4]
jmp 0x5304bc
mov edi, dword [edi]
test eax, eax
je 0x530531
pxor xmm0, xmm0
cmp eax, 0x11
pcmpgtb xmm0, xmmword [edi]
por xmm0, xmmword [0x560650]
movdqa xmmword [edi], xmm0
jb 0x53045b
movdqa xmm0, xmmword [0x560650]
mov ecx, 0x10
pxor xmm1, xmm1
pcmpgtb xmm1, xmmword [edi + ecx]
por xmm1, xmm0
movdqa xmmword [edi + ecx], xmm1
add ecx, 0x10
jb 0x53045b
cmp ecx, eax
jb 0x530440
cmp eax, 0x10
jae 0x5306e8
lea ecx, [edi + 0x10]
push eax
push edi
push ecx
call sub.msvcrt.dll_memmove
add esp, 0xc
jmp 0x5306fc
cmp ecx, 0x20000000
jae 0x5311c6
shl ecx, 3
mov ebx, 1
cmp ecx, 0xe
jb 0x5304bc
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, 0x1ffffff
ja 0x5311c6
mov ecx, ebx
lea edx, [ebx + 0x10]
shl ecx, 7
mov esi, ecx
add esi, edx
jb 0x5311c6
cmp esi, 0x7ffffff1
jae 0x5311c6
test esi, esi
je 0x530546
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], ecx
movzx eax, byte [0x5da16c]
mov eax, dword [0x5da100]
test eax, eax
jne 0x530508
call sub.kernel32.dll_GetProcessHeap
test eax, eax
je 0x5311cd
mov dword [0x5da100], eax
lea ecx, [esi + 0x10]
push ecx
push 0
push eax
call sub.kernel32.dll_HeapAlloc
test eax, eax
je 0x5311cd
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov edi, eax
and edi, 0xfffffff0
mov dword [edi + 0xc], eax
add edi, 0x10
jmp 0x53054b
push eax
push edi
add edi, 0x10
push edi
call sub.msvcrt.dll_memmove
add esp, 0xc
xor ecx, ecx
jmp 0x5311ae
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 + 0x2c]
sub ebx, dword [esp + 0x40]
cmp edx, 0xffffffff
je 0x5306a4
mov eax, dword [esp + 0x34]
mov dword [esp + 0x30], ebx
mov ecx, dword [eax]
mov eax, dword [esp + 0x10]
mov ebx, dword [eax]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x14], ebx
mov ebx, dword [eax + 4]
mov dword [esp + 0xc], ebx
mov ebx, dword [eax + 0xc]
mov eax, dword [eax + 8]
mov dword [esp + 0x24], eax
lea eax, [ecx - 0x80]
mov dword [esp + 0x28], ebx
mov ebx, ecx
mov dword [esp + 0x20], eax
xor eax, eax
jmp 0x530603
lea ecx, [edx - 0x10]
shr eax, 0x19
and ecx, esi
mov byte [edi + edx], al
shl edx, 7
mov byte [ecx + edi + 0x10], al
mov eax, ebx
neg edx
sub eax, dword [esp + 0x18]
lea ecx, [edi + edx - 0x80]
add eax, 0xffffff80
push pe_nt_image_headers32
push eax
push ecx
call sym._memcpy
add esp, 0xc
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x10]
cmp eax, edx
lea eax, [eax + 1]
je 0x53068b
cmp byte [ebx + eax], 0
js 0x5305f8
mov ecx, eax
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0xc]
shl ecx, 7
mov dword [esp + 0x18], ecx
sub eax, ecx
mov ecx, dword [esp + 0x14]
push dword [eax + 8]
push dword [eax]
push dword [esp + 0x30]
push dword [esp + 0x30]
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 0x530668
mov ebx, 0x10
nop
add ecx, ebx
add ebx, 0x10
and ecx, esi
movdqu xmm0, xmmword [edi + ecx]
pmovmskb edx, xmm0
test edx, edx
je 0x530650
mov ebx, dword [esp + 0x1c]
tzcnt edx, edx
add edx, ecx
and edx, esi
cmp byte [edi + edx], 0
js 0x5305c0
movdqa xmm0, xmmword [edi]
pmovmskb ecx, xmm0
tzcnt edx, ecx
jmp 0x5305c0
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
test edx, edx
mov dword [eax], edi
mov dword [eax + 4], esi
mov dword [eax + 8], ecx
jne 0x5306b9
jmp 0x5311b9
mov eax, dword [esp + 0x34]
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, 7
lea ecx, [edx + eax + 0x80]
cmp ecx, 0xffffffef
je 0x5311b9
sub eax, 0xffffff80
sub ebx, eax
push dword [ebx - 4]
push 0
push dword [0x5da100]
call sub.kernel32.dll_HeapFree
jmp 0x5311b9
movq xmm0, qword [edi]
movq xmm1, qword [edi + 8]
movq qword [edi + eax + 8], xmm1
movq qword [edi + eax], xmm0
mov eax, dword [esp + 0x10]
movdqa xmm7, xmmword [str.arenegylmodnarod]
xor edx, edx
mov dword [esp + 0x30], edi
movdqu xmm0, xmmword [eax]
movd ecx, xmm0
pshufd xmm1, xmm0, 0x55
pxor xmm7, xmm0
movd eax, xmm1
pshufd xmm1, xmm0, 0xee
xor ecx, 0x70736575
pshufd xmm0, xmm0, 0xff
movd dword [esp + 0x6c], xmm7
movdqa xmmword [esp + 0x70], xmm7
movd esi, xmm1
mov dword [esp + 0x48], ecx
movd ecx, xmm0
xor eax, 0x736f6d65
xor ecx, 0x74656462
xor esi, 0x79746573
mov dword [esp + 0x4c], eax
movd xmm0, esi
movd xmm1, ecx
mov dword [esp + 0x5c], esi
mov esi, edi
mov dword [esp + 0x58], ecx
punpcklqdq xmm1, xmm0
pshufd xmm0, xmm7, 0x55
shufps xmm1, xmm7, 0xe2
movd dword [esp + 0x68], xmm0
movaps xmmword [esp + 0x80], xmm1
jmp 0x5307bb
mov edx, dword [esp + 0x3c]
mov edi, dword [esp + 0x30]
shr eax, 0x19
lea ecx, [edx - 0x10]
mov byte [edi + edx], al
and ecx, ebx
mov byte [ecx + edi + 0x10], al
mov esi, dword [esp + 0x38]
add esi, 0xffffff80
cmp edx, dword [esp + 0x2c]
lea edx, [edx + 1]
je 0x5311a0
cmp byte [edi + edx], 0x80
jne 0x5307ab
mov eax, edx
mov dword [esp + 0x3c], edx
not edx
mov ecx, edi
mov dword [esp + 0x38], esi
shl eax, 7
shl edx, 7
sub ecx, eax
neg eax
add edx, edi
lea eax, [edi + eax - 0x80]
mov dword [esp + 0x60], ecx
mov dword [esp + 0x44], edx
mov dword [esp + 0x50], eax
jmp 0x530876
mov ecx, dword [esp + 0x44]
movups xmm2, xmmword [eax]
movups xmm3, xmmword [eax + 0x10]
movups xmm0, xmmword [ecx]
movups xmm1, xmmword [ecx + 0x10]
movups xmmword [ecx], xmm2
movups xmmword [ecx + 0x10], xmm3
movups xmmword [eax], xmm0
movups xmmword [eax + 0x10], xmm1
movups xmm0, xmmword [ecx + 0x20]
movups xmm1, xmmword [ecx + 0x30]
movups xmm2, xmmword [eax + 0x20]
movups xmm3, xmmword [eax + 0x30]
movups xmmword [ecx + 0x20], xmm2
movups xmmword [ecx + 0x30], xmm3
movups xmmword [eax + 0x20], xmm0
movups xmmword [eax + 0x30], xmm1
movups xmm0, xmmword [ecx + 0x40]
movups xmm1, xmmword [ecx + 0x50]
movups xmm2, xmmword [eax + 0x40]
movups xmm3, xmmword [eax + 0x50]
movups xmmword [ecx + 0x40], xmm2
movups xmmword [ecx + 0x50], xmm3
movups xmmword [eax + 0x40], xmm0
movups xmmword [eax + 0x50], xmm1
movdqu xmm0, xmmword [ecx + 0x60]
movups xmm1, xmmword [ecx + 0x70]
movdqu xmm2, xmmword [eax + 0x60]
movupd xmm3, xmmword [eax + 0x70]
movdqu xmmword [ecx + 0x60], xmm2
movupd xmmword [ecx + 0x70], xmm3
movdqu xmmword [eax + 0x60], xmm0
movups xmmword [eax + 0x70], xmm1
mov eax, dword [esp + 0x50]
xor edx, edx
movaps xmm0, xmmword [esp + 0x80]
mov edi, dword [esp + 0x48]
mov esi, dword [esp + 0x4c]
mov dword [esp + 0x1c], 0
mov ebx, dword [eax]
mov eax, dword [eax + 8]
mov ecx, eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x14], ebx
and ecx, 7
and eax, 0xfffffff8
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x24], eax
mov eax, ecx
je 0x530a07
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x58]
mov edi, dword [esp + 0x48]
mov esi, dword [esp + 0x4c]
xor ebx, ebx
movaps xmm1, xmm7
dec eax
and eax, 0xfffffff8
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x5c]
nop word [eax + eax]
mov dword [esp + 0x10], ebx
mov ecx, dword [esp + 0x14]
movd xmm4, edi
movd xmm5, esi
mov ebx, dword [esp + 0x10]
punpckldq xmm4, xmm5
mov ebx, dword [ecx + ebx]
xor eax, ebx
mov dword [esp + 0x18], ebx
mov ebx, dword [esp + 0x10]
movd xmm3, eax
movd xmm0, eax
mov eax, dword [ecx + ebx + 4]
add ebx, 8
xor edx, eax
movd xmm2, edx
punpckldq xmm0, xmm2
punpcklqdq xmm2, xmm3
shufps xmm2, xmm1, 0xe2
punpcklqdq xmm0, xmm4
movaps xmm4, xmm1
movaps xmm3, xmm2
paddq xmm0, xmm1
psrlq xmm4, 0x33
psllq xmm2, 0x10
psllq xmm1, 0xd
psrlq xmm3, 0x30
movsd xmm1, xmm2
pshufd xmm2, xmm0, 0x4b
movsd xmm4, xmm3
orpd xmm1, xmm4
xorpd xmm1, xmm0
movapd xmm0, xmm1
movapd xmm3, xmm1
paddq xmm2, xmm1
psrlq xmm0, 0x2b
psrlq xmm3, 0x2f
movd edi, xmm2
movsd xmm3, xmm0
movdqa xmm0, xmm1
psllq xmm1, 0x11
xor edi, dword [esp + 0x18]
psllq xmm0, 0x15
movsd xmm1, xmm0
orpd xmm1, xmm3
movapd xmm0, xmm1
pshufd xmm1, xmm2, 0xff
movd ecx, xmm1
pshufd xmm1, xmm2, 0x55
xorpd xmm0, xmm2
movd esi, xmm1
movd xmm3, ecx
movapd xmm1, xmm2
xor esi, eax
cmp ebx, dword [esp + 0xc]
shufpd xmm1, xmm3, 1
pshufd xmm3, xmm0, 0x55
movd eax, xmm0
shufps xmm1, xmm0, 0xe2
movd edx, xmm3
jb 0x5308f0
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x20]
mov ebx, dword [esp + 0x14]
add dword [esp + 0x1c], 8
pshufd xmm1, xmm2, 0xee
xor edx, edx
movd dword [esp + 0x24], xmm1
cmp ecx, 3
mov dword [esp + 0x10], esi
jbe 0x530a50
mov eax, dword [esp + 0x1c]
mov dword [esp + 0xc], 0
mov edx, 4
mov esi, dword [ebx + eax]
mov eax, edx
or eax, 1
cmp eax, ecx
jb 0x530a63
mov ebx, esi
cmp edx, ecx
jb 0x530aa4
inc dword [esp + 0x28]
test ecx, ecx
je 0x530c03
mov esi, dword [esp + 0xc]
jmp 0x530ad8
xor esi, esi
mov dword [esp + 0xc], 0
mov eax, edx
or eax, 1
cmp eax, ecx
jae 0x530a2d
mov eax, dword [esp + 0x1c]
lea ecx, [edx*8]
mov dword [esp + 0x64], edx
add eax, edx
xor edx, edx
movzx eax, word [ebx + eax]
mov ebx, 0
shld edx, eax, cl
shl eax, cl
test cl, 0x20
mov ecx, dword [esp + 0x20]
cmovne edx, eax
cmovne eax, ebx
mov ebx, esi
or dword [esp + 0xc], edx
mov edx, dword [esp + 0x64]
or ebx, eax
or edx, 2
cmp edx, ecx
jae 0x530a33
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0xc]
add ecx, edx
shl edx, 3
movzx eax, byte [eax + ecx]
mov ecx, edx
xor edx, edx
shld edx, eax, cl
shl eax, cl
test cl, 0x20
mov ecx, 0
cmovne edx, eax
cmovne eax, ecx
inc dword [esp + 0x28]
or ebx, eax
or esi, edx
mov dword [esp + 0x14], ebx
mov eax, dword [esp + 0x20]
xor edx, edx
mov ebx, 0
lea ecx, [eax*8]
mov eax, 0xff
shld edx, eax, cl
mov eax, edx
mov edx, 0xff
shl edx, cl
test cl, 0x20
mov ecx, dword [esp + 0x20]
cmovne eax, edx
cmovne edx, ebx
or edx, dword [esp + 0x14]
or eax, esi
cmp ecx, 7
jne 0x530df9
mov esi, eax
mov eax, 8
movss xmm3, dword [esp + 0x18]
movss xmm4, dword [esp + 0x24]
pshufd xmm2, xmm0, 0x55
movd xmm6, dword [esp + 0x10]
sub eax, ecx
movd ecx, xmm0
xor ecx, edx
movd xmm5, ecx
movd xmm1, ecx
movd ecx, xmm2
xor ecx, esi
movlhps xmm4, xmm3
movd xmm3, edi
movd xmm2, ecx
punpckldq xmm3, xmm6
shufps xmm4, xmm0, 0xe2
punpckldq xmm1, xmm2
punpcklqdq xmm2, xmm5
punpcklqdq xmm1, xmm3
shufps xmm2, xmm0, 0xe2
movaps xmm3, xmm2
paddq xmm1, xmm4
movdqa xmm4, xmm0
psllq xmm2, 0x10
psllq xmm0, 0xd
psrlq xmm3, 0x30
psrlq xmm4, 0x33
movsd xmm0, xmm2
movsd xmm4, xmm3
orpd xmm0, xmm4
xorpd xmm0, xmm1
pshufd xmm1, xmm1, 0x4b
movapd xmm2, xmm0
movapd xmm3, xmm0
paddq xmm1, xmm0
psrlq xmm2, 0x2b
psrlq xmm3, 0x2f
pshufd xmm4, xmm1, 0x55
movd edi, xmm1
movsd xmm3, xmm2
movdqa xmm2, xmm0
psllq xmm0, 0x11
movd ecx, xmm4
xor edi, edx
psllq xmm2, 0x15
xor ecx, esi
movsd xmm0, xmm2
pshufd xmm2, xmm1, 0xee
mov dword [esp + 0x10], ecx
orpd xmm0, xmm3
movd ebx, xmm2
pshufd xmm2, xmm1, 0xff
xorpd xmm0, xmm1
movd edx, xmm2
jmp 0x530c0d
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x24]
xor eax, eax
mov ecx, 1
sub ecx, eax
mov esi, ecx
and ecx, 0xfffffff8
and esi, 7
cmp eax, ecx
mov dword [esp + 0x20], esi
jae 0x530d40
mov esi, dword [esp + 0x10]
nop dword [eax]
movd xmm1, edx
movd edx, xmm0
movd xmm4, ebx
movd xmm5, edi
pshufd xmm2, xmm0, 0x55
add eax, 8
punpcklqdq xmm4, xmm1
xor edx, 0xff
movd xmm1, esi
punpckldq xmm5, xmm1
movd xmm1, edx
movd xmm3, edx
shufps xmm4, xmm0, 0xe2
punpckldq xmm1, xmm2
movaps xmm2, xmm0
punpcklqdq xmm1, xmm5
movss xmm2, xmm3
movdqa xmm3, xmm0
paddq xmm1, xmm4
movdqa xmm4, xmm0
psrlq xmm3, 0x30
psllq xmm2, 0x10
psllq xmm0, 0xd
psrlq xmm4, 0x33
movsd xmm0, xmm2
movsd xmm4, xmm3
orpd xmm0, xmm4
xorpd xmm0, xmm1
pshufd xmm1, xmm1, 0x4b
movapd xmm2, xmm0
movapd xmm3, xmm0
movapd xmm4, xmm0
paddq xmm1, xmm0
psllq xmm0, 0x11
psllq xmm4, 0x15
psrlq xmm2, 0x2b
psrlq xmm3, 0x2f
movd edi, xmm1
movsd xmm0, xmm4
movsd xmm3, xmm2
pshufd xmm4, xmm1, 0xff
xor edi, 0xff
cmp eax, ecx
orpd xmm0, xmm3
pshufd xmm3, xmm1, 0xee
movd edx, xmm4
movd ebx, xmm3
pshufd xmm3, xmm1, 0x55
xorpd xmm0, xmm1
movd esi, xmm3
jb 0x530c30
xor eax, eax
cmp dword [esp + 0x20], 4
mov dword [esp + 0x14], 0
mov ecx, 0xff
mov dword [esp + 0x1c], 0
setae al
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x14]
cmovae eax, ecx
shl dword [esp + 0xc], 2
mov dword [esp + 0x14], eax
jmp 0x530d5c
mov esi, dword [esp + 0x10]
mov dword [esp + 0x14], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0xc], 0
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x18], edx
mov dword [esp + 0x24], ebx
or ecx, 1
cmp ecx, eax
jae 0x530dc0
mov eax, dword [esp + 0xc]
xor edx, edx
mov ebx, 0xff
lea ecx, [eax*8]
shld edx, ebx, cl
shl ebx, cl
test cl, 0x20
mov ecx, 0
cmovne edx, ebx
cmovne ebx, ecx
or eax, 2
or dword [esp + 0x1c], edx
mov edx, dword [esp + 0x14]
mov ecx, eax
mov eax, dword [esp + 0x20]
or edx, ebx
cmp ecx, eax
mov dword [esp + 0x10], esi
jb 0x530dd0
mov eax, dword [esp + 0x1c]
jmp 0x530df9
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
cmp ecx, eax
mov dword [esp + 0x10], esi
jae 0x530db3
mov esi, edx
shl ecx, 3
xor edx, edx
mov ebx, 0xff
mov eax, 0
shld edx, ebx, cl
shl ebx, cl
test cl, 0x20
cmovne edx, ebx
cmovne ebx, eax
mov eax, dword [esp + 0x1c]
or eax, edx
mov edx, esi
or edx, ebx
mov ecx, dword [esp + 0x28]
movd ebx, xmm0
mov dword [esp + 0x14], edx
pshufd xmm1, xmm0, 0x55
xor ebx, edx
mov edx, dword [esp + 0x10]
shl ecx, 0x18
or ecx, eax
movd eax, xmm1
pshufd xmm1, xmm0, 0xff
pshufd xmm0, xmm0, 0xee
xor eax, ecx
movd esi, xmm0
mov dword [esp + 0x28], ecx
movd ecx, xmm1
add edi, esi
mov dword [esp + 0xc], eax
mov eax, esi
adc edx, ecx
shld eax, ecx, 0xd
shld ecx, esi, 0xd
mov esi, dword [esp + 0xc]
xor eax, edi
xor ecx, edx
add dword [esp + 0x18], ebx
mov dword [esp + 0x10], edx
mov edx, ebx
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x24]
adc eax, esi
shrd ebx, esi, 0x10
shld edx, esi, 0x10
mov esi, dword [esp + 0x18]
xor ebx, eax
xor edx, esi
add dword [esp + 0x10], edx
mov dword [esp + 0xc], edx
adc edi, ebx
shld dword [esp + 0xc], ebx, 0x15
shrd edx, ebx, 0xb
mov ebx, dword [esp + 0x20]
movd xmm6, dword [esp + 0xc]
movd xmm5, edx
mov edx, dword [esp + 0x14]
add esi, ebx
mov dword [esp + 0x18], esi
mov esi, ebx
adc eax, ecx
shld ebx, ecx, 0x11
punpckldq xmm6, xmm5
movd xmm1, dword [esp + 0x18]
shrd esi, ecx, 0xf
mov ecx, dword [esp + 0x10]
movd xmm0, eax
xor eax, 0xff
movd xmm4, ebx
mov ebx, dword [esp + 0x2c]
movd xmm2, eax
mov eax, dword [esp + 0x28]
movd xmm3, esi
punpckldq xmm4, xmm3
punpcklqdq xmm6, xmm4
movd xmm4, edi
movdqa xmm3, xmm1
xor edx, ecx
punpcklqdq xmm1, xmm2
punpckldq xmm3, xmm0
movd xmm0, ecx
xor eax, edi
mov edi, dword [esp + 0x30]
punpckldq xmm0, xmm4
movd xmm4, edx
punpcklqdq xmm0, xmm3
movd xmm3, eax
pxor xmm0, xmm6
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 0x5310cc
mov dword [esp + 0x10], 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 0x5310b0
mov edi, ebx
mov ebx, eax
mov eax, dword [esp + 0x10]
tzcnt edx, edx
add edx, esi
and edx, ebx
cmp byte [edi + edx], 0
js 0x5310e6
movdqa xmm0, xmmword [edi]
pmovmskb edx, xmm0
tzcnt edx, edx
mov esi, dword [esp + 0x3c]
mov edi, edx
sub edi, ecx
sub esi, ecx
xor edi, esi
and edi, ebx
cmp edi, 0x10
jb 0x530790
mov edi, dword [esp + 0x30]
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
mov eax, edx
not eax
shl eax, 7
add eax, edi
cmp cl, 0xff
je 0x531170
shl edx, 7
mov ecx, edi
mov esi, dword [esp + 0x38]
sub ecx, edx
cmp dword [esp + 0x50], ecx
jae 0x5307f0
cmp eax, dword [esp + 0x60]
jae 0x5307f0
mov eax, 0xffffff80
nop word cs:[eax + eax]
movzx edx, byte [esi + eax]
mov dh, byte [ecx + eax]
mov byte [esi + eax], dh
mov byte [ecx + eax], dl
inc eax
jne 0x531150
jmp 0x530876
mov esi, dword [esp + 0x3c]
lea ecx, [esi - 0x10]
mov byte [edi + esi], 0xff
and ecx, ebx
mov byte [ecx + edi + 0x10], 0xff
push pe_nt_image_headers32
push dword [esp + 0x48]
push eax
call sym._memcpy
movaps xmm7, xmmword [esp + 0x7c]
mov edx, esi
add esp, 0xc
jmp 0x5307a7
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x54]
cmp eax, 8
cmovb ecx, eax
sub ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x34]
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