Function at 0x7dde47e9
Capabilities:
Get file attributes
Get file size

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push esi
mov esi, dword [ebp + 0xc]
cmp byte [esi + 0x45d], 0
push edi
je 0x7dde48cd
mov eax, dword [esi + 0x460]
test eax, 0x4000
je 0x7dde481d
test al, 0x10
jne 0x7dde481d
xor eax, eax
inc eax
jmp 0x7dde4a65
cmp byte [esi + 0x45c], 0
jne 0x7dde4886
lea edi, [esi + 0x450]
push 0x400
push edi
call fcn.7dde4457
test eax, eax
jne 0x7dde4842
xor eax, eax
jmp 0x7dde4a65
push 0x16
push dword [edi]
lea eax, [ebp - 8]
push dword [esi + 0x458]
push eax
push dword [ebp + 8]
call dword [sym.imp.ntdll.dll_NtQueryInformationFile]
test eax, eax
jl 0x7dde4863
cmp dword [ebp - 4], 0
jne 0x7dde4878
cmp eax, 0x80000005
je 0x7dde4871
cmp eax, 0xc0000023
jne 0x7dde4815
mov eax, dword [edi]
add eax, eax
push eax
jmp 0x7dde4831
and dword [esi + 0x44c], 0
mov byte [esi + 0x45c], 1
mov ecx, dword [esi + 0x44c]
mov eax, dword [esi + 0x458]
or dword [esi + 0x430], 0xffffffff
add eax, ecx
mov byte [esi + 0x45d], 0
cmp dword [eax + 4], 4
jb 0x7dde48c1
cmp word [eax + 0x1a], 0x3a
jne 0x7dde48c1
mov eax, dword [eax]
test eax, eax
je 0x7dde4815
add eax, ecx
mov dword [esi + 0x44c], eax
mov dword [esi + 8], 1
jmp 0x7dde4815
mov ecx, dword [esi + 0x430]
xor edx, edx
cmp ecx, 0xffffffff
jne 0x7dde4a27
mov edi, dword [esi + 0x458]
add edi, dword [esi + 0x44c]
mov dword [esi + 8], edx
mov dword [esi + 0xc], edx
mov ax, word [edi + 4]
xor ecx, ecx
test dword [esi + 0x460], 0x400
lea ebx, [edi + 0x18]
mov word [ebp - 8], ax
mov word [ebp - 6], ax
mov dword [ebp - 4], ebx
je 0x7dde4915
mov ecx, 0x200000
mov eax, dword [ebp + 8]
mov dword [ebp - 0x24], eax
or ecx, 0x4020
push ecx
lea eax, [ebp - 8]
mov dword [ebp - 0x20], eax
push 7
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x28]
push eax
push 0x100001
lea eax, [esi + 0x430]
push eax
mov dword [ebp - 0x28], 0x18
mov dword [ebp - 0x1c], 0x40
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], edx
call dword [sym.imp.ntdll.dll_NtOpenFile]
test eax, eax
jge 0x7dde4984
mov eax, dword [edi]
add dword [esi + 0x44c], eax
cmp dword [edi], 0
je 0x7dde4977
mov dword [esi + 8], 1
mov byte [esi + 0x45e], 1
push 0x20
call dword [sym.imp.ntdll.dll_RtlSetLastWin32Error]
jmp 0x7dde483b
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0
push 0
push dword [esi + 0x430]
call fcn.7dd9b729
test eax, eax
je 0x7dde4977
and dword [esi + 4], 0
mov eax, dword [edi + 4]
mov dword [esi + 0x10], eax
mov eax, dword [edi + 4]
add eax, 0x14
mov dword [esi + 0x42c], eax
push dword [edi + 4]
lea eax, [esi + 0x14]
push ebx
push eax
call sub.ntdll.dll_memcpy
mov eax, dword [edi]
add esp, 0xc
test eax, eax
je 0x7dde49d4
add dword [esi + 0x44c], eax
mov byte [esi + 0x45e], 1
push ebx
push dword [edi + 4]
call fcn.7dde43d9
test eax, eax
je 0x7dde4815
push dword [ebp + 0x10]
lea edi, [esi + 0x430]
push esi
push dword [edi]
mov dword [esi], 4
call fcn.7dde4595
test eax, eax
je 0x7dde4a14
and dword [esi + 8], 0
and dword [esi + 0xc], 0
mov dword [esi + 4], 8
jmp 0x7dde4815
lea eax, [esi + 0xc]
push eax
push dword [edi]
call fcn.7dd7194b
mov dword [esi + 8], eax
jmp 0x7dde4815
mov edi, dword [esi + 0x424]
cmp edi, edx
mov eax, dword [esi + 0x42c]
jg 0x7dde4a4b
jl 0x7dde4815
mov edx, dword [esi + 0x420]
cmp edx, eax
jb 0x7dde4815
mov eax, dword [esi]
cmp eax, 4
je 0x7dde4a5b
cmp eax, 9
jne 0x7dde4815
push dword [ebp + 0x10]
push esi
push ecx
call fcn.7dde3d17
pop edi
pop esi
pop ebx
leave
ret 0xc