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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x550]
sub rsp, 0x650
mov r12d, 0x103
lea rcx, [rbp + 0x111]
xor r15d, r15d
mov r8d, r12d
xor edx, edx
mov byte [rbp + 0x110], r15b
call fcn.1800070d8
lea rax, [rbp + 0x110]
lea edx, [r15 + 0x1a]
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
mov qword [rsp + 0x20], rax
call qword [0x180042838]
mov rdx, qword [0x180043968]
lea rcx, [rbp + 0x110]
call qword [0x180042848]
lea rcx, [rbp + 0x221]
mov r8d, r12d
xor edx, edx
mov byte [rbp + 0x220], r15b
call fcn.1800070d8
lea rdx, [rbp + 0x110]
lea rcx, [rbp + 0x220]
call qword [0x180042840]
mov rdx, qword [0x180043938]
lea rcx, [rbp + 0x220]
call qword [0x180042848]
lea r8d, [r15 + 3]
mov qword [rsp + 0x30], r15
lea edx, [r15 + 1]
lea rcx, [rbp + 0x220]
xor r9d, r9d
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], r8d
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x18001aea8
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
lea ecx, [rbx + 1]
call fcn.180006b9c
lea r9, [rbp + 0x580]
mov r8d, ebx
mov rcx, rsi
mov rdx, rax
mov qword [rsp + 0x20], r15
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov byte [rbx + rdi], r15b
mov rdx, qword [0x180043970]
mov rcx, rdi
call qword [0x180042898]
test rax, rax
je 0x18001ae96
cmp byte [rax + 0xb], 0x31
mov rdx, qword [0x180043978]
mov rcx, rdi
mov r14d, r15d
sete r14b
call qword [0x180042898]
mov rbx, rax
test rax, rax
je 0x18001ae96
lea rdx, [0x1800351c0]
mov rcx, rax
call qword [0x180042898]
test rax, rax
je 0x18001ae96
mov byte [rax], r15b
lea rcx, [rbp + 0x331]
mov r8d, r12d
xor edx, edx
mov byte [rbp + 0x330], r15b
call fcn.1800070d8
test r14d, r14d
je 0x18001ad5f
lea rdx, [rbp + 0x110]
lea rcx, [rbp + 0x330]
call qword [0x180042840]
lea rdx, [rbx + 5]
lea rcx, [rbp + 0x330]
call qword [0x180042848]
lea rcx, [rsp + 0x68]
call fcn.180006d80
lea rdx, [rbp + 0x110]
lea rcx, [rbp + 0x440]
call qword [0x180042840]
lea rdx, [rsp + 0x68]
lea rcx, [rbp + 0x440]
call qword [0x180042848]
lea rdx, [rbp + 0x440]
lea rcx, [rbp + 0x330]
call fcn.180006ba4
lea rcx, [rbp + 1]
mov r8, r12
xor edx, edx
mov byte [rbp], r15b
call fcn.1800070d8
mov rdx, qword [0x180043950]
lea rcx, [rbp]
call qword [0x180042840]
mov rdx, qword [0x1800436f8]
lea rcx, [rbp]
call qword [0x180042848]
mov rdx, qword [0x180043980]
lea rcx, [rbp]
call qword [0x180042848]
lea rdx, [0x1800351bc]
lea rcx, [rbp]
call qword [0x180042848]
lea rdx, [rbp + 0x440]
lea rcx, [rbp]
call qword [0x180042848]
lea rdx, [0x1800351bc]
lea rcx, [rbp]
call qword [0x180042848]
xor edx, edx
lea rcx, [rbp - 0x68]
lea r8d, [rdx + 0x60]
call fcn.1800070d8
lea rax, [0x18004a460]
lea rdx, [rbp]
mov qword [rbp - 0x60], rax
xor eax, eax
xor r9d, r9d
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x70]
xor r8d, r8d
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
xor ecx, ecx
mov dword [rsp + 0x28], r15d
mov dword [rbp - 0x70], 0x68
mov dword [rsp + 0x20], r15d
mov qword [rsp + 0x50], r15
call qword [0x180042928]
mov rcx, rsi
call qword [0x180042790]
mov rcx, rdi
call qword [0x1800427d0]
lea r11, [rsp + 0x650]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret