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

Disassembly:
push 0xffffffffffffffff
push 0x533f30
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x590700]
xor eax, esp
mov dword [esp + 0x68], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x590700]
xor eax, esp
push eax
lea eax, [esp + 0x80]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x40], ebx
mov eax, dword [ebx + 0x58]
xor esi, esi
mov edx, dword [esp + 0x94]
mov ecx, esi
mov dword [esp + 0x28], ecx
mov ebp, esi
lea ecx, [ebx + 0x18]
mov dword [esp + 0x24], edx
mov eax, dword [eax]
push esi
mov dword [esp + 0x48], esi
mov dword [esp + 0x20], ebp
movzx eax, word [eax + 0xc]
mov dword [esp + 0x4c], eax
mov dword [edx + 8], esi
call fcn.00450de1
mov dword [esp + 0x34], esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x88], esi
lea ecx, [esp + 0x30]
push 6
mov dword [esp + 0x3c], esi
call fcn.0047dd75
mov dword [esp + 0x2c], esi
mov esi, dword [esp + 0x38]
mov ecx, dword [esp + 0x24]
imul eax, esi, 0x28
add eax, dword [esp + 0x30]
mov edx, eax
mov dword [esp + 0x18], eax
call fcn.0047f494
xor edi, edi
mov dword [esp + 0x3c], eax
cmp eax, 1
jne 0x47ee60
mov ecx, ebx
call fcn.0047de81
mov ebp, eax
mov eax, dword [esp + 0x44]
test eax, eax
mov dword [esp + 0x1c], ebp
mov ecx, ebp
cmove eax, ebp
sar ecx, 0x10
mov dword [esp + 0x44], eax
mov eax, dword [ebx + 0x58]
movzx ebx, bp
shl ebx, 5
add ebx, dword [eax + ecx*4]
mov eax, dword [esp + 0x40]
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 + 0x14], edx
mov eax, dword [edx + eax*4]
mov edi, dword [eax + ecx + 0x14]
mov dword [esp + 0x3c], edi
test edi, edi
je 0x47edc2
mov eax, dword [esp + 0x3c]
mov ebx, dword [esp + 0x14]
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 + 0x40]
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 + 0x38]
jmp 0x47edd0
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 + 0x48]
and eax, 0xffff0000
mov edx, dword [esp + 0x18]
mov edi, dword [esp + 0x2c]
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 0x47ee2a
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 + 0x40]
mov dword [esp + 0x1c], ebp
jmp 0x47ecf6
mov eax, dword [esp + 0x34]
inc edi
mov ebx, dword [esp + 0x40]
inc esi
mov dword [esp + 0x2c], edi
mov ecx, ebp
mov dword [esp + 0x28], ecx
mov dword [esp + 0x38], esi
cmp esi, eax
jne 0x47ecf6
lea eax, [eax*2 + 6]
push eax
lea ecx, [esp + 0x34]
call fcn.0047dd75
jmp 0x47ecf2
test eax, eax
jne 0x47efc5
mov eax, dword [esp + 0x2c]
mov edi, eax
mov dword [esp + 0x14], ebp
test eax, eax
je 0x47ef13
mov ecx, dword [esp + 0x30]
mov ebp, dword [esp + 0x24]
imul eax, eax, 0x28
lea esi, [ecx - 0x18]
add esi, eax
cmp dword [esi + 0x14], 8
push ecx
mov ecx, esp
jb 0x47ee97
mov eax, dword [esi]
jmp 0x47ee99
mov eax, esi
mov dword [ecx], eax
mov ecx, ebp
call fcn.0047dcfc
test al, al
jne 0x47eecb
mov ecx, dword [esp + 0x14]
sub esi, 0x28
mov eax, dword [ebx + 0x58]
mov edx, ecx
sar edx, 0x10
movzx ecx, cx
shl ecx, 5
mov eax, dword [eax + edx*4]
mov edx, dword [eax + ecx + 0x10]
mov dword [esp + 0x14], edx
dec edi
jne 0x47ee8a
jmp 0x47eecf
mov edx, dword [esp + 0x14]
mov ebp, dword [esp + 0x1c]
mov esi, dword [esp + 0x38]
test edi, edi
je 0x47ef13
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 + 0x18]
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 0x47f008
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 0x47f008
mov ecx, dword [esp + 0x24]
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.004eca81
mov edx, dword [esp + 0x28]
pop ecx
lea ecx, [esp + 0x4c]
mov dword [esp + 0x14], eax
call fcn.0047f354
cmp dword [eax + 0x14], 8
jb 0x47ef7c
mov eax, dword [eax]
mov ecx, dword [esp + 0x18]
push dword [ecx + 4]
push eax
push str.No_start_tag_for_end_tag__s_at_offset__d
push dword [esp + 0x20]
call fcn.00507409
add esp, 0x10
lea ecx, [esp + 0x4c]
push 0
push 1
call fcn.004510e8
push dword [esp + 0x14]
call fcn.00450d8e
pop ecx
push eax
push dword [esp + 0x18]
lea ecx, [ebx + 0x18]
call fcn.00450d21
push dword [esp + 0x14]
call fcn.0050478f
pop ecx
jmp 0x47f008
cmp eax, 0xffffffff
jne 0x47f010
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 0x47ecf6
mov eax, dword [esp + 0x18]
lea ecx, [ebx + 0x18]
add eax, 0x10
push eax
call fcn.00451093
test edi, edi
jne 0x47f019
mov eax, dword [esp + 0x3c]
cmp eax, 0xfffffffe
jne 0x47ecf6
mov ecx, dword [esp + 0x2c]
cmp ecx, edi
jle 0x47f23b
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 + 0x2c], 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 + 0x1c], edx
mov edx, dword [edi + 0x10]
mov dword [esp + 0x18], edx
test eax, ecx
je 0x47f0af
xor ecx, eax
sar edx, 0x10
mov dword [edi + 0xc], ecx
mov eax, dword [ebx + 0x58]
mov ecx, dword [esp + 0x18]
movzx ecx, cx
shl ecx, 5
mov eax, dword [eax + edx*4]
mov edx, dword [esp + 0x18]
or dword [eax + ecx + 0xc], 0x200000
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x47f10f
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 + 0x1c]
mov ebp, edx
mov dword [eax + ecx + 0x18], edx
mov ecx, dword [ebx + 0x58]
mov edx, dword [esp + 0x18]
mov eax, dword [ecx + edi*4]
mov eax, dword [eax + esi + 0x18]
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x47f0ba
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x38]
mov ebp, dword [esp + 0x18]
dec esi
cmp dword [ebx + 0x28], 0
mov dword [esp + 0x38], esi
jne 0x47f231
cmp dword [esp + 0x3c], 0
mov eax, dword [esp + 0x30]
push 2
jne 0x47f1cf
mov edx, dword [esp + 0x28]
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.004eca81
mov edx, dword [esp + 0x28]
pop ecx
lea ecx, [esp + 0x64]
mov dword [esp + 0x20], eax
call fcn.0047f354
mov ecx, eax
mov eax, dword [esp + 0x30]
add eax, 0x10
add eax, esi
cmp dword [eax + 0x14], 8
jb 0x47f17f
mov eax, dword [eax]
cmp dword [ecx + 0x14], 8
jb 0x47f187
mov ecx, dword [ecx]
push dword [edi]
mov esi, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x2c]
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.00507409
add esp, 0x18
lea ecx, [esp + 0x64]
push 0
push 1
call fcn.004510e8
push esi
call fcn.00450d8e
pop ecx
push eax
push esi
lea ecx, [ebx + 0x18]
call fcn.00450d21
push esi
call fcn.0050478f
mov esi, dword [esp + 0x3c]
jmp 0x47f230
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.004eca81
mov edx, dword [esp + 0x24]
mov edi, eax
pop ecx
mov ecx, dword [esp + 0x30]
lea eax, [ecx + 0x10]
add eax, edx
cmp dword [eax + 0x14], 8
jb 0x47f207
mov eax, dword [eax]
push dword [edx + ecx + 4]
push eax
push str.Element__s_at_offset__d_not_ended
push edi
call fcn.00507409
push edi
call fcn.00450d8e
add esp, 0x14
lea ecx, [ebx + 0x18]
push eax
push edi
call fcn.00450d21
push edi
call fcn.0050478f
pop ecx
dec dword [esp + 0x28]
jne 0x47f03f
cmp dword [esp + 0x3c], 0xfffffffe
je 0x47f26f
mov eax, dword [ebx + 0x58]
mov edx, ebp
sar edx, 0x10
movzx ecx, bp
shl ecx, 5
dec esi
dec dword [esp + 0x2c]
mov eax, dword [eax + edx*4]
mov dword [esp + 0x38], esi
mov eax, dword [eax + ecx + 0x10]
mov ebp, eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x1c], ebp
jmp 0x47ecf6
or dword [esp + 0x88], 0xffffffff
mov eax, dword [esp + 0x30]
test eax, eax
je 0x47f298
push 0x44ec64
lea esi, [eax - 4]
push dword [esi]
push 0x28
push eax
call fcn.00504794
push esi
call fcn.0050478f
pop ecx
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.00503ade
add esp, 0x78
ret 8