Function at 0x4493d0
Capabilities:
Parse pe header

Disassembly:
sub esp, 0x10
push ebx
push esi
push edi
mov edi, eax
mov ecx, dword [edi + 0x24]
mov eax, dword [ecx + 0x10]
or ebx, 0xffffffff
cmp byte [eax], 0x3c
mov dword [esp + 0x10], 0
jne 0x4496cc
cmp byte [eax + 1], 0x21
jne 0x4496cc
cmp byte [eax + 2], 0x45
jne 0x4496cc
cmp byte [eax + 3], 0x4c
jne 0x4496cc
cmp byte [eax + 4], 0x45
jne 0x4496cc
cmp byte [eax + 5], 0x4d
jne 0x4496cc
cmp byte [eax + 6], 0x45
jne 0x4496cc
cmp byte [eax + 7], 0x4e
jne 0x4496cc
cmp byte [eax + 8], 0x54
jne 0x4496cc
mov ebx, 9
add dword [edi + 0xc8], ebx
add dword [ecx + 0x10], ebx
mov eax, dword [edi + 0x24]
add dword [eax + 0x20], ebx
mov eax, dword [edi + 0x24]
mov dword [esp + 0x18], ecx
mov ecx, dword [eax + 0x10]
cmp byte [ecx], 0x25
jne 0x44946e
push edi
call fcn.00441570
add esp, 4
mov esi, dword [edi + 0x24]
mov edx, dword [esi + 0x10]
cmp byte [edx], 0
jne 0x449487
call fcn.004569c0
test eax, eax
jg 0x449487
call fcn.00440d10
mov eax, dword [edi + 0x24]
mov ecx, dword [eax + 0x10]
mov al, byte [ecx]
cmp al, 0x20
je 0x4494b0
cmp al, bl
jb 0x44949b
cmp al, 0xa
jbe 0x4494b0
cmp al, 0xd
je 0x4494b0
mov ecx, str.Space_required_after_ELEMENT_n
mov eax, 0x41
mov esi, edi
call fcn.0043f980
mov eax, edi
call fcn.00440c00
mov eax, edi
call fcn.00442fb0
mov esi, eax
test esi, esi
mov dword [esp + 0x14], esi
jne 0x4494e1
lea eax, [esi + 0x44]
mov ecx, str.xmlParseElementDecl:_no_name_for_Element_n
mov esi, edi
call fcn.0043f980
or eax, 0xffffffff
pop edi
pop esi
pop ebx
add esp, 0x10
ret
mov edx, dword [edi + 0x24]
mov eax, dword [edx + 0x10]
cmp byte [eax], 0
jne 0x449506
lea esp, [esp]
cmp dword [edi + 0x28], 1
jle 0x449506
call fcn.00440d10
mov ecx, dword [edi + 0x24]
mov edx, dword [ecx + 0x10]
cmp byte [edx], 0
je 0x4494f0
mov eax, dword [edi + 0x24]
mov ecx, dword [eax + 0x10]
mov al, byte [ecx]
cmp al, 0x20
je 0x449533
cmp al, bl
jb 0x44951a
cmp al, 0xa
jbe 0x449533
cmp al, 0xd
je 0x449533
mov ecx, str.Space_required_after_the_element_name_n
mov eax, 0x41
mov esi, edi
call fcn.0043f980
mov esi, dword [esp + 0x14]
mov eax, edi
call fcn.00440c00
mov eax, dword [edi + 0x24]
mov ecx, dword [eax + 0x10]
mov dl, byte [ecx]
cmp dl, 0x45
mov bl, 0x59
jne 0x4495a8
cmp byte [ecx + 1], 0x4d
jne 0x4495a8
cmp byte [ecx + 2], 0x50
jne 0x4495a8
cmp byte [ecx + 3], 0x54
jne 0x4495a8
cmp byte [ecx + 4], bl
jne 0x4495a8
mov ecx, 5
add dword [edi + 0xc8], ecx
add dword [eax + 0x10], ecx
mov eax, dword [edi + 0x24]
add dword [eax + 0x20], ecx
mov edx, dword [edi + 0x24]
mov eax, dword [edx + 0x10]
cmp byte [eax], 0x25
jne 0x449588
push edi
call fcn.00441570
add esp, 4
mov esi, dword [edi + 0x24]
mov ecx, dword [esi + 0x10]
cmp byte [ecx], 0
jne 0x4495a1
call fcn.004569c0
test eax, eax
jg 0x4495a1
call fcn.00440d10
mov ebx, 1
jmp 0x449619
cmp dl, 0x41
jne 0x4495fe
cmp byte [ecx + 1], 0x4e
jne 0x4495fe
cmp byte [ecx + 2], bl
jne 0x4495fe
add dword [edi + 0xc8], 3
add dword [eax + 0x10], 3
mov eax, dword [edi + 0x24]
add dword [eax + 0x20], 3
mov edx, dword [edi + 0x24]
mov eax, dword [edx + 0x10]
cmp byte [eax], 0x25
jne 0x4495de
push edi
call fcn.00441570
add esp, 4
mov esi, dword [edi + 0x24]
mov ecx, dword [esi + 0x10]
cmp byte [ecx], 0
jne 0x4495f7
call fcn.004569c0
test eax, eax
jg 0x4495f7
call fcn.00440d10
mov ebx, 2
jmp 0x449619
cmp dl, 0x28
jne 0x44974c
lea edx, [esp + 0x10]
push edx
push esi
mov eax, edi
call fcn.00449300
add esp, 8
mov ebx, eax
mov eax, edi
call fcn.00440c00
mov eax, dword [edi + 0x24]
mov ecx, dword [eax + 0x10]
cmp byte [ecx], 0
jne 0x449646
jmp 0x449630
cmp dword [edi + 0x28], 1
jle 0x449646
call fcn.00440d10
mov edx, dword [edi + 0x24]
mov eax, dword [edx + 0x10]
cmp byte [eax], 0
je 0x449630
mov eax, edi
call fcn.00440c00
mov eax, dword [edi + 0x24]
mov ecx, dword [eax + 0x10]
cmp byte [ecx], 0x3e
je 0x4496d5
cmp dword [edi + 0xd4], 0
je 0x44966a
cmp dword [edi + 0xac], 0xffffffff
je 0x4496b7
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 edi
push 0
push 0
push 0
mov dword [edi + 0x54], 0x49
call fcn.004516c0
add esp, 0x44
cmp dword [edi + 0x120], 0
mov dword [edi + 0xc], 0
jne 0x4496b7
mov dword [edi + 0xd4], 1
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4496cc
mov edx, dword [edi + 8]
push eax
push edx
call fcn.00453300
add esp, 8
mov eax, ebx
pop edi
pop esi
pop ebx
add esp, 0x10
ret
cmp dword [esp + 0x18], eax
je 0x4496ec
mov ecx, str.Element_declaration_doesnt_start_and_stop_in_the_same_entity_n
mov eax, 0x5a
mov esi, edi
call fcn.0043f980
mov ecx, edi
call fcn.00456ae0
mov eax, dword [edi]
test eax, eax
je 0x4496b7
cmp dword [edi + 0xd4], 0
jne 0x4496b7
cmp dword [eax + 0x24], 0
je 0x4496b7
mov esi, dword [esp + 0x10]
test esi, esi
je 0x449717
mov dword [esi + 0x14], 0
mov ecx, dword [esp + 0x14]
mov eax, dword [edi]
mov edx, dword [edi + 4]
mov eax, dword [eax + 0x24]
push esi
push ebx
push ecx
push edx
call eax
add esp, 0x10
test esi, esi
je 0x4496cc
cmp dword [esi + 0x14], 0
jne 0x4496cc
mov ecx, dword [edi + 8]
push esi
push ecx
call fcn.00453300
add esp, 8
mov eax, ebx
pop edi
pop esi
pop ebx
add esp, 0x10
ret
cmp dl, 0x25
jne 0x449778
cmp dword [edi + 0x60], 0
jne 0x449778
cmp dword [edi + 0x28], 1
jne 0x449778
mov ecx, str.PEReference:_forbidden_within_markup_decl_in_internal_subset_n
mov eax, 0x15
mov esi, edi
call fcn.0043f980
or eax, 0xffffffff
pop edi
pop esi
pop ebx
add esp, 0x10
ret
mov ecx, str.xmlParseElementDecl:_EMPTY__ANY_or___expected_n
mov eax, 0x36
mov esi, edi
call fcn.0043f980
pop edi
pop esi
or eax, 0xffffffff
pop ebx
add esp, 0x10
ret