Function at 0x10000a7d4
Capabilities:
Read file on windows

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
mov qword [r11 + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x80
mov rax, qword [0x100013110]
xor rax, rsp
mov qword [rsp + 0x70], rax
xor r15d, r15d
mov r12, rcx
mov r14d, edx
xor eax, eax
lea rcx, [r11 - 0x5c]
lea r8d, [r15 + 0x10]
xor edx, edx
mov esi, r15d
mov dword [r11 - 0x70], r15d
mov dword [r11 - 0x74], r15d
mov dword [r11 - 0x68], r15d
mov word [r11 - 0x48], r15w
mov qword [r11 - 0x46], rax
mov dword [r11 - 0x60], r15d
call sub.msvcrt.dll_memset
mov ebp, r15d
cmp r12, r15
jne 0x10000a85e
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, r15d
jne 0x10000ab09
lea ecx, [r15 + 0x57]
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x10000ab09
mov ecx, 0xfffffff6
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rbx, rax
cmp rax, r15
je 0x10000ab09
cmp rax, 0xf
je 0x10000a890
cmp rax, 3
je 0x10000a890
cmp rax, 0xffffffffffffffff
je 0x10000a890
mov edi, 1
mov ebp, edi
jmp 0x10000a8b7
lea rdx, [rsp + 0x40]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetConsoleMode]
mov edi, 1
mov rcx, rbx
mov edx, edi
call qword [sym.imp.KERNEL32.dll_SetConsoleMode]
cmp eax, r15d
je 0x10000ab09
xor eax, eax
movsxd r13, ebp
mov rbp, r12
mov qword [rsp + 0x60], rax
mov word [rsp + 0x68], ax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x58], eax
mov qword [rsp + 0x20], r15
lea r9, [rsp + 0x38]
mov r8d, edi
mov rcx, rbx
cmp r13, rdi
jne 0x10000a93d
lea rdx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_ReadFile]
cmp eax, r15d
je 0x10000ab09
cmp dword [rsp + 0x38], r15d
je 0x10000aaa4
mov al, byte [rsp + 0x30]
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x60]
mov dword [rsp + 0x38], 0xa
mov byte [rsp + 0x60], al
call fcn.10000a6b8
movzx r11d, word [rsp + 0x48]
mov word [rsp + 0x3c], r11w
jmp 0x10000a957
lea rdx, [rsp + 0x3c]
call qword [sym.imp.KERNEL32.dll_ReadConsoleW]
cmp eax, r15d
je 0x10000aafc
mov r11w, word [rsp + 0x3c]
cmp r11w, 0xd
je 0x10000aaa4
mov eax, 8
cmp r11w, ax
jne 0x10000aa41
cmp esi, r15d
je 0x10000a8d7
lea r8, [0x1000019bc]
lea edx, [rax + 2]
lea rcx, [rsp + 0x48]
mov r9d, eax
call fcn.1000082b0
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
lea r9, [rsp + 0x34]
lea rdx, [rsp + 0x48]
mov r8d, edi
mov rcx, rax
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_WriteConsoleW]
xor r9d, r9d
lea r8, [0x1000019bc]
lea edx, [r9 + 0xa]
lea rcx, [rsp + 0x48]
call fcn.1000082b0
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
lea r9, [rsp + 0x34]
lea rdx, [rsp + 0x48]
mov r8d, edi
mov rcx, rax
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_WriteConsoleW]
mov r9d, 8
lea r8, [0x1000019bc]
lea edx, [r9 + 2]
lea rcx, [rsp + 0x48]
call fcn.1000082b0
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
lea r9, [rsp + 0x34]
lea rdx, [rsp + 0x48]
mov r8d, edi
mov rcx, rax
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_WriteConsoleW]
dec esi
sub rbp, 2
jmp 0x10000a8d7
lea eax, [r14 - 1]
cmp esi, eax
jne 0x10000aa5d
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
lea rdx, [0x1000019c4]
jmp 0x10000aa89
mov eax, 0xa
cmp r11w, ax
je 0x10000a8d7
mov word [rbp], r11w
mov ecx, 0xfffffff5
add esi, edi
add rbp, 2
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
lea rdx, [0x100001650]
lea r9, [rsp + 0x34]
mov r8d, edi
mov rcx, rax
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_WriteConsoleW]
jmp 0x10000a8d7
mov edx, dword [rsp + 0x40]
mov eax, esi
mov rcx, rbx
mov word [r12 + rax*2], r15w
call qword [sym.imp.KERNEL32.dll_SetConsoleMode]
lea rdx, [0x1000019c8]
lea rcx, [rsp + 0x48]
mov r8d, 0xa
call fcn.100009ec8
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
lea r9, [rsp + 0x34]
lea rdx, [rsp + 0x48]
mov r8d, 2
mov rcx, rax
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_WriteConsoleW]
mov eax, edi
jmp 0x10000ab0b
mov edx, dword [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetConsoleMode]
xor eax, eax
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.10000ff20
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret