Function at 0x40e020
Capabilities:
Delete file
Enumerate files on windows
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x437489
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x378
mov eax, dword [0x445c74]
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x18], eax
lea ecx, [esp + 0x180]
push 0x104
push ecx
mov dword [esp + 0x398], 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea edx, [esp + 0x180]
lea ecx, [esp + 0x18]
push edx
call fcn.0042d857
push 0x445afc
lea ecx, [esp + 0x1c]
call fcn.0042da69
mov eax, dword [0x445c74]
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x180]
push 0x104
push ecx
mov byte [esp + 0x398], 1
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea edx, [esp + 0x180]
lea ecx, [esp + 0x14]
push edx
call fcn.0042d857
push 0x445afc
lea ecx, [esp + 0x18]
call fcn.0042da69
mov ebp, dword [esp + 0x398]
push str..sys
lea eax, [esp + 0x14]
push ebp
push eax
call fcn.0042d922
mov eax, dword [eax]
lea ecx, [esp + 0x40]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], esi
call fcn.0042d71a
cmp esi, 0xffffffff
je 0x40e428
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ebx, dword [sym.imp.SETUPAPI.dll_SetupInstallFileA]
lea edx, [esp + 0x6c]
lea ecx, [esp + 0x10]
push edx
call fcn.0042d788
lea eax, [esp + 0x18]
push str.drivers_
lea ecx, [esp + 0x34]
push eax
push ecx
mov byte [esp + 0x39c], 2
call fcn.0042d922
lea edx, [esp + 0x10]
mov byte [esp + 0x390], 3
push edx
push eax
lea eax, [esp + 0x30]
push eax
call fcn.0042d8bc
mov eax, dword [eax]
push eax
call esi
lea ecx, [esp + 0x28]
call fcn.0042d71a
lea ecx, [esp + 0x30]
mov byte [esp + 0x390], 2
call fcn.0042d71a
lea ecx, [esp + 0x18]
push str.drivers_
lea edx, [esp + 0x20]
push ecx
push edx
call fcn.0042d922
lea ecx, [esp + 0x10]
lea edx, [esp + 0x24]
push ecx
push eax
push edx
mov byte [esp + 0x39c], 4
call fcn.0042d8bc
mov edi, dword [eax]
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x30]
push ebp
push ecx
mov byte [esp + 0x39c], 5
call fcn.0042d8bc
mov eax, dword [eax]
push 0
push 0
push 0x40
push edi
push 0
push eax
push 0
push 0
call ebx
lea ecx, [esp + 0x2c]
mov edi, eax
call fcn.0042d71a
lea ecx, [esp + 0x24]
mov byte [esp + 0x390], 4
call fcn.0042d71a
lea ecx, [esp + 0x1c]
mov byte [esp + 0x390], 2
call fcn.0042d71a
test edi, edi
jne 0x40e224
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x284]
push edx
push 0x445b58
push eax
call fcn.00412b2b
add esp, 0xc
lea ecx, [esp + 0x284]
push edi
push edi
push ecx
call fcn.00434633
lea ecx, [esp + 0x10]
mov byte [esp + 0x390], 1
call fcn.0042d71a
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x40]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x40e111
mov ecx, dword [esp + 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
push str..inf
lea edx, [esp + 0x20]
push ebp
push edx
call fcn.0042d922
mov eax, dword [eax]
lea ecx, [esp + 0x40]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x20], edi
call fcn.0042d71a
cmp edi, 0xffffffff
je 0x40e428
lea edx, [esp + 0x6c]
lea ecx, [esp + 0x10]
push edx
call fcn.0042d788
mov byte [esp + 0x390], 6
call fcn.0040d670
test al, al
je 0x40e2e6
lea eax, [esp + 0x10]
lea ecx, [esp + 0x1c]
push eax
push ebp
push ecx
call fcn.0042d8bc
mov eax, dword [eax]
mov byte [esp + 0x390], 7
push eax
call fcn.0040e650
add esp, 4
lea ecx, [esp + 0x1c]
mov byte [esp + 0x390], 6
call fcn.0042d71a
jmp 0x40e3fc
lea edx, [esp + 0x14]
push str.inf_
lea eax, [esp + 0x30]
push edx
push eax
call fcn.0042d922
lea ecx, [esp + 0x10]
lea edx, [esp + 0x24]
push ecx
push eax
push edx
mov byte [esp + 0x39c], 8
call fcn.0042d8bc
mov eax, dword [eax]
push eax
call esi
lea ecx, [esp + 0x24]
call fcn.0042d71a
lea ecx, [esp + 0x2c]
mov byte [esp + 0x390], 6
call fcn.0042d71a
lea eax, [esp + 0x14]
push str.inf_
lea ecx, [esp + 0x40]
push eax
push ecx
call fcn.0042d922
lea edx, [esp + 0x10]
mov byte [esp + 0x390], 9
push edx
push eax
lea eax, [esp + 0x30]
push eax
call fcn.0042d8bc
mov edi, dword [eax]
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x34]
push ebp
push edx
mov byte [esp + 0x39c], 0xa
call fcn.0042d8bc
mov eax, dword [eax]
push 0
push 0
push 0x40
push edi
push 0
push eax
push 0
push 0
call ebx
lea ecx, [esp + 0x30]
call fcn.0042d71a
lea ecx, [esp + 0x28]
mov byte [esp + 0x390], 9
call fcn.0042d71a
lea ecx, [esp + 0x3c]
mov byte [esp + 0x390], 6
call fcn.0042d71a
lea eax, [esp + 0x14]
push str.INFDRVIDX.BIN
lea ecx, [esp + 0x38]
push eax
push ecx
call fcn.0042d922
mov eax, dword [eax]
push eax
call esi
lea ecx, [esp + 0x34]
call fcn.0042d71a
lea edx, [esp + 0x14]
push str.INFDRVDATA.BIN
lea eax, [esp + 0x3c]
push edx
push eax
call fcn.0042d922
mov eax, dword [eax]
push eax
call esi
lea ecx, [esp + 0x38]
call fcn.0042d71a
mov edi, dword [esp + 0x20]
lea ecx, [esp + 0x10]
mov byte [esp + 0x390], 1
call fcn.0042d71a
lea ecx, [esp + 0x40]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x40e28e
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [esp + 0x14]
mov byte [esp + 0x390], 0
call fcn.0042d71a
lea ecx, [esp + 0x18]
mov dword [esp + 0x390], 0xffffffff
call fcn.0042d71a
mov ecx, dword [esp + 0x388]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x384
ret