Function at 0x40ac00
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x42b6f2
mov eax, dword fs:[0]
push eax
sub esp, 0x1ec
mov eax, dword [0x4424ac]
xor eax, esp
mov dword [esp + 0x1e8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4424ac]
xor eax, esp
push eax
lea eax, [esp + 0x200]
mov dword fs:[0], eax
xor ebx, ebx
mov esi, 0xf
mov dword [esp + 0x9c], esi
mov dword [esp + 0x98], ebx
mov byte [esp + 0x88], bl
lea eax, [esp + 0x84]
push eax
mov dword [esp + 0x20c], ebx
call fcn.00406bf0
add esp, 4
test al, al
jne 0x40ac96
cmp dword [esp + 0x9c], 0x10
jb 0x40ac8c
mov ecx, dword [esp + 0x88]
push ecx
call fcn.0040eec8
add esp, 4
mov eax, 0x4e2e
jmp 0x40b3c2
mov dword [esp + 0x64], esi
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], bl
mov dword [esp + 0x80], esi
mov dword [esp + 0x7c], ebx
mov byte [esp + 0x6c], bl
push 0x7400
mov byte [esp + 0x20c], 2
call fcn.0041766a
mov ebp, eax
add esp, 4
cmp ebp, ebx
mov dword [esp + 0x28], ebp
jne 0x40ad49
push str.Info__:_Fail_to_allocate_memory_for_UninstallSysFileList_n
call fcn.00404950
add esp, 4
mov edi, 0x10
cmp dword [esp + 0x80], edi
jb 0x40acf8
mov edx, dword [esp + 0x6c]
push edx
call fcn.0040eec8
add esp, 4
cmp dword [esp + 0x64], edi
mov byte [esp + 0x6c], bl
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], esi
jb 0x40ad1a
mov eax, dword [esp + 0x50]
push eax
call fcn.0040eec8
add esp, 4
cmp dword [esp + 0x9c], edi
mov dword [esp + 0x64], esi
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], bl
jb 0x40ad3f
mov ecx, dword [esp + 0x88]
push ecx
call fcn.0040eec8
add esp, 4
mov eax, 0x4e2f
jmp 0x40b3c2
push 0x1d000
call fcn.0041766a
add esp, 4
cmp eax, ebx
mov dword [esp + 0x14], eax
jne 0x40ad76
push str.Info__:_Fail_to_allocate_memory_for_UninstallOldPIDList_n
call fcn.00404950
push ebp
call fcn.0041772d
add esp, 8
jmp 0x40acdd
push 0x7400
push ebx
push ebp
call fcn.00418350
mov edx, dword [0x44b104]
imul edx, edx, 0x1d0
push edx
push 0x44b108
push ebp
call fcn.00419570
mov edi, dword [0x44b104]
mov eax, edi
imul edi, edi, 0x1d0
add edi, ebp
mov ecx, 0x2b8
mov esi, str.hwusbser.sys
push 0x1d000
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x30]
add eax, 6
push ebx
push esi
mov dword [esp + 0x40], eax
call fcn.00418350
mov eax, dword [0x44b0fc]
imul eax, eax, 0x1d0
push eax
push 0x456790
push esi
call fcn.00419570
mov eax, dword [0x44b0fc]
mov edi, eax
imul eax, eax, 0x1d0
push 0x4c20
add eax, esi
push str.vid_12d1pid_1030
push eax
call fcn.00419570
add edi, 0x2a
add esp, 0x3c
test byte [esp + 0x210], 2
mov dword [esp + 0x20], edi
je 0x40ae25
mov ecx, dword [esp + 0x1c]
push ecx
push ebp
call fcn.00408350
add esp, 8
mov edi, 0xf
mov dword [esp + 0xb8], edi
mov dword [esp + 0xb4], ebx
mov byte [esp + 0xa4], bl
push str.Setupapi.dll
mov byte [esp + 0x20c], 3
mov dword [esp + 0x1c], ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp eax, ebx
mov dword [esp + 0x2c], eax
jne 0x40ae6d
push str.Info__:_Cant_find_Setupapi.dll__so_use_the_raw_delete._n
call fcn.00404950
add esp, 4
jmp 0x40ae81
push str.SetupUninstallOEMInfA
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
mov dword [esp + 0x18], eax
jne 0x40ae8e
push str.Info__:_Cant_find_SetupUninstallOEMInf_in_Setupapi.dll__so_use_the_raw_delete._n
call fcn.00404950
add esp, 4
push str.infoem.inf
lea edx, [esp + 0x88]
push edx
lea eax, [esp + 0x38]
push eax
call fcn.004047a0
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0xac]
mov byte [esp + 0x214], 4
call fcn.00403770
mov esi, 0x10
cmp dword [esp + 0x48], esi
mov byte [esp + 0x208], 3
jb 0x40aee0
mov ecx, dword [esp + 0x34]
push ecx
call fcn.0040eec8
add esp, 4
cmp dword [esp + 0xb8], esi
mov eax, dword [esp + 0xa4]
jae 0x40aef7
lea eax, [esp + 0xa4]
lea edx, [esp + 0xbc]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
mov dword [esp + 0x24], esi
je 0x40b2b5
test byte [esp + 0x210], 1
je 0x40b2b5
mov dword [esp + 0x48], edi
mov dword [esp + 0x44], ebx
mov byte [esp + 0x34], bl
mov byte [esp + 0x208], 5
jmp 0x40af40
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x8c]
push eax
lea ecx, [esp + 0x3c]
call fcn.00403770
push 5
push str.Inf_
lea ecx, [esp + 0x38]
call fcn.00403e70
lea eax, [esp + 0xe8]
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x40af70
sub eax, edx
push eax
lea ecx, [esp + 0xec]
push ecx
lea ecx, [esp + 0x38]
call fcn.00403e70
xor ebp, ebp
xor edi, edi
cmp dword [esp + 0x1c], ebx
jbe 0x40b0cc
mov esi, dword [esp + 0x28]
nop
cmp dword [esi + 0x1cc], ebx
je 0x40afc5
cmp dword [esp + 0x48], 0x10
mov eax, dword [esp + 0x34]
jae 0x40afb7
lea eax, [esp + 0x34]
push esi
push eax
call fcn.00406c90
add esp, 8
cmp al, 1
je 0x40afd9
add edi, 1
add esi, 0x1d0
cmp edi, dword [esp + 0x1c]
jb 0x40afa0
jmp 0x40b0cc
mov eax, dword [esp + 0x34]
mov esi, 0x10
cmp dword [esp + 0x48], esi
jae 0x40afec
lea eax, [esp + 0x34]
push eax
call fcn.0040a0c0
mov eax, dword [esp + 0x38]
add esp, 4
cmp dword [esp + 0x48], esi
jae 0x40b003
lea eax, [esp + 0x34]
push eax
push str._nInfo__:_Remove_inf_file___s__n
call fcn.00404950
mov eax, dword [esp + 0x20]
add esp, 8
cmp eax, ebx
je 0x40b052
push ebx
push 1
lea edx, [esp + 0xf0]
push edx
call eax
test eax, eax
je 0x40b03e
push str.Info__:_Remove_inf_file_OK._n
call fcn.00404950
mov ebp, 1
jmp 0x40b0c9
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Error_:_SetupUninstallOEMInf_error_:__d_n
call fcn.00404950
add esp, 8
cmp dword [esp + 0x48], esi
mov eax, dword [esp + 0x34]
jae 0x40b060
lea eax, [esp + 0x34]
push eax
call fcn.00401df0
add esp, 4
test al, al
jne 0x40b074
push str.Error_:_Remove_read_only_inf_file__err._n
jmp 0x40b079
push str.Error_:_Remove_read_only_inf_file_Succeed._n
call fcn.00404950
mov eax, dword [esp + 0x48]
add esp, 4
push 3
lea ecx, [eax - 1]
push 0x42f204
push ecx
add eax, 0xfffffffd
push eax
lea ecx, [esp + 0x40]
call fcn.00403f60
cmp dword [esp + 0x48], esi
mov eax, dword [esp + 0x34]
jae 0x40b0ab
lea eax, [esp + 0x34]
push eax
call fcn.00401df0
add esp, 4
test al, al
jne 0x40b0bf
push str.Remove_read_only_pnf_file__err._n
jmp 0x40b0c4
push str.Remove_read_only_pnf_file_Succeed._n
call fcn.00404950
add esp, 4
xor edi, edi
cmp dword [esp + 0x20], ebx
jbe 0x40b25d
mov esi, dword [esp + 0x14]
lea esp, [esp]
cmp dword [esp + 0x48], 0x10
mov eax, dword [esp + 0x34]
jae 0x40b0ef
lea eax, [esp + 0x34]
push esi
push eax
call fcn.00406c90
add esp, 8
cmp al, 1
je 0x40b11a
push esi
call fcn.0040a800
add edi, 1
add esp, 4
add esi, 0x1d0
cmp edi, dword [esp + 0x20]
jb 0x40b0e0
jmp 0x40b25d
mov eax, dword [esp + 0x34]
mov esi, 0x10
cmp dword [esp + 0x48], esi
jae 0x40b12d
lea eax, [esp + 0x34]
push eax
call fcn.0040a0c0
mov eax, dword [esp + 0x38]
add esp, 4
cmp dword [esp + 0x48], esi
jae 0x40b144
lea eax, [esp + 0x34]
push eax
push str._nInfo__:_Remove_inf_file___s__n
call fcn.00404950
mov eax, dword [esp + 0x20]
add esp, 8
cmp eax, ebx
je 0x40b1af
push ebx
push 1
lea edx, [esp + 0xf0]
push edx
call eax
test eax, eax
je 0x40b184
cmp dword [esp + 0x48], esi
mov eax, dword [esp + 0x34]
jae 0x40b179
lea eax, [esp + 0x34]
push eax
push str.Info__:_Remove_inf_file__s__OK._n
jmp 0x40b255
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [esp + 0x48], esi
mov ecx, dword [esp + 0x34]
jae 0x40b198
lea ecx, [esp + 0x34]
push eax
push ecx
push str.Info__:_Remove_inf_file__s__err:_d._n
call fcn.00404950
add esp, 0xc
cmp ebp, ebx
jne 0x40b25d
cmp dword [esp + 0x48], esi
mov eax, dword [esp + 0x34]
jae 0x40b1bd
lea eax, [esp + 0x34]
push eax
call fcn.00401df0
add esp, 4
test al, al
mov eax, dword [esp + 0x34]
jne 0x40b1e0
cmp dword [esp + 0x48], esi
jae 0x40b1d8
lea eax, [esp + 0x34]
push eax
push str.Error_:_Remove_read_only_inf_file__s___err._n
jmp 0x40b1f0
cmp dword [esp + 0x48], esi
jae 0x40b1ea
lea eax, [esp + 0x34]
push eax
push str.Error_:_Remove_read_only_inf_file__s__Succeed._n
call fcn.00404950
mov eax, dword [esp + 0x4c]
add esp, 8
push 3
lea ecx, [eax - 1]
push 0x42f204
push ecx
add eax, 0xfffffffd
push eax
lea ecx, [esp + 0x40]
call fcn.00403f60
cmp dword [esp + 0x48], esi
mov eax, dword [esp + 0x34]
jae 0x40b222
lea eax, [esp + 0x34]
push eax
call fcn.00401df0
add esp, 4
test al, al
mov eax, dword [esp + 0x34]
jne 0x40b245
cmp dword [esp + 0x48], esi
jae 0x40b23d
lea eax, [esp + 0x34]
push eax
push str.Remove_read_only_pnf_file__s___err._n
jmp 0x40b255
cmp dword [esp + 0x48], esi
jae 0x40b24f
lea eax, [esp + 0x34]
push eax
push str.Remove_read_only_pnf_file__s__Succeed._n
call fcn.00404950
add esp, 8
push ebx
push 0x42dc27
lea ecx, [esp + 0x38]
call fcn.004039d0
mov eax, dword [esp + 0x24]
lea edx, [esp + 0xbc]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
cmp eax, 1
je 0x40af40
mov ecx, dword [esp + 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edi, 0x10
cmp dword [esp + 0x48], edi
mov byte [esp + 0x208], 3
jb 0x40b2ce
mov edx, dword [esp + 0x34]
push edx
call fcn.0040eec8
add esp, 4
jmp 0x40b2ce
push str.Info__:_No_inf_file_should_be_delete._n
call fcn.00404950
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edi, 0x10
mov eax, dword [esp + 0x2c]
cmp eax, ebx
je 0x40b2dd
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
test byte [esp + 0x210], 4
je 0x40b30f
cmp byte [0x4439d6], 1
jne 0x40b30f
push 1
push str.WUDFUpdate_01009.dll
call fcn.00408350
mov eax, dword [0x44b0f8]
push eax
push 0x443cf8
call fcn.00408350
add esp, 0x10
push str._nInfo__:_Remove_driver_file__OK._n
call fcn.00404950
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.0041772d
mov edx, dword [esp + 0x1c]
push edx
call fcn.0041772d
add esp, 0xc
cmp dword [esp + 0xb8], edi
jb 0x40b349
mov eax, dword [esp + 0xa4]
push eax
call fcn.0040eec8
add esp, 4
cmp dword [esp + 0x80], edi
mov esi, 0xf
mov dword [esp + 0xb8], esi
mov dword [esp + 0xb4], ebx
mov byte [esp + 0xa4], bl
jb 0x40b379
mov ecx, dword [esp + 0x6c]
push ecx
call fcn.0040eec8
add esp, 4
cmp dword [esp + 0x64], edi
mov dword [esp + 0x80], esi
mov dword [esp + 0x7c], ebx
mov byte [esp + 0x6c], bl
jb 0x40b39b
mov edx, dword [esp + 0x50]
push edx
call fcn.0040eec8
add esp, 4
cmp dword [esp + 0x9c], edi
mov dword [esp + 0x64], esi
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], bl
jb 0x40b3c0
mov eax, dword [esp + 0x88]
push eax
call fcn.0040eec8
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x200]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1e8]
xor ecx, esp
call fcn.00417b3b
add esp, 0x1f8
ret