Function at 0x10050860
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10093d37
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100d4254]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov dword [esp + 0x2c], ecx
push dword [esp + 0x60]
lea ecx, [esp + 0x20]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QDir::constructor_class_QString_const__]
push ecx
mov eax, esp
mov dword [esp + 0x5c], 0
lea ecx, [esp + 0x20]
mov dword [eax], 2
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QDir::setFilter_class_QFlags_enum_QDir::Filter__]
push dword [esp + 0x64]
lea ecx, [esp + 0x20]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QDir::setNameFilters_class_QStringList_const__]
push ecx
mov eax, esp
push ecx
lea ecx, [esp + 0x24]
mov dword [eax], 0xffffffff
mov eax, esp
mov dword [eax], 0xffffffff
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.Qt5Core.dll_public:_class_QList_class_QFileInfo____thiscall_QDir::entryInfoList_class_QFlags_enum_QDir::Filter___class_QFlags_enum_QDir::SortFlag__]
lea eax, [esp + 0x14]
mov byte [esp + 0x58], 1
push eax
lea ecx, [esp + 0x34]
call fcn.10050600
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx + 8]
add eax, 4
lea edx, [ecx + eax*4]
mov dword [esp + 0x34], edx
mov eax, dword [ecx + 0xc]
lea ecx, [ecx + eax*4]
mov eax, 1
add ecx, 0x10
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], ecx
mov ebx, dword [esp + 0x74]
mov ebp, dword [sym.imp.Qt5Core.dll_public:_class_QString____thiscall_QString::remove_class_QString_const___enum_Qt::CaseSensitivity_]
mov byte [esp + 0x58], 2
lea esp, [esp]
cmp edx, ecx
je 0x10050a16
test eax, eax
je 0x10050a02
lea eax, [esp + 0x18]
mov ecx, edx
push eax
call dword [sym.imp.Qt5Core.dll_public:_class_QString___thiscall_QFileInfo::absoluteFilePath_void_]
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x28]
mov esi, dword [eax + 4]
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_class_QString_const__]
push 1
push 0x1009e960
mov byte [esp + 0x60], 4
call dword [sym.imp.Qt5Core.dll_private:_static_struct_QTypedArrayData_unsigned_short_int_____cdecl_QString::fromAscii_helper_char_const___int_]
add esp, 8
mov dword [esp + 0x24], eax
push 1
lea eax, [esp + 0x28]
mov byte [esp + 0x5c], 5
push eax
lea ecx, [esp + 0x30]
call ebp
lea ecx, [esp + 0x24]
mov byte [esp + 0x58], 4
mov eax, dword [eax]
mov edi, dword [eax + 4]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
cmp ebx, 0xffffffff
je 0x100509cc
test ebx, ebx
jne 0x100509ba
mov eax, dword [esp + 0x70]
sub esi, edi
add eax, 2
cmp esi, eax
jle 0x100509cc
jmp 0x100509da
cmp ebx, 1
jne 0x100509da
mov eax, dword [esp + 0x70]
sub esi, edi
add eax, 2
cmp esi, eax
jle 0x100509da
mov ecx, dword [esp + 0x6c]
lea eax, [esp + 0x18]
push eax
call fcn.10007390
lea ecx, [esp + 0x28]
mov byte [esp + 0x58], 3
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x18]
mov byte [esp + 0x58], 2
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
mov ecx, dword [esp + 0x38]
xor eax, eax
mov edx, dword [esp + 0x34]
add edx, 4
xor eax, 1
mov dword [esp + 0x34], edx
mov dword [esp + 0x3c], eax
jne 0x10050930
mov edi, dword [esp + 0x30]
or ebp, 0xffffffff
mov ebx, dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QFileInfo::destructor_void_]
mov byte [esp + 0x58], 1
mov eax, dword [edi]
test eax, eax
je 0x10050a43
cmp eax, ebp
je 0x10050a78
mov eax, ebp
lock xadd dword [edi], eax
setne al
test al, al
jne 0x10050a78
mov edi, dword [esp + 0x30]
mov esi, dword [edi + 0xc]
mov ebp, dword [edi + 8]
add esi, 4
add ebp, 4
lea esi, [edi + esi*4]
lea ebp, [edi + ebp*4]
cmp ebp, esi
je 0x10050a6b
lea esp, [esp]
sub esi, 4
mov ecx, esi
call ebx
cmp esi, ebp
jne 0x10050a60
push edi
call dword [sym.imp.Qt5Core.dll_public:_static_void___cdecl_QListData::dispose_struct_QListData::Data__]
add esp, 4
or ebp, 0xffffffff
push dword [esp + 0x60]
lea ecx, [esp + 0x24]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QDir::constructor_class_QString_const__]
push 0x6001
lea ecx, [esp + 0x24]
mov byte [esp + 0x5c], 6
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QDir::setFilter_class_QFlags_enum_QDir::Filter__]
push ecx
mov eax, esp
push ecx
lea ecx, [esp + 0x28]
mov dword [eax], 0xffffffff
mov eax, esp
mov dword [eax], 0xffffffff
lea eax, [esp + 0x68]
push eax
call dword [sym.imp.Qt5Core.dll_public:_class_QList_class_QFileInfo____thiscall_QDir::entryInfoList_class_QFlags_enum_QDir::Filter___class_QFlags_enum_QDir::SortFlag__]
mov edx, dword [esp + 0x14]
mov ecx, dword [eax]
mov dword [esp + 0x14], ecx
mov dword [eax], edx
mov edi, dword [esp + 0x60]
mov eax, dword [edi]
test eax, eax
je 0x10050ae7
cmp eax, 0xffffffff
je 0x10050b15
mov eax, ebp
lock xadd dword [edi], eax
setne al
test al, al
jne 0x10050b15
mov edi, dword [esp + 0x60]
mov esi, dword [edi + 0xc]
mov ebp, dword [edi + 8]
add esi, 4
add ebp, 4
lea esi, [edi + esi*4]
lea ebp, [edi + ebp*4]
cmp ebp, esi
je 0x10050b0b
lea ecx, [ecx]
sub esi, 4
mov ecx, esi
call ebx
cmp esi, ebp
jne 0x10050b00
push edi
call dword [sym.imp.Qt5Core.dll_public:_static_void___cdecl_QListData::dispose_struct_QListData::Data__]
add esp, 4
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x44]
call fcn.10050600
mov ecx, dword [esp + 0x40]
mov eax, dword [ecx + 8]
add eax, 4
lea edi, [ecx + eax*4]
mov dword [esp + 0x44], edi
mov eax, dword [ecx + 0xc]
lea ecx, [ecx + eax*4]
mov eax, 1
add ecx, 0x10
mov dword [esp + 0x4c], eax
mov dword [esp + 0x48], ecx
mov ebp, dword [esp + 0x68]
mov byte [esp + 0x58], 7
cmp edi, ecx
je 0x10050c20
test eax, eax
je 0x10050c0c
mov eax, dword [ebp]
xor esi, esi
mov ecx, dword [eax + 0xc]
sub ecx, dword [eax + 8]
test ecx, ecx
jle 0x10050bc6
lea eax, [esp + 0x60]
mov ecx, edi
push eax
call dword [sym.imp.Qt5Core.dll_public:_class_QString___thiscall_QFileInfo::filePath_void_]
mov edx, dword [ebp]
push 0
push 0
mov byte [esp + 0x60], 8
mov ecx, dword [edx + 8]
add ecx, 4
add ecx, esi
lea ecx, [edx + ecx*4]
push ecx
mov ecx, eax
call dword [sym.imp.Qt5Core.dll_public:_int___thiscall_QString::indexOf_class_QString_const___int__enum_Qt::CaseSensitivity_const]
cmp eax, 0xffffffff
mov byte [esp + 0x58], 7
lea ecx, [esp + 0x60]
setne bl
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
test bl, bl
jne 0x10050c02
mov eax, dword [ebp]
inc esi
mov edx, dword [eax + 0xc]
sub edx, dword [eax + 8]
cmp esi, edx
jl 0x10050b72
lea eax, [esp + 0x68]
mov ecx, edi
push eax
call dword [sym.imp.Qt5Core.dll_public:_class_QString___thiscall_QFileInfo::absoluteFilePath_void_]
push dword [esp + 0x74]
mov ecx, dword [esp + 0x30]
push dword [esp + 0x74]
mov byte [esp + 0x60], 9
push dword [esp + 0x74]
push ebp
push dword [esp + 0x74]
push eax
call fcn.10050860
lea ecx, [esp + 0x68]
mov byte [esp + 0x58], 7
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
mov ecx, dword [esp + 0x48]
xor eax, eax
mov edi, dword [esp + 0x44]
add edi, 4
xor eax, 1
mov dword [esp + 0x44], edi
mov dword [esp + 0x4c], eax
jne 0x10050b53
mov edi, dword [esp + 0x40]
mov byte [esp + 0x58], 6
mov eax, dword [edi]
test eax, eax
je 0x10050c47
or ebp, 0xffffffff
cmp eax, ebp
je 0x10050c7d
mov eax, ebp
lock xadd dword [edi], eax
setne al
test al, al
jne 0x10050c7d
mov edi, dword [esp + 0x40]
mov esi, dword [edi + 0xc]
mov ebp, dword [edi + 8]
add esi, 4
mov ebx, dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QFileInfo::destructor_void_]
add ebp, 4
lea esi, [edi + esi*4]
lea ebp, [edi + ebp*4]
cmp ebp, esi
je 0x10050c6e
sub esi, 4
mov ecx, esi
call ebx
cmp esi, ebp
jne 0x10050c63
push edi
call dword [sym.imp.Qt5Core.dll_public:_static_void___cdecl_QListData::dispose_struct_QListData::Data__]
add esp, 4
or ebp, 0xffffffff
jmp 0x10050c83
mov ebx, dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QFileInfo::destructor_void_]
lea ecx, [esp + 0x20]
mov byte [esp + 0x58], 1
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QDir::destructor_void_]
mov edi, dword [esp + 0x14]
mov byte [esp + 0x58], 0
mov eax, dword [edi]
test eax, eax
je 0x10050cb6
cmp eax, 0xffffffff
je 0x10050ce5
lock xadd dword [edi], ebp
dec ebp
setne al
test al, al
jne 0x10050ce5
mov edi, dword [esp + 0x14]
mov esi, dword [edi + 0xc]
mov ebp, dword [edi + 8]
add esi, 4
add ebp, 4
lea esi, [edi + esi*4]
lea ebp, [edi + ebp*4]
cmp ebp, esi
je 0x10050cdb
lea esp, [esp]
sub esi, 4
mov ecx, esi
call ebx
cmp esi, ebp
jne 0x10050cd0
push edi
call dword [sym.imp.Qt5Core.dll_public:_static_void___cdecl_QListData::dispose_struct_QListData::Data__]
add esp, 4
lea ecx, [esp + 0x1c]
mov dword [esp + 0x58], 0xffffffff
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QDir::destructor_void_]
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x48
ret 0x18