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

Disassembly:
push 0xffffffffffffffff
push 0x521021
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5ac54c]
xor eax, esp
push eax
lea eax, [esp + 0x6c]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [esp + 0x7c]
lea eax, [esp + 0x34]
xor ebx, ebx
push eax
mov ecx, edi
mov dword [esp + 0x18], ebx
call dword [sym.imp.QtXml4.dll_public:_class_QXmlStreamAttributes___thiscall_QXmlStreamReader::attributes_void_]
push eax
lea ecx, [esp + 0x60]
push ecx
mov dword [esp + 0x7c], ebx
call fcn.004d6730
add esp, 8
mov byte [esp + 0x74], 2
lea ecx, [esp + 0x34]
call dword [sym.imp.QtXml4.dll_public:_void___thiscall_QVector_class_QXmlStreamAttribute_::destructor_void_]
mov eax, dword [esp + 0x60]
mov edx, eax
inc eax
mov dword [esp + 0x60], eax
test edx, edx
jne 0x4d9ede
mov eax, dword [esp + 0x64]
cmp eax, dword [esp + 0x68]
je 0x4d9ede
mov bl, 1
jmp 0x4d9ee0
xor bl, bl
test byte [esp + 0x14], 2
je 0x4d9ef6
and dword [esp + 0x14], 0xfffffffd
lea ecx, [esp + 0x40]
call dword [sym.imp.QtXml4.dll_public:_void___thiscall_QVector_class_QXmlStreamAttribute_::destructor_void_]
test bl, bl
je 0x4da0b6
test byte [esp + 0x14], 4
mov ebx, dword [esp + 0x64]
je 0x4d9f18
and dword [esp + 0x14], 0xfffffffb
lea ecx, [esp + 0x3c]
call dword [sym.imp.QtXml4.dll_public:_void___thiscall_QVector_class_QXmlStreamAttribute_::destructor_void_]
test byte [esp + 0x14], 0x10
mov ebp, dword [esp + 0x60]
je 0x4d9f32
and dword [esp + 0x14], 0xffffffef
lea ecx, [esp + 0x38]
call dword [sym.imp.QtXml4.dll_public:_void___thiscall_QVector_class_QXmlStreamAttribute_::destructor_void_]
test ebp, ebp
je 0x4da098
lea ecx, [esp + 0x44]
push ecx
mov ecx, ebx
call dword [sym.imp.QtXml4.dll_public:_class_QStringRef___thiscall_QXmlStreamAttribute::name_void_]
lea edx, [esp + 0x44]
push edx
lea eax, [esp + 0x34]
push eax
mov byte [esp + 0x7c], 3
mov dword [esp + 0x38], str.alpha
call dword [sym.imp.QtCore4.dll_bool___cdecl_operator_class_QLatin1String_const___class_QStringRef_const__]
add esp, 8
test al, al
je 0x4d9fc8
lea ecx, [esp + 0x50]
push ecx
mov ecx, ebx
call dword [sym.imp.QtXml4.dll_public:_class_QStringRef___thiscall_QXmlStreamAttribute::value_void_]
lea edx, [esp + 0x18]
push edx
mov ecx, eax
mov byte [esp + 0x78], 4
call dword [sym.imp.QtCore4.dll_public:_class_QString___thiscall_QStringRef::toString_void_]
push 0xa
push 0
mov ecx, eax
mov byte [esp + 0x7c], 5
call dword [sym.imp.QtCore4.dll_public:_int___thiscall_QString::toInt_bool___int_const]
mov dword [esi + 4], eax
mov eax, dword [esp + 0x18]
mov byte [esi + 8], 1
mov byte [esp + 0x74], 4
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4da076
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.QtCore4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__]
jmp 0x4da073
push 0xffffffffffffffff
push str.Unexpected_attribute
call dword [sym.imp.QtCore4.dll_private:_static_struct_QString::Data____cdecl_QString::fromLatin1_helper_char_const___int_]
add esp, 8
mov dword [esp + 0x7c], eax
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x48]
mov byte [esp + 0x78], 6
call dword [sym.imp.QtCore4.dll_public:_class_QString___thiscall_QStringRef::toString_void_]
push eax
lea ecx, [esp + 0x80]
push ecx
lea edx, [esp + 0x24]
push edx
mov byte [esp + 0x80], 7
call fcn.00401000
add esp, 0xc
push eax
mov ecx, edi
mov byte [esp + 0x78], 8
call dword [sym.imp.QtXml4.dll_public:_void___thiscall_QXmlStreamReader::raiseError_class_QString_const__]
mov eax, dword [esp + 0x1c]
mov ebp, dword [sym.imp.QtCore4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__]
mov byte [esp + 0x74], 7
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4da03e
mov edx, dword [esp + 0x1c]
push edx
call ebp
add esp, 4
mov eax, dword [esp + 0x20]
mov byte [esp + 0x74], 6
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4da05a
mov edx, dword [esp + 0x20]
push edx
call ebp
add esp, 4
mov eax, dword [esp + 0x7c]
mov byte [esp + 0x74], 3
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4da076
mov edx, dword [esp + 0x7c]
push edx
call ebp
add esp, 4
dec dword [esp + 0x60]
test byte [esp + 0x14], 8
mov byte [esp + 0x74], 2
je 0x4d9f18
and dword [esp + 0x14], 0xfffffff7
lea ecx, [esp + 0x2c]
jmp 0x4d9f12
add dword [esp + 0x64], 0x38
test byte [esp + 0x14], 1
je 0x4d9ec1
and dword [esp + 0x14], 0xfffffffe
lea ecx, [esp + 0x28]
jmp 0x4d9ebb
lea ecx, [esp + 0x5c]
mov dword [esp + 0x74], 0xffffffff
call dword [sym.imp.QtXml4.dll_public:_void___thiscall_QVector_class_QXmlStreamAttribute_::destructor_void_]
mov ebp, dword [sym.imp.QtXml4.dll_public:_class_QString___thiscall_QXmlStreamReader::readElementText_void_]
mov bl, 0xd
mov ecx, edi
call dword [sym.imp.QtXml4.dll_public:_enum_QXmlStreamReader::Error___thiscall_QXmlStreamReader::error_void_]
test eax, eax
jne 0x4da3d6
mov ecx, edi
call dword [sym.imp.QtXml4.dll_public:_enum_QXmlStreamReader::TokenType___thiscall_QXmlStreamReader::readNext_void_]
sub eax, 4
je 0x4da164
sub eax, 1
je 0x4da3d6
sub eax, 1
jne 0x4da0d0
mov ecx, edi
call dword [sym.imp.QtXml4.dll_public:_bool___thiscall_QXmlStreamReader::isWhitespace_void_const]
test al, al
jne 0x4da0d0
lea eax, [esp + 0x50]
push eax
mov ecx, edi
call dword [sym.imp.QtXml4.dll_public:_class_QStringRef___thiscall_QXmlStreamReader::text_void_]
lea ecx, [esp + 0x20]
push ecx
mov ecx, eax
mov dword [esp + 0x78], 0x13
call dword [sym.imp.QtCore4.dll_public:_class_QString___thiscall_QStringRef::toString_void_]
push eax
mov ecx, esi
mov byte [esp + 0x78], 0x14
call dword [sym.imp.QtCore4.dll_public:_class_QString____thiscall_QString::append_class_QString_const__]
mov edx, dword [esp + 0x20]
mov byte [esp + 0x74], 0x13
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x4da157
mov ecx, dword [esp + 0x20]
push ecx
call dword [sym.imp.QtCore4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__]
add esp, 4
mov dword [esp + 0x74], 0xffffffff
jmp 0x4da0d0
lea edx, [esp + 0x44]
push edx
mov ecx, edi
call dword [sym.imp.QtXml4.dll_public:_class_QStringRef___thiscall_QXmlStreamReader::name_void_]
lea ecx, [esp + 0x1c]
push ecx
mov ecx, eax
mov dword [esp + 0x78], 9
call dword [sym.imp.QtCore4.dll_public:_class_QString___thiscall_QStringRef::toString_void_]
lea edx, [esp + 0x7c]
push edx
mov ecx, eax
mov byte [esp + 0x78], 0xa
call dword [sym.imp.QtCore4.dll_public:_class_QString___thiscall_QString::toLower_void_]
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x74], 0xc
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4da1b8
mov edx, dword [esp + 0x1c]
push edx
call dword [sym.imp.QtCore4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__]
add esp, 4
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x80]
mov byte [esp + 0x78], bl
mov dword [esp + 0x3c], 0x54dbc8
call dword [sym.imp.QtCore4.dll_public:_bool___thiscall_QString::operator_class_QLatin1String_const__const]
test al, al
je 0x4da246
lea ecx, [esp + 0x24]
push ecx
mov ecx, edi
call ebp
push 0xa
push 0
mov ecx, eax
mov byte [esp + 0x7c], 0xe
call dword [sym.imp.QtCore4.dll_public:_int___thiscall_QString::toInt_bool___int_const]
or dword [esi + 0xc], 1
mov edx, dword [esp + 0x24]
mov dword [esi + 0x10], eax
mov byte [esp + 0x74], bl
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x4da21a
mov ecx, dword [esp + 0x24]
push ecx
call dword [sym.imp.QtCore4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__]
add esp, 4
mov edx, dword [esp + 0x7c]
mov dword [esp + 0x74], 0xffffffff
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x4da0d0
mov ecx, dword [esp + 0x7c]
push ecx
call dword [sym.imp.QtCore4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__]
add esp, 4
jmp 0x4da0d0
lea edx, [esp + 0x3c]
push edx
lea ecx, [esp + 0x80]
mov dword [esp + 0x40], str.green
call dword [sym.imp.QtCore4.dll_public:_bool___thiscall_QString::operator_class_QLatin1String_const__const]
test al, al
je 0x4da2d0
lea eax, [esp + 0x28]
push eax
mov ecx, edi
call ebp
push 0xa
push 0
mov ecx, eax
mov byte [esp + 0x7c], 0xf
call dword [sym.imp.QtCore4.dll_public:_int___thiscall_QString::toInt_bool___int_const]
or dword [esi + 0xc], 2
mov ecx, dword [esp + 0x28]
mov dword [esi + 0x14], eax
mov byte [esp + 0x74], bl
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x4da2a4
mov eax, dword [esp + 0x28]
push eax
call dword [sym.imp.QtCore4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__]
add esp, 4
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x74], 0xffffffff
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x4da0d0
mov eax, dword [esp + 0x7c]
push eax
call dword [sym.imp.QtCore4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__]
add esp, 4
jmp 0x4da0d0
lea ecx, [esp + 0x40]
push ecx
lea ecx, [esp + 0x80]
mov dword [esp + 0x44], str.blue
call dword [sym.imp.QtCore4.dll_public:_bool___thiscall_QString::operator_class_QLatin1String_const__const]
test al, al
je 0x4da32a
lea edx, [esp + 0x2c]
push edx
mov ecx, edi
call ebp
push 0xa
push 0
mov ecx, eax
mov byte [esp + 0x7c], 0x10
call dword [sym.imp.QtCore4.dll_public:_int___thiscall_QString::toInt_bool___int_const]
or dword [esi + 0xc], 4
mov dword [esi + 0x18], eax
mov eax, dword [esp + 0x2c]
mov byte [esp + 0x74], bl
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4da3aa
mov edx, dword [esp + 0x2c]
jmp 0x4da3a0
push 0xffffffffffffffff
push str.Unexpected_element
call dword [sym.imp.QtCore4.dll_private:_static_struct_QString::Data____cdecl_QString::fromLatin1_helper_char_const___int_]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x84]
push eax
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x40]
push edx
mov byte [esp + 0x88], 0x11
call fcn.00401000
add esp, 0x14
push eax
mov ecx, edi
mov byte [esp + 0x78], 0x12
call dword [sym.imp.QtXml4.dll_public:_void___thiscall_QXmlStreamReader::raiseError_class_QString_const__]
mov eax, dword [esp + 0x30]
mov byte [esp + 0x74], 0x11
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4da38b
mov edx, dword [esp + 0x30]
push edx
call dword [sym.imp.QtCore4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__]
add esp, 4
mov eax, dword [esp + 0x18]
mov byte [esp + 0x74], bl
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4da3aa
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.QtCore4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__]
add esp, 4
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x74], 0xffffffff
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4da0d0
mov edx, dword [esp + 0x7c]
push edx
call dword [sym.imp.QtCore4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__]
add esp, 4
jmp 0x4da0d0
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret 4