Function at 0x14007df70
Capabilities:
Read file on windows

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f]
sub rsp, 0xe8
mov rax, qword [0x140200260]
xor rax, rsp
mov qword [rbp + 0xf], rax
mov edi, r9d
mov r13, r8
mov r12, rdx
mov rbx, rcx
xor ecx, ecx
mov dword [rsp + 0x30], ecx
mov esi, ecx
mov r14d, ecx
movzx eax, byte [rbx + 0xf0]
test al, al
je 0x14007e033
nop dword [rax]
movzx eax, byte [rbx + 0xf1]
test al, al
je 0x14007e033
movsxd rdx, r14d
add rdx, r13
mov qword [rsp + 0x20], rcx
lea r9, [rsp + 0x30]
mov r8d, edi
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov r15d, eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [rsp + 0x30]
cmp eax, 0x6d
je 0x14007dfff
test ecx, ecx
jne 0x14007e008
jmp 0x14007e018
test r15d, r15d
je 0x14007e151
cmp ecx, edi
je 0x14007e033
add r14d, ecx
sub edi, ecx
cmp esi, 0x64
jg 0x14007e055
inc esi
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
movzx eax, byte [rbx + 0xf0]
test al, al
mov ecx, 0
jne 0x14007dfc0
mov al, 1
mov rcx, qword [rbp + 0xf]
xor rcx, rsp
call fcn.140113660
add rsp, 0xe8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
xor edi, edi
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x48], rdi
mov qword [rbp - 0x79], 7
mov word [rsp + 0x38], di
lea r8d, [rdi + 0x11]
lea rdx, str.Terminate_channel
lea rcx, [rsp + 0x38]
call fcn.140056b80
nop
mov qword [rbp - 0x41], rdi
movdqa xmm0, xmmword [0x1401e06e0]
movdqu xmmword [rbp - 0x31], xmm0
mov word [rbp - 0x41], di
xor r8d, r8d
lea rdx, [0x14018cce0]
lea rcx, [rbp - 0x41]
call fcn.140056b80
nop
mov dword [rbp - 0x51], 4
mov dword [rbp - 0x4d], 0xffff
mov eax, dword [rsp + 0x48]
inc eax
mov dword [rbp - 0x49], eax
lea rdx, [rsp + 0x38]
cmp qword [rbp - 0x79], 8
cmovae rdx, qword [rsp + 0x38]
mov r8, qword [rsp + 0x48]
lea rcx, [rbp - 0x41]
call fcn.140056b80
lea rdx, [rbp - 0x51]
mov rcx, rbx
call fcn.14007f3c0
nop
lea rcx, [rbp - 0x41]
call fcn.140056af0
nop
lea rcx, [rsp + 0x38]
call fcn.140056af0
mov rcx, qword [rbx + 0x160]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14007e121
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 0x160], rdi
mov rcx, qword [rbx + 0x158]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14007e232
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 0x158], rdi
mov byte [rbx + 0xf1], 0
xor al, al
jmp 0x14007e035
xor edi, edi
mov qword [rbp - 0x71], rdi
mov qword [rbp - 0x61], rdi
mov qword [rbp - 0x59], 7
mov word [rbp - 0x71], di
lea r8d, [rdi + 0x11]
lea rdx, str.Terminate_channel
lea rcx, [rbp - 0x71]
call fcn.140056b80
nop
mov qword [rbp - 0x11], rdi
movdqa xmm0, xmmword [0x1401e06e0]
movdqu xmmword [rbp - 1], xmm0
mov word [rbp - 0x11], di
xor r8d, r8d
lea rdx, [0x14018cce0]
lea rcx, [rbp - 0x11]
call fcn.140056b80
nop
mov dword [rbp - 0x21], 4
mov dword [rbp - 0x1d], 0xffff
mov eax, dword [rbp - 0x61]
inc eax
mov dword [rbp - 0x19], eax
lea rdx, [rbp - 0x71]
cmp qword [rbp - 0x59], 8
cmovae rdx, qword [rbp - 0x71]
mov r8, qword [rbp - 0x61]
lea rcx, [rbp - 0x11]
call fcn.140056b80
lea rdx, [rbp - 0x21]
mov rcx, rbx
call fcn.14007f3c0
nop
lea rcx, [rbp - 0x11]
call fcn.140056af0
nop
lea rcx, [rbp - 0x71]
call fcn.140056af0
mov rcx, qword [rbx + 0x160]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14007e214
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 0x160], rdi
mov rcx, qword [rbx + 0x158]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14007e232
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 0x158], rdi
mov byte [rbx + 0xf1], 0
xor al, al
jmp 0x14007e035