Function at 0x75bb716b
Capabilities:
Set file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
sub esp, 0x1c
push ebx
xor ebx, ebx
push esi
push edi
cmp eax, ebx
jne 0x75bb71fa
mov eax, dword [ebp + 0x10]
push ebx
or eax, 0x100000
push eax
push 2
push ebx
push ebx
push 0x40000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x75bb7402
push edi
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 3
je 0x75bb71bb
cmp eax, 2
jne 0x75bb7402
cmp dword [0x75bc8ca8], ebx
je 0x75bb71e3
push ebx
push ebx
mov esi, 0x759b7ff8
push esi
push esi
push esi
push esi
push esi
push dword [ebp + 8]
push 0x759fe368
push ebx
push ebx
push 9
call fcn.759c26bf
add esp, 0x30
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x6e
or edi, 0xffffffff
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x75bb7402
push dword [eax + 4]
call dword [sym.imp.ADVAPI32.dll_IsValidSecurityDescriptor]
test eax, eax
jne 0x75bb720f
or eax, 0xffffffff
jmp 0x75bb7404
mov dword [ebp - 4], 0x400c0000
call fcn.759b3eb3
cmp eax, 0xffffffff
je 0x75bb7207
cmp eax, 1
jne 0x75bb7231
cmp byte [ebp + 0x14], bl
jne 0x75bb7231
mov dword [ebp - 4], 0x410c0000
mov eax, dword [ebp + 0x10]
push ebx
or eax, 0x100000
push eax
push 2
push ebx
push ebx
push dword [ebp - 4]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
mov esi, 0x759b7ff8
cmp edi, 0xffffffff
je 0x75bb729d
push edi
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 3
je 0x75bb7268
cmp eax, 2
jne 0x75bb729d
cmp dword [0x75bc8ca8], ebx
je 0x75bb728b
push ebx
push ebx
push esi
push esi
push esi
push esi
push esi
push dword [ebp + 8]
push 0x759fe368
push ebx
push ebx
push 9
call fcn.759c26bf
add esp, 0x30
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x6e
or edi, 0xffffffff
call dword [sym.imp.KERNEL32.dll_SetLastError]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp edi, 0xffffffff
jne 0x75bb7374
cmp eax, 5
je 0x75bb72bc
cmp eax, 0x522
jne 0x75bb7402
push ebx
push 0x100000
push 2
push ebx
push ebx
push 0x40000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x75bb7402
push edi
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 3
je 0x75bb72f0
cmp eax, 2
jne 0x75bb7325
cmp dword [0x75bc8ca8], ebx
je 0x75bb7313
push ebx
push ebx
push esi
push esi
push esi
push esi
push esi
push dword [ebp + 8]
push 0x759fe368
push ebx
push ebx
push 9
call fcn.759c26bf
add esp, 0x30
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x6e
or edi, 0xffffffff
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp edi, 0xffffffff
je 0x75bb7402
push 1
lea ecx, [ebp - 0x14]
call fcn.759b87f0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
push 0x100000
push 4
push ebx
push ebx
push dword [ebp - 4]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push dword [ebp + 0x10]
mov edi, eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea ecx, [ebp - 0x14]
call fcn.759b87d1
cmp edi, 0xffffffff
je 0x75bb7402
mov eax, dword [ebp + 0x18]
shr eax, 3
and al, 1
movzx eax, al
push eax
lea ecx, [ebp - 0x1c]
call fcn.759b87f0
push 1
lea ecx, [ebp - 8]
call fcn.75a1d306
mov esi, dword [ebp + 0xc]
push dword [esi + 4]
call fcn.75b30efd
mov dword [ebp - 0xc], eax
pop ecx
shr eax, 3
and eax, 1
push eax
push ebx
lea ecx, [ebp - 4]
call fcn.75a96077
push dword [esi + 4]
lea eax, [ebp - 0xc]
push eax
push edi
call dword [sym.imp.USER32.dll_SetUserObjectSecurity]
test eax, eax
jne 0x75bb73dc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
or edi, 0xffffffff
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp dword [ebp - 4], 2
je 0x75bb73eb
push dword [ebp - 4]
call fcn.75a1d2ce
pop ecx
cmp dword [ebp - 8], 2
je 0x75bb73fa
push dword [ebp - 8]
call fcn.75a1d2ce
pop ecx
lea ecx, [ebp - 0x1c]
call fcn.759b87d1
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret