Function at 0xf00da63
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, 0xf002514
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, 0xf002504
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 0xf00db0c
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 0xf00db13
xor eax, eax
jmp 0xf00dc22
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 0xf00dc17
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 0xf00dc17
mov eax, dword [ebp - 0x4c]
cmp eax, dword [0xf070874]
jbe 0xf00db62
mov dword [0xf070874], 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 0xf00dc17
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 [0xf070870]
inc eax
imul eax, eax, 0x2b
push eax
push dword [0xf07086c]
call fcn.0f01011d
test eax, eax
pop ecx
pop ecx
jne 0xf00dbb4
xor edi, edi
jmp 0xf00dc17
movzx ecx, byte [0xf070870]
imul ecx, ecx, 0x2b
mov dword [0xf07086c], eax
add eax, ecx
mov cl, byte [ebp - 0x41]
mov byte [eax + 2], cl
mov cl, byte [0xf070870]
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 0xf00dc04
inc byte [0xf070870]
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.0f01b780
leave
ret 0xc