Function at 0x45bd10
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x50dba9
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5ac54c]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esi + 0x34]
mov dword [esp + 0x20], ecx
call fcn.0041fa50
lea ecx, [esi + 0x38]
mov dword [esp + 0x24], ecx
call fcn.0045bc10
mov ecx, dword [esi + 0x10]
xor edi, edi
mov dword [esi + 0x14], edi
call dword [sym.imp.immconverttask0.dll_public:_long_long___int64____thiscall_ImmTaskItem::duration_void_const]
mov dword [esi + 0x20], eax
mov eax, dword [esi + 0x10]
mov dword [esi + 0x24], edx
mov byte [esi + 0x28], 0
mov eax, dword [eax + 0x30]
add eax, 0xc
push eax
lea ecx, [esp + 0x18]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::constructor_class_QString_const__]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x40], edi
cmp dword [ecx + 8], edi
je 0x45bdac
lea edx, [esp + 0x14]
push edx
push edi
push edi
call dword [sym.imp.immprofile0.dll_public:_static_class_ImProfileManager____cdecl_ImProfileManager::instance_class_QObject___bool_]
add esp, 8
mov ecx, eax
call dword [sym.imp.immprofile0.dll_public:_enum_IMM_PROFILE_TYPE___thiscall_ImProfileManager::profileType_class_QString_const__]
cmp eax, 2
jne 0x45bdac
lea eax, [edi + 1]
jmp 0x45bdae
xor eax, eax
mov ecx, dword [esi + 0x10]
mov byte [esi + 0x28], al
mov eax, dword [ecx]
mov edx, dword [eax + 0x2c]
call edx
mov ebx, dword [sym.imp.immconverttask0.dll_public:_class_ImmTaskItem____thiscall_ImmTaskItem::ori_item_void_const]
mov ecx, dword [esi + 0x10]
cmp eax, 0x10
lea eax, [esp + 0x18]
jne 0x45bdd5
push ecx
push eax
call ebx
mov ecx, eax
jmp 0x45bdd7
push edi
push eax
call dword [sym.imp.immconverttask0.dll_public:_class_QSize___thiscall_ImmTaskItem::videoOutputSize_class_ImmTaskItem_const__]
mov ecx, dword [eax]
mov ebp, dword [esi + 0x10]
mov dword [esi + 0x18], ecx
mov edx, dword [eax + 4]
mov dword [esi + 0x1c], edx
mov eax, dword [ebp]
mov edx, dword [eax + 0x2c]
mov ecx, ebp
call edx
cmp eax, 0x10
jne 0x45be03
mov ecx, ebp
lea edi, [eax - 0xf]
call ebx
mov ebp, eax
mov ecx, ebp
xor ebx, ebx
xor esi, esi
call dword [sym.imp.immconverttask0.dll_public:_int___thiscall_ImmTaskItem::childCount_void_const]
cmp edi, eax
jge 0x45be6b
push edi
mov ecx, ebp
call dword [sym.imp.immconverttask0.dll_public:_class_ImmTaskItem____thiscall_ImmTaskItem::child_int_const]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
push eax
call fcn.0041d6d0
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], esi
call dword [sym.imp.immconverttask0.dll_public:_long_long___int64____thiscall_ImmTaskItem::duration_void_const]
add eax, ebx
lea ecx, [esp + 0x28]
adc edx, esi
push ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], edx
mov ebx, eax
mov esi, edx
call fcn.0045ba50
mov ecx, ebp
inc edi
call dword [sym.imp.immconverttask0.dll_public:_int___thiscall_ImmTaskItem::childCount_void_const]
cmp edi, eax
jl 0x45be13
mov edx, dword [esp + 0x14]
mov dword [esp + 0x40], 0xffffffff
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x45be8e
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.QtCore4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__]
add esp, 4
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret