Function at 0x408a70
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b2baa
mov eax, dword fs:[0]
push eax
sub esp, 0x26c
mov eax, dword [0x5603e8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xor ebx, ebx
mov ecx, edi
mov dword [ebp - 0x268], ebx
call dword [sym.imp.QtCore4.dll_public:_bool___thiscall_QListData::isEmpty_void_const]
test al, al
jne 0x408c39
mov ecx, esi
call dword [sym.imp.QtCore4.dll_public:_bool___thiscall_QString::isEmpty_void_const]
test al, al
jne 0x408c39
lea eax, [ebp - 0x26c]
push esi
push eax
mov dword [ebp - 0x274], ebx
call dword [sym.imp.QtCore4.dll_public:_static_class_QString___cdecl_QDir::toNativeSeparators_class_QString_const__]
add esp, 8
push 0x5c
lea ecx, [ebp - 0x266]
mov dword [ebp - 4], ebx
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QChar::constructor_char_]
push 1
lea ecx, [ebp - 0x266]
push ecx
lea ecx, [ebp - 0x26c]
call dword [sym.imp.QtCore4.dll_public:_bool___thiscall_QString::endsWith_class_QChar_const___enum_Qt::CaseSensitivity_const]
lea ecx, [ebp - 0x26c]
test al, al
je 0x408b1a
push 0x4c7eb4
jmp 0x408b1f
push 0x4c7f94
call dword [sym.imp.QtCore4.dll_public:_class_QString____thiscall_QString::append_char_const__]
lea edx, [ebp - 0x260]
push edx
lea ecx, [ebp - 0x26c]
call dword [sym.imp.QtCore4.dll_public:_unsigned_short_int_const____thiscall_QString::utf16_void_const]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x270], eax
mov byte [ebp - 4], 1
cmp eax, 0xffffffff
je 0x408bff
mov esi, dword [sym.imp.QtCore4.dll_public:_static_class_QString___cdecl_QString::fromWCharArray_unsigned_short_int_const___int_]
jmp 0x408b60
test byte [ebp - 0x260], 0x10
jne 0x408bb8
push 0xffffffffffffffff
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x278]
push ecx
call esi
push 1
push eax
lea edx, [ebp - 0x261]
push edi
or ebx, 1
push edx
mov byte [ebp - 4], 2
mov dword [ebp - 0x268], ebx
call dword [sym.imp.QtCore4.dll_class_QBool___cdecl_QtPrivate::QStringList_contains_class_QStringList_const___class_QString_const___enum_Qt::CaseSensitivity_]
movzx eax, byte [ebp - 0x261]
add esp, 0x1c
neg eax
sbb eax, eax
lea ecx, [ebp - 0x261]
mov byte [ebp - 0x265], 1
test ecx, eax
jne 0x408bbf
mov byte [ebp - 0x265], 0
mov dword [ebp - 4], 1
test bl, 1
je 0x408bda
lea ecx, [ebp - 0x278]
and ebx, 0xfffffffe
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
cmp byte [ebp - 0x265], 0
jne 0x408c32
mov eax, dword [ebp - 0x270]
lea edx, [ebp - 0x260]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x408b60
mov esi, dword [ebp - 0x274]
mov eax, dword [ebp - 0x270]
test eax, eax
je 0x408c1b
cmp eax, 0xffffffff
je 0x408c1b
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x26c]
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
mov eax, esi
jmp 0x408c3b
mov esi, 1
jmp 0x408c05
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b12f6
mov esp, ebp
pop ebp
ret 8