Function at 0x10009ee10
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 [0x100176150]
xor rax, rsp
mov qword [rsp + 0x2b0], rax
mov rbx, rcx
mov qword [rsp + 0x140], rcx
lea r12, [0x10001db00]
mov qword [rsp + 0x60], r12
lea r14, [0x10001df40]
mov qword [rsp + 0x68], r14
lea r13, [0x10001dae8]
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.1000e842c
nop
mov rcx, rbx
call fcn.10009e904
mov qword [rsp + 0x40], rax
lea rcx, [0x10000d458]
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 0x10009efd1
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 0x10009efc7
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x1f0]
call fcn.1000e7e00
lea r9, [0x10001df90]
mov r8d, ebx
mov rdx, rax
lea rcx, [rsp + 0x150]
call fcn.1000e9bfc
nop
lea rcx, [rsp + 0x60]
call fcn.1000e7e7c
cmp dword [rsp + 0x128], 0x9d4feff5
jne 0x10009f5c9
cmp dword [rsp + 0x12c], esi
jne 0x10009f5c9
mov eax, dword [rsp + 0x130]
mov dword [rsp + 0x48], eax
or rcx, 0xffffffffffffffff
jmp 0x10009f006
mov r15d, 0xff
mov eax, dword [rsp + 0x48]
dec dword [rsp + 0x48]
cmp eax, edi
je 0x10009f5a3
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x58]
mov r8d, reloc.ATL.DLL_AtlModuleRevokeClassObjects
lea rdx, [rsp + 0x298]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
cmp eax, edi
jne 0x10009f0ef
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 0x10009f0e5
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x1f0]
call fcn.1000e7e00
lea r9, [0x10001df90]
mov r8d, ebx
mov rdx, rax
lea rcx, [rsp + 0x150]
call fcn.1000e9bfc
nop
lea rcx, [rsp + 0x60]
call fcn.1000e7e7c
mov ecx, dword [rsp + 0x298]
mov eax, 2
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
lea rdx, [0x10017743c]
mov rcx, rax
call fcn.10013100c
mov r15, rax
mov qword [rsp + 0x50], rax
cmp rax, rdi
jne 0x10009f196
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, [0x10001e028]
mov r8d, 0x8007000e
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x150]
call fcn.1000e97ec
nop
lea rdx, [0x10017743c]
mov ecx, reloc.ATL.DLL_AtlInternalQueryInterface
call fcn.100130fb4
mov rbx, rax
cmp rax, rdi
je 0x10009f1b5
mov qword [rax + 0x18], rdi
jmp 0x10009f1b8
mov rbx, rdi
mov qword [rsp + 0x108], rbx
cmp rbx, rdi
jne 0x10009f238
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 0x10009f21e
movzx eax, cx
mov qword [rdx + rax*8 + 0x28], rdi
add cx, si
jmp 0x10009f20b
lea r9, [0x10001e060]
mov r8d, 0x8007000e
lea rcx, [rsp + 0x150]
call fcn.1000e97ec
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 0x10009f318
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 0x10009f2db
movzx eax, cx
mov qword [rdx + rax*8 + 0x28], rdi
add cx, si
jmp 0x10009f2c8
mov qword [rsp + 0x1c0], rdx
cmp r10d, edi
jge 0x10009f310
lea rcx, [rsp + 0x1f0]
call fcn.1000e7e00
lea r9, [0x10001df90]
mov r8d, r10d
mov rdx, rax
lea rcx, [rsp + 0x150]
call fcn.1000e9bfc
nop
mov rcx, rdx
call fcn.1000e7e7c
movdqu xmm0, xmmword [0x1000359e8]
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 0x10009f39d
movzx eax, cx
mov qword [rdx + rax*8 + 0x28], rdi
add cx, si
jmp 0x10009f38a
lea r8, [0x10000c510]
lea rcx, [rsp + 0x150]
call fcn.100052900
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 0x10009f41f
movzx eax, cx
mov qword [rdx + rax*8 + 0x28], rdi
add cx, si
jmp 0x10009f40c
lea r8, [0x10001a320]
lea rcx, [rsp + 0x150]
call fcn.100052900
mov rcx, qword [rsp + 0x140]
mov rax, qword [rcx + 0xb0]
mov qword [rbx], rax
mov qword [rcx + 0xb0], rbx
mov rcx, r15
call fcn.1001308d8
nop
or rcx, 0xffffffffffffffff
jmp 0x10009f54f
cmp dword [rsp + 0x158], edi
jge 0x10009f000
mov rcx, r15
call fcn.1001308d8
cmp rbx, rdi
je 0x10009f580
mov rcx, qword [rbx + 0x18]
cmp rcx, rdi
je 0x10009f578
mov rax, qword [rcx]
call qword [rax + reloc.ATL.DLL_AtlModuleInit]
mov rcx, rbx
call fcn.1001308b8
mov eax, dword [rsp + 0x158]
mov dword [rsp + 0x110], eax
lea rdx, [0x1001731d8]
lea rcx, [rsp + 0x110]
call sub.msvcrt.dll__CxxThrowException
nop
mov rax, qword [rsp + 0x40]
cmp rax, rcx
je 0x10009f5b7
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rcx, [rsp + 0x150]
call fcn.1000e8518
jmp 0x10009f69f
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.1000eba6c
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, [0x10001dfb0]
mov r8d, 0x80042302
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x150]
call fcn.1000e97ec
nop
mov rcx, qword [rsp + 0x2b0]
xor rcx, rsp
call fcn.100130df0
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