Function at 0x4b74c0
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51d94b
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x4498
call fcn.004fe1a0
mov eax, dword [0x5a4aa8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x449c], ecx
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
test ebx, ebx
je 0x4b7782
mov eax, ebx
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4b7510
sub eax, edx
sar eax, 1
je 0x4b7782
or eax, 0xffffffff
mov dword [ebp - 0x44a4], eax
mov dword [ebp - 4], 0
mov dword [ebp - method.CInfInfo.virtual_0], vtable.CInfInfo.0
mov dword [ebp - 0x226c], eax
lea esi, [ebp - 0x4498]
call fcn.004ba410
mov byte [ebp - 4], 1
push 0x800
push 0
lea eax, [ebp - 0x1018]
push eax
call fcn.004fd670
add esp, 0xc
push 0x3ff
push ebx
push 0x400
lea ecx, [ebp - 0x1018]
push ecx
call fcn.004fa71b
add esp, 0x10
lea eax, [ebp - 0x1018]
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4b7590
sub eax, edx
sar eax, 1
cmp word [ebp + eax*2 - 0x101a], 0x5c
jne 0x4b75ca
lea eax, [ebp - 0x1018]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4b75b3
sub eax, edx
sar eax, 1
mov word [ebp + eax*2 - 0x101a], cx
lea edx, [ebp - 0x1018]
push edx
push str._s.
lea edx, [ebp - 0x1818]
call fcn.00404380
lea eax, [ebp - 0x1818]
push eax
push edi
push str._Smart_Update__Search_inf___s__with___s_
mov ecx, 0x649e50
call fcn.004918f0
add esp, 0x14
lea ecx, [ebp - 0x2268]
push ecx
lea edx, [ebp - 0x1818]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x44a4], eax
cmp eax, 0xffffffff
jne 0x4b7664
lea eax, [ebp - 0x1018]
push eax
push str.Find_inf_under___s__fail___
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
mov edx, 0x649e50
call fcn.004917b0
add esp, 8
mov byte [ebp - 4], 0
mov dword [ebp - method.CInfInfo.virtual_0], vtable.CInfInfo.0
mov eax, dword [ebp - 0x226c]
cmp eax, 0xffffffff
je 0x4b7782
push eax
call dword [sym.imp.SETUPAPI.dll_SetupCloseInfFile]
jmp 0x4b7782
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x5430d8
lea ecx, [ebp - 0x223c]
push ecx
call fcn.004f9f1e
add esp, 8
test eax, eax
je 0x4b7731
push 0x56fddc
lea edx, [ebp - 0x223c]
push edx
call fcn.004f9f1e
add esp, 8
test eax, eax
je 0x4b7731
test byte [ebp - 0x2268], 0x10
je 0x4b77a0
push 0x800
push 0
lea eax, [ebp - 0x2018]
push eax
call fcn.004fd670
add esp, 0xc
lea ecx, [ebp - 0x223c]
push ecx
lea edx, [ebp - 0x1018]
push edx
push 0x535a74
lea edx, [ebp - 0x2018]
call fcn.00404380
add esp, 0xc
push edi
lea eax, [ebp - 0x2018]
push eax
mov ecx, dword [ebp - 0x449c]
call fcn.004b74c0
lea eax, [edi + 0x400]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4b7702
sub eax, edx
sar eax, 1
je 0x4b7731
lea eax, [edi + 0xc00]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4b7720
sub eax, edx
sar eax, 1
jne 0x4b7749
lea eax, [ebp - 0x2268]
push eax
mov ecx, dword [ebp - 0x44a4]
push ecx
call ebx
test eax, eax
jne 0x4b766a
mov byte [ebp - 4], 0
mov dword [ebp - method.CInfInfo.virtual_0], vtable.CInfInfo.0
mov eax, dword [ebp - 0x226c]
cmp eax, 0xffffffff
je 0x4b7769
push eax
call dword [sym.imp.SETUPAPI.dll_SetupCloseInfFile]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x44a4]
cmp eax, 0xffffffff
je 0x4b7782
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004fa103
mov esp, ebp
pop ebp
ret 8
push edi
lea ecx, [ebp - 0x223c]
push ecx
call fcn.004f9f1e
add esp, 8
test eax, eax
jne 0x4b7731
push 0x800
push eax
lea edx, [ebp - 0x818]
push edx
call fcn.004fd670
add esp, 0xc
lea eax, [ebp - 0x223c]
push eax
lea ecx, [ebp - 0x1018]
push ecx
push 0x535a74
lea edx, [ebp - 0x818]
call fcn.00404380
add esp, 0xc
push 0
push 0
push 0
push 0xffffffffffffffff
lea edx, [ebp - 0x818]
push edx
lea ecx, [ebp - 0x4498]
call fcn.004b9b00
test al, al
jne 0x4b782a
lea eax, [ebp - 0x818]
push eax
push str.Init_INF_Fail__s_
mov ecx, 0x649e50
call fcn.004918f0
add esp, 8
jmp 0x4b7731
lea esi, [edi + 0x200]
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4b7835
sub eax, edx
sar eax, 1
je 0x4b7879
lea ecx, [ebp - 0x4494]
push ecx
push esi
call fcn.004f9f1e
add esp, 8
test eax, eax
je 0x4b7879
lea edx, [ebp - 0x4494]
push edx
push esi
push str.Inf_class_name_was_not_matched_with_target_class_name___s___s_
mov ecx, 0x649e50
call fcn.004918f0
add esp, 0xc
jmp 0x4b7731
lea eax, [ebp - 0x4494]
push eax
push str.Printer
call fcn.004f9f1e
add esp, 8
test eax, eax
je 0x4b792d
lea ecx, [ebp - 0x4494]
push ecx
push str.Image
call fcn.004f9f1e
add esp, 8
test eax, eax
je 0x4b792d
push 0x3ff
lea edx, [ebp - 0x818]
push edx
push 0x400
lea eax, [edi + 0xc00]
push eax
call fcn.004fa71b
push 0x3ff
lea ecx, [ebp - 0x818]
push ecx
push 0x400
lea edx, [edi + 0x1400]
push edx
call fcn.004fa71b
push 0x3ff
lea eax, [ebp - 0x818]
push eax
push 0x400
lea ecx, [edi + 0x1c00]
push ecx
call fcn.004fa71b
push 0x3ff
lea edx, [ebp - 0x1018]
push edx
push 0x400
add edi, 0x400
push edi
call fcn.004fa71b
add esp, 0x40
jmp 0x4b7749
lea ecx, [ebp - 0x4498]
call fcn.004bab40
cmp eax, 3
jne 0x4b79bd
push 0x3ff
lea eax, [ebp - 0x818]
push eax
push 0x400
lea ecx, [edi + 0xc00]
push ecx
call fcn.004fa71b
push 0x3ff
lea edx, [ebp - 0x818]
push edx
push 0x400
lea eax, [edi + 0x1400]
push eax
call fcn.004fa71b
push 0x3ff
lea ecx, [ebp - 0x818]
push ecx
push 0x400
lea edx, [edi + 0x1c00]
push edx
call fcn.004fa71b
push 0x3ff
lea eax, [ebp - 0x1018]
push eax
push 0x400
add edi, 0x400
push edi
call fcn.004fa71b
add esp, 0x40
jmp 0x4b7749
lea ecx, [ebp - 0x4498]
call fcn.004bab40
cmp eax, 2
jne 0x4b7a62
push 0x3ff
lea ecx, [ebp - 0x818]
push ecx
push 0x400
lea edx, [edi + 0x1c00]
push edx
call fcn.004fa71b
add esp, 0x10
mov eax, dword [ebp - 0x449c]
cmp byte [eax + 0x107b8], 0
je 0x4b7731
push 0x3ff
lea ecx, [ebp - 0x818]
push ecx
push 0x400
lea edx, [edi + 0xc00]
push edx
call fcn.004fa71b
lea eax, [ebp - 0x4494]
push eax
push str.Image
call fcn.004f9f1e
add esp, 0x18
test eax, eax
jne 0x4b7731
push 0x3ff
lea ecx, [ebp - 0x1018]
push ecx
push 0x400
add edi, 0x400
push edi
call fcn.004fa71b
add esp, 0x10
jmp 0x4b7749
lea ecx, [ebp - 0x4498]
call fcn.004bab40
cmp eax, 1
jne 0x4b7731
push 0x3ff
lea edx, [ebp - 0x818]
push edx
push 0x400
lea eax, [edi + 0x1400]
push eax
call fcn.004fa71b
add esp, 0x10
mov ecx, dword [ebp - 0x449c]
cmp byte [ecx + 0x107b8], 0
jne 0x4b7731
push 0x3ff
lea edx, [ebp - 0x818]
push edx
push 0x400
lea eax, [edi + 0xc00]
push eax
call fcn.004fa71b
lea ecx, [ebp - 0x4494]
push ecx
push str.Image
call fcn.004f9f1e
add esp, 0x18
test eax, eax
jne 0x4b7731
push 0x3ff
lea edx, [ebp - 0x1018]
push edx
push 0x400
add edi, 0x400
push edi
call fcn.004fa71b
add esp, 0x10
jmp 0x4b7749