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

Disassembly:
push 0xffffffffffffffff
push 0x5240f6
mov eax, dword fs:[0]
push eax
sub esp, 0x54
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5ac54c]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov dword [esp + 0x14], ecx
xor ebx, ebx
mov dword [esp + 0x28], ebx
mov ebp, dword [esp + 0x78]
lea eax, [esp + 0x28]
push eax
mov ecx, ebp
call dword [sym.imp.QtXml4.dll_public:_class_QXmlStreamAttributes___thiscall_QXmlStreamReader::attributes_void_]
push eax
lea ecx, [esp + 0x5c]
push ecx
mov dword [esp + 0x78], ebx
call fcn.004d6730
add esp, 8
mov byte [esp + 0x70], 2
lea ecx, [esp + 0x28]
call dword [sym.imp.QtXml4.dll_public:_void___thiscall_QVector_class_QXmlStreamAttribute_::destructor_void_]
mov eax, dword [esp + 0x5c]
mov edx, eax
inc eax
mov dword [esp + 0x5c], eax
test edx, edx
jne 0x4ee9a1
mov eax, dword [esp + 0x60]
mov byte [esp + 0x78], 1
cmp eax, dword [esp + 0x64]
jne 0x4ee9a6
mov byte [esp + 0x78], 0
test bl, 2
je 0x4ee9b8
lea ecx, [esp + 0x34]
and ebx, 0xfffffffd
call dword [sym.imp.QtXml4.dll_public:_void___thiscall_QVector_class_QXmlStreamAttribute_::destructor_void_]
cmp byte [esp + 0x78], 0
je 0x4eeb6e
mov edi, dword [esp + 0x60]
test bl, 4
je 0x4ee9e0
and ebx, 0xfffffffb
lea ecx, [esp + 0x30]
call dword [sym.imp.QtXml4.dll_public:_void___thiscall_QVector_class_QXmlStreamAttribute_::destructor_void_]
lea esp, [esp]
mov esi, dword [esp + 0x5c]
test bl, 0x10
je 0x4ee9f6
lea ecx, [esp + 0x2c]
and ebx, 0xffffffef
call dword [sym.imp.QtXml4.dll_public:_void___thiscall_QVector_class_QXmlStreamAttribute_::destructor_void_]
test esi, esi
je 0x4eeb54
lea ecx, [esp + 0x40]
push ecx
mov ecx, edi
call dword [sym.imp.QtXml4.dll_public:_class_QStringRef___thiscall_QXmlStreamAttribute::name_void_]
lea edx, [esp + 0x40]
push edx
lea eax, [esp + 0x7c]
push eax
mov byte [esp + 0x78], 3
mov dword [esp + 0x80], str.brushstyle
call dword [sym.imp.QtCore4.dll_bool___cdecl_operator_class_QLatin1String_const___class_QStringRef_const__]
add esp, 8
test al, al
je 0x4eea8e
lea ecx, [esp + 0x4c]
push ecx
mov ecx, edi
call dword [sym.imp.QtXml4.dll_public:_class_QStringRef___thiscall_QXmlStreamAttribute::value_void_]
lea edx, [esp + 0x1c]
push edx
mov ecx, eax
mov byte [esp + 0x74], 4
call dword [sym.imp.QtCore4.dll_public:_class_QString___thiscall_QStringRef::toString_void_]
mov esi, dword [esp + 0x14]
push eax
lea ecx, [esi + 4]
mov byte [esp + 0x74], 5
call dword [sym.imp.QtCore4.dll_public:_class_QString____thiscall_QString::operator_class_QString_const__]
mov eax, dword [esp + 0x1c]
mov byte [esi + 8], 1
mov byte [esp + 0x70], 4
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4eeb36
mov edx, dword [esp + 0x1c]
push edx
call dword [sym.imp.QtCore4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__]
jmp 0x4eeb33
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 + 0x18], eax
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x44]
mov byte [esp + 0x74], 6
call dword [sym.imp.QtCore4.dll_public:_class_QString___thiscall_QStringRef::toString_void_]
push eax
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x28]
push edx
mov byte [esp + 0x7c], 7
call fcn.00401000
add esp, 0xc
push eax
mov ecx, ebp
mov byte [esp + 0x74], 8
call dword [sym.imp.QtXml4.dll_public:_void___thiscall_QXmlStreamReader::raiseError_class_QString_const__]
mov eax, dword [esp + 0x20]
mov esi, dword [sym.imp.QtCore4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__]
mov byte [esp + 0x70], 7
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4eeafe
mov edx, dword [esp + 0x20]
push edx
call esi
add esp, 4
mov eax, dword [esp + 0x24]
mov byte [esp + 0x70], 6
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4eeb1a
mov edx, dword [esp + 0x24]
push edx
call esi
add esp, 4
mov eax, dword [esp + 0x18]
mov byte [esp + 0x70], 3
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4eeb36
mov edx, dword [esp + 0x18]
push edx
call esi
add esp, 4
dec dword [esp + 0x5c]
mov byte [esp + 0x70], 2
test bl, 8
je 0x4ee9e0
and ebx, 0xfffffff7
lea ecx, [esp + 0x38]
jmp 0x4ee9d3
add dword [esp + 0x60], 0x38
test bl, 1
je 0x4ee983
and ebx, 0xfffffffe
lea ecx, [esp + 0x3c]
jmp 0x4ee97d
or edi, 0xffffffff
lea ecx, [esp + 0x58]
mov dword [esp + 0x70], edi
call dword [sym.imp.QtXml4.dll_public:_void___thiscall_QVector_class_QXmlStreamAttribute_::destructor_void_]
mov ebx, dword [sym.imp.QtCore4.dll_public:_class_QString___thiscall_QString::toLower_void_]
mov ecx, ebp
call dword [sym.imp.QtXml4.dll_public:_enum_QXmlStreamReader::Error___thiscall_QXmlStreamReader::error_void_]
test eax, eax
jne 0x4eee54
mov ecx, ebp
call dword [sym.imp.QtXml4.dll_public:_enum_QXmlStreamReader::TokenType___thiscall_QXmlStreamReader::readNext_void_]
sub eax, 4
je 0x4eec16
sub eax, 1
je 0x4eee54
sub eax, 1
jne 0x4eeb85
mov ecx, ebp
call dword [sym.imp.QtXml4.dll_public:_bool___thiscall_QXmlStreamReader::isWhitespace_void_const]
test al, al
jne 0x4eeb85
lea eax, [esp + 0x4c]
push eax
mov ecx, ebp
call dword [sym.imp.QtXml4.dll_public:_class_QStringRef___thiscall_QXmlStreamReader::text_void_]
lea ecx, [esp + 0x24]
push ecx
mov ecx, eax
mov dword [esp + 0x74], 0x10
call dword [sym.imp.QtCore4.dll_public:_class_QString___thiscall_QStringRef::toString_void_]
mov ecx, dword [esp + 0x14]
push eax
mov byte [esp + 0x74], 0x11
call dword [sym.imp.QtCore4.dll_public:_class_QString____thiscall_QString::append_class_QString_const__]
mov edx, dword [esp + 0x24]
mov byte [esp + 0x70], 0x10
mov eax, edi
lock xadd dword [edx], eax
jne 0x4eec0d
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 dword [esp + 0x70], edi
jmp 0x4eeb85
lea edx, [esp + 0x40]
push edx
mov ecx, ebp
call dword [sym.imp.QtXml4.dll_public:_class_QStringRef___thiscall_QXmlStreamReader::name_void_]
lea ecx, [esp + 0x20]
push ecx
mov ecx, eax
mov dword [esp + 0x74], 9
call dword [sym.imp.QtCore4.dll_public:_class_QString___thiscall_QStringRef::toString_void_]
lea edx, [esp + 0x78]
push edx
mov ecx, eax
mov byte [esp + 0x74], 0xa
call ebx
mov eax, dword [esp + 0x20]
mov esi, dword [sym.imp.QtCore4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__]
mov byte [esp + 0x70], 0xc
mov ecx, edi
lock xadd dword [eax], ecx
jne 0x4eec67
mov edx, dword [esp + 0x20]
push edx
call esi
add esp, 4
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x7c]
mov byte [esp + 0x74], 0xd
mov dword [esp + 0x30], str.color
call dword [sym.imp.QtCore4.dll_public:_bool___thiscall_QString::operator_class_QLatin1String_const__const]
test al, al
je 0x4eecf8
push 0x1c
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
xor esi, esi
add esp, 4
cmp eax, esi
je 0x4eecbf
mov ecx, dword [sym.imp.QtCore4.dll_struct_QString::Data_QString::shared_null]
mov dword [eax], ecx
mov edx, ecx
mov ecx, 1
lock xadd dword [edx], ecx
mov dword [eax + 0xc], esi
mov dword [eax + 4], esi
mov dword [eax + 0x10], esi
mov dword [eax + 0x14], esi
mov dword [eax + 0x18], esi
mov byte [eax + 8], 0
mov esi, eax
push ebp
mov ecx, esi
call fcn.004d9e60
mov ecx, dword [esp + 0x14]
push esi
call fcn.004ed4a0
mov edx, dword [esp + 0x78]
mov dword [esp + 0x70], edi
mov eax, edi
lock xadd dword [edx], eax
jne 0x4eeb85
mov ecx, dword [esp + 0x78]
push ecx
call dword [sym.imp.QtCore4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__]
add esp, 4
jmp 0x4eeb85
lea edx, [esp + 0x30]
push edx
lea ecx, [esp + 0x7c]
mov dword [esp + 0x34], str.texture
call dword [sym.imp.QtCore4.dll_public:_bool___thiscall_QString::operator_class_QLatin1String_const__const]
test al, al
je 0x4eed6a
push 0xb0
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
test eax, eax
je 0x4eed2f
mov ecx, eax
call fcn.004d18a0
mov esi, eax
jmp 0x4eed31
xor esi, esi
push ebp
mov ecx, esi
call fcn.004ef9d0
mov ecx, dword [esp + 0x14]
push esi
call fcn.004ed520
mov eax, dword [esp + 0x78]
mov dword [esp + 0x70], edi
mov ecx, edi
lock xadd dword [eax], ecx
jne 0x4eeb85
mov edx, dword [esp + 0x78]
push edx
call dword [sym.imp.QtCore4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__]
add esp, 4
jmp 0x4eeb85
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x7c]
mov dword [esp + 0x38], str.gradient
call dword [sym.imp.QtCore4.dll_public:_bool___thiscall_QString::operator_class_QLatin1String_const__const]
test al, al
je 0x4eedb7
push 0xc8
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
test eax, eax
je 0x4eeda1
mov ecx, eax
call fcn.004e3e20
mov esi, eax
jmp 0x4eeda3
xor esi, esi
push ebp
mov ecx, esi
call fcn.004e61d0
mov ecx, dword [esp + 0x14]
push esi
call fcn.004ed5a0
jmp 0x4eee2d
push edi
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 ecx, [esp + 0x80]
push ecx
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x2c]
push eax
mov byte [esp + 0x84], 0xe
call fcn.00401000
add esp, 0x14
push eax
mov ecx, ebp
mov byte [esp + 0x74], 0xf
call dword [sym.imp.QtXml4.dll_public:_void___thiscall_QXmlStreamReader::raiseError_class_QString_const__]
mov ecx, dword [esp + 0x1c]
mov byte [esp + 0x70], 0xe
mov edx, edi
lock xadd dword [ecx], edx
jne 0x4eee12
mov eax, dword [esp + 0x1c]
push eax
call esi
add esp, 4
mov ecx, dword [esp + 0x18]
mov byte [esp + 0x70], 0xd
mov edx, edi
lock xadd dword [ecx], edx
jne 0x4eee2d
mov eax, dword [esp + 0x18]
push eax
call esi
add esp, 4
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x70], edi
mov edx, edi
lock xadd dword [ecx], edx
jne 0x4eeb85
mov eax, dword [esp + 0x78]
push eax
call dword [sym.imp.QtCore4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__]
add esp, 4
jmp 0x4eeb85
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret 4