Function at 0x14006b0b0
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x2f8
mov r15d, dword [rcx + 0x1e8]
mov r13, rcx
test r15d, r15d
jne 0x14006b2b0
mov r14, qword [rcx + 0x118]
mov rdi, qword [sym.imp.KERNEL32.dll_ReadFile]
xor ebx, ebx
lea rsi, [rsp + 0x70]
lea r12, [rsp + 0x60]
mov ebp, 0x10
jmp 0x14006b109
add ebx, dword [rsp + 0x70]
cmp ebx, 0xf
ja 0x14006b170
mov edx, ebx
mov r8d, ebp
mov r9, rsi
mov rcx, r14
mov qword [rsp + 0x20], 0
add rdx, r12
sub r8d, ebx
call rdi
test eax, eax
jne 0x14006b100
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
test eax, eax
je 0x14006b170
movdqa xmm0, xmmword [0x140226e10]
lea r8, [rsp + 0x40]
mov rcx, r13
movaps xmmword [rsp + 0x40], xmm0
call fcn.14006ae50
mov eax, r15d
add rsp, 0x2f8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov eax, dword [rsp + 0x60]
cmp eax, 7
ja 0x14006b2a0
mov r14d, dword [rsp + 0x6c]
test r14d, r14d
jne 0x14006b2a0
test al, 2
je 0x14006b2d0
mov edx, eax
mov ecx, dword [rsp + 0x68]
and edx, 1
test al, 4
jne 0x14006b2eb
test edx, edx
je 0x14006b30c
mov dword [r13 + 0x1e8], ecx
mov dword [rsp + 0x3c], 2
mov r12, qword [r13 + 0x118]
lea rbp, [rsp + 0x5c]
mov ebx, 0x278
jmp 0x14006b1de
add r14d, dword [rsp + 0x5c]
cmp r14d, 0x277
ja 0x14006b20f
mov edx, r14d
mov r8d, ebx
mov r9, rbp
mov rcx, r12
mov qword [rsp + 0x20], 0
add rdx, rsi
sub r8d, r14d
call rdi
test eax, eax
jne 0x14006b1d0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
test eax, eax
jne 0x14006b135
mov ecx, 0x290
call fcn.140082db0
test rax, rax
je 0x14006b316
mov edi, dword [rsp + 0x3c]
lea rdx, [rax + 4]
mov r15d, 0x288
mov dword [rax], edi
mov rcx, qword [rsp + 0x70]
lea rdi, [rax + 0xc]
add rax, 0x280
and rdi, 0xfffffffffffffff8
mov qword [rax - 0x27c], rcx
mov rcx, qword [rsp + 0x2e0]
sub rdx, rdi
sub rsi, rdx
mov qword [rax - 0xc], rcx
lea ecx, [rdx + 0x278]
lea rdx, [r13 + 0x1f0]
shr ecx, 3
rep movsq qword [rdi], qword [rsi]
mov qword [rax], rdx
mov rdx, qword [r13 + 0x1f8]
mov qword [rax + 8], rdx
mov qword [rdx], rax
mov qword [r13 + 0x1f8], rax
add dword [r13 + 0x200], 1
jmp 0x14006b14f
test ecx, ecx
je 0x14006b2f6
nop word [rax + rax]
mov edx, 0x2745
jmp 0x14006b135
mov r8d, r15d
mov edx, r15d
call fcn.14006af10
sub dword [r13 + 0x1e8], eax
mov r15d, eax
jmp 0x14006b14f
test al, 6
jne 0x14006b2a0
mov edx, dword [rsp + 0x68]
test eax, eax
jne 0x14006b303
test edx, edx
jne 0x14006b2a0
mov r15d, 0x10
jmp 0x14006b14f
test edx, edx
je 0x14006b296
mov dword [r13 + 0x1e8], ecx
mov dword [rsp + 0x3c], 1
jmp 0x14006b1bb
mov dword [r13 + 0x1e8], edx
jmp 0x14006b2e0
test ecx, ecx
je 0x14006b1b3
jmp 0x14006b2a0
lea rdx, [0x140226dfc]
mov ecx, 0xe
call fcn.140060630
nop
nop dword [rax + rax]
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x48
mov rbp, qword [sym.imp.KERNEL32.dll_WaitNamedPipeW]
mov rdi, qword [sym.imp.KERNEL32.dll_CreateFileW]
mov r14, qword [sym.imp.KERNEL32.dll_GetLastError]
mov r12, qword [sym.imp.KERNEL32.dll_SwitchToThread]
mov rbx, qword [rcx + 0x78]
mov r15, qword [rbx + 8]
mov r13, rcx
nop word [rax + rax]
mov rcx, qword [rbx + 0x120]
mov edx, 0x7530
call rbp
test eax, eax
je 0x14006b418
mov rsi, qword [rbx + 0x120]
xor r9d, r9d
xor r8d, r8d
mov edx, 0xc0000000
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x40000000
mov rcx, rsi
mov dword [rsp + 0x20], 3
call rdi
cmp rax, 0xffffffffffffffff
je 0x14006b438
mov edx, 0xc000
mov dword [rsp + 0x20], edx
mov r9d, 0xffffffff
mov rdx, rbx
mov r8, rax
mov rcx, r15
call fcn.140069fa0
mov edx, eax
xor eax, eax
test edx, edx
jne 0x14006b418
xor r8d, r8d
xor edx, edx
mov qword [r13 + 0x40], rax
mov rcx, qword [r15 + 0x38]
lea r9, [r13 + 0x40]
call qword [sym.imp.KERNEL32.dll_PostQueuedCompletionStatus]
test eax, eax
je 0x14006b4dd
xor eax, eax
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov rbx, qword [sym.imp.KERNEL32.dll_GetLastError]
call rbx
test eax, eax
jle 0x14006b490
call rbx
movzx eax, ax
or eax, 0x80070000
cdqe
jmp 0x14006b3e1
call r14
cmp eax, 5
je 0x14006b450
call r14
cmp eax, 5
je 0x14006b4a0
call r12
jmp 0x14006b370
xor r9d, r9d
xor r8d, r8d
mov edx, 0x80000100
mov rcx, rsi
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x40000000
mov dword [rsp + 0x20], 3
call rdi
cmp rax, 0xffffffffffffffff
je 0x14006b440
mov edx, 0x4000
jmp 0x14006b3c1
call rbx
cdqe
jmp 0x14006b3e1
xor r9d, r9d
xor r8d, r8d
mov edx, 0x40000080
mov rcx, rsi
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x40000000
mov dword [rsp + 0x20], 3
call rdi
cmp rax, 0xffffffffffffffff
je 0x14006b448
mov edx, 0x8000
jmp 0x14006b3c1
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, [0x140226db0]
mov ecx, eax
call fcn.140060630
nop
nop word cs:[rax + rax]
nop dword [rax]
movdqa xmm0, xmmword [0x140226e20]
lea rax, [rcx + 0x10]
mov qword [rdx + 8], rcx
mov qword [rdx + 0x20], rax
mov r9, qword [rcx + 0x18]
lea rax, [rdx + 0x20]
mov dword [rdx + 0x10], 7
mov dword [rdx + 0x58], 8
mov qword [rdx + 0x28], r9
mov qword [r9], rax
mov qword [rcx + 0x18], rax
lea rax, [rdx + 0x1f0]
movups xmmword [rdx + 0xf0], xmm0
movdqa xmm0, xmmword [0x140226e30]
mov dword [rdx + 0x30], 0xffffffff
movups xmmword [rdx + 0x118], xmm0
movq xmm0, rax
xor eax, eax
punpcklqdq xmm0, xmm0
mov qword [rdx + 0x60], 0
mov qword [rdx + 0x108], 0
mov dword [rdx + 0x100], 0
mov dword [rdx + 0x88], 0xe
mov qword [rdx + 0xc0], 0
mov qword [rdx + 0x80], rdx
mov qword [rdx + 0x78], 0
mov dword [rdx + 0x1e0], 0
mov dword [rdx + 0x1e8], 0
mov dword [rdx + 0x200], 0
mov dword [rdx + 0x110], r8d
mov qword [rdx + 0x208], 0
movups xmmword [rdx + 0x1f0], xmm0
ret