Function at 0x1000086b0
Capabilities:
Get file size
Read file on windows

Disassembly:
mov r11, rsp
sub rsp, 0xa8
mov rax, qword [0x10000e360]
mov qword [rsp + 0x68], rax
mov rax, qword [0x1000037f0]
mov qword [r11 + 0x20], rbx
mov qword [r11 - 8], rbp
mov qword [r11 - 0x50], rax
mov eax, dword [0x1000037f8]
mov qword [r11 - 0x10], rsi
mov qword [r11 - 0x18], rdi
lea rcx, [r11 - 0x50]
mov qword [r11 - 0x20], r12
mov dword [rcx + 8], eax
movzx eax, word [0x1000037fc]
mov qword [r11 - 0x28], r13
mov word [rcx + 0xc], ax
xor eax, eax
mov r10, rdx
mov qword [r11 - 0x30], r14
mov qword [r11 - 0x78], rax
mov rsi, r8
mov qword [r11 - 0x38], r15
mov dword [rsp + 0x28], eax
lea r8d, [rax + 1]
xor r9d, r9d
mov edx, 0x80000000
mov rcx, r10
mov ebp, 0xa0000
mov r12d, 0x5000
mov edi, eax
mov r13d, eax
mov r14d, eax
mov r15d, eax
mov dword [rsp + 0x48], eax
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
cmp rax, 0xffffffffffffffff
mov rbx, rax
mov qword [rsp + 0x50], rax
je 0x1000087ff
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, ebp
cmovb ebp, eax
cmp dword [0x10000e4f0], r15d
je 0x100008784
mov r12d, 0x200
lea ebp, [rax - 0x40]
cmp ebp, r12d
jae 0x100008799
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x1000088da
sub ebp, r12d
mov ecx, ebp
call qword [sym.imp.msvcrt.dll_malloc]
mov r8d, ebp
xor edx, edx
mov rcx, rax
mov qword [rsp + 0x40], rax
call sub.msvcrt.dll_memset
xor r9d, r9d
xor r8d, r8d
mov edx, r12d
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
mov rdx, qword [rsp + 0x40]
lea r9, [rsp + 0x48]
mov r8d, ebp
mov rcx, rbx
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov rcx, qword [rsp + 0x50]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
jne 0x100008806
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.msvcrt.dll_free]
xor eax, eax
jmp 0x1000088da
xor ebx, ebx
add ebp, 0xffffffd8
mov ecx, ebx
je 0x100008887
mov rax, qword [rsp + 0x40]
add rax, 0x14
cmp byte [rax - 0x14], 0x56
jne 0x10000887e
cmp byte [rax + 9], 4
jne 0x10000887e
cmp byte [rax], 0x5e
jne 0x10000887e
cmp byte [rax - 0x13], 0x8b
jne 0x10000887e
cmp byte [rax - 0x10], 0x89
jne 0x10000887e
cmp byte [rax - 0xe], 0x8b
jne 0x10000887e
cmp byte [rax + 7], 0x5d
jne 0x10000887e
movzx edx, byte [rax - 6]
cmp dl, 0xba
jne 0x10000885d
mov r14d, dword [rax - 5]
mov r15d, 1
lea r13d, [rcx + r12 + 0xe]
inc edi
jmp 0x10000887e
cmp dl, 0x3b
jne 0x10000887e
cmp byte [rax + 1], 0xf
jne 0x10000887e
cmp byte [rax - 0xc], 0x24
jne 0x10000887e
mov r15d, 2
lea r13d, [rcx + r12 + 0xe]
mov r14d, ebx
inc edi
inc ecx
inc rax
cmp ecx, ebp
jb 0x100008818
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.msvcrt.dll_free]
cmp edi, 1
mov dword [rsi + 0x1dc], edi
jne 0x1000088ca
lea rcx, [rsp + 0x58]
mov dword [rsi + 4], r13d
mov dword [rsi + 0xc], r14d
mov rax, qword [rcx]
mov dword [rsi], r15d
mov dword [rsi + 0x10], 0xd
mov qword [rsi + 0x18], rax
mov eax, dword [rcx + 8]
mov dword [rsi + 0x20], eax
movzx eax, byte [rcx + 0xc]
mov byte [rsi + 0x24], al
jmp 0x1000088d5
mov dword [rsi + 4], ebx
mov dword [rsi + 0xc], ebx
mov dword [rsi], ebx
mov dword [rsi + 0x10], ebx
mov eax, 1
mov r15, qword [rsp + 0x70]
mov r14, qword [rsp + 0x78]
mov r13, qword [rsp + 0x80]
mov r12, qword [rsp + 0x88]
mov rdi, qword [rsp + 0x90]
mov rsi, qword [rsp + 0x98]
mov rbp, qword [rsp + 0xa0]
mov rbx, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0x68]
call fcn.10000afa0
add rsp, 0xa8
ret