Function at 0x495fe0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b3da8
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push ebx
push esi
push edi
mov eax, dword [0x4e0240]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x40], edi
mov esi, dword [ebp + 8]
mov edx, dword [edi + 0x30]
mov eax, esi
sar eax, 0x10
mov ecx, esi
and ecx, 0xffff
mov dword [ebp - 0x2c], eax
mov eax, dword [edx + eax*4]
mov dword [ebp - 0x28], ecx
shl ecx, 5
mov eax, dword [eax + ecx + 0xc]
mov ecx, dword [ebp + 0xc]
xor ebx, ebx
and eax, 0xffff
mov dword [ecx + 8], ebx
lea ecx, [edi + 4]
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x38], eax
call fcn.00401417
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x50], ebx
push 6
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x48], ebx
call fcn.00494da0
mov dword [ebp - 0x14], ebx
jmp 0x496073
mov esi, dword [ebp - 0x10]
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp + 0xc]
lea edx, [eax + eax*4]
mov eax, dword [ebp - 0x50]
lea ebx, [eax + edx*4]
push ebx
push ecx
mov dword [ebp - 0x1c], ebx
call fcn.00493ee0
add esp, 8
xor ecx, ecx
mov dword [ebp - 0x34], eax
cmp eax, 1
jne 0x4961e3
mov eax, dword [edi + 0x34]
cmp dword [edi + 0x14], eax
jne 0x4960ad
push ecx
mov ecx, edi
call fcn.00492bb0
cmp dword [ebp - 0x20], 0
mov esi, dword [edi + 0x14]
lea edx, [esi + 1]
mov dword [ebp - 0x10], esi
mov dword [edi + 0x14], edx
jne 0x4960c2
mov dword [ebp - 0x20], esi
mov edx, dword [edi + 0x30]
mov eax, esi
and eax, 0xffff
mov ecx, esi
sar ecx, 0x10
shl eax, 5
add eax, dword [edx + ecx*4]
mov ecx, dword [ebp + 8]
mov dword [eax + 0x10], ecx
mov edx, ecx
mov dword [eax + 0x18], 0
mov ebx, dword [edi + 0x30]
sar edx, 0x10
mov edx, dword [ebx + edx*4]
and ecx, 0xffff
shl ecx, 5
lea edx, [edx + ecx + 0x14]
mov ecx, dword [edx]
test ecx, ecx
je 0x496155
mov edx, ecx
sar edx, 0x10
and ecx, 0xffff
shl ecx, 5
add edx, edx
add edx, edx
mov esi, dword [ebx + edx]
mov dword [ebp - 0x30], ecx
mov ecx, dword [esi + ecx + 0x1c]
mov esi, ecx
mov dword [ebp - 0x34], ecx
sar esi, 0x10
mov ebx, dword [ebx + esi*4]
mov esi, dword [ebp - 0x10]
and ecx, 0xffff
shl ecx, 5
mov dword [ebx + ecx + 0x18], esi
mov ecx, dword [ebp - 0x34]
mov dword [eax + 0x1c], ecx
mov ecx, dword [edi + 0x30]
mov edx, dword [ecx + edx]
mov ecx, dword [ebp - 0x30]
mov dword [edx + ecx + 0x1c], esi
mov dword [eax + 0xc], 0
jmp 0x496161
mov dword [edx], esi
mov dword [eax + 0x1c], esi
mov dword [eax + 0xc], 0x80000
mov ebx, dword [ebp - 0x14]
add ebx, dword [ebp - 0x38]
mov ecx, dword [eax + 0xc]
mov edx, dword [ebp - 0x1c]
and ecx, 0xffff0000
or ebx, ecx
mov dword [eax + 0xc], ebx
mov ebx, dword [eax + 8]
mov dword [eax + 0x14], 0
mov ecx, dword [edx + 4]
mov dword [eax], ecx
mov ecx, dword [edx + 8]
and ebx, 0xffd00000
add ecx, ebx
mov dword [eax + 8], ecx
test dword [edx + 0xc], 0x10000
je 0x4961b8
mov esi, dword [ebp + 8]
and ecx, 0x2fffff
mov dword [eax + 8], ecx
mov edx, dword [edx + 8]
mov dword [ebp - 0x10], esi
mov dword [eax + 4], edx
jmp 0x496070
mov eax, dword [ebp - 0x48]
inc dword [ebp - 0x14]
inc eax
mov dword [ebp + 8], esi
mov dword [ebp - 0x48], eax
cmp eax, dword [ebp - 0x4c]
jne 0x496070
mov eax, dword [ebp - 0x4c]
lea ecx, [eax + eax + 6]
push ecx
lea ecx, [ebp - 0x50]
call fcn.00494da0
jmp 0x496070
test eax, eax
jne 0x4965a7
mov edx, dword [ebp - 0x14]
mov eax, edx
mov dword [ebp - 0x18], edx
mov ebx, esi
test eax, eax
je 0x496299
mov ecx, dword [ebp - 0x50]
lea eax, [eax + eax*4]
lea edx, [ecx + eax*4 - 4]
mov dword [ebp - 0x24], edx
lea ebx, [ebx]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
mov eax, dword [edx]
mov esi, dword [edx + 4]
sub esi, eax
inc esi
test byte [edx + 0x10], 8
push esi
push ecx
mov dword [ebp - 0x30], ecx
mov ecx, dword [edx + 0xc]
lea edx, [ecx + eax*2]
push edx
je 0x496239
call fcn.004a1878
jmp 0x49623e
call fcn.004a175a
add esp, 0xc
test eax, eax
jne 0x49626b
mov eax, dword [ebp - 0x30]
movzx eax, word [eax + esi*2]
test ax, ax
je 0x496359
push eax
push 0x4c24b4
call fcn.0046db37
add esp, 8
test eax, eax
jne 0x496359
mov eax, dword [ebp - 0x18]
mov edx, dword [edi + 0x30]
sub dword [ebp - 0x24], 0x14
mov ecx, ebx
and ebx, 0xffff
sar ecx, 0x10
mov ecx, dword [edx + ecx*4]
dec eax
shl ebx, 5
mov ebx, dword [ecx + ebx + 0x10]
mov dword [ebp - 0x18], eax
test eax, eax
jne 0x496210
mov esi, dword [ebp - 0x10]
mov edx, dword [edi + 0x30]
mov ecx, dword [ebp - 0x2c]
mov edx, dword [edx + ecx*4]
mov eax, dword [ebp - 0x28]
shl eax, 5
or dword [edx + eax + 0xc], 0x800000
mov ecx, dword [edi + 0x30]
lea eax, [edx + eax + 0xc]
mov eax, esi
sar eax, 0x10
mov eax, dword [ecx + eax*4]
mov edx, esi
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]
jne 0x49639c
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx + 4]
sub eax, dword [ecx]
xor ecx, ecx
add eax, 0x65
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0046cbb3
mov ebx, eax
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x3c]
push ecx
call fcn.004952d0
mov edx, dword [ebp - 0x1c]
mov ecx, dword [edx + 4]
mov eax, dword [eax]
push ecx
push eax
push str.No_start_tag_for_end_tag__s_at_offset__d
push ebx
call fcn.004709da
mov eax, dword [ebp - 0x3c]
add eax, 0xfffffff0
add esp, 0x1c
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x49634a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test ebx, ebx
jne 0x49657b
xor eax, eax
jmp 0x49658f
cmp dword [ebp - 0x18], 0
mov esi, dword [ebp - 0x10]
je 0x496299
mov edx, dword [edi + 0x30]
mov eax, dword [ebp - 0x1c]
mov ecx, ebx
sar ecx, 0x10
and ebx, 0xffff
shl ebx, 5
add ebx, dword [edx + ecx*4]
mov ecx, dword [eax + 4]
sub ecx, dword [ebx]
mov edx, dword [ebx + 8]
add ecx, dword [eax + 8]
and edx, 0x2fffff
mov dword [ebx + 4], ecx
mov eax, dword [eax + 8]
shl eax, 0x16
add edx, eax
mov dword [ebx + 8], edx
cmp dword [ebp - 0x18], 0
je 0x496073
mov ecx, dword [ebp - 0x18]
cmp dword [ebp - 0x14], ecx
jle 0x4966be
mov eax, dword [edi + 0x30]
mov edx, dword [ebp - 0x28]
mov ebx, dword [ebp - 0x2c]
mov eax, dword [eax + ebx*4]
shl edx, 5
or dword [eax + edx + 0xc], 0x800000
lea eax, [eax + edx + 0xc]
mov edx, dword [ebp - 0x14]
mov eax, edx
sub eax, ecx
sub edx, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x14], edx
lea esp, [esp]
mov edx, dword [edi + 0x30]
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 + 0x14]
mov ebx, dword [esi + 0xc]
mov edx, dword [esi + 0x10]
and eax, 0x2fffff
mov dword [ebp - 0x30], ecx
mov dword [ebp + 8], edx
mov dword [esi + 0x14], 0
mov dword [esi + 4], eax
test ebx, 0x200000
je 0x496457
xor ebx, 0x200000
mov eax, edx
mov dword [esi + 0xc], ebx
mov ebx, dword [edi + 0x30]
sar eax, 0x10
mov eax, dword [ebx + eax*4]
and edx, 0xffff
shl edx, 5
or dword [eax + edx + 0xc], 0x200000
lea eax, [eax + edx + 0xc]
mov edx, dword [ebp + 8]
test ecx, ecx
je 0x4964bd
mov ebx, dword [edi + 0x30]
mov edi, edi
mov eax, ecx
sar eax, 0x10
add eax, eax
add eax, eax
mov ebx, dword [ebx + eax]
and ecx, 0xffff
shl ecx, 5
mov dword [ebx + ecx + 0x10], edx
mov edx, dword [edi + 0x30]
mov ebx, dword [edx + eax]
mov edx, dword [ebp - 0x10]
mov dword [ebx + ecx + 0x1c], edx
mov edi, dword [edi + 0x30]
mov ebx, edx
and edx, 0xffff
shl edx, 5
sar ebx, 0x10
mov edi, dword [edi + ebx*4]
mov ebx, edx
mov edx, dword [ebp - 0x30]
mov dword [edi + ebx + 0x18], edx
mov edi, dword [ebp - 0x40]
mov ebx, dword [edi + 0x30]
mov eax, dword [ebx + eax]
mov ecx, dword [eax + ecx + 0x18]
mov dword [ebp - 0x10], edx
mov edx, dword [ebp + 8]
mov dword [ebp - 0x30], ecx
test ecx, ecx
jne 0x496460
mov eax, dword [ebp - 0x48]
mov ecx, dword [edi + 4]
dec eax
cmp dword [ecx - 0xc], 0
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x48], eax
jne 0x4966b2
cmp dword [ebp - 0x34], 0
jne 0x49663c
lea edx, [eax + eax*4]
mov eax, dword [ebp - 0x50]
mov ecx, dword [eax + edx*4 + 0x10]
mov ecx, dword [ecx - 0xc]
lea ebx, [eax + edx*4]
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 4]
sub eax, dword [edx]
mov edx, 2
lea eax, [eax + ecx + 0x65]
xor ecx, ecx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0046cbb3
mov dword [ebp + 8], eax
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x44]
push ecx
call fcn.004952d0
mov edx, dword [esi]
mov ecx, dword [ebp + 0xc]
mov ebx, dword [ebx + 0x10]
mov eax, dword [eax]
mov esi, dword [ebp + 8]
push edx
mov edx, dword [ecx]
push ebx
dec edx
push edx
push eax
push str.End_tag__s_at_offset__d_does_not_match_start_tag__s_at_offset__d
push esi
call fcn.004709da
mov eax, dword [ebp - 0x44]
add eax, 0xfffffff0
add esp, 0x24
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x496561
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
jne 0x496614
xor eax, eax
push eax
push esi
lea ecx, [edi + 4]
call fcn.0040170b
push esi
jmp 0x4966aa
mov eax, ebx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x496580
sub eax, edx
sar eax, 1
push eax
push ebx
lea ecx, [edi + 4]
call fcn.0040170b
push ebx
call fcn.0046ec56
add esp, 4
jmp 0x49639c
cmp eax, 0xffffffff
jne 0x496606
mov eax, dword [edi + 0x30]
mov edx, dword [ebp - 0x2c]
mov eax, dword [eax + edx*4]
mov ecx, dword [ebp - 0x28]
shl ecx, 5
or dword [eax + ecx + 0xc], 0x800000
mov edx, dword [edi + 0x30]
lea eax, [eax + ecx + 0xc]
mov ecx, esi
sar ecx, 0x10
mov ecx, dword [edx + ecx*4]
mov eax, esi
and eax, 0xffff
shl eax, 5
or dword [ecx + eax + 0xc], 0x200000
mov edx, dword [edi + 4]
cmp dword [edx - 0xc], 0
lea eax, [ecx + eax + 0xc]
lea ecx, [edi + 4]
jne 0x496073
lea eax, [ebx + 0x10]
push eax
call fcn.0040195e
jmp 0x496073
cmp eax, 0xfffffffe
jne 0x496073
jmp 0x4963a9
mov eax, esi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x496620
sub eax, edx
sar eax, 1
push eax
push esi
lea ecx, [edi + 4]
call fcn.0040170b
push esi
jmp 0x4966aa
mov edx, dword [ebp - 0x50]
lea ecx, [eax + eax*4]
mov eax, dword [edx + ecx*4 + 0x10]
mov eax, dword [eax - 0xc]
lea esi, [edx + ecx*4]
xor ecx, ecx
add eax, 0x64
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0046cbb3
mov ecx, dword [esi + 4]
mov ebx, eax
mov eax, dword [esi + 0x10]
push ecx
push eax
push str.Element__s_at_offset__d_not_ended
push ebx
call fcn.004709da
add esp, 0x14
test ebx, ebx
jne 0x496685
xor eax, eax
jmp 0x49669f
mov eax, ebx
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x496690
sub eax, edx
sar eax, 1
push eax
push ebx
lea ecx, [edi + 4]
call fcn.0040170b
push ebx
call fcn.0046ec56
add esp, 4
dec dword [ebp - 0x24]
mov esi, dword [ebp - 0x10]
jne 0x4963e0
cmp dword [ebp - 0x34], 0xfffffffe
je 0x4966f2
mov eax, dword [edi + 0x30]
mov edx, esi
sar edx, 0x10
mov ecx, dword [eax + edx*4]
and esi, 0xffff
shl esi, 5
mov eax, dword [ecx + esi + 0x10]
mov dword [ebp + 8], eax
mov dword [ebp - 0x10], eax
mov eax, 1
sub dword [ebp - 0x48], eax
sub dword [ebp - 0x14], eax
jmp 0x496070
mov eax, dword [ebp - 0x50]
mov dword [ebp - 4], 0xffffffff
test eax, eax
je 0x49671d
mov edx, dword [eax - 4]
lea esi, [eax - 4]
push fcn.0040cedd
push edx
push 0x14
push eax
call fcn.0046ecbf
push esi
call fcn.0046ec56
add esp, 4
mov eax, dword [ebp - 0x20]
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