Function at 0x41e370
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x452e4e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push ebp
push esi
push edi
mov edi, ecx
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x20]
mov dword [esp + 0x34], 0
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::constructor_class_QString_const__]
lea ecx, [esp + 0x38]
push ecx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x34], 1
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QDir::constructor_class_QString_const__]
push ecx
mov byte [esp + 0x34], 2
mov eax, esp
lea ecx, [esp + 0x1c]
mov dword [esp + 0x28], esp
mov dword [eax], 2
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QDir::setFilter_class_QFlags_enum_QDir::Filter__]
push ecx
mov eax, esp
lea ecx, [esp + 0x1c]
mov dword [esp + 0x28], esp
mov dword [eax], 0
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QDir::setSorting_class_QFlags_enum_QDir::SortFlag__]
push ecx
mov eax, esp
mov dword [esp + 0x28], esp
push ecx
mov dword [eax], 0xffffffff
mov eax, esp
lea edx, [esp + 0x18]
mov dword [esp + 0x2c], esp
push edx
lea ecx, [esp + 0x24]
mov dword [eax], 0xffffffff
call dword [sym.imp.QtCore4.dll_public:_class_QStringList___thiscall_QDir::entryList_class_QFlags_enum_QDir::Filter___class_QFlags_enum_QDir::SortFlag__]
mov byte [esp + 0x30], 3
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0xc]
cmp ecx, dword [eax + 8]
je 0x41e553
push 1
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x24]
call dword [sym.imp.QtCore4.dll_public:_class_QString___thiscall_QString::right_int_]
push 0x4d7fb0
mov esi, eax
mov byte [esp + 0x34], 4
call fcn.00407f40
add esp, 4
test al, al
lea ecx, [esp + 0x20]
sete bl
mov byte [esp + 0x30], 3
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
test bl, bl
je 0x41e476
push 0x4d7fb0
lea ecx, [esp + 0x20]
call dword [0x454404]
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
cmp ecx, 1
je 0x41e48b
lea edx, [esp + 0x10]
push edx
call fcn.00409200
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 8]
lea ebp, [eax + ecx*4 + 0x14]
mov bl, 5
mov edx, dword [eax]
cmp edx, 1
je 0x41e4a9
lea eax, [esp + 0x10]
push eax
call fcn.00409200
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0xc]
lea ecx, [eax + ecx*4 + 0x14]
cmp ebp, ecx
je 0x41e532
push ebp
lea ecx, [esp + 0x18]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::constructor_class_QString_const__]
mov byte [esp + 0x30], bl
mov edx, dword [esp + 0x14]
cmp dword [edx + 8], 0
je 0x41e51f
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x2c]
push edx
call fcn.00406d30
add esp, 0xc
push 0
mov esi, eax
mov byte [esp + 0x34], 6
call fcn.004163a0
lea ecx, [esp + 0x24]
mov byte [esp + 0x30], bl
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 3
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
mov eax, dword [esp + 0x10]
add ebp, 4
jmp 0x41e498
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 3
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0xc]
sub ecx, dword [eax + 8]
mov eax, dword [esp + 0x3c]
add dword [eax], ecx
mov ecx, dword [0x4fbf6c]
lea edx, [esp + 0x38]
push edx
call dword [sym.imp.utility.dll_public:_void___thiscall_Config::SetFilePath_class_QString_const__]
mov eax, dword [esp + 0x10]
test eax, eax
mov byte [esp + 0x30], 2
je 0x41e59f
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x41e59f
mov eax, dword [esp + 0x10]
mov edx, dword [eax + 0xc]
mov ecx, dword [eax + 8]
lea esi, [eax + edx*4 + 0x14]
lea edi, [eax + ecx*4 + 0x14]
cmp edi, esi
mov ebx, eax
je 0x41e58f
lea ecx, [ecx]
sub esi, 4
mov ecx, esi
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
cmp esi, edi
jne 0x41e580
mov edx, dword [ebx]
test edx, edx
jne 0x41e59f
push ebx
call dword [sym.imp.QtCore4.dll_void___cdecl_qFree_void__]
add esp, 4
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 1
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QDir::destructor_void_]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], 0
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x38]
mov dword [esp + 0x30], 0xffffffff
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x24
ret 8