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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x55b84a
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 ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
lea eax, [esp + 0x3c]
push eax
mov dword [esp + 0x18], ebx
call fcn.004afa60
xor ecx, ecx
mov dword [esp + 0xf0], ecx
mov eax, dword [edi + 0x78]
cmp eax, ecx
lea esi, [edi + 0x74]
mov dword [esp + 0x34], esi
je 0x4db609
mov edx, dword [esi + 8]
sub edx, eax
sar edx, 2
jne 0x4dba2c
mov esi, 0xf
mov dword [esp + 0xdc], esi
mov dword [esp + 0xd8], ecx
mov byte [esp + 0xc8], cl
mov byte [esp + 0xf0], 1
push ecx
push ecx
mov ecx, ebx
call sym.RtHDVCpl.exe_public:_void___thiscall_WCPoint_short_int_::Set_short_int__short_int_
push 1
push str.hxvy
lea ecx, [esp + 0x20]
mov dword [esp + 0x38], esi
mov dword [esp + 0x34], 0
mov byte [esp + 0x24], 0
call fcn.0049cf80
mov byte [esp + 0xf0], 2
lea eax, [esp + 0xc4]
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 bl, al
mov byte [esp + 0xf0], 1
cmp dword [esp + 0x30], 0x10
jb 0x4db68f
mov edx, dword [esp + 0x1c]
push edx
call fcn.0050364e
add esp, 4
xor edx, edx
test bl, bl
mov dword [esp + 0x30], esi
mov dword [esp + 0x2c], edx
mov byte [esp + 0x1c], dl
je 0x4db72d
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 edx
push eax
call fcn.004ad9b0
lea esi, [esp + 0x44]
call fcn.004b08b0
cmp dword [esp + 0xdc], 0x10
mov eax, dword [esp + 0xc8]
jae 0x4db6e6
lea eax, [esp + 0xc8]
mov ebx, dword [esp + 0xd8]
test ebx, ebx
mov ecx, dword [esp + 0x84]
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], ecx
je 0x4db714
push eax
lea esi, [esp + 0x48]
call fcn.004b1bf0
mov edx, dword [esp + 0x14]
push edx
lea eax, [esp + 0x40]
push eax
call fcn.004de290
mov esi, 0xf
jmp 0x4db7d9
push 1
push 0x585644
lea ecx, [esp + 0x20]
mov dword [esp + 0x38], esi
mov dword [esp + 0x34], edx
mov byte [esp + 0x24], 0
call fcn.0049cf80
mov byte [esp + 0xf0], 3
lea ecx, [esp + 0xc4]
push ecx
lea edx, [esp + 0x1c]
push edx
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 bl, al
mov byte [esp + 0xf0], 1
cmp dword [esp + 0x30], 0x10
jb 0x4db784
mov eax, dword [esp + 0x1c]
push eax
call fcn.0050364e
add esp, 4
test bl, bl
mov dword [esp + 0x30], esi
mov dword [esp + 0x2c], 0
mov byte [esp + 0x1c], 0
je 0x4db7d9
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
lea eax, [esp + 0xc4]
lea ecx, [esp + 0x3c]
call fcn.004afb60
mov edx, dword [esp + 0x14]
push edx
lea eax, [esp + 0x40]
push eax
call fcn.004de290
push 1
push 0x585648
lea ecx, [esp + 0x20]
mov dword [esp + 0x38], esi
mov dword [esp + 0x34], 0
mov byte [esp + 0x24], 0
call fcn.0049cf80
mov byte [esp + 0xf0], 4
lea ecx, [esp + 0xc4]
push ecx
lea edx, [esp + 0x1c]
push edx
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 bl, al
mov byte [esp + 0xf0], 1
cmp dword [esp + 0x30], 0x10
jb 0x4db834
mov eax, dword [esp + 0x1c]
push eax
call fcn.0050364e
add esp, 4
xor edx, edx
test bl, bl
mov dword [esp + 0x30], esi
mov dword [esp + 0x2c], edx
mov byte [esp + 0x1c], dl
je 0x4db8d5
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 edx
push eax
call fcn.004ad9b0
lea esi, [esp + 0x44]
call fcn.004b08b0
cmp dword [esp + 0xdc], 0x10
mov eax, dword [esp + 0xc8]
jae 0x4db88b
lea eax, [esp + 0xc8]
mov ebx, dword [esp + 0xd8]
test ebx, ebx
mov edx, dword [esp + 0x84]
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], edx
je 0x4db8b9
push eax
lea esi, [esp + 0x48]
call fcn.004b1bf0
mov eax, dword [esp + 0x14]
add eax, 2
push eax
lea ecx, [esp + 0x40]
push ecx
call fcn.004de290
mov esi, 0xf
jmp 0x4db983
push 1
push 0x58564c
lea ecx, [esp + 0x20]
mov dword [esp + 0x38], esi
mov dword [esp + 0x34], edx
mov byte [esp + 0x24], dl
call fcn.0049cf80
mov byte [esp + 0xf0], 5
lea edx, [esp + 0xc4]
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 bl, al
mov byte [esp + 0xf0], 1
cmp dword [esp + 0x30], 0x10
jb 0x4db92b
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.0050364e
add esp, 4
test bl, bl
mov dword [esp + 0x30], esi
mov dword [esp + 0x2c], 0
mov byte [esp + 0x1c], 0
je 0x4db983
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 eax, [esp + 0xc4]
lea ecx, [esp + 0x3c]
call fcn.004afb60
mov eax, dword [esp + 0x14]
add eax, 2
push eax
lea ecx, [esp + 0x40]
push ecx
call fcn.004de290
mov byte [esp + 0xf0], 0
cmp dword [esp + 0xdc], 0x10
jb 0x4db9a5
mov edx, dword [esp + 0xc8]
push edx
call fcn.0050364e
add esp, 4
mov dword [esp + 0xdc], esi
mov dword [esp + 0xd8], 0
mov byte [esp + 0xc8], 0
or esi, 0xffffffff
mov dword [esp + 0xf0], esi
lea ecx, [esp + 0x8c]
call fcn.004afaf0
lea edx, [esp + 0x8c]
mov dword [esp + 0x38], edx
mov dword [esp + 0x8c], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov dword [esp + 0xf0], 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 + 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 edi, eax
cmp edi, dword [esi + 8]
jbe 0x4dba38
call fcn.0052a951
mov ebx, dword [esi + 8]
cmp dword [esi + 4], ebx
jbe 0x4dba45
call fcn.0052a951
cmp esi, esi
je 0x4dba4e
call fcn.0052a951
cmp edi, ebx
je 0x4db9bf
cmp edi, dword [esi + 8]
jb 0x4dba60
call fcn.0052a951
mov ecx, dword [edi]
push str.hxvy
add ecx, 8
call sym.RtHDVCpl.exe_public:_int___thiscall_WCFixedString_63_::compare_char_const__const
test eax, eax
jne 0x4dbaf9
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 0
push eax
call fcn.004ad9b0
cmp edi, dword [esi + 8]
jb 0x4dbaa2
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 0x4dbabe
mov ebx, dword [ebx + 4]
jmp 0x4dbac1
add ebx, 4
test eax, eax
mov ecx, dword [esp + 0x84]
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], ecx
je 0x4dbaea
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
jmp 0x4dbb9a
cmp edi, dword [esi + 8]
jb 0x4dbb03
call fcn.0052a951
mov ecx, dword [edi]
push 0x585648
add ecx, 8
call sym.RtHDVCpl.exe_public:_int___thiscall_WCFixedString_63_::compare_char_const__const
test eax, eax
jne 0x4dbba3
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 [esi + 8]
jb 0x4dbb45
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 0x4dbb61
mov ebx, dword [ebx + 4]
jmp 0x4dbb64
add ebx, 4
test eax, eax
mov edx, dword [esp + 0x84]
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], edx
je 0x4dbb8d
push ebx
mov ebx, eax
lea esi, [esp + 0x48]
call fcn.004b1bf0
mov eax, dword [esp + 0x14]
add eax, 2
push eax
lea ecx, [esp + 0x40]
push ecx
call fcn.004de290
mov esi, dword [esp + 0x34]
cmp edi, dword [esi + 8]
jb 0x4dbbad
call fcn.0052a951
add edi, 4
jmp 0x4dba38