Function at 0x140286350
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x88
mov dword [rsp + 0x5c], 1
mov dword [rsp + 0x58], 0
mov dword [rsp + 0x40], 7
mov qword [rsp + 0x68], 0
mov dword [rsp + 0x54], 0
mov dword [rsp + 0x50], 0x80
mov qword [rsp + 0x48], 0
mov eax, dword [rsp + 0xa0]
and eax, 2
test eax, eax
jne 0x1402863d1
mov eax, dword [rsp + 0xa0]
and eax, 4
test eax, eax
jne 0x1402863d1
mov eax, dword [rsp + 0xa0]
and eax, 0x10000
test eax, eax
je 0x140286409
mov eax, dword [rsp + 0xa0]
and eax, 0x200000
test eax, eax
je 0x140286409
mov r9, qword [rsp + 0x98]
mov r8d, dword [rsp + 0xa0]
lea rdx, str._OpenFile__Option_Fail._Option___x__FilePath___s
xor ecx, ecx
call fcn.140287a50
mov eax, 0x57
jmp 0x1402867cb
mov ecx, gethostbyaddr
call qword [sym.imp.MSVCR90.dll_malloc]
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
jne 0x14028642b
mov eax, 8
jmp 0x1402867cb
mov r8d, gethostbyaddr
xor edx, edx
mov rcx, qword [rsp + 0x60]
call sub.MSVCR90.dll_memset
mov eax, dword [rsp + 0xa0]
and eax, 1
test eax, eax
je 0x140286459
mov eax, dword [rsp + 0xa0]
and eax, 2
test eax, eax
jne 0x140286467
mov eax, dword [rsp + 0xa0]
and eax, 4
test eax, eax
je 0x140286476
mov eax, dword [rsp + 0x58]
or eax, 0xc0000000
mov dword [rsp + 0x58], eax
jmp 0x1402864a0
mov eax, dword [rsp + 0xa0]
and eax, 2
test eax, eax
je 0x140286493
mov eax, dword [rsp + 0x58]
or eax, 0x40000000
mov dword [rsp + 0x58], eax
jmp 0x1402864a0
mov eax, dword [rsp + 0x58]
or eax, 0x80000000
mov dword [rsp + 0x58], eax
mov dword [rsp + 0x54], 3
mov eax, dword [rsp + 0xa0]
and eax, 0x10000
test eax, eax
je 0x1402864c3
mov eax, dword [rsp + 0x40]
and eax, 0xfffffffe
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0xa0]
and eax, 0x20000
test eax, eax
je 0x1402864de
mov eax, dword [rsp + 0x40]
and eax, 0xfffffffd
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x50], 0x80
mov eax, dword [rsp + 0xa0]
and eax, 0x100000
test eax, eax
je 0x140286503
mov eax, dword [rsp + 0x50]
or eax, 0x100
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0xa0]
and eax, 0x200000
test eax, eax
je 0x1402866ef
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rsp + 0x70], eax
mov r8, qword [rsp + 0x98]
lea rdx, str._FILEIO__Oplock___s
mov ecx, 1
call fcn.140287a50
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x40000000
mov eax, dword [rsp + 0x54]
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0x68]
mov r8d, 1
xor edx, edx
mov rcx, qword [rsp + 0x98]
call qword [rsp + 0x90]
mov r11, rax
mov rax, qword [rsp + 0x60]
mov qword [rax + 8], r11
mov rax, qword [rsp + 0x60]
cmp qword [rax + 8], 0xffffffffffffffff
jne 0x1402865a4
mov rax, qword [rsp + 0x60]
mov qword [rax + 8], 0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x5c], eax
jmp 0x1402866ef
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov r11, rax
mov rax, qword [rsp + 0x60]
mov qword [rax + 0x28], r11
mov rax, qword [rsp + 0x60]
cmp qword [rax + 0x28], 0
jne 0x1402865f7
mov rcx, qword [rsp + 0x60]
mov rcx, qword [rcx + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r11, qword [rsp + 0x60]
mov qword [r11 + 8], 0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x5c], eax
jmp 0x1402866ef
mov rax, qword [rsp + 0x60]
add rax, 0x10
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x74]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 0x9005c
mov rcx, qword [rsp + 0x60]
mov rcx, qword [rcx + 8]
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
cmp eax, 1
jne 0x14028664c
mov dword [rsp + 0x5c], 0
jmp 0x1402866ef
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x5c], eax
cmp dword [rsp + 0x5c], 0x3e5
je 0x140286667
cmp dword [rsp + 0x5c], 0
jne 0x140286679
mov dword [rsp + 0x58], 0x80000000
mov dword [rsp + 0x40], 1
jmp 0x1402866ef
mov r9, qword [rsp + 0x98]
mov r8d, dword [rsp + 0x5c]
lea rdx, str.Oplock_Error_Retry___u___s
mov ecx, 3
call fcn.140287a50
mov rcx, qword [rsp + 0x60]
mov rcx, qword [rcx + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r11, qword [rsp + 0x60]
mov qword [r11 + 8], 0
mov rcx, qword [rsp + 0x60]
mov rcx, qword [rcx + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r11, qword [rsp + 0x60]
mov qword [r11 + 0x28], 0
mov ecx, gethostbyaddr
call qword [sym.imp.KERNEL32.dll_Sleep]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [rsp + 0x70]
cmp eax, 0x12c
jb 0x14028653a
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x54]
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0x68]
mov r8d, dword [rsp + 0x40]
mov edx, dword [rsp + 0x58]
mov rcx, qword [rsp + 0x98]
call qword [rsp + 0x90]
mov r11, rax
mov rax, qword [rsp + 0x60]
mov qword [rax], r11
mov rax, qword [rsp + 0x60]
cmp qword [rax], 0xffffffffffffffff
jne 0x1402867af
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x5c], eax
mov rax, qword [rsp + 0x60]
cmp qword [rax + 8], 0
je 0x14028677a
mov rax, qword [rsp + 0x60]
cmp qword [rax + 8], 0xffffffffffffffff
je 0x14028677a
mov rcx, qword [rsp + 0x60]
mov rcx, qword [rcx + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r11, qword [rsp + 0x60]
mov qword [r11 + 8], 0
mov rax, qword [rsp + 0x60]
cmp qword [rax + 0x28], 0
je 0x1402867a2
mov rcx, qword [rsp + 0x60]
mov rcx, qword [rcx + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r11, qword [rsp + 0x60]
mov qword [r11 + 0x28], 0
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.MSVCR90.dll_free]
jmp 0x1402867c7
mov rcx, qword [rsp + 0xa8]
mov rax, qword [rsp + 0x60]
mov qword [rcx], rax
mov dword [rsp + 0x5c], 0
mov eax, dword [rsp + 0x5c]
add rsp, 0x88
ret