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

Disassembly:
push 0xffffffffffffffff
push 0x42ba10
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x4424ac]
xor eax, esp
mov dword [esp + 0x58], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4424ac]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
call fcn.0040e490
mov ecx, dword [esi + 0x40]
mov edi, dword [esp + 0x80]
add esi, 0x3c
test ecx, ecx
mov ebx, eax
je 0x40e54c
mov eax, dword [esi + 8]
sub eax, ecx
sar eax, 5
cmp edi, eax
jb 0x40e551
call fcn.0041898e
mov ecx, dword [esi + 4]
mov eax, edi
mov edi, dword [esi + 4]
shl eax, 5
add edi, eax
test ecx, ecx
mov dword [esp + 0x30], eax
je 0x40e572
mov eax, dword [esi + 8]
sub eax, ecx
sar eax, 5
cmp ebx, eax
jb 0x40e577
call fcn.0041898e
mov ecx, dword [edi + 8]
mov eax, dword [esi + 4]
mov ebp, ebx
shl ebp, 5
mov dword [eax + ebp], ecx
mov ecx, dword [esi + 4]
test ecx, ecx
mov dword [esp + 0x2c], ebp
je 0x40e59c
mov eax, dword [esi + 8]
sub eax, ecx
sar eax, 5
cmp ebx, eax
jb 0x40e5a1
call fcn.0041898e
mov edx, dword [esi + 4]
mov eax, dword [esp + 0x80]
mov dword [edx + ebp + 0x14], eax
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x40e5c2
mov eax, dword [esi + 8]
sub eax, ecx
sar eax, 5
cmp ebx, eax
jb 0x40e5c7
call fcn.0041898e
mov ecx, dword [esi + 4]
mov dword [ecx + ebp + 0x18], 0
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x40e5e5
mov eax, dword [esi + 8]
sub eax, ecx
sar eax, 5
cmp ebx, eax
jb 0x40e5ea
call fcn.0041898e
mov eax, dword [esi + 4]
xor edx, edx
mov dword [eax + ebp + 0x1c], edx
mov eax, dword [esp + 0x14]
add eax, 4
cmp dword [eax + 0x18], 0x10
jb 0x40e605
mov eax, dword [eax + 4]
jmp 0x40e608
add eax, 4
mov ecx, dword [esi + 4]
cmp ecx, edx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], 0xffffffff
mov byte [esp + 0x28], dl
mov dword [esp + 0x24], eax
je 0x40e634
mov eax, dword [esi + 8]
sub eax, ecx
sar eax, 5
cmp dword [esp + 0x80], eax
jb 0x40e639
call fcn.0041898e
mov ecx, dword [esi + 4]
mov edx, dword [esp + 0x30]
mov edi, dword [edx + ecx + 8]
xor eax, eax
mov dword [esp + 0x68], 0xf
mov dword [esp + 0x64], eax
mov byte [esp + 0x54], al
mov dword [esp + 0x78], eax
jmp 0x40e664
mov edi, dword [esp + 0x20]
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x40e677
mov eax, dword [esi + 8]
sub eax, ecx
sar eax, 5
cmp ebx, eax
jb 0x40e67c
call fcn.0041898e
mov eax, dword [esi + 4]
mov ebp, dword [esp + 0x2c]
mov dword [eax + ebp], edi
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x40e699
mov eax, dword [esi + 8]
sub eax, ecx
sar eax, 5
cmp ebx, eax
jb 0x40e69e
call fcn.0041898e
mov eax, dword [esi + 4]
mov ecx, dword [esp + 0x24]
add eax, ebp
push 0x3c
push eax
push ecx
call fcn.0040d2d0
add esp, 0xc
test al, al
je 0x40e890
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x40e6ce
mov eax, dword [esi + 8]
sub eax, ecx
sar eax, 5
cmp ebx, eax
jb 0x40e6d3
call fcn.0041898e
mov edi, dword [esi + 4]
mov ecx, dword [esi + 4]
add edi, ebp
test ecx, ecx
je 0x40e6f0
mov eax, dword [esi + 8]
sub eax, ecx
sar eax, 5
cmp dword [esp + 0x80], eax
jb 0x40e6f5
call fcn.0041898e
mov ecx, dword [esp + 0x30]
mov edx, dword [esi + 4]
mov eax, dword [edi]
mov dword [ecx + edx + 8], eax
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x40e715
mov eax, dword [esi + 8]
sub eax, ecx
sar eax, 5
cmp ebx, eax
jb 0x40e71a
call fcn.0041898e
mov edx, dword [esi + 4]
mov eax, dword [edx + ebp]
lea ecx, [esp + 0x18]
add eax, 1
push ecx
mov dword [esp + 0x24], eax
call fcn.0040d360
add esp, 4
test al, al
je 0x40e926
cmp byte [esp + 0x28], 0
jne 0x40e8bf
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
cmp edx, dword [edi + 0x18]
lea ebp, [edi + 4]
jbe 0x40e75c
call fcn.0041898e
mov edx, 0x10
cmp dword [ebp + 0x18], edx
jb 0x40e76b
mov eax, dword [ebp + 4]
jmp 0x40e76e
lea eax, [ebp + 4]
mov ecx, dword [esp + 0x18]
mov al, byte [eax + ecx]
cmp al, 0x3f
je 0x40e812
cmp al, 0x21
je 0x40e812
cmp al, 0x2f
mov ecx, edi
je 0x40e8ee
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x38]
push eax
call fcn.0040de30
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x5c]
mov byte [esp + 0x84], 1
call fcn.00403770
cmp dword [esp + 0x4c], 0x10
mov byte [esp + 0x78], 0
jb 0x40e7cd
mov ecx, dword [esp + 0x38]
push ecx
call fcn.0040eec8
add esp, 4
mov eax, dword [esp + 0x24]
push 0x3e
lea edx, [esp + 0x24]
push edx
push eax
call fcn.0040d2d0
add esp, 0xc
test al, al
jne 0x40e84c
push 0
push str.End_of_tag_not_found
mov ecx, edi
call fcn.0040dd90
cmp dword [esp + 0x68], 0x10
mov esi, eax
jb 0x40ebdf
mov ecx, dword [esp + 0x54]
push ecx
call fcn.0040eec8
add esp, 4
jmp 0x40ebdf
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x40e825
mov eax, dword [esi + 8]
sub eax, ecx
sar eax, 5
cmp ebx, eax
jb 0x40e82a
call fcn.0041898e
mov ecx, dword [esi + 4]
mov edx, dword [esp + 0x2c]
mov eax, dword [edx + ecx]
lea ecx, [esp + 0x18]
push ecx
mov ecx, edi
mov dword [esp + 0x24], eax
call fcn.0040d440
test eax, eax
je 0x40e8f9
cmp dword [esp + 0x64], 0
je 0x40e660
push ebx
mov ecx, esi
call fcn.0040d590
mov edx, dword [esp + 0x20]
push ebx
mov ecx, esi
mov dword [eax + 4], edx
call fcn.0040d590
mov edi, dword [eax + 4]
sub edi, 1
cmp edi, dword [ebp + 0x14]
jbe 0x40e87e
call fcn.0041898e
cmp dword [ebp + 0x18], 0x10
jb 0x40e955
mov ebp, dword [ebp + 4]
jmp 0x40e958
mov ecx, dword [esp + 0x14]
push 0
push str.Element_tag_not_found
call fcn.0040dd90
cmp dword [esp + 0x68], 0x10
mov esi, eax
jb 0x40ebdf
mov edx, dword [esp + 0x54]
push edx
call fcn.0040eec8
add esp, 4
jmp 0x40ebdf
mov ecx, dword [esp + 0x14]
push 0
push str.Tag_starts_with_quote
call fcn.0040dd90
cmp dword [esp + 0x68], 0x10
mov esi, eax
jb 0x40ebdf
mov eax, dword [esp + 0x54]
push eax
call fcn.0040eec8
add esp, 4
jmp 0x40ebdf
call fcn.0040d2c0
cmp dword [esp + 0x68], edx
jmp 0x40e8a5
push 0
push str.Invalid_node
mov ecx, edi
call fcn.0040dd90
cmp dword [esp + 0x68], 0x10
mov esi, eax
jb 0x40ebdf
mov eax, dword [esp + 0x54]
push eax
call fcn.0040eec8
add esp, 4
jmp 0x40ebdf
mov ecx, dword [esp + 0x14]
push 0
push str.Abrupt_end_within_tag
call fcn.0040dd90
cmp dword [esp + 0x68], 0x10
mov esi, eax
jb 0x40ebdf
mov ecx, dword [esp + 0x54]
push ecx
call fcn.0040eec8
add esp, 4
jmp 0x40ebdf
add ebp, 4
cmp byte [edi + ebp], 0x2f
push ebx
mov ecx, esi
jne 0x40e99f
call fcn.0040d590
mov edi, dword [eax + 4]
push ebx
mov ecx, esi
sub edi, 1
call fcn.0040d590
push ebx
mov ecx, esi
mov dword [eax + 8], edi
call fcn.0040d590
push ebx
mov ecx, esi
lea edi, [eax + 4]
call fcn.0040d590
mov ecx, dword [edi]
mov dword [eax + 0xc], ecx
lea ecx, [esp + 0x50]
call fcn.004031e0
mov eax, ebx
jmp 0x40ebe1
xor ebp, ebp
call fcn.0040d590
mov edi, dword [eax + 4]
push ebx
mov ecx, esi
add edi, 1
call fcn.0040d590
mov ecx, dword [esp + 0x14]
push ebx
mov dword [eax + 8], edi
call fcn.0040e4f0
mov edi, eax
test edi, edi
jle 0x40ea75
jmp 0x40e9d0
test ebp, ebp
mov ecx, dword [esi + 4]
je 0x40e9f8
test ecx, ecx
je 0x40e9e7
mov eax, dword [esi + 8]
sub eax, ecx
sar eax, 5
cmp ebp, eax
jb 0x40e9ec
call fcn.0041898e
mov edx, dword [esi + 4]
shl ebp, 5
mov dword [edx + ebp + 0x1c], edi
jmp 0x40ea18
test ecx, ecx
je 0x40ea08
mov eax, dword [esi + 8]
sub eax, ecx
sar eax, 5
cmp ebx, eax
jb 0x40ea0d
call fcn.0041898e
mov eax, dword [esi + 4]
mov ecx, dword [esp + 0x2c]
mov dword [eax + ecx + 0x18], edi
mov ecx, dword [esi + 4]
test ecx, ecx
mov ebp, edi
je 0x40ea2d
mov eax, dword [esi + 8]
sub eax, ecx
sar eax, 5
cmp edi, eax
jb 0x40ea32
call fcn.0041898e
mov ecx, dword [esi + 4]
shl edi, 5
add edi, dword [esi + 4]
test ecx, ecx
je 0x40ea4b
mov eax, dword [esi + 8]
sub eax, ecx
sar eax, 5
cmp ebx, eax
jb 0x40ea50
call fcn.0041898e
mov edx, dword [edi + 0xc]
mov eax, dword [esi + 4]
mov ecx, dword [esp + 0x2c]
add edx, 1
mov dword [eax + ecx + 8], edx
mov ecx, dword [esp + 0x14]
push ebx
call fcn.0040e4f0
mov edi, eax
test edi, edi
jg 0x40e9d0
cmp edi, 0xffffffff
jne 0x40ea8a
lea ecx, [esp + 0x50]
call fcn.004031e0
or eax, edi
jmp 0x40ebe1
push 0x3c
push ebx
mov ecx, esi
call fcn.0040d590
mov edx, dword [esp + 0x28]
add eax, 8
push eax
push edx
call fcn.0040d2d0
add esp, 0xc
test al, al
jne 0x40eac3
cmp dword [esp + 0x68], 0x10
mov eax, dword [esp + 0x54]
jae 0x40eab8
lea eax, [esp + 0x54]
push eax
push str.End_tag_of__s_element_not_found
jmp 0x40ebcb
push ebx
mov ecx, esi
call fcn.0040d590
mov eax, dword [eax + 8]
lea ecx, [esp + 0x18]
add eax, 1
push ecx
mov dword [esp + 0x24], eax
xor ebp, ebp
call fcn.0040d360
add esp, 4
test al, al
je 0x40eb74
add ebp, 1
cmp byte [esp + 0x28], 0
jne 0x40eb5f
cmp ebp, 1
mov edi, dword [esp + 0x18]
jne 0x40eb2b
mov ecx, dword [esp + 0x14]
push edi
add ecx, 4
call fcn.0040d600
cmp byte [eax], 0x2f
je 0x40eb4d
cmp dword [esp + 0x68], 0x10
mov eax, dword [esp + 0x54]
jae 0x40eb20
lea eax, [esp + 0x54]
push eax
push str.Expecting_end_tag_of_element__s
jmp 0x40ebcb
cmp ebp, 2
jne 0x40eb4d
cmp dword [esp + 0x68], 0x10
mov eax, dword [esp + 0x54]
jae 0x40eb3f
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x1c]
call fcn.0040d230
test al, al
je 0x40eb9f
mov ecx, dword [esp + 0x14]
push edi
add ecx, 4
call fcn.0040d600
cmp byte [eax], 0x3e
je 0x40eb78
lea edx, [esp + 0x18]
push edx
call fcn.0040d360
add esp, 4
test al, al
jne 0x40eaec
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x24]
cmp byte [edi + eax], 0
je 0x40ebb6
cmp ebp, 2
jl 0x40ebb6
push ebx
mov ecx, esi
call fcn.0040d590
lea ecx, [esp + 0x50]
mov dword [eax + 0xc], edi
call fcn.004031e0
mov eax, ebx
jmp 0x40ebe1
cmp dword [esp + 0x68], 0x10
mov eax, dword [esp + 0x54]
jae 0x40ebae
lea eax, [esp + 0x54]
push eax
push str.End_tag_does_not_correspond_to__s
jmp 0x40ebcb
cmp dword [esp + 0x68], 0x10
mov eax, dword [esp + 0x54]
jae 0x40ebc5
lea eax, [esp + 0x54]
push eax
push str.End_tag_not_completed_for_element__s
mov ecx, dword [esp + 0x1c]
call fcn.0040dd90
lea ecx, [esp + 0x50]
mov esi, eax
call fcn.004031e0
mov eax, esi
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.00417b3b
add esp, 0x68
ret 4