Function at 0x1001f022
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1004beb5
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x100611cc]
xor eax, esp
mov dword [esp + 0x58], eax
push ebx
push esi
push edi
mov eax, dword [0x100611cc]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x10]
push dword [ebp + 8]
and dword [esp + 0x14], 0
mov ebx, ecx
mov esi, edx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x20], eax
call fcn.10002583
mov edi, dword [eax + 0x1c]
push 0xf
pop esi
and edi, esi
cmp edi, 1
mov dword [esp + 0x20], eax
mov dword [esp + 0x14], edi
jne 0x1001f0a8
cmp dword [eax + 0x18], 0x10
jb 0x1001f095
mov eax, dword [eax + 4]
jmp 0x1001f098
add eax, 4
push dword [esp + 0x1c]
push dword [ebp + 0xc]
push eax
push ebx
call fcn.1001fc38
jmp 0x1001f0ca
cmp edi, 2
jne 0x1001f0d6
cmp dword [eax + 0x18], 0x10
jb 0x1001f0b8
mov eax, dword [eax + 4]
jmp 0x1001f0bb
add eax, 4
push dword [esp + 0x1c]
inc eax
push dword [ebp + 0xc]
push eax
push ebx
call fcn.1001fda1
add esp, 0x10
mov dword [esp + 0x10], eax
jmp 0x1001f37e
test word [ebx + 4], 0x200
jne 0x1001f0fd
push 0x66
pop eax
mov ecx, str.Indexing_applied_to_non_array
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
push 0x10058310
lea eax, [esp + 0x18]
push eax
call fcn.1003a718
cmp edi, 3
jne 0x1001f11a
push dword [ebp + 0xc]
push ebx
mov ebx, eax
call fcn.1001edf5
mov ebx, dword [esp + 0x2c]
pop ecx
pop ecx
mov esi, eax
jmp 0x1001f231
cmp edi, 4
jne 0x1001f12f
lea eax, [ebx + 0x44]
call fcn.1000250f
mov esi, eax
dec esi
jmp 0x1001f231
cmp edi, 6
jne 0x1001f1b2
push 0
lea ecx, [esp + 0x50]
mov dword [esp + 0x68], esi
call fcn.10002a5b
and dword [esp + 0x78], 0
push 0
lea ecx, [esp + 0x34]
mov dword [esp + 0x4c], esi
call fcn.10002a5b
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x50]
push eax
mov byte [esp + 0x80], 1
call fcn.1001eec8
cmp dword [esp + 0x50], 0x10
pop ecx
pop ecx
mov ecx, dword [esp + 0x34]
jae 0x1001f183
lea ecx, [esp + 0x34]
cmp dword [esp + 0x64], 0x10
mov eax, dword [esp + 0x50]
jae 0x1001f192
lea eax, [esp + 0x50]
push ecx
push eax
mov eax, ebx
call fcn.1001ff70
pop ecx
pop ecx
push 0
push 1
lea ecx, [esp + 0x38]
mov esi, eax
call fcn.10002a77
lea ecx, [esp + 0x4c]
jmp 0x1001f223
cmp edi, 5
jne 0x1001f3bc
push 0
lea ecx, [esp + 0x34]
mov dword [esp + 0x4c], esi
call fcn.10002a5b
mov dword [esp + 0x78], 2
push 0
lea ecx, [esp + 0x50]
mov dword [esp + 0x68], esi
call fcn.10002a5b
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x34]
push eax
mov byte [esp + 0x80], 3
call fcn.1001eec8
lea eax, [esp + 0x54]
push eax
lea eax, [esp + 0x3c]
push eax
mov eax, ebx
call fcn.1001ef63
add esp, 0x10
push 0
push 1
lea ecx, [esp + 0x54]
mov esi, eax
call fcn.10002a77
lea ecx, [esp + 0x30]
or dword [esp + 0x78], 0xffffffff
push 0
push 1
call fcn.10002a77
test esi, esi
jl 0x1001f25c
lea eax, [ebx + 0x44]
mov dword [esp + 0x28], eax
call fcn.1000250f
cmp esi, eax
jg 0x1001f25c
mov edi, dword [esp + 0x28]
call fcn.10002522
mov eax, dword [eax]
mov edi, dword [esp + 0x14]
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x10], eax
cmp esi, 0xffffffff
jne 0x1001f33b
cmp byte [ebp + 0xc], 0
je 0x1001f33b
cmp byte [ebp + 0x14], 0
je 0x1001f33b
cmp edi, 5
jne 0x1001f33b
push 0x64
call fcn.1001ea28
pop ecx
mov dword [esp + 0x14], eax
test eax, eax
mov dword [esp + 0x78], 4
je 0x1001f2af
push 0x8050
push 0x100505ac
push ebx
push eax
call fcn.10001148
mov esi, eax
jmp 0x1001f2b1
xor esi, esi
or dword [esp + 0x78], 0xffffffff
push 0x64
mov dword [esp + 0x14], esi
call fcn.1001ea28
pop ecx
mov dword [esp + 0x14], eax
test eax, eax
mov dword [esp + 0x78], 5
je 0x1001f2e7
push 0x20
push str.x_default
push str.xml:lang
push esi
push eax
call fcn.10003b47
jmp 0x1001f2e9
xor eax, eax
or dword [esp + 0x78], 0xffffffff
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push eax
lea eax, [esi + 0x54]
call fcn.100053f3
lea esi, [ebx + 0x44]
mov eax, esi
call fcn.1000250f
test eax, eax
jne 0x1001f31b
lea eax, [esp + 0x10]
push eax
mov eax, esi
call fcn.100053f3
jmp 0x1001f339
mov edi, dword [esi + 4]
cmp edi, dword [esi + 8]
jbe 0x1001f328
call fcn.10036494
push edi
push esi
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x20]
push eax
call fcn.1000544d
xor esi, esi
mov eax, dword [esp + 0x10]
test eax, eax
je 0x1001f39e
cmp dword [esp + 0x1c], 0
je 0x1001f37e
mov edi, dword [ebx + 0x48]
add ebx, 0x44
cmp edi, dword [ebx + 8]
jbe 0x1001f35a
call fcn.10036494
mov dword [esp + 0x18], edi
push esi
lea edi, [esp + 0x2c]
lea eax, [esp + 0x18]
mov dword [esp + 0x18], ebx
call fcn.100054e4
mov edx, dword [eax]
mov ecx, dword [esp + 0x1c]
mov dword [ecx], edx
mov eax, dword [eax + 4]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x10]
test eax, eax
je 0x1001f39e
test word [eax + 4], 0x8000
je 0x1001f39e
mov ecx, dword [esp + 0x20]
mov ecx, dword [ecx + 0x1c]
and ecx, 0x1e00
or dword [eax + 4], ecx
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.1003635b
mov esp, ebp
pop ebp
ret
push 9
pop eax
mov ecx, str.Unknown_array_indexing_step_in_FollowXPathStep
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
push 0x10058310
lea eax, [esp + 0x18]
jmp 0x1001f0f7