Function at 0x140097260
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 [0x14022e2a0]
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 0x140097323
nop dword [rax]
movzx eax, byte [rbx + 0xf1]
test al, al
je 0x140097323
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 0x1400972ef
test ecx, ecx
jne 0x1400972f8
jmp 0x140097308
test r15d, r15d
je 0x140097459
cmp ecx, edi
je 0x140097323
add r14d, ecx
sub edi, ecx
cmp esi, 0x64
jg 0x140097345
inc esi
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
movzx eax, byte [rbx + 0xf0]
test al, al
mov ecx, 0
jne 0x1400972b0
mov al, 1
mov rcx, qword [rbp + 0xf]
xor rcx, rsp
call fcn.14013b390
add rsp, 0xe8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
xor edi, edi
mov qword [rsp + 0x48], rdi
mov qword [rbp - 0x79], rdi
lea r8d, [rdi + 0x11]
lea rdx, str.Terminate_channel
lea rcx, [rsp + 0x38]
call fcn.1400669a0
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x41], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x31], xmm1
xor r8d, r8d
lea rdx, [0x1401b8310]
lea rcx, [rbp - 0x41]
call fcn.1400669a0
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.14006e2f0
lea rdx, [rbp - 0x51]
mov rcx, rbx
call fcn.140098780
nop
lea rcx, [rbp - 0x41]
call fcn.140066870
nop
mov r8, qword [rbp - 0x79]
cmp r8, 8
jb 0x1400973f9
inc r8
mov rdx, qword [rsp + 0x38]
lea rcx, [rsp + 0x38]
call fcn.140066960
mov qword [rsp + 0x48], rdi
mov qword [rbp - 0x79], 7
mov word [rsp + 0x38], di
mov rcx, qword [rbx + 0x160]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140097429
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 0x140097550
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 0x158], rdi
mov byte [rbx + 0xf1], 0
xor al, al
jmp 0x140097325
xorps xmm0, xmm0
movups xmmword [rbp - 0x71], xmm0
xor edi, edi
mov qword [rbp - 0x61], rdi
mov qword [rbp - 0x59], rdi
lea r8d, [rdi + 0x11]
lea rdx, str.Terminate_channel
lea rcx, [rbp - 0x71]
call fcn.1400669a0
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x11], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 1], xmm1
xor r8d, r8d
lea rdx, [0x1401b8310]
lea rcx, [rbp - 0x11]
call fcn.1400669a0
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.14006e2f0
lea rdx, [rbp - 0x21]
mov rcx, rbx
call fcn.140098780
nop
lea rcx, [rbp - 0x11]
call fcn.140066870
nop
mov r8, qword [rbp - 0x59]
cmp r8, 8
jb 0x140097504
inc r8
mov rdx, qword [rbp - 0x71]
lea rcx, [rbp - 0x71]
call fcn.140066960
mov qword [rbp - 0x61], rdi
mov qword [rbp - 0x59], 7
mov word [rbp - 0x71], di
mov rcx, qword [rbx + 0x160]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140097532
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 0x140097550
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 0x158], rdi
mov byte [rbx + 0xf1], 0
xor al, al
jmp 0x140097325