Function at 0x47cdfa
Capabilities:
Access peb ldr_data
Get ntdll base address
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x531cdf
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x58d700]
xor eax, esp
mov dword [esp + 0x70], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x58d700]
xor eax, esp
push eax
lea eax, [esp + 0x88]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x44], ebx
mov edx, dword [esp + 0x9c]
xor eax, eax
mov dword [esp + 0x48], eax
xor ecx, ecx
mov eax, dword [ebx + 0x58]
xor ebp, ebp
mov dword [esp + 0x28], ecx
push ebp
mov dword [esp + 0x30], edx
mov eax, dword [eax]
mov dword [esp + 0x28], ebp
movzx eax, word [eax + 0xc]
and dword [edx + 8], ecx
lea ecx, [ebx + 0x18]
mov dword [esp + 0x54], eax
call fcn.00450d97
xor eax, eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x90], eax
lea ecx, [esp + 0x34]
push 6
mov dword [esp + 0x40], eax
call fcn.0047bedb
xor eax, eax
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x4c], eax
mov esi, dword [esp + 0x3c]
mov ecx, dword [esp + 0x2c]
imul eax, esi, 0x28
add eax, dword [esp + 0x34]
mov edx, eax
mov dword [esp + 0x1c], eax
call fcn.0047d6b0
xor edi, edi
mov dword [esp + 0x40], eax
cmp eax, 1
jne 0x47d069
mov ecx, ebx
call fcn.0047bff6
mov ebp, eax
mov eax, dword [esp + 0x48]
test eax, eax
mov dword [esp + 0x24], ebp
mov ecx, ebp
cmove eax, ebp
sar ecx, 0x10
mov dword [esp + 0x48], eax
mov eax, dword [ebx + 0x58]
movzx ebx, bp
shl ebx, 5
add ebx, dword [eax + ecx*4]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x20], ebx
and dword [ebx + 0x18], edi
mov dword [ebx + 0x10], ecx
mov edx, dword [eax + 0x58]
mov eax, ecx
sar eax, 0x10
movzx ecx, cx
shl ecx, 5
mov dword [esp + 0x18], edx
mov eax, dword [edx + eax*4]
mov edi, dword [eax + ecx + 0x14]
mov dword [esp + 0x40], edi
test edi, edi
je 0x47cf69
mov eax, dword [esp + 0x40]
mov ebx, dword [esp + 0x18]
movzx esi, ax
sar edi, 0x10
shl esi, 5
mov eax, dword [edx + edi*4]
mov edx, dword [eax + esi + 0x1c]
mov eax, edx
sar eax, 0x10
movzx ecx, dx
shl ecx, 5
mov eax, dword [ebx + eax*4]
mov ebx, dword [esp + 0x20]
mov dword [eax + ecx + 0x18], ebp
mov eax, dword [esp + 0x44]
mov dword [ebx + 0x1c], edx
mov eax, dword [eax + 0x58]
mov eax, dword [eax + edi*4]
mov dword [eax + esi + 0x1c], ebp
and dword [ebx + 0xc], 0
mov esi, dword [esp + 0x3c]
jmp 0x47cf77
mov dword [eax + ecx + 0x14], ebp
mov dword [ebx + 0x1c], ebp
mov dword [ebx + 0xc], 0x80000
mov eax, dword [ebx + 0xc]
mov ecx, dword [esp + 0x50]
and eax, 0xffff0000
mov edx, dword [esp + 0x1c]
mov edi, dword [esp + 0x30]
add ecx, edi
and dword [ebx + 0x14], 0
or ecx, eax
mov dword [ebx + 0xc], ecx
mov eax, dword [edx + 4]
mov dword [ebx], eax
mov eax, dword [ebx + 8]
and eax, 0xffd00000
add eax, dword [edx + 8]
mov dword [ebx + 8], eax
test dword [edx + 0xc], 0x10000
je 0x47cfd1
mov ebp, dword [esp + 0x28]
and eax, 0x2fffff
mov dword [ebx + 8], eax
mov eax, dword [edx + 8]
mov dword [ebx + 4], eax
mov ebx, dword [esp + 0x44]
mov dword [esp + 0x24], ebp
jmp 0x47ce9d
mov ebx, dword [esp + 0x44]
inc edi
inc esi
mov dword [esp + 0x30], edi
mov edi, dword [esp + 0x4c]
mov ecx, ebp
mov dword [esp + 0x28], ecx
mov dword [esp + 0x3c], esi
cmp esi, edi
jne 0x47ce9d
xor ecx, ecx
lea edi, [edi*2 + 6]
push 0x28
pop ebx
mov eax, edi
mov dword [esp + 0x4c], edi
mul ebx
seto cl
neg ecx
or ecx, eax
xor eax, eax
add ecx, 4
setb al
neg eax
or eax, ecx
push eax
call fcn.004eaf82
pop ecx
mov dword [esp + 0x20], eax
mov byte [esp + 0x90], 1
test eax, eax
je 0x47d048
push 0x44ec00
push 0x47be4e
push edi
lea esi, [eax + 4]
mov dword [eax], edi
push ebx
push esi
call fcn.00509c78
jmp 0x47d04a
xor esi, esi
push esi
lea ecx, [esp + 0x38]
mov byte [esp + 0x94], 0
call fcn.0047bf73
mov ebx, dword [esp + 0x44]
mov dword [esp + 0x38], edi
jmp 0x47ce99
test eax, eax
jne 0x47d1d0
mov eax, dword [esp + 0x30]
mov edi, eax
mov dword [esp + 0x18], ebp
test eax, eax
je 0x47d11e
mov ecx, dword [esp + 0x34]
mov ebp, dword [esp + 0x2c]
imul eax, eax, 0x28
lea esi, [ecx - 0x18]
add esi, eax
cmp dword [esi + 0x14], 8
push ecx
mov ecx, esp
jb 0x47d0a0
mov eax, dword [esi]
jmp 0x47d0a2
mov eax, esi
mov dword [ecx], eax
mov ecx, ebp
call fcn.0047be62
test al, al
jne 0x47d0d6
mov ecx, dword [esp + 0x18]
mov edx, ecx
push 0x28
pop eax
sub esi, eax
sar edx, 0x10
mov eax, dword [ebx + 0x58]
movzx ecx, cx
shl ecx, 5
mov eax, dword [eax + edx*4]
mov edx, dword [eax + ecx + 0x10]
mov dword [esp + 0x18], edx
dec edi
jne 0x47d093
jmp 0x47d0da
mov edx, dword [esp + 0x18]
mov ebp, dword [esp + 0x24]
mov esi, dword [esp + 0x3c]
test edi, edi
je 0x47d11e
mov eax, dword [ebx + 0x58]
mov ecx, edx
sar ecx, 0x10
movzx edx, dx
shl edx, 5
add edx, dword [eax + ecx*4]
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx + 4]
sub eax, dword [edx]
add eax, dword [ecx + 8]
mov dword [edx + 4], eax
mov ecx, dword [ecx + 8]
mov eax, dword [edx + 8]
and eax, 0x2fffff
shl ecx, 0x16
add eax, ecx
mov dword [edx + 8], eax
jmp 0x47d221
mov eax, dword [ebx + 0x58]
mov edx, ebp
sar edx, 0x10
movzx ecx, bp
shl ecx, 5
mov eax, dword [eax]
or dword [eax + 0xc], 0x800000
mov eax, dword [ebx + 0x58]
mov eax, dword [eax + edx*4]
or dword [eax + ecx + 0xc], 0x200000
cmp dword [ebx + 0x28], 0
jne 0x47d221
mov ecx, dword [esp + 0x2c]
push 2
pop edx
mov eax, dword [ecx + 4]
sub eax, dword [ecx]
xor ecx, ecx
add eax, 0x65
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004eaf82
mov edx, dword [esp + 0x30]
pop ecx
lea ecx, [esp + 0x54]
mov dword [esp + 0x18], eax
call fcn.0047d570
cmp dword [eax + 0x14], 8
jb 0x47d187
mov eax, dword [eax]
mov ecx, dword [esp + 0x1c]
push dword [ecx + 4]
push eax
push str.No_start_tag_for_end_tag__s_at_offset__d
push dword [esp + 0x24]
call fcn.005052e9
add esp, 0x10
lea ecx, [esp + 0x54]
push 0
push 1
call fcn.004510a8
push dword [esp + 0x18]
call fcn.00450d3f
pop ecx
push eax
push dword [esp + 0x1c]
lea ecx, [ebx + 0x18]
call fcn.00450cc6
push dword [esp + 0x18]
call fcn.0050266f
pop ecx
jmp 0x47d221
cmp eax, 0xffffffff
jne 0x47d229
mov eax, dword [ebx + 0x58]
mov edx, ebp
sar edx, 0x10
movzx ecx, bp
shl ecx, 5
mov eax, dword [eax]
or dword [eax + 0xc], 0x800000
mov eax, dword [ebx + 0x58]
mov eax, dword [eax + edx*4]
or dword [eax + ecx + 0xc], 0x200000
cmp dword [ebx + 0x28], edi
jne 0x47ce9d
mov ecx, dword [esp + 0x1c]
lea eax, [ebx + 0x18]
add ecx, 0x10
cmp eax, ecx
je 0x47ce9d
push 0xffffffffffffffff
push 0
push ecx
mov ecx, eax
call fcn.00450ff3
test edi, edi
jne 0x47d232
mov eax, dword [esp + 0x40]
cmp eax, 0xfffffffe
jne 0x47ce9d
mov ecx, dword [esp + 0x30]
cmp ecx, edi
jle 0x47d454
mov eax, dword [ebx + 0x58]
mov eax, dword [eax]
or dword [eax + 0xc], 0x800000
mov eax, ecx
sub eax, edi
sub ecx, eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x30], ecx
mov eax, dword [ebx + 0x58]
mov ecx, ebp
sar ecx, 0x10
movzx edi, bp
shl edi, 5
add edi, dword [eax + ecx*4]
mov dword [esp + 0x20], edi
and dword [edi + 8], 0x2fffff
mov eax, dword [edi + 8]
mov edx, dword [edi + 0x14]
and eax, 0x2fffff
or dword [edi + 0xc], 0x100000
mov ecx, dword [edi + 0xc]
and dword [edi + 0x14], 0
mov dword [edi + 4], eax
mov eax, 0x200000
mov dword [esp + 0x24], edx
mov edx, dword [edi + 0x10]
mov dword [esp + 0x1c], edx
test eax, ecx
je 0x47d2c8
xor ecx, eax
sar edx, 0x10
mov dword [edi + 0xc], ecx
mov eax, dword [ebx + 0x58]
mov ecx, dword [esp + 0x1c]
movzx ecx, cx
shl ecx, 5
mov eax, dword [eax + edx*4]
mov edx, dword [esp + 0x1c]
or dword [eax + ecx + 0xc], 0x200000
mov eax, dword [esp + 0x24]
test eax, eax
je 0x47d328
mov ecx, dword [ebx + 0x58]
mov edi, eax
movzx esi, ax
sar edi, 0x10
shl esi, 5
mov eax, dword [ecx + edi*4]
movzx ecx, bp
shl ecx, 5
mov dword [eax + esi + 0x10], edx
mov edx, ebp
mov eax, dword [ebx + 0x58]
sar edx, 0x10
mov eax, dword [eax + edi*4]
mov dword [eax + esi + 0x1c], ebp
mov eax, dword [ebx + 0x58]
mov eax, dword [eax + edx*4]
mov edx, dword [esp + 0x24]
mov ebp, edx
mov dword [eax + ecx + 0x18], edx
mov ecx, dword [ebx + 0x58]
mov edx, dword [esp + 0x1c]
mov eax, dword [ecx + edi*4]
mov eax, dword [eax + esi + 0x18]
mov dword [esp + 0x24], eax
test eax, eax
jne 0x47d2d3
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x3c]
mov ebp, dword [esp + 0x1c]
dec esi
cmp dword [ebx + 0x28], 0
mov dword [esp + 0x3c], esi
jne 0x47d44a
cmp dword [esp + 0x40], 0
mov eax, dword [esp + 0x34]
push 2
jne 0x47d3e8
mov edx, dword [esp + 0x30]
imul esi, esi, 0x28
mov ecx, dword [esi + eax + 0x20]
mov eax, dword [edx + 4]
sub eax, dword [edx]
add eax, 0x65
add eax, ecx
xor ecx, ecx
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004eaf82
mov edx, dword [esp + 0x30]
pop ecx
lea ecx, [esp + 0x6c]
mov dword [esp + 0x20], eax
call fcn.0047d570
mov ecx, eax
mov eax, dword [esp + 0x34]
add eax, 0x10
add eax, esi
cmp dword [eax + 0x14], 8
jb 0x47d398
mov eax, dword [eax]
cmp dword [ecx + 0x14], 8
jb 0x47d3a0
mov ecx, dword [ecx]
push dword [edi]
mov esi, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x34]
mov eax, dword [eax]
dec eax
push eax
push ecx
push str.End_tag__s_at_offset__d_does_not_match_start_tag__s_at_offset__d
push esi
call fcn.005052e9
add esp, 0x18
lea ecx, [esp + 0x6c]
push 0
push 1
call fcn.004510a8
push esi
call fcn.00450d3f
pop ecx
push eax
push esi
lea ecx, [ebx + 0x18]
call fcn.00450cc6
push esi
call fcn.0050266f
mov esi, dword [esp + 0x40]
jmp 0x47d449
imul ecx, esi, 0x28
pop edx
mov dword [esp + 0x20], ecx
mov eax, dword [ecx + eax + 0x20]
xor ecx, ecx
add eax, 0x64
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004eaf82
mov edx, dword [esp + 0x24]
mov edi, eax
pop ecx
mov ecx, dword [esp + 0x34]
lea eax, [ecx + 0x10]
add eax, edx
cmp dword [eax + 0x14], 8
jb 0x47d420
mov eax, dword [eax]
push dword [edx + ecx + 4]
push eax
push str.Element__s_at_offset__d_not_ended
push edi
call fcn.005052e9
push edi
call fcn.00450d3f
add esp, 0x14
lea ecx, [ebx + 0x18]
push eax
push edi
call fcn.00450cc6
push edi
call fcn.0050266f
pop ecx
dec dword [esp + 0x28]
jne 0x47d258
cmp dword [esp + 0x40], 0xfffffffe
je 0x47d488
mov eax, dword [ebx + 0x58]
mov edx, ebp
sar edx, 0x10
movzx ecx, bp
shl ecx, 5
dec esi
dec dword [esp + 0x30]
mov eax, dword [eax + edx*4]
mov dword [esp + 0x3c], esi
mov eax, dword [eax + ecx + 0x10]
mov ebp, eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], ebp
jmp 0x47ce9d
or dword [esp + 0x90], 0xffffffff
mov eax, dword [esp + 0x34]
test eax, eax
je 0x47d4b1
push 0x44ec00
lea esi, [eax - 4]
push dword [esi]
push 0x28
push eax
call fcn.00502674
push esi
call fcn.0050266f
pop ecx
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x88]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.005019be
add esp, 0x80
ret 8