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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6c1151
mov eax, dword fs:[0]
push eax
sub esp, 0x140
mov eax, dword [0x7e500c]
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.00594b80
test al, al
je 0x4eb666
mov ecx, dword [ebp + 0xc]
call fcn.00594eb0
test al, al
je 0x4eb666
xor eax, eax
lea ecx, [ebp - 0x2c]
mov edx, esi
mov dword [ebp - 0x12c], eax
mov dword [ebp - 4], eax
call fcn.004e6dc0
mov byte [ebp - 4], 1
cmp dword [ebp - 0x1c], 0
jne 0x4eafee
push 0x808068
mov dword [ebp - 0x12c], 4
call fcn.006549b4
add esp, 4
test eax, eax
jne 0x4eb689
push eax
push 0x720b07
lea ecx, [ebp - 0x128]
mov dword [ebp - 0x118], eax
mov dword [ebp - 0x114], 0xf
mov byte [ebp - 0x128], al
call fcn.00427530
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x110]
push 0
push 0x720b07
mov dword [ebp - 0x100], 0
mov dword [ebp - 0xfc], 0xf
mov byte [ebp - 0x110], 0
call fcn.00427530
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 0x4ead12
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0xf8]
call fcn.00427530
lea eax, [ebp - 0x128]
mov byte [ebp - 4], 4
push eax
lea edx, [ebp - 0x110]
lea ecx, [ebp - 0xf8]
call fcn.005b7140
add esp, 4
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0xe4]
test eax, eax
setne bl
cmp edx, 0x10
jb 0x4ead8a
mov ecx, dword [ebp - 0xf8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4ead80
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4eb68f
push edx
push ecx
call fcn.0065106e
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 0x4eade3
mov ecx, dword [ebp - 0x110]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4eadd9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4eb68f
push edx
push ecx
call fcn.0065106e
add esp, 8
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x114]
cmp edx, 0x10
jb 0x4eae21
mov ecx, dword [ebp - 0x128]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4eae17
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4eb68f
push edx
push ecx
call fcn.0065106e
add esp, 8
test bl, bl
je 0x4eafd4
push 0
push 0x720b07
lea ecx, [ebp - 0x110]
mov dword [ebp - 0x100], 0
mov dword [ebp - 0xfc], 0xf
mov byte [ebp - 0x110], 0
call fcn.00427530
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x128]
push 0
push 0x720b07
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x114], 0xf
mov byte [ebp - 0x128], 0
call fcn.00427530
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 0x4eaeb0
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0xf8]
call fcn.00427530
lea eax, [ebp - 0x110]
mov byte [ebp - 4], 7
push eax
lea edx, [ebp - 0x128]
lea ecx, [ebp - 0xf8]
call fcn.005b7140
add esp, 4
mov ecx, eax
mov eax, dword [ecx]
push str.DeleteFromVDIStorage
push str.Unable_to_retrieve_AppData_Roaming_Path_in__s
push 0x720b07
push ecx
call dword [eax + 0x24]
mov byte [ebp - 4], 6
add esp, 0x10
mov edx, dword [ebp - 0xe4]
cmp edx, 0x10
jb 0x4eaf3d
mov ecx, dword [ebp - 0xf8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4eaf33
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4eb694
push edx
push ecx
call fcn.0065106e
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 0x4eaf96
mov ecx, dword [ebp - 0x128]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4eaf8c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4eb694
push edx
push ecx
call fcn.0065106e
add esp, 8
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0xfc]
cmp edx, 0x10
jb 0x4eafd4
mov ecx, dword [ebp - 0x110]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4eafca
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4eb694
push edx
push ecx
call fcn.0065106e
add esp, 8
push 0x808068
call fcn.006549d9
add esp, 4
test eax, eax
jne 0x4eb699
jmp 0x4eb497
call fcn.005b6ea0
lea eax, [ebp - 0x2c]
push eax
call fcn.005ba520
mov esi, dword [eax]
mov dword [ebp - 0x30], esi
mov byte [ebp - 4], 8
test esi, esi
je 0x4eb012
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 0x4eb041
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.00663090
add esp, 8
lea ecx, [ebp - 0xe0]
call fcn.004faf30
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.004faed0
mov eax, dword [ebp - 0xe0]
mov eax, dword [eax + 4]
test byte [ebp + eax - 0xd4], 6
je 0x4eb097
xor bl, bl
jmp 0x4eb0d3
lea ecx, [ebp - 0xdc]
call fcn.004387a0
test eax, eax
jne 0x4eb0d1
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.00431fb0
mov bl, 1
lea ecx, [ebp - 0xe0]
mov byte [ebp - 4], 8
call fcn.004fa800
test bl, bl
jne 0x4eb461
push 0x808068
mov dword [ebp - 0x12c], 4
call fcn.006549b4
add esp, 4
test eax, eax
jne 0x4eb69f
push eax
push 0x720b07
lea ecx, [ebp - 0x110]
mov dword [ebp - 0x100], eax
mov dword [ebp - 0xfc], 0xf
mov byte [ebp - 0x110], al
call fcn.00427530
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x128]
push 0
push 0x720b07
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x114], 0xf
mov byte [ebp - 0x128], bl
call fcn.00427530
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 0x4eb186
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0xf8]
call fcn.00427530
lea eax, [ebp - 0x110]
mov byte [ebp - 4], 0xc
push eax
lea edx, [ebp - 0x128]
lea ecx, [ebp - 0xf8]
call fcn.005b7140
add esp, 4
mov byte [ebp - 4], 0xb
mov edx, dword [ebp - 0xe4]
test eax, eax
setne bl
cmp edx, 0x10
jb 0x4eb1fe
mov ecx, dword [ebp - 0xf8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4eb1f4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4eb6a5
push edx
push ecx
call fcn.0065106e
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 0x4eb257
mov ecx, dword [ebp - 0x128]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4eb24d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4eb6a5
push edx
push ecx
call fcn.0065106e
add esp, 8
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0xfc]
cmp edx, 0x10
jb 0x4eb295
mov ecx, dword [ebp - 0x110]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4eb28b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4eb6a5
push edx
push ecx
call fcn.0065106e
add esp, 8
test bl, bl
je 0x4eb44c
push 0
push 0x720b07
lea ecx, [ebp - 0x110]
mov dword [ebp - 0x100], 0
mov dword [ebp - 0xfc], 0xf
mov byte [ebp - 0x110], 0
call fcn.00427530
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x128]
push 0
push 0x720b07
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x114], 0xf
mov byte [ebp - 0x128], 0
call fcn.00427530
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 0x4eb328
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0xf8]
call fcn.00427530
lea eax, [ebp - 0x110]
mov byte [ebp - 4], 0xf
push eax
lea edx, [ebp - 0x128]
lea ecx, [ebp - 0xf8]
call fcn.005b7140
add esp, 4
mov ecx, eax
mov eax, dword [ecx]
push str.DeleteFromVDIStorage
push str.Failed_in_deleting_content_of_file_in__s
push 0x720b07
push ecx
call dword [eax + 0x24]
mov byte [ebp - 4], 0xe
add esp, 0x10
mov edx, dword [ebp - 0xe4]
cmp edx, 0x10
jb 0x4eb3b5
mov ecx, dword [ebp - 0xf8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4eb3ab
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4eb6aa
push edx
push ecx
call fcn.0065106e
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 0x4eb40e
mov ecx, dword [ebp - 0x128]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4eb404
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4eb6aa
push edx
push ecx
call fcn.0065106e
add esp, 8
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0xfc]
cmp edx, 0x10
jb 0x4eb44c
mov ecx, dword [ebp - 0x110]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4eb442
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4eb6aa
push edx
push ecx
call fcn.0065106e
add esp, 8
push 0x808068
call fcn.006549d9
add esp, 4
test eax, eax
jne 0x4eb6af
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 0x4eb490
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.00427170
mov eax, dword [ebp - 0x12c]
jmp 0x4eb66b
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.00650ddc
mov esp, ebp
pop ebp
ret 0xc
push eax
call fcn.00654ca6
call fcn.0066bea5
call fcn.0066bea5
push eax
call fcn.00654ca6
push eax
call fcn.00654ca6
call fcn.0066bea5
call fcn.0066bea5
push eax
call fcn.00654ca6
int3