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

Disassembly:
push 0xffffffffffffffff
push 0x47fea8
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x49d2b0]
xor eax, esp
push eax
lea eax, [esp + 0x80]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x90]
mov eax, dword [ebp + 0x60]
mov edx, dword [eax]
mov eax, dword [edx + 0xc]
and eax, 0xffff
xor ecx, ecx
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x94]
mov dword [eax + 8], ecx
lea esi, [ebp + 0x1c]
or eax, 0xffffffff
xor ebx, ebx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x14], ecx
call fcn.00402330
xor edi, edi
mov dword [esp + 0x44], 0xffffffff
mov dword [esp + 0x40], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x88], edi
lea esi, [ebx + 6]
lea ecx, [esp + 0x3c]
mov dword [esp + 0x44], edi
call fcn.0040fab0
mov dword [esp + 0x1c], edi
mov ecx, dword [esp + 0x44]
mov esi, dword [esp + 0x3c]
imul ecx, ecx, 0x2c
mov edx, dword [esp + 0x94]
lea ebx, [ecx + esi]
mov ecx, ebx
mov dword [esp + 0x30], ebx
call fcn.0040ecf0
xor ecx, ecx
mov dword [esp + 0x34], eax
cmp eax, 1
jne 0x40e41b
mov eax, dword [ebp + 0x64]
cmp dword [ebp + 0x44], eax
jne 0x40e2d3
push ecx
mov esi, ebp
call fcn.0040dde0
cmp dword [esp + 0x28], 0
mov esi, dword [ebp + 0x44]
lea edx, [esi + 1]
mov dword [esp + 0x14], esi
mov dword [ebp + 0x44], edx
jne 0x40e2eb
mov dword [esp + 0x28], esi
mov edx, dword [ebp + 0x60]
mov eax, esi
and eax, 0xffff
mov ecx, esi
sar ecx, 0x10
shl eax, 5
add eax, dword [edx + ecx*4]
mov ecx, dword [esp + 0x18]
mov dword [eax + 0x10], ecx
mov edx, ecx
mov dword [eax + 0x18], 0
mov edi, dword [ebp + 0x60]
sar edx, 0x10
mov edx, dword [edi + edx*4]
and ecx, 0xffff
shl ecx, 5
lea edx, [edx + ecx + 0x14]
mov ecx, dword [edx]
test ecx, ecx
je 0x40e384
mov edx, ecx
sar edx, 0x10
and ecx, 0xffff
shl ecx, 5
add edx, edx
add edx, edx
mov ebx, dword [edi + edx]
mov dword [esp + 0x2c], ecx
mov ecx, dword [ebx + ecx + 0x1c]
mov ebx, ecx
mov dword [esp + 0x34], ecx
and ecx, 0xffff
sar ebx, 0x10
mov edi, dword [edi + ebx*4]
mov ebx, dword [esp + 0x30]
shl ecx, 5
mov dword [edi + ecx + 0x18], esi
mov ecx, dword [esp + 0x34]
mov dword [eax + 0x1c], ecx
mov ecx, dword [ebp + 0x60]
mov edx, dword [ecx + edx]
mov ecx, dword [esp + 0x2c]
mov dword [edx + ecx + 0x1c], esi
mov dword [eax + 0xc], 0
jmp 0x40e390
mov dword [edx], esi
mov dword [eax + 0x1c], esi
mov dword [eax + 0xc], 0x80000
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x1c]
add ecx, edx
mov edx, dword [eax + 0xc]
and edx, 0xffff0000
or ecx, edx
mov edx, dword [eax + 8]
mov dword [eax + 0xc], ecx
mov dword [eax + 0x14], 0
mov ecx, dword [ebx + 4]
mov dword [eax], ecx
mov ecx, dword [ebx + 8]
and edx, 0xffd00000
add ecx, edx
mov dword [eax + 8], ecx
test dword [ebx + 0xc], 0x10000
je 0x40e3ea
mov edx, dword [esp + 0x18]
and ecx, 0x2fffff
mov dword [eax + 8], ecx
mov ecx, dword [ebx + 8]
mov dword [esp + 0x14], edx
mov dword [eax + 4], ecx
jmp 0x40e294
mov eax, dword [esp + 0x44]
inc dword [esp + 0x1c]
inc eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x18], esi
cmp eax, dword [esp + 0x40]
jne 0x40e294
mov esi, dword [esp + 0x40]
lea esi, [esi + esi + 6]
lea ecx, [esp + 0x3c]
call fcn.0040fab0
jmp 0x40e294
test eax, eax
jne 0x40e7be
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x14]
mov dword [esp + 0x20], eax
test eax, eax
je 0x40e6b8
imul eax, eax, 0x2c
lea eax, [eax + esi - 0x18]
mov dword [esp + 0x2c], eax
cmp dword [eax + 0x14], 8
jb 0x40e450
mov ecx, dword [eax]
mov dword [esp + 0x24], ecx
jmp 0x40e456
mov dword [esp + 0x24], eax
mov ecx, eax
mov ebx, dword [esp + 0x94]
mov eax, dword [ebx]
mov esi, dword [ebx + 4]
mov edx, dword [ebx + 0xc]
sub esi, eax
inc esi
test byte [ebx + 0x10], 8
push esi
push ecx
lea eax, [edx + eax*2]
push eax
je 0x40e47b
call fcn.00461ea4
jmp 0x40e480
call fcn.00461b2e
add esp, 0xc
test eax, eax
jne 0x40e4a6
mov ecx, dword [esp + 0x24]
movzx eax, word [ecx + esi*2]
test ax, ax
je 0x40e4dd
push eax
push str.____
call fcn.004618e3
add esp, 8
test eax, eax
jne 0x40e4dd
mov eax, dword [esp + 0x20]
mov ecx, dword [ebp + 0x60]
sub dword [esp + 0x2c], 0x2c
mov edx, edi
and edi, 0xffff
sar edx, 0x10
mov edx, dword [ecx + edx*4]
dec eax
shl edi, 5
mov edi, dword [edx + edi + 0x10]
mov dword [esp + 0x20], eax
test eax, eax
je 0x40e6bf
mov eax, dword [esp + 0x2c]
jmp 0x40e442
cmp dword [esp + 0x20], 0
je 0x40e6bf
mov ecx, dword [ebp + 0x60]
mov eax, edi
sar eax, 0x10
and edi, 0xffff
shl edi, 5
add edi, dword [ecx + eax*4]
mov eax, dword [esp + 0x30]
mov edx, dword [eax + 4]
sub edx, dword [edi]
mov ecx, dword [edi + 8]
add edx, dword [eax + 8]
and ecx, 0x2fffff
mov dword [edi + 4], edx
mov eax, dword [eax + 8]
shl eax, 0x16
add ecx, eax
mov dword [edi + 8], ecx
cmp dword [esp + 0x20], 0
je 0x40e294
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
cmp edx, ecx
jle 0x40e91e
mov eax, dword [ebp + 0x60]
mov eax, dword [eax]
or dword [eax + 0xc], 0x800000
mov eax, edx
sub eax, ecx
sub edx, eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x1c], edx
mov esi, dword [esp + 0x14]
mov edx, dword [ebp + 0x60]
mov ecx, esi
and esi, 0xffff
sar ecx, 0x10
shl esi, 5
add esi, dword [edx + ecx*4]
and dword [esi + 8], 0x2fffff
or dword [esi + 0xc], 0x100000
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0xc]
mov ebx, dword [esi + 0x10]
mov edx, dword [esi + 0x14]
and eax, 0x2fffff
mov dword [esp + 0x18], ebx
mov dword [esi + 0x14], 0
mov dword [esi + 4], eax
test ecx, 0x200000
je 0x40e5cc
xor ecx, 0x200000
mov dword [esi + 0xc], ecx
mov ecx, dword [ebp + 0x60]
mov eax, ebx
sar eax, 0x10
mov eax, dword [ecx + eax*4]
mov edi, ebx
and edi, 0xffff
shl edi, 5
or dword [eax + edi + 0xc], 0x200000
lea eax, [eax + edi + 0xc]
test edx, edx
je 0x40e632
mov edi, dword [ebp + 0x60]
mov eax, edx
sar eax, 0x10
mov ecx, edx
add eax, eax
add eax, eax
mov edi, dword [edi + eax]
and ecx, 0xffff
shl ecx, 5
mov dword [edi + ecx + 0x10], ebx
mov edi, dword [ebp + 0x60]
mov ebx, dword [edi + eax]
mov edi, dword [esp + 0x14]
mov dword [ebx + ecx + 0x1c], edi
mov ebp, dword [ebp + 0x60]
mov ebx, edi
sar ebx, 0x10
mov ebx, dword [ebp + ebx*4]
mov ebp, dword [esp + 0x90]
and edi, 0xffff
shl edi, 5
mov dword [ebx + edi + 0x18], edx
mov edi, dword [ebp + 0x60]
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x14], edx
mov edx, dword [edi + eax]
mov edx, dword [edx + ecx + 0x18]
test edx, edx
jne 0x40e5d3
mov eax, dword [esp + 0x44]
dec eax
mov dword [esp + 0x44], eax
cmp dword [ebp + 0x30], 0
mov dword [esp + 0x14], ebx
jne 0x40e913
mov ecx, dword [esp + 0x3c]
imul eax, eax, 0x2c
cmp dword [esp + 0x34], 0
mov edx, 2
jne 0x40e8a4
mov edi, dword [esp + 0x94]
lea ebx, [eax + ecx]
mov eax, dword [edi + 4]
sub eax, dword [edi]
mov ecx, dword [ebx + 0x24]
inc eax
lea eax, [ecx + eax + 0x64]
xor ecx, ecx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0045f2f1
mov edx, edi
add esp, 4
lea edi, [esp + 0x64]
mov dword [esp + 0x2c], eax
call fcn.0040ea70
mov byte [esp + 0x88], 2
mov edi, 8
cmp dword [ebx + 0x28], edi
jb 0x40e81e
mov ebx, dword [ebx + 0x14]
jmp 0x40e821
mov ebx, dword [esp + 0x94]
mov eax, dword [ebp + 0x60]
mov eax, dword [eax]
or dword [eax + 0xc], 0x800000
mov eax, dword [esp + 0x14]
mov edx, dword [ebp + 0x60]
mov ecx, eax
and eax, 0xffff
sar ecx, 0x10
mov ecx, dword [edx + ecx*4]
shl eax, 5
or dword [ecx + eax + 0xc], 0x200000
cmp dword [ebp + 0x30], 0
lea eax, [ecx + eax + 0xc]
jne 0x40e51f
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
xor ecx, ecx
add eax, 0x65
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0045f2f1
mov esi, eax
add esp, 4
mov edx, ebx
lea edi, [esp + 0x48]
mov dword [esp + 0x2c], esi
call fcn.0040ea70
mov byte [esp + 0x88], 1
mov edi, 8
cmp dword [eax + 0x18], edi
jb 0x40e741
mov eax, dword [eax + 4]
jmp 0x40e744
add eax, 4
mov ecx, dword [esp + 0x30]
mov edx, dword [ecx + 4]
push edx
push eax
push str.No_start_tag_for_end_tag__s_at_offset__d
push esi
call fcn.00461574
add esp, 0x10
mov byte [esp + 0x88], 0
cmp dword [esp + 0x60], edi
jb 0x40e776
mov eax, dword [esp + 0x4c]
push eax
call fcn.0045f4bb
add esp, 4
xor ecx, ecx
mov eax, esi
mov dword [esp + 0x60], 7
mov dword [esp + 0x5c], 0
mov word [esp + 0x4c], cx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40e792
sub eax, edx
sar eax, 1
push eax
mov eax, esi
lea esi, [ebp + 0x1c]
call fcn.00402880
mov edx, dword [esp + 0x2c]
push edx
call fcn.0045f84d
add esp, 4
jmp 0x40e51f
cmp eax, 0xffffffff
jne 0x40e810
mov edx, dword [ebp + 0x60]
mov eax, dword [edx]
or dword [eax + 0xc], 0x800000
mov eax, dword [esp + 0x14]
mov edx, dword [ebp + 0x60]
mov ecx, eax
and eax, 0xffff
sar ecx, 0x10
mov ecx, dword [edx + ecx*4]
shl eax, 5
or dword [ecx + eax + 0xc], 0x200000
cmp dword [ebp + 0x30], 0
lea eax, [ecx + eax + 0xc]
jne 0x40e294
push 0xffffffffffffffff
lea eax, [ebx + 0x10]
push 0
lea ecx, [ebp + 0x1c]
call fcn.004023c0
jmp 0x40e294
cmp eax, 0xfffffffe
jne 0x40e294
jmp 0x40e52e
add ebx, 0x14
cmp dword [eax + 0x18], edi
jb 0x40e82b
mov eax, dword [eax + 4]
jmp 0x40e82e
add eax, 4
mov ecx, dword [esi]
mov edx, dword [esp + 0x94]
push ecx
mov ecx, dword [edx]
push ebx
mov ebx, dword [esp + 0x34]
dec ecx
push ecx
push eax
push str.End_tag__s_at_offset__d_does_not_match_start_tag__s_at_offset__d
push ebx
call fcn.00461574
add esp, 0x18
mov byte [esp + 0x88], 0
cmp dword [esp + 0x7c], edi
jb 0x40e86b
mov edx, dword [esp + 0x68]
push edx
call fcn.0045f4bb
add esp, 4
xor eax, eax
mov word [esp + 0x68], ax
mov eax, ebx
mov dword [esp + 0x7c], 7
mov dword [esp + 0x78], 0
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40e887
sub eax, edx
sar eax, 1
push eax
mov eax, ebx
lea esi, [ebp + 0x1c]
call fcn.00402880
push ebx
jmp 0x40e90b
lea esi, [eax + ecx]
mov eax, dword [esi + 0x24]
xor ecx, ecx
add eax, 0x64
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0045f2f1
add esp, 4
cmp dword [esi + 0x28], 8
mov edi, eax
jb 0x40e8ce
mov eax, dword [esi + 0x14]
jmp 0x40e8d1
lea eax, [esi + 0x14]
mov ecx, dword [esi + 4]
push ecx
push eax
push str.Element__s_at_offset__d_not_ended
push edi
call fcn.00461574
mov eax, edi
add esp, 0x10
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40e8f0
sub eax, edx
sar eax, 1
push eax
mov eax, edi
lea esi, [ebp + 0x1c]
call fcn.00402880
push edi
call fcn.0045f84d
add esp, 4
sub dword [esp + 0x30], 1
jne 0x40e554
cmp dword [esp + 0x34], 0xfffffffe
je 0x40e95a
mov eax, dword [esp + 0x14]
mov ecx, dword [ebp + 0x60]
mov edx, eax
and eax, 0xffff
sar edx, 0x10
mov edx, dword [ecx + edx*4]
shl eax, 5
mov eax, dword [edx + eax + 0x10]
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
mov eax, 1
sub dword [esp + 0x44], eax
sub dword [esp + 0x1c], eax
jmp 0x40e294
mov dword [esp + 0x88], 0xffffffff
mov esi, dword [esp + 0x3c]
test esi, esi
je 0x40e98e
mov eax, dword [esi - 4]
mov ecx, dword [esp + 0x3c]
push 0x4029e0
add esi, 0xfffffffc
push eax
push 0x2c
push ecx
call fcn.0045f7ea
push esi
call fcn.0045f84d
add esp, 4
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x78
ret 8