Function at 0x416b5b
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword [ebp + 0x10]
sub esp, 0x34c
push ebx
push esi
xor ebx, ebx
push edi
test eax, eax
je 0x416b78
mov dword [eax], ebx
mov dword [eax + 4], ebx
push 0x20
pop ecx
mov dword [esp + 0x58], ebx
call fcn.00437b16
push 0x49a9c0
lea ecx, [esp + 0x30]
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esp + 0x58], eax
mov eax, dword [ebp + 8]
add eax, 4
mov edx, eax
mov dword [esp + 0x80], eax
call fcn.0043baed
mov esi, dword [esp + 0x30]
lea eax, [esp + 0x3c]
pop ecx
push ebx
push ebx
push eax
push esi
call dword [sym.imp.ntdll.dll_RtlDosPathNameToNtPathName_U]
test al, al
je 0x4173cd
push 0x4021
lea eax, [esp + 0x3c]
mov dword [esp + 0x84], 0x18
mov dword [esp + 0x8c], eax
lea eax, [esp + 0x9c]
push 7
push eax
lea eax, [esp + 0x8c]
mov dword [esp + 0x90], ebx
push eax
push 0x100001
lea eax, [esp + 0x3c]
mov dword [esp + 0xa0], 0x40
push eax
mov dword [esp + 0xa8], ebx
mov dword [esp + 0xac], ebx
call dword [sym.imp.ntdll.dll_NtOpenFile]
mov edi, eax
lea eax, [esp + 0x38]
push eax
call dword [sym.imp.ntdll.dll_RtlFreeUnicodeString]
test edi, edi
jne 0x4173cd
lea eax, [esp + 0x154]
mov dword [esp + 0x30], ebx
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x84], eax
lea eax, [esp + 0x38]
mov dword [esp + 0x88], eax
lea eax, [esp + 0x30]
push eax
mov dword [esp + 0x38], ebx
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
add dword [esp + 0x30], 0xd71bc000
lea eax, [esp + 0x110]
push ebx
adc dword [esp + 0x38], 0xfffffa7f
push ebx
push 0xff
push 2
push 0x248
push eax
lea eax, [esp + 0xb0]
mov dword [esp + 0x24], ebx
push eax
push ebx
push ebx
push ebx
push dword [esp + 0x50]
call dword [sym.imp.ntdll.dll_ZwQueryDirectoryFile]
mov edi, 0x4c7
jmp 0x416e4c
test byte [esp + 0x148], 0x10
je 0x416e21
mov edi, dword [esp + 0x14c]
lea ecx, [esp + 0x154]
mov edx, edi
call fcn.0044cd96
test al, al
jne 0x416e1c
test dword [esp + 0x148], 0x400
je 0x416d06
test dword [esp + 0x150], 0x20000000
jne 0x416e1c
test dword [esp + 0x148], 0x1100
jne 0x416e1c
cmp word [esp + 0x154], 0x24
je 0x416e1c
mov eax, edi
sub eax, 8
je 0x416d58
dec eax
sub eax, 1
je 0x416d4f
sub eax, 6
je 0x416d46
sub eax, 0x22
jne 0x416d75
push 0x19
push str.System_Volume_Information
jmp 0x416d5f
push 8
push str.Recovery
jmp 0x416d5f
push 5
push str.Users
jmp 0x416d5f
push 4
push str.Boot
lea eax, [esp + 0x15c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpNIW]
test eax, eax
je 0x416e1c
mov eax, dword [esp + 0x14c]
sub esp, 0x18
mov word [esp + 0x52], ax
mov word [esp + 0x50], ax
mov ebx, dword [esi - 0xc]
lea esi, [esp + 0x98]
push 6
pop ecx
mov edi, esp
movzx eax, ax
push dword [esp + 0x4c]
rep movsd dword es:[edi], dword [esi]
push dword [esp + 0x4c]
shr eax, 1
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push ecx
mov esi, esp
lea ecx, [esp + 0x3c]
push 0x49a9c0
push eax
push dword [esp + 0x70]
call fcn.0043b8e8
push eax
lea edx, [esp + 0x60]
lea ecx, [esp + 0x4c]
call fcn.00431d91
pop ecx
mov edx, eax
mov ecx, esi
call fcn.0043baed
pop ecx
lea edx, [esp + 0x80]
mov ecx, ebx
call fcn.0041665c
mov ecx, dword [esp + 0x44]
add esp, 0x2c
mov ebx, eax
add ecx, 0xfffffff0
mov dword [esp + 0xc], ebx
call fcn.0043d912
mov ecx, dword [esp + 0x10]
add ecx, 0xfffffff0
call fcn.0043d912
mov edi, 0x4c7
cmp ebx, edi
je 0x416e56
mov esi, dword [esp + 0x2c]
xor ebx, ebx
jmp 0x416e21
mov edi, 0x4c7
push ebx
push ebx
push 0xff
push 2
push 0x248
lea eax, [esp + 0x124]
push eax
lea eax, [esp + 0xb0]
push eax
push ebx
push ebx
push ebx
push dword [esp + 0x50]
call dword [sym.imp.ntdll.dll_ZwQueryDirectoryFile]
test eax, eax
je 0x416cbd
jmp 0x416e58
xor ebx, ebx
push dword [esp + 0x28]
call dword [sym.imp.ntdll.dll_NtClose]
cmp dword [esp + 0xc], edi
je 0x4173cf
call fcn.0043d5bb
push eax
lea ecx, [esp + 0xc4]
call fcn.0043bbe8
mov esi, dword [esp + 0x54]
mov ecx, ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x48], ebx
mov esi, dword [esi]
mov eax, esi
mov dword [esp + 0x18], esi
mov dword [esp + 0xc], eax
cmp byte [eax + 0xd], 0
jne 0x416ecc
mov esi, ebx
mov ecx, dword [eax + 0x18]
sub ecx, dword [eax + 0x14]
sar ecx, 2
add esi, ecx
lea ecx, [esp + 0xc]
call fcn.00430288
mov eax, dword [esp + 0xc]
cmp byte [eax + 0xd], 0
je 0x416ea4
mov dword [esp + 0x48], esi
mov ecx, ebx
mov esi, dword [esp + 0x18]
mov dword [esp + 0x18], esi
jmp 0x4173b2
mov eax, dword [esi + 0x18]
sub eax, dword [esi + 0x14]
and eax, 0xfffffffc
cmp eax, 4
jne 0x416eed
inc ecx
mov dword [esp + 0x1c], ecx
jmp 0x4173a1
push 0x18
pop ecx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
call fcn.00437b16
push 0x30
pop ecx
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esp + 0x40], eax
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
call fcn.00437b16
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov edi, dword [esi + 0x14]
mov dword [esp + 0x4c], eax
mov eax, dword [esi + 0x18]
mov dword [esp + 0x60], eax
mov dword [esp + 0x14], edi
cmp edi, eax
je 0x41738f
mov eax, dword [esp + 0x1c]
imul ecx, eax, 0x64
inc eax
add ecx, 0x64
cmp dword [ebp + 0x14], 0
mov dword [esp + 0x1c], eax
mov dword [esp + 0x64], ecx
je 0x416f83
mov eax, ecx
xor edx, edx
div dword [esp + 0x48]
push dword [ebp + 0x18]
push ebx
push eax
push 0x9478
call dword [ebp + 0x14]
push dword [ebp + 0x18]
push ebx
push dword [edi]
push 0x9479
call dword [ebp + 0x14]
mov ecx, dword [edi]
lea eax, [esp + 0xb8]
push eax
lea edx, [esp + 0xfc]
call fcn.0044cde1
test eax, eax
jne 0x417376
lea eax, [esp + 0xb8]
push eax
lea eax, [esp + 0xe8]
push eax
lea ecx, [esp + 0x48]
call fcn.004363e6
lea eax, [esp + 0xb8]
push eax
mov eax, dword [esp + 0xf0]
push eax
mov dword [esp + 0x18], eax
call fcn.004365fc
test al, al
mov eax, dword [esp + 0x10]
jne 0x416fdf
mov eax, dword [esp + 0x40]
cmp eax, dword [esp + 0x40]
jne 0x417376
mov ecx, dword [edi]
lea eax, [esp + 0xa8]
push 0x10
push eax
mov edx, 0x8003
call fcn.0044c1d1
pop ecx
pop ecx
test eax, eax
jne 0x417376
push edi
lea ecx, [esp + 0xc4]
call fcn.0043c5cb
lea eax, [esp + 0xa8]
push eax
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x54]
call fcn.00435cd1
cmp byte [esp + 0x24], 0
je 0x417051
lea eax, [esp + 0xb8]
push eax
lea eax, [esp + 0xf4]
push eax
lea ecx, [esp + 0x48]
call fcn.00435c44
jmp 0x417376
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx + 0x20]
cmp eax, dword [esp + 0xb8]
jne 0x417071
mov eax, dword [ecx + 0x24]
cmp eax, dword [esp + 0xbc]
je 0x417376
mov edx, dword [edi]
mov ecx, dword [ecx + 0x28]
call fcn.0041699b
test al, al
je 0x417376
cmp dword [ebp + 0x14], 0
je 0x417097
push dword [ebp + 0x18]
push dword [edi]
push ebx
push 0x9089
call dword [ebp + 0x14]
push dword [edi]
mov eax, dword [esp + 0x24]
push dword [eax + 0x28]
lea eax, [esp + 0x70]
push 0x494f1c
push eax
call fcn.0044af44
add esp, 0x10
push dword [eax]
push 0x494f30
push 4
call dword [sym.imp.CBSHost.dll_DismWriteLog]
mov ecx, dword [esp + 0x68]
lea ecx, [ecx - 0x10]
call fcn.0043d912
mov ecx, dword [ebp + 0x10]
test ecx, ecx
jne 0x417365
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x28]
call fcn.0044da75
test eax, eax
je 0x417107
mov ecx, dword [edi]
call fcn.0044da75
test eax, eax
jne 0x417107
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x28]
call fcn.0044dadb
test eax, eax
jne 0x417376
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x28]
call fcn.0044d49a
mov ecx, dword [edi]
mov dword [esp + 0x10], eax
call fcn.0044d49a
mov ecx, dword [esp + 0x10]
mov dword [esp + 0xc], eax
cmp ecx, 0xffffffff
je 0x417376
cmp eax, 0xffffffff
je 0x417376
test al, 1
je 0x4171d0
push ebx
push ebx
lea eax, [esp + 0xa8]
push eax
push dword [edi]
call dword [sym.imp.ntdll.dll_RtlDosPathNameToNtPathName_U]
test al, al
jne 0x41715e
call dword [sym.imp.ntdll.dll_RtlGetLastNtStatus]
jmp 0x4171c0
mov edx, dword [esp + 0xc]
lea eax, [esp + 0xa0]
xor edx, 1
mov dword [esp + 0xc8], 0x18
lea ecx, [esp + 0xc8]
mov dword [esp + 0xcc], ebx
mov dword [esp + 0xd0], eax
mov dword [esp + 0xd4], 0x40
mov dword [esp + 0xd8], ebx
mov dword [esp + 0xdc], ebx
call fcn.0044d440
mov dword [esp + 0x6c], eax
lea eax, [esp + 0xa0]
push eax
call dword [sym.imp.ntdll.dll_RtlFreeUnicodeString]
mov eax, dword [esp + 0x6c]
test eax, eax
je 0x417376
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
bt ecx, 0xb
jae 0x4172b6
bt eax, 0xb
jb 0x4172b6
mov eax, dword [esp + 0x20]
push ebx
push 0x2000000
push 3
push ebx
push ebx
push 0xc0000000
push dword [eax + 0x28]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esp + 0xc], eax
cmp eax, 0xffffffff
jne 0x417251
call fcn.0044cc8a
push eax
mov eax, dword [esp + 0x24]
push dword [eax + 0x28]
lea eax, [esp + 0x78]
push 0x494f3c
push eax
call fcn.0044af44
add esp, 0x10
push dword [eax]
push 0x494f30
push 4
call dword [sym.imp.CBSHost.dll_DismWriteLog]
mov ecx, dword [esp + 0x70]
lea ecx, [ecx - 0x10]
call fcn.0043d912
lea ecx, [esp + 0xc]
call fcn.0043bb32
jmp 0x417376
push ebx
lea ecx, [esp + 0xe4]
push ecx
push ebx
push ebx
push 4
lea ecx, [esp + 0x88]
push ecx
push 0x9c040
push eax
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x4172ad
call fcn.0044cc8a
push eax
mov eax, dword [esp + 0x24]
push dword [eax + 0x28]
lea eax, [esp + 0x80]
push str._s_NTFS
push eax
call fcn.0044af44
add esp, 0x10
push dword [eax]
push 0x494f30
push 4
call dword [sym.imp.CBSHost.dll_DismWriteLog]
mov ecx, dword [esp + 0x78]
jmp 0x41723b
lea ecx, [esp + 0xc]
call fcn.0043bb32
mov ecx, dword [edi]
sub ecx, 0x10
call fcn.0043cad2
add eax, 0x10
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x7c]
push str._HardLinkBackup
mov eax, dword [eax]
push dword [eax - 0xc]
call fcn.00432070
mov edi, dword [esp + 0x10]
mov ecx, edi
call fcn.0044c539
test eax, eax
je 0x4172fb
lea ecx, [edi - 0x10]
call fcn.0043d912
mov edi, dword [esp + 0x14]
jmp 0x417376
mov eax, dword [esp + 0x14]
push 0x10
push edi
push dword [eax]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov eax, dword [esp + 0x14]
push 0x11
push dword [eax]
mov eax, dword [esp + 0x28]
push dword [eax + 0x28]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x4172ed
call fcn.0044cc8a
push eax
mov eax, dword [esp + 0x18]
push dword [eax]
mov eax, dword [esp + 0x28]
push dword [eax + 0x28]
lea eax, [esp + 0x68]
push 0x494fec
push eax
call fcn.0044af44
add esp, 0x14
push dword [eax]
push 0x494f30
push 4
call dword [sym.imp.CBSHost.dll_DismWriteLog]
mov ecx, dword [esp + 0x5c]
lea ecx, [ecx - 0x10]
call fcn.0043d912
jmp 0x4172ed
mov eax, dword [esi + 0x10]
xor edx, edx
div dword [esp + 0x108]
add dword [ecx], eax
adc dword [ecx + 4], ebx
mov eax, dword [esp + 0x1c]
add edi, 4
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x14], edi
cmp edi, dword [esp + 0x60]
jne 0x416f4e
lea ecx, [esp + 0x4c]
call fcn.00430a3b
lea ecx, [esp + 0x40]
call fcn.00430a6d
lea ecx, [esp + 0x18]
call fcn.00430288
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
cmp byte [esi + 0xd], 0
je 0x416ed5
mov ecx, dword [esp + 0xc0]
lea ecx, [ecx - 0x10]
call fcn.0043d912
jmp 0x4173d1
mov edi, ebx
mov ebx, edi
mov ecx, dword [esp + 0x2c]
add ecx, 0xfffffff0
call fcn.0043d912
lea ecx, [esp + 0x54]
call fcn.00430a54
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 0x14