Function at 0x7dde4929
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 0x7dde4a0d
mov eax, dword [esi + 0x460]
test eax, 0x4000
je 0x7dde495d
test al, 0x10
jne 0x7dde495d
xor eax, eax
inc eax
jmp 0x7dde4ba5
cmp byte [esi + 0x45c], 0
jne 0x7dde49c6
lea edi, [esi + 0x450]
push 0x400
push edi
call fcn.7dde4597
test eax, eax
jne 0x7dde4982
xor eax, eax
jmp 0x7dde4ba5
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 0x7dde49a3
cmp dword [ebp - 4], 0
jne 0x7dde49b8
cmp eax, 0x80000005
je 0x7dde49b1
cmp eax, 0xc0000023
jne 0x7dde4955
mov eax, dword [edi]
add eax, eax
push eax
jmp 0x7dde4971
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 0x7dde4a01
cmp word [eax + 0x1a], 0x3a
jne 0x7dde4a01
mov eax, dword [eax]
test eax, eax
je 0x7dde4955
add eax, ecx
mov dword [esi + 0x44c], eax
mov dword [esi + 8], 1
jmp 0x7dde4955
mov ecx, dword [esi + 0x430]
xor edx, edx
cmp ecx, 0xffffffff
jne 0x7dde4b67
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 0x7dde4a55
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 0x7dde4ac4
mov eax, dword [edi]
add dword [esi + 0x44c], eax
cmp dword [edi], 0
je 0x7dde4ab7
mov dword [esi + 8], 1
mov byte [esi + 0x45e], 1
push 0x20
call dword [sym.imp.ntdll.dll_RtlSetLastWin32Error]
jmp 0x7dde497b
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0
push 0
push dword [esi + 0x430]
call fcn.7dd9b719
test eax, eax
je 0x7dde4ab7
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 0x7dde4b14
add dword [esi + 0x44c], eax
mov byte [esi + 0x45e], 1
push ebx
push dword [edi + 4]
call fcn.7dde4519
test eax, eax
je 0x7dde4955
push dword [ebp + 0x10]
lea edi, [esi + 0x430]
push esi
push dword [edi]
mov dword [esi], 4
call fcn.7dde46d5
test eax, eax
je 0x7dde4b54
and dword [esi + 8], 0
and dword [esi + 0xc], 0
mov dword [esi + 4], 8
jmp 0x7dde4955
lea eax, [esi + 0xc]
push eax
push dword [edi]
call fcn.7dd7194b
mov dword [esi + 8], eax
jmp 0x7dde4955
mov edi, dword [esi + 0x424]
cmp edi, edx
mov eax, dword [esi + 0x42c]
jg 0x7dde4b8b
jl 0x7dde4955
mov edx, dword [esi + 0x420]
cmp edx, eax
jb 0x7dde4955
mov eax, dword [esi]
cmp eax, 4
je 0x7dde4b9b
cmp eax, 9
jne 0x7dde4955
push dword [ebp + 0x10]
push esi
push ecx
call fcn.7dde3e57
pop edi
pop esi
pop ebx
leave
ret 0xc