Function at 0x4d3f80
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5594fb
mov eax, dword fs:[0]
push eax
mov eax, 0x60e0
call fcn.00520bc0
mov eax, dword [0x5a9008]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov edi, ecx
mov dword [ebp - 0x60ec], edi
cmp word [esi], 0
je 0x4d3fee
cmp word [esi + 2], 0
jne 0x4d3fee
mov eax, dword [0x57e040]
mov dword [ebp - 0x101c], eax
mov ax, word [0x57e044]
mov word [ebp - 0x1018], ax
lea eax, [ebp - 0x1018]
push 0x7ff
jmp 0x4d3ff9
push 0x801
lea eax, [ebp - 0x101c]
push esi
push eax
call fcn.0053048c
add esp, 0xc
lea edx, [ebp - 0x201c]
xor eax, eax
mov word [ebp - 0x1a], ax
push ecx
mov ecx, edi
call fcn.004d42c0
add esp, 4
cmp word [ebp - 0x201c], 0x3a
je 0x4d4044
mov eax, dword [0x5aa7f8]
mov ecx, 3
cmp eax, 0xb
cmovne eax, ecx
inc dword [0x5aa7fc]
mov dword [0x5aa7f8], eax
jmp 0x4d429f
cmp byte [ebp + 8], 0
je 0x4d405a
push 0
push 0
mov ecx, edi
call fcn.004d2550
jmp 0x4d429f
lea ecx, [ebp - 0x101c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4d4063
sub ecx, edx
mov eax, 0x801
sar ecx, 1
sub eax, ecx
test eax, eax
jle 0x4d4097
push eax
lea eax, [ebp - 0x201c]
push eax
lea eax, [ebp - 0x101c]
push eax
lfence
call fcn.005304cf
add esp, 0xc
xorps xmm0, xmm0
lea edx, [ebp - 0x60e4]
push ecx
mov ecx, esi
movlpd qword [ebp - 0x50d4], xmm0
movlpd qword [ebp - 0x50cc], xmm0
movlpd qword [ebp - 0x50c4], xmm0
call fcn.004d5e20
mov ebx, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
add esp, 4
test byte [ebp - 0x50dc], 1
mov byte [ebp - 0x60e5], al
je 0x4d410e
mov edi, dword [ebp - 0x50dc]
and edi, 0xfffffffe
push edi
push esi
call ebx
test eax, eax
jne 0x4d4108
push ecx
lea edx, [ebp - 0x301c]
mov ecx, esi
call fcn.004cbc50
add esp, 4
test al, al
je 0x4d4108
push edi
lea eax, [ebp - 0x301c]
push eax
call ebx
mov edi, dword [ebp - 0x60ec]
lea ecx, [ebp - 0x405c]
call fcn.004d52d0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x101c]
push 0x11
push eax
call fcn.004d5580
test al, al
jne 0x4d4144
inc dword [0x5aa7fc]
mov dword [0x5aa7f8], 9
jmp 0x4d41b4
lea eax, [ebp - 0x405c]
mov ecx, edi
push eax
push 0
call fcn.004d2550
test al, al
je 0x4d41b4
mov eax, dword [ebp - 0x4054]
mov cl, 1
test eax, eax
je 0x4d41b4
cmp eax, 0xffffffff
je 0x4d4192
cmp byte [ebp - 0x4048], 0
jne 0x4d4188
cmp dword [ebp - 0x404c], 0
jne 0x4d4188
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp eax, 1
sete cl
mov dword [ebp - 0x4054], 0xffffffff
mov dword [ebp - 0x404c], 0
test cl, cl
jne 0x4d41b4
cmp byte [ebp - 0x4044], cl
je 0x4d41b4
push 2
mov ecx, 0x5aa7f8
call fcn.004d3050
lea ecx, [ebp - 0x509c]
call fcn.004d52d0
mov byte [ebp - 4], 1
cmp byte [ebp - 0x60e5], 0
je 0x4d41f9
push 5
push esi
call fcn.004d5420
test al, al
je 0x4d41f9
lea eax, [ebp - 0x50ac]
push eax
lea eax, [ebp - 0x50b4]
push eax
lea eax, [ebp - 0x50bc]
push eax
push dword [ebp - 0x5094]
call dword [sym.imp.KERNEL32.dll_SetFileTime]
mov edi, dword [ebp - 0x50dc]
push edi
push esi
call ebx
test eax, eax
jne 0x4d4226
push ecx
lea edx, [ebp - 0x301c]
mov ecx, esi
call fcn.004cbc50
add esp, 4
test al, al
je 0x4d4226
push edi
lea eax, [ebp - 0x301c]
push eax
call ebx
mov byte [ebp - 4], 0
cmp dword [ebp - 0x5094], 0xffffffff
mov dword [ebp - 0x509c], 0x57e048
je 0x4d4261
cmp byte [ebp - 0x5088], 0
jne 0x4d4261
cmp byte [ebp - 0x5086], 0
lea ecx, [ebp - 0x509c]
je 0x4d425c
call fcn.004d5700
jmp 0x4d4261
call fcn.004d56a0
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x4054], 0xffffffff
mov dword [ebp - 0x405c], 0x57e048
je 0x4d429f
cmp byte [ebp - 0x4048], 0
jne 0x4d429f
cmp byte [ebp - 0x4046], 0
lea ecx, [ebp - 0x405c]
je 0x4d429a
call fcn.004d5700
jmp 0x4d429f
call fcn.004d56a0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004ef615
mov esp, ebp
pop ebp
ret