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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x55ba7f
mov eax, dword fs:[0]
push eax
sub esp, 0xd8
mov eax, dword [0x5bc9cc]
xor eax, esp
mov dword [esp + 0xd0], eax
push ebx
push esi
push edi
mov eax, dword [0x5bc9cc]
xor eax, esp
push eax
lea eax, [esp + 0xe8]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 0x78]
mov eax, dword [ebp + 0xc]
lea edi, [esi + 0x74]
xor ebx, ebx
cmp ecx, ebx
mov dword [esp + 0x38], esi
mov dword [esp + 0x18], eax
je 0x4d6b78
mov edx, dword [edi + 8]
sub edx, ecx
sar edx, 2
jne 0x4d7038
mov edi, 0xf
mov dword [esp + 0xdc], edi
mov dword [esp + 0xd8], ebx
mov byte [esp + 0xc8], bl
mov dword [esp + 0xf0], ebx
mov cl, 0xff
mov byte [eax + 3], cl
mov byte [eax + 2], cl
mov byte [eax + 1], cl
mov byte [eax], cl
lea eax, [esp + 0x3c]
push eax
call fcn.004afa60
mov byte [esp + 0xf0], 1
push 3
push 0x5855b4
lea ecx, [esp + 0x24]
mov dword [esp + 0x3c], edi
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], bl
call fcn.0049cf80
mov byte [esp + 0xf0], 2
lea ecx, [esp + 0xc4]
push ecx
lea edx, [esp + 0x20]
push edx
mov ecx, esi
call sym.RtHDVCpl.exe_public:_bool___thiscall_wvXML::CXMLElement::GetAttrib_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char____const
mov byte [esp + 0x13], al
mov byte [esp + 0xf0], 1
mov edi, 0x10
cmp dword [esp + 0x34], edi
jb 0x4d6c14
mov eax, dword [esp + 0x20]
push eax
call fcn.0050364e
add esp, 4
cmp byte [esp + 0x13], bl
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
je 0x4d6cb9
mov ecx, dword [esp + 0x3c]
mov ecx, dword [ecx + 4]
mov eax, dword [esp + ecx + 0x64]
lea ecx, [esp + ecx + 0x3c]
neg eax
sbb eax, eax
and eax, 0xfffffffc
add eax, 4
push ebx
push eax
call fcn.004ad9b0
lea esi, [esp + 0x44]
call fcn.004b08b0
cmp dword [esp + 0xdc], edi
mov ecx, dword [esp + 0xc8]
jae 0x4d6c6e
lea ecx, [esp + 0xc8]
mov eax, dword [esp + 0xd8]
cmp eax, ebx
mov edx, dword [esp + 0x84]
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], edx
je 0x4d6c9c
push ecx
mov ebx, eax
lea esi, [esp + 0x48]
call fcn.004b1bf0
xor ebx, ebx
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x40]
push ecx
call fcn.004af2e0
mov dl, byte [esp + 0x14]
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x38]
mov byte [eax], dl
push 5
push str.green
lea ecx, [esp + 0x24]
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], bl
call fcn.0049cf80
mov byte [esp + 0xf0], 3
lea ecx, [esp + 0xc4]
push ecx
lea edx, [esp + 0x20]
push edx
mov ecx, esi
call sym.RtHDVCpl.exe_public:_bool___thiscall_wvXML::CXMLElement::GetAttrib_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char____const
mov byte [esp + 0x13], al
mov byte [esp + 0xf0], 1
cmp dword [esp + 0x34], edi
jb 0x4d6d14
mov eax, dword [esp + 0x20]
push eax
call fcn.0050364e
add esp, 4
cmp byte [esp + 0x13], bl
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
je 0x4d6dba
mov ecx, dword [esp + 0x3c]
mov ecx, dword [ecx + 4]
mov eax, dword [esp + ecx + 0x64]
lea ecx, [esp + ecx + 0x3c]
neg eax
sbb eax, eax
and eax, 0xfffffffc
add eax, 4
push ebx
push eax
call fcn.004ad9b0
lea esi, [esp + 0x44]
call fcn.004b08b0
cmp dword [esp + 0xdc], edi
mov ecx, dword [esp + 0xc8]
jae 0x4d6d6e
lea ecx, [esp + 0xc8]
mov eax, dword [esp + 0xd8]
cmp eax, ebx
mov edx, dword [esp + 0x84]
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], edx
je 0x4d6d9c
push ecx
mov ebx, eax
lea esi, [esp + 0x48]
call fcn.004b1bf0
xor ebx, ebx
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x40]
push ecx
call fcn.004af2e0
mov dl, byte [esp + 0x14]
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x38]
mov byte [eax + 1], dl
push 4
push str.blue
lea ecx, [esp + 0x24]
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], bl
call fcn.0049cf80
mov byte [esp + 0xf0], 4
lea ecx, [esp + 0xc4]
push ecx
lea edx, [esp + 0x20]
push edx
mov ecx, esi
call sym.RtHDVCpl.exe_public:_bool___thiscall_wvXML::CXMLElement::GetAttrib_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char____const
mov byte [esp + 0x13], al
mov byte [esp + 0xf0], 1
cmp dword [esp + 0x34], edi
jb 0x4d6e15
mov eax, dword [esp + 0x20]
push eax
call fcn.0050364e
add esp, 4
cmp byte [esp + 0x13], bl
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
je 0x4d6ebb
mov ecx, dword [esp + 0x3c]
mov ecx, dword [ecx + 4]
mov eax, dword [esp + ecx + 0x64]
lea ecx, [esp + ecx + 0x3c]
neg eax
sbb eax, eax
and eax, 0xfffffffc
add eax, 4
push ebx
push eax
call fcn.004ad9b0
lea esi, [esp + 0x44]
call fcn.004b08b0
cmp dword [esp + 0xdc], edi
mov ecx, dword [esp + 0xc8]
jae 0x4d6e6f
lea ecx, [esp + 0xc8]
mov eax, dword [esp + 0xd8]
cmp eax, ebx
mov edx, dword [esp + 0x84]
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], edx
je 0x4d6e9d
push ecx
mov ebx, eax
lea esi, [esp + 0x48]
call fcn.004b1bf0
xor ebx, ebx
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x40]
push ecx
call fcn.004af2e0
mov dl, byte [esp + 0x14]
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x38]
mov byte [eax + 2], dl
push 5
push str.alpha
lea ecx, [esp + 0x24]
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], bl
call fcn.0049cf80
mov byte [esp + 0xf0], 5
lea ecx, [esp + 0xc4]
push ecx
lea edx, [esp + 0x20]
push edx
mov ecx, esi
call sym.RtHDVCpl.exe_public:_bool___thiscall_wvXML::CXMLElement::GetAttrib_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char____const
mov byte [esp + 0x13], al
mov byte [esp + 0xf0], 1
cmp dword [esp + 0x34], edi
jb 0x4d6f16
mov eax, dword [esp + 0x20]
push eax
call fcn.0050364e
add esp, 4
cmp byte [esp + 0x13], bl
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
je 0x4d6fb8
mov ecx, dword [esp + 0x3c]
mov ecx, dword [ecx + 4]
mov eax, dword [esp + ecx + 0x64]
lea ecx, [esp + ecx + 0x3c]
neg eax
sbb eax, eax
and eax, 0xfffffffc
add eax, 4
push ebx
push eax
call fcn.004ad9b0
lea esi, [esp + 0x44]
call fcn.004b08b0
cmp dword [esp + 0xdc], edi
mov ecx, dword [esp + 0xc8]
jae 0x4d6f70
lea ecx, [esp + 0xc8]
mov eax, dword [esp + 0xd8]
cmp eax, ebx
mov edx, dword [esp + 0x84]
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], edx
je 0x4d6f9e
push ecx
mov ebx, eax
lea esi, [esp + 0x48]
call fcn.004b1bf0
xor ebx, ebx
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x40]
push ecx
call fcn.004af2e0
mov dl, byte [esp + 0x14]
mov eax, dword [esp + 0x18]
mov byte [eax + 3], dl
mov byte [esp + 0xf0], bl
lea ecx, [esp + 0x8c]
call fcn.004afaf0
lea ecx, [esp + 0x8c]
call fcn.004af270
mov dword [esp + 0xf0], 0xffffffff
cmp dword [esp + 0xdc], edi
jb 0x4d6ffb
mov ecx, dword [esp + 0xc8]
push ecx
call fcn.0050364e
add esp, 4
mov dword [esp + 0xdc], 0xf
mov dword [esp + 0xd8], ebx
mov byte [esp + 0xc8], bl
mov ecx, dword [esp + 0xe8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xd0]
xor ecx, esp
call fcn.0052944d
mov esp, ebp
pop ebp
ret
mov esi, ecx
cmp esi, dword [edi + 8]
jbe 0x4d7044
call fcn.0052a951
mov ebx, dword [edi + 8]
cmp dword [edi + 4], ebx
jbe 0x4d7051
call fcn.0052a951
cmp edi, edi
je 0x4d705a
call fcn.0052a951
cmp esi, ebx
je 0x4d7014
cmp esi, dword [edi + 8]
jb 0x4d7068
call fcn.0052a951
mov ecx, dword [esi]
push 0x5855d0
add ecx, 8
call sym.RtHDVCpl.exe_public:_int___thiscall_WCFixedString_63_::compare_char_const__const
test eax, eax
jne 0x4d70a1
cmp esi, dword [edi + 8]
jb 0x4d7085
call fcn.0052a951
mov eax, dword [esi]
lea edx, [esp + 0x14]
push edx
push eax
call sym.RtHDVCpl.exe_void___cdecl_wvXML::ReadFromXML_Int_short_int__class_wvXML::CXMLElement_const__const__short_int__
mov cl, byte [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov byte [edx], cl
jmp 0x4d7165
cmp esi, dword [edi + 8]
jb 0x4d70ab
call fcn.0052a951
mov ecx, dword [esi]
push str.Green
add ecx, 8
call sym.RtHDVCpl.exe_public:_int___thiscall_WCFixedString_63_::compare_char_const__const
test eax, eax
jne 0x4d70e5
cmp esi, dword [edi + 8]
jb 0x4d70c8
call fcn.0052a951
mov ecx, dword [esi]
lea eax, [esp + 0x14]
push eax
push ecx
call sym.RtHDVCpl.exe_void___cdecl_wvXML::ReadFromXML_Int_short_int__class_wvXML::CXMLElement_const__const__short_int__
mov dl, byte [esp + 0x1c]
mov eax, dword [esp + 0x20]
mov byte [eax + 1], dl
jmp 0x4d7165
cmp esi, dword [edi + 8]
jb 0x4d70ef
call fcn.0052a951
mov ecx, dword [esi]
push str.Blue
add ecx, 8
call sym.RtHDVCpl.exe_public:_int___thiscall_WCFixedString_63_::compare_char_const__const
test eax, eax
jne 0x4d7126
cmp esi, dword [edi + 8]
jb 0x4d710c
call fcn.0052a951
mov edx, dword [esi]
lea ecx, [esp + 0x14]
push ecx
push edx
call sym.RtHDVCpl.exe_void___cdecl_wvXML::ReadFromXML_Int_short_int__class_wvXML::CXMLElement_const__const__short_int__
mov al, byte [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov byte [ecx + 2], al
jmp 0x4d7165
cmp esi, dword [edi + 8]
jb 0x4d7130
call fcn.0052a951
mov ecx, dword [esi]
push str.Alpha
add ecx, 8
call sym.RtHDVCpl.exe_public:_int___thiscall_WCFixedString_63_::compare_char_const__const
test eax, eax
jne 0x4d7168
cmp esi, dword [edi + 8]
jb 0x4d714d
call fcn.0052a951
mov eax, dword [esi]
lea edx, [esp + 0x14]
push edx
push eax
call sym.RtHDVCpl.exe_void___cdecl_wvXML::ReadFromXML_Int_short_int__class_wvXML::CXMLElement_const__const__short_int__
mov cl, byte [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov byte [edx + 3], cl
add esp, 8
cmp esi, dword [edi + 8]
jb 0x4d7172
call fcn.0052a951
add esi, 4
jmp 0x4d7044