Function at 0x140117ab4
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x270
mov rax, qword [0x140178010]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov r13b, dl
mov r14, rcx
mov rcx, qword [0x1401782b0]
lea rax, [0x1401782b0]
mov bl, 1
cmp rcx, rax
je 0x140117b20
test byte [rcx + 0x1c], bl
je 0x140117b20
cmp byte [rcx + 0x19], 4
jb 0x140117b20
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015fe60]
mov edx, 0x36
call fcn.140004c6c
xor edi, edi
mov ecx, 0x4000000
mov dword [rsp + 0x40], edi
mov r15b, dil
mov esi, edi
or rbp, 0xffffffffffffffff
call fcn.1401470a8
mov r12, rax
test rax, rax
jne 0x140117b88
mov edi, 0x8007000e
mov rcx, qword [0x1401782b0]
lea rsi, [0x1401782b0]
cmp rcx, rsi
je 0x140117fcc
test byte [rcx + 0x1c], bl
je 0x140117fa7
cmp byte [rcx + 0x19], 2
jb 0x140117fa7
mov rcx, qword [rcx + 0x10]
lea edx, [rbp + 0x38]
lea r8, [0x14015fe60]
call fcn.140004c6c
jmp 0x140117fa0
xor edx, edx
mov r8d, 0x4000000
mov rcx, rax
call sub.msvcrt.dll_memset
test r14, r14
je 0x140117ba3
cmp word [r14], di
jne 0x140117bbb
lea r8, str.wszMountedDeviceName__wszMountedDeviceName
mov edx, 0x3da
lea rcx, str.base_stor_blbengine_blbengutils_blbvhdhelper.cpp
call fcn.14008624c
mov r8, r14
lea rcx, [rsp + 0x50]
mov edx, 0x104
call fcn.14003b8c0
mov edi, eax
test eax, eax
jns 0x140117c1a
mov rcx, qword [0x1401782b0]
lea rax, [0x1401782b0]
cmp rcx, rax
je 0x140117f91
test byte [rcx + 0x1c], bl
je 0x140117f91
cmp byte [rcx + 0x19], 2
jb 0x140117f91
mov edx, 0x38
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015fe60]
mov r9d, edi
call fcn.140004c90
jmp 0x140117f91
lea r8, [0x14014d7b8]
mov edx, 0x104
lea rcx, [rsp + 0x50]
call fcn.140052af4
mov edi, eax
test eax, eax
jns 0x140117c67
mov rcx, qword [0x1401782b0]
lea rax, [0x1401782b0]
cmp rcx, rax
je 0x140117f91
test byte [rcx + 0x1c], bl
je 0x140117f91
cmp byte [rcx + 0x19], 2
jb 0x140117f91
mov edx, 0x39
jmp 0x140117c02
cmp byte [0x140179150], sil
jne 0x140117f46
mov eax, 0x80000000
test r13b, r13b
je 0x140117cfc
and dword [rsp + 0x44], 0
lea rdx, [rsp + 0x44]
lea rcx, [rsp + 0x50]
call fcn.14008b878
mov ecx, 0x80000000
mov edi, eax
add eax, ecx
test ecx, eax
jne 0x140117e91
cmp edi, 0x800703ed
je 0x140117e91
mov rcx, qword [0x1401782b0]
lea rax, [0x1401782b0]
cmp rcx, rax
je 0x140117e58
test byte [rcx + 0x1c], bl
je 0x140117e29
cmp byte [rcx + 0x19], 4
jb 0x140117e29
mov rcx, qword [rcx + 0x10]
lea r9, [rsp + 0x50]
mov edx, 0x3b
mov dword [rsp + 0x20], edi
lea r8, [0x14015fe60]
call fcn.140005ce8
jmp 0x140117e1b
test r15b, r15b
jne 0x140117dc2
and qword [rsp + 0x30], 0
xor r9d, r9d
mov dword [rsp + 0x28], 0x2000080
mov edx, eax
mov rcx, r14
mov dword [rsp + 0x20], 3
lea r8d, [r9 + 7]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbp, rax
cmp rax, 0xffffffffffffffff
jne 0x140117d85
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [0x1401782b0]
lea rdx, [0x1401782b0]
cmp rcx, rdx
je 0x140117e58
test byte [rcx + 0x1c], bl
je 0x140117e22
cmp byte [rcx + 0x19], 4
jb 0x140117e22
mov rcx, qword [rcx + 0x10]
lea edx, [rbp + 0x3e]
mov r9, r14
mov dword [rsp + 0x20], eax
lea r8, [0x14015fe60]
call fcn.140005ce8
jmp 0x140117e1b
mov rcx, qword [0x1401782b0]
lea rax, [0x1401782b0]
cmp rcx, rax
je 0x140117dbf
test byte [rcx + 0x1c], bl
je 0x140117dbf
cmp byte [rcx + 0x19], 4
jb 0x140117dbf
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015fe60]
mov edx, 0x3e
mov dword [rsp + 0x20], esi
mov r9, r14
call fcn.140005ce8
mov r15b, bl
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x40]
mov r8d, 0x4000000
mov rdx, r12
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x140117f0e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [0x1401782b0]
lea rdx, [0x1401782b0]
cmp rcx, rdx
je 0x140117e58
test byte [rcx + 0x1c], bl
je 0x140117e22
cmp byte [rcx + 0x19], 4
jb 0x140117e22
mov rcx, qword [rcx + 0x10]
mov r9, rbp
mov dword [rsp + 0x20], eax
call fcn.1401165e0
mov rcx, qword [0x1401782b0]
lea rax, [0x1401782b0]
cmp rcx, rax
je 0x140117e58
test byte [rcx + 0x1c], bl
je 0x140117e58
cmp byte [rcx + 0x19], 4
jb 0x140117e58
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015fe60]
mov edx, 0x41
mov r9d, esi
call fcn.140004c90
mov rcx, qword [0x1401782b0]
mov eax, 0x10624dd3
mul dword [0x140178604]
shr edx, 6
cmp esi, edx
jae 0x140117ed8
cmp esi, 0xa
sbb ebx, ebx
and ebx, 0xfffffffd
add ebx, 5
imul ecx, ebx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
add esi, ebx
mov bl, 1
cmp byte [0x140179150], 0
jmp 0x140117c6e
xor edi, edi
mov rcx, qword [0x1401782b0]
lea rax, [0x1401782b0]
cmp rcx, rax
je 0x140117f7e
test byte [rcx + 0x1c], bl
je 0x140117f7e
cmp byte [rcx + 0x19], 4
jb 0x140117f7e
mov rcx, qword [rcx + 0x10]
lea edx, [rdi + 0x3c]
mov r9d, esi
lea r8, [0x14015fe60]
call fcn.140004c90
jmp 0x140117f7e
lea rax, [0x1401782b0]
cmp rcx, rax
je 0x140117f07
test byte [rcx + 0x1c], bl
je 0x140117f07
cmp byte [rcx + 0x19], 2
jb 0x140117f07
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015fe60]
mov edx, 0x42
mov r9d, esi
call fcn.140004c90
mov edi, 0x8078004f
jmp 0x140117f7e
mov rcx, qword [0x1401782b0]
lea rax, [0x1401782b0]
cmp rcx, rax
je 0x140117f7e
test byte [rcx + 0x1c], bl
je 0x140117f7e
cmp byte [rcx + 0x19], 4
jb 0x140117f7e
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015fe60]
mov edx, 0x40
mov r9, rbp
call fcn.140010678
jmp 0x140117f7e
mov rcx, qword [0x1401782b0]
lea rax, [0x1401782b0]
cmp rcx, rax
je 0x140117f79
test byte [rcx + 0x1c], bl
je 0x140117f79
cmp byte [rcx + 0x19], 2
jb 0x140117f79
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015fe60]
mov edx, 0x3a
call fcn.140004c6c
mov edi, 0x80780075
lea rax, [rbp - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140117f91
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, r12
call fcn.14014709c
lea rsi, [0x1401782b0]
mov rcx, qword [0x1401782b0]
cmp rcx, rsi
je 0x140117fcc
test byte [rcx + 0x1c], bl
je 0x140117fcc
cmp byte [rcx + 0x19], 4
jb 0x140117fcc
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015fe60]
mov edx, 0x43
call fcn.140004c6c
mov eax, edi
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.1401474d0
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret