Function at 0x4f2e20
Capabilities:
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6a9301
mov eax, dword fs:[0]
push eax
sub esp, 0x140
mov eax, dword [0x7ca00c]
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 dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x130], edi
mov esi, dword [ebp + 8]
mov ecx, esi
mov dword [ebp - 0x134], edi
call fcn.005a0f20
test al, al
je 0x4f3896
mov ecx, dword [ebp + 0xc]
call fcn.005a1250
test al, al
je 0x4f3896
xor eax, eax
lea ecx, [ebp - 0x2c]
mov edx, esi
mov dword [ebp - 0x12c], eax
mov dword [ebp - 4], eax
call fcn.004eeff0
mov byte [ebp - 4], 1
cmp dword [ebp - 0x1c], 0
jne 0x4f321e
push 0x7ec3b8
mov dword [ebp - 0x12c], 4
call fcn.00641a44
add esp, 4
test eax, eax
jne 0x4f38b9
push eax
push 0x708717
lea ecx, [ebp - 0x128]
mov dword [ebp - 0x118], eax
mov dword [ebp - 0x114], 0xf
mov byte [ebp - 0x128], al
call fcn.00428b60
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x110]
push 0
push 0x708717
mov dword [ebp - 0x100], 0
mov dword [ebp - 0xfc], 0xf
mov byte [ebp - 0x110], 0
call fcn.00428b60
mov byte [ebp - 4], 3
mov edx, dword [edi + 4]
mov ecx, edx
mov dword [ebp - 0xe8], 0
mov dword [ebp - 0xe4], 0xf
mov byte [ebp - 0xf8], 0
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4f2f42
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0xf8]
call fcn.00428b60
lea eax, [ebp - 0x128]
mov byte [ebp - 4], 4
push eax
lea edx, [ebp - 0x110]
lea ecx, [ebp - 0xf8]
call fcn.005c4a20
add esp, 4
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0xe4]
test eax, eax
setne bl
cmp edx, 0x10
jb 0x4f2fba
mov ecx, dword [ebp - 0xf8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4f2fb0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4f38bf
push edx
push ecx
call fcn.0063e103
add esp, 8
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0xfc]
mov dword [ebp - 0xe8], 0
mov dword [ebp - 0xe4], 0xf
mov byte [ebp - 0xf8], 0
cmp edx, 0x10
jb 0x4f3013
mov ecx, dword [ebp - 0x110]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4f3009
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4f38bf
push edx
push ecx
call fcn.0063e103
add esp, 8
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x114]
cmp edx, 0x10
jb 0x4f3051
mov ecx, dword [ebp - 0x128]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4f3047
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4f38bf
push edx
push ecx
call fcn.0063e103
add esp, 8
test bl, bl
je 0x4f3204
push 0
push 0x708717
lea ecx, [ebp - 0x110]
mov dword [ebp - 0x100], 0
mov dword [ebp - 0xfc], 0xf
mov byte [ebp - 0x110], 0
call fcn.00428b60
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x128]
push 0
push 0x708717
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x114], 0xf
mov byte [ebp - 0x128], 0
call fcn.00428b60
mov byte [ebp - 4], 6
mov edx, dword [edi + 4]
mov ecx, edx
mov dword [ebp - 0xe8], 0
mov dword [ebp - 0xe4], 0xf
mov byte [ebp - 0xf8], 0
lea esi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4f30e0
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0xf8]
call fcn.00428b60
lea eax, [ebp - 0x110]
mov byte [ebp - 4], 7
push eax
lea edx, [ebp - 0x128]
lea ecx, [ebp - 0xf8]
call fcn.005c4a20
add esp, 4
mov ecx, eax
mov eax, dword [ecx]
push str.DeleteFromVDIStorage
push str.Unable_to_retrieve_AppData_Roaming_Path_in__s
push 0x708717
push ecx
call dword [eax + 0x24]
mov byte [ebp - 4], 6
add esp, 0x10
mov edx, dword [ebp - 0xe4]
cmp edx, 0x10
jb 0x4f316d
mov ecx, dword [ebp - 0xf8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4f3163
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4f38c4
push edx
push ecx
call fcn.0063e103
add esp, 8
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x114]
mov dword [ebp - 0xe8], 0
mov dword [ebp - 0xe4], 0xf
mov byte [ebp - 0xf8], 0
cmp edx, 0x10
jb 0x4f31c6
mov ecx, dword [ebp - 0x128]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4f31bc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4f38c4
push edx
push ecx
call fcn.0063e103
add esp, 8
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0xfc]
cmp edx, 0x10
jb 0x4f3204
mov ecx, dword [ebp - 0x110]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4f31fa
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4f38c4
push edx
push ecx
call fcn.0063e103
add esp, 8
push 0x7ec3b8
call fcn.00641a69
add esp, 4
test eax, eax
jne 0x4f38c9
jmp 0x4f36c7
call fcn.005c4780
lea eax, [ebp - 0x2c]
push eax
call fcn.005c7e00
mov esi, dword [eax]
mov dword [ebp - 0x30], esi
mov byte [ebp - 4], 8
test esi, esi
je 0x4f3242
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
mov ecx, eax
test cl, 2
je 0x4f3271
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
and ecx, 0xfffffffd
push ecx
push eax
call dword [sym.imp.KERNEL32.DLL_SetFileAttributesW]
push 0xb0
lea eax, [ebp - 0xe0]
push 0
push eax
call fcn.006501e0
add esp, 8
lea ecx, [ebp - 0xe0]
call fcn.00503580
mov byte [ebp - 4], 9
lea eax, [ebp - 0x2c]
cmp dword [ebp - 0x18], 8
lea ecx, [ebp - 0xe0]
cmovae eax, dword [ebp - 0x2c]
sub esp, 8
push eax
call fcn.00503520
mov eax, dword [ebp - 0xe0]
mov eax, dword [eax + 4]
test byte [ebp + eax - 0xd4], 6
je 0x4f32c7
xor bl, bl
jmp 0x4f3303
lea ecx, [ebp - 0xdc]
call fcn.004397e0
test eax, eax
jne 0x4f3301
mov eax, dword [ebp - 0xe0]
lea ecx, [ebp - 0xe0]
push 0
mov eax, dword [eax + 4]
add ecx, eax
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push eax
call fcn.00433500
mov bl, 1
lea ecx, [ebp - 0xe0]
mov byte [ebp - 4], 8
call fcn.00502e50
test bl, bl
jne 0x4f3691
push 0x7ec3b8
mov dword [ebp - 0x12c], 4
call fcn.00641a44
add esp, 4
test eax, eax
jne 0x4f38cf
push eax
push 0x708717
lea ecx, [ebp - 0x110]
mov dword [ebp - 0x100], eax
mov dword [ebp - 0xfc], 0xf
mov byte [ebp - 0x110], al
call fcn.00428b60
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x128]
push 0
push 0x708717
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x114], 0xf
mov byte [ebp - 0x128], bl
call fcn.00428b60
mov byte [ebp - 4], 0xb
mov edx, dword [edi + 4]
mov ecx, edx
mov dword [ebp - 0xe8], 0
mov dword [ebp - 0xe4], 0xf
mov byte [ebp - 0xf8], bl
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4f33b6
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0xf8]
call fcn.00428b60
lea eax, [ebp - 0x110]
mov byte [ebp - 4], 0xc
push eax
lea edx, [ebp - 0x128]
lea ecx, [ebp - 0xf8]
call fcn.005c4a20
add esp, 4
mov byte [ebp - 4], 0xb
mov edx, dword [ebp - 0xe4]
test eax, eax
setne bl
cmp edx, 0x10
jb 0x4f342e
mov ecx, dword [ebp - 0xf8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4f3424
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4f38d5
push edx
push ecx
call fcn.0063e103
add esp, 8
mov byte [ebp - 4], 0xa
mov edx, dword [ebp - 0x114]
mov dword [ebp - 0xe8], 0
mov dword [ebp - 0xe4], 0xf
mov byte [ebp - 0xf8], 0
cmp edx, 0x10
jb 0x4f3487
mov ecx, dword [ebp - 0x128]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4f347d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4f38d5
push edx
push ecx
call fcn.0063e103
add esp, 8
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0xfc]
cmp edx, 0x10
jb 0x4f34c5
mov ecx, dword [ebp - 0x110]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4f34bb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4f38d5
push edx
push ecx
call fcn.0063e103
add esp, 8
test bl, bl
je 0x4f367c
push 0
push 0x708717
lea ecx, [ebp - 0x110]
mov dword [ebp - 0x100], 0
mov dword [ebp - 0xfc], 0xf
mov byte [ebp - 0x110], 0
call fcn.00428b60
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x128]
push 0
push 0x708717
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x114], 0xf
mov byte [ebp - 0x128], 0
call fcn.00428b60
mov edx, dword [ebp - 0x130]
mov byte [ebp - 4], 0xe
mov dword [ebp - 0xe8], 0
mov dword [ebp - 0xe4], 0xf
mov edx, dword [edx + 4]
mov ecx, edx
mov byte [ebp - 0xf8], 0
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4f3558
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0xf8]
call fcn.00428b60
lea eax, [ebp - 0x110]
mov byte [ebp - 4], 0xf
push eax
lea edx, [ebp - 0x128]
lea ecx, [ebp - 0xf8]
call fcn.005c4a20
add esp, 4
mov ecx, eax
mov eax, dword [ecx]
push str.DeleteFromVDIStorage
push str.Failed_in_deleting_content_of_file_in__s
push 0x708717
push ecx
call dword [eax + 0x24]
mov byte [ebp - 4], 0xe
add esp, 0x10
mov edx, dword [ebp - 0xe4]
cmp edx, 0x10
jb 0x4f35e5
mov ecx, dword [ebp - 0xf8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4f35db
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4f38da
push edx
push ecx
call fcn.0063e103
add esp, 8
mov byte [ebp - 4], 0xd
mov edx, dword [ebp - 0x114]
mov dword [ebp - 0xe8], 0
mov dword [ebp - 0xe4], 0xf
mov byte [ebp - 0xf8], 0
cmp edx, 0x10
jb 0x4f363e
mov ecx, dword [ebp - 0x128]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4f3634
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4f38da
push edx
push ecx
call fcn.0063e103
add esp, 8
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0xfc]
cmp edx, 0x10
jb 0x4f367c
mov ecx, dword [ebp - 0x110]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4f3672
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4f38da
push edx
push ecx
call fcn.0063e103
add esp, 8
push 0x7ec3b8
call fcn.00641a69
add esp, 4
test eax, eax
jne 0x4f38df
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
mov ecx, eax
test cl, 2
jne 0x4f36c0
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
or ecx, 2
push ecx
push eax
call dword [sym.imp.KERNEL32.DLL_SetFileAttributesW]
push esi
call dword [sym.imp.KERNEL32.DLL_ReleaseMutex]
lea ecx, [ebp - 0x2c]
call fcn.00428770
mov eax, dword [ebp - 0x12c]
jmp 0x4f389b
mov eax, 5
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.0063de71
mov esp, ebp
pop ebp
ret 0xc
push eax
call fcn.00641d36
call fcn.006534c5
call fcn.006534c5
push eax
call fcn.00641d36
push eax
call fcn.00641d36
call fcn.006534c5
call fcn.006534c5
push eax
call fcn.00641d36
int3