Function at 0x42f060
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x505c39
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5ac54c]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
mov dword [esp + 0x38], ecx
lea eax, [esp + 0x20]
xor ebx, ebx
push eax
mov dword [esp + 0x28], ebx
call dword [sym.imp.imfc0.dll_class_QList_struct_Im::_DriveInfo____cdecl_Im::cdDriveList_void_]
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x4c]
push edx
mov dword [esp + 0x6c], ebx
call fcn.0042e350
add esp, 0xc
mov edi, dword [sym.imp.immconverttask0.dll_public:_void___thiscall_LoadController::addDVD_class_QString_const__]
mov ebp, dword [sym.imp.immconverttask0.dll_public:_class_LoadController____thiscall_ImmConvertTaskHandler::loadController_void_]
mov eax, dword [esp + 0x4c]
mov byte [esp + 0x60], 1
lea ecx, [ecx]
mov ecx, dword [esp + 0x48]
mov edx, ecx
inc ecx
mov dword [esp + 0x48], ecx
test edx, edx
jne 0x42f2eb
cmp eax, dword [esp + 0x50]
je 0x42f2eb
mov esi, dword [eax]
push esi
lea ecx, [esp + 0x40]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::constructor_class_QString_const__]
add esi, 4
push esi
lea ecx, [esp + 0x44]
mov byte [esp + 0x64], 2
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::constructor_class_QString_const__]
mov byte [esp + 0x60], 3
cmp dword [esp + 0x48], 0
je 0x42f2cd
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x20]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::constructor_class_QString_const__]
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x38]
mov byte [esp + 0x64], 4
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QDir::constructor_class_QString_const__]
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x38]
mov byte [esp + 0x64], 5
call dword [sym.imp.QtCore4.dll_public:_class_QString___thiscall_QDir::absolutePath_void_]
lea eax, [esp + 0x18]
push eax
mov byte [esp + 0x64], 6
call fcn.004948a0
add esp, 4
test al, al
jne 0x42f1bb
push 0x53a334
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x38]
push edx
call fcn.004018d0
push str.VIDEO_TS
push eax
lea eax, [esp + 0x40]
or ebx, 1
push eax
mov byte [esp + 0x78], 7
mov dword [esp + 0x3c], ebx
call fcn.004018d0
or ebx, 2
push eax
mov dword [esp + 0x7c], 8
mov dword [esp + 0x40], ebx
call fcn.004948a0
add esp, 0x1c
mov byte [esp + 0x17], 0
test al, al
je 0x42f1c0
mov byte [esp + 0x17], 1
mov esi, dword [sym.imp.QtCore4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__]
mov dword [esp + 0x60], 7
test bl, 2
je 0x42f1f1
mov ecx, dword [esp + 0x2c]
and ebx, 0xfffffffd
mov dword [esp + 0x24], ebx
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x42f1f1
mov eax, dword [esp + 0x2c]
push eax
call esi
add esp, 4
mov dword [esp + 0x60], 6
test bl, 1
je 0x42f218
mov ecx, dword [esp + 0x30]
and ebx, 0xfffffffe
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x42f218
mov eax, dword [esp + 0x30]
push eax
call esi
add esp, 4
cmp byte [esp + 0x17], 0
je 0x42f27d
mov edx, dword [esp + 0x38]
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [edx + 0x270]
call ebp
mov ecx, eax
call edi
mov eax, dword [0x5a8df4]
push 0xffffffffffffffff
push eax
call dword [sym.imp.QtCore4.dll_private:_static_struct_QString::Data____cdecl_QString::fromAscii_helper_char_const___int_]
add esp, 8
mov dword [esp + 0x28], eax
lea ecx, [esp + 0x28]
push ecx
mov byte [esp + 0x64], 9
call dword [sym.imp.imfc0.dll_public:_static_class_regLib____cdecl_regLib::instance_void_]
mov ecx, eax
call dword [sym.imp.imfc0.dll_public:_void___thiscall_regLib::incCIAItem_class_QString_const__]
mov edx, dword [esp + 0x28]
mov byte [esp + 0x60], 6
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x42f27d
mov ecx, dword [esp + 0x28]
push ecx
call esi
add esp, 4
mov edx, dword [esp + 0x18]
mov byte [esp + 0x60], 5
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x42f299
mov ecx, dword [esp + 0x18]
push ecx
call esi
add esp, 4
lea ecx, [esp + 0x34]
mov byte [esp + 0x60], 4
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QDir::destructor_void_]
mov edx, dword [esp + 0x1c]
mov byte [esp + 0x60], 3
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x42f2c4
mov ecx, dword [esp + 0x1c]
push ecx
call esi
add esp, 4
dec dword [esp + 0x48]
jmp 0x42f112
lea ecx, [esp + 0x3c]
mov byte [esp + 0x60], 1
call fcn.004044f0
mov eax, dword [esp + 0x4c]
add eax, 4
mov dword [esp + 0x4c], eax
jmp 0x42f0d0
mov eax, dword [esp + 0x44]
mov edi, dword [sym.imp.QtCore4.dll_void___cdecl_qFree_void__]
mov byte [esp + 0x60], 0
test eax, eax
je 0x42f332
or edx, 0xffffffff
lock xadd dword [eax], edx
jne 0x42f332
mov eax, dword [esp + 0x44]
mov ecx, dword [eax + 0xc]
lea edx, [eax + ecx*4 + 0x14]
mov ecx, dword [eax + 8]
push edx
lea edx, [eax + ecx*4 + 0x14]
push edx
lea ecx, [esp + 0x4c]
mov esi, eax
call fcn.00413b20
mov eax, dword [esi]
test eax, eax
jne 0x42f332
push esi
call edi
add esp, 4
mov eax, dword [esp + 0x20]
mov dword [esp + 0x60], 0xffffffff
test eax, eax
je 0x42f376
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x42f376
mov eax, dword [esp + 0x20]
mov edx, dword [eax + 0xc]
lea ecx, [eax + edx*4 + 0x14]
mov edx, dword [eax + 8]
mov esi, eax
push ecx
lea eax, [eax + edx*4 + 0x14]
push eax
lea ecx, [esp + 0x28]
call fcn.00413b20
mov ecx, dword [esi]
test ecx, ecx
jne 0x42f376
push esi
call edi
add esp, 4
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret