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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4689bd
push eax
mov dword fs:[0], esp
sub esp, 0x6a0
push ebx
push ebp
push esi
push edi
call fcn.004318b0
mov ebp, dword [esp + 0x6c0]
test eax, eax
je 0x410c15
push ebp
lea eax, [esp + 0x5b4]
push str.CDIFx_::_UninstallCleanUp_:_pszEnumFileName___s_n
push eax
call fcn.0044cb10
mov edi, str.ENTRY:
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x2ac]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x2ac]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x5b0]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.00431840
mov ecx, eax
call fcn.004318e0
lea eax, [esp + 0x2ac]
push eax
call fcn.00431840
mov ecx, eax
call fcn.00431c70
mov eax, dword [0x4855a4]
mov dword [esp + 0x20], eax
mov dword [esp + 0x6b8], 0
mov dword [esp + 0x14], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x44]
mov byte [esp + 0x6b8], 3
call fcn.0044c177
lea ecx, [esp + 0x14]
mov byte [esp + 0x6b8], 4
call fcn.0045cd63
push ebp
lea ecx, [esp + 0x30]
call fcn.0045cf15
lea ecx, [esp + 0x2c]
call fcn.0045d28e
push 0x5c
lea ecx, [esp + 0x30]
call fcn.0045bd8e
cmp eax, 0xffffffff
je 0x410c87
inc eax
lea ecx, [esp + 0x2c]
push eax
push 0
call fcn.0045b9bb
lea ecx, [esp + 0x3ac]
push 0x104
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push str.DriverStoreFileRepository
lea ecx, [esp + 0x20]
call fcn.0045ce46
mov esi, eax
lea edx, [esp + 0x3ac]
lea ecx, [esp + 0x24]
push edx
mov byte [esp + 0x6bc], 5
call fcn.0045ce46
push esi
push eax
lea eax, [esp + 0x20]
mov bl, 6
push eax
mov byte [esp + 0x6c4], bl
call fcn.0045cfbb
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x6bc], 7
call fcn.0045cec5
lea ecx, [esp + 0x18]
mov byte [esp + 0x6b8], bl
call fcn.0045cdd8
lea ecx, [esp + 0x24]
mov byte [esp + 0x6b8], 5
call fcn.0045cdd8
lea ecx, [esp + 0x1c]
mov byte [esp + 0x6b8], 4
call fcn.0045cdd8
mov ecx, dword [esp + 0x20]
push ecx
lea ecx, [esp + 0x34]
call fcn.00411410
test eax, eax
jne 0x410dca
push str.DRVSTORE
lea ecx, [esp + 0x20]
call fcn.0045ce46
mov esi, eax
lea edx, [esp + 0x3ac]
lea ecx, [esp + 0x24]
push edx
mov byte [esp + 0x6bc], 8
call fcn.0045ce46
push esi
push eax
lea eax, [esp + 0x20]
mov bl, 9
push eax
mov byte [esp + 0x6c4], bl
call fcn.0045cfbb
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x6bc], 0xa
call fcn.0045cec5
lea ecx, [esp + 0x18]
mov byte [esp + 0x6b8], bl
call fcn.0045cdd8
lea ecx, [esp + 0x24]
mov byte [esp + 0x6b8], 8
call fcn.0045cdd8
lea ecx, [esp + 0x1c]
mov byte [esp + 0x6b8], 4
call fcn.0045cdd8
mov ecx, dword [esp + 0x20]
push ecx
lea ecx, [esp + 0x34]
call fcn.00411410
test eax, eax
je 0x41125e
lea edx, [esp + 0x20]
push str..
lea eax, [esp + 0x1c]
push edx
push eax
call fcn.0045d021
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x6bc], 0xb
call fcn.0045cec5
lea ecx, [esp + 0x18]
mov byte [esp + 0x6b8], 4
call fcn.0045cdd8
mov ecx, dword [esp + 0x10]
push 0
push ecx
lea ecx, [esp + 0x4c]
call fcn.0044c23a
test eax, eax
je 0x41114a
mov bl, 0x12
lea ecx, [esp + 0x44]
call fcn.0044c45a
lea ecx, [esp + 0x44]
mov dword [esp + 0x18], eax
call fcn.0044c421
test eax, eax
jne 0x41113e
mov edx, dword [esp + 0x44]
push 0x10
lea ecx, [esp + 0x48]
call dword [edx + 0x38]
test eax, eax
je 0x41113e
push 0x47f5f0
lea ecx, [esp + 0x68]
call fcn.0045ce46
mov esi, eax
lea eax, [esp + 0x68]
lea ecx, [esp + 0x44]
push eax
mov byte [esp + 0x6bc], 0xc
call fcn.0044c529
push esi
lea ecx, [esp + 0x64]
push eax
push ecx
mov byte [esp + 0x6c4], 0xd
call fcn.0045cfbb
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x6bc], 0xe
call fcn.0045cec5
lea ecx, [esp + 0x60]
mov byte [esp + 0x6b8], 0xd
call fcn.0045cdd8
lea ecx, [esp + 0x68]
mov byte [esp + 0x6b8], 0xc
call fcn.0045cdd8
lea ecx, [esp + 0x64]
mov byte [esp + 0x6b8], 4
call fcn.0045cdd8
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x6c]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0x24], eax
je 0x41113e
lea ecx, [esp + 0x98]
push ecx
lea ecx, [esp + 0x20]
call fcn.0045ce46
mov esi, eax
push 0x47d160
lea ecx, [esp + 0x38]
mov byte [esp + 0x6bc], 0xf
call fcn.0045ce46
mov edi, eax
lea edx, [esp + 0x38]
lea ecx, [esp + 0x44]
push edx
mov byte [esp + 0x6bc], 0x10
call fcn.0044c529
push edi
push eax
lea eax, [esp + 0x48]
mov byte [esp + 0x6c0], 0x11
push eax
call fcn.0045cfbb
push esi
lea ecx, [esp + 0x40]
push eax
push ecx
mov byte [esp + 0x6c4], bl
call fcn.0045cfbb
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x6bc], 0x13
call fcn.0045cec5
lea ecx, [esp + 0x3c]
mov byte [esp + 0x6b8], bl
call fcn.0045cdd8
lea ecx, [esp + 0x40]
mov byte [esp + 0x6b8], 0x11
call fcn.0045cdd8
lea ecx, [esp + 0x38]
mov byte [esp + 0x6b8], 0x10
call fcn.0045cdd8
lea ecx, [esp + 0x34]
mov byte [esp + 0x6b8], 0xf
call fcn.0045cdd8
lea ecx, [esp + 0x1c]
mov byte [esp + 0x6b8], 4
call fcn.0045cdd8
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x30]
push edx
push ebp
call fcn.00411ed0
test eax, eax
jne 0x4110cc
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x6c]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x411133
lea edx, [esp + 0x98]
lea ecx, [esp + 0x1c]
push edx
call fcn.0045ce46
mov esi, eax
push 0x47d160
lea ecx, [esp + 0x38]
mov byte [esp + 0x6bc], 0xf
call fcn.0045ce46
mov edi, eax
lea eax, [esp + 0x38]
lea ecx, [esp + 0x44]
push eax
mov byte [esp + 0x6bc], 0x10
call fcn.0044c529
push edi
lea ecx, [esp + 0x44]
push eax
push ecx
mov byte [esp + 0x6c4], 0x11
call fcn.0045cfbb
push esi
lea edx, [esp + 0x40]
push eax
push edx
mov byte [esp + 0x6c4], bl
call fcn.0045cfbb
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x6bc], 0x13
call fcn.0045cec5
lea ecx, [esp + 0x3c]
mov byte [esp + 0x6b8], bl
call fcn.0045cdd8
lea ecx, [esp + 0x40]
mov byte [esp + 0x6b8], 0x11
call fcn.0045cdd8
lea ecx, [esp + 0x38]
mov byte [esp + 0x6b8], 0x10
call fcn.0045cdd8
lea ecx, [esp + 0x34]
mov byte [esp + 0x6b8], 0xf
call fcn.0045cdd8
lea ecx, [esp + 0x1c]
mov byte [esp + 0x6b8], 4
call fcn.0045cdd8
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x30]
push eax
push ebp
call fcn.00411ed0
test eax, eax
je 0x410fcf
lea ecx, [esp + 0x98]
mov dword [esp + 0x18], 0
push ecx
lea ecx, [esp + 0x18]
call fcn.0045cf15
lea ecx, [esp + 0x14]
call fcn.0045d28e
push 0x47d174
lea ecx, [esp + 0x18]
call fcn.0045bdb0
cmp eax, 0xffffffff
je 0x411133
lea edx, [esp + 0x28]
push eax
push edx
lea ecx, [esp + 0x1c]
call fcn.0045bd16
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x6bc], 0x14
call fcn.0045cec5
lea ecx, [esp + 0x28]
mov byte [esp + 0x6b8], 4
call fcn.0045cdd8
mov eax, dword [esp + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x410e1b
lea ecx, [esp + 0x44]
call fcn.0044c1f0
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x411175
call fcn.004318b0
test eax, eax
je 0x411278
push str.FAILED_to_Find_Driver_Store_File_n
jmp 0x41126c
lea edx, [esp + 0x20]
push str..
lea eax, [esp + 0x2c]
push edx
push eax
call fcn.0045d021
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x6bc], 0x15
call fcn.0045cec5
lea ecx, [esp + 0x28]
mov byte [esp + 0x6b8], 4
call fcn.0045cdd8
mov ecx, dword [esp + 0x10]
push 0
push ecx
lea ecx, [esp + 0x4c]
call fcn.0044c23a
test eax, eax
je 0x411253
mov bl, 0x16
lea ecx, [esp + 0x44]
call fcn.0044c45a
lea ecx, [esp + 0x44]
mov esi, eax
call fcn.0044c421
test eax, eax
jne 0x41124b
mov edx, dword [esp + 0x44]
push 0x10
lea ecx, [esp + 0x48]
call dword [edx + 0x38]
test eax, eax
je 0x41124b
lea eax, [esp + 0x28]
lea ecx, [esp + 0x44]
push eax
call fcn.0044c529
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x6bc], bl
call fcn.0045cec5
lea ecx, [esp + 0x28]
mov byte [esp + 0x6b8], 4
call fcn.0045cdd8
lea ecx, [esp + 0x10]
call fcn.0045d28e
mov ecx, dword [esp + 0x14]
push ecx
lea ecx, [esp + 0x14]
call fcn.0045bdb0
cmp eax, 0xffffffff
je 0x41124b
mov edx, dword [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x38]
call fcn.00411cf0
test esi, esi
jne 0x4111c6
lea ecx, [esp + 0x44]
call fcn.0044c1f0
jmp 0x411278
call fcn.004318b0
test eax, eax
je 0x411278
push str.FAILED_to_Find_Driver_Store_Folder_n
call fcn.00431840
mov ecx, eax
call fcn.00431c70
call fcn.004318b0
test eax, eax
je 0x411318
push 0
lea eax, [esp + 0x4b4]
push str.CDIFx_::_UninstallCleanUp_n
push eax
call fcn.0044cb10
mov edi, str.EXIT:
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x1ac]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x1ac]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x4b0]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x1ac]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.00431840
mov ecx, eax
call fcn.00431c70
call fcn.00431840
mov ecx, eax
call fcn.004318f0
lea ecx, [esp + 0x44]
mov byte [esp + 0x6b8], 3
call fcn.0044c1b4
lea ecx, [esp + 0x10]
mov byte [esp + 0x6b8], 2
call fcn.0045cdd8
lea ecx, [esp + 0x2c]
mov byte [esp + 0x6b8], 1
call fcn.0045cdd8
lea ecx, [esp + 0x14]
mov byte [esp + 0x6b8], 0
call fcn.0045cdd8
lea ecx, [esp + 0x20]
mov dword [esp + 0x6b8], 0xffffffff
call fcn.0045cdd8
mov ecx, dword [esp + 0x6b0]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x6ac
ret 4