Function at 0x1127010
Capabilities:
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc4
push esi
push edi
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x18]
mov dword [ebp - 0x34], ecx
mov dword [ebp - 4], 0x2000
mov dword [ebp - 0x38], 0x1000
mov dword [ebp - 0x3c], 0
fld qword [0x1011b40]
fstp qword [ebp - 0x30]
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
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xc]
mov dword [edx + 0x20], ecx
push 0x400
push 0
mov edx, dword [ebp - 0x34]
push edx
call sub.ntdll.dll_memset
add esp, 0xc
mov eax, dword [ebp - 0x34]
mov dword [eax + 0x4c], 1
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx + 0x60]
or edx, 2
mov eax, dword [ebp - 0x34]
mov dword [eax + 0x60], edx
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx + 0x64]
or edx, 1
mov eax, dword [ebp - 0x34]
mov dword [eax + 0x64], edx
mov ecx, dword [ebp + 8]
mov edx, 0x400
mov ecx, dword [ecx + 8]
shl edx, cl
mov dword [ebp - 0x38], edx
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + 1]
test ecx, ecx
je 0x11270df
mov edx, dword [ebp - 0x34]
mov eax, dword [edx + 0x5c]
or eax, 4
mov ecx, dword [ebp - 0x34]
mov dword [ecx + 0x5c], eax
mov dword [0x11c7df4], 0xffffffff
mov edx, dword [ebp + 8]
movzx eax, byte [edx + 0x28]
test eax, eax
je 0x112713a
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx + 0x5c]
or edx, 0x3c
mov eax, dword [ebp - 0x34]
mov dword [eax + 0x5c], edx
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx + 0x60]
or edx, 0x242
mov eax, dword [ebp - 0x34]
mov dword [eax + 0x60], edx
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx + 0x64]
or edx, 0x7a
mov eax, dword [ebp - 0x34]
mov dword [eax + 0x64], edx
mov ecx, dword [ebp - 0x34]
mov word [ecx + 0x58], 0x100
mov edx, dword [ebp - 0x34]
mov dword [edx + 0x100], 0xc
mov dword [0x11c7df4], 0xffffffff
mov eax, dword [ebp + 8]
cmp dword [eax + 0x10], 0
je 0x112719c
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x10]
mov dword [ebp - 0x94], edx
mov eax, dword [ebp - 0x94]
add eax, 1
mov dword [ebp - 0x98], eax
mov ecx, dword [ebp - 0x94]
mov dl, byte [ecx]
mov byte [ebp - 0x99], dl
add dword [ebp - 0x94], 1
cmp byte [ebp - 0x99], 0
jne 0x112715e
mov eax, dword [ebp - 0x94]
sub eax, dword [ebp - 0x98]
mov dword [ebp - 0xa0], eax
je 0x112719c
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x10]
mov dword [0x11c7dd0], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xc]
mov dword [0x11c7dd8], ecx
mov edx, dword [0x11c7e7c]
add edx, 1
mov dword [0x11c7e7c], edx
mov eax, dword [ebp + 8]
movzx ecx, byte [eax]
test ecx, ecx
jne 0x11271e9
mov edx, dword [ebp + 8]
movzx eax, byte [edx + 0x29]
test eax, eax
jne 0x11271e9
mov ecx, dword [0x11c7dd8]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.0112bb60
test eax, eax
jge 0x11271e7
xor al, al
jmp 0x1127789
jmp 0x11271f5
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
mov dword [eax + 0x78], edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.0112b940
test eax, eax
jl 0x1127207
jmp 0x1127310
push 4
push 0x28
lea ecx, [ebp - 0x80]
push ecx
lea edx, [ebp - 0x88]
push edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x78]
push ecx
call dword [sym.imp.ntdll.dll_NtQueryInformationFile]
cmp dword [ebp - 0x88], 0
jl 0x1127300
mov edx, dword [ebp + 0xc]
mov byte [edx + 0x74], 1
push 5
push 0x18
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x88]
push ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x78]
push eax
call dword [sym.imp.ntdll.dll_NtQueryInformationFile]
cmp dword [ebp - 0x88], 0
jl 0x11272ee
movzx ecx, byte [ebp - 0x43]
test ecx, ecx
jne 0x11272ee
cmp dword [ebp - 0x54], 0
jg 0x112728d
jl 0x112727d
cmp dword [ebp - 0x58], 0x100000
jae 0x112728d
mov edx, dword [ebp + 0xc]
push edx
call fcn.0112bda0
xor al, al
jmp 0x1127789
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x58]
mov dword [eax + 0xa0], ecx
mov edx, dword [ebp - 0x54]
mov dword [eax + 0xa4], edx
push 0
push 0x8000
mov eax, dword [ebp - 0x54]
push eax
mov ecx, dword [ebp - 0x58]
push ecx
call sub.ntdll.dll__alldiv
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 0x80], eax
mov dword [ecx + 0x84], edx
mov edx, dword [ebp + 0xc]
mov dword [edx + 0x8c], 4
mov eax, dword [ebp + 0xc]
mov dword [eax + 0x90], 0x10
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 0x94], 0x200
jmp 0x11272fe
mov edx, dword [ebp + 0xc]
push edx
call fcn.0112bda0
xor al, al
jmp 0x1127789
jmp 0x1127310
mov eax, dword [ebp + 0xc]
push eax
call fcn.0112bda0
xor al, al
jmp 0x1127789
cmp dword [ebp - 0x1c], 0
je 0x112732d
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.01126e50
movzx edx, al
test edx, edx
jne 0x112732d
xor al, al
jmp 0x1127789
mov eax, dword [0x11c7e08]
or eax, dword [0x11c7e0c]
je 0x1127364
mov eax, dword [0x11c403c]
cdq
push edx
push eax
mov ecx, dword [0x11c7e0c]
push ecx
mov edx, dword [0x11c7e08]
push edx
call sub.ntdll.dll__allmul
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 0xa0], eax
mov dword [ecx + 0xa4], edx
mov edx, dword [0x11c7e00]
or edx, dword [0x11c7e04]
je 0x112739b
mov eax, dword [0x11c403c]
cdq
push edx
push eax
mov eax, dword [0x11c7e04]
push eax
mov ecx, dword [0x11c7e00]
push ecx
call sub.ntdll.dll__allmul
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 0x98], eax
mov dword [ecx + 0x9c], edx
mov edx, dword [ebp - 0x34]
mov eax, dword [edx + 0x60]
and eax, 8
je 0x11273d6
cmp dword [ebp - 0x24], 0
jne 0x11273b3
mov dword [ebp - 0x24], 0x10119e4
fldz
fstp qword [ebp - 0x30]
mov ecx, dword [ebp - 0x34]
mov dword [ecx + 0x60], 8
mov edx, dword [ebp - 0x34]
mov dword [edx + 0x5c], 0
mov eax, dword [ebp - 0x34]
mov dword [eax + 0x64], 0
mov ecx, dword [ebp - 0x34]
cmp dword [ecx + 0x4c], 0
jne 0x1127404
mov edx, dword [ebp - 0x34]
cmp dword [edx + 0x5c], 0
jne 0x11273fa
mov eax, dword [ebp - 0x34]
cmp dword [eax + 0x64], 0
jne 0x11273fa
mov ecx, dword [ebp - 0x34]
cmp dword [ecx + 0x60], 0
je 0x1127404
mov edx, dword [ebp - 0x34]
mov dword [edx + 0x4c], 1
mov eax, dword [ebp - 0x38]
sar eax, 0xa
push eax
call fcn.01126c00
mov ecx, dword [ebp - 0x34]
mov dword [ecx + 0x18], eax
mov edx, dword [ebp - 0x38]
shl edx, 3
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx + 0x18]
mov dword [eax + 0x1c], edx
movzx eax, byte [0x11c7dcc]
test eax, eax
je 0x1127453
mov ecx, dword [ebp - 0x34]
cmp dword [ecx + 4], 0
je 0x1127453
mov edx, dword [ebp - 0x34]
mov eax, dword [edx + 4]
xor ecx, ecx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], ecx
mov byte [ebp - 0x11], 1
jmp 0x112749b
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0xa0]
mov dword [ebp - 0x10], eax
mov ecx, dword [edx + 0xa4]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0x10]
or edx, dword [ebp - 0xc]
je 0x1127497
mov eax, dword [ebp - 0x34]
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 0x112749b
mov byte [ebp - 0x11], 0
movzx edx, byte [ebp - 0x11]
test edx, edx
jne 0x11274ca
push 0x1011ae0
mov eax, dword [0x11c7dc8]
mov edx, dword [eax]
mov ecx, dword [0x11c7dc8]
mov eax, dword [edx + 0x38]
call eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.0112bda0
xor al, al
jmp 0x1127789
cmp dword [ebp - 0xc], 0
ja 0x11274d6
cmp dword [ebp - 0x10], 0xffffffff
jbe 0x11274f6
mov edx, dword [ebp - 0x34]
mov eax, dword [edx + 0x60]
or eax, 0x80
mov ecx, dword [ebp - 0x34]
mov dword [ecx + 0x60], eax
mov edx, dword [ebp - 0x34]
mov eax, dword [edx + 0x5c]
and eax, 0xffffffef
mov ecx, dword [ebp - 0x34]
mov dword [ecx + 0x5c], eax
mov edx, dword [ebp - 0x34]
cmp dword [edx + 4], 0
jne 0x1127542
mov eax, dword [ebp - 0x10]
or eax, dword [ebp - 0xc]
jne 0x112752f
push 0x1011ab4
mov ecx, dword [0x11c7dc8]
mov edx, dword [ecx]
mov ecx, dword [0x11c7dc8]
mov eax, dword [edx + 0x38]
call eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.0112bda0
xor al, al
jmp 0x1127789
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x34]
push ecx
call fcn.0112ac30
jmp 0x112758f
cmp dword [0x11c7dec], 0
jne 0x112758f
mov edx, dword [ebp - 0x34]
mov eax, dword [edx + 4]
xor ecx, ecx
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xa4], ecx
mov edx, dword [ebp - 0xa4]
cmp edx, dword [ebp - 0xc]
jl 0x112758f
jg 0x1127577
mov eax, dword [ebp - 0xa8]
cmp eax, dword [ebp - 0x10]
jbe 0x112758f
push 0x1011a50
mov ecx, dword [0x11c7dc8]
mov edx, dword [ecx]
mov ecx, dword [0x11c7dc8]
mov eax, dword [edx + 0x38]
call eax
cmp dword [ebp - 0xc], 0
ja 0x11275be
jb 0x11275a0
cmp dword [ebp - 0x10], 0xc01f1
jae 0x11275be
mov dword [0x11c7df8], 1
mov dword [0x11c4030], 0
mov dword [0x11c4034], 0
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx + 0x5c]
and edx, 4
je 0x11275dc
cmp dword [0x11c7df4], 0
jne 0x11275dc
mov dword [0x11c7df4], 0xffffffff
lea eax, [ebp - 0x3c]
push eax
mov ecx, dword [ebp - 0x38]
push ecx
mov edx, dword [ebp - 0x34]
push edx
mov eax, dword [ebp - 0x24]
push eax
call fcn.01126c80
mov ecx, dword [ebp - 0x34]
cmp dword [ecx + 0x20], 0
je 0x1127630
mov edx, dword [ebp - 0x34]
cmp dword [edx + 0x20], 0x100
jb 0x1127611
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax + 0x20]
cmp ecx, dword [ebp - 4]
jbe 0x1127630
push 0x1011a08
mov edx, dword [0x11c7dc8]
mov eax, dword [edx]
mov ecx, dword [0x11c7dc8]
mov edx, dword [eax + 0x38]
call edx
xor al, al
jmp 0x1127789
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + 0x28]
test ecx, ecx
je 0x1127642
mov dword [ebp - 0x3c], 0x4000
cmp dword [ebp - 0x18], 0
jne 0x11276b0
mov edx, dword [ebp - 0x34]
push edx
call fcn.0112abd0
mov ecx, eax
mov esi, edx
mov eax, dword [ebp - 0x38]
cdq
push edx
push eax
push esi
push ecx
call sub.ntdll.dll__allmul
mov ecx, eax
mov esi, edx
mov eax, dword [ebp - 0x3c]
cdq
push edx
push eax
push esi
push ecx
call sub.ntdll.dll__aulldiv
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x8c], edx
cmp dword [ebp - 0x8c], 0
ja 0x1127691
cmp dword [ebp - 0x90], 0xffffffff
jbe 0x11276ae
mov edx, dword [ebp - 0x34]
mov eax, dword [edx + 0x60]
and eax, 0x80
je 0x11276a7
mov dword [ebp - 0x18], 0xffffffff
jmp 0x11276ae
xor al, al
jmp 0x1127789
jmp 0x11276d3
mov ecx, dword [ebp - 0x18]
xor edx, edx
mov dword [ebp - 0xb0], ecx
mov dword [ebp - 0xac], edx
ja 0x11276cc
cmp dword [ebp - 0xb0], 0xffffffff
jbe 0x11276d3
xor al, al
jmp 0x1127789
cmp dword [ebp - 0x18], 0
je 0x11276e4
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0xb4], eax
jmp 0x112771a
mov ecx, dword [ebp - 0x34]
mov esi, dword [ecx + 4]
xor edi, edi
mov edx, dword [ebp - 0x34]
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 - 0x3c]
cdq
push edx
push eax
push esi
push ecx
call sub.ntdll.dll__alldiv
mov dword [ebp - 0xb4], eax
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0xb4]
mov dword [edx], eax
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx + 4]
mov dword [ebp - 0xbc], edx
mov dword [ebp - 0xb8], 0
fild qword [ebp - 0xbc]
fmul qword [ebp - 0x30]
call fcn.0114a812
mov dword [ebp - 0xc4], eax
mov dword [ebp - 0xc0], edx
fild qword [ebp - 0xc4]
fdiv qword [0x1006d00]
call fcn.0114a812
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x34]
push edx
call fcn.0112acd0
mov eax, dword [ebp - 0x34]
mov byte [eax + 0x174], 4
mov al, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8