Function at 0x10009e890
Capabilities:
Read file on windows

Disassembly:
mov r11, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x2c0
mov qword [rsp + 0x1e0], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
mov rax, qword [0x100175150]
xor rax, rsp
mov qword [rsp + 0x2b0], rax
mov rbx, rcx
mov qword [rsp + 0x140], rcx
lea r12, [0x10001d9c0]
mov qword [rsp + 0x60], r12
lea r14, [0x10001de00]
mov qword [rsp + 0x68], r14
lea r13, [0x10001d9a8]
mov qword [rsp + 0x70], r13
mov dword [rsp + 0x78], 0x1f2
mov esi, 1
mov dword [rsp + 0x7c], esi
mov r15d, 0xff
mov dword [r11 - 0x268], r15d
xor edi, edi
mov word [rsp + 0x100], di
mov byte [rsp + 0x102], dil
mov byte [rsp + 0x103], sil
xor edx, edx
lea r8d, [rsi + 0x77]
lea rcx, [r11 - 0x260]
call sub.msvcrt.dll_memset
xor r8d, r8d
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x150]
call fcn.1000e7c38
nop
mov rcx, rbx
call fcn.10009e384
mov qword [rsp + 0x40], rax
lea rcx, [0x10000d460]
mov qword [rsp + 0x118], rcx
mov qword [rsp + 0x120], rax
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x58]
lea r8d, [rsi + 0xb]
lea rdx, [rsp + 0x128]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ReadFile]
cmp eax, edi
jne 0x10009ea51
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
cmp eax, edi
cmovle ebx, eax
mov dword [rsp + 0x158], ebx
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x70], r13
mov dword [rsp + 0x78], 0x1fe
mov dword [rsp + 0x7c], esi
mov dword [rsp + 0x80], r15d
mov word [rsp + 0x100], di
mov byte [rsp + 0x102], dil
mov byte [rsp + 0x103], sil
xor edx, edx
lea r8d, [rsi + 0x77]
lea rcx, [rsp + 0x88]
call sub.msvcrt.dll_memset
lea r11, [rsp + 0x60]
mov qword [rsp + 0x50], r11
cmp ebx, edi
jge 0x10009ea47
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x1f0]
call fcn.1000e760c
lea r9, [0x10001de50]
mov r8d, ebx
mov rdx, rax
lea rcx, [rsp + 0x150]
call fcn.1000e9408
nop
lea rcx, [rsp + 0x60]
call fcn.1000e7688
cmp dword [rsp + 0x128], 0x9d4feff5
jne 0x10009f049
cmp dword [rsp + 0x12c], esi
jne 0x10009f049
mov eax, dword [rsp + 0x130]
mov dword [rsp + 0x48], eax
or rcx, 0xffffffffffffffff
jmp 0x10009ea86
mov r15d, 0xff
mov eax, dword [rsp + 0x48]
dec dword [rsp + 0x48]
cmp eax, edi
je 0x10009f023
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x58]
mov r8d, 0x14
lea rdx, [rsp + 0x298]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
cmp eax, edi
jne 0x10009eb6f
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
cmp eax, edi
cmovle ebx, eax
mov dword [rsp + 0x158], ebx
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x70], r13
mov dword [rsp + 0x78], 0x21a
mov dword [rsp + 0x7c], esi
mov dword [rsp + 0x80], r15d
mov word [rsp + 0x100], di
mov byte [rsp + 0x102], dil
mov byte [rsp + 0x103], sil
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x88]
call sub.msvcrt.dll_memset
lea r11, [rsp + 0x60]
mov qword [rsp + 0x50], r11
cmp ebx, edi
jge 0x10009eb65
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x1f0]
call fcn.1000e760c
lea r9, [0x10001de50]
mov r8d, ebx
mov rdx, rax
lea rcx, [rsp + 0x150]
call fcn.1000e9408
nop
lea rcx, [rsp + 0x60]
call fcn.1000e7688
mov ecx, dword [rsp + 0x298]
mov eax, 2
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
lea rdx, [0x10017643c]
mov rcx, rax
call fcn.1001305dc
mov r15, rax
mov qword [rsp + 0x50], rax
cmp rax, rdi
jne 0x10009ec16
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x70], r13
mov dword [rsp + 0x78], 0x226
mov dword [rsp + 0x7c], esi
mov dword [rsp + 0x80], 0xff
mov word [rsp + 0x100], di
mov byte [rsp + 0x102], dil
mov byte [rsp + 0x103], sil
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x88]
call sub.msvcrt.dll_memset
lea r9, [0x10001dee8]
mov r8d, 0x8007000e
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x150]
call fcn.1000e8ff8
nop
lea rdx, [0x10017643c]
mov ecx, 0x20
call fcn.100130584
mov rbx, rax
cmp rax, rdi
je 0x10009ec35
mov qword [rax + 0x18], rdi
jmp 0x10009ec38
mov rbx, rdi
mov qword [rsp + 0x108], rbx
cmp rbx, rdi
jne 0x10009ecb8
lea rdx, [rsp + 0x60]
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x70], r13
mov dword [rsp + 0x78], 0x22d
mov dword [rsp + 0x7c], esi
mov dword [rsp + 0x80], 0xff
mov word [rsp + 0x100], di
mov byte [rsp + 0x102], dil
mov byte [rsp + 0x103], sil
movzx ecx, di
cmp cx, 0xf
jae 0x10009ec9e
movzx eax, cx
mov qword [rdx + rax*8 + 0x28], rdi
add cx, si
jmp 0x10009ec8b
lea r9, [0x10001df20]
mov r8d, 0x8007000e
lea rcx, [rsp + 0x150]
call fcn.1000e8ff8
mov r8d, dword [rsp + 0x298]
add r8d, r8d
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x58]
mov rdx, r15
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
cmp eax, edi
jne 0x10009ed98
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx r10d, ax
or r10d, 0x80070000
cmp eax, edi
cmovle r10d, eax
mov dword [rsp + 0x158], r10d
lea rdx, [rsp + 0x60]
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x70], r13
mov dword [rsp + 0x78], 0x233
mov dword [rsp + 0x7c], esi
mov dword [rsp + 0x80], 0xff
mov word [rsp + 0x100], di
mov byte [rsp + 0x102], dil
mov byte [rsp + 0x103], sil
movzx ecx, di
cmp cx, 0xf
jae 0x10009ed5b
movzx eax, cx
mov qword [rdx + rax*8 + 0x28], rdi
add cx, si
jmp 0x10009ed48
mov qword [rsp + 0x1c0], rdx
cmp r10d, edi
jge 0x10009ed90
lea rcx, [rsp + 0x1f0]
call fcn.1000e760c
lea r9, [0x10001de50]
mov r8d, r10d
mov rdx, rax
lea rcx, [rsp + 0x150]
call fcn.1000e9408
nop
mov rcx, rdx
call fcn.1000e7688
movdqu xmm0, xmmword [0x100035728]
movdqu xmmword [rsp + 0x1d0], xmm0
lea rdx, [rbx + 0x18]
lea r8, [rsp + 0x1d0]
mov rcx, r15
call sub.VSSAPI.DLL_long_int___cdecl_LoadVssSnapshotSetDescription_unsigned_short_int_const____ptr64__class_IVssSnapshotSetDescription____ptr64____ptr64__struct__GUID_
mov dword [rsp + 0x158], eax
lea rdx, [rsp + 0x60]
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x70], r13
mov dword [rsp + 0x78], 0x23a
mov dword [rsp + 0x7c], esi
mov dword [rsp + 0x80], 0xff
mov word [rsp + 0x100], di
mov byte [rsp + 0x102], dil
mov byte [rsp + 0x103], sil
movzx ecx, di
cmp cx, 0xf
jae 0x10009ee1d
movzx eax, cx
mov qword [rdx + rax*8 + 0x28], rdi
add cx, si
jmp 0x10009ee0a
lea r8, [0x10000c510]
lea rcx, [rsp + 0x150]
call fcn.100052600
mov rcx, qword [rbx + 0x18]
mov rax, qword [rcx]
lea rdx, [rbx + 8]
call qword [rax + 0x28]
mov dword [rsp + 0x158], eax
lea rdx, [rsp + 0x60]
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x70], r13
mov dword [rsp + 0x78], 0x23e
mov dword [rsp + 0x7c], esi
mov dword [rsp + 0x80], 0xff
mov word [rsp + 0x100], di
mov byte [rsp + 0x102], dil
mov byte [rsp + 0x103], sil
movzx ecx, di
cmp cx, 0xf
jae 0x10009ee9f
movzx eax, cx
mov qword [rdx + rax*8 + 0x28], rdi
add cx, si
jmp 0x10009ee8c
lea r8, [0x10001a320]
lea rcx, [rsp + 0x150]
call fcn.100052600
mov rcx, qword [rsp + 0x140]
mov rax, qword [rcx + 0xb0]
mov qword [rbx], rax
mov qword [rcx + 0xb0], rbx
mov rcx, r15
call fcn.10012fea8
nop
or rcx, 0xffffffffffffffff
jmp 0x10009efcf
cmp dword [rsp + 0x158], edi
jge 0x10009ea80
mov rcx, r15
call fcn.10012fea8
cmp rbx, rdi
je 0x10009f000
mov rcx, qword [rbx + 0x18]
cmp rcx, rdi
je 0x10009eff8
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, rbx
call fcn.10012fe88
mov eax, dword [rsp + 0x158]
mov dword [rsp + 0x110], eax
lea rdx, [0x100172740]
lea rcx, [rsp + 0x110]
call sub.msvcrt.dll__CxxThrowException
nop
mov rax, qword [rsp + 0x40]
cmp rax, rcx
je 0x10009f037
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rcx, [rsp + 0x150]
call fcn.1000e7d24
jmp 0x10009f11f
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x70], r13
mov dword [rsp + 0x78], 0x207
mov dword [rsp + 0x7c], esi
mov dword [rsp + 0x80], r15d
mov word [rsp + 0x100], di
mov byte [rsp + 0x102], dil
mov byte [rsp + 0x103], sil
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x88]
call sub.msvcrt.dll_memset
mov r9d, esi
lea r8, [rsp + 0x60]
mov edx, 0x3012
lea rcx, [rsp + 0x150]
call fcn.1000eb278
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x70], r13
mov dword [rsp + 0x78], 0x20a
mov dword [rsp + 0x7c], esi
mov dword [rsp + 0x80], r15d
mov word [rsp + 0x100], di
mov byte [rsp + 0x102], dil
mov byte [rsp + 0x103], sil
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x88]
call sub.msvcrt.dll_memset
lea r9, [0x10001de70]
mov r8d, 0x80042302
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x150]
call fcn.1000e8ff8
nop
mov rcx, qword [rsp + 0x2b0]
xor rcx, rsp
call fcn.1001303c0
lea r11, [rsp + 0x2c0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret