Function at 0x10009ec38
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, [0x10001db10]
mov qword [rsp + 0x60], r12
lea r14, [0x10001df50]
mov qword [rsp + 0x68], r14
lea r13, [0x10001daf8]
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.1000e8000
nop
mov rcx, rbx
call fcn.10009e72c
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 0x10009edf9
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 0x10009edef
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x1f0]
call fcn.1000e79d4
lea r9, [0x10001dfa0]
mov r8d, ebx
mov rdx, rax
lea rcx, [rsp + 0x150]
call fcn.1000e97d0
nop
lea rcx, [rsp + 0x60]
call fcn.1000e7a50
cmp dword [rsp + 0x128], 0x9d4feff5
jne 0x10009f3f1
cmp dword [rsp + 0x12c], esi
jne 0x10009f3f1
mov eax, dword [rsp + 0x130]
mov dword [rsp + 0x48], eax
or rcx, 0xffffffffffffffff
jmp 0x10009ee2e
mov r15d, 0xff
mov eax, dword [rsp + 0x48]
dec dword [rsp + 0x48]
cmp eax, edi
je 0x10009f3cb
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 0x10009ef17
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 0x10009ef0d
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x1f0]
call fcn.1000e79d4
lea r9, [0x10001dfa0]
mov r8d, ebx
mov rdx, rax
lea rcx, [rsp + 0x150]
call fcn.1000e97d0
nop
lea rcx, [rsp + 0x60]
call fcn.1000e7a50
mov ecx, dword [rsp + 0x298]
mov eax, 2
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
lea rdx, [0x10017743c]
mov rcx, rax
call fcn.100130a4c
mov r15, rax
mov qword [rsp + 0x50], rax
cmp rax, rdi
jne 0x10009efbe
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, [0x10001e038]
mov r8d, 0x8007000e
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x150]
call fcn.1000e93c0
nop
lea rdx, [0x10017743c]
mov ecx, 0x20
call fcn.1001309f4
mov rbx, rax
cmp rax, rdi
je 0x10009efdd
mov qword [rax + 0x18], rdi
jmp 0x10009efe0
mov rbx, rdi
mov qword [rsp + 0x108], rbx
cmp rbx, rdi
jne 0x10009f060
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 0x10009f046
movzx eax, cx
mov qword [rdx + rax*8 + 0x28], rdi
add cx, si
jmp 0x10009f033
lea r9, [0x10001e070]
mov r8d, 0x8007000e
lea rcx, [rsp + 0x150]
call fcn.1000e93c0
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 0x10009f140
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 0x10009f103
movzx eax, cx
mov qword [rdx + rax*8 + 0x28], rdi
add cx, si
jmp 0x10009f0f0
mov qword [rsp + 0x1c0], rdx
cmp r10d, edi
jge 0x10009f138
lea rcx, [rsp + 0x1f0]
call fcn.1000e79d4
lea r9, [0x10001dfa0]
mov r8d, r10d
mov rdx, rax
lea rcx, [rsp + 0x150]
call fcn.1000e97d0
nop
mov rcx, rdx
call fcn.1000e7a50
movdqu xmm0, xmmword [0x100035880]
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 0x10009f1c5
movzx eax, cx
mov qword [rdx + rax*8 + 0x28], rdi
add cx, si
jmp 0x10009f1b2
lea r8, [0x10000c510]
lea rcx, [rsp + 0x150]
call fcn.100052760
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 0x10009f247
movzx eax, cx
mov qword [rdx + rax*8 + 0x28], rdi
add cx, si
jmp 0x10009f234
lea r8, [0x10001a330]
lea rcx, [rsp + 0x150]
call fcn.100052760
mov rcx, qword [rsp + 0x140]
mov rax, qword [rcx + 0xb0]
mov qword [rbx], rax
mov qword [rcx + 0xb0], rbx
mov rcx, r15
call fcn.10013031c
nop
or rcx, 0xffffffffffffffff
jmp 0x10009f377
cmp dword [rsp + 0x158], edi
jge 0x10009ee28
mov rcx, r15
call fcn.10013031c
cmp rbx, rdi
je 0x10009f3a8
mov rcx, qword [rbx + 0x18]
cmp rcx, rdi
je 0x10009f3a0
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, rbx
call fcn.1001302fc
mov eax, dword [rsp + 0x158]
mov dword [rsp + 0x110], eax
lea rdx, [0x100172be0]
lea rcx, [rsp + 0x110]
call sub.msvcrt.dll__CxxThrowException
nop
mov rax, qword [rsp + 0x40]
cmp rax, rcx
je 0x10009f3df
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rcx, [rsp + 0x150]
call fcn.1000e80ec
jmp 0x10009f4c7
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.1000eb640
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, [0x10001dfc0]
mov r8d, 0x80042302
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x150]
call fcn.1000e93c0
nop
mov rcx, qword [rsp + 0x2b0]
xor rcx, rsp
call fcn.100130830
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