Function at 0xf035c57
Capabilities:
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x78
mov eax, dword [0xf072008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov eax, dword [ebp + 0xc]
mov esi, 0xf003100
lea edi, [ebp - 0xc]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov ebx, dword [ebp + 0x10]
mov esi, 0xf0030f0
lea edi, [ebp - 0x1c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x58], eax
mov al, byte [ebp + 8]
movsw word es:[edi], word [esi]
add al, 0x41
movsb byte es:[edi], byte [esi]
mov byte [ebp - 0x41], al
mov byte [ebp - 8], al
mov byte [ebp - 0x10], al
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x78]
push eax
call sub.ntdll.dll_RtlInitAnsiString
mov esi, dword fs:[0x18]
xor edi, edi
push edi
lea eax, [ebp - 0x78]
push eax
add esi, 0xbf8
push esi
call sub.ntdll.dll_RtlAnsiStringToUnicodeString
test eax, eax
jge 0xf035cdb
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0f0057d5
leave
ret 0xc
push 0x60
push 3
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x70]
push eax
push 0x100081
lea eax, [ebp - 0x48]
push eax
mov dword [ebp - 0x70], 0x18
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x64], 0x40
mov dword [ebp - 0x68], esi
mov dword [ebp - 0x60], edi
mov dword [ebp - 0x5c], edi
call sub.ntdll.dll_NtOpenFile
test eax, eax
jl 0xf035cc8
push 0x18
push ebx
push edi
push edi
push 0x70000
lea eax, [ebp - 0x54]
push eax
push edi
push edi
push edi
push dword [ebp - 0x48]
call sub.ntdll.dll_NtDeviceIoControlFile
test eax, eax
jge 0xf035d3a
push dword [ebp - 0x48]
call sub.ntdll.dll_NtClose
jmp 0xf035cc8
push 0x11
push 4
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x54]
push eax
push dword [ebp - 0x48]
call sub.ntdll.dll_NtQueryInformationFile
test eax, eax
jl 0xf035d30
mov eax, dword [ebp - 0x4c]
cmp eax, dword [0xf082ca4]
jbe 0xf035d62
mov dword [0xf082ca4], eax
push 0x24
lea eax, [ebp - 0x40]
push eax
push edi
push edi
push 0x90058
lea eax, [ebp - 0x54]
push eax
push edi
push edi
push edi
push dword [ebp - 0x48]
call sub.ntdll.dll_NtFsControlFile
test eax, eax
jl 0xf035d30
mov edi, dword [ebp - 0x58]
push 6
pop ecx
lea esi, [ebp - 0x35]
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
movzx eax, byte [0xf082ca0]
inc eax
imul eax, eax, 0x2b
push eax
push dword [0xf082c9c]
call fcn.0f00ca76
pop ecx
pop ecx
test eax, eax
jne 0xf035dbc
xor esi, esi
push dword [ebp - 0x48]
call sub.ntdll.dll_NtClose
mov eax, esi
jmp 0xf035cca
movzx ecx, byte [0xf082ca0]
imul ecx, ecx, 0x2b
mov dword [0xf082c9c], eax
add eax, ecx
mov cl, byte [ebp - 0x41]
mov byte [eax + 2], cl
mov cl, byte [0xf082ca0]
or dword [eax + 4], 0xffffffff
mov byte [eax], cl
mov ecx, dword [ebx + 0xc]
mov dword [eax + 8], ecx
mov ecx, dword [ebx + 0x10]
mov dword [eax + 0x14], ecx
mov ecx, dword [ebx + 0x14]
mov dword [eax + 0x18], ecx
mov ecx, dword [ebx]
mov dword [eax + 0xc], ecx
mov ecx, dword [ebx + 4]
mov dword [eax + 0x10], ecx
mov ecx, dword [ebp - 0x4c]
mov dword [eax + 0x1c], ecx
lea ecx, [ebp - 0xc]
push ecx
add eax, 0x22
push 9
push eax
call fcn.0f00a32c
add esp, 0xc
inc byte [0xf082ca0]
xor esi, esi
inc esi
jmp 0xf035dad