Function at 0x409010
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x532ce8
mov eax, dword fs:[0]
push eax
sub esp, 0x60
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5847b0]
xor eax, esp
push eax
lea eax, [esp + 0x74]
mov dword fs:[0], eax
mov edi, dword [esp + 0x84]
mov eax, dword [edi + 0x30]
mov ecx, dword [eax]
mov eax, dword [ecx + 0xc]
mov edx, dword [esp + 0x88]
xor ebp, ebp
and eax, 0xffff
lea ecx, [edi + 4]
mov dword [esp + 0x18], ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x30], eax
mov dword [edx + 8], ebp
call fcn.00405730
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x68], ebp
lea eax, [esp + 0x68]
mov dword [esp + 0x7c], ebp
push eax
lea esi, [ebp + 6]
mov dword [esp + 0x74], ebp
call fcn.00408a70
mov dword [esp + 0x14], ebp
mov eax, dword [esp + 0x70]
mov edx, dword [esp + 0x68]
lea ecx, [eax + eax*4]
mov eax, dword [esp + 0x88]
lea ebx, [edx + ecx*4]
push ebx
push eax
mov dword [esp + 0x30], ebx
call fcn.00409a70
add esp, 8
xor ecx, ecx
mov dword [esp + 0x2c], eax
cmp eax, 1
jne 0x409212
mov eax, dword [edi + 0x34]
cmp dword [edi + 0x14], eax
jne 0x4090ce
push ecx
mov esi, edi
call fcn.00408c60
cmp dword [esp + 0x20], 0
mov ebp, dword [edi + 0x14]
lea ecx, [ebp + 1]
mov dword [edi + 0x14], ecx
jne 0x4090e2
mov dword [esp + 0x20], ebp
mov ecx, dword [edi + 0x30]
mov eax, ebp
and eax, 0xffff
mov edx, ebp
sar edx, 0x10
shl eax, 5
add eax, dword [ecx + edx*4]
mov ecx, dword [esp + 0x18]
mov dword [eax + 0x10], ecx
mov edx, ecx
mov dword [eax + 0x18], 0
mov esi, dword [edi + 0x30]
sar edx, 0x10
mov edx, dword [esi + edx*4]
and ecx, 0xffff
shl ecx, 5
lea edx, [edx + ecx + 0x14]
mov ecx, dword [edx]
test ecx, ecx
je 0x40917b
mov edx, ecx
sar edx, 0x10
and ecx, 0xffff
shl ecx, 5
add edx, edx
add edx, edx
mov ebx, dword [edx + esi]
mov dword [esp + 0x24], ecx
mov ecx, dword [ebx + ecx + 0x1c]
mov ebx, ecx
mov dword [esp + 0x2c], ecx
and ecx, 0xffff
sar ebx, 0x10
mov esi, dword [esi + ebx*4]
mov ebx, dword [esp + 0x28]
shl ecx, 5
mov dword [esi + ecx + 0x18], ebp
mov ecx, dword [esp + 0x2c]
mov dword [eax + 0x1c], ecx
mov ecx, dword [edi + 0x30]
mov edx, dword [ecx + edx]
mov ecx, dword [esp + 0x24]
mov dword [edx + ecx + 0x1c], ebp
mov dword [eax + 0xc], 0
jmp 0x409187
mov dword [edx], ebp
mov dword [eax + 0x1c], ebp
mov dword [eax + 0xc], 0x80000
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x14]
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]
xor edx, ecx
and edx, 0x3fffff
xor dword [eax + 8], edx
test dword [ebx + 0xc], 0x10000
mov ecx, dword [eax + 8]
je 0x4091e0
mov ebp, dword [esp + 0x18]
and ecx, 0x3fffff
mov dword [eax + 8], ecx
mov ecx, dword [ebx + 8]
mov dword [eax + 4], ecx
jmp 0x40908c
mov eax, dword [esp + 0x70]
inc dword [esp + 0x14]
inc eax
mov dword [esp + 0x18], ebp
mov dword [esp + 0x70], eax
cmp eax, dword [esp + 0x6c]
jne 0x40908c
mov esi, dword [esp + 0x6c]
lea edx, [esp + 0x68]
lea esi, [esi + esi + 6]
push edx
call fcn.00408a70
jmp 0x40908c
test eax, eax
jne 0x40958e
mov eax, dword [esp + 0x14]
mov dword [esp + 0x1c], eax
mov esi, ebp
test eax, eax
je 0x40928d
mov edx, dword [esp + 0x68]
lea ecx, [eax + eax*4]
lea eax, [edx + ecx*4 - 4]
mov dword [esp + 0x24], eax
push ecx
mov ecx, dword [esp + 0x28]
mov edx, dword [ecx]
mov eax, esp
mov dword [eax], edx
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x68], esp
call fcn.004088c0
test al, al
jne 0x409282
mov eax, dword [esp + 0x1c]
mov edx, dword [edi + 0x30]
sub dword [esp + 0x24], 0x14
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 [esp + 0x1c], eax
test eax, eax
jne 0x409237
jmp 0x40928d
cmp dword [esp + 0x1c], 0
jne 0x409556
mov edx, dword [edi + 0x30]
mov eax, dword [edx]
or dword [eax + 0xc], 0x800000
mov ecx, dword [edi + 0x30]
mov eax, ebp
sar eax, 0x10
mov eax, dword [ecx + eax*4]
mov edx, ebp
and edx, 0xffff
shl edx, 5
or dword [eax + edx + 0xc], 0x200000
mov ecx, dword [edi + 4]
cmp dword [ecx - 0xc], 0
lea eax, [eax + edx + 0xc]
lea esi, [edi + 4]
jne 0x40937c
push 0x1a
push str.No_start_tag_for_end_tag_
mov ecx, esi
call fcn.00405930
mov edx, dword [esp + 0x88]
lea ebx, [esp + 0x34]
call fcn.004099a0
mov byte [esp + 0x7c], 1
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
mov ecx, esi
call fcn.004052d0
xor bl, bl
mov byte [esp + 0x7c], bl
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x409322
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0xc
push 0x5634a4
mov ecx, esi
call fcn.004052d0
mov ecx, dword [esp + 0x28]
mov edx, dword [ecx + 4]
push edx
lea esi, [esp + 0x3c]
call fcn.00408c10
add esp, 4
mov byte [esp + 0x7c], 2
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [edi + 4]
call fcn.004052d0
mov byte [esp + 0x7c], bl
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40937c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0x1c], 0
je 0x40908c
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
cmp edx, ecx
jle 0x409912
mov eax, dword [edi + 0x30]
mov eax, dword [eax]
or dword [eax + 0xc], 0x800000
mov eax, edx
sub eax, ecx
sub edx, eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x14], edx
mov edx, dword [edi + 0x30]
mov edi, ebp
and edi, 0xffff
mov ecx, ebp
sar ecx, 0x10
shl edi, 5
add edi, dword [edx + ecx*4]
and dword [edi + 8], 0x3fffff
or dword [edi + 0xc], 0x100000
mov eax, dword [edi + 8]
mov ecx, dword [edi + 0xc]
mov ebx, dword [edi + 0x10]
mov edx, dword [edi + 0x14]
and eax, 0x3fffff
mov dword [esp + 0x18], ebx
mov dword [edi + 0x14], 0
mov dword [edi + 4], eax
test ecx, 0x200000
je 0x40942e
xor ecx, 0x200000
mov dword [edi + 0xc], ecx
mov ecx, dword [esp + 0x84]
mov ecx, dword [ecx + 0x30]
mov eax, ebx
sar eax, 0x10
mov eax, dword [ecx + eax*4]
mov esi, ebx
and esi, 0xffff
shl esi, 5
or dword [eax + esi + 0xc], 0x200000
lea eax, [eax + esi + 0xc]
test edx, edx
je 0x40949f
mov ecx, dword [esp + 0x84]
mov esi, dword [ecx + 0x30]
lea esp, [esp]
mov eax, edx
sar eax, 0x10
add eax, eax
mov ecx, edx
add eax, eax
mov esi, dword [eax + esi]
and ecx, 0xffff
shl ecx, 5
mov dword [esi + ecx + 0x10], ebx
mov esi, dword [esp + 0x84]
mov ebx, dword [esi + 0x30]
mov ebx, dword [eax + ebx]
mov dword [ebx + ecx + 0x1c], ebp
mov esi, dword [esi + 0x30]
mov ebx, ebp
sar ebx, 0x10
mov esi, dword [esi + ebx*4]
mov ebx, dword [esp + 0x18]
and ebp, 0xffff
shl ebp, 5
mov dword [esi + ebp + 0x18], edx
mov ebp, edx
mov edx, dword [esp + 0x84]
mov esi, dword [edx + 0x30]
mov eax, dword [eax + esi]
mov edx, dword [eax + ecx + 0x18]
test edx, edx
jne 0x409440
mov esi, dword [esp + 0x84]
mov eax, dword [esp + 0x70]
mov ecx, dword [esi + 4]
add esi, 4
dec eax
cmp dword [ecx - 0xc], 0
mov ebp, ebx
mov dword [esp + 0x70], eax
jne 0x409900
cmp dword [esp + 0x2c], 0
jne 0x4097c2
mov edx, dword [esp + 0x88]
lea ebx, [esp + 0x40]
call fcn.004099a0
push eax
lea edx, [esp + 0x40]
push str.End_tag_
push edx
mov byte [esp + 0x88], 3
call fcn.0040a530
add esp, 0xc
mov byte [esp + 0x7c], 4
mov ecx, dword [eax]
mov ebx, dword [esi]
lea eax, [ecx - 0x10]
sub ebx, 0x10
cmp eax, ebx
je 0x4095f9
cmp dword [ebx + 0xc], 0
jl 0x4095ed
mov edx, dword [eax]
cmp edx, dword [ebx]
jne 0x4095ed
push eax
call fcn.004053f0
mov dword [esp + 0x28], eax
add esp, 4
lea eax, [ebx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x409548
mov ecx, dword [ebx]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebx
call eax
mov ecx, dword [esp + 0x24]
add ecx, 0x10
mov dword [esi], ecx
jmp 0x4095f9
mov edx, dword [edi + 0x30]
mov eax, dword [ebx + 4]
mov ecx, esi
and esi, 0xffff
sar ecx, 0x10
shl esi, 5
add esi, dword [edx + ecx*4]
sub eax, dword [esi]
mov ecx, dword [esi + 8]
add eax, dword [ebx + 8]
and ecx, 0x3fffff
mov dword [esi + 4], eax
mov ebx, dword [ebx + 8]
shl ebx, 0x16
or ecx, ebx
mov dword [esi + 8], ecx
jmp 0x40937c
cmp eax, 0xffffffff
jne 0x4095df
mov edx, dword [edi + 0x30]
mov eax, dword [edx]
or dword [eax + 0xc], 0x800000
mov ecx, dword [edi + 0x30]
mov eax, ebp
sar eax, 0x10
mov eax, dword [ecx + eax*4]
mov edx, ebp
and edx, 0xffff
shl edx, 5
or dword [eax + edx + 0xc], 0x200000
lea eax, [eax + edx + 0xc]
mov edx, dword [edi + 4]
cmp dword [edx - 0xc], 0
lea ecx, [edi + 4]
jne 0x40908c
add ebx, 0x10
push ebx
call fcn.0040aac0
jmp 0x40908c
cmp eax, 0xfffffffe
jne 0x40908c
jmp 0x40938b
mov eax, dword [ecx - 0xc]
push eax
push ecx
mov ecx, esi
call fcn.00405930
mov byte [esp + 0x7c], 3
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40961e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x7c], 0
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409643
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x88]
mov edx, dword [ecx]
dec edx
push edx
lea esi, [esp + 0x4c]
call fcn.00408c10
push eax
lea eax, [esp + 0x4c]
push 0x5634a4
push eax
mov byte [esp + 0x8c], 5
call fcn.0040a530
add esp, 0x10
mov ebx, dword [esp + 0x84]
mov byte [esp + 0x7c], 6
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
add ebx, 4
push eax
mov ecx, ebx
call fcn.004052d0
mov byte [esp + 0x7c], 5
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4096b4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x7c], 0
mov eax, dword [esp + 0x48]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4096d9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x70]
mov edx, dword [esp + 0x68]
lea ecx, [eax + eax*4]
lea eax, [edx + ecx*4]
add eax, 0x10
push eax
lea eax, [esp + 0x50]
push str._does_not_match_start_tag_
push eax
call fcn.0040a530
add esp, 0xc
mov byte [esp + 0x7c], 7
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
mov ecx, ebx
call fcn.004052d0
mov byte [esp + 0x7c], 0
mov eax, dword [esp + 0x4c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409735
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [edi]
push ecx
lea esi, [esp + 0x58]
call fcn.00408c10
push eax
lea edx, [esp + 0x58]
push 0x5634a4
push edx
mov byte [esp + 0x8c], 8
call fcn.0040a530
add esp, 0x10
mov byte [esp + 0x7c], 9
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
mov ecx, ebx
call fcn.004052d0
mov byte [esp + 0x7c], 8
mov eax, dword [esp + 0x50]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409794
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x7c], 0
mov eax, dword [esp + 0x54]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409900
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x409900
mov edx, dword [esp + 0x68]
lea ecx, [eax + eax*4]
lea ebx, [edx + ecx*4]
lea eax, [ebx + 0x10]
push eax
lea ecx, [esp + 0x5c]
push str.Element_
push ecx
call fcn.0040a530
add esp, 0xc
mov byte [esp + 0x7c], 0xa
mov ecx, dword [eax]
mov edi, dword [esi]
lea eax, [ecx - 0x10]
sub edi, 0x10
cmp eax, edi
je 0x40983e
cmp dword [edi + 0xc], 0
jl 0x409832
mov edx, dword [eax]
cmp edx, dword [edi]
jne 0x409832
push eax
call fcn.004053f0
mov dword [esp + 0x28], eax
add esp, 4
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x409827
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
mov ecx, dword [esp + 0x24]
add ecx, 0x10
mov dword [esi], ecx
jmp 0x40983e
mov eax, dword [ecx - 0xc]
push eax
push ecx
mov ecx, esi
call fcn.00405930
mov byte [esp + 0x7c], 0
mov eax, dword [esp + 0x58]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x409863
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebx + 4]
push ecx
lea esi, [esp + 0x64]
call fcn.00408c10
push eax
lea edx, [esp + 0x64]
push 0x5634a4
mov bl, 0xb
push edx
mov byte [esp + 0x8c], bl
call fcn.0040a530
add esp, 0x10
mov esi, dword [esp + 0x84]
mov byte [esp + 0x7c], 0xc
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
add esi, 4
push eax
mov ecx, esi
call fcn.004052d0
mov byte [esp + 0x7c], bl
mov eax, dword [esp + 0x5c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4098cd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x7c], 0
mov eax, dword [esp + 0x60]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4098f2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0xa
push str._not_ended
mov ecx, esi
call fcn.004052d0
sub dword [esp + 0x28], 1
mov edi, dword [esp + 0x84]
jne 0x4093b1
cmp dword [esp + 0x2c], 0xfffffffe
je 0x409947
mov edx, dword [edi + 0x30]
mov ecx, ebp
and ebp, 0xffff
sar ecx, 0x10
mov eax, dword [edx + ecx*4]
shl ebp, 5
mov ebp, dword [eax + ebp + 0x10]
mov eax, 1
sub dword [esp + 0x70], eax
sub dword [esp + 0x14], eax
mov dword [esp + 0x18], ebp
jmp 0x40908c
mov dword [esp + 0x7c], 0xffffffff
mov esi, dword [esp + 0x68]
test esi, esi
je 0x409978
mov ecx, dword [esi - 4]
mov edx, dword [esp + 0x68]
push section..text
add esi, 0xfffffffc
push ecx
push 0x14
push edx
call fcn.0050acd3
push esi
call fcn.0040cd6b
add esp, 4
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x74]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x6c
ret 8