Function at 0x48ab00
Capabilities:
Get file attributes

Disassembly:
push ebp
lea ebp, [esp - 0xac]
sub esp, 0xac
push 0xffffffffffffffff
push 0x541b63
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
mov eax, dword [0x595c60]
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 [0x59e598]
mov dword [ebp - 0x1c], edi
test al, 1
jne 0x48ab71
or eax, 1
mov dword [0x59e598], eax
mov dword [ebp - 4], 0
call fcn.004a08c0
push 0x54e860
call fcn.0050765d
add esp, 4
mov eax, dword [0x596f88]
test byte [eax + 0x1c], 2
je 0x48ab86
cmp byte [eax + 0x19], 6
jb 0x48ab86
mov al, 1
jmp 0x48ab88
xor al, al
cmp byte [0x59e5a8], 0
jne 0x48aba2
cmp byte [0x59e5a9], 0
jne 0x48aba2
test al, al
je 0x48ace0
sub esp, 8
mov dword [ebp - 4], 1
lea ecx, [ebp - 0xbc]
call fcn.0047b550
lea ecx, [ebp + 0x90]
mov byte [ebp - 4], 2
call fcn.004a0cb0
mov edx, eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xbc]
call fcn.0047eed0
mov edx, str..Driver.cpp
mov ecx, eax
call fcn.0047f130
mov edx, 0x56a378
mov ecx, eax
call fcn.0047f130
push 0x215
mov ecx, eax
call fcn.0047b1b0
mov edx, 0x56a378
mov ecx, eax
call fcn.0047f130
mov edx, 0x56a46c
mov ecx, eax
call fcn.0047f130
mov edx, str.Driver::RepairDriverFile
mov ecx, eax
call fcn.0047f130
mov byte [ebp - 4], 2
cmp dword [ebp + 0xa4], 0x10
jb 0x48ac3f
mov eax, dword [ebp + 0x90]
test eax, eax
je 0x48ac3f
push eax
call fcn.005074d4
add esp, 4
lea eax, [ebp + 0x90]
push eax
lea ecx, [ebp - 0xbc]
call fcn.0047b6a0
mov esi, eax
mov byte [ebp - 4], 4
cmp dword [esi + 0x14], 0x10
jb 0x48ac5f
mov esi, dword [esi]
mov eax, dword [0x59e598]
test al, 1
jne 0x48ac8a
or eax, 1
mov dword [0x59e598], eax
mov byte [ebp - 4], 5
call fcn.004a08c0
push 0x54e860
call fcn.0050765d
add esp, 4
mov byte [ebp - 4], 4
push esi
push 6
mov ecx, 0x59e5a8
call fcn.004a0b40
cmp dword [ebp + 0xa4], 0x10
jb 0x48acb3
mov eax, dword [ebp + 0x90]
test eax, eax
je 0x48acb3
push eax
call fcn.005074d4
add esp, 4
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 1
call fcn.0047b620
lea eax, [ebp - 0x6c]
mov dword [ebp - 0x6c], 0x56a6f8
push eax
call fcn.0052889f
add esp, 4
jmp 0x48ace0
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.004f3a30
push 0xffffffffffffffff
push 0
lea eax, [edi + 0x80]
push eax
lea ecx, [ebp]
call fcn.00482640
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 0x56b4c0
push dword [ecx + 0x10]
push ecx
call fcn.004859a0
lea ecx, [ebp + 0x48]
test eax, eax
jne 0x48ad4f
push 5
push str.___36
jmp 0x48ad56
push 0x1b
push str._DefaultInstall.NTamd64__36
call fcn.0047c0a0
lea eax, [ebp + 0x48]
push eax
lea eax, [ebp]
push eax
call fcn.00488600
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.00488eb0
test eax, eax
jne 0x48ae9a
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.004f3a30
lea eax, [ebp + 0x18]
push eax
lea edx, [ebp + 0x78]
lea ecx, [ebp + 0x90]
call fcn.00490130
mov edi, eax
add esp, 4
lea eax, [ebp + 0x78]
cmp eax, edi
je 0x48ae14
cmp dword [ebp + 0x8c], 8
jb 0x48adf1
mov ecx, dword [ebp + 0x78]
test ecx, ecx
je 0x48adf1
push ecx
call fcn.005074d4
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.0047c3b0
cmp dword [ebp + 0xa4], 8
jb 0x48ae30
mov eax, dword [ebp + 0x90]
test eax, eax
je 0x48ae30
push eax
call fcn.005074d4
add esp, 4
cmp dword [ebp + 0x8c], 8
mov eax, dword [ebp + 0x78]
jae 0x48ae3f
lea eax, [ebp + 0x78]
push 0x104
push eax
lea ecx, [ebp - 0x24]
call fcn.00483d00
push dword [eax]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ecx, dword [ebp - 0x20]
mov edi, eax
test ecx, ecx
je 0x48ae67
push ecx
call fcn.005074d4
add esp, 4
cmp edi, 0xffffffff
je 0x48ae7a
lea eax, [ebp + 0x78]
push eax
call fcn.00488f90
mov esi, eax
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 9
cmp dword [ebp + 0x8c], 8
jb 0x48ae97
mov eax, dword [ebp + 0x78]
test eax, eax
je 0x48ae97
push eax
call fcn.005074d4
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 0x48b3a7
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.004f3d40
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.00482640
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.004f3a30
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.00482640
mov edx, dword [edi + 0x40]
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp + 0x30]
mov edx, dword [edx + esi]
call fcn.004f3210
add esp, 4
test al, al
jne 0x48b20f
lea edx, [ebp + 0x30]
lea ecx, [ebp + 0x60]
call fcn.004a56e0
mov esi, eax
mov dword [ebp - 0x14], esi
test esi, esi
je 0x48b149
cmp esi, 2
je 0x48af86
cmp byte [0x59e40b], 0
je 0x48af86
lea edx, [ebp + 0x30]
lea ecx, [ebp + 0x60]
call fcn.004a5b10
mov esi, eax
mov dword [ebp - 0x14], esi
test esi, esi
jne 0x48af86
mov byte [0x59e40a], 1
jmp 0x48b145
mov eax, dword [0x59e598]
test al, 1
jne 0x48afb0
or dword [0x59e598], 1
mov byte [ebp - 4], 0xd
call fcn.004a08c0
push 0x54e860
call fcn.0050765d
add esp, 4
mov byte [ebp - 4], 0xc
mov eax, dword [0x596f88]
test byte [eax + 0x1c], 2
je 0x48afc5
cmp byte [eax + 0x19], 2
jb 0x48afc5
mov al, 1
jmp 0x48afc7
xor al, al
cmp byte [0x59e5a8], 0
jne 0x48afe1
cmp byte [0x59e5a9], 0
jne 0x48afe1
test al, al
je 0x48b145
sub esp, 8
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0xbc]
call fcn.0047b550
lea ecx, [ebp + 0x90]
mov byte [ebp - 4], 0xf
call fcn.004a0cb0
mov edx, eax
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0xbc]
call fcn.0047eed0
mov edx, str..Driver.cpp
mov ecx, eax
call fcn.0047f130
mov edx, 0x56a378
mov ecx, eax
call fcn.0047f130
push 0x247
mov ecx, eax
call fcn.0047b1b0
mov edx, 0x56a378
mov ecx, eax
call fcn.0047f130
mov edx, str.Failed_to_repair_File
mov ecx, eax
call fcn.0047f130
lea edx, [ebp + 0x60]
mov ecx, eax
call fcn.004a0d80
mov edx, str.__Error_Code:
mov ecx, eax
call fcn.0047f130
push esi
mov ecx, eax
call fcn.0047b350
mov byte [ebp - 4], 0xf
cmp dword [ebp + 0xa4], 0x10
jb 0x48b08d
mov eax, dword [ebp + 0x90]
test eax, eax
je 0x48b08d
push eax
call fcn.005074d4
add esp, 4
lea eax, [ebp + 0x90]
push eax
lea ecx, [ebp - 0xbc]
call fcn.0047b6a0
mov edi, eax
mov byte [ebp - 4], 0x11
cmp dword [edi + 0x14], 0x10
jb 0x48b0ad
mov edi, dword [edi]
mov eax, dword [0x59e598]
test al, 1
jne 0x48b0d8
or eax, 1
mov dword [0x59e598], eax
mov byte [ebp - 4], 0x12
call fcn.004a08c0
push 0x54e860
call fcn.0050765d
add esp, 4
mov byte [ebp - 4], 0x11
push edi
push 2
mov ecx, 0x59e5a8
call fcn.004a0b40
cmp dword [ebp + 0xa4], 0x10
jb 0x48b101
mov eax, dword [ebp + 0x90]
test eax, eax
je 0x48b101
push eax
call fcn.005074d4
add esp, 4
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0xe
call fcn.0047b620
lea eax, [ebp - 0x6c]
mov dword [ebp - 0x6c], 0x56a6f8
push eax
call fcn.0052889f
mov edi, dword [ebp - 0x18]
add esp, 4
mov dword [ebp - 4], 0xc
jmp 0x48b145
mov esi, dword [ebp - 0x14]
test esi, esi
jne 0x48b1c5
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.0047c410
mov byte [ebp - 4], 0x1b
mov eax, dword [ebp + 0xa0]
cmp eax, 4
jbe 0x48b1a9
sub esp, 0x18
add eax, 0xfffffffc
mov ecx, esp
push eax
push 0
push ecx
lea ecx, [ebp + 0x90]
call fcn.0047b150
call fcn.0048c160
cmp dword [ebp + 0xa4], 8
jb 0x48b1c5
mov eax, dword [ebp + 0x90]
test eax, eax
je 0x48b1c5
push eax
call fcn.005074d4
add esp, 4
cmp dword [ebp + 0x74], 8
jb 0x48b1db
mov eax, dword [ebp + 0x60]
test eax, eax
je 0x48b1db
push eax
call fcn.005074d4
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 0x48b209
mov eax, dword [ebp + 0x30]
test eax, eax
je 0x48b209
push eax
call fcn.005074d4
add esp, 4
inc ebx
jmp 0x48ae9c
mov eax, dword [0x59e598]
test al, 1
jne 0x48b239
or dword [0x59e598], 1
mov byte [ebp - 4], 0x14
call fcn.004a08c0
push 0x54e860
call fcn.0050765d
add esp, 4
mov byte [ebp - 4], 0xc
mov eax, dword [0x596f88]
test byte [eax + 0x1c], 2
je 0x48b24e
cmp byte [eax + 0x19], 6
jb 0x48b24e
mov al, 1
jmp 0x48b250
xor al, al
cmp byte [0x59e5a8], 0
jne 0x48b26a
cmp byte [0x59e5a9], 0
jne 0x48b26a
test al, al
je 0x48b142
sub esp, 8
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0xbc]
call fcn.0047b550
lea ecx, [ebp + 0x90]
mov byte [ebp - 4], 0x16
call fcn.004a0cb0
mov edx, eax
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0xbc]
call fcn.0047eed0
mov edx, str..Driver.cpp
mov ecx, eax
call fcn.0047f130
mov edx, 0x56a378
mov ecx, eax
call fcn.0047f130
push 0x24d
mov ecx, eax
call fcn.0047b1b0
mov edx, 0x56a378
mov ecx, eax
call fcn.0047f130
lea edx, [ebp + 0x30]
mov ecx, eax
call fcn.004a0d80
mov edx, str._File_same__So_not_repaired
mov ecx, eax
call fcn.0047f130
mov byte [ebp - 4], 0x16
cmp dword [ebp + 0xa4], 0x10
jb 0x48b302
mov eax, dword [ebp + 0x90]
test eax, eax
je 0x48b302
push eax
call fcn.005074d4
add esp, 4
lea eax, [ebp + 0x90]
push eax
lea ecx, [ebp - 0xbc]
call fcn.0047b6a0
mov esi, eax
mov byte [ebp - 4], 0x18
cmp dword [esi + 0x14], 0x10
jb 0x48b322
mov esi, dword [esi]
mov eax, dword [0x59e598]
test al, 1
jne 0x48b34d
or eax, 1
mov dword [0x59e598], eax
mov byte [ebp - 4], 0x19
call fcn.004a08c0
push 0x54e860
call fcn.0050765d
add esp, 4
mov byte [ebp - 4], 0x18
push esi
push 6
mov ecx, 0x59e5a8
call fcn.004a0b40
cmp dword [ebp + 0xa4], 0x10
jb 0x48b376
mov eax, dword [ebp + 0x90]
test eax, eax
je 0x48b376
push eax
call fcn.005074d4
add esp, 4
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0x15
call fcn.0047b620
lea eax, [ebp - 0x6c]
mov dword [ebp - 0x6c], 0x56a6f8
push eax
call fcn.0052889f
add esp, 4
mov dword [ebp - 4], 0xc
jmp 0x48b142
mov eax, dword [0x59e598]
test al, 1
jne 0x48b40c
or dword [0x59e598], 1
sub esp, 8
mov byte [ebp - 4], 0x1c
mov ecx, 0x59e5b0
mov word [0x59e5a8], 0
call fcn.0047b550
mov dword [0x59e65c], 0xf
mov dword [0x59e658], 0
mov byte [0x59e648], 0
push ecx
mov ecx, 0x59e660
mov byte [ebp - 4], 0x1e
call fcn.004a1080
push 0x54e860
call fcn.0050765d
add esp, 4
mov byte [ebp - 4], 9
mov eax, dword [0x596f88]
test byte [eax + 0x1c], 2
je 0x48b421
cmp byte [eax + 0x19], 6
jb 0x48b421
mov al, 1
jmp 0x48b423
xor al, al
cmp byte [0x59e5a8], 0
jne 0x48b43d
cmp byte [0x59e5a9], 0
jne 0x48b43d
test al, al
je 0x48b575
sub esp, 8
mov byte [ebp - 4], 0x1f
lea ecx, [ebp - 0xbc]
call fcn.0047b550
lea ecx, [ebp + 0x90]
mov byte [ebp - 4], 0x20
call fcn.004a0cb0
mov edx, eax
mov byte [ebp - 4], 0x21
lea ecx, [ebp - 0xbc]
call fcn.0047eed0
mov edx, str..Driver.cpp
mov ecx, eax
call fcn.0047f130
mov edx, 0x56a378
mov ecx, eax
call fcn.0047f130
push 0x257
mov ecx, eax
call fcn.0047b1b0
mov edx, 0x56a378
mov ecx, eax
call fcn.0047f130
mov edx, 0x56a498
mov ecx, eax
call fcn.0047f130
mov edx, str.Driver::RepairDriverFile
mov ecx, eax
call fcn.0047f130
mov byte [ebp - 4], 0x20
cmp dword [ebp + 0xa4], 0x10
jb 0x48b4d7
mov eax, dword [ebp + 0x90]
test eax, eax
je 0x48b4d7
push eax
call fcn.005074d4
add esp, 4
lea eax, [ebp + 0x90]
push eax
lea ecx, [ebp - 0xbc]
call fcn.0047b6a0
mov edi, eax
mov byte [ebp - 4], 0x22
cmp dword [edi + 0x14], 0x10
jb 0x48b4f7
mov edi, dword [edi]
mov eax, dword [0x59e598]
test al, 1
jne 0x48b522
or eax, 1
mov dword [0x59e598], eax
mov byte [ebp - 4], 0x23
call fcn.004a08c0
push 0x54e860
call fcn.0050765d
add esp, 4
mov byte [ebp - 4], 0x22
push edi
push 6
mov ecx, 0x59e5a8
call fcn.004a0b40
cmp dword [ebp + 0xa4], 0x10
jb 0x48b54b
mov eax, dword [ebp + 0x90]
test eax, eax
je 0x48b54b
push eax
call fcn.005074d4
add esp, 4
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0x1f
call fcn.0047b620
lea eax, [ebp - 0x6c]
mov dword [ebp - 0x6c], 0x56a6f8
push eax
call fcn.0052889f
add esp, 4
jmp 0x48b575
cmp dword [ebp + 0x2c], 8
jb 0x48b58b
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x48b58b
push eax
call fcn.005074d4
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 0x48b5b5
mov eax, dword [ebp + 0x48]
test eax, eax
je 0x48b5b5
push eax
call fcn.005074d4
add esp, 4
cmp dword [ebp + 0x14], 8
mov dword [ebp + 0x5c], 0xf
mov dword [ebp + 0x58], 0
mov byte [ebp + 0x48], 0
jb 0x48b5dd
mov eax, dword [ebp]
test eax, eax
je 0x48b5dd
push eax
call fcn.005074d4
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.00506c7d
lea esp, [ebp + 0xac]
pop ebp
ret