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

Disassembly:
push 0xffffffffffffffff
push 0x4579a6
mov eax, dword fs:[0]
push eax
sub esp, 0x6a4
mov eax, dword [0x46be4c]
xor eax, esp
mov dword [esp + 0x6a0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x46be4c]
xor eax, esp
push eax
lea eax, [esp + 0x6b8]
mov dword fs:[0], eax
xor ebx, ebx
push 0x103
lea eax, [esp + 0x2a9]
push ebx
push eax
xor edi, edi
mov byte [esp + 0x2b0], bl
call fcn.004413c0
push 0x103
lea ecx, [esp + 0x3b9]
push ebx
push ecx
mov byte [esp + 0x3c0], bl
call fcn.004413c0
add esp, 0x18
call fcn.004316f5
mov ebp, dword [eax + 4]
push 0x104
lea edx, [esp + 0x2a8]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x4144f7
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
push str.DriverStoreFileRepository_
lea eax, [esp + 0x2a8]
push eax
call esi
lea ecx, [esp + 0x2a4]
push ecx
lea edx, [esp + 0x3ac]
push 0x104
push edx
call fcn.004423ff
add esp, 0xc
push 0x45dabc
lea eax, [esp + 0x2a8]
push eax
call esi
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x2a8]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0x20], eax
je 0x4144f5
mov eax, dword [ebp + 0x1a0]
mov dword [esp + 0x1c], eax
cmp dword [esp + 0x24], 0x10
jne 0x4144d0
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x1c]
call fcn.004027b0
push 0x45c6da
lea ecx, [esp + 0x18]
mov dword [esp + 0x6c4], ebx
call fcn.004027b0
lea ecx, [esp + 0x18]
mov byte [esp + 0x6c0], 1
call fcn.004076e0
xor edi, edi
cmp dword [esp + 0x1c], ebx
jle 0x41439e
nop
cmp edi, ebx
jl 0x414529
cmp edi, dword [ebp + 0x1a0]
jge 0x414529
mov edx, dword [ebp + 0x19c]
lea eax, [edx + edi*4]
push eax
lea ecx, [esp + 0x18]
call fcn.00402020
mov edx, dword [esp + 0x14]
mov esi, dword [edx - 0xc]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, esi
or eax, ecx
jge 0x41432d
push esi
lea ecx, [esp + 0x18]
call fcn.00401570
mov edx, dword [esp + 0x14]
lea eax, [esi + 1]
push eax
push edx
call fcn.00442799
push eax
call fcn.00401000
add esp, 0xc
cmp esi, ebx
jl 0x41451f
mov eax, dword [esp + 0x14]
cmp esi, dword [eax - 8]
jg 0x41451f
mov dword [eax - 0xc], esi
mov ecx, dword [esp + 0x14]
mov byte [esi + ecx], bl
mov ecx, dword [esp + 0x14]
cmp ecx, ebx
je 0x414387
mov eax, dword [esp + 0x18]
cmp dword [eax - 0xc], ebx
jl 0x414387
push ecx
push eax
call fcn.00442d29
add esp, 8
cmp eax, ebx
je 0x414387
sub eax, dword [esp + 0x18]
cmp eax, 0xffffffff
jg 0x41439e
add edi, 1
cmp edi, dword [esp + 0x1c]
jl 0x4142e0
cmp dword [esp + 0x1c], ebx
jne 0x41447e
push 0x103
lea edx, [esp + 0x5b5]
push ebx
push edx
mov byte [esp + 0x5bc], bl
call fcn.004413c0
push 0x103
lea eax, [esp + 0x4bd]
push ebx
push eax
mov byte [esp + 0x4c4], bl
call fcn.004413c0
lea ecx, [esp + 0x68]
push ecx
lea edx, [esp + 0x3c4]
push edx
push str._s_s.inf
push 0xffffffffffffffff
lea eax, [esp + 0x5d8]
push 0x104
push eax
call fcn.004424f1
add esp, 0x30
lea ecx, [esp + 0x164]
push ecx
lea edx, [esp + 0x5b4]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x41447e
lea esi, [ebp + 0x184]
mov edi, edi
lea eax, [esp + 0x190]
push eax
lea ecx, [esp + 0x54]
push ecx
lea edx, [esp + 0x3b0]
push edx
push str._s_s_s
push 0xffffffffffffffff
lea eax, [esp + 0x4c0]
push 0x104
push eax
call fcn.004424f1
mov eax, dword [esi + 8]
add esp, 0x1c
lea ecx, [esp + 0x4ac]
push ecx
push eax
mov ecx, esi
call fcn.00430da4
lea edx, [esp + 0x164]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
cmp eax, ebx
jne 0x414420
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x6c0], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4144a5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov dword [esp + 0x6c0], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4144d0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x20]
lea ecx, [esp + 0x24]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x414294
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edi, dword [ebp + 0x18c]
mov eax, edi
mov ecx, dword [esp + 0x6b8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x6a0]
xor ecx, esp
call fcn.0044027a
add esp, 0x6b0
ret
push 0x80070057
call fcn.00401090
jmp fcn.00430460