Function at 0x14002afe0
Capabilities:
Check for software breakpoints

Disassembly:
push rbx
push rbp
push r14
sub rsp, 0x60
mov rax, qword [rcx + 0x10]
xor ebp, ebp
mov dword [rcx + 0x40], edx
mov r14d, edx
mov rbx, rcx
test rax, rax
je 0x14002b01f
nop dword [rax]
cmp dword [rax], 0x19701015
jne 0x14002b01f
cmp dword [rax + 0x18], ebp
je 0x14002b018
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x14002b000
jmp 0x14002b01f
cmp qword [rax + 0x20], 0x40
je 0x14002b022
mov rax, rbp
mov qword [rcx + 0x20], rax
mov rax, qword [rcx + 0x18]
mov qword [rsp + 0x90], rdi
mov qword [rsp + 0x58], r13
test rax, rax
je 0x14002b057
nop dword [rax]
cmp dword [rax], 0x19701015
jne 0x14002b057
cmp dword [rax + 0x18], 7
je 0x14002b0b8
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x14002b040
mov rax, rbp
mov qword [rcx + 0x30], 0xffffffffffffffff
lea rdi, [rcx + 0x30]
mov qword [rcx + 0x38], 0xffffffffffffffff
lea r13, [rcx + 0x38]
mov qword [rcx + 0x28], rax
cmp rax, 0x1000
jb 0x14002b0d6
movabs rcx, 0xffff800000000000
test rcx, rax
jne 0x14002b0d6
mov qword [rsp + 0x80], rsi
mov ecx, 0x783
mov qword [rsp + 0x98], r12
mov r12d, r14d
mov qword [rsp + 0x50], r15
lea esi, [rcx - 2]
and r12d, 1
je 0x14002b0e0
mov r8d, esi
jmp 0x14002b0ee
cmp qword [rax + 0x20], 0xe8
je 0x14002b05a
mov qword [rcx + 0x28], rbp
mov qword [rcx + 0x30], 0xffffffffffffffff
mov qword [rcx + 0x38], 0xffffffffffffffff
mov eax, 0xfffffffe
jmp 0x14002b318
test r14b, 0x20
mov r8d, 0x723
cmovne r8d, ecx
mov rcx, qword [rax + 0x28]
lea r9, [rbx + 8]
mov rax, qword [rax + 0x30]
mov rdx, qword [rbx]
call qword [case.0x140007a2c.0]
test eax, eax
js 0x14002b303
mov rcx, qword [rdi]
cmp rcx, 0xffffffffffffffff
jne 0x14002b157
mov rcx, qword [rbx + 0x28]
lea r9, [rsp + 0x88]
mov rdx, qword [rbx + 8]
xor r8d, r8d
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x38], rbp
mov rax, qword [rcx + 0x88]
mov rcx, qword [rcx + 0x28]
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], 4
call qword [case.0x140007a2c.0]
jmp 0x14002b172
mov r9d, 4
mov qword [rsp + 0x20], rbp
lea r8, [rsp + 0x88]
xor edx, edx
call qword [sym.imp.VBoxRT.dll_RTVfsFileReadAt]
test eax, eax
js 0x14002b303
cmp dword [rsp + 0x88], 0x21726178
jne 0x14002b1c1
test r12d, r12d
jne 0x14002b19d
test r14b, 0x20
mov esi, 0x723
mov eax, 0x783
cmovne esi, eax
mov r9, qword [rbx]
mov ecx, esi
mov r8, qword [rbx + 8]
mov rdx, qword [rbx + 0x28]
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], r13
call fcn.14002b770
test eax, eax
js 0x14002b303
mov rcx, qword [rdi]
cmp rcx, 0xffffffffffffffff
jne 0x14002b1e6
mov rcx, qword [rbx + 0x28]
lea r8, [rbx + 0x50]
mov rdx, qword [rbx + 8]
mov rax, qword [rcx + 0x60]
mov rcx, qword [rcx + 0x28]
call qword [case.0x140007a2c.0]
jmp 0x14002b1f0
lea rdx, [rbx + 0x50]
call qword [sym.imp.VBoxRT.dll_RTVfsFileQuerySize]
test eax, eax
js 0x14002b303
mov rax, qword [rbx + 0x50]
cmp rax, 0x400
jb 0x14002b2fe
mov rcx, qword [rdi]
lea rdx, [rax - 0x200]
cmp rcx, 0xffffffffffffffff
jne 0x14002b25a
mov rcx, qword [rbx + 0x28]
lea r9, [rbx + 0x3b0]
mov qword [rsp + 0x40], rbp
mov r8, rdx
mov rdx, qword [rbx + 8]
mov qword [rsp + 0x38], rbp
mov rax, qword [rcx + 0x88]
mov rcx, qword [rcx + 0x28]
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], 0x200
call qword [case.0x140007a2c.0]
jmp 0x14002b272
mov r9d, 0x200
mov qword [rsp + 0x20], rbp
lea r8, [rbx + 0x3b0]
call qword [sym.imp.VBoxRT.dll_RTVfsFileReadAt]
test eax, eax
js 0x14002b303
lea rcx, [rbx + 0x3b0]
call fcn.14002c930
cmp dword [rbx + 0x3b0], 0x6b6f6c79
jne 0x14002b2fe
cmp dword [rbx + 0x3b4], 4
jne 0x14002b2fe
cmp dword [rbx + 0x3b8], 0x200
jne 0x14002b2fe
mov rdx, qword [rbx + 0x50]
lea rcx, [rbx + 0x3b0]
sub rdx, 0x200
call fcn.14002ca40
test al, al
jne 0x14002b32e
mov ecx, 0x18c0010
call qword [sym.imp.VBoxRT.dll_RTLogRelGetDefaultInstanceEx]
test rax, rax
je 0x14002b2fe
mov rcx, qword [rbx + 0x50]
lea r9, str.Bad_DMG:__s_cbFile_RTfoff_n
mov qword [rsp + 0x28], rcx
mov edx, 0x10
mov rcx, qword [rbx]
mov r8d, 0x18c
mov qword [rsp + 0x20], rcx
mov rcx, rax
call qword [sym.imp.VBoxRT.dll_RTLogLoggerEx]
mov eax, 0xfffff33d
mov r12, qword [rsp + 0x98]
mov rsi, qword [rsp + 0x80]
mov r15, qword [rsp + 0x50]
mov r13, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x90]
add rsp, 0x60
pop r14
pop rbp
pop rbx
ret
mov rsi, qword [rbx + 0x490]
lea rdx, [0x140046f00]
mov rax, qword [rbx + 0x59c]
shl rax, 9
mov qword [rbx + 0x48], rax
lea rcx, [rsi + 1]
call qword [sym.imp.VBoxRT.dll_RTMemAllocTag]
mov r12, rax
test rax, rax
jne 0x14002b364
lea eax, [r12 - 8]
jmp 0x14002b303
mov rcx, qword [rdi]
mov rdx, qword [rbx + 0x488]
cmp rcx, 0xffffffffffffffff
jne 0x14002b3ae
mov rcx, qword [rbx + 0x28]
mov r8, rdx
mov rdx, qword [rbx + 8]
mov r9, r12
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x38], rbp
mov rax, qword [rcx + 0x88]
mov rcx, qword [rcx + 0x28]
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rsi
call qword [case.0x140007a2c.0]
jmp 0x14002b3bf
mov r9, rsi
mov qword [rsp + 0x20], rbp
mov r8, r12
call qword [sym.imp.VBoxRT.dll_RTVfsFileReadAt]
mov edi, eax
test eax, eax
js 0x14002b5e3
mov rdx, r12
mov byte [r12 + rsi], 0
mov rcx, rbx
call fcn.14002b970
mov rdi, rax
test rax, rax
jne 0x14002b6f7
mov edx, ebp
lea r8, str.blkx
nop
mov eax, edx
lea r14, [rbx + 0x70]
imul rcx, rax, 0x1a0
mov rax, rbp
add r14, rcx
movzx ecx, byte [r14 + rax]
inc rax
cmp cl, byte [r8 + rax - 1]
jne 0x14002b5d3
cmp rax, 5
jne 0x14002b403
cmp dword [r14 + 0xc], 0
mov r15d, ebp
mov edi, ebp
jbe 0x14002b5e3
lea r13, str.pBlkx__u32Magic__DMGBLKX_MAGIC
nop dword [rax]
nop word [rax + rax]
mov eax, r15d
lea rcx, [rax + rax*4]
lea rdi, [r14 + rcx*8]
mov rcx, qword [r14 + rcx*8 + 0x28]
cmp rcx, 0xcc
jb 0x14002b6f0
lea rdx, [0x140046f00]
call qword [sym.imp.VBoxRT.dll_RTMemAllocZTag]
mov rsi, rax
test rax, rax
je 0x14002b6e6
mov r8, qword [rdi + 0x28]
mov rcx, rax
mov rdx, qword [rdi + 0x30]
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [rsi]
mov rax, qword [rsi + 8]
bswap rax
mov qword [rsi + 8], rax
mov rax, qword [rsi + 0x10]
bswap rax
mov qword [rsi + 0x10], rax
mov rax, qword [rsi + 0x18]
bswap rax
mov qword [rsi + 0x18], rax
mov eax, dword [rsi + 0x20]
bswap eax
mov dword [rsi + 0x20], eax
mov eax, dword [rsi + 0x24]
bswap eax
bswap ecx
mov dword [rsi], ecx
mov ecx, dword [rsi + 4]
mov dword [rsi + 0x24], eax
mov eax, dword [rsi + 0xc8]
bswap eax
bswap ecx
mov dword [rsi + 4], ecx
lea rcx, [rsi + 0x40]
mov dword [rsi + 0xc8], eax
mov eax, dword [rcx]
bswap eax
cmp eax, 2
jne 0x14002b4f2
mov dword [rcx], eax
mov eax, dword [rcx + 4]
bswap eax
mov dword [rcx + 4], eax
mov eax, dword [rcx + 8]
bswap eax
mov dword [rcx + 8], eax
lea rdx, str.BlkxCkSum
call fcn.14002c7d0
and al, 1
cmp dword [rsi], 0x6d697368
je 0x14002b573
mov ecx, 0x18c0010
call qword [sym.imp.VBoxRT.dll_RTLogRelGetDefaultInstanceEx]
test rax, rax
je 0x14002b538
lea r9, str.DMG:_validation_failed:__s_nDMG:
mov qword [rsp + 0x20], r13
mov edx, 0x10
mov r8d, 0x18c
mov rcx, rax
call qword [sym.imp.VBoxRT.dll_RTLogLoggerEx]
mov ecx, 0x18c0010
call qword [sym.imp.VBoxRT.dll_RTLogRelGetDefaultInstanceEx]
test rax, rax
je 0x14002b571
mov ecx, dword [rsi]
lea r9, str.u32Magic_RX32_u32MagicExpected_RX32_n
mov dword [rsp + 0x28], 0x6d697368
mov edx, 0x10
mov dword [rsp + 0x20], ecx
mov r8d, 0x18c
mov rcx, rax
call qword [sym.imp.VBoxRT.dll_RTLogLoggerEx]
xor al, al
cmp dword [rsi + 4], 1
jne 0x14002b64e
test al, al
je 0x14002b6be
mov eax, dword [rsi + 0xc8]
lea rcx, [rax + rax*4]
lea rcx, [rcx*8 + 0xcc]
cmp qword [rdi + 0x28], rcx
jne 0x14002b6be
mov rdx, rsi
mov rcx, rbx
call fcn.14002abb0
mov rcx, rsi
mov edi, eax
call qword [sym.imp.VBoxRT.dll_RTMemFree]
test edi, edi
js 0x14002b5e3
inc r15d
cmp r15d, dword [r14 + 0xc]
jb 0x14002b440
mov rcx, r12
call qword [sym.imp.VBoxRT.dll_RTMemFree]
jmp 0x14002b5f4
inc edx
cmp edx, 2
jb 0x14002b3f0
mov edi, 0xfffff33d
mov rcx, r12
call qword [sym.imp.VBoxRT.dll_RTMemFree]
test edi, edi
js 0x14002b6d5
mov rax, qword [rbx + 0x48]
mov qword [rbx + 0x5f0], rax
mov eax, edi
mov dword [rbx + 0x5e0], ebp
mov dword [rbx + 0x5e4], 1
mov qword [rbx + 0x5e8], rbp
mov qword [rbx + 0x5f8], 0x800
mov dword [rbx + 0x600], 1
mov dword [rbx + 0x604], 1
mov qword [rbx + 0x608], 0x800
mov qword [rbx + 0x610], rbp
jmp 0x14002b303
mov ecx, 0x18c0010
call qword [sym.imp.VBoxRT.dll_RTLogRelGetDefaultInstanceEx]
test rax, rax
je 0x14002b685
lea rcx, str.pBlkx__u32Version__DMGBLKX_VERSION
mov edx, 0x10
mov qword [rsp + 0x20], rcx
lea r9, str.DMG:_validation_failed:__s_nDMG:
mov rcx, rax
mov r8d, 0x18c
call qword [sym.imp.VBoxRT.dll_RTLogLoggerEx]
mov ecx, 0x18c0010
call qword [sym.imp.VBoxRT.dll_RTLogRelGetDefaultInstanceEx]
test rax, rax
je 0x14002b6be
mov ecx, dword [rsi]
lea r9, str.u32Version_RX32_u32VersionExpected_RX32_n
mov dword [rsp + 0x28], 1
mov edx, 0x10
mov dword [rsp + 0x20], ecx
mov r8d, 0x18c
mov rcx, rax
call qword [sym.imp.VBoxRT.dll_RTLogLoggerEx]
mov rcx, rsi
mov edi, 0xfffff33d
call qword [sym.imp.VBoxRT.dll_RTMemFree]
mov rcx, r12
call qword [sym.imp.VBoxRT.dll_RTMemFree]
xor edx, edx
mov rcx, rbx
call fcn.14002ae50
mov eax, edi
jmp 0x14002b303
mov edi, 0xfffffff8
jmp 0x14002b5e3
mov edi, 0xfffff33d
jmp 0x14002b6cc
mov ecx, 0x18c0010
call qword [sym.imp.VBoxRT.dll_RTLogRelGetDefaultInstanceEx]
test rax, rax
je 0x14002b727
lea r9, str._XML_DUMP_BEGIN__n_s_n_XML_DUMP_END__n
mov qword [rsp + 0x20], r12
mov edx, 0x10
mov r8d, 0x18c
mov rcx, rax
call qword [sym.imp.VBoxRT.dll_RTLogLoggerEx]
mov ecx, 0x18c0010
call qword [sym.imp.VBoxRT.dll_RTLogRelGetDefaultInstanceEx]
test rax, rax
je 0x14002b764
mov ecx, edi
mov qword [rsp + 0x30], rdi
sub ecx, r12d
lea r9, str._Bad_XML_at__lx___lu___n_.256s_n_Bad_XML_END__n
mov dword [rsp + 0x28], ecx
mov edx, 0x10
mov dword [rsp + 0x20], ecx
mov r8d, 0x18c
mov rcx, rax
call qword [sym.imp.VBoxRT.dll_RTLogLoggerEx]
mov edi, 0xfffff32c
jmp 0x14002b6cc