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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x55c937
mov eax, dword fs:[0]
push eax
sub esp, 0xe8
mov eax, dword [0x5bc9cc]
xor eax, esp
mov dword [esp + 0xe0], eax
push ebx
push esi
push edi
mov eax, dword [0x5bc9cc]
xor eax, esp
push eax
lea eax, [esp + 0xf8]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
lea ecx, [esp + 0x3c]
push ecx
mov dword [esp + 0x18], eax
call fcn.004afa60
xor ebx, ebx
mov dword [esp + 0x100], ebx
mov ecx, dword [edi + 0x78]
cmp ecx, ebx
lea eax, [edi + 0x74]
mov dword [esp + 0x38], eax
je 0x4d9589
mov edx, dword [eax + 8]
sub edx, ecx
sar edx, 2
jne 0x4d9a2c
mov esi, 0xf
mov dword [esp + 0xec], esi
mov dword [esp + 0xe8], ebx
mov byte [esp + 0xd8], bl
mov byte [esp + 0x100], 1
push 4
push str.left
lea ecx, [esp + 0x20]
mov dword [esp + 0x38], esi
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], 0
call fcn.0049cf80
mov byte [esp + 0x100], 2
lea eax, [esp + 0xd4]
push eax
lea ecx, [esp + 0x1c]
push ecx
mov ecx, edi
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 + 0x100], 1
cmp dword [esp + 0x30], 0x10
jb 0x4d9604
mov edx, dword [esp + 0x1c]
push edx
call fcn.0050364e
add esp, 4
cmp byte [esp + 0x13], 0
mov dword [esp + 0x30], esi
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x1c], 0
je 0x4d96a2
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax + 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 + 0xec], 0x10
mov ecx, dword [esp + 0xd8]
jae 0x4d965d
lea ecx, [esp + 0xd8]
mov eax, dword [esp + 0xe8]
cmp eax, ebx
mov edx, dword [esp + 0x84]
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], edx
je 0x4d968b
push ecx
mov ebx, eax
lea esi, [esp + 0x48]
call fcn.004b1bf0
xor ebx, ebx
mov eax, dword [esp + 0x14]
add eax, 4
push eax
lea ecx, [esp + 0x40]
push ecx
call fcn.004c6d20
mov esi, 0xf
push 3
push 0x58561c
lea ecx, [esp + 0x20]
mov dword [esp + 0x38], esi
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], 0
call fcn.0049cf80
mov byte [esp + 0x100], 3
lea edx, [esp + 0xd4]
push edx
lea eax, [esp + 0x1c]
push eax
mov ecx, edi
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 + 0x100], 1
cmp dword [esp + 0x30], 0x10
jb 0x4d96fb
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.0050364e
add esp, 4
cmp byte [esp + 0x13], 0
mov dword [esp + 0x30], esi
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x1c], 0
je 0x4d9796
mov edx, dword [esp + 0x3c]
mov ecx, dword [edx + 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 + 0xec], 0x10
mov ecx, dword [esp + 0xd8]
jae 0x4d9754
lea ecx, [esp + 0xd8]
mov eax, dword [esp + 0x84]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0xe8]
cmp eax, ebx
mov dword [esp + 0x80], ebx
je 0x4d9782
push ecx
mov ebx, eax
lea esi, [esp + 0x48]
call fcn.004b1bf0
xor ebx, ebx
mov ecx, dword [esp + 0x14]
push ecx
lea edx, [esp + 0x40]
push edx
call fcn.004c6d20
mov esi, 0xf
push 5
push str.right
lea ecx, [esp + 0x20]
mov dword [esp + 0x38], esi
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], 0
call fcn.0049cf80
mov byte [esp + 0x100], 4
lea eax, [esp + 0xd4]
push eax
lea ecx, [esp + 0x1c]
push ecx
mov ecx, edi
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 + 0x100], 1
cmp dword [esp + 0x30], 0x10
jb 0x4d97ef
mov edx, dword [esp + 0x1c]
push edx
call fcn.0050364e
add esp, 4
cmp byte [esp + 0x13], 0
mov dword [esp + 0x30], esi
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x1c], 0
je 0x4d988d
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax + 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 + 0xec], 0x10
mov ecx, dword [esp + 0xd8]
jae 0x4d9848
lea ecx, [esp + 0xd8]
mov eax, dword [esp + 0xe8]
cmp eax, ebx
mov edx, dword [esp + 0x84]
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], edx
je 0x4d9876
push ecx
mov ebx, eax
lea esi, [esp + 0x48]
call fcn.004b1bf0
xor ebx, ebx
mov eax, dword [esp + 0x14]
add eax, 0xc
push eax
lea ecx, [esp + 0x40]
push ecx
call fcn.004c6d20
mov esi, 0xf
push 6
push str.bottom
lea ecx, [esp + 0x20]
mov dword [esp + 0x38], esi
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], 0
call fcn.0049cf80
mov byte [esp + 0x100], 5
lea edx, [esp + 0xd4]
push edx
lea eax, [esp + 0x1c]
push eax
mov ecx, edi
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 + 0x100], 1
cmp dword [esp + 0x30], 0x10
jb 0x4d98e6
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.0050364e
add esp, 4
cmp byte [esp + 0x13], 0
mov dword [esp + 0x30], esi
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x1c], 0
je 0x4d9984
mov edx, dword [esp + 0x3c]
mov ecx, dword [edx + 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 + 0xec], 0x10
mov ecx, dword [esp + 0xd8]
jae 0x4d993f
lea ecx, [esp + 0xd8]
mov eax, dword [esp + 0x84]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0xe8]
cmp eax, ebx
mov dword [esp + 0x80], ebx
je 0x4d996d
push ecx
mov ebx, eax
lea esi, [esp + 0x48]
call fcn.004b1bf0
xor ebx, ebx
mov ecx, dword [esp + 0x14]
add ecx, 8
push ecx
lea edx, [esp + 0x40]
push edx
call fcn.004c6d20
mov esi, 0xf
mov byte [esp + 0x100], 0
cmp dword [esp + 0xec], 0x10
jb 0x4d99a6
mov eax, dword [esp + 0xd8]
push eax
call fcn.0050364e
add esp, 4
mov dword [esp + 0xec], esi
mov dword [esp + 0xe8], ebx
mov byte [esp + 0xd8], 0
or esi, 0xffffffff
mov dword [esp + 0x100], esi
lea ecx, [esp + 0x8c]
call fcn.004afaf0
lea edx, [esp + 0x8c]
mov dword [esp + 0xc4], edx
mov dword [esp + 0x8c], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov dword [esp + 0x100], esi
mov eax, edx
push eax
mov dword [esp + 0x90], vtable.std::ios_base.0
call fcn.00548468
add esp, 4
mov ecx, dword [esp + 0xf8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xe0]
xor ecx, esp
call fcn.0052944d
mov esp, ebp
pop ebp
ret
mov edi, ecx
cmp edi, dword [eax + 8]
jbe 0x4d9a38
call fcn.0052a951
mov ebx, dword [esp + 0x38]
mov dword [esp + 0xc8], ebx
mov esi, dword [ebx + 8]
cmp dword [ebx + 4], esi
mov dword [esp + 0xcc], edi
jbe 0x4d9a57
call fcn.0052a951
cmp ebx, ebx
je 0x4d9a60
call fcn.0052a951
cmp edi, esi
je 0x4d99bc
cmp edi, dword [ebx + 8]
jb 0x4d9a72
call fcn.0052a951
mov ecx, dword [edi]
push str.left
add ecx, 8
call sym.RtHDVCpl.exe_public:_int___thiscall_WCFixedString_63_::compare_char_const__const
test eax, eax
jne 0x4d9b1a
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 0
push eax
call fcn.004ad9b0
cmp edi, dword [ebx + 8]
jb 0x4d9ab4
call fcn.0052a951
mov eax, dword [edi]
add eax, 0x54
lea esi, [esp + 0x44]
mov dword [esp + 0x34], eax
call fcn.004b08b0
mov eax, dword [esp + 0x34]
cmp dword [eax + 0x18], 0x10
mov ecx, dword [eax + 0x14]
jb 0x4d9ada
mov edx, eax
mov eax, dword [edx + 4]
jmp 0x4d9ae1
mov eax, dword [esp + 0x34]
add eax, 4
test ecx, ecx
mov edx, dword [esp + 0x84]
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], edx
je 0x4d9b0e
push eax
mov ebx, ecx
lea esi, [esp + 0x48]
call fcn.004b1bf0
mov ebx, dword [esp + 0x38]
mov eax, dword [esp + 0x14]
add eax, 4
jmp 0x4d9d95
cmp edi, dword [ebx + 8]
jb 0x4d9b24
call fcn.0052a951
mov ecx, dword [edi]
push 0x58561c
add ecx, 8
call sym.RtHDVCpl.exe_public:_int___thiscall_WCFixedString_63_::compare_char_const__const
test eax, eax
jne 0x4d9bc6
mov edx, dword [esp + 0x3c]
mov ecx, dword [edx + 4]
mov eax, dword [esp + ecx + 0x64]
lea ecx, [esp + ecx + 0x3c]
neg eax
sbb eax, eax
and eax, 0xfffffffc
add eax, 4
push 0
push eax
call fcn.004ad9b0
cmp edi, dword [ebx + 8]
jb 0x4d9b66
call fcn.0052a951
mov ebx, dword [edi]
lea esi, [esp + 0x44]
add ebx, 0x54
call fcn.004b08b0
cmp dword [ebx + 0x18], 0x10
mov eax, dword [ebx + 0x14]
jb 0x4d9b82
mov ebx, dword [ebx + 4]
jmp 0x4d9b85
add ebx, 4
test eax, eax
mov ecx, dword [esp + 0x84]
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], ecx
je 0x4d9bae
push ebx
mov ebx, eax
lea esi, [esp + 0x48]
call fcn.004b1bf0
mov edx, dword [esp + 0x14]
push edx
lea eax, [esp + 0x40]
push eax
call fcn.004c6d20
mov ebx, dword [esp + 0x38]
jmp 0x4d9da0
cmp edi, dword [ebx + 8]
jb 0x4d9bd0
call fcn.0052a951
mov ecx, dword [edi]
push str.right
add ecx, 8
call sym.RtHDVCpl.exe_public:_int___thiscall_WCFixedString_63_::compare_char_const__const
test eax, eax
jne 0x4d9c75
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 0
push eax
call fcn.004ad9b0
cmp edi, dword [ebx + 8]
jb 0x4d9c12
call fcn.0052a951
mov ebx, dword [edi]
lea esi, [esp + 0x44]
add ebx, 0x54
call fcn.004b08b0
cmp dword [ebx + 0x18], 0x10
mov eax, dword [ebx + 0x14]
jb 0x4d9c2e
mov ebx, dword [ebx + 4]
jmp 0x4d9c31
add ebx, 4
test eax, eax
mov edx, dword [esp + 0x84]
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], edx
je 0x4d9c5a
push ebx
mov ebx, eax
lea esi, [esp + 0x48]
call fcn.004b1bf0
mov eax, dword [esp + 0x14]
add eax, 0xc
push eax
lea ecx, [esp + 0x40]
push ecx
call fcn.004c6d20
mov ebx, dword [esp + 0x38]
jmp 0x4d9da0
cmp edi, dword [ebx + 8]
jb 0x4d9c7f
call fcn.0052a951
mov ecx, dword [edi]
push str.bottom
add ecx, 8
call sym.RtHDVCpl.exe_public:_int___thiscall_WCFixedString_63_::compare_char_const__const
test eax, eax
jne 0x4d9cd7
mov edx, dword [esp + 0x3c]
mov ecx, dword [edx + 4]
mov eax, dword [esp + ecx + 0x64]
lea ecx, [esp + ecx + 0x3c]
neg eax
sbb eax, eax
and eax, 0xfffffffc
add eax, 4
push 0
push eax
call fcn.004ad9b0
cmp edi, dword [ebx + 8]
jb 0x4d9cbd
call fcn.0052a951
mov eax, dword [edi]
add eax, 0x54
lea ecx, [esp + 0x3c]
call fcn.004afb60
mov eax, dword [esp + 0x14]
add eax, 8
jmp 0x4d9d95
cmp edi, dword [ebx + 8]
jb 0x4d9ce1
call fcn.0052a951
mov ecx, dword [edi]
push str.width
add ecx, 8
call sym.RtHDVCpl.exe_public:_int___thiscall_WCFixedString_63_::compare_char_const__const
test eax, eax
jne 0x4d9d36
mov edx, dword [esp + 0x3c]
mov ecx, dword [edx + 4]
mov eax, dword [esp + ecx + 0x64]
lea ecx, [esp + ecx + 0x3c]
neg eax
sbb eax, eax
and eax, 0xfffffffc
add eax, 4
push 0
push eax
call fcn.004ad9b0
cmp edi, dword [ebx + 8]
jb 0x4d9d1f
call fcn.0052a951
mov eax, dword [edi]
add eax, 0x54
lea ecx, [esp + 0x3c]
call fcn.004afb60
lea eax, [esp + 0xd0]
jmp 0x4d9d95
cmp edi, dword [ebx + 8]
jb 0x4d9d40
call fcn.0052a951
mov ecx, dword [edi]
push str.height
add ecx, 8
call sym.RtHDVCpl.exe_public:_int___thiscall_WCFixedString_63_::compare_char_const__const
test eax, eax
jne 0x4d9da0
mov edx, dword [esp + 0x3c]
mov ecx, dword [edx + 4]
mov eax, dword [esp + ecx + 0x64]
lea ecx, [esp + ecx + 0x3c]
neg eax
sbb eax, eax
and eax, 0xfffffffc
add eax, 4
push 0
push eax
call fcn.004ad9b0
lea esi, [esp + 0xc8]
call fcn.004a7f30
mov eax, dword [eax]
add eax, 0x54
lea ecx, [esp + 0x3c]
call fcn.004afb60
lea eax, [esp + 0xc4]
push eax
lea ecx, [esp + 0x40]
push ecx
call fcn.004c6d20
cmp edi, dword [ebx + 8]
jb 0x4d9daa
call fcn.0052a951
add edi, 4
jmp 0x4d9a43