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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x80
push ebx
push esi
push edi
push 8
xor eax, eax
pop ecx
lea edi, [ebp - 0x80]
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 0x20]
mov eax, dword [eax]
xor ebx, ebx
push ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 4], eax
mov dword [ebp - 8], ebx
call sub.ntoskrnl.exe_IoSetThreadHardErrorMode
mov byte [ebp - 0x10], al
mov eax, dword [ebp + 0xc]
test al, 1
je 0x338c2
or dword [ebp - 0x18], 0xffffffff
and eax, 0xfffffffe
mov edi, eax
mov eax, dword [edi]
mov dword [ebp - 0x80], eax
mov eax, dword [edi + 4]
mov dword [ebp - 0x7c], eax
mov eax, dword [edi + 0x14]
push 8
mov dword [ebp - 0x6c], eax
xor eax, eax
or dword [ebp - 0x14], 0xffffffff
pop ecx
rep stosd dword es:[edi], eax
mov dword [ebp + 0xc], ebx
jmp 0x338d3
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0x18]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x14]
cmp eax, dword [ebp + 0x10]
jbe 0x338e5
mov esi, 0xc000000d
jmp 0x33b67
cmp dword [ebp + 0xc], ebx
je 0x339a4
push ebx
push ebx
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 0x80]
push eax
call fcn.0003367c
mov esi, eax
cmp esi, ebx
jl 0x33b67
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x14]
push 0x14
mov dword [ebp - 0x24], eax
push 8
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x80]
mov dword [ebp - 0xc], 1
call sub.ntoskrnl.exe_ZwSetInformationFile
mov esi, eax
mov edi, 0x103
cmp esi, edi
jne 0x3394f
mov eax, dword [ebp - 0x7c]
push ebx
push ebx
push ebx
push ebx
add eax, 0x5c
push eax
call sub.ntoskrnl.exe_KeWaitForSingleObject
mov esi, dword [ebp - 0x20]
cmp esi, ebx
jl 0x33b5e
cmp dword [ebp - 4], ebx
je 0x339e9
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x14]
push 0x27
mov dword [ebp - 0x2c], eax
push 8
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x80]
call sub.ntoskrnl.exe_ZwSetInformationFile
cmp eax, edi
jne 0x33997
mov eax, dword [ebp - 0x7c]
push ebx
push ebx
push ebx
push ebx
add eax, 0x5c
push eax
call sub.ntoskrnl.exe_KeWaitForSingleObject
mov eax, dword [ebp - 0x20]
cmp eax, ebx
jge 0x339e9
mov dword [ebp - 8], 1
jmp 0x339e9
push 5
push 0x18
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x80]
call sub.ntoskrnl.exe_ZwQueryInformationFile
mov esi, eax
cmp esi, 0x103
jne 0x339d5
mov eax, dword [ebp - 0x7c]
push ebx
push ebx
push ebx
push ebx
add eax, 0x5c
push eax
call sub.ntoskrnl.exe_KeWaitForSingleObject
mov esi, dword [ebp - 0x20]
cmp esi, ebx
jl 0x33b67
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x14], eax
push ebx
push dword [ebp + 0x10]
push dword [ebp - 0x14]
push dword [ebp - 0x18]
call sub.ntoskrnl.exe__alldiv
cmp edx, ebx
jl 0x33a0d
jg 0x33a03
cmp eax, 0xffffffff
jb 0x33a0d
mov esi, 0xc000000d
jmp 0x33b59
push 6
pop ecx
xor eax, eax
push 3
lea edi, [ebp - 0x48]
rep stosd dword es:[edi], eax
push 0x18
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x80]
call sub.ntoskrnl.exe_ZwQueryVolumeInformationFile
mov esi, eax
cmp esi, 0x103
jne 0x33a48
mov eax, dword [ebp - 0x7c]
push ebx
push ebx
push ebx
push ebx
add eax, 0x5c
push eax
call sub.ntoskrnl.exe_KeWaitForSingleObject
mov esi, dword [ebp - 0x20]
cmp esi, ebx
jl 0x33b59
mov eax, dword [ebp - 0x34]
cmp eax, ebx
je 0x33b54
lea ecx, [eax - 1]
test eax, ecx
jne 0x33b54
cmp eax, dword [ebp + 0x14]
ja 0x33b54
cmp eax, dword [ebp + 0x10]
ja 0x33b54
cmp eax, 0x1000
ja 0x33b54
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp + 0x10]
push eax
push dword [ebp - 4]
lea eax, [ebp - 0x18]
push 0x10000
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push dword [ebp - 0x7c]
push dword [ebp - 0x80]
call fcn.00032c78
mov esi, eax
cmp esi, ebx
jl 0x33b59
cmp dword [ebp - 4], ebx
jne 0x33ad5
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x78]
push eax
push dword [ebp - 0x7c]
call fcn.00032ebe
mov esi, eax
cmp esi, ebx
jl 0x33b59
cmp dword [ebp + 0xc], ebx
je 0x33af1
push ebx
push ebx
push 1
push ebx
push dword [ebp - 4]
lea eax, [ebp - 0x80]
push eax
call fcn.00032a18
mov esi, eax
cmp esi, ebx
jl 0x33b59
lea eax, [ebp - 0x70]
push eax
push ebx
push dword [ebp + 0x1c]
push dword [ebp + 8]
push dword [ebp - 0x7c]
push ebx
push 3
call sub.ntoskrnl.exe_IoRegisterPlugPlayNotification
mov esi, eax
cmp esi, ebx
jl 0x33b59
mov edi, dword [ebp + 0x24]
push 8
pop ecx
xor eax, eax
lea esi, [ebp - 0x80]
rep movsd dword es:[edi], dword [esi]
push 8
pop ecx
lea edi, [ebp - 0x80]
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 0x28]
mov ecx, dword [ebp - 0x34]
mov dword [eax], ecx
mov eax, dword [ebp + 0x2c]
mov ecx, dword [ebp + 0x10]
mov dword [eax], ecx
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp - 0x18]
mov dword [eax], ecx
mov ecx, dword [ebp - 0x14]
mov dword [eax + 4], ecx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0x20]
mov dword [ecx], eax
mov eax, dword [ebp + 0x30]
mov ecx, dword [ebp - 8]
mov dword [eax], ecx
xor esi, esi
jmp 0x33b67
mov esi, 0xc0380015
cmp dword [ebp - 0xc], ebx
je 0x33b67
lea eax, [ebp - 0x80]
push eax
call fcn.00033006
lea eax, [ebp - 0x80]
push eax
call fcn.000335f4
push dword [ebp - 0x10]
call sub.ntoskrnl.exe_IoSetThreadHardErrorMode
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 0x2c