Function at 0x403f40
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49baf7
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x4fb00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
push 0
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QObject::constructor_class_QObject__]
mov dword [ebp - 4], 0
mov dword [esi], vtable.CliModel.0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], 0
mov dword [esi + 0x54], 0
mov byte [ebp - 4], 0xa
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x404025
push ebx
call dword [sym.imp.Qt5Core.dll_public:_static_struct_QtSharedPointer::ExternalRefCountData____cdecl_QtSharedPointer::ExternalRefCountData::getAndRef_class_QObject_const__]
add esp, 4
jmp 0x404027
xor eax, eax
mov ecx, dword [esi + 0x50]
or edi, 0xffffffff
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], ebx
test ecx, ecx
je 0x40404a
mov eax, edi
lock xadd dword [ecx], eax
add eax, edi
jne 0x40404a
push ecx
call fcn.004995df
add esp, 4
lea eax, [ebp - 0x18]
mov ecx, ebx
push eax
mov eax, dword [ebx]
call dword [eax + 0x84]
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [esi + 8]
mov dword [esi + 8], edx
mov dword [ebp + 8], eax
mov dword [esi + 0xc], ecx
test eax, eax
je 0x404091
mov ecx, dword [ebp + 8]
mov eax, edi
lock xadd dword [ecx], eax
add eax, 0xffffffff
jne 0x404091
push ecx
call fcn.004995df
add esp, 4
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x4040b3
mov eax, edi
lock xadd dword [ecx], eax
add eax, 0xffffffff
jne 0x4040b3
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x4040b3
push eax
call fcn.004995df
add esp, 4
lea eax, [ebp - 0x18]
mov ecx, ebx
push eax
mov eax, dword [ebx]
call dword [eax + 0x80]
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [esi + 0x10]
mov dword [esi + 0x10], edx
mov dword [ebp + 8], eax
mov dword [esi + 0x14], ecx
test eax, eax
je 0x4040fa
mov ecx, dword [ebp + 8]
mov eax, edi
lock xadd dword [ecx], eax
add eax, 0xffffffff
jne 0x4040fa
push ecx
call fcn.004995df
add esp, 4
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x40411c
mov eax, edi
lock xadd dword [ecx], eax
add eax, 0xffffffff
jne 0x40411c
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x40411c
push eax
call fcn.004995df
add esp, 4
lea eax, [ebp - 0x18]
mov ecx, ebx
push eax
mov eax, dword [ebx]
call dword [eax + 0x78]
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [esi + 0x18]
mov dword [esi + 0x18], edx
mov dword [ebp + 8], eax
mov dword [esi + 0x1c], ecx
test eax, eax
je 0x404160
mov ecx, dword [ebp + 8]
mov eax, edi
lock xadd dword [ecx], eax
add eax, 0xffffffff
jne 0x404160
push ecx
call fcn.004995df
add esp, 4
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x404182
mov eax, edi
lock xadd dword [ecx], eax
add eax, 0xffffffff
jne 0x404182
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x404182
push eax
call fcn.004995df
add esp, 4
lea eax, [ebp - 0x18]
mov ecx, ebx
push eax
mov eax, dword [ebx]
call dword [eax + 0x90]
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [esi + 0x20]
mov dword [esi + 0x20], edx
mov dword [ebp + 8], eax
mov dword [esi + 0x24], ecx
test eax, eax
je 0x4041c9
mov ecx, dword [ebp + 8]
mov eax, edi
lock xadd dword [ecx], eax
add eax, 0xffffffff
jne 0x4041c9
push ecx
call fcn.004995df
add esp, 4
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x4041eb
mov eax, edi
lock xadd dword [ecx], eax
add eax, 0xffffffff
jne 0x4041eb
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x4041eb
push eax
call fcn.004995df
add esp, 4
lea eax, [ebp - 0x18]
mov ecx, ebx
push eax
mov eax, dword [ebx]
call dword [eax + 0x60]
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [esi + 0x28]
mov dword [esi + 0x28], edx
mov dword [ebp + 8], eax
mov dword [esi + 0x2c], ecx
test eax, eax
je 0x40422f
mov ecx, dword [ebp + 8]
mov eax, edi
lock xadd dword [ecx], eax
add eax, 0xffffffff
jne 0x40422f
push ecx
call fcn.004995df
add esp, 4
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x404251
mov eax, edi
lock xadd dword [ecx], eax
add eax, 0xffffffff
jne 0x404251
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x404251
push eax
call fcn.004995df
add esp, 4
lea eax, [ebp - 0x18]
mov ecx, ebx
push eax
mov eax, dword [ebx]
call dword [eax + 0x64]
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [esi + 0x30]
mov dword [esi + 0x30], edx
mov dword [ebp + 8], eax
mov dword [esi + 0x34], ecx
test eax, eax
je 0x404295
mov ecx, dword [ebp + 8]
mov eax, edi
lock xadd dword [ecx], eax
add eax, 0xffffffff
jne 0x404295
push ecx
call fcn.004995df
add esp, 4
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x4042b7
mov eax, edi
lock xadd dword [ecx], eax
add eax, 0xffffffff
jne 0x4042b7
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x4042b7
push eax
call fcn.004995df
add esp, 4
lea eax, [ebp - 0x18]
mov ecx, ebx
push eax
mov eax, dword [ebx]
call dword [eax + 0x88]
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [esi + 0x38]
mov dword [esi + 0x38], edx
mov dword [ebp + 8], eax
mov dword [esi + 0x3c], ecx
test eax, eax
je 0x4042fe
mov ecx, dword [ebp + 8]
mov eax, edi
lock xadd dword [ecx], eax
add eax, 0xffffffff
jne 0x4042fe
push ecx
call fcn.004995df
add esp, 4
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x404320
mov eax, edi
lock xadd dword [ecx], eax
add eax, 0xffffffff
jne 0x404320
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x404320
push eax
call fcn.004995df
add esp, 4
lea eax, [ebp - 0x18]
mov ecx, ebx
push eax
mov eax, dword [ebx]
call dword [eax + 0x70]
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [esi + 0x40]
mov dword [esi + 0x40], edx
mov dword [ebp + 8], eax
mov dword [esi + 0x44], ecx
test eax, eax
je 0x404364
mov ecx, dword [ebp + 8]
mov eax, edi
lock xadd dword [ecx], eax
add eax, 0xffffffff
jne 0x404364
push ecx
call fcn.004995df
add esp, 4
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x404386
mov eax, edi
lock xadd dword [ecx], eax
add eax, 0xffffffff
jne 0x404386
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x404386
push eax
call fcn.004995df
add esp, 4
lea eax, [ebp - 0x18]
mov ecx, ebx
push eax
mov eax, dword [ebx]
call dword [eax + 0x94]
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [eax], 0
mov dword [eax + 4], 0
mov ebx, dword [esi + 0x48]
mov dword [esi + 0x48], edx
mov dword [esi + 0x4c], ecx
test ebx, ebx
je 0x4043c7
mov eax, edi
lock xadd dword [ebx], eax
add eax, 0xffffffff
jne 0x4043c7
push ebx
call fcn.004995df
add esp, 4
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x4043e9
lock xadd dword [eax], edi
lea eax, [edi - 1]
test eax, eax
jne 0x4043e9
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x4043e9
push eax
call fcn.004995df
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8