Function at 0x10020b00
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, dword [ebp + 8]
or ebx, 0xffffffff
push edi
xor edi, edi
mov dword [ebp - 4], edi
mov ecx, dword [esi + 0x24]
mov dword [ebp + 8], ecx
mov eax, dword [ecx + 0x10]
cmp byte [eax], 0x3c
jne 0x10020e2d
cmp byte [eax + 1], 0x21
jne 0x10020e2d
cmp byte [eax + 2], 0x45
jne 0x10020e2d
cmp byte [eax + 3], 0x4c
jne 0x10020e2d
cmp byte [eax + 4], 0x45
jne 0x10020e2d
cmp byte [eax + 5], 0x4d
jne 0x10020e2d
cmp byte [eax + 6], 0x45
jne 0x10020e2d
cmp byte [eax + 7], 0x4e
jne 0x10020e2d
cmp byte [eax + 8], 0x54
jne 0x10020e2d
add dword [esi + 0xc8], 9
add dword [ecx + 0x10], 9
mov eax, dword [esi + 0x24]
add dword [eax + 0x20], 9
mov eax, dword [esi + 0x24]
mov eax, dword [eax + 0x10]
cmp byte [eax], 0x25
jne 0x10020b9c
push esi
call sym.dspconv.dll_xmlParserHandlePEReference
add esp, 4
mov ecx, dword [esi + 0x24]
mov eax, dword [ecx + 0x10]
cmp byte [eax], 0
jne 0x10020bc2
push 0xfa
push ecx
call sym.dspconv.dll_xmlParserInputGrow
add esp, 8
test eax, eax
jg 0x10020bc2
push esi
call sym.dspconv.dll_xmlPopInput
add esp, 4
mov eax, dword [esi + 0x24]
mov eax, dword [eax + 0x10]
mov al, byte [eax]
cmp al, 0x20
je 0x10020bee
cmp al, 9
jb 0x10020bd6
cmp al, 0xa
jbe 0x10020bee
cmp al, 0xd
je 0x10020bee
push str.Space_required_after_ELEMENT_n
mov edx, 0x41
mov ecx, esi
call fcn.10016d30
add esp, 4
push esi
call sym.dspconv.dll_xmlSkipBlankChars
add esp, 4
push esi
call sym.dspconv.dll_xmlParseName
mov ebx, eax
add esp, 4
mov dword [ebp - 8], ebx
test ebx, ebx
jne 0x10020c25
push str.xmlParseElementDecl:_no_name_for_Element_n
lea edx, [eax + 0x44]
mov ecx, esi
call fcn.10016d30
add esp, 4
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x24]
mov eax, dword [eax + 0x10]
cmp byte [eax], 0
jne 0x10020c4a
cmp dword [esi + 0x28], 1
jle 0x10020c4a
push esi
call sym.dspconv.dll_xmlPopInput
mov eax, dword [esi + 0x24]
add esp, 4
mov eax, dword [eax + 0x10]
cmp byte [eax], 0
je 0x10020c30
mov eax, dword [esi + 0x24]
mov eax, dword [eax + 0x10]
mov al, byte [eax]
cmp al, 0x20
je 0x10020c76
cmp al, 9
jb 0x10020c5e
cmp al, 0xa
jbe 0x10020c76
cmp al, 0xd
je 0x10020c76
push str.Space_required_after_the_element_name_n
mov edx, 0x41
mov ecx, esi
call fcn.10016d30
add esp, 4
push esi
call sym.dspconv.dll_xmlSkipBlankChars
mov edx, dword [esi + 0x24]
add esp, 4
mov eax, dword [edx + 0x10]
mov cl, byte [eax]
cmp cl, 0x45
jne 0x10020cfa
cmp byte [eax + 1], 0x4d
jne 0x10020cfa
cmp byte [eax + 2], 0x50
jne 0x10020cfa
cmp byte [eax + 3], 0x54
jne 0x10020cfa
cmp byte [eax + 4], 0x59
jne 0x10020cfa
add dword [esi + 0xc8], 5
add dword [edx + 0x10], 5
mov eax, dword [esi + 0x24]
add dword [eax + 0x20], 5
mov eax, dword [esi + 0x24]
mov eax, dword [eax + 0x10]
cmp byte [eax], 0x25
jne 0x10020cca
push esi
call sym.dspconv.dll_xmlParserHandlePEReference
add esp, 4
mov ecx, dword [esi + 0x24]
mov eax, dword [ecx + 0x10]
cmp byte [eax], 0
jne 0x10020cf0
push 0xfa
push ecx
call sym.dspconv.dll_xmlParserInputGrow
add esp, 8
test eax, eax
jg 0x10020cf0
push esi
call sym.dspconv.dll_xmlPopInput
add esp, 4
mov ebx, 1
jmp 0x10020d7a
cmp cl, 0x41
jne 0x10020d5e
cmp byte [eax + 1], 0x4e
jne 0x10020d5e
cmp byte [eax + 2], 0x59
jne 0x10020d5e
add dword [esi + 0xc8], 3
add dword [edx + 0x10], 3
mov eax, dword [esi + 0x24]
add dword [eax + 0x20], 3
mov eax, dword [esi + 0x24]
mov eax, dword [eax + 0x10]
cmp byte [eax], 0x25
jne 0x10020d31
push esi
call sym.dspconv.dll_xmlParserHandlePEReference
add esp, 4
mov ecx, dword [esi + 0x24]
mov eax, dword [ecx + 0x10]
cmp byte [eax], 0
jne 0x10020d57
push 0xfa
push ecx
call sym.dspconv.dll_xmlParserInputGrow
add esp, 8
test eax, eax
jg 0x10020d57
push esi
call sym.dspconv.dll_xmlPopInput
add esp, 4
mov ebx, 2
jmp 0x10020d7a
cmp cl, 0x28
jne 0x10020e96
lea eax, [ebp - 4]
push eax
push ebx
push esi
call sym.dspconv.dll_xmlParseElementContentDecl
mov edi, dword [ebp - 4]
add esp, 0xc
mov ebx, eax
push esi
call sym.dspconv.dll_xmlSkipBlankChars
mov ecx, dword [esi + 0x24]
add esp, 4
mov ecx, dword [ecx + 0x10]
cmp byte [ecx], 0
jne 0x10020daa
mov edi, edi
cmp dword [esi + 0x28], 1
jle 0x10020daa
push esi
call sym.dspconv.dll_xmlPopInput
mov eax, dword [esi + 0x24]
add esp, 4
mov eax, dword [eax + 0x10]
cmp byte [eax], 0
je 0x10020d90
push esi
call sym.dspconv.dll_xmlSkipBlankChars
mov ecx, dword [esi + 0x24]
add esp, 4
mov eax, dword [ecx + 0x10]
cmp byte [eax], 0x3e
je 0x10020e36
cmp dword [esi + 0xd4], 0
je 0x10020dd0
cmp dword [esi + 0xac], 0xffffffff
je 0x10020e1d
push 0
push str.expected___n
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 3
push 0x49
push 1
push 0
push esi
push 0
push 0
push 0
mov dword [esi + 0x54], 0x49
call sym.dspconv.dll___xmlRaiseError
add esp, 0x44
mov dword [esi + 0xc], 0
cmp dword [esi + 0x120], 0
jne 0x10020e1d
mov dword [esi + 0xd4], 1
test edi, edi
je 0x10020e2d
push edi
push dword [esi + 8]
call sym.dspconv.dll_xmlFreeDocElementContent
add esp, 8
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [ebp + 8], ecx
je 0x10020e4f
push str.Element_declaration_doesnt_start_and_stop_in_the_same_entity_n
mov edx, 0x5a
mov ecx, esi
call fcn.10016d30
add esp, 4
push esi
call sym.dspconv.dll_xmlNextChar
mov eax, dword [esi]
add esp, 4
test eax, eax
je 0x10020e1d
cmp dword [esi + 0xd4], 0
jne 0x10020e1d
cmp dword [eax + 0x24], 0
je 0x10020e1d
test edi, edi
je 0x10020e78
mov dword [edi + 0x14], 0
mov eax, dword [esi]
push edi
push ebx
push dword [ebp - 8]
mov eax, dword [eax + 0x24]
push dword [esi + 4]
call eax
add esp, 0x10
test edi, edi
je 0x10020e2d
cmp dword [edi + 0x14], 0
jne 0x10020e2d
jmp 0x10020e21
cmp cl, 0x25
jne 0x10020ec4
cmp dword [esi + 0x60], edi
jne 0x10020ec4
cmp dword [esi + 0x28], 1
jne 0x10020ec4
push str.PEReference:_forbidden_within_markup_decl_in_internal_subset_n
mov edx, 0x15
mov ecx, esi
call fcn.10016d30
add esp, 4
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.xmlParseElementDecl:_EMPTY__ANY_or___expected_n
mov edx, 0x36
mov ecx, esi
call fcn.10016d30
add esp, 4
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret