Function at 0xf00d96a
Capabilities:
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x78
push ebx
push esi
push edi
mov eax, dword [0xf061038]
mov esi, 0xf0024bc
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, 0xf0024ac
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 - 4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x60], 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 - 0x5c]
push eax
call dword [sym.imp.ntdll.dll_RtlInitAnsiString]
mov eax, dword fs:[0x18]
lea esi, [eax + 0xbf8]
xor edi, edi
push edi
lea eax, [ebp - 0x5c]
push eax
push esi
call dword [sym.imp.ntdll.dll_RtlAnsiStringToUnicodeString]
test eax, eax
jl 0xf00da13
push 0x60
push 3
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x78]
push eax
push 0x100081
lea eax, [ebp - 0x48]
push eax
mov dword [ebp - 0x78], 0x18
mov dword [ebp - 0x74], edi
mov dword [ebp - 0x6c], 0x40
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x68], edi
mov dword [ebp - 0x64], edi
call dword [sym.imp.ntdll.dll_NtOpenFile]
test eax, eax
jge 0xf00da1a
xor eax, eax
jmp 0xf00db29
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 dword [sym.imp.ntdll.dll_NtDeviceIoControlFile]
test eax, eax
jl 0xf00db1e
push 0x11
push 4
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x54]
push eax
push dword [ebp - 0x48]
call dword [sym.imp.ntdll.dll_NtQueryInformationFile]
test eax, eax
jl 0xf00db1e
mov eax, dword [ebp - 0x4c]
cmp eax, dword [0xf0707c4]
jbe 0xf00da69
mov dword [0xf0707c4], 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 dword [sym.imp.ntdll.dll_NtFsControlFile]
test eax, eax
jl 0xf00db1e
mov edi, dword [ebp - 0x60]
push 6
pop ecx
lea esi, [ebp - 0x35]
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
movzx eax, byte [0xf0707c0]
inc eax
imul eax, eax, 0x2b
push eax
push dword [0xf0707bc]
call fcn.0f010020
test eax, eax
pop ecx
pop ecx
jne 0xf00dabb
xor edi, edi
jmp 0xf00db1e
movzx ecx, byte [0xf0707c0]
imul ecx, ecx, 0x2b
mov dword [0xf0707bc], eax
add eax, ecx
mov cl, byte [ebp - 0x41]
mov byte [eax + 2], cl
mov cl, byte [0xf0707c0]
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]
add eax, 0x22
mov edx, ecx
sub eax, edx
mov dl, byte [ecx]
mov byte [eax + ecx], dl
inc ecx
test dl, dl
jne 0xf00db0b
inc byte [0xf0707c0]
xor edi, edi
inc edi
push dword [ebp - 0x48]
call dword [sym.imp.ntdll.dll_NtClose]
mov eax, edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.0f01b45c
leave
ret 0xc