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

Disassembly:
push edi
lea edi, [esp + 8]
and esp, 0xfffffff8
push dword [edi - 4]
push ebp
mov ebp, esp
push edi
push esi
mov esi, eax
push ebx
sub esp, 0x50
mov eax, dword [0x707bac]
mov dword [ebp - 0x44], eax
test eax, eax
je 0x43a210
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
lea esp, [edi - 8]
pop edi
ret
mov ebx, edx
mov edx, dword [sym.imp.ntdll.dll_NtQueryInformationFile]
lea ecx, [ebp - 0x28]
lea eax, [ebp - 0x30]
mov dword [esp + 8], ecx
mov dword [esp + 0x10], 5
mov dword [esp + 0xc], 0x18
mov dword [esp + 4], eax
mov dword [esp], esi
mov dword [ebp - 0x48], edx
call edx
sub esp, 0x14
mov edi, eax
mov eax, 0x1178
call fcn.00427180
xor eax, eax
cmp edi, 0xc0000010
mov dword [esp + 8], edi
sete al
mov dword [esp + 4], str.NtQueryInformationFile_returned:__lx_n
mov dword [esp], eax
call fcn.00427ef0
lea ecx, [ebp - 0x28]
lea eax, [ebp - 0x30]
mov dword [esp], ebx
mov dword [esp + 8], ecx
mov dword [esp + 0x10], 5
mov dword [esp + 0xc], 0x18
mov dword [esp + 4], eax
mov edx, dword [ebp - 0x48]
call edx
sub esp, 0x14
mov edi, eax
mov eax, 0x117b
call fcn.00427180
xor eax, eax
cmp edi, 0xc0000010
mov dword [esp + 8], edi
sete al
mov dword [esp + 4], str.NtQueryInformationFile_returned:__lx_n
mov dword [esp], eax
call fcn.00427ef0
lea eax, [ebp - 0x40]
mov dword [esp], esi
mov dword [esp + 4], eax
mov eax, dword [sym.imp.kernel32.dll_GetFileSizeEx]
mov dword [ebp - 0x48], eax
call eax
sub esp, 8
mov edi, eax
mov eax, 0x117e
call fcn.00427180
xor eax, eax
mov edx, dword fs:[0x18]
mov ecx, dword [edx + 0x34]
test edi, edi
jne 0x43a2fb
xor eax, eax
cmp ecx, 1
sete al
mov dword [esp + 0xc], ecx
mov dword [esp + 8], edi
mov dword [esp], eax
mov dword [esp + 4], str.GetFileSizeEx_returned__x__lu__n
call fcn.00427ef0
lea eax, [ebp - 0x40]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x48]
call eax
sub esp, 8
mov edi, eax
call fcn.0057d110
mov dword [eax], 0x58f03f
mov dword [eax + 4], 0x1182
mov eax, dword fs:[0x18]
mov edx, dword [eax + 0x34]
test edi, edi
jne 0x43a351
xor eax, eax
cmp edx, 1
sete al
mov dword [ebp - 0x44], eax
mov dword [esp + 0xc], edx
mov dword [esp + 8], edi
mov dword [esp + 4], str.GetFileSizeEx_returned__x__lu__n
mov eax, dword [ebp - 0x44]
mov dword [esp], eax
call fcn.00427ef0
lea ecx, [ebp - 0x38]
lea eax, [ebp - 0x30]
mov dword [esp], esi
mov edx, dword [sym.imp.ntdll.dll_NtQueryVolumeInformationFile]
mov dword [esp + 8], ecx
mov dword [esp + 0x10], 4
mov dword [esp + 0xc], 8
mov dword [esp + 4], eax
mov dword [ebp - 0x44], edx
call edx
sub esp, 0x14
mov edi, eax
mov eax, 0x1186
call fcn.00427180
xor eax, eax
test edi, edi
mov dword [esp + 8], edi
sete al
mov dword [esp + 4], str.NtQueryVolumeInformationFile_failed:__lx_n
mov dword [esp], eax
call fcn.00427ef0
mov eax, 0x1187
call fcn.00427180
mov eax, dword [ebp - 0x38]
mov dword [esp + 4], str.DeviceType___lu_n
cmp eax, 0x50
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00427ef0
call fcn.0057d110
mov dword [eax], 0x58f03f
mov dword [eax + 4], 0x1188
mov eax, dword [ebp - 0x34]
mov dword [esp + 4], str.Characteristics___lx_n
cmp eax, 0x20000
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00427ef0
lea ecx, [ebp - 0x38]
lea eax, [ebp - 0x30]
mov dword [esp], ebx
mov dword [esp + 8], ecx
mov dword [esp + 0x10], 4
mov dword [esp + 0xc], 8
mov dword [esp + 4], eax
mov edx, dword [ebp - 0x44]
call edx
sub esp, 0x14
mov edi, eax
mov eax, 0x118c
call fcn.00427180
xor eax, eax
test edi, edi
mov dword [esp + 8], edi
sete al
mov dword [esp + 4], str.NtQueryVolumeInformationFile_failed:__lx_n
mov dword [esp], eax
call fcn.00427ef0
mov eax, 0x118d
call fcn.00427180
mov eax, dword [ebp - 0x38]
mov dword [esp + 4], str.DeviceType___lu_n
cmp eax, 0x50
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00427ef0
call fcn.0057d110
mov dword [eax], 0x58f03f
mov dword [eax + 4], 0x118e
mov eax, dword [ebp - 0x34]
mov dword [esp + 4], str.Characteristics___lx_n
cmp eax, 0x20000
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00427ef0
mov edi, dword [sym.imp.kernel32.dll_GetFileType]
mov dword [esp], esi
call edi
sub esp, 4
mov esi, eax
mov eax, 0x1192
call fcn.00427180
xor eax, eax
cmp esi, 2
mov dword [esp + 8], esi
sete al
mov dword [esp + 4], str.GetFileType_returned__lu_n
mov dword [esp], eax
call fcn.00427ef0
mov dword [esp], ebx
call edi
sub esp, 4
mov ebx, eax
mov eax, 0x1194
call fcn.00427180
xor eax, eax
cmp ebx, 2
mov dword [esp + 8], ebx
sete al
mov dword [esp + 4], str.GetFileType_returned__lu_n
mov dword [esp], eax
call fcn.00427ef0
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
lea esp, [edi - 8]
pop edi
ret