Function at 0x110f720
Capabilities:
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xa0
push esi
push edi
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x18]
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 4], 0x2000
mov dword [ebp - 0x30], 0x1000
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x28], 5
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x11], 1
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 1
push 0x400
push 0
mov edx, dword [ebp - 0x2c]
push edx
call sub.ntdll.dll_memset
add esp, 0xc
mov eax, dword [ebp - 0x2c]
mov dword [eax + 0x4c], 1
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 0x60]
or edx, 2
mov eax, dword [ebp - 0x2c]
mov dword [eax + 0x60], edx
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 0x64]
or edx, 1
mov eax, dword [ebp - 0x2c]
mov dword [eax + 0x64], edx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
mov dword [ebp - 0x84], edx
cmp dword [ebp - 0x84], 0
je 0x110f7d6
cmp dword [ebp - 0x84], 1
je 0x110f7df
cmp dword [ebp - 0x84], 2
je 0x110f7e8
jmp 0x110f7ef
mov dword [ebp - 0x30], 0x400
jmp 0x110f7ef
mov dword [ebp - 0x30], 0x800
jmp 0x110f7ef
mov dword [ebp - 0x30], 0x1000
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + 1]
test ecx, ecx
je 0x110f813
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 0x5c]
or eax, 4
mov ecx, dword [ebp - 0x2c]
mov dword [ecx + 0x5c], eax
mov dword [0x1190eac], 0xffffffff
mov edx, dword [ebp + 8]
cmp dword [edx + 0x10], 0
je 0x110f875
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x88], ecx
mov edx, dword [ebp - 0x88]
add edx, 1
mov dword [ebp - 0x8c], edx
mov eax, dword [ebp - 0x88]
mov cl, byte [eax]
mov byte [ebp - 0x8d], cl
add dword [ebp - 0x88], 1
cmp byte [ebp - 0x8d], 0
jne 0x110f837
mov edx, dword [ebp - 0x88]
sub edx, dword [ebp - 0x8c]
mov dword [ebp - 0x94], edx
je 0x110f875
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x10]
mov dword [0x1190e88], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xc]
mov dword [0x1190e90], eax
mov ecx, dword [0x1190eec]
add ecx, 1
mov dword [0x1190eec], ecx
mov edx, dword [ebp + 8]
movzx eax, byte [edx]
test eax, eax
jne 0x110f8b6
mov ecx, dword [0x1190e90]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.01112750
test eax, eax
jge 0x110f8b4
xor al, al
jmp 0x110fcec
jmp 0x110f8c2
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
mov dword [eax + 0x68], edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.01112530
test eax, eax
jl 0x110f8d4
jmp 0x110f9c4
push 4
push 0x28
lea ecx, [ebp - 0x78]
push ecx
lea edx, [ebp - 0x80]
push edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x68]
push ecx
call dword [sym.imp.ntdll.dll_NtQueryInformationFile]
cmp dword [ebp - 0x80], 0
jl 0x110f9b4
mov edx, dword [ebp + 0xc]
mov byte [edx + 0x64], 1
push 5
push 0x18
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x80]
push ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x68]
push eax
call dword [sym.imp.ntdll.dll_NtQueryInformationFile]
cmp dword [ebp - 0x80], 0
jl 0x110f9a2
movzx ecx, byte [ebp - 0x3b]
test ecx, ecx
jne 0x110f9a2
cmp dword [ebp - 0x4c], 0
jg 0x110f94a
jl 0x110f93a
cmp dword [ebp - 0x50], 0x100000
jae 0x110f94a
mov edx, dword [ebp + 0xc]
push edx
call fcn.01112990
xor al, al
jmp 0x110fcec
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x50]
mov dword [eax + 0x90], ecx
mov edx, dword [ebp - 0x4c]
mov dword [eax + 0x94], edx
push 0
push 0x8000
mov eax, dword [ebp - 0x4c]
push eax
mov ecx, dword [ebp - 0x50]
push ecx
call sub.ntdll.dll__alldiv
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 0x70], eax
mov dword [ecx + 0x74], edx
mov edx, dword [ebp + 0xc]
mov dword [edx + 0x7c], 4
mov eax, dword [ebp + 0xc]
mov dword [eax + 0x80], 0x10
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 0x84], 0x200
jmp 0x110f9b2
mov edx, dword [ebp + 0xc]
push edx
call fcn.01112990
xor al, al
jmp 0x110fcec
jmp 0x110f9c4
mov eax, dword [ebp + 0xc]
push eax
call fcn.01112990
xor al, al
jmp 0x110fcec
cmp dword [ebp - 0x1c], 0
je 0x110f9e1
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.0110f560
movzx edx, al
test edx, edx
jne 0x110f9e1
xor al, al
jmp 0x110fcec
mov eax, dword [0x1190ec0]
or eax, dword [0x1190ec4]
je 0x110fa18
mov eax, dword [0x118ebf4]
cdq
push edx
push eax
mov ecx, dword [0x1190ec4]
push ecx
mov edx, dword [0x1190ec0]
push edx
call sub.ntdll.dll__allmul
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 0x90], eax
mov dword [ecx + 0x94], edx
mov edx, dword [0x1190eb8]
or edx, dword [0x1190ebc]
je 0x110fa4f
mov eax, dword [0x118ebf4]
cdq
push edx
push eax
mov eax, dword [0x1190ebc]
push eax
mov ecx, dword [0x1190eb8]
push ecx
call sub.ntdll.dll__allmul
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 0x88], eax
mov dword [ecx + 0x8c], edx
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 0x60]
and eax, 8
je 0x110fa8c
cmp dword [ebp - 0x24], 0
jne 0x110fa67
mov dword [ebp - 0x24], 0x100fc38
mov dword [ebp - 0x28], 0
mov ecx, dword [ebp - 0x2c]
mov dword [ecx + 0x60], 8
mov edx, dword [ebp - 0x2c]
mov dword [edx + 0x5c], 0
mov eax, dword [ebp - 0x2c]
mov dword [eax + 0x64], 0
mov ecx, dword [ebp - 0x2c]
cmp dword [ecx + 0x4c], 0
jne 0x110faba
mov edx, dword [ebp - 0x2c]
cmp dword [edx + 0x5c], 0
jne 0x110fab0
mov eax, dword [ebp - 0x2c]
cmp dword [eax + 0x64], 0
jne 0x110fab0
mov ecx, dword [ebp - 0x2c]
cmp dword [ecx + 0x60], 0
je 0x110faba
mov edx, dword [ebp - 0x2c]
mov dword [edx + 0x4c], 1
mov eax, dword [ebp - 0x30]
sar eax, 0xa
push eax
call fcn.0110f350
mov ecx, dword [ebp - 0x2c]
mov dword [ecx + 0x18], eax
mov edx, dword [ebp - 0x30]
shl edx, 3
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 0x18]
mov dword [eax + 0x1c], edx
movzx eax, byte [0x1190e84]
test eax, eax
je 0x110fb09
mov ecx, dword [ebp - 0x2c]
cmp dword [ecx + 4], 0
je 0x110fb09
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 4]
xor ecx, ecx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], ecx
mov byte [ebp - 0x11], 1
jmp 0x110fb51
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x90]
mov dword [ebp - 0x10], eax
mov ecx, dword [edx + 0x94]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0x10]
or edx, dword [ebp - 0xc]
je 0x110fb4d
mov eax, dword [ebp - 0x2c]
mov edx, 0x400
mov ecx, dword [eax + 0x18]
shl edx, cl
mov eax, edx
cdq
push edx
push eax
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call sub.ntdll.dll__alldiv
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
jmp 0x110fb51
mov byte [ebp - 0x11], 0
movzx edx, byte [ebp - 0x11]
test edx, edx
jne 0x110fb80
push 0x100fd30
mov eax, dword [0x1190e80]
mov edx, dword [eax]
mov ecx, dword [0x1190e80]
mov eax, dword [edx + 0x38]
call eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.01112990
xor al, al
jmp 0x110fcec
mov edx, dword [ebp - 0x2c]
cmp dword [edx + 4], 0
jne 0x110fbc4
mov eax, dword [ebp - 0x10]
or eax, dword [ebp - 0xc]
jne 0x110fbb9
push 0x100fd04
mov ecx, dword [0x1190e80]
mov edx, dword [ecx]
mov ecx, dword [0x1190e80]
mov eax, dword [edx + 0x38]
call eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.01112990
xor al, al
jmp 0x110fcec
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x2c]
mov dword [eax + 4], edx
jmp 0x110fc10
cmp dword [0x1190ea4], 0
jne 0x110fc10
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 4]
xor eax, eax
mov dword [ebp - 0x9c], edx
mov dword [ebp - 0x98], eax
mov ecx, dword [ebp - 0x98]
cmp ecx, dword [ebp - 0xc]
jl 0x110fc10
jg 0x110fbf9
mov edx, dword [ebp - 0x9c]
cmp edx, dword [ebp - 0x10]
jbe 0x110fc10
push 0x100fca0
mov eax, dword [0x1190e80]
mov edx, dword [eax]
mov ecx, dword [0x1190e80]
mov eax, dword [edx + 0x38]
call eax
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 0x5c]
and edx, 4
je 0x110fc2e
cmp dword [0x1190eac], 0
jne 0x110fc2e
mov dword [0x1190eac], 0xffffffff
lea eax, [ebp - 0x34]
push eax
mov ecx, dword [ebp - 0x30]
push ecx
mov edx, dword [ebp - 0x2c]
push edx
mov eax, dword [ebp - 0x24]
push eax
call fcn.0110f390
mov ecx, dword [ebp - 0x2c]
cmp dword [ecx + 0x20], 0
je 0x110fc7f
mov edx, dword [ebp - 0x2c]
cmp dword [edx + 0x20], 0x100
jb 0x110fc63
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0x20]
cmp ecx, dword [ebp - 4]
jbe 0x110fc7f
push 0x100fc58
mov edx, dword [0x1190e80]
mov eax, dword [edx]
mov ecx, dword [0x1190e80]
mov edx, dword [eax + 0x38]
call edx
xor al, al
jmp 0x110fcec
cmp dword [ebp - 0x18], 0
je 0x110fc90
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0xa0], eax
jmp 0x110fcc6
mov ecx, dword [ebp - 0x2c]
mov esi, dword [ecx + 4]
xor edi, edi
mov edx, dword [ebp - 0x2c]
mov eax, 0x400
mov ecx, dword [edx + 0x18]
shl eax, cl
cdq
push edx
push eax
push edi
push esi
call sub.ntdll.dll__allmul
mov ecx, eax
mov esi, edx
mov eax, dword [ebp - 0x34]
cdq
push edx
push eax
push esi
push ecx
call sub.ntdll.dll__alldiv
mov dword [ebp - 0xa0], eax
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0xa0]
mov dword [edx], eax
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ecx + 4]
imul eax, dword [ebp - 0x28]
xor edx, edx
mov ecx, 0x64
div ecx
mov edx, dword [ebp - 0x2c]
mov dword [edx + 8], eax
mov al, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8