Function at 0x14002f030
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x740]
sub rsp, 0x840
mov rax, qword [0x1400a3020]
xor rax, rsp
mov qword [rbp + 0x730], rax
mov rdi, rdx
mov r13, rcx
mov qword [rbp - 0x70], rcx
xor r14d, r14d
mov dword [rsp + 0x40], r14d
mov rcx, rdx
cmp qword [rdx + 0x18], 8
jb 0x14002f07f
mov rcx, qword [rdx]
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0x80000000
lea r8d, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
mov qword [rbp + 0x240], rax
cmp rax, 0xffffffffffffffff
je 0x14002f6a7
xorps xmm0, xmm0
movups xmmword [r13], xmm0
mov ecx, 0x10
call fcn.140047d0c
mov rdi, rax
mov qword [rbp + 0x238], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov qword [rax], r14
mov qword [rax + 8], r14
mov ecx, 0x270
call fcn.140047d0c
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [rdi], rax
mov qword [r13], r14
mov qword [r13 + 8], r14
mov qword [rbp - 0x68], rdi
mov ecx, 0x18
call fcn.140047d0c
mov qword [rbp + 0x238], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov dword [rax + 8], 1
mov dword [rax + 0xc], 1
lea rcx, vtable.std::_Ref_count_class_std::map_unsigned_long_int__struct_ProcessDescriptor__struct_std::less_unsigned_long_int___class_std::allocator_struct_std::pair_unsigned_long_int_const___struct_ProcessDescriptor____.0
mov qword [rax], rcx
mov qword [rax + 0x10], rdi
mov qword [r13], rdi
mov qword [r13 + 8], rax
mov dword [rsp + 0x40], 1
mov dword [rbp + 0x230], r14d
mov qword [rsp + 0x20], r14
lea r9, [rbp + 0x230]
mov r8d, 9
lea rdx, [rbp + 0x720]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14002f681
cmp dword [rbp + 0x230], 9
jne 0x14002f681
movabs rax, 0x50414e53434f5250
cmp qword [rbp + 0x720], rax
jne 0x14002f65b
cmp byte [rbp + 0x728], 0
jne 0x14002f65b
mov dword [rbp + 0x234], r14d
mov qword [rsp + 0x20], r14
lea r9, [rbp + 0x230]
mov r8d, 4
lea rdx, [rbp + 0x234]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14002f770
cmp dword [rbp + 0x230], 4
jne 0x14002f770
mov r12, r14
cmp dword [rbp + 0x234], r14d
jbe 0x14002f625
lea rdi, vtable.std::_Ref_count_class_std::set_struct_CRWXRegion__struct_CRWXRegionComparator__class_std::allocator_struct_CRWXRegion___.0
nop dword [rax]
nop dword [rax + rax]
xor edx, edx
mov r8d, 0x238
lea rcx, [rbp + 0x290]
call fcn.14004a2e0
mov qword [rbp + 0x4c8], r14
mov qword [rbp + 0x4d0], r14
xor edx, edx
mov r8d, 0x238
lea rcx, [rbp + 0x4e0]
call fcn.14004a2e0
mov qword [rsp + 0x20], r14
lea r9, [rbp + 0x230]
mov r8d, 0x238
lea rdx, [rbp + 0x4e0]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14002f74a
cmp dword [rbp + 0x230], 0x238
jne 0x14002f74a
lea rcx, [rbp + 0x290]
lea rax, [rbp + 0x4e0]
mov edx, 4
nop dword [rax]
nop word [rax + rax]
movups xmm0, xmmword [rax]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x20], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rcx + 0x30], xmm1
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rcx + 0x40], xmm0
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rcx + 0x50], xmm1
movups xmm0, xmmword [rax + 0x60]
movups xmmword [rcx + 0x60], xmm0
lea rcx, [rcx + 0x80]
movups xmm1, xmmword [rax + 0x70]
movups xmmword [rcx - 0x10], xmm1
lea rax, [rax + 0x80]
sub rdx, 1
jne 0x14002f2a0
movups xmm0, xmmword [rax]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x20], xmm0
mov rax, qword [rax + 0x30]
mov qword [rcx + 0x30], rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x258], xmm0
lea ecx, [rdx + 0x10]
call fcn.140047d0c
mov rsi, rax
mov qword [rbp - 0x60], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov qword [rax], r14
mov qword [rax + 8], r14
mov ecx, 0x30
call fcn.140047d0c
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [rsi], rax
mov qword [rbp - 0x58], rsi
mov ecx, 0x18
call fcn.140047d0c
mov r15, rax
mov qword [rbp - 0x50], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov dword [rax + 8], 1
mov dword [rax + 0xc], 1
mov qword [rax], rdi
mov qword [rax + 0x10], rsi
mov qword [rbp + 0x258], rsi
mov qword [rbp + 0x260], rax
lock inc dword [rax + 8]
mov qword [rbp + 0x4c8], rsi
mov qword [rbp + 0x4d0], rax
mov dword [rbp + 0x238], r14d
mov qword [rsp + 0x20], r14
lea r9, [rbp + 0x230]
mov r8d, 4
lea rdx, [rbp + 0x238]
mov rbx, qword [rbp + 0x240]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14002f724
cmp dword [rbp + 0x230], 4
jne 0x14002f724
xor r9d, r9d
mov r14d, r9d
cmp dword [rbp + 0x238], r9d
jbe 0x14002f51a
nop dword [rax]
xorps xmm0, xmm0
movups xmmword [rbp + 0x248], xmm0
mov qword [rsp + 0x20], r9
lea r9, [rbp + 0x230]
mov r8d, 0x10
lea rdx, [rbp + 0x248]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14002f6fe
cmp dword [rbp + 0x230], 0x10
jne 0x14002f6fe
mov rdi, qword [rsi]
mov rax, qword [rdi + 8]
mov qword [rsp + 0x68], rax
xor r9d, r9d
mov dword [rsp + 0x70], r9d
mov rdx, rdi
mov r8, qword [rbp + 0x248]
cmp byte [rax + 0x19], r9b
jne 0x14002f48f
mov qword [rsp + 0x68], rax
cmp qword [rax + 0x20], r8
jae 0x14002f47b
mov dword [rsp + 0x70], r9d
mov rax, qword [rax + 0x10]
jmp 0x14002f489
mov dword [rsp + 0x70], 1
mov rdx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], r9b
je 0x14002f465
cmp byte [rdx + 0x19], r9b
jne 0x14002f49b
cmp r8, qword [rdx + 0x20]
jae 0x14002f501
movabs rax, 0x555555555555555
cmp qword [rsi + 8], rax
je 0x14002f6f8
mov qword [rbp - 0x80], rsi
mov qword [rbp - 0x78], r9
mov ecx, 0x30
call fcn.140047d0c
nop
movups xmm0, xmmword [rbp + 0x248]
movups xmmword [rax + 0x20], xmm0
mov qword [rax], rdi
mov qword [rax + 8], rdi
mov qword [rax + 0x10], rdi
mov word [rax + 0x18], 0
mov qword [rbp - 0x78], 0
movups xmm0, xmmword [rsp + 0x68]
movaps xmmword [rbp - 0x40], xmm0
mov r8, rax
lea rdx, [rbp - 0x40]
mov rcx, rsi
call fcn.1400114e0
xor r9d, r9d
inc r14
mov eax, dword [rbp + 0x238]
cmp r14, rax
jb 0x14002f400
lea rdi, vtable.std::_Ref_count_class_std::set_struct_CRWXRegion__struct_CRWXRegionComparator__class_std::allocator_struct_CRWXRegion___.0
mov r10, qword [r13]
mov eax, dword [rbp + 0x298]
mov dword [rbp - 0x20], eax
lea rdx, [rbp + 0x290]
lea rcx, [rbp - 0x18]
call fcn.14003ba30
nop
lea r8, [rbp - 0x20]
lea rdx, [rbp - 0x30]
mov rcx, r10
call fcn.14003a4f0
nop
mov rcx, qword [rbp + 0x228]
test rcx, rcx
je 0x14002f590
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14002f590
mov rbx, qword [rbp + 0x228]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, 0xffffffff
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x14002f590
mov rcx, qword [rbp + 0x228]
mov rax, qword [rcx]
call qword [rax + VariantCopy]
nop
mov eax, 0xffffffff
lock xadd dword [r15 + 8], eax
cmp eax, 1
jne 0x14002f5c2
mov rax, qword [r15]
mov rcx, r15
call qword [rax]
mov eax, 0xffffffff
lock xadd dword [r15 + 0xc], eax
cmp eax, 1
jne 0x14002f5c2
mov rax, qword [r15]
mov rcx, r15
call qword [rax + VariantCopy]
nop
mov rcx, qword [rbp + 0x4d0]
test rcx, rcx
je 0x14002f608
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14002f608
mov rbx, qword [rbp + 0x4d0]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, 0xffffffff
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x14002f608
mov rcx, qword [rbp + 0x4d0]
mov rax, qword [rcx]
call qword [rax + VariantCopy]
inc r12
mov eax, dword [rbp + 0x234]
mov rbx, qword [rbp + 0x240]
cmp r12, rax
jae 0x14002f625
xor r14d, r14d
jmp 0x14002f210
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, r13
mov rcx, qword [rbp + 0x730]
xor rcx, rsp
call fcn.1400477d0
mov rbx, qword [rsp + 0x890]
add rsp, 0x840
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov r8b, 1
lea rdx, str.LoadSnapshot__:_snapshot_header_incorrect
lea rcx, [rsp + 0x48]
call fcn.1400011b0
lea rdx, [0x1400a15f0]
lea rcx, [rsp + 0x48]
call fcn.140049b34
int3
mov r8b, 1
lea rdx, str.LoadSnapshot__:_ReadFile_failed
lea rcx, [rsp + 0x48]
call fcn.1400011b0
lea rdx, [0x1400a15f0]
lea rcx, [rsp + 0x48]
call fcn.140049b34
int3
lea rdx, str.LoadSnapshot__:_CreateFile_failed_for
lea rcx, [rbp + 0x268]
call fcn.1400024c0
nop
mov rdx, rdi
lea rcx, [rbp + 0x268]
call fcn.140007750
lea rcx, [rbp + 0x268]
call fcn.140002490
mov rdx, rax
mov r8b, 1
lea rcx, [rsp + 0x48]
call fcn.1400011b0
lea rdx, [0x1400a15f0]
lea rcx, [rsp + 0x48]
call fcn.140049b34
nop
call fcn.1400080c0
int3
mov r8b, 1
lea rdx, str.LoadSnapshot__:_ReadFile_failed
lea rcx, [rsp + 0x48]
call fcn.1400011b0
lea rdx, [0x1400a15f0]
lea rcx, [rsp + 0x48]
call fcn.140049b34
int3
mov r8b, 1
lea rdx, str.LoadSnapshot__:_ReadFile_failed
lea rcx, [rsp + 0x48]
call fcn.1400011b0
lea rdx, [0x1400a15f0]
lea rcx, [rsp + 0x48]
call fcn.140049b34
nop
mov r8b, 1
lea rdx, str.LoadSnapshot__:_ReadFile_failed
lea rcx, [rsp + 0x48]
call fcn.1400011b0
lea rdx, [0x1400a15f0]
lea rcx, [rsp + 0x48]
call fcn.140049b34
nop
mov r8b, 1
lea rdx, str.LoadSnapshot__:_ReadFile_failed
lea rcx, [rsp + 0x48]
call fcn.1400011b0
lea rdx, [0x1400a15f0]
lea rcx, [rsp + 0x48]
call fcn.140049b34
int3