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

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x48
movaps xmmword [rsp + 0x30], xmm6
mov r12, r8
mov rsi, rdx
mov r15, rcx
mov r14d, dword [rsp + 0xb0]
cmp r14d, 0x29
jl 0x140217db0
cmp r14d, 0x64
ja 0x140217e22
mov eax, 0x80000
and eax, dword [rsi + 0x224]
je 0x140217e22
mov rbx, qword [rsp + 0xc8]
mov rax, qword [rsp + 0xc0]
mov r8, qword [rsp + 0xb8]
test rbx, rbx
je 0x140217dd4
mov qword [rbx], 0
mov rcx, r8
or rcx, rax
sete cl
mov ebp, 1
test r15, r15
je 0x140217deb
test cl, cl
je 0x140217e03
mov eax, ebp
movaps xmm6, xmmword [rsp + 0x30]
add rsp, 0x48
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov qword [rsp + 0x20], rsi
mov rcx, r12
mov rdx, r9
mov r9, rax
call fcn.1402199e1
mov ebp, 0x1b
test rax, rax
je 0x140217deb
jmp 0x140217e3d
lea r8, str.Maximum_entity_nesting_depth_exceeded
mov ebp, 0x59
mov rcx, rsi
mov edx, 0x59
call fcn.14014a0d6
jmp 0x140217deb
mov rdi, rax
movzx eax, word [rsi + 0x2d4]
mov word [rdi + 0x2d4], ax
movzx eax, word [rsi + 0x2d6]
mov word [rdi + 0x2d6], ax
mov rcx, rdi
call fcn.1400d775f
lea rcx, [0x1402b9581]
call fcn.1400d0446
test rax, rax
je 0x140217f13
mov rbp, rax
mov r13, rax
mov dword [rbp + 0xac], 0x40
mov rax, qword [r15 + 0x50]
mov qword [rbp + 0x50], rax
mov rax, qword [r15 + 0x58]
mov qword [rbp + 0x58], rax
mov rcx, qword [r15 + 0x98]
test rcx, rcx
je 0x140217eb1
mov qword [r13 + 0x98], rcx
call fcn.1400d040f
mov rcx, qword [r15 + 0x88]
test rcx, rcx
je 0x140217ec9
call fcn.1400d0524
mov qword [r13 + 0x88], rax
add rbp, 0x50
lea r8, str.pseudoroot
mov qword [rsp + 0x28], r13
mov rcx, r13
xor edx, edx
xor r9d, r9d
call fcn.1401f3995
test rax, rax
jne 0x140217f1d
test r12, r12
je 0x140217ef8
mov rcx, rdi
call fcn.1400cd9c9
xorps xmm0, xmm0
movups xmmword [rbp], xmm0
mov rcx, qword [rsp + 0x28]
call fcn.1400dea00
mov ebp, 1
jmp 0x140217deb
mov rcx, rdi
call fcn.1400cd9c9
jmp 0x140217f09
mov r13, rax
mov r12, qword [rsp + 0x28]
mov rcx, r12
mov rdx, rax
call fcn.14007327b
mov rdx, qword [r12 + 0x18]
mov rcx, rdi
call fcn.140072fb9
mov qword [rdi + 0x10], r15
mov qword [r13 + 0x40], r15
mov rcx, rdi
call fcn.1400d841f
mov rax, qword [rdi + 0x38]
mov rax, qword [rax + 0x20]
cmp byte [rax], 0x3c
jne 0x140217f76
cmp byte [rax + 1], 0x3f
jne 0x140217f76
cmp byte [rax + 2], 0x78
jne 0x140217f76
cmp byte [rax + 3], 0x6d
jne 0x140217f76
cmp byte [rax + 4], 0x6c
je 0x14021826d
mov dword [rdi + 0x108], 7
mov dword [rdi + 0x178], r14d
mov rax, qword [rsi + 0x198]
mov qword [rdi + 0x198], rax
mov eax, dword [rsi + 0x1a0]
mov dword [rdi + 0x1a0], eax
mov eax, dword [rsi + 0x94]
mov dword [rdi + 0x94], eax
mov eax, dword [rsi + 0x90]
mov dword [rdi + 0x90], eax
mov eax, dword [rsi + 0x1c]
mov dword [rdi + 0x1c], eax
cmp dword [rsi + 0x94], 0
je 0x140217ffe
mov rax, qword [rsi + 0xa0]
mov qword [rdi + 0xa0], rax
mov rax, qword [rsi + 0xa8]
mov qword [rdi + 0xa8], rax
mov rax, qword [rsi + 0x98]
mov qword [rdi + 0x98], rax
mov eax, dword [rsi + 0xc8]
mov dword [rdi + 0xc8], eax
mov eax, dword [rsi + 0x8c]
mov dword [rdi + 0x8c], eax
mov rcx, qword [rdi + 0x1b8]
test rcx, rcx
mov r13, qword [rsp + 0x28]
je 0x140218020
call fcn.1400cdce3
mov rcx, qword [rsi + 0x1b8]
mov qword [rdi + 0x1b8], rcx
lea rdx, [0x1402b9713]
mov r8d, 3
call fcn.1400d781c
mov qword [rdi + 0x1d0], rax
mov rcx, qword [rdi + 0x1b8]
lea rdx, str.xmlns
mov r8d, 5
call fcn.1400d781c
mov qword [rdi + 0x1d8], rax
mov rcx, qword [rdi + 0x1b8]
lea rdx, str.http:__www.w3.org_XML_1998_namespace
mov r8d, 0x24
call fcn.1400d781c
mov qword [rdi + 0x1e0], rax
mov eax, dword [rsi + 0x228]
mov dword [rdi + 0x228], eax
mov rax, qword [rsi + 0x210]
mov qword [rdi + 0x210], rax
mov rax, qword [rsi + 0x218]
mov qword [rdi + 0x218], rax
mov eax, dword [rsi + 0x1a4]
mov dword [rdi + 0x1a4], eax
mov eax, dword [rsi + 0x68]
mov dword [rdi + 0x68], eax
mov eax, dword [rsi + 0x70]
mov dword [rdi + 0x70], eax
mov eax, dword [rsi + 0x74]
mov dword [rdi + 0x74], eax
mov rax, qword [rsi + 0x78]
mov qword [rdi + 0x78], rax
mov rcx, rdi
call fcn.140218fb5
mov rax, qword [rdi + 0x38]
mov rax, qword [rax + 0x20]
movzx ecx, byte [rax]
test ecx, ecx
je 0x14021810c
cmp ecx, 0x3c
jne 0x1402180fc
mov edx, 0x55
cmp byte [rax + 1], 0x2f
je 0x140218101
mov edx, 0x56
mov rcx, rdi
xor r8d, r8d
call fcn.1400db06e
mov rax, qword [rdi + 0x50]
cmp rax, qword [r13 + 0x18]
je 0x140218126
mov rcx, rdi
mov edx, 0x55
xor r8d, r8d
call fcn.1400db06e
mov r12, rbp
lea r15, [rdi + 0x210]
lea r14, [rdi + 0x70]
cmp dword [rdi + 0x18], 0
je 0x14021814c
test rbx, rbx
je 0x14021819b
mov rax, qword [r13 + 0x18]
mov rax, qword [rax + 0x18]
mov qword [rbx], rax
jmp 0x140218185
mov ebp, dword [rdi + 0x80]
mov dword [rsi + 0x80], ebp
mov dword [rsi + 0x18], 0
mov eax, 0x248
lea rdx, [rsi + rax]
mov rcx, rdi
add rcx, rax
call fcn.1400dbc4c
mov rax, qword [rdi + 0x38]
jmp 0x1402181a1
mov qword [rax + 0x28], 0
mov rax, qword [rax + 0x30]
test rax, rax
jne 0x140218179
mov r13, qword [rsp + 0x28]
mov rax, qword [r13 + 0x18]
mov qword [rax + 0x18], 0
mov rax, qword [rdi + 0x38]
xor ebp, ebp
test rax, rax
je 0x1402181f5
mov ecx, dword [rax + 0x20]
sub ecx, dword [rax + 0x18]
add ecx, dword [rax + 0x3c]
mov eax, 0xffffffff
cmovb ecx, eax
mov edx, dword [rsi + 0x2a8]
add edx, ecx
cmovb edx, eax
mov dword [rsi + 0x2a8], edx
add edx, dword [rdi + 0x2a8]
cmovb edx, eax
mov dword [rsi + 0x2a8], edx
add ecx, dword [rsi + 0x2cc]
cmovb ecx, eax
mov dword [rsi + 0x2cc], ecx
add ecx, dword [rdi + 0x2cc]
cmovb ecx, eax
mov dword [rsi + 0x2cc], ecx
mov qword [rdi + 0x1b8], 0
xorps xmm6, xmm6
movups xmmword [r15], xmm6
movzx eax, word [rdi + 0x2d4]
mov word [rsi + 0x2d4], ax
movzx eax, word [rdi + 0x2d6]
mov word [rsi + 0x2d6], ax
mov eax, dword [rdi + 0x94]
mov dword [rsi + 0x94], eax
mov eax, dword [rdi + 0x90]
mov dword [rsi + 0x90], eax
mov eax, dword [rdi + 0x70]
mov dword [rsi + 0x70], eax
mov eax, dword [rdi + 0x74]
mov dword [rsi + 0x74], eax
mov rax, qword [rdi + 0x78]
mov qword [rsi + 0x78], rax
movups xmmword [r14], xmm6
mov rcx, rdi
call fcn.1400cd9c9
movups xmmword [r12], xmm6
mov rcx, r13
call fcn.1400dea00
jmp 0x140217deb
movzx eax, byte [rax + 5]
cmp rax, 0x20
ja 0x140217f76
movabs rcx, 0x100002600
bt rcx, rax
jae 0x140217f76
mov rcx, rdi
call fcn.140217070
mov rcx, qword [rsi + 0x20]
lea rdx, [0x1402b9581]
call fcn.1400d93ce
test eax, eax
je 0x140217f76
mov rax, qword [rdi + 0x38]
mov rcx, qword [rax + 0x50]
lea rdx, [0x1402b9581]
call fcn.1400d93ce
test eax, eax
jne 0x140217f76
lea r8, str.Version_mismatch_between_document_and_entity_n
mov rcx, rdi
mov edx, 0x6d
call fcn.14014a0d6
jmp 0x140217f76