Function at 0x425aa0
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c8
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x2c], 1
xor ecx, ecx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x5c], ecx
mov eax, edx
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x38], ecx
mov ecx, dword [ebp + 0xc]
push edi
push 5
push 0x18
mov dword [ecx], 0
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0xc], eax
mov dword [ecx], 0
lea ecx, [ebp - 0x74]
push ecx
lea ecx, [ebp - 0x34]
push ecx
push eax
call dword [sym.imp.ntdll.dll_NtQueryInformationFile]
test eax, eax
jns 0x425b14
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [esi + 8]
xor edi, edi
xor ebx, ebx
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x14], ebx
cmp eax, 0xffffffff
je 0x425b3c
test eax, eax
mov ecx, 0x2000000
cmovne ecx, eax
cmp dword [ebp - 0x68], ebx
jl 0x425b3c
jg 0x425b06
cmp dword [ebp - 0x6c], ecx
ja 0x425b06
mov eax, dword [0x454cec]
push 0
test eax, eax
je 0x425b59
push 0
push dword [ebp + 8]
lea ecx, [ebp - 8]
push 0x453b78
push ecx
call eax
jmp 0x425b68
push 0x453b78
lea eax, [ebp - 8]
push eax
call dword [0x454cd4]
test eax, eax
je 0x425e6d
push 0x20
push 4
push dword [0x454e50]
mov dword [ebp + 8], 0x20
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov esi, eax
mov eax, dword [0x454cc8]
mov dword [ebp - 0x18], esi
push 0
push esi
test eax, eax
je 0x425c0a
lea ecx, [ebp + 8]
push ecx
push dword [ebp - 0xc]
push dword [ebp - 8]
call eax
test eax, eax
jne 0x425c72
push esi
push eax
push dword [0x454e50]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
push dword [ebp + 8]
mov eax, dword [sym.imp.ntdll.dll_RtlAllocateHeap]
push 4
push dword [0x454e50]
call eax
push 0
mov esi, eax
lea eax, [ebp + 8]
push esi
push eax
push dword [ebp - 0xc]
mov dword [ebp - 0x18], esi
push dword [ebp - 8]
call dword [0x454cc8]
test eax, eax
jne 0x425c72
push eax
push dword [ebp - 8]
call dword [0x454cc4]
push esi
push 0
push dword [0x454e50]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
jmp 0x425e6d
lea eax, [ebp + 8]
push eax
push dword [ebp - 0xc]
call dword [0x454cf4]
test eax, eax
jne 0x425c72
push esi
push eax
push dword [0x454e50]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
push dword [ebp + 8]
mov eax, dword [sym.imp.ntdll.dll_RtlAllocateHeap]
push 4
push dword [0x454e50]
call eax
mov esi, eax
lea eax, [ebp + 8]
push 0
push esi
push eax
push dword [ebp - 0xc]
mov dword [ebp - 0x18], esi
call dword [0x454cf4]
test eax, eax
jne 0x425c72
push eax
push dword [ebp - 8]
call dword [0x454cc4]
push esi
push 0
push dword [0x454e50]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
jmp 0x425e6d
mov ecx, dword [ebp + 8]
mov edx, ecx
mov eax, dword [ebp - 8]
mov dword [ebp - 0x24], ecx
push ecx
mov ecx, esi
mov dword [ebp - 0x1c], eax
call fcn.004135e0
push 0
push 0
push dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
push esi
push dword [ebp - 0x1c]
call dword [0x454cdc]
mov dword [ebp - 0x30], eax
test eax, eax
je 0x425d78
push 0x20c
lea eax, [ebp - 0x284]
push 0
push eax
call fcn.0042b2e0
add esp, 0xc
lea eax, [ebp - 0x6c4]
push 0x440
push 0
push eax
call fcn.0042b2e0
add esp, 0xc
lea eax, [ebp - 0x284]
push 0
push eax
push dword [ebp - 0x30]
call dword [0x454ccc]
test eax, eax
je 0x425d65
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x280]
mov dword [ebp - 0x54], eax
mov edx, 2
mov dword [ebp - 0x5c], 0x28
mov dword [ebp - 0x6c4], 0x440
mov eax, dword [ecx]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 4]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0x44], esi
push eax
lea eax, [ebp - 0x6c4]
push eax
push 0x453b78
lea eax, [ebp - 0x5c]
push eax
call fcn.00425770
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2a0]
test eax, eax
je 0x425d5f
push eax
call dword [0x454ce4]
mov ebx, dword [ebp - 0x14]
mov edi, dword [ebp - 0x10]
push 0
push dword [ebp - 0x30]
push dword [ebp - 0x1c]
call dword [0x454cc0]
jmp 0x425e3d
mov ecx, dword [ebp - 0x20]
xor esi, esi
mov dword [ebp - 0x30], esi
cmp dword [ecx + 0xc], ebx
jbe 0x425e3a
lea esp, [esp]
test edi, edi
je 0x425dc0
xor esi, esi
test ebx, ebx
je 0x425dae
lea ebx, [ebx]
push dword [edi + esi*4]
call dword [0x454ce4]
inc esi
cmp esi, ebx
jb 0x425da0
push edi
push 0
push dword [0x454e50]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
mov esi, dword [ebp - 0x30]
mov ebx, dword [ebp - 0x20]
mov edx, 2
mov dword [ebp - 0x5c], 0x28
mov ecx, ebx
mov eax, dword [ebx + 0x10]
mov eax, dword [eax + esi*4]
mov dword [ebp - 0x54], eax
mov eax, dword [ebx]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 4]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push 0x453b68
lea eax, [ebp - 0x5c]
push eax
call fcn.00425770
mov dword [ebp - 0x2c], eax
cmp eax, 2
je 0x425e34
inc esi
mov dword [ebp - 0x30], esi
cmp esi, dword [ebx + 0xc]
jae 0x425e34
mov edi, dword [ebp - 0x10]
mov ebx, dword [ebp - 0x14]
jmp 0x425d90
mov edi, dword [ebp - 0x10]
mov ebx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x28]
or eax, 0xffffffff
add ecx, 0xfffffff8
lock xadd dword [ecx + 4], eax
dec eax
jne 0x425e53
call fcn.00411970
push esi
push 0
push dword [0x454e50]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
push 0
push dword [ebp - 0x1c]
call dword [0x454cc4]
mov eax, dword [ebp + 0xc]
mov dword [eax], edi
mov eax, dword [ebp + 0x10]
pop edi
pop esi
mov dword [eax], ebx
mov eax, dword [ebp - 0x2c]
pop ebx
mov esp, ebp
pop ebp
ret 0xc