Function at 0x10014770
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x890
mov eax, dword [0x100582a0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
push str.DoGetDriverSetSize_Start
mov dword [ebp - 0x884], eax
mov dword [ebp - 0x890], ecx
call fcn.10027780
xor edi, edi
push 0x206
lea eax, [ebp - 0x412]
xor edx, edx
push edi
push eax
mov dword [ebp - 0x88c], edi
mov dword [ebp - 0x888], edi
mov dword [ebp - 0x870], edi
mov dword [ebp - 0x874], edi
mov word [ebp - 0x414], dx
call fcn.1002b6b0
push 0x206
lea edx, [ebp - 0x61a]
xor ecx, ecx
push edi
push edx
mov word [ebp - 0x61c], cx
call fcn.1002b6b0
push 0x206
lea ecx, [ebp - 0x20a]
xor eax, eax
push edi
push ecx
mov word [ebp - 0x20c], ax
call fcn.1002b6b0
add esp, 0x28
cmp esi, edi
je 0x100149cb
push 0x10043394
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x100149cb
push esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea edx, [ebp - 0x20c]
push edx
call esi
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea ecx, [ebp - 0x20c]
push ecx
lea edx, [ebp - 0x61c]
push edx
call esi
lea eax, [ebp - 0x20c]
push eax
push str._s.
mov ecx, eax
push 0x104
push ecx
call fcn.1002b96b
add esp, 0x10
lea edx, [ebp - 0x86c]
push edx
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x878], eax
cmp eax, 0xffffffff
je 0x100149cb
mov esi, dword [sym.imp.USER32.dll_wsprintfW]
push ebx
mov ebx, dword [sym.imp.SETUPAPI.dll_SetupGetFileCompressionInfoW]
jmp 0x100148b0
test byte [ebp - 0x86c], 0x10
jne 0x1001494b
push 0x10045c54
lea ecx, [ebp - 0x840]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x1001494b
push 0x100466c0
lea edx, [ebp - 0x840]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x1001494b
lea eax, [ebp - 0x840]
push eax
lea ecx, [ebp - 0x61c]
push ecx
lea edx, [ebp - 0x414]
push str._s_s
push edx
call esi
add esp, 0x10
lea eax, [ebp - 0x888]
push eax
lea ecx, [ebp - 0x880]
push ecx
lea edx, [ebp - 0x87c]
push edx
lea eax, [ebp - 0x88c]
push eax
lea ecx, [ebp - 0x414]
push ecx
call ebx
mov edi, eax
test edi, edi
jne 0x10014967
mov edx, dword [ebp - 0x880]
mov eax, dword [ebp - 0x87c]
add dword [ebp - 0x870], edx
add dword [ebp - 0x874], eax
mov edx, dword [ebp - 0x878]
lea ecx, [ebp - 0x86c]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x100148b0
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop ebx
cmp eax, 0x12
je 0x10014978
mov edi, 0x57
mov eax, dword [ebp - 0x878]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
test edi, edi
jne 0x100149d0
mov ecx, dword [ebp - 0x890]
test ecx, ecx
je 0x100149a9
mov eax, dword [ebp - 0x870]
push eax
push str.DoGetDriverSetSize_End__d
mov dword [ecx], eax
call fcn.10027780
add esp, 8
mov ecx, dword [ebp - 0x884]
test ecx, ecx
je 0x100149d0
mov eax, dword [ebp - 0x874]
push eax
push str.DoGetDriverSetSize_End__d
mov dword [ecx], eax
call fcn.10027780
add esp, 8
jmp 0x100149d0
mov edi, 0x57
push str.DoGetDriverSetSize_End
call fcn.10027780
mov ecx, dword [ebp - 4]
add esp, 4
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.1002b571
mov esp, ebp
pop ebp
ret