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

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov qword [rbp - 0x40], 0xfffffffffffffffe
mov qword [rsp + 0xc0], rbx
mov rax, qword [0x1804610b0]
xor rax, rsp
mov qword [rbp - 8], rax
mov r12, r9
movzx r15d, r8b
mov rbx, rdx
mov r13, qword [rbp + 0x60]
mov rcx, rdx
call fcn.1801dbd90
test al, al
je 0x18009063a
xor esi, esi
mov qword [rbp - 0x48], rsi
lea rdx, [0x180488a90]
lea ecx, [rsi + 8]
call fcn.180299940
mov rdi, rax
mov qword [rbp - 0x50], rax
test rax, rax
je 0x180090439
lea rax, vtable.RC::ICoreDataUtil.0
mov qword [rdi], rax
lea rax, vtable.RC::RCCoreDataUtil.0
mov qword [rdi], rax
jmp 0x18009043c
mov rdi, rsi
mov qword [rbp - 0x48], rdi
test rdi, rdi
jne 0x18009044d
xor sil, sil
jmp 0x180090622
mov qword [rbp - 0x50], rsi
mov ecx, 8
call fcn.1802994e4
mov qword [rbp - 0x30], rax
mov qword [rax], 0xffffffffffffffff
mov qword [rbp - 0x50], rax
mov dword [rsp + 0x20], 3
mov r9d, 1
mov r8d, 0x80000000
mov rdx, rbx
lea rcx, [rbp - 0x50]
call fcn.18016bb70
mov rbx, qword [rbp - 0x50]
test al, al
je 0x1800905eb
test rbx, rbx
je 0x1800905eb
mov rcx, qword [rbx]
cmp rcx, 0xffffffffffffffff
je 0x1800905d1
lea rdx, [rbp - 0x30]
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov r14d, eax
cmp eax, 0xffffffff
jne 0x1800904cc
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x1800905d1
mov esi, dword [rbp - 0x30]
shl rsi, 0x20
mov rax, r14
add rsi, r14
cmp rsi, 0x400
jbe 0x1800905d1
xor eax, eax
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x10], rax
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x28], xmm0
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x10], rax
mov edx, 0x400
lea rcx, [rbp - 0x28]
call fcn.18018c430
mov r14, rax
test rax, rax
je 0x1800905a9
xor eax, eax
mov dword [rbp - 0x38], eax
cmp qword [rbx], 0xffffffffffffffff
je 0x1800905a9
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x38]
mov r8d, 0x400
mov rdx, r14
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1800905a9
cmp dword [rbp - 0x38], 0x400
jne 0x1800905a9
mov rcx, qword [rbx]
cmp rcx, 0xffffffffffffffff
je 0x18009056f
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x18009056f
mov qword [rbx], 0xffffffffffffffff
cmp dword [r14], 0x20181120
jne 0x1800905c3
test r15b, r15b
je 0x180090594
mov rax, qword [rdi]
mov r9d, esi
mov r8d, dword [rbp - 0x38]
mov rdx, r14
mov rcx, rdi
call qword [rax + 0x68]
test al, al
je 0x1800905c3
mov dword [r12], 1
mov eax, dword [r14 + 4]
mov dword [r13], eax
mov sil, 1
jmp 0x1800905c6
mov rcx, qword [rbx]
cmp rcx, 0xffffffffffffffff
je 0x1800905c3
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x1800905c3
mov qword [rbx], 0xffffffffffffffff
xor sil, sil
lea rcx, [rbp - 0x28]
call fcn.18018c390
jmp 0x1800905ee
mov rcx, qword [rbx]
cmp rcx, 0xffffffffffffffff
je 0x1800905eb
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x1800905eb
mov qword [rbx], 0xffffffffffffffff
xor sil, sil
test rbx, rbx
je 0x180090622
mov rcx, qword [rbx]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x18009060d
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx], 0
mov edx, 8
mov rcx, rbx
call fcn.180299904
mov qword [rbp - 0x50], 0
test rdi, rdi
je 0x180090636
mov r8, qword [rdi]
mov edx, 1
mov rcx, rdi
call qword [r8 + 0x70]
movzx eax, sil
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1802994c0
mov rbx, qword [rsp + 0xc0]
add rsp, 0x80
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret