Function at 0x100008930
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 [0x100003800]
mov qword [r11 + 0x20], rbx
mov qword [r11 - 8], rbp
mov qword [r11 - 0x50], rax
mov eax, dword [0x100003808]
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 [0x10000380c]
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, 0x30000
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 0x100008a7f
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, ebp
cmovb ebp, eax
cmp dword [0x10000e4f0], r15d
je 0x100008a04
mov r12d, 0x200
lea ebp, [rax - 0x40]
cmp ebp, r12d
jae 0x100008a19
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x100008b6e
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 0x100008a86
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.msvcrt.dll_free]
xor eax, eax
jmp 0x100008b6e
xor ebx, ebx
add ebp, 0xffffffd8
mov ecx, ebx
je 0x100008b1b
mov rax, qword [rsp + 0x40]
add rax, 0x17
nop
cmp byte [rax - 0x17], 0x89
jne 0x100008b12
cmp byte [rax + 0xe], 0xd0
jne 0x100008b12
cmp byte [rax], 0x41
jne 0x100008b12
cmp byte [rax - 0x16], 2
jne 0x100008b12
cmp byte [rax + 1], 0x8d
jne 0x100008b12
cmp byte [rax - 7], 0x48
jne 0x100008b12
cmp byte [rax - 6], 0x8d
jne 0x100008b12
cmp byte [rax + 9], 0x41
jne 0x100008b12
cmp byte [rax + 0xa], 0xb8
jne 0x100008b12
movzx edx, byte [rax - 0x15]
cmp dl, 0xb8
jne 0x100008af1
mov r14d, dword [rax - 0x14]
mov r15d, 1
lea r13d, [rcx + r12 + 2]
inc edi
jmp 0x100008b12
cmp dl, 0x8b
jne 0x100008b12
cmp byte [rax - 0xf], 0x39
jne 0x100008b12
cmp byte [rax - 0x13], 0x38
jne 0x100008b12
mov r15d, 2
lea r13d, [rcx + r12 + 2]
mov r14d, ebx
inc edi
inc ecx
inc rax
cmp ecx, ebp
jb 0x100008aa0
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.msvcrt.dll_free]
cmp edi, 1
mov dword [rsi + 0x1dc], edi
jne 0x100008b5e
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 0x100008b69
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