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

Disassembly:
push 0xffffffffffffffff
push 0x41bbba
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4be5d0]
xor eax, esp
push eax
lea eax, [esp + 0x64]
mov dword fs:[0], eax
mov ebp, ecx
xor esi, esi
mov dword [esp + 0x1c], esi
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x78]
mov dword [esp + 0x70], esi
call dword [sym.imp.QL_Xml.dll_public:_class_QDomNode___thiscall_QDomNode::firstChild_void_]
push esi
push 0x41ee9a
mov byte [esp + 0x74], 1
call dword [sym.imp.QL_Core.dll_private:_static_struct_QTypedArrayData_unsigned_short_int_____cdecl_QString::fromAscii_helper_char_const___int_]
add esp, 8
mov dword [esp + 0x20], eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x6c], 2
call dword [sym.imp.QL_Xml.dll_public:_bool___thiscall_QDomNode::isNull_void_const]
test al, al
jne 0x40d3ff
lea ecx, [esp + 0x18]
call dword [sym.imp.QL_Xml.dll_public:_bool___thiscall_QDomNode::hasChildNodes_void_const]
test al, al
je 0x40d3bf
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x1c]
call dword [sym.imp.QL_Xml.dll_public:_class_QDomElement___thiscall_QDomNode::toElement_void_]
mov edi, dword [sym.imp.QL_Xml.dll_public:_class_QString___thiscall_QDomElement::text_void_]
lea edx, [esp + 0x28]
push edx
mov ecx, eax
mov byte [esp + 0x70], 3
call edi
push eax
lea ecx, [esp + 0x24]
call dword [sym.imp.QL_Core.dll_public:_class_QString____thiscall_QString::operator_class_QString__]
lea ecx, [esp + 0x28]
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x2c]
mov byte [esp + 0x6c], 2
call dword [sym.imp.QL_Xml.dll_public:_void___thiscall_QDomNode::destructor_void_]
mov esi, dword [sym.imp.QL_Xml.dll_public:_class_QString___thiscall_QDomNode::nodeName_void_]
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x1c]
call esi
push str.Version
mov ecx, eax
mov byte [esp + 0x70], 4
call dword [sym.imp.QL_Core.dll_public:_bool___thiscall_QString::operator_char_const__const]
lea ecx, [esp + 0x30]
mov bl, al
mov byte [esp + 0x6c], 2
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QString::destructor_void_]
test bl, bl
je 0x40d131
cmp byte [esp + 0x78], 0
je 0x40d123
lea ecx, [esp + 0x20]
push ecx
lea ecx, [ebp + 0x40]
jmp 0x40d12b
lea edx, [esp + 0x20]
push edx
lea ecx, [ebp + 0x44]
call dword [sym.imp.QL_Core.dll_public:_class_QString____thiscall_QString::operator_class_QString_const__]
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x1c]
call esi
or dword [esp + 0x1c], 1
push str.UpdateInProgress
mov ecx, eax
mov byte [esp + 0x70], 5
call dword [sym.imp.QL_Core.dll_public:_bool___thiscall_QString::operator_char_const__const]
test al, al
je 0x40d162
cmp byte [esp + 0x78], 0
jne 0x40d162
mov bl, 1
jmp 0x40d164
xor bl, bl
test byte [esp + 0x1c], 1
mov dword [esp + 0x6c], 2
je 0x40d182
and dword [esp + 0x1c], 0xfffffffe
lea ecx, [esp + 0x34]
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QString::destructor_void_]
test bl, bl
je 0x40d1a6
push 0x41f0d4
lea ecx, [esp + 0x24]
call dword [sym.imp.QL_Core.dll_public:_bool___thiscall_QString::operator_char_const__const]
test al, al
je 0x40d3bf
mov byte [ebp + 0x21], 1
jmp 0x40d3bf
lea ecx, [esp + 0x38]
push ecx
lea ecx, [esp + 0x1c]
call esi
push str.Date
mov ecx, eax
mov byte [esp + 0x70], 6
call dword [sym.imp.QL_Core.dll_public:_bool___thiscall_QString::operator_char_const__const]
lea ecx, [esp + 0x38]
mov bl, al
mov byte [esp + 0x6c], 2
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QString::destructor_void_]
test bl, bl
je 0x40d23a
push 6
push str.ddMMyy
call dword [sym.imp.QL_Core.dll_private:_static_struct_QTypedArrayData_unsigned_short_int_____cdecl_QString::fromAscii_helper_char_const___int_]
mov dword [esp + 0x2c], eax
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x6c]
push ecx
mov byte [esp + 0x80], 7
call dword [sym.imp.QL_Core.dll_public:_static_class_QDate___cdecl_QDate::fromString_class_QString_const___class_QString_const__]
mov esi, dword [eax]
mov edi, dword [eax + 4]
add esp, 0x14
lea ecx, [esp + 0x24]
mov byte [esp + 0x6c], 2
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QString::destructor_void_]
cmp byte [esp + 0x78], 0
je 0x40d22f
mov dword [ebp + 0x30], esi
mov dword [ebp + 0x34], edi
jmp 0x40d3bf
mov dword [ebp + 0x38], esi
mov dword [ebp + 0x3c], edi
jmp 0x40d3bf
lea edx, [esp + 0x3c]
push edx
lea ecx, [esp + 0x1c]
call esi
mov ebx, dword [esp + 0x1c]
or ebx, 2
push str.NotUpdatedFile
mov ecx, eax
mov byte [esp + 0x70], 8
mov dword [esp + 0x20], ebx
call dword [sym.imp.QL_Core.dll_public:_bool___thiscall_QString::operator_char_const__const]
test al, al
je 0x40d272
cmp byte [esp + 0x78], 0
mov byte [esp + 0x17], 1
je 0x40d277
mov byte [esp + 0x17], 0
mov dword [esp + 0x6c], 2
test bl, 2
je 0x40d295
and ebx, 0xfffffffd
lea ecx, [esp + 0x3c]
mov dword [esp + 0x1c], ebx
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QString::destructor_void_]
cmp byte [esp + 0x17], 0
lea ecx, [esp + 0x18]
je 0x40d2ea
lea eax, [esp + 0x44]
push eax
call dword [sym.imp.QL_Xml.dll_public:_class_QDomElement___thiscall_QDomNode::toElement_void_]
lea ecx, [esp + 0x40]
push ecx
mov ecx, eax
mov byte [esp + 0x70], 9
call edi
push eax
lea ecx, [ebp + 0x5c]
mov byte [esp + 0x70], 0xa
call fcn.0040c330
lea ecx, [esp + 0x40]
mov byte [esp + 0x6c], 9
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x44]
mov byte [esp + 0x6c], 2
call dword [sym.imp.QL_Xml.dll_public:_void___thiscall_QDomNode::destructor_void_]
jmp 0x40d3bf
lea edx, [esp + 0x48]
push edx
call esi
or ebx, 4
push str.Notes
mov ecx, eax
mov byte [esp + 0x70], 0xb
mov dword [esp + 0x20], ebx
call dword [sym.imp.QL_Core.dll_public:_bool___thiscall_QString::operator_char_const__const]
test al, al
je 0x40d31a
cmp byte [esp + 0x78], 0
mov byte [esp + 0x17], 1
je 0x40d31f
mov byte [esp + 0x17], 0
mov dword [esp + 0x6c], 2
test bl, 4
je 0x40d33d
and ebx, 0xfffffffb
lea ecx, [esp + 0x48]
mov dword [esp + 0x1c], ebx
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QString::destructor_void_]
cmp byte [esp + 0x17], 0
je 0x40d3a1
mov eax, dword [ebp + 0x70]
mov ecx, dword [eax + 0xc]
push 1
call dword [sym.imp.QL_Widgets.dll_public:_void___thiscall_QTextBrowser::setOpenExternalLinks_bool_]
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x1c]
call dword [sym.imp.QL_Xml.dll_public:_class_QDomElement___thiscall_QDomNode::toElement_void_]
lea edx, [esp + 0x4c]
push edx
mov ecx, eax
mov byte [esp + 0x70], 0xc
call edi
push eax
mov eax, dword [ebp + 0x70]
mov ecx, dword [eax + 0xc]
mov byte [esp + 0x70], 0xd
call dword [sym.imp.QL_Widgets.dll_public:_void___thiscall_QTextEdit::setHtml_class_QString_const__]
lea ecx, [esp + 0x4c]
mov byte [esp + 0x6c], 0xc
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x50]
mov byte [esp + 0x6c], 2
call dword [sym.imp.QL_Xml.dll_public:_void___thiscall_QDomNode::destructor_void_]
jmp 0x40d3bf
mov ecx, dword [esp + 0x78]
push ecx
push ecx
lea edx, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x60], esp
push edx
call dword [sym.imp.QL_Xml.dll_public:_void___thiscall_QDomNode::constructor_class_QDomNode_const__]
mov ecx, ebp
call fcn.0040d010
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x1c]
call dword [sym.imp.QL_Xml.dll_public:_class_QDomNode___thiscall_QDomNode::nextSibling_void_]
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x70], 0xe
call dword [sym.imp.QL_Xml.dll_public:_class_QDomNode____thiscall_QDomNode::operator_class_QDomNode_const__]
lea ecx, [esp + 0x54]
mov byte [esp + 0x6c], 2
call dword [sym.imp.QL_Xml.dll_public:_void___thiscall_QDomNode::destructor_void_]
lea ecx, [esp + 0x18]
call dword [sym.imp.QL_Xml.dll_public:_bool___thiscall_QDomNode::isNull_void_const]
test al, al
je 0x40d081
lea ecx, [esp + 0x20]
mov byte [esp + 0x6c], 1
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QString::destructor_void_]
mov esi, dword [sym.imp.QL_Xml.dll_public:_void___thiscall_QDomNode::destructor_void_]
lea ecx, [esp + 0x18]
mov byte [esp + 0x6c], 0
call esi
lea ecx, [esp + 0x74]
mov dword [esp + 0x6c], 0xffffffff
call esi
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret 8