Function at 0x4d82a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x4c
mov eax, dword [ecx + 0xc]
mov dword [esp + 0x18], eax
inc eax
je 0x4d8ed8
mov ebp, dword [ecx + 4]
mov esi, ecx
mov dword [esp + 4], edx
mov dword [esp + 0x10], esi
lea ebx, [ebp + 1]
mov dword [esp + 0x2c], ebp
mov ecx, ebx
mov edi, ebx
shr ecx, 3
and edi, 0xfffffff8
sub edi, ecx
cmp ebp, 8
cmovb edi, ebp
mov ecx, edi
shr ecx, 1
cmp eax, ecx
jbe 0x4d8306
inc edi
mov dword [esp + 0x30], ebx
cmp eax, edi
cmova edi, eax
cmp edi, 8
jae 0x4d8371
xor eax, eax
cmp edi, 4
setae al
lea esi, [eax*4 + 4]
jmp 0x4d83aa
mov edx, ebx
mov ebx, dword [esi]
xor eax, eax
mov dword [esp + 0x20], edi
mov ecx, edx
mov edi, edx
shr ecx, 4
test dl, 0xf
setne al
add eax, ecx
je 0x4d8346
movdqa xmm0, xmmword [0x4de4a0]
mov ecx, ebx
nop dword [eax + eax]
pxor xmm1, xmm1
dec eax
pcmpgtb xmm1, xmmword [ecx]
por xmm1, xmm0
movdqa xmmword [ecx], xmm1
lea ecx, [ecx + 0x10]
jne 0x4d8330
cmp edi, 0x10
jae 0x4d8430
lea eax, [ebx + 0x10]
push edi
push ebx
push eax
call sub.VCRUNTIME140.dll_memmove
mov esi, dword [esp + 0x1c]
add esp, 0xc
cmp ebp, 0xffffffff
jne 0x4d8444
xor eax, eax
jmp 0x4d8cd1
cmp edi, 0x20000000
jae 0x4d8ed8
shl edi, 3
mov esi, 1
cmp edi, 0xe
jb 0x4d83aa
mov ecx, 0x24924925
mov eax, edi
mov esi, 0xffffffff
mul ecx
sub edi, edx
shr edi, 1
add edi, edx
shr edi, 2
dec edi
bsr ecx, edi
not ecx
shr esi, cl
inc esi
mov ecx, 0xc
mov eax, esi
mul ecx
jo 0x4d8ed8
add eax, 0xf
jb 0x4d8ed8
and eax, 0xfffffff0
lea ebx, [esi + 0x10]
mov edi, eax
add edi, ebx
jb 0x4d8ed8
cmp edi, 0x7ffffff1
jae 0x4d8ed8
mov ebp, eax
test edi, edi
je 0x4d8cdd
movzx eax, byte [0x537170]
mov eax, dword [0x5371d8]
test eax, eax
jne 0x4d840b
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
test eax, eax
je 0x4d8edd
mov dword [0x5371d8], eax
lea ecx, [edi + 0x10]
push ecx
push 0
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x4d8edd
mov edi, eax
and edi, 0xfffffff0
mov dword [edi + 0xc], eax
add edi, 0x10
jmp 0x4d8ce2
movq xmm0, qword [ebx]
movq xmm1, qword [ebx + 8]
movq qword [ebx + edi + 8], xmm1
movq qword [ebx + edi], xmm0
mov edx, dword [esp + 4]
movdqa xmm2, xmmword [0x4de4d0]
lea eax, [ebx - 0xc]
xor ecx, ecx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x24], eax
movdqu xmm1, xmmword [edx]
pshufd xmm0, xmm1, 0x44
pxor xmm0, xmmword [str.arenegyluespemossetybdetmodnarod]
movdqu xmmword [esp + 0x3c], xmm0
pshufd xmm0, xmm1, 0xee
pxor xmm0, xmmword [0x4de4c0]
jmp 0x4d84b4
mov edx, dword [esp + 8]
shr eax, 0x19
lea ecx, [edx - 0x10]
mov byte [ebx + edx], al
and ecx, ebp
mov byte [ecx + ebx + 0x10], al
mov esi, dword [esp + 0x10]
mov ecx, edx
cmp ecx, ebp
lea ecx, [ecx + 1]
je 0x4d8ccd
cmp byte [ebx + ecx], 0x80
jne 0x4d84a9
lea eax, [ecx*4]
mov edx, dword [esp + 0x24]
mov dword [esp + 8], ecx
lea eax, [eax + eax*2]
sub ebx, eax
mov eax, ecx
neg eax
add ebx, 0xfffffff4
lea eax, [eax + eax*2]
mov dword [esp + 0x1c], ebx
lea eax, [edx + eax*4]
mov dword [esp + 0x28], eax
nop word cs:[eax + eax]
nop dword [eax]
mov eax, dword [esp + 0x28]
movups xmm4, xmmword [esp + 0x3c]
mov esi, 0
movdqa xmm1, xmm0
mov edi, dword [eax + 4]
mov edx, dword [eax]
mov ecx, edi
mov dword [esp], edi
and ecx, 0xfffffff8
je 0x4d860f
movdqu xmm4, xmmword [esp + 0x3c]
lea eax, [ecx - 1]
xor esi, esi
movdqa xmm1, xmm0
and eax, 0xfffffff8
mov dword [esp + 4], eax
nop dword [eax + eax]
mov edi, dword [edx + esi + 8]
mov ebx, dword [edx + esi + 0xc]
pshufd xmm5, xmm1, 0x55
movd ebp, xmm1
movdqa xmm3, xmm1
add esi, 8
movd eax, xmm5
psrlq xmm3, 0x33
xor eax, ebx
xor ebp, edi
movd xmm6, ebp
movd xmm5, eax
punpcklqdq xmm5, xmm6
shufps xmm5, xmm1, 0xe2
psllq xmm1, 0xd
movaps xmm7, xmm5
paddq xmm4, xmm5
psllq xmm5, 0x10
pshufd xmm6, xmm4, 0xff
psrlq xmm7, 0x30
movsd xmm1, xmm5
movdqa xmm5, xmm4
movd eax, xmm6
movsd xmm3, xmm7
orpd xmm1, xmm3
movd xmm6, eax
shufps xmm5, xmm6, 0x4e
xorpd xmm1, xmm4
shufps xmm5, xmm4, 0x42
movapd xmm3, xmm1
movapd xmm4, xmm1
psrlq xmm3, 0x2b
psrlq xmm4, 0x2f
paddq xmm5, xmm1
movsd xmm4, xmm3
movdqa xmm3, xmm1
psllq xmm1, 0x11
movd eax, xmm5
psllq xmm3, 0x15
xor eax, edi
movsd xmm1, xmm3
pshufd xmm3, xmm5, 0x55
movd ebp, xmm3
movd xmm3, eax
orpd xmm1, xmm4
movdqa xmm4, xmm5
xor ebp, ebx
xorpd xmm1, xmm5
cmp esi, ecx
movd xmm6, ebp
punpcklqdq xmm6, xmm3
shufps xmm4, xmm6, 0x2b
jb 0x4d8530
mov esi, dword [esp + 4]
mov edi, dword [esp]
add esi, 8
mov ebx, edi
and ebx, 7
cmp ebx, 3
jbe 0x4d8630
mov eax, dword [edx + esi + 8]
xor ecx, ecx
mov dword [esp + 4], eax
mov eax, 4
jmp 0x4d863c
xor ecx, ecx
xor eax, eax
mov dword [esp + 4], 0
mov ebp, eax
mov dword [esp + 0x14], ecx
or ebp, 1
cmp ebp, ebx
jae 0x4d86a0
lea ecx, [eax + esi]
mov ebp, esi
xor esi, esi
movzx edi, word [edx + ecx + 8]
lea ecx, [eax*8]
shld esi, edi, cl
shl edi, cl
test cl, 0x20
mov ecx, 0
cmovne esi, edi
cmovne edi, ecx
or eax, 2
or dword [esp + 4], edi
mov edi, dword [esp]
or dword [esp + 0x14], esi
cmp eax, ebx
jb 0x4d86a6
inc edi
test ebx, ebx
je 0x4d87e5
mov dword [esp], edi
mov eax, dword [esp + 4]
mov edi, dword [esp + 0x14]
jmp 0x4d86d8
mov ebp, esi
cmp eax, ebx
jae 0x4d8681
add ebp, eax
shl eax, 3
xor esi, esi
movzx edx, byte [edx + ebp + 8]
mov ecx, eax
shld esi, edx, cl
shl edx, cl
test al, 0x20
mov eax, 0
mov ecx, edi
mov edi, dword [esp + 0x14]
cmovne esi, edx
cmovne edx, eax
mov eax, dword [esp + 4]
inc ecx
mov dword [esp], ecx
or edi, esi
or eax, edx
lea ecx, [ebx*8]
mov ebp, 0xff
xor edx, edx
mov esi, 0xff
shld edx, esi, cl
shl ebp, cl
test cl, 0x20
mov ecx, 0
cmovne edx, ebp
cmovne ebp, ecx
or edx, edi
or ebp, eax
cmp ebx, 7
jne 0x4d8930
pshufd xmm3, xmm1, 0x55
movd ecx, xmm1
movdqa xmm7, xmm1
mov edi, dword [esp]
mov eax, 8
movd esi, xmm3
xor ecx, ebp
movsd xmm7, xmm4
sub eax, ebx
xor esi, edx
movd xmm3, ecx
movd xmm6, esi
punpcklqdq xmm6, xmm3
movdqa xmm5, xmm6
shufps xmm6, xmm1, 0xe2
shufps xmm5, xmm4, 0xe2
movdqa xmm4, xmm1
psllq xmm1, 0xd
paddq xmm5, xmm7
psrlq xmm4, 0x33
pshufd xmm3, xmm5, 0xff
movd ecx, xmm3
movaps xmm3, xmm6
psllq xmm6, 0x10
psrlq xmm3, 0x30
movsd xmm1, xmm6
movd xmm7, ecx
movsd xmm4, xmm3
orpd xmm1, xmm4
movdqa xmm4, xmm5
shufps xmm4, xmm7, 0x4e
xorpd xmm1, xmm5
shufps xmm4, xmm5, 0x42
movapd xmm3, xmm1
movapd xmm5, xmm1
psrlq xmm3, 0x2b
psrlq xmm5, 0x2f
paddq xmm4, xmm1
movsd xmm5, xmm3
movdqa xmm3, xmm1
psllq xmm1, 0x11
movd ecx, xmm4
psllq xmm3, 0x15
xor ecx, ebp
movsd xmm1, xmm3
pshufd xmm3, xmm4, 0x55
movd esi, xmm3
orpd xmm1, xmm5
movd xmm3, ecx
xor esi, edx
xorpd xmm1, xmm4
movd xmm5, esi
punpcklqdq xmm5, xmm3
shufps xmm4, xmm5, 0x2b
jmp 0x4d87e7
xor eax, eax
mov ecx, 1
sub ecx, eax
mov ebx, ecx
and ecx, 0xfffffff8
and ebx, 7
cmp eax, ecx
jae 0x4d88d0
nop
movd edx, xmm1
movapd xmm5, xmm1
movdqa xmm7, xmm1
add eax, 8
xor edx, 0xff
psrlq xmm7, 0x33
cmp eax, ecx
movd xmm3, edx
movss xmm5, xmm3
paddq xmm4, xmm5
psllq xmm5, 0x10
pshufd xmm3, xmm4, 0xff
movd edx, xmm3
movdqa xmm3, xmm1
psllq xmm1, 0xd
psrlq xmm3, 0x30
movsd xmm1, xmm5
movd xmm6, edx
movdqa xmm5, xmm4
movsd xmm7, xmm3
shufps xmm5, xmm6, 0x4e
orpd xmm1, xmm7
shufps xmm5, xmm4, 0x42
xorpd xmm1, xmm4
movapd xmm3, xmm1
movapd xmm4, xmm1
movapd xmm7, xmm1
paddq xmm5, xmm1
psllq xmm1, 0x11
movdqa xmm6, xmm5
psllq xmm7, 0x15
psrlq xmm3, 0x2b
psrlq xmm4, 0x2f
pxor xmm6, xmm2
movsd xmm4, xmm3
movsd xmm1, xmm7
orpd xmm1, xmm4
shufps xmm6, xmm5, 0xd4
movaps xmm4, xmm5
xorpd xmm1, xmm5
shufps xmm4, xmm6, 0x8b
jb 0x4d8800
xor edx, edx
xor eax, eax
cmp ebx, 4
mov ebp, 0
mov ecx, 0xff
setae al
cmovae ebp, ecx
shl eax, 2
jmp 0x4d88d6
xor ebp, ebp
xor edx, edx
xor eax, eax
mov ecx, eax
mov dword [esp], edi
or ecx, 1
cmp ecx, ebx
jae 0x4d890a
lea ecx, [eax*8]
xor esi, esi
mov edi, 0xff
shld esi, edi, cl
shl edi, cl
test cl, 0x20
mov ecx, 0
cmovne esi, edi
cmovne edi, ecx
or eax, 2
or edx, esi
or ebp, edi
cmp eax, ebx
jae 0x4d8930
shl eax, 3
xor esi, esi
mov edi, 0xff
mov ecx, eax
shld esi, edi, cl
shl edi, cl
test al, 0x20
mov eax, 0
cmovne esi, edi
cmovne edi, eax
or edx, esi
or ebp, edi
mov esi, dword [esp]
pshufd xmm3, xmm1, 0x55
movd eax, xmm1
movdqa xmm7, xmm1
mov ebx, dword [esp + 0xc]
movd ecx, xmm3
xor eax, ebp
psrlq xmm7, 0x33
movd xmm3, eax
shl esi, 0x18
or esi, edx
xor ecx, esi
movd xmm5, ecx
punpcklqdq xmm5, xmm3
shufps xmm5, xmm1, 0xe2
psllq xmm1, 0xd
paddq xmm4, xmm5
pshufd xmm3, xmm4, 0xff
movd eax, xmm3
movdqa xmm3, xmm5
psllq xmm5, 0x10
psrlq xmm3, 0x30
movsd xmm1, xmm5
movd xmm6, eax
movdqa xmm5, xmm4
movsd xmm7, xmm3
shufps xmm5, xmm6, 0x4e
orpd xmm1, xmm7
shufps xmm5, xmm4, 0x42
xorpd xmm1, xmm4
movapd xmm3, xmm1
movapd xmm4, xmm1
paddq xmm5, xmm1
psrlq xmm3, 0x2b
psrlq xmm4, 0x2f
movd ecx, xmm5
movsd xmm4, xmm3
movdqa xmm3, xmm1
psllq xmm1, 0x11
xor ecx, ebp
mov ebp, dword [esp + 0x2c]
psllq xmm3, 0x15
movsd xmm1, xmm3
pshufd xmm3, xmm5, 0xff
movd eax, xmm3
pshufd xmm3, xmm5, 0x55
orpd xmm1, xmm4
movd xmm4, ecx
movd edx, xmm3
xor eax, 0xff
xorpd xmm1, xmm5
xor edx, esi
movd xmm3, eax
movd xmm6, edx
shufpd xmm5, xmm3, 1
punpcklqdq xmm6, xmm4
movapd xmm4, xmm1
shufps xmm5, xmm1, 0xe2
shufps xmm4, xmm6, 0x24
paddq xmm5, xmm4
movaps xmm4, xmm1
pshufd xmm3, xmm5, 0xff
psrlq xmm4, 0x33
movd eax, xmm3
movaps xmm3, xmm1
psrlq xmm3, 0x30
movd xmm6, eax
movsd xmm4, xmm3
movaps xmm3, xmm1
psllq xmm1, 0xd
psllq xmm3, 0x10
movsd xmm1, xmm3
orpd xmm1, xmm4
movdqa xmm4, xmm5
shufps xmm4, xmm6, 0x4e
xorpd xmm1, xmm5
shufps xmm4, xmm5, 0x42
movapd xmm3, xmm1
movapd xmm5, xmm1
psrlq xmm3, 0x2b
psrlq xmm5, 0x2f
paddq xmm4, xmm1
movsd xmm5, xmm3
movdqa xmm3, xmm1
psllq xmm1, 0x11
psllq xmm3, 0x15
movsd xmm1, xmm3
pshufd xmm3, xmm4, 0xff
movd eax, xmm3
orpd xmm1, xmm5
movdqa xmm5, xmm4
movd xmm3, eax
xorpd xmm1, xmm4
shufps xmm5, xmm3, 0x4e
movapd xmm6, xmm1
shufps xmm5, xmm4, 0x42
psrlq xmm6, 0x33
paddq xmm5, xmm1
pshufd xmm3, xmm5, 0xff
movd eax, xmm3
movdqa xmm3, xmm1
psrlq xmm3, 0x30
movd xmm4, eax
movsd xmm6, xmm3
movdqa xmm3, xmm1
psllq xmm1, 0xd
psllq xmm3, 0x10
movsd xmm1, xmm3
orpd xmm1, xmm6
movdqa xmm6, xmm5
xorpd xmm1, xmm5
shufps xmm6, xmm4, 0x4e
movapd xmm3, xmm1
movapd xmm4, xmm1
shufps xmm6, xmm5, 0x42
psrlq xmm3, 0x2b
psrlq xmm4, 0x2f
paddq xmm6, xmm1
movsd xmm4, xmm3
movdqa xmm3, xmm1
psllq xmm1, 0x11
psllq xmm3, 0x15
movsd xmm1, xmm3
pshufd xmm3, xmm6, 0xff
orpd xmm1, xmm4
movd eax, xmm3
movdqa xmm4, xmm6
xorpd xmm1, xmm6
movd xmm3, eax
shufps xmm4, xmm3, 0x4e
movapd xmm3, xmm1
movapd xmm5, xmm1
psrlq xmm3, 0x30
psrlq xmm5, 0x33
shufps xmm4, xmm6, 0x42
movsd xmm5, xmm3
movapd xmm3, xmm1
paddq xmm4, xmm1
psllq xmm1, 0xd
psllq xmm3, 0x10
movsd xmm1, xmm3
orpd xmm1, xmm5
xorpd xmm1, xmm4
movapd xmm3, xmm1
movapd xmm5, xmm1
movapd xmm6, xmm1
psrlq xmm3, 0x2b
psrlq xmm5, 0x2f
psllq xmm6, 0x11
movsd xmm5, xmm3
movapd xmm3, xmm1
psllq xmm3, 0x15
movsd xmm6, xmm3
orpd xmm6, xmm5
movapd xmm3, xmm6
shufpd xmm3, xmm4, 1
xorpd xmm6, xmm3
paddq xmm3, xmm1
pshufd xmm1, xmm3, 0xee
movd eax, xmm6
movd ecx, xmm1
pshufd xmm1, xmm3, 0xff
movd edx, xmm1
xor eax, edx
xor eax, ecx
mov ecx, ebp
and ecx, eax
movdqu xmm1, xmmword [ebx + ecx]
mov esi, ecx
pmovmskb edx, xmm1
test edx, edx
jne 0x4d8c14
mov edi, 0x10
mov esi, ecx
nop dword [eax + eax]
add esi, edi
add edi, 0x10
and esi, ebp
movdqu xmm1, xmmword [ebx + esi]
pmovmskb edx, xmm1
test edx, edx
je 0x4d8c00
tzcnt edx, edx
add edx, esi
and edx, ebp
cmp byte [ebx + edx], 0
js 0x4d8c2e
movdqa xmm1, xmmword [ebx]
pmovmskb edx, xmm1
tzcnt edx, edx
mov esi, dword [esp + 8]
mov edi, edx
sub edi, ecx
sub esi, ecx
xor edi, esi
and edi, ebp
cmp edi, 0x10
jb 0x4d8490
lea ecx, [edx*4]
mov edi, ebx
lea esi, [edx - 0x10]
shr eax, 0x19
lea ecx, [ecx + ecx*2]
and esi, ebp
neg ecx
lea ecx, [ebx + ecx - 0xc]
movzx ebx, byte [ebx + edx]
mov byte [edi + edx], al
mov byte [esi + edi + 0x10], al
cmp bl, 0xff
je 0x4d8ca0
mov esi, dword [esp + 0x1c]
mov edx, dword [ecx]
mov eax, dword [esi]
mov dword [esi], edx
mov dword [ecx], eax
mov eax, dword [esi + 4]
mov edx, dword [ecx + 4]
mov dword [esi + 4], edx
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov edx, dword [ecx + 8]
mov dword [esi + 8], edx
mov dword [ecx + 8], eax
jmp 0x4d84f0
mov edx, dword [esp + 8]
mov ebx, dword [esp + 0xc]
mov esi, dword [esp + 0x1c]
lea eax, [edx - 0x10]
mov byte [ebx + edx], 0xff
and eax, ebp
mov byte [eax + ebx + 0x10], 0xff
mov eax, dword [esi + 8]
mov dword [ecx + 8], eax
movq xmm1, qword [esi]
movq qword [ecx], xmm1
jmp 0x4d84a3
mov eax, dword [esp + 0x20]
sub eax, dword [esp + 0x18]
mov dword [esi + 8], eax
jmp 0x4d8ecb
mov edi, 0x10
mov eax, esi
mov edx, esi
lea ecx, [esi - 1]
shr eax, 3
and edx, 0xfffffff8
mov dword [esp], ecx
sub edx, eax
cmp esi, 9
cmovb edx, ecx
add edi, ebp
mov dword [esp + 0x34], edx
push ebx
push 0xff
push edi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov eax, dword [esp + 0x10]
cmp dword [esp + 0x18], 0
mov ebx, edi
mov eax, dword [eax]
mov dword [esp + 8], eax
je 0x4d8e7d
mov eax, dword [esp + 8]
mov ebp, dword [esp + 4]
xor edi, edi
mov dword [esp + 0x38], ebx
lea ecx, [eax - 0xc]
movdqa xmm0, xmmword [eax]
mov dword [esp + 0x28], ecx
mov ecx, dword [ebp]
pmovmskb esi, xmm0
mov dword [esp + 0xc], ecx
mov ecx, dword [ebp + 4]
not esi
mov dword [esp + 0x1c], ecx
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x24], ecx
mov ecx, dword [ebp + 8]
mov ebp, eax
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x18]
jmp 0x4d8dc5
mov eax, dword [esp + 0x3c]
lea ecx, [edx - 0x10]
and ecx, dword [esp]
shr eax, 0x19
mov byte [ebx + edx], al
mov byte [ecx + ebx + 0x10], al
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 8]
shl edx, 2
shl eax, 2
lea eax, [eax + eax*2]
sub ecx, eax
lea eax, [edx + edx*2]
mov edx, ebx
movq xmm0, qword [ecx - 0xc]
sub edx, eax
neg eax
movq qword [ebx + eax - 0xc], xmm0
mov eax, dword [ecx - 4]
mov ecx, dword [esp + 4]
mov dword [edx - 4], eax
lea eax, [esi - 1]
dec ecx
and eax, esi
test ecx, ecx
mov esi, eax
je 0x4d8e7d
test si, si
mov dword [esp + 4], ecx
jne 0x4d8de9
nop
movdqa xmm0, xmmword [ebp + 0x10]
add ebp, 0x10
add edi, 0x10
pmovmskb esi, xmm0
cmp esi, 0xffff
je 0x4d8dd0
not esi
tzcnt eax, esi
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x28]
add eax, edi
mov dword [esp + 0x14], eax
neg eax
lea eax, [eax + eax*2]
push dword [ebx + eax*4 + 4]
push dword [ebx + eax*4]
push dword [esp + 0x2c]
push dword [esp + 0x2c]
call fcn.0042d1e0
add esp, 0x10
mov ecx, dword [esp]
mov ebx, dword [esp + 0x38]
mov dword [esp + 0x3c], eax
and ecx, eax
movdqu xmm0, xmmword [ebx + ecx]
pmovmskb edx, xmm0
test edx, edx
jne 0x4d8e57
mov eax, ebx
mov ebx, 0x10
nop dword [eax]
add ecx, ebx
add ebx, 0x10
and ecx, dword [esp]
movdqu xmm0, xmmword [eax + ecx]
pmovmskb edx, xmm0
test edx, edx
je 0x4d8e40
mov ebx, eax
mov eax, dword [esp]
tzcnt edx, edx
add edx, ecx
and edx, eax
cmp byte [ebx + edx], 0
js 0x4d8d70
movdqa xmm0, xmmword [ebx]
pmovmskb ecx, xmm0
tzcnt edx, ecx
jmp 0x4d8d70
mov edx, dword [esp + 0x34]
mov esi, dword [esp + 0x2c]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp]
sub edx, dword [esp + 0x18]
test esi, esi
mov dword [eax], ebx
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
je 0x4d8ecb
mov eax, dword [esp + 0x30]
mov ecx, 0xc
mul ecx
add eax, 0xf
and eax, 0xfffffff0
add esi, eax
cmp esi, 0xffffffef
je 0x4d8ecb
mov ecx, dword [esp + 8]
sub ecx, eax
push dword [ecx - 4]
push 0
push dword [0x5371d8]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, 0x80000001
add esp, 0x4c
pop esi
pop edi
pop ebx
pop ebp
ret
call fcn.004244d0
mov ecx, edi
call fcn.00424510
int3