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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4caaa8
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push ebx
push esi
push edi
mov eax, dword [0x4fca20]
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.004a8450
mov dword [ebp - 0x14], ebx
jmp 0x4a9723
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.004a7590
add esp, 8
xor ecx, ecx
mov dword [ebp - 0x34], eax
cmp eax, 1
jne 0x4a9893
mov eax, dword [edi + 0x34]
cmp dword [edi + 0x14], eax
jne 0x4a975d
push ecx
mov ecx, edi
call fcn.004a6260
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 0x4a9772
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 0x4a9805
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 0x4a9811
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 0x4a9868
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 0x4a9720
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 0x4a9720
mov eax, dword [ebp - 0x4c]
lea ecx, [eax + eax + 6]
push ecx
lea ecx, [ebp - 0x50]
call fcn.004a8450
jmp 0x4a9720
test eax, eax
jne 0x4a9c57
mov edx, dword [ebp - 0x14]
mov eax, edx
mov dword [ebp - 0x18], edx
mov ebx, esi
test eax, eax
je 0x4a9949
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 0x4a98e9
call fcn.004b4008
jmp 0x4a98ee
call fcn.004b3eea
add esp, 0xc
test eax, eax
jne 0x4a991b
mov eax, dword [ebp - 0x30]
movzx eax, word [eax + esi*2]
test ax, ax
je 0x4a9a09
push eax
push 0x4daaf0
call fcn.0047dbb7
add esp, 8
test eax, eax
jne 0x4a9a09
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 0x4a98c0
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 0x4a9a4c
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.0047c9d3
mov ebx, eax
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x3c]
push ecx
call fcn.004a8980
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.00480a5a
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 0x4a99fa
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test ebx, ebx
jne 0x4a9c2b
xor eax, eax
jmp 0x4a9c3f
cmp dword [ebp - 0x18], 0
mov esi, dword [ebp - 0x10]
je 0x4a9949
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 0x4a9723
mov ecx, dword [ebp - 0x18]
cmp dword [ebp - 0x14], ecx
jle 0x4a9d6e
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 0x4a9b07
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 0x4a9b6d
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 0x4a9b10
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 0x4a9d62
cmp dword [ebp - 0x34], 0
jne 0x4a9cec
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.0047c9d3
mov dword [ebp + 8], eax
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x44]
push ecx
call fcn.004a8980
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.00480a5a
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 0x4a9c11
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
jne 0x4a9cc4
xor eax, eax
push eax
push esi
lea ecx, [edi + 4]
call fcn.0040170b
push esi
jmp 0x4a9d5a
mov eax, ebx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4a9c30
sub eax, edx
sar eax, 1
push eax
push ebx
lea ecx, [edi + 4]
call fcn.0040170b
push ebx
call fcn.0047ecd6
add esp, 4
jmp 0x4a9a4c
cmp eax, 0xffffffff
jne 0x4a9cb6
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 0x4a9723
lea eax, [ebx + 0x10]
push eax
call fcn.0040195e
jmp 0x4a9723
cmp eax, 0xfffffffe
jne 0x4a9723
jmp 0x4a9a59
mov eax, esi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4a9cd0
sub eax, edx
sar eax, 1
push eax
push esi
lea ecx, [edi + 4]
call fcn.0040170b
push esi
jmp 0x4a9d5a
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.0047c9d3
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.00480a5a
add esp, 0x14
test ebx, ebx
jne 0x4a9d35
xor eax, eax
jmp 0x4a9d4f
mov eax, ebx
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4a9d40
sub eax, edx
sar eax, 1
push eax
push ebx
lea ecx, [edi + 4]
call fcn.0040170b
push ebx
call fcn.0047ecd6
add esp, 4
dec dword [ebp - 0x24]
mov esi, dword [ebp - 0x10]
jne 0x4a9a90
cmp dword [ebp - 0x34], 0xfffffffe
je 0x4a9da2
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 0x4a9720
mov eax, dword [ebp - 0x50]
mov dword [ebp - 4], 0xffffffff
test eax, eax
je 0x4a9dcd
mov edx, dword [eax - 4]
lea esi, [eax - 4]
push fcn.0040cf3e
push edx
push 0x14
push eax
call fcn.0047ed3f
push esi
call fcn.0047ecd6
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