Function at 0x422d10
Capabilities:
Delete file
Enumerate files on windows
Get common file path
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5578eb
mov eax, dword fs:[0]
push eax
sub esp, 0x92c
mov eax, dword [0x5d7b20]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x6dc]
mov dword [ebp - 0x930], eax
xor esi, esi
call fcn.004489d0
push 0x105
lea ecx, [ebp - 0x428]
push ecx
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
jne 0x422d86
lea ecx, [ebp - 0x6dc]
mov dword [ebp - 4], 0xffffffff
call fcn.004488b0
xor eax, eax
jmp 0x423077
call fcn.00413de0
cmp ax, 0xc
je 0x422df3
call fcn.00413de0
cmp ax, 0xb
je 0x422df3
push str.infother
lea edx, [ebp - 0x428]
push 0x105
push edx
call fcn.0053e396
push 0x56825c
lea eax, [ebp - 0x428]
push 0x105
push eax
call fcn.0053e396
lea ecx, [ebp - 0x428]
push ecx
lea edx, [ebp - 0x21c]
push 0x105
push edx
call fcn.0053eeab
push str..inf
push 0x105
lea eax, [ebp - 0x21c]
push eax
jmp 0x422e48
push str.inf
lea ecx, [ebp - 0x428]
push 0x105
push ecx
call fcn.0053e396
push 0x56825c
lea edx, [ebp - 0x428]
push 0x105
push edx
call fcn.0053e396
lea eax, [ebp - 0x428]
push eax
lea ecx, [ebp - 0x21c]
push 0x105
push ecx
call fcn.0053eeab
push str.oem.inf
push 0x105
lea edx, [ebp - 0x21c]
push edx
call fcn.0053e396
add esp, 0x30
lea eax, [ebp - 0x92c]
push eax
lea ecx, [ebp - 0x21c]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x934], eax
cmp eax, 0xffffffff
je 0x423058
mov edi, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
lea edx, [ebp - 0x428]
push edx
lea eax, [ebp - 0x21c]
push 0x105
push eax
call fcn.0053eeab
lea ecx, [ebp - 0x900]
push ecx
lea edx, [ebp - 0x21c]
push 0x105
push edx
call fcn.0053e396
mov eax, dword [ebp - 0x930]
push eax
lea ecx, [ebp - 0x21c]
push ecx
call fcn.004189c0
add esp, 0x20
test eax, eax
je 0x423036
lea edx, [ebp - 0x21c]
push edx
push str._n_nFind_inf_file.__s__n
call fcn.00415550
add esp, 8
cmp dword [ebp - 0x668], 0
jne 0x422f9d
push str.DeleteAllGUIDInf___:_Delete_inf_pnf_file._n
push 4
call fcn.00403ab0
add esp, 8
push 0x80
lea eax, [ebp - 0x21c]
push eax
call edi
lea ecx, [ebp - 0x21c]
push ecx
call ebx
mov esi, eax
test esi, esi
jne 0x422f48
lea edx, [ebp - 0x21c]
push edx
push str.Cannot_delete_the_file__s_._n
call fcn.00415550
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Error__0x_x_n
call fcn.00415550
add esp, 8
jmp 0x423036
lea eax, [ebp - 0x21c]
push 0x2e
push eax
call fcn.0053dd9b
add esp, 8
test eax, eax
je 0x423036
push str..PNF
lea edx, [ebp - 0x21c]
xor ecx, ecx
push 0x105
push edx
mov word [eax], cx
call fcn.0053e396
add esp, 0xc
push 0x80
lea eax, [ebp - 0x21c]
push eax
call edi
lea ecx, [ebp - 0x21c]
push ecx
call ebx
mov esi, eax
jmp 0x423036
push str.DeleteAllGUIDInf___:_Vista_n
push 4
call fcn.00403ab0
push str.DeleteAllGUIDInf___:_Delete_inf_pnf_file._n
push 4
call fcn.00403ab0
add esp, 0xc
lea edx, [ebp - 0x21c]
mov ecx, esp
mov dword [ebp - 0x938], esp
push edx
call fcn.00406430
call fcn.00417a30
add esp, 4
test eax, eax
je 0x422fe9
push str.DeleteAllGUIDInf___:_Vista___success__n
push 4
call fcn.00403ab0
add esp, 8
jmp 0x423036
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.DeleteAllGUIDInf___:_Vista__GetLastError__:_d_n
push 2
call fcn.00403ab0
mov eax, dword [ebp - 0x930]
push eax
call fcn.00422150
add esp, 0x10
test eax, eax
je 0x423020
push str.DeleteAddDriverInf___:_Vista___success__n
push 4
call fcn.00403ab0
add esp, 8
jmp 0x423036
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.DeleteAddDriverInf___:_Vista__GetLastError__:_d_n
push 2
call fcn.00403ab0
add esp, 0xc
mov edx, dword [ebp - 0x934]
lea ecx, [ebp - 0x92c]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x422e80
mov eax, dword [ebp - 0x934]
test eax, eax
je 0x423063
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x6dc]
mov dword [ebp - 4], 0xffffffff
call fcn.004488b0
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 - 0x10]
xor ecx, ebp
call fcn.0053e1ad
mov esp, ebp
pop ebp
ret