Function at 0x482450
Capabilities:
Delete file
Get common file path
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a230b
mov eax, dword fs:[0]
push eax
sub esp, 0x44c
mov eax, dword [0x608554]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push ecx
push str.PrinterDriverInstall::DeleteDriverDataBaseForUpdateINF
lea ecx, [ebp - 0x458]
call fcn.0040a480
mov dword [ebp - 4], 0
mov ecx, dword [0x608f30]
cmp ecx, 0x608f30
je 0x4824d4
test byte [ecx + 0x1c], 1
je 0x4824d4
cmp dword [0x608f68], 8
mov eax, 0x608f54
mov edx, 0x5d03b8
cmovae eax, dword [0x608f54]
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x4d
call fcn.00401840
add esp, 0xc
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00571c00
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.00571c00
add esp, 0x18
lea eax, [ebp - 0x420]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp word [ebp + eax*2 - 0x422], 0x5c
je 0x482539
push 0x5c692c
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x218]
push str._sINFDrvData.BIN
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
mov ecx, dword [0x608f30]
cmp ecx, 0x608f30
je 0x48259c
test byte [ecx + 0x1c], 4
je 0x48259c
cmp dword [0x608f68], 8
lea edx, [ebp - 0x218]
push edx
mov eax, 0x608f54
mov edx, 0x5d03b8
cmovae eax, dword [0x608f54]
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x4e
call fcn.00405920
add esp, 0x10
mov esi, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea eax, [ebp - 0x218]
push 0x20
push eax
call esi
test eax, eax
je 0x482601
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x482656
mov eax, dword [0x608f30]
cmp eax, 0x608f30
je 0x482656
test byte [eax + 0x1c], 2
je 0x482656
cmp dword [0x608f68], 8
lea ecx, [ebp - 0x458]
mov esi, 0x608f54
cmovae esi, dword [0x608f54]
call fcn.0040a830
mov ecx, 0x4f
jmp 0x482636
mov eax, dword [0x608f30]
cmp eax, 0x608f30
je 0x482656
test byte [eax + 0x1c], 2
je 0x482656
cmp dword [0x608f68], 8
lea ecx, [ebp - 0x458]
mov esi, 0x608f54
cmovae esi, dword [0x608f54]
call fcn.0040a830
mov ecx, 0x50
push eax
mov eax, dword [0x608f30]
mov edx, 0x5d03b8
push esi
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.00405920
mov esi, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
add esp, 0x10
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x218]
push str._sINFDrvIDX.BIN
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
mov ecx, dword [0x608f30]
cmp ecx, 0x608f30
je 0x4826b9
test byte [ecx + 0x1c], 4
je 0x4826b9
cmp dword [0x608f68], 8
lea edx, [ebp - 0x218]
push edx
mov eax, 0x608f54
mov edx, 0x5d03b8
cmovae eax, dword [0x608f54]
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x51
call fcn.00405920
add esp, 0x10
push 0x20
lea eax, [ebp - 0x218]
push eax
call esi
test eax, eax
je 0x48271a
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x48276b
mov ecx, dword [0x608f30]
cmp ecx, 0x608f30
je 0x482771
test byte [ecx + 0x1c], 2
je 0x482771
cmp dword [0x608f68], 8
lea ecx, [ebp - 0x458]
mov esi, 0x608f54
cmovae esi, dword [0x608f54]
call fcn.0040a830
mov ecx, 0x52
jmp 0x482751
mov ecx, dword [0x608f30]
cmp ecx, 0x608f30
je 0x482771
test byte [ecx + 0x1c], 2
je 0x482771
cmp dword [0x608f68], 8
lea ecx, [ebp - 0x458]
mov esi, 0x608f54
cmovae esi, dword [0x608f54]
call fcn.0040a830
mov ecx, 0x53
push eax
mov eax, dword [0x608f30]
mov edx, 0x5d03b8
push esi
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.00405920
add esp, 0x10
mov ecx, dword [0x608f30]
mov byte [ebp - 0x454], 1
cmp ecx, 0x608f30
je 0x4827b2
test byte [ecx + 0x1c], 1
je 0x4827b2
cmp dword [0x608f68], 8
mov eax, 0x608f54
mov edx, 0x5d03b8
cmovae eax, dword [0x608f54]
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x54
call fcn.00401840
add esp, 0xc
lea ecx, [ebp - 0x458]
call fcn.0040a570
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0056d977
mov esp, ebp
pop ebp
ret