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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x2c
mov ebx, eax
mov esi, edx
test edx, edx
jne 0x4da20d
cmp dword [eax + 0x7c], 0
jne 0x4daae3
call fcn.004d8a17
mov eax, dword [ebx]
mov dword [esp + 4], eax
mov dword [esp], str.node_is_NULL_n
jmp 0x4da882
mov eax, dword [edx + 4]
mov dword [ebx + 0x74], edx
dec eax
cmp eax, 0x13
ja case.default.0x4da21d
jmp dword [eax*4 + 0x671548]
cmp dword [ebx + 0x7c], 0
jne 0x4da8b5
mov eax, ebx
call fcn.004d8a17
mov eax, dword [ebx]
mov dword [esp + 4], eax
mov dword [esp], str.ELEMENT
call sub.msvcrt.dll_fputs
mov eax, dword [esi + 0x24]
test eax, eax
je 0x4da26e
mov edx, dword [eax + 0xc]
test edx, edx
je 0x4da26e
mov eax, ebx
call fcn.004d92e2
mov eax, dword [ebx]
mov dword [esp + 4], eax
mov dword [esp], 0x3a
call sub.msvcrt.dll_fputc
mov edx, dword [esi + 8]
mov eax, ebx
call fcn.004d92e2
jmp 0x4da318
cmp dword [ebx + 0x7c], 0
jne 0x4da28a
mov eax, ebx
call fcn.004d8a17
mov eax, dword [ebx]
mov dword [esp], str.Error__ATTRIBUTE_found_here_n
mov dword [esp + 4], eax
jmp 0x4da405
cmp dword [ebx + 0x7c], 0
jne 0x4da8b5
mov eax, ebx
call fcn.004d8a17
mov eax, dword [ebx]
cmp dword [esi + 8], 0x652a8c
jne 0x4da2c5
mov dword [esp + 4], eax
mov dword [esp], str.TEXT_no_enc
jmp 0x4da2d0
mov dword [esp + 4], eax
mov dword [esp], str.TEXT
call sub.msvcrt.dll_fputs
test byte [ebx + 0x88], 1
je 0x4da318
mov eax, dword [esi + 0x28]
lea edx, [esi + 0x2c]
cmp eax, edx
jne 0x4da2f7
mov eax, dword [ebx]
mov dword [esp], str._compact_n
mov dword [esp + 4], eax
jmp 0x4da34d
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x78]
mov dword [esp], eax
call fcn.004911d2
dec eax
mov eax, dword [ebx]
jne 0x4da31a
mov dword [esp + 4], eax
mov dword [esp], str._interned_n
jmp 0x4da34d
mov eax, dword [ebx]
mov dword [esp + 4], eax
mov dword [esp], 0xa
call sub.msvcrt.dll_fputc
jmp 0x4da8b5
cmp dword [ebx + 0x7c], 0
jne 0x4da8b5
mov eax, ebx
call fcn.004d8a17
mov eax, dword [ebx]
mov dword [esp + 4], eax
mov dword [esp], str.CDATA_SECTION_n
call sub.msvcrt.dll_fputs
jmp 0x4da8b5
cmp dword [ebx + 0x7c], 0
jne 0x4da8b5
mov eax, ebx
call fcn.004d8a17
mov eax, dword [esi + 8]
mov dword [esp + 8], eax
mov dword [esp + 4], str.ENTITY_REF__s__n
jmp 0x4da3b9
cmp dword [ebx + 0x7c], 0
jne 0x4da8b5
mov eax, ebx
call fcn.004d8a17
mov eax, dword [ebx]
mov dword [esp + 4], eax
mov dword [esp], str.ENTITY_n
jmp 0x4da34d
cmp dword [ebx + 0x7c], 0
jne 0x4da8b5
mov eax, ebx
call fcn.004d8a17
mov eax, dword [esi + 8]
mov dword [esp + 8], eax
mov dword [esp + 4], str.PI__s_n
mov eax, dword [ebx]
mov dword [esp], eax
call sub.msvcrt.dll_fprintf
jmp 0x4da8b5
cmp dword [ebx + 0x7c], 0
jne 0x4da8b5
mov eax, ebx
call fcn.004d8a17
mov eax, dword [ebx]
mov dword [esp + 4], eax
mov dword [esp], str.COMMENT_n
jmp 0x4da34d
cmp dword [ebx + 0x7c], 0
jne 0x4da3f8
mov eax, ebx
call fcn.004d8a17
mov eax, dword [ebx]
mov dword [esp], str.Error__DOCUMENT_found_here_n
mov dword [esp + 4], eax
call sub.msvcrt.dll_fputs
jmp 0x4daabc
cmp dword [ebx + 0x7c], 0
jne 0x4da8b5
mov eax, ebx
call fcn.004d8a17
mov eax, dword [ebx]
mov dword [esp + 4], eax
mov dword [esp], str.DOCUMENT_TYPE_n
jmp 0x4da34d
cmp dword [ebx + 0x7c], 0
jne 0x4da8b5
mov eax, ebx
call fcn.004d8a17
mov eax, dword [ebx]
mov dword [esp + 4], eax
mov dword [esp], str.DOCUMENT_FRAG_n
jmp 0x4da34d
cmp dword [ebx + 0x7c], 0
jne 0x4da8b5
mov eax, ebx
call fcn.004d8a17
mov eax, dword [ebx]
mov dword [esp + 4], eax
mov dword [esp], str.NOTATION_n
jmp 0x4da34d
add esp, 0x2c
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
jmp fcn.004d9d21
add esp, 0x2c
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
jmp fcn.004d9e0b
mov eax, ebx
call fcn.004d8a17
cmp dword [esi + 4], 0x10
je 0x4da4b0
mov ecx, str.Node_is_not_an_attribute_declaration
mov edx, 0x13a0
jmp 0x4da6b8
mov eax, dword [esi + 8]
test eax, eax
je 0x4da4d5
cmp dword [ebx + 0x7c], 0
jne 0x4da4e6
mov dword [esp + 8], eax
mov dword [esp + 4], str.ATTRDECL__s_
mov eax, dword [ebx]
mov dword [esp], eax
call sub.msvcrt.dll_fprintf
jmp 0x4da4e6
mov ecx, str.Node_attribute_declaration_has_no_name
mov edx, 0x1397
mov eax, ebx
call fcn.004d8ebd
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x4da50b
cmp dword [ebx + 0x7c], 0
jne 0x4da51c
mov dword [esp + 8], eax
mov dword [esp + 4], str._for__s
mov eax, dword [ebx]
mov dword [esp], eax
call sub.msvcrt.dll_fprintf
jmp 0x4da51c
mov ecx, str.Node_attribute_declaration_has_no_element_name
mov edx, 0x1398
mov eax, ebx
call fcn.004d8ebd
cmp dword [ebx + 0x7c], 0
jne 0x4daabc
mov edx, dword [esi + 0x28]
dec edx
cmp edx, 9
ja case.default.0x4da535
mov eax, dword [ebx]
jmp dword [edx*4 + 0x671598]
mov dword [esp + 4], eax
mov dword [esp], str._CDATA
jmp 0x4da5bc
mov dword [esp + 4], eax
mov dword [esp], 0x6712f8
jmp 0x4da5bc
mov dword [esp + 4], eax
mov dword [esp], str._IDREF
jmp 0x4da5bc
mov dword [esp + 4], eax
mov dword [esp], str._IDREFS
jmp 0x4da5bc
mov dword [esp + 4], eax
mov dword [esp], str._ENTITY
jmp 0x4da5bc
mov dword [esp + 4], eax
mov dword [esp], str._ENTITIES
jmp 0x4da5bc
mov dword [esp + 4], eax
mov dword [esp], str._NMTOKEN
jmp 0x4da5bc
mov dword [esp + 4], eax
mov dword [esp], str._NMTOKENS
jmp 0x4da5bc
mov dword [esp + 4], eax
mov dword [esp], str._ENUMERATION
jmp 0x4da5bc
mov dword [esp + 4], eax
mov dword [esp], str._NOTATION
call sub.msvcrt.dll_fputs
mov edi, dword [esi + 0x34]
test edi, edi
je 0x4da622
mov dword [ebp - 0x1c], 0
cmp dword [ebp - 0x1c], 0
mov eax, dword [ebx]
mov edx, dword [edi + 4]
je 0x4da5e8
mov dword [esp + 8], edx
mov dword [esp + 4], 0x671348
jmp 0x4da5f4
mov dword [esp + 8], edx
mov dword [esp + 4], str.___s
mov dword [esp], eax
call sub.msvcrt.dll_fprintf
mov edi, dword [edi]
test edi, edi
je 0x4da610
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], 5
jne 0x4da5cf
jmp 0x4daacc
mov eax, dword [ebx]
mov dword [esp], 0x29
mov dword [esp + 4], eax
call sub.msvcrt.dll_fputc
mov eax, dword [esi + 0x2c]
cmp eax, 3
je 0x4da643
cmp eax, 4
je 0x4da652
cmp eax, 2
jne 0x4da664
mov eax, dword [ebx]
mov dword [esp], str._REQUIRED
mov dword [esp + 4], eax
jmp 0x4da65f
mov eax, dword [ebx]
mov dword [esp], str._IMPLIED
mov dword [esp + 4], eax
jmp 0x4da65f
mov eax, dword [ebx]
mov dword [esp], str._FIXED
mov dword [esp + 4], eax
call sub.msvcrt.dll_fputs
cmp dword [esi + 0x30], 0
je 0x4da81f
mov eax, dword [ebx]
mov dword [esp], 0x22
mov dword [esp + 4], eax
call sub.msvcrt.dll_fputc
mov eax, ebx
mov edx, dword [esi + 0x30]
call fcn.004d92e2
mov eax, dword [ebx]
mov dword [esp + 4], eax
mov dword [esp], 0x22
call sub.msvcrt.dll_fputc
jmp 0x4da81f
mov eax, ebx
call fcn.004d8a17
cmp dword [esi + 4], 0x11
je 0x4da6c6
mov ecx, str.Node_is_not_an_entity_declaration
mov edx, 0x13a2
add esp, 0x2c
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
jmp fcn.004d8ebd
cmp dword [esi + 8], 0
je 0x4da702
cmp dword [ebx + 0x7c], 0
jne 0x4da713
mov eax, dword [ebx]
mov dword [esp], str.ENTITYDECL_
mov dword [esp + 4], eax
call sub.msvcrt.dll_fputs
mov eax, ebx
mov edx, dword [esi + 8]
call fcn.004d92e2
mov eax, dword [ebx]
mov dword [esp + 4], eax
mov dword [esp], 0x29
call sub.msvcrt.dll_fputc
jmp 0x4da713
mov ecx, str.Entity_declaration_has_no_name
mov edx, 0x1397
mov eax, ebx
call fcn.004d8ebd
cmp dword [ebx + 0x7c], 0
jne 0x4daabc
mov edx, dword [esi + 0x30]
dec edx
cmp edx, 5
ja case.default.0x4da728
mov eax, dword [ebx]
jmp dword [edx*4 + 0x6715c0]
mov dword [esp + 4], eax
mov dword [esp], str.__internal_n
jmp 0x4da77b
mov dword [esp + 4], eax
mov dword [esp], str.__external_parsed_n
jmp 0x4da77b
mov dword [esp + 4], eax
mov dword [esp], str.__unparsed_n
jmp 0x4da77b
mov dword [esp + 4], eax
mov dword [esp], str.__parameter_n
jmp 0x4da77b
mov dword [esp + 4], eax
mov dword [esp], str.__external_parameter_n
jmp 0x4da77b
mov dword [esp + 4], eax
mov dword [esp], str.__predefined_n
call sub.msvcrt.dll_fputs
cmp dword [esi + 0x34], 0
je 0x4da7a6
mov eax, ebx
call fcn.004d8a17
mov eax, dword [esi + 0x34]
mov dword [esp + 8], eax
mov dword [esp + 4], str._ExternalID_s_n
mov eax, dword [ebx]
mov dword [esp], eax
call sub.msvcrt.dll_fprintf
cmp dword [esi + 0x38], 0
je 0x4da7cc
mov eax, ebx
call fcn.004d8a17
mov eax, dword [esi + 0x38]
mov dword [esp + 8], eax
mov dword [esp + 4], str._SystemID_s_n
mov eax, dword [ebx]
mov dword [esp], eax
call sub.msvcrt.dll_fprintf
cmp dword [esi + 0x40], 0
je 0x4da7f2
mov eax, ebx
call fcn.004d8a17
mov eax, dword [esi + 0x40]
mov dword [esp + 8], eax
mov dword [esp + 4], str._URI_s_n
mov eax, dword [ebx]
mov dword [esp], eax
call sub.msvcrt.dll_fprintf
cmp dword [esi + 0x28], 0
je 0x4daabc
mov eax, ebx
call fcn.004d8a17
mov eax, dword [ebx]
mov dword [esp + 4], eax
mov dword [esp], str._content
call sub.msvcrt.dll_fputs
mov edx, dword [esi + 0x28]
mov eax, ebx
call fcn.004d92e2
mov eax, dword [ebx]
mov dword [esp], 0xa
mov dword [esp + 4], eax
call sub.msvcrt.dll_fputc
jmp 0x4daabc
add esp, 0x2c
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
jmp fcn.004d9382
cmp dword [ebx + 0x7c], 0
jne 0x4daae3
mov eax, ebx
call fcn.004d8a17
mov eax, dword [ebx]
mov dword [esp + 4], eax
mov dword [esp], str.INCLUDE_START_n
jmp 0x4da882
cmp dword [ebx + 0x7c], 0
jne 0x4daae3
mov eax, ebx
call fcn.004d8a17
mov eax, dword [ebx]
mov dword [esp + 4], eax
mov dword [esp], str.INCLUDE_END_n
call sub.msvcrt.dll_fputs
jmp 0x4daae3
cmp dword [ebx + 0x7c], 0
jne 0x4da899
mov eax, ebx
call fcn.004d8a17
mov eax, dword [esi + 4]
mov ecx, str.Unknown_node_type__d_n
mov dword [esp], eax
mov edx, 0x1393
mov eax, ebx
call fcn.004d8f46
jmp 0x4daae3
cmp dword [esi + 0x20], 0
jne 0x4da8da
cmp dword [ebx + 0x7c], 0
jne 0x4da8c8
mov eax, ebx
call fcn.004d8a17
mov eax, dword [ebx]
mov dword [esp], str.PBM:_doc__NULL_____n
mov dword [esp + 4], eax
call sub.msvcrt.dll_fputs
inc dword [ebx + 0x6c]
cmp dword [esi + 4], 1
jne 0x4da8f7
mov edi, dword [esi + 0x30]
test edi, edi
je 0x4da8f7
mov edx, edi
mov eax, ebx
call fcn.004d9382
mov edi, dword [edi]
jmp 0x4da8e6
cmp dword [esi + 4], 1
jne 0x4da912
mov edi, dword [esi + 0x2c]
test edi, edi
je 0x4da912
mov edx, edi
mov eax, ebx
call fcn.004da123
mov edi, dword [edi + 0x18]
jmp 0x4da900
mov eax, dword [esi + 4]
cmp eax, 5
je 0x4da956
dec eax
je 0x4daab9
cmp dword [esi + 0x28], 0
je 0x4daab9
cmp dword [ebx + 0x7c], 0
jne 0x4daab9
mov eax, ebx
call fcn.004d8a17
mov eax, dword [ebx]
mov dword [esp + 4], eax
mov dword [esp], str.content
call sub.msvcrt.dll_fputs
mov edx, dword [esi + 0x28]
jmp 0x4daaa0
mov eax, dword [esi + 8]
mov dword [esp + 4], eax
mov eax, dword [esi + 0x20]
mov dword [esp], eax
call fcn.00451f4c
mov edi, eax
test eax, eax
je 0x4daab9
mov eax, ebx
call fcn.004d8a17
cmp dword [ebx + 0x7c], 0
jne 0x4daab9
mov eax, dword [edi + 0x30]
lea edx, [eax - 1]
cmp edx, 4
ja case.default.0x4da990
mov eax, dword [ebx]
jmp dword [edx*4 + 0x6715d8]
mov dword [esp + 4], eax
mov dword [esp], str.INTERNAL_GENERAL_ENTITY
jmp 0x4da9af
mov dword [esp + 4], eax
mov dword [esp], str.EXTERNAL_GENERAL_PARSED_ENTITY
call sub.msvcrt.dll_fputs
jmp 0x4da9f3
mov dword [esp + 4], eax
mov dword [esp], str.EXTERNAL_GENERAL_UNPARSED_ENTITY
jmp 0x4da9af
mov dword [esp + 4], eax
mov dword [esp], str.INTERNAL_PARAMETER_ENTITY
jmp 0x4da9af
mov dword [esp + 4], eax
mov dword [esp], str.EXTERNAL_PARAMETER_ENTITY
jmp 0x4da9af
mov dword [esp + 8], eax
mov dword [esp + 4], str.ENTITY__d__
mov eax, dword [ebx]
mov dword [esp], eax
call sub.msvcrt.dll_fprintf
mov eax, dword [edi + 8]
mov dword [esp + 4], 0x67084e
mov dword [esp + 8], eax
mov eax, dword [ebx]
mov dword [esp], eax
call sub.msvcrt.dll_fprintf
cmp dword [edi + 0x34], 0
je 0x4daa32
mov eax, ebx
call fcn.004d8a17
mov eax, dword [edi + 0x34]
mov dword [esp + 8], eax
mov dword [esp + 4], str.ExternalID_s_n
mov eax, dword [ebx]
mov dword [esp], eax
call sub.msvcrt.dll_fprintf
cmp dword [edi + 0x38], 0
je 0x4daa58
mov eax, ebx
call fcn.004d8a17
mov eax, dword [edi + 0x38]
mov dword [esp + 8], eax
mov dword [esp + 4], str.SystemID_s_n
mov eax, dword [ebx]
mov dword [esp], eax
call sub.msvcrt.dll_fprintf
cmp dword [edi + 0x40], 0
je 0x4daa7e
mov eax, ebx
call fcn.004d8a17
mov eax, dword [edi + 0x40]
mov dword [esp + 8], eax
mov dword [esp + 4], str.URI_s_n
mov eax, dword [ebx]
mov dword [esp], eax
call sub.msvcrt.dll_fprintf
cmp dword [edi + 0x28], 0
je 0x4daab9
mov eax, ebx
call fcn.004d8a17
mov eax, dword [ebx]
mov dword [esp + 4], eax
mov dword [esp], str.content
call sub.msvcrt.dll_fputs
mov edx, dword [edi + 0x28]
mov eax, ebx
call fcn.004d92e2
mov eax, dword [ebx]
mov dword [esp + 4], eax
mov dword [esp], 0xa
call sub.msvcrt.dll_fputc
dec dword [ebx + 0x6c]
add esp, 0x2c
mov edx, esi
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
jmp fcn.004d9ab4
mov eax, dword [ebx]
mov dword [esp], str...._
mov dword [esp + 4], eax
call sub.msvcrt.dll_fputs
jmp 0x4da622
add esp, 0x2c
pop ebx
pop esi
pop edi
pop ebp
ret