Function at 0x1002f5a0
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x101230de
mov eax, dword fs:[0]
push eax
sub esp, 0xf4
mov eax, dword [0x1015d2f0]
xor eax, esp
mov dword [esp + 0xf0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1015d2f0]
xor eax, esp
push eax
lea eax, [esp + 0x108]
mov dword fs:[0], eax
mov eax, dword [esp + 0x11c]
mov ebp, dword [esp + 0x118]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0x64]
mov ecx, dword [eax]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
xor ebx, ebx
and eax, 0xffff
mov dword [esp + 0x34], eax
lea eax, [esp + 0x5c]
push eax
lea esi, [ebx + 7]
mov dword [esp + 0x34], ebp
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x2c], ebx
xor edi, edi
mov dword [esp + 0x60], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x6c], ebx
call fcn.1002b790
mov eax, dword [esp + 0x68]
mov ecx, 1
push 0x5c
mov dword [eax + 0x1c], ecx
mov dword [eax + 0x20], ecx
lea ecx, [esp + 0x78]
push ebx
push ecx
mov dword [eax + 0x28], ebx
mov dword [eax + 0x2c], ebx
mov dword [eax + 0x30], 0xffffffff
mov dword [eax + 0x38], ebx
mov dword [eax + 0x34], ebx
call fcn.100f8db0
add esp, 0xc
mov dword [esp + 0x110], ebx
mov dword [esp + 0x100], 0xf
mov dword [esp + 0xfc], ebx
mov byte [esp + 0xec], 0
mov edx, dword [esp + 0x14]
mov byte [esp + 0x110], 1
mov dword [edx + 8], ebx
jmp 0x1002f6a0
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0xd8]
push eax
push ecx
call fcn.1002d640
mov dword [esp + 0x24], eax
mov dword [esp + 0x1c], ebx
cmp eax, 1
jne 0x1002f842
mov esi, dword [ebp + 0x64]
mov edx, dword [esi + 4]
mov ecx, dword [ebp + 0x44]
cmp ecx, edx
jne 0x1002f6e0
mov eax, ecx
sar eax, 1
add eax, ecx
cmp edx, eax
jge 0x1002f6e0
push eax
call fcn.1002b0e0
mov edi, dword [ebp + 0x44]
lea edx, [edi + 1]
mov dword [ebp + 0x44], edx
cmp dword [esp + 0x28], ebx
jne 0x1002f6f3
mov dword [esp + 0x28], edi
mov eax, dword [ebp + 0x64]
mov edx, dword [eax]
mov eax, edi
and eax, 0xffff
mov ecx, edi
sar ecx, 0x10
shl eax, 5
add eax, dword [edx + ecx*4]
mov edx, dword [esp + 0x18]
mov dword [eax + 0x10], edx
mov dword [eax + 0x18], ebx
mov esi, dword [ebp + 0x64]
mov ebx, dword [esi]
mov ecx, edx
and edx, 0xffff
sar ecx, 0x10
shl edx, 5
add edx, dword [ebx + ecx*4]
xor ebx, ebx
mov ecx, dword [edx + 0x14]
cmp ecx, ebx
je 0x1002f77b
mov ebx, dword [esi]
mov edx, ecx
and ecx, 0xffff
shl ecx, 5
sar edx, 0x10
add ecx, dword [ebx + edx*4]
mov esi, ebx
mov edx, dword [ecx + 0x1c]
mov dword [esp + 0x24], ecx
mov ecx, edx
mov ebx, edx
sar ecx, 0x10
mov ecx, dword [esi + ecx*4]
and ebx, 0xffff
shl ebx, 5
mov dword [ecx + ebx + 0x18], edi
mov dword [eax + 0x1c], edx
mov edx, dword [esp + 0x24]
mov dword [edx + 0x1c], edi
mov dword [eax + 0xc], 0
xor ebx, ebx
jmp 0x1002f788
mov dword [edx + 0x14], edi
mov dword [eax + 0x1c], edi
mov dword [eax + 0xc], 0x80000
mov esi, dword [eax + 0xc]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x34]
add edx, ecx
and esi, 0xffff0000
or esi, edx
mov dword [eax + 0xc], esi
mov dword [eax + 0x14], ebx
mov edx, dword [esp + 0xdc]
mov dword [eax], edx
mov edx, dword [eax + 8]
xor edx, dword [esp + 0xe0]
and edx, 0x3fffff
xor dword [eax + 8], edx
test dword [esp + 0xe4], 0x10000
mov edx, dword [eax + 8]
je 0x1002f7eb
mov edi, dword [esp + 0x18]
and edx, 0x3fffff
mov dword [eax + 8], edx
mov ecx, dword [esp + 0xe0]
mov dword [eax + 4], ecx
jmp 0x1002f6a0
mov eax, dword [esp + 0x14]
mov edx, dword [eax]
mov ebx, dword [eax + 4]
mov eax, dword [eax + 0xc]
sub ebx, edx
add eax, edx
mov edx, dword [esp + 0x70]
inc ecx
inc ebx
mov dword [esp + 0x18], edi
mov dword [esp + 0x24], eax
mov dword [esp + 0x5c], ecx
cmp ecx, edx
jne 0x1002f826
lea ecx, [esp + 0x5c]
lea esi, [edx + edx]
push ecx
call fcn.1002b790
mov ecx, dword [esp + 0x5c]
mov eax, dword [esp + 0x24]
mov edx, ecx
shl edx, 4
sub edx, ecx
mov ecx, dword [esp + 0x68]
push ebx
lea ecx, [ecx + edx*4]
push eax
call fcn.10004290
xor ebx, ebx
jmp 0x1002f6a0
cmp eax, ebx
jne 0x1002fb47
mov ecx, dword [esp + 0x5c]
mov esi, edi
mov dword [esp + 0x1c], ecx
cmp ecx, ebx
je 0x1002f927
mov edx, dword [esp + 0x14]
mov eax, dword [edx]
mov ebx, dword [edx + 4]
mov edx, dword [edx + 0x10]
and edx, 8
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0x14]
mov edx, dword [edx + 0xc]
sub ebx, eax
add edx, eax
mov eax, ecx
shl eax, 4
inc ebx
sub eax, ecx
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x38], edx
lea ecx, [ecx + eax*4]
lea ecx, [ecx]
mov eax, ecx
sub ecx, 0x3c
cmp dword [eax + 0x18], 0x10
mov dword [esp + 0x20], ecx
jb 0x1002f8a8
mov edx, dword [eax + 4]
mov dword [esp + 0x2c], edx
jmp 0x1002f8af
add eax, 4
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
push eax
mov eax, dword [esp + 0x30]
push ebx
call fcn.1002a330
add esp, 8
test eax, eax
jne 0x1002f8ea
mov ecx, dword [esp + 0x2c]
mov al, byte [ecx + ebx]
test al, al
je 0x1002f91a
cmp al, 0x20
jl 0x1002f8ea
cmp al, 0x5d
jg 0x1002f8ea
movsx edx, al
movsx eax, byte [edx + 0x10141a68]
test eax, eax
jne 0x1002f91a
mov ecx, dword [esp + 0x1c]
mov eax, dword [ebp + 0x64]
mov eax, dword [eax]
mov edx, esi
and esi, 0xffff
sar edx, 0x10
mov edx, dword [eax + edx*4]
dec ecx
shl esi, 5
mov esi, dword [edx + esi + 0x10]
mov dword [esp + 0x1c], ecx
test ecx, ecx
je 0x1002f925
mov ecx, dword [esp + 0x20]
jmp 0x1002f890
cmp dword [esp + 0x1c], 0
jne 0x1002faff
xor ebx, ebx
mov eax, dword [ebp + 0x64]
mov eax, dword [eax]
mov eax, dword [eax]
or dword [eax + 0xc], 0x800000
mov eax, dword [ebp + 0x64]
mov edx, dword [eax]
mov ecx, edi
sar ecx, 0x10
mov ecx, dword [edx + ecx*4]
mov eax, edi
and eax, 0xffff
shl eax, 5
or dword [ecx + eax + 0xc], 0x200000
lea eax, [ecx + eax + 0xc]
mov ecx, dword [esp + 0x14]
lea esi, [esp + 0x40]
call fcn.1002b260
mov byte [esp + 0x110], 2
mov edx, dword [esp + 0xdc]
push 0xffffffffffffffff
push edx
push ebx
push ecx
mov esi, 0x10
mov dword [esp + 0x30], esp
mov ecx, esp
cmp dword [eax + 0x18], esi
jb 0x1002f98e
mov eax, dword [eax + 4]
jmp 0x1002f991
add eax, 4
push ecx
mov dword [ecx], eax
mov eax, esp
mov dword [eax], str.lone_end_tag
lea eax, [ebp + 0x1c]
mov dword [esp + 0x34], esp
push eax
call fcn.1002a3e0
add esp, 0x18
mov byte [esp + 0x110], 1
cmp dword [esp + 0x58], esi
jb 0x1002f9c7
mov ecx, dword [esp + 0x44]
push ecx
call fcn.100f4085
add esp, 4
mov dword [esp + 0x58], 0xf
mov dword [esp + 0x54], ebx
mov byte [esp + 0x44], 0
cmp dword [esp + 0x1c], ebx
je 0x1002f6a0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x5c]
cmp ecx, dword [esp + 0x1c]
jle 0x1002fc07
mov eax, dword [ebp + 0x64]
mov edx, dword [eax]
mov eax, dword [edx]
or dword [eax + 0xc], 0x800000
mov eax, dword [ebp + 0x64]
mov edx, dword [eax]
mov eax, edi
and eax, 0xffff
mov ecx, edi
sar ecx, 0x10
shl eax, 5
add eax, dword [edx + ecx*4]
and dword [eax + 8], 0x3fffff
or dword [eax + 0xc], 0x100000
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov ebx, dword [eax + 0x10]
mov esi, dword [eax + 0x14]
and ecx, 0x3fffff
mov dword [esp + 0x18], ebx
mov dword [eax + 0x14], 0
mov dword [eax + 4], ecx
test edx, 0x200000
je 0x1002fa7e
xor edx, 0x200000
mov dword [eax + 0xc], edx
mov ecx, dword [ebp + 0x64]
mov ecx, dword [ecx]
mov edx, ebx
and ebx, 0xffff
sar edx, 0x10
mov edx, dword [ecx + edx*4]
shl ebx, 5
or dword [edx + ebx + 0xc], 0x200000
lea ecx, [edx + ebx + 0xc]
mov ebx, dword [esp + 0x18]
test esi, esi
je 0x1002fae8
mov ebp, dword [ebp + 0x64]
mov ebp, dword [ebp]
mov ecx, esi
sar ecx, 0x10
mov edx, esi
add ecx, ecx
add ecx, ecx
mov ebp, dword [ecx + ebp]
and edx, 0xffff
shl edx, 5
mov dword [edx + ebp + 0x10], ebx
mov ebx, dword [esp + 0x30]
mov ebp, dword [ebx + 0x64]
mov ebp, dword [ebp]
mov ebp, dword [ecx + ebp]
mov dword [edx + ebp + 0x1c], edi
mov ebx, dword [ebx + 0x64]
mov ebx, dword [ebx]
mov ebp, edi
sar ebp, 0x10
mov ebx, dword [ebx + ebp*4]
mov ebp, dword [esp + 0x30]
and edi, 0xffff
shl edi, 5
mov dword [ebx + edi + 0x18], esi
mov ebx, dword [esp + 0x18]
mov edi, esi
mov esi, dword [ebp + 0x64]
mov esi, dword [esi]
mov ecx, dword [esi + ecx]
mov esi, dword [ecx + edx + 0x18]
test esi, esi
jne 0x1002fa82
cmp dword [esp + 0x24], 0
jne 0x1002fba4
mov edx, dword [esp + 0x14]
mov edx, dword [edx]
dec edx
jmp 0x1002fba7
mov eax, dword [ebp + 0x64]
mov eax, dword [eax]
mov ecx, dword [esp + 0xe0]
mov edx, esi
sar edx, 0x10
and esi, 0xffff
shl esi, 5
add esi, dword [eax + edx*4]
sub ecx, dword [esi]
mov edx, dword [esi + 8]
add ecx, dword [esp + 0xdc]
and edx, 0x3fffff
mov dword [esi + 4], ecx
mov eax, dword [esp + 0xe0]
shl eax, 0x16
or edx, eax
mov dword [esi + 8], edx
xor ebx, ebx
jmp 0x1002f9d8
cmp eax, 0xffffffff
jne 0x1002fb96
mov eax, dword [ebp + 0x64]
mov ecx, dword [eax]
mov eax, dword [ecx]
or dword [eax + 0xc], 0x800000
mov eax, dword [ebp + 0x64]
mov eax, dword [eax]
mov edx, edi
mov ecx, edi
and ecx, 0xffff
sar edx, 0x10
mov edx, dword [eax + edx*4]
shl ecx, 5
or dword [edx + ecx + 0xc], 0x200000
lea eax, [edx + ecx + 0xc]
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0xf0]
push eax
lea ecx, [ebp + 0x1c]
call fcn.10006300
jmp 0x1002f6a0
cmp eax, 0xfffffffe
jne 0x1002f6a0
jmp 0x1002f9e6
mov edx, dword [ebp + 0x14]
mov esi, dword [esp + 0x5c]
mov edi, dword [esp + 0x68]
push edx
mov edx, dword [eax]
mov ecx, esi
shl ecx, 4
sub ecx, esi
cmp dword [edi + ecx*4 + 0x18], 0x10
push edx
lea ecx, [edi + ecx*4]
push 0
push ecx
mov dword [esp + 0x30], esp
mov eax, esp
jb 0x1002fbd2
mov ecx, dword [ecx + 4]
jmp 0x1002fbd5
add ecx, 4
push ecx
mov dword [eax], ecx
mov eax, esp
mov dword [eax], str.unended_start_tag
lea eax, [ebp + 0x1c]
mov dword [esp + 0x34], esp
push eax
call fcn.1002a3e0
dec esi
add esp, 0x18
cmp esi, dword [esp + 0x1c]
mov edi, ebx
mov dword [esp + 0x5c], esi
jg 0x1002fa02
mov eax, dword [esp + 0x24]
xor ebx, ebx
cmp eax, 0xfffffffe
je 0x1002fc33
mov ecx, dword [ebp + 0x64]
mov edx, dword [ecx]
mov eax, edi
and edi, 0xffff
sar eax, 0x10
mov eax, dword [edx + eax*4]
shl edi, 5
mov edi, dword [eax + edi + 0x10]
dec dword [esp + 0x5c]
mov dword [esp + 0x18], edi
jmp 0x1002f6a0
cmp dword [esp + 0x100], 0x10
jb 0x1002fc4d
mov ecx, dword [esp + 0xec]
push ecx
call fcn.100f4085
add esp, 4
mov dword [esp + 0x110], 0xffffffff
mov eax, dword [esp + 0x68]
mov dword [esp + 0x100], 0xf
mov dword [esp + 0xfc], ebx
mov byte [esp + 0xec], 0
cmp eax, ebx
je 0x1002fc97
mov edx, dword [eax - 4]
lea esi, [eax - 4]
push fcn.1002b8e0
push edx
push 0x3c
push eax
call fcn.100f5d2d
push esi
call fcn.100f407a
add esp, 4
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x108]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xf0]
xor ecx, esp
call fcn.100f30a6
add esp, 0x100
ret 8