Function at 0x48aa60
Capabilities:
Get file attributes

Disassembly:
push ebp
lea ebp, [esp - 0xac]
sub esp, 0xac
push 0xffffffffffffffff
push 0x5421f3
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
mov eax, dword [0x596c60]
xor eax, ebp
mov dword [ebp + 0xa8], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x18], edi
mov eax, dword [0x59f554]
mov dword [ebp - 0x1c], edi
test al, 1
jne 0x48aad1
or eax, 1
mov dword [0x59f554], eax
mov dword [ebp - 4], 0
call fcn.004a1290
push 0x54f080
call fcn.00507cdd
add esp, 4
mov eax, dword [0x597f88]
test byte [eax + 0x1c], 2
je 0x48aae6
cmp byte [eax + 0x19], 6
jb 0x48aae6
mov al, 1
jmp 0x48aae8
xor al, al
cmp byte [0x59f560], 0
jne 0x48ab02
cmp byte [0x59f561], 0
jne 0x48ab02
test al, al
je 0x48ac40
sub esp, 8
mov dword [ebp - 4], 1
lea ecx, [ebp - 0xbc]
call fcn.0047b4d0
lea ecx, [ebp + 0x90]
mov byte [ebp - 4], 2
call fcn.004a1680
mov edx, eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xbc]
call fcn.0047ee50
mov edx, str..Driver.cpp
mov ecx, eax
call fcn.0047f0b0
mov edx, 0x56b378
mov ecx, eax
call fcn.0047f0b0
push 0x215
mov ecx, eax
call fcn.0047b130
mov edx, 0x56b378
mov ecx, eax
call fcn.0047f0b0
mov edx, 0x56b46c
mov ecx, eax
call fcn.0047f0b0
mov edx, str.Driver::RepairDriverFile
mov ecx, eax
call fcn.0047f0b0
mov byte [ebp - 4], 2
cmp dword [ebp + 0xa4], 0x10
jb 0x48ab9f
mov eax, dword [ebp + 0x90]
test eax, eax
je 0x48ab9f
push eax
call fcn.00507b54
add esp, 4
lea eax, [ebp + 0x90]
push eax
lea ecx, [ebp - 0xbc]
call fcn.0047b620
mov esi, eax
mov byte [ebp - 4], 4
cmp dword [esi + 0x14], 0x10
jb 0x48abbf
mov esi, dword [esi]
mov eax, dword [0x59f554]
test al, 1
jne 0x48abea
or eax, 1
mov dword [0x59f554], eax
mov byte [ebp - 4], 5
call fcn.004a1290
push 0x54f080
call fcn.00507cdd
add esp, 4
mov byte [ebp - 4], 4
push esi
push 6
mov ecx, 0x59f560
call fcn.004a1510
cmp dword [ebp + 0xa4], 0x10
jb 0x48ac13
mov eax, dword [ebp + 0x90]
test eax, eax
je 0x48ac13
push eax
call fcn.00507b54
add esp, 4
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 1
call fcn.0047b5a0
lea eax, [ebp - 0x6c]
mov dword [ebp - 0x6c], 0x56b700
push eax
call fcn.00528f2f
add esp, 4
jmp 0x48ac40
xor eax, eax
mov dword [ebp + 0x14], 7
mov dword [ebp + 0x10], 0
mov word [ebp], ax
lea ecx, [ebp]
mov dword [ebp - 4], 7
call fcn.004f4300
push 0xffffffffffffffff
push 0
lea eax, [edi + 0x80]
push eax
lea ecx, [ebp]
call fcn.004825c0
mov dword [ebp + 0x5c], 0xf
mov dword [ebp + 0x58], 0
mov byte [ebp + 0x48], 0
push 3
lea ecx, [edi + 4]
mov byte [ebp - 4], 8
push 0x56c4bc
push dword [ecx + 0x10]
push ecx
call fcn.00485920
lea ecx, [ebp + 0x48]
test eax, eax
jne 0x48acaf
push 5
push str.___36
jmp 0x48acb6
push 0x1b
push str._DefaultInstall.NTamd64__36
call fcn.0047c020
lea eax, [ebp + 0x48]
push eax
lea eax, [ebp]
push eax
call fcn.00488580
mov esi, eax
mov dword [ebp + 0x2c], 7
xor eax, eax
mov dword [ebp - 0x14], esi
mov dword [ebp + 0x28], 0
mov word [ebp + 0x18], ax
lea eax, [ebp + 0x18]
mov byte [ebp - 4], 9
push eax
lea eax, [ebp]
push eax
call fcn.00488e30
test eax, eax
jne 0x48adfa
mov dword [ebp + 0x8c], 7
mov dword [ebp + 0x88], eax
mov word [ebp + 0x78], ax
lea ecx, [ebp + 0x78]
mov byte [ebp - 4], 0xa
call fcn.004f4300
lea eax, [ebp + 0x18]
push eax
lea edx, [ebp + 0x78]
lea ecx, [ebp + 0x90]
call fcn.004900a0
mov edi, eax
add esp, 4
lea eax, [ebp + 0x78]
cmp eax, edi
je 0x48ad74
cmp dword [ebp + 0x8c], 8
jb 0x48ad51
mov ecx, dword [ebp + 0x78]
test ecx, ecx
je 0x48ad51
push ecx
call fcn.00507b54
add esp, 4
xor eax, eax
mov dword [ebp + 0x8c], 7
push edi
lea ecx, [ebp + 0x78]
mov dword [ebp + 0x88], 0
mov word [ebp + 0x78], ax
call fcn.0047c330
cmp dword [ebp + 0xa4], 8
jb 0x48ad90
mov eax, dword [ebp + 0x90]
test eax, eax
je 0x48ad90
push eax
call fcn.00507b54
add esp, 4
cmp dword [ebp + 0x8c], 8
mov eax, dword [ebp + 0x78]
jae 0x48ad9f
lea eax, [ebp + 0x78]
push 0x104
push eax
lea ecx, [ebp - 0x24]
call fcn.00483c80
push dword [eax]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ecx, dword [ebp - 0x20]
mov edi, eax
test ecx, ecx
je 0x48adc7
push ecx
call fcn.00507b54
add esp, 4
cmp edi, 0xffffffff
je 0x48adda
lea eax, [ebp + 0x78]
push eax
call fcn.00488f10
mov esi, eax
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 9
cmp dword [ebp + 0x8c], 8
jb 0x48adf7
mov eax, dword [ebp + 0x78]
test eax, eax
je 0x48adf7
push eax
call fcn.00507b54
add esp, 4
mov edi, dword [ebp - 0x18]
xor ebx, ebx
mov eax, dword [edi + 0x44]
sub eax, dword [edi + 0x40]
sar eax, 2
mov dword [ebp - 0x20], ebx
cmp ebx, eax
jae 0x48b307
xor eax, eax
mov dword [ebp + 0x44], 7
mov dword [ebp + 0x40], 0
mov word [ebp + 0x30], ax
lea ecx, [ebp + 0x30]
mov byte [ebp - 4], 0xb
call fcn.004f4610
mov eax, dword [edi + 0x40]
lea esi, [ebx*4]
push 0xffffffffffffffff
push 0
lea ecx, [ebp + 0x30]
mov eax, dword [esi + eax]
add eax, 0x18
push eax
call fcn.004825c0
xor eax, eax
mov dword [ebp + 0x74], 7
mov dword [ebp + 0x70], 0
mov word [ebp + 0x60], ax
lea ecx, [ebp + 0x60]
mov byte [ebp - 4], 0xc
call fcn.004f4300
mov eax, dword [edi + 0x40]
lea ecx, [ebp + 0x60]
push 0xffffffffffffffff
push 0
mov eax, dword [esi + eax]
add eax, 0x18
push eax
call fcn.004825c0
mov edx, dword [edi + 0x40]
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp + 0x30]
mov edx, dword [edx + esi]
call fcn.004f3ae0
add esp, 4
test al, al
jne 0x48b16f
lea edx, [ebp + 0x30]
lea ecx, [ebp + 0x60]
call fcn.004a60b0
mov esi, eax
mov dword [ebp - 0x14], esi
test esi, esi
je 0x48b0a9
cmp esi, 2
je 0x48aee6
cmp byte [0x59f3cb], 0
je 0x48aee6
lea edx, [ebp + 0x30]
lea ecx, [ebp + 0x60]
call fcn.004a64e0
mov esi, eax
mov dword [ebp - 0x14], esi
test esi, esi
jne 0x48aee6
mov byte [0x59f3ca], 1
jmp 0x48b0a5
mov eax, dword [0x59f554]
test al, 1
jne 0x48af10
or dword [0x59f554], 1
mov byte [ebp - 4], 0xd
call fcn.004a1290
push 0x54f080
call fcn.00507cdd
add esp, 4
mov byte [ebp - 4], 0xc
mov eax, dword [0x597f88]
test byte [eax + 0x1c], 2
je 0x48af25
cmp byte [eax + 0x19], 2
jb 0x48af25
mov al, 1
jmp 0x48af27
xor al, al
cmp byte [0x59f560], 0
jne 0x48af41
cmp byte [0x59f561], 0
jne 0x48af41
test al, al
je 0x48b0a5
sub esp, 8
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0xbc]
call fcn.0047b4d0
lea ecx, [ebp + 0x90]
mov byte [ebp - 4], 0xf
call fcn.004a1680
mov edx, eax
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0xbc]
call fcn.0047ee50
mov edx, str..Driver.cpp
mov ecx, eax
call fcn.0047f0b0
mov edx, 0x56b378
mov ecx, eax
call fcn.0047f0b0
push 0x247
mov ecx, eax
call fcn.0047b130
mov edx, 0x56b378
mov ecx, eax
call fcn.0047f0b0
mov edx, str.Failed_to_repair_File
mov ecx, eax
call fcn.0047f0b0
lea edx, [ebp + 0x60]
mov ecx, eax
call fcn.004a1750
mov edx, str.__Error_Code:
mov ecx, eax
call fcn.0047f0b0
push esi
mov ecx, eax
call fcn.0047b2d0
mov byte [ebp - 4], 0xf
cmp dword [ebp + 0xa4], 0x10
jb 0x48afed
mov eax, dword [ebp + 0x90]
test eax, eax
je 0x48afed
push eax
call fcn.00507b54
add esp, 4
lea eax, [ebp + 0x90]
push eax
lea ecx, [ebp - 0xbc]
call fcn.0047b620
mov edi, eax
mov byte [ebp - 4], 0x11
cmp dword [edi + 0x14], 0x10
jb 0x48b00d
mov edi, dword [edi]
mov eax, dword [0x59f554]
test al, 1
jne 0x48b038
or eax, 1
mov dword [0x59f554], eax
mov byte [ebp - 4], 0x12
call fcn.004a1290
push 0x54f080
call fcn.00507cdd
add esp, 4
mov byte [ebp - 4], 0x11
push edi
push 2
mov ecx, 0x59f560
call fcn.004a1510
cmp dword [ebp + 0xa4], 0x10
jb 0x48b061
mov eax, dword [ebp + 0x90]
test eax, eax
je 0x48b061
push eax
call fcn.00507b54
add esp, 4
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0xe
call fcn.0047b5a0
lea eax, [ebp - 0x6c]
mov dword [ebp - 0x6c], 0x56b700
push eax
call fcn.00528f2f
mov edi, dword [ebp - 0x18]
add esp, 4
mov dword [ebp - 4], 0xc
jmp 0x48b0a5
mov esi, dword [ebp - 0x14]
test esi, esi
jne 0x48b125
mov eax, dword [edi + 0x40]
xor ecx, ecx
push 0xffffffffffffffff
push ecx
mov eax, dword [eax + ebx*4]
add eax, 0x18
mov word [ebp + 0x90], cx
push eax
lea ecx, [ebp + 0x90]
mov dword [ebp + 0xa4], 7
mov dword [ebp + 0xa0], 0
call fcn.0047c390
mov byte [ebp - 4], 0x1b
mov eax, dword [ebp + 0xa0]
cmp eax, 4
jbe 0x48b109
sub esp, 0x18
add eax, 0xfffffffc
mov ecx, esp
push eax
push 0
push ecx
lea ecx, [ebp + 0x90]
call fcn.0047b0d0
call fcn.0048c0d0
cmp dword [ebp + 0xa4], 8
jb 0x48b125
mov eax, dword [ebp + 0x90]
test eax, eax
je 0x48b125
push eax
call fcn.00507b54
add esp, 4
cmp dword [ebp + 0x74], 8
jb 0x48b13b
mov eax, dword [ebp + 0x60]
test eax, eax
je 0x48b13b
push eax
call fcn.00507b54
add esp, 4
xor eax, eax
mov byte [ebp - 4], 9
cmp dword [ebp + 0x44], 8
mov dword [ebp + 0x74], 7
mov dword [ebp + 0x70], 0
mov word [ebp + 0x60], ax
jb 0x48b169
mov eax, dword [ebp + 0x30]
test eax, eax
je 0x48b169
push eax
call fcn.00507b54
add esp, 4
inc ebx
jmp 0x48adfc
mov eax, dword [0x59f554]
test al, 1
jne 0x48b199
or dword [0x59f554], 1
mov byte [ebp - 4], 0x14
call fcn.004a1290
push 0x54f080
call fcn.00507cdd
add esp, 4
mov byte [ebp - 4], 0xc
mov eax, dword [0x597f88]
test byte [eax + 0x1c], 2
je 0x48b1ae
cmp byte [eax + 0x19], 6
jb 0x48b1ae
mov al, 1
jmp 0x48b1b0
xor al, al
cmp byte [0x59f560], 0
jne 0x48b1ca
cmp byte [0x59f561], 0
jne 0x48b1ca
test al, al
je 0x48b0a2
sub esp, 8
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0xbc]
call fcn.0047b4d0
lea ecx, [ebp + 0x90]
mov byte [ebp - 4], 0x16
call fcn.004a1680
mov edx, eax
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0xbc]
call fcn.0047ee50
mov edx, str..Driver.cpp
mov ecx, eax
call fcn.0047f0b0
mov edx, 0x56b378
mov ecx, eax
call fcn.0047f0b0
push 0x24d
mov ecx, eax
call fcn.0047b130
mov edx, 0x56b378
mov ecx, eax
call fcn.0047f0b0
lea edx, [ebp + 0x30]
mov ecx, eax
call fcn.004a1750
mov edx, str._File_same__So_not_repaired
mov ecx, eax
call fcn.0047f0b0
mov byte [ebp - 4], 0x16
cmp dword [ebp + 0xa4], 0x10
jb 0x48b262
mov eax, dword [ebp + 0x90]
test eax, eax
je 0x48b262
push eax
call fcn.00507b54
add esp, 4
lea eax, [ebp + 0x90]
push eax
lea ecx, [ebp - 0xbc]
call fcn.0047b620
mov esi, eax
mov byte [ebp - 4], 0x18
cmp dword [esi + 0x14], 0x10
jb 0x48b282
mov esi, dword [esi]
mov eax, dword [0x59f554]
test al, 1
jne 0x48b2ad
or eax, 1
mov dword [0x59f554], eax
mov byte [ebp - 4], 0x19
call fcn.004a1290
push 0x54f080
call fcn.00507cdd
add esp, 4
mov byte [ebp - 4], 0x18
push esi
push 6
mov ecx, 0x59f560
call fcn.004a1510
cmp dword [ebp + 0xa4], 0x10
jb 0x48b2d6
mov eax, dword [ebp + 0x90]
test eax, eax
je 0x48b2d6
push eax
call fcn.00507b54
add esp, 4
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0x15
call fcn.0047b5a0
lea eax, [ebp - 0x6c]
mov dword [ebp - 0x6c], 0x56b700
push eax
call fcn.00528f2f
add esp, 4
mov dword [ebp - 4], 0xc
jmp 0x48b0a2
mov eax, dword [0x59f554]
test al, 1
jne 0x48b36c
or dword [0x59f554], 1
sub esp, 8
mov byte [ebp - 4], 0x1c
mov ecx, 0x59f568
mov word [0x59f560], 0
call fcn.0047b4d0
mov dword [0x59f614], 0xf
mov dword [0x59f610], 0
mov byte [0x59f600], 0
push ecx
mov ecx, 0x59f618
mov byte [ebp - 4], 0x1e
call fcn.004a1a50
push 0x54f080
call fcn.00507cdd
add esp, 4
mov byte [ebp - 4], 9
mov eax, dword [0x597f88]
test byte [eax + 0x1c], 2
je 0x48b381
cmp byte [eax + 0x19], 6
jb 0x48b381
mov al, 1
jmp 0x48b383
xor al, al
cmp byte [0x59f560], 0
jne 0x48b39d
cmp byte [0x59f561], 0
jne 0x48b39d
test al, al
je 0x48b4d5
sub esp, 8
mov byte [ebp - 4], 0x1f
lea ecx, [ebp - 0xbc]
call fcn.0047b4d0
lea ecx, [ebp + 0x90]
mov byte [ebp - 4], 0x20
call fcn.004a1680
mov edx, eax
mov byte [ebp - 4], 0x21
lea ecx, [ebp - 0xbc]
call fcn.0047ee50
mov edx, str..Driver.cpp
mov ecx, eax
call fcn.0047f0b0
mov edx, 0x56b378
mov ecx, eax
call fcn.0047f0b0
push 0x257
mov ecx, eax
call fcn.0047b130
mov edx, 0x56b378
mov ecx, eax
call fcn.0047f0b0
mov edx, 0x56b498
mov ecx, eax
call fcn.0047f0b0
mov edx, str.Driver::RepairDriverFile
mov ecx, eax
call fcn.0047f0b0
mov byte [ebp - 4], 0x20
cmp dword [ebp + 0xa4], 0x10
jb 0x48b437
mov eax, dword [ebp + 0x90]
test eax, eax
je 0x48b437
push eax
call fcn.00507b54
add esp, 4
lea eax, [ebp + 0x90]
push eax
lea ecx, [ebp - 0xbc]
call fcn.0047b620
mov edi, eax
mov byte [ebp - 4], 0x22
cmp dword [edi + 0x14], 0x10
jb 0x48b457
mov edi, dword [edi]
mov eax, dword [0x59f554]
test al, 1
jne 0x48b482
or eax, 1
mov dword [0x59f554], eax
mov byte [ebp - 4], 0x23
call fcn.004a1290
push 0x54f080
call fcn.00507cdd
add esp, 4
mov byte [ebp - 4], 0x22
push edi
push 6
mov ecx, 0x59f560
call fcn.004a1510
cmp dword [ebp + 0xa4], 0x10
jb 0x48b4ab
mov eax, dword [ebp + 0x90]
test eax, eax
je 0x48b4ab
push eax
call fcn.00507b54
add esp, 4
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0x1f
call fcn.0047b5a0
lea eax, [ebp - 0x6c]
mov dword [ebp - 0x6c], 0x56b700
push eax
call fcn.00528f2f
add esp, 4
jmp 0x48b4d5
cmp dword [ebp + 0x2c], 8
jb 0x48b4eb
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x48b4eb
push eax
call fcn.00507b54
add esp, 4
xor eax, eax
mov dword [ebp + 0x2c], 7
cmp dword [ebp + 0x5c], 0x10
mov dword [ebp + 0x28], 0
mov word [ebp + 0x18], ax
jb 0x48b515
mov eax, dword [ebp + 0x48]
test eax, eax
je 0x48b515
push eax
call fcn.00507b54
add esp, 4
cmp dword [ebp + 0x14], 8
mov dword [ebp + 0x5c], 0xf
mov dword [ebp + 0x58], 0
mov byte [ebp + 0x48], 0
jb 0x48b53d
mov eax, dword [ebp]
test eax, eax
je 0x48b53d
push eax
call fcn.00507b54
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0xa8]
xor ecx, ebp
call fcn.005072fd
lea esp, [ebp + 0xac]
pop ebp
ret