Function at 0x1800c77e0
Capabilities:
Parse pe header

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
push r12
push r13
sub rsp, 0x90
mov r12, qword [rcx + 0x38]
xor r13d, r13d
or esi, 0xffffffff
mov qword [rax + 8], r13
mov rax, qword [r12 + 0x20]
mov rbx, rcx
cmp byte [rax], 0x3c
mov edi, r13d
jne 0x1800c7c1a
cmp byte [rax + 1], 0x21
jne 0x1800c7c1a
cmp byte [rax + 2], 0x45
jne 0x1800c7c1a
cmp byte [rax + 3], 0x4c
jne 0x1800c7c1a
cmp byte [rax + 4], 0x45
jne 0x1800c7c1a
cmp byte [rax + 5], 0x4d
jne 0x1800c7c1a
cmp byte [rax + 6], 0x45
jne 0x1800c7c1a
cmp byte [rax + 7], 0x4e
jne 0x1800c7c1a
cmp byte [rax + 8], 0x54
jne 0x1800c7c1a
add dword [rcx + 0x130], 9
add qword [r12 + 0x20], 9
mov rax, qword [rcx + 0x38]
add dword [rax + 0x38], 9
mov rax, qword [rcx + 0x38]
mov rcx, qword [rax + 0x20]
cmp byte [rcx], 0x25
jne 0x1800c7897
mov rcx, rbx
call sym.VBoxRT.dll_xmlParserHandlePEReference
mov rcx, qword [rbx + 0x38]
mov rax, qword [rcx + 0x20]
cmp byte [rax], dil
jne 0x1800c78ba
mov edx, 0xfa
call sym.VBoxRT.dll_xmlParserInputGrow
test eax, eax
jg 0x1800c78ba
mov rcx, rbx
call sym.VBoxRT.dll_xmlPopInput
mov rax, qword [rbx + 0x38]
mov rcx, qword [rax + 0x20]
movzx eax, byte [rcx]
cmp al, 0x20
je 0x1800c78e9
cmp al, 9
jb 0x1800c78d1
cmp al, 0xa
jbe 0x1800c78e9
cmp al, 0xd
je 0x1800c78e9
lea r8, str.Space_required_after_ELEMENT_n
mov edx, 0x41
mov rcx, rbx
call fcn.1800b8ff0
mov rcx, rbx
call sym.VBoxRT.dll_xmlSkipBlankChars
mov rcx, rbx
call sym.VBoxRT.dll_xmlParseName
mov rbp, rax
test rax, rax
jne 0x1800c7910
lea r8, str.xmlParseElementDecl:_no_name_for_Element_n
lea edx, [rax + 0x44]
jmp 0x1800c7c12
mov rax, qword [rbx + 0x38]
mov rcx, qword [rax + 0x20]
cmp byte [rcx], dil
jne 0x1800c793b
nop dword [rax]
cmp dword [rbx + 0x40], 1
jle 0x1800c793b
mov rcx, rbx
call sym.VBoxRT.dll_xmlPopInput
mov r11, qword [rbx + 0x38]
mov rax, qword [r11 + 0x20]
cmp byte [rax], dil
je 0x1800c7920
mov rax, qword [rbx + 0x38]
mov rcx, qword [rax + 0x20]
movzx eax, byte [rcx]
cmp al, 0x20
je 0x1800c796a
cmp al, 9
jb 0x1800c7952
cmp al, 0xa
jbe 0x1800c796a
cmp al, 0xd
je 0x1800c796a
lea r8, str.Space_required_after_the_element_name_n
mov edx, 0x41
mov rcx, rbx
call fcn.1800b8ff0
mov rcx, rbx
call sym.VBoxRT.dll_xmlSkipBlankChars
mov r11, qword [rbx + 0x38]
mov rax, qword [r11 + 0x20]
movzx ecx, byte [rax]
cmp cl, 0x45
jne 0x1800c79f0
cmp byte [rax + 1], 0x4d
jne 0x1800c79f0
cmp byte [rax + 2], 0x50
jne 0x1800c79f0
cmp byte [rax + 3], 0x54
jne 0x1800c79f0
cmp byte [rax + 4], 0x59
jne 0x1800c79f0
add dword [rbx + 0x130], 5
add qword [r11 + 0x20], 5
mov rax, qword [rbx + 0x38]
add dword [rax + 0x38], 5
mov rax, qword [rbx + 0x38]
mov rcx, qword [rax + 0x20]
cmp byte [rcx], 0x25
jne 0x1800c79c3
mov rcx, rbx
call sym.VBoxRT.dll_xmlParserHandlePEReference
mov rcx, qword [rbx + 0x38]
mov rax, qword [rcx + 0x20]
cmp byte [rax], dil
jne 0x1800c79e6
mov edx, 0xfa
call sym.VBoxRT.dll_xmlParserInputGrow
test eax, eax
jg 0x1800c79e6
mov rcx, rbx
call sym.VBoxRT.dll_xmlPopInput
mov esi, 1
jmp 0x1800c7a7a
cmp cl, 0x41
jne 0x1800c7a54
cmp byte [rax + 1], 0x4e
jne 0x1800c7a54
cmp byte [rax + 2], 0x59
jne 0x1800c7a54
add dword [rbx + 0x130], 3
add qword [r11 + 0x20], 3
mov rax, qword [rbx + 0x38]
add dword [rax + 0x38], 3
mov rax, qword [rbx + 0x38]
mov rcx, qword [rax + 0x20]
cmp byte [rcx], 0x25
jne 0x1800c7a2a
mov rcx, rbx
call sym.VBoxRT.dll_xmlParserHandlePEReference
mov rcx, qword [rbx + 0x38]
mov rax, qword [rcx + 0x20]
cmp byte [rax], dil
jne 0x1800c7a4d
mov edx, 0xfa
call sym.VBoxRT.dll_xmlParserInputGrow
test eax, eax
jg 0x1800c7a4d
mov rcx, rbx
call sym.VBoxRT.dll_xmlPopInput
mov esi, 2
jmp 0x1800c7a7a
cmp cl, 0x28
jne 0x1800c7be5
lea r8, [rsp + 0xb0]
mov rdx, rbp
mov rcx, rbx
call sym.VBoxRT.dll_xmlParseElementContentDecl
mov rdi, qword [rsp + 0xb0]
mov esi, eax
mov rcx, rbx
call sym.VBoxRT.dll_xmlSkipBlankChars
mov r11, qword [rbx + 0x38]
mov rcx, qword [r11 + 0x20]
cmp byte [rcx], r13b
jne 0x1800c7aab
nop
cmp dword [rbx + 0x40], 1
jle 0x1800c7aab
mov rcx, rbx
call sym.VBoxRT.dll_xmlPopInput
mov r11, qword [rbx + 0x38]
mov rax, qword [r11 + 0x20]
cmp byte [rax], r13b
je 0x1800c7a90
mov rcx, rbx
call sym.VBoxRT.dll_xmlSkipBlankChars
mov r11, qword [rbx + 0x38]
mov rax, qword [r11 + 0x20]
cmp byte [rax], 0x3e
je 0x1800c7b78
cmp dword [rbx + 0x13c], r13d
je 0x1800c7ada
cmp dword [rbx + 0x108], 0xffffffff
je 0x1800c7b5e
mov qword [rsp + 0x80], r13
lea rax, str.expected___n
mov r9, rbx
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x70], r13
mov qword [rsp + 0x68], r13
mov qword [rsp + 0x60], r13
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x40], r13
mov dword [rsp + 0x38], 3
mov dword [rsp + 0x30], 0x49
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x28], 1
mov dword [rbx + 0x80], 0x49
mov qword [rsp + 0x20], r13
call sym.VBoxRT.dll___xmlRaiseError
mov dword [rbx + 0x18], r13d
cmp dword [rbx + 0x1b0], r13d
jne 0x1800c7b5e
mov dword [rbx + 0x13c], 1
test rdi, rdi
je 0x1800c7c1a
mov rcx, qword [rbx + 0x10]
mov rdx, rdi
call sym.VBoxRT.dll_xmlFreeDocElementContent
jmp 0x1800c7c1a
cmp r12, r11
je 0x1800c7b91
lea r8, str.Element_declaration_doesnt_start_and_stop_in_the_same_entity_n
mov edx, 0x5a
mov rcx, rbx
call fcn.1800b8ff0
mov rcx, rbx
call sym.VBoxRT.dll_xmlNextChar
mov r11, qword [rbx]
test r11, r11
je 0x1800c7b5e
cmp dword [rbx + 0x13c], r13d
jne 0x1800c7b5e
cmp qword [r11 + 0x48], r13
je 0x1800c7b5e
test rdi, rdi
je 0x1800c7bb9
mov qword [rdi + 0x20], r13
mov rax, qword [rbx]
mov rcx, qword [rbx + 8]
mov r9, rdi
mov r8d, esi
mov rdx, rbp
call qword [rax + 0x48]
test rdi, rdi
je 0x1800c7c1a
cmp qword [rdi + 0x20], r13
jne 0x1800c7c1a
mov rcx, qword [rbx + 0x10]
mov rdx, rdi
call sym.VBoxRT.dll_xmlFreeDocElementContent
jmp 0x1800c7c1a
cmp cl, 0x25
jne 0x1800c7c06
cmp dword [rbx + 0x8c], edi
jne 0x1800c7c06
cmp dword [rbx + 0x40], 1
jne 0x1800c7c06
lea r8, str.PEReference:_forbidden_within_markup_decl_in_internal_subset_n
mov edx, reloc.WS2_32.dll_setsockopt
jmp 0x1800c7c12
lea r8, str.xmlParseElementDecl:_EMPTY__ANY_or___expected_n
mov edx, getservbyname
mov rcx, rbx
call fcn.1800b8ff0
lea r11, [rsp + 0x90]
mov eax, esi
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r13
pop r12
pop rdi
ret