Function at 0x401de0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41114e
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push esi
push edi
mov eax, dword [0x417200]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x30]
mov eax, dword [eax]
mov eax, dword [eax + 0xc]
and eax, 0xffff
xor edx, edx
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0xc]
mov dword [eax + 8], edx
lea esi, [ecx + 4]
mov ecx, dword [esi]
mov edi, dword [ecx - 0x10]
lea eax, [ecx - 0x10]
xor ebx, ebx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x24], edx
cmp dword [eax + 4], edx
je 0x401e86
cmp dword [eax + 0xc], ebx
lea edx, [eax + 0xc]
jge 0x401e60
xor edx, edx
cmp dword [ecx - 8], edx
jge 0x401e54
push 0x80070057
call fcn.00401100
mov dword [ecx - 0xc], edx
mov ecx, dword [esi]
xor eax, eax
mov word [ecx], ax
jmp 0x401e86
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x401e76
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [edi]
mov eax, dword [edx + 0xc]
mov ecx, edi
call eax
add eax, 0x10
mov dword [esi], eax
xor edx, edx
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x44], edx
mov dword [ebp - 4], edx
xor ecx, ecx
mov dword [ebp - 0x3c], edx
mov eax, 6
mov edx, 0x14
mul edx
seto cl
neg ecx
or ecx, eax
xor eax, eax
add ecx, 4
setb al
neg eax
or eax, ecx
push eax
call fcn.004053a5
add esp, 4
mov dword [ebp - 0x38], eax
mov byte [ebp - 4], 1
test eax, eax
je 0x401ee6
push 0x4039a0
push 0x4039c0
push 6
lea esi, [eax + 4]
push 0x14
push esi
mov dword [eax], 6
call fcn.00405544
jmp 0x401ee8
xor esi, esi
push esi
lea esi, [ebp - 0x44]
mov byte [ebp - 4], 0
call fcn.00403880
mov dword [ebp - 0x40], 6
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x44]
mov edi, dword [ebp + 0xc]
lea ecx, [eax + eax*4]
lea esi, [edx + ecx*4]
push esi
push edi
mov dword [ebp - 0x20], esi
call fcn.004027d0
add esp, 8
xor ecx, ecx
mov dword [ebp - 0x2c], eax
cmp eax, 1
jne 0x4020c7
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x34]
cmp dword [esi + 0x14], eax
jne 0x401f3e
push ecx
call fcn.00401a20
cmp dword [ebp - 0x24], 0
mov ebx, dword [esi + 0x14]
lea eax, [ebx + 1]
mov dword [esi + 0x14], eax
jne 0x401f50
mov dword [ebp - 0x24], ebx
mov edx, dword [esi + 0x30]
mov eax, ebx
and eax, 0xffff
mov ecx, ebx
sar ecx, 0x10
shl eax, 5
add eax, dword [edx + ecx*4]
mov edx, dword [ebp - 0x14]
mov dword [eax + 0x10], edx
mov dword [eax + 0x18], 0
mov esi, dword [esi + 0x30]
mov ecx, edx
sar ecx, 0x10
mov ecx, dword [esi + ecx*4]
mov edi, edx
and edi, 0xffff
shl edi, 5
lea edi, [ecx + edi + 0x14]
mov ecx, dword [edi]
test ecx, ecx
je 0x401fe8
mov edx, ecx
sar edx, 0x10
and ecx, 0xffff
shl ecx, 5
add edx, edx
add edx, edx
mov edi, dword [edx + esi]
mov dword [ebp - 0x28], ecx
mov ecx, dword [edi + ecx + 0x1c]
mov edi, ecx
mov dword [ebp - 0x2c], ecx
and ecx, 0xffff
sar edi, 0x10
mov esi, dword [esi + edi*4]
shl ecx, 5
mov dword [esi + ecx + 0x18], ebx
mov ecx, dword [ebp - 0x2c]
mov dword [eax + 0x1c], ecx
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0x30]
mov edx, dword [edx + ecx]
mov ecx, dword [ebp - 0x28]
mov dword [edx + ecx + 0x1c], ebx
mov edx, dword [ebp - 0x14]
mov dword [eax + 0xc], 0
jmp 0x401ff4
mov dword [edi], ebx
mov dword [eax + 0x1c], ebx
mov dword [eax + 0xc], 0x80000
mov esi, dword [ebp - 0x10]
add esi, dword [ebp - 0x30]
mov ecx, dword [eax + 0xc]
mov edi, dword [eax + 8]
and ecx, 0xffff0000
or esi, ecx
mov dword [eax + 0xc], esi
mov esi, dword [ebp - 0x20]
mov dword [eax + 0x14], 0
mov ecx, dword [esi + 4]
mov dword [eax], ecx
mov ecx, dword [esi + 8]
and edi, 0xffd00000
add ecx, edi
mov dword [eax + 8], ecx
test dword [esi + 0xc], 0x10000
je 0x402047
and ecx, 0x2fffff
mov ebx, edx
mov dword [eax + 8], ecx
mov edx, dword [esi + 8]
mov dword [eax + 4], edx
jmp 0x401f03
mov eax, dword [ebp - 0x3c]
inc dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x3c], eax
cmp eax, dword [ebp - 0x40]
jne 0x401f03
mov edi, dword [ebp - 0x40]
xor ecx, ecx
lea edi, [edi + edi + 6]
mov eax, edi
mov edx, 0x14
mul edx
seto cl
neg ecx
or ecx, eax
xor eax, eax
add ecx, 4
setb al
neg eax
or eax, ecx
push eax
call fcn.004053a5
add esp, 4
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 2
test eax, eax
je 0x4020b0
push 0x4039a0
push 0x4039c0
push edi
lea esi, [eax + 4]
push 0x14
push esi
mov dword [eax], edi
call fcn.00405544
jmp 0x4020b2
xor esi, esi
push esi
lea esi, [ebp - 0x44]
mov byte [ebp - 4], 0
call fcn.00403880
mov dword [ebp - 0x40], edi
jmp 0x401f03
test eax, eax
jne 0x4023e9
mov ecx, dword [ebp - 0x10]
mov eax, ecx
mov dword [ebp - 0x18], ecx
mov esi, ebx
test eax, eax
je 0x402182
lea edx, [eax + eax*4]
mov eax, dword [ebp - 0x44]
lea ecx, [eax + edx*4 - 4]
mov dword [ebp - 0x1c], ecx
mov edi, edi
mov eax, dword [edi]
mov edi, dword [edi + 4]
mov edx, dword [ebp - 0x1c]
mov ecx, dword [edx]
mov edx, dword [ebp + 0xc]
sub edi, eax
inc edi
test byte [edx + 0x10], 8
push edi
push ecx
mov dword [ebp - 0x28], ecx
mov ecx, dword [edx + 0xc]
lea edx, [ecx + eax*2]
push edx
je 0x402119
call fcn.0040618a
jmp 0x40211e
call fcn.00405ec8
add esp, 0xc
test eax, eax
jne 0x402143
mov eax, dword [ebp - 0x28]
movzx eax, word [eax + edi*2]
test ax, ax
je 0x402175
push eax
push str.____
call fcn.00405cc5
add esp, 8
test eax, eax
jne 0x402175
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp + 8]
mov edx, dword [edx + 0x30]
sub dword [ebp - 0x1c], 0x14
mov edi, dword [ebp + 0xc]
mov ecx, esi
and esi, 0xffff
sar ecx, 0x10
mov ecx, dword [edx + ecx*4]
dec eax
shl esi, 5
mov esi, dword [ecx + esi + 0x10]
mov dword [ebp - 0x18], eax
test eax, eax
je 0x402182
jmp 0x4020f0
cmp dword [ebp - 0x18], 0
jne 0x4023ab
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov edx, dword [esi + 0x30]
mov eax, dword [edx]
or dword [eax + 0xc], 0x800000
mov ecx, dword [esi + 0x30]
mov eax, ebx
sar eax, 0x10
mov eax, dword [ecx + eax*4]
mov edx, ebx
and edx, 0xffff
shl edx, 5
or dword [eax + edx + 0xc], 0x200000
mov ecx, dword [esi + 4]
cmp dword [ecx - 0xc], 0
lea eax, [eax + edx + 0xc]
jne 0x402208
lea edx, [ebp - 0x34]
push edx
mov ecx, edi
call fcn.00402570
mov ecx, dword [ebp - 0x20]
mov byte [ebp - 4], 3
mov edx, dword [ecx + 4]
mov eax, dword [eax]
push edx
push eax
push str.No_start_tag_for_end_tag__s_at_offset__d
lea edi, [esi + 4]
call fcn.00403580
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x34]
add eax, 0xfffffff0
add esp, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402208
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [ebp - 0x18], 0
je 0x401f03
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x10]
cmp edx, ecx
jle 0x402473
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x30]
mov eax, dword [eax]
or dword [eax + 0xc], 0x800000
mov eax, edx
sub eax, ecx
sub edx, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x10], edx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x30]
mov esi, ebx
and esi, 0xffff
mov ecx, ebx
sar ecx, 0x10
shl esi, 5
add esi, dword [eax + ecx*4]
and dword [esi + 8], 0x2fffff
or dword [esi + 0xc], 0x100000
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0x14]
mov edi, dword [esi + 0xc]
mov edx, dword [esi + 0x10]
and eax, 0x2fffff
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x14], edx
mov dword [esi + 0x14], 0
mov dword [esi + 4], eax
test edi, 0x200000
je 0x4022ba
xor edi, 0x200000
mov dword [esi + 0xc], edi
mov edi, dword [ebp + 8]
mov edi, dword [edi + 0x30]
mov eax, edx
sar eax, 0x10
mov eax, dword [edi + eax*4]
and edx, 0xffff
shl edx, 5
or dword [eax + edx + 0xc], 0x200000
lea eax, [eax + edx + 0xc]
mov edx, dword [ebp - 0x14]
test ecx, ecx
je 0x40231e
mov eax, dword [ebp + 8]
mov edi, dword [eax + 0x30]
mov eax, ecx
sar eax, 0x10
add eax, eax
add eax, eax
mov edi, dword [edi + eax]
and ecx, 0xffff
shl ecx, 5
mov dword [edi + ecx + 0x10], edx
mov edx, dword [ebp + 8]
mov edi, dword [edx + 0x30]
mov edi, dword [edi + eax]
mov dword [edi + ecx + 0x1c], ebx
mov edx, dword [edx + 0x30]
mov edi, ebx
and ebx, 0xffff
sar edi, 0x10
mov edx, dword [edx + edi*4]
shl ebx, 5
mov edi, ebx
mov ebx, dword [ebp - 0x28]
mov dword [edx + edi + 0x18], ebx
mov edx, dword [ebp + 8]
mov edi, dword [edx + 0x30]
mov eax, dword [edi + eax]
mov ecx, dword [eax + ecx + 0x18]
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x28], ecx
test ecx, ecx
jne 0x4022c4
mov eax, dword [ebp + 8]
mov edi, dword [ebp - 0x3c]
mov ecx, dword [eax + 4]
add eax, 4
dec edi
cmp dword [ecx - 0xc], 0
mov ebx, edx
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x28], eax
jne 0x40246a
cmp dword [ebp - 0x2c], 0
jne 0x40244a
mov ecx, dword [ebp + 0xc]
lea edx, [ebp - 0x38]
push edx
call fcn.00402570
mov byte [ebp - 4], 4
mov ecx, dword [esi]
mov eax, dword [eax]
push ecx
mov ecx, dword [ebp - 0x44]
lea edx, [edi + edi*4]
mov edx, dword [ecx + edx*4 + 0x10]
mov ecx, dword [ebp + 0xc]
mov edi, dword [ebp - 0x28]
push edx
mov edx, dword [ecx]
dec edx
push edx
push eax
push str.End_tag__s_at_offset__d_does_not_match_start_tag__s_at_offset__d
call fcn.00403580
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x38]
add eax, 0xfffffff0
add esp, 0x18
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40246a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x40246a
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x30]
mov ecx, esi
sar ecx, 0x10
and esi, 0xffff
shl esi, 5
add esi, dword [eax + ecx*4]
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 4]
sub ecx, dword [esi]
mov edx, dword [esi + 8]
add ecx, dword [eax + 8]
and edx, 0x2fffff
mov dword [esi + 4], ecx
mov eax, dword [eax + 8]
shl eax, 0x16
add edx, eax
mov dword [esi + 8], edx
jmp 0x402208
cmp eax, 0xffffffff
jne 0x40243c
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x30]
mov eax, dword [eax]
or dword [eax + 0xc], 0x800000
mov eax, dword [ecx + 0x30]
mov edx, ebx
mov edi, ebx
sar edx, 0x10
mov edx, dword [eax + edx*4]
and edi, 0xffff
shl edi, 5
or dword [edx + edi + 0xc], 0x200000
lea eax, [edx + edi + 0xc]
mov eax, dword [ecx + 4]
add ecx, 4
cmp dword [eax - 0xc], 0
jne 0x401f03
lea eax, [esi + 0x10]
call fcn.00403d20
jmp 0x401f03
cmp eax, 0xfffffffe
jne 0x401f03
jmp 0x402215
mov edx, dword [ebp - 0x44]
lea ecx, [edi + edi*4]
lea ecx, [edx + ecx*4]
mov edx, dword [ecx + 4]
mov ecx, dword [ecx + 0x10]
push edx
push ecx
push str.Element__s_at_offset__d_not_ended
mov edi, eax
call fcn.00403580
add esp, 0xc
dec dword [ebp - 0x20]
jne 0x40223b
cmp dword [ebp - 0x2c], 0xfffffffe
je 0x4024a7
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x30]
mov edx, ebx
and ebx, 0xffff
sar edx, 0x10
mov edx, dword [ecx + edx*4]
shl ebx, 5
mov ebx, dword [edx + ebx + 0x10]
mov eax, 1
sub dword [ebp - 0x3c], eax
sub dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ebx
jmp 0x401f03
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x4024d2
mov ecx, dword [eax - 4]
lea esi, [eax - 4]
push 0x4039a0
push ecx
push 0x14
push eax
call fcn.004054e1
push esi
call fcn.004053b0
add esp, 4
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8