Function at 0x401712
Capabilities:
Access peb ldr_data

Disassembly:
jmp 0x420ef0
push 0xffffffffffffffff
push 0x46dd03
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [sym.imp.QtCore4.dll_struct_QListData::Data_QListData::shared_null]
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], eax
mov ecx, 1
lock xadd dword [eax], ecx
mov ecx, esi
mov dword [esp + 0x1c], 0
call fcn.004015ff
mov ebx, dword [esp + 0x40]
mov edi, dword [esp + 0x3c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
push ebx
push edi
lea edx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x38]
push 0x800000
push 0x1000
sub esp, 0x18
mov eax, esp
mov dword [eax], ebp
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x5c]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x60]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x64]
mov dword [eax + 0x10], edx
mov dword [eax + 0x14], ecx
mov ecx, esi
call fcn.0040295a
mov ecx, dword [esp + 0x28]
push ebx
push edi
lea edx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x38]
push 0x1000000
push 0x1000
sub esp, 0x18
mov eax, esp
mov dword [eax], ebp
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x5c]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x60]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x64]
mov dword [eax + 0x10], edx
mov dword [eax + 0x14], ecx
mov ecx, esi
call fcn.0040295a
mov ecx, dword [esp + 0x28]
push ebx
push edi
lea edx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x38]
push 0x100000
push 0x1000
sub esp, 0x18
mov eax, esp
mov dword [eax], ebp
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x5c]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x60]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x64]
mov dword [eax + 0x10], edx
mov dword [eax + 0x14], ecx
mov ecx, esi
call fcn.0040295a
push ebx
push edi
mov ecx, dword [esp + 0x30]
lea edx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x38]
push 0x200000
push 0x1000
sub esp, 0x18
mov eax, esp
mov dword [eax], ebp
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x5c]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x60]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x64]
mov dword [eax + 0x10], edx
mov dword [eax + 0x14], ecx
mov ecx, esi
call fcn.0040295a
mov ecx, dword [esp + 0x28]
push ebx
push edi
lea edx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x38]
push 0x400000
push 0x1000
sub esp, 0x18
mov eax, esp
mov dword [eax], ebp
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x5c]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x60]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x64]
mov dword [eax + 0x10], edx
mov dword [eax + 0x14], ecx
mov ecx, esi
call fcn.0040295a
mov ecx, dword [esp + 0x28]
push ebx
push edi
lea edx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x38]
push 0
push 1
sub esp, 0x18
mov eax, esp
mov dword [eax], ebp
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x5c]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x60]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x64]
mov dword [eax + 0x10], edx
mov dword [eax + 0x14], ecx
mov ecx, esi
call fcn.0040295a
cmp edi, 2
mov ecx, dword [esp + 0x28]
push ebx
lea edx, [esp + 0x14]
jne 0x4210d3
push edi
push edx
push 0
jmp 0x4210da
push edi
push edx
push 0x800
mov edx, dword [esp + 0x3c]
push 2
sub esp, 0x18
mov eax, esp
mov dword [eax], ebp
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x5c]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x60]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x64]
mov dword [eax + 0x10], edx
mov dword [eax + 0x14], ecx
mov ecx, esi
call fcn.0040295a
mov ecx, dword [esp + 0x28]
push ebx
push edi
lea edx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x38]
push 0x400
push 2
sub esp, 0x18
mov eax, esp
mov dword [eax], ebp
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x5c]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x60]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x64]
mov dword [eax + 0x10], edx
mov dword [eax + 0x14], ecx
mov ecx, esi
call fcn.0040295a
mov ecx, dword [esp + 0x28]
push ebx
push edi
lea edx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x38]
push 0
push 8
sub esp, 0x18
mov eax, esp
mov dword [eax], ebp
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x5c]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x60]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x64]
mov dword [eax + 0x10], edx
mov dword [eax + 0x14], ecx
mov ecx, esi
call fcn.0040295a
mov ecx, dword [esp + 0x28]
push ebx
push edi
lea edx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x38]
push 0
push 0x10
sub esp, 0x18
mov eax, esp
mov dword [eax], ebp
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x5c]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x60]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x64]
mov dword [eax + 0x10], edx
mov dword [eax + 0x14], ecx
mov ecx, esi
call fcn.0040295a
cmp edi, 1
jne 0x4211cb
test bl, bl
je 0x4211d0
jmp 0x421210
cmp edi, 2
jne 0x42120c
mov ecx, dword [esp + 0x28]
push ebx
push edi
lea edx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x38]
push 0
push 4
sub esp, 0x18
mov eax, esp
mov dword [eax], ebp
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x5c]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x60]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x64]
mov dword [eax + 0x10], edx
mov dword [eax + 0x14], ecx
mov ecx, esi
call fcn.0040295a
test bl, bl
je 0x42124f
mov ecx, dword [esp + 0x28]
push ebx
push edi
lea edx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x38]
push 0
push 0x1000000
sub esp, 0x18
mov eax, esp
mov dword [eax], ebp
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x5c]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x60]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x64]
mov dword [eax + 0x10], edx
mov dword [eax + 0x14], ecx
mov ecx, esi
call fcn.0040295a
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 0xc]
sub eax, dword [ecx + 8]
mov edi, 2
cdq
idiv edi
mov ebp, dword [sym.imp.QtGui4.dll_public:_void___thiscall_QBoxLayout::addWidget_class_QWidget___int__class_QFlags_enum_Qt::AlignmentFlag__]
xor edi, edi
lea ebx, [eax + edx]
test ebx, ebx
jle 0x4212cd
push ecx
mov eax, esp
mov dword [eax], 0
mov edx, dword [esp + 0x14]
mov eax, dword [edx]
cmp eax, 1
mov dword [esp + 0x44], esp
je 0x4212ad
lea ecx, [esp + 0x14]
call dword [sym.imp.QtCore4.dll_public:_struct_QListData::Data____thiscall_QListData::detach2_void_]
mov ecx, eax
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x4212ad
mov ecx, dword [eax]
test ecx, ecx
jne 0x4212ad
push eax
call dword [sym.imp.QtCore4.dll_void___cdecl_qFree_void__]
add esp, 4
mov eax, dword [esp + 0x14]
mov edx, dword [eax + 8]
mov ecx, dword [esi + 0x1c]
add edx, edi
mov eax, dword [eax + edx*4 + 0x14]
push 0
push eax
call ebp
add edi, 1
cmp edi, ebx
jl 0x421270
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx + 0xc]
sub edx, dword [ecx + 8]
cmp edi, edx
jge 0x42133a
push ecx
mov eax, esp
mov dword [eax], 0
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
cmp ecx, 1
mov dword [esp + 0x44], esp
je 0x421314
lea ecx, [esp + 0x14]
call dword [sym.imp.QtCore4.dll_public:_struct_QListData::Data____thiscall_QListData::detach2_void_]
mov edx, eax
or ecx, 0xffffffff
lock xadd dword [edx], ecx
jne 0x421314
mov edx, dword [eax]
test edx, edx
jne 0x421314
push eax
call dword [sym.imp.QtCore4.dll_void___cdecl_qFree_void__]
add esp, 4
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 8]
add ecx, edi
mov edx, dword [eax + ecx*4 + 0x14]
mov ecx, dword [esi + 0x20]
push 0
push edx
call ebp
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 0xc]
sub eax, dword [ecx + 8]
add edi, 1
cmp edi, eax
jl 0x4212d7
mov edx, dword [ecx + 0xc]
sub edx, dword [ecx + 8]
mov ecx, dword [esi + 0x20]
mov edi, dword [esi + 0x1c]
mov dword [esi + 0x14], edx
mov eax, dword [ecx]
mov edx, dword [eax + 0x3c]
call edx
mov ebx, eax
mov eax, dword [edi]
mov edx, dword [eax + 0x3c]
mov ecx, edi
call edx
cmp eax, ebx
jle 0x4213a2
push 0x24
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
mov edi, eax
add esp, 4
mov dword [esp + 0x40], edi
test edi, edi
mov byte [esp + 0x1c], 1
je 0x421390
push 1
push 7
push 0x28
push 0x14
mov ecx, edi
call dword [sym.imp.QtGui4.dll_public:_void___thiscall_QSpacerItem::constructor_int__int__enum_QSizePolicy::Policy__enum_QSizePolicy::Policy_]
mov dword [edi], vtable.QSpacerItem.0
jmp 0x421392
xor edi, edi
mov ecx, dword [esi + 0x20]
mov eax, dword [ecx]
mov edx, dword [eax + 0x2c]
push edi
mov byte [esp + 0x20], 0
call edx
mov eax, dword [esp + 0x10]
or ecx, 0xffffffff
test eax, eax
mov dword [esi + 0x28], ecx
mov dword [esp + 0x1c], ecx
je 0x4213d2
lock xadd dword [eax], ecx
jne 0x4213d2
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
test ecx, ecx
jne 0x4213d2
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.QtCore4.dll_void___cdecl_qFree_void__]
add esp, 4
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x10
ret 0x20