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

Disassembly:
mov rax, rsp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x90
mov qword [rax - 0x40], 0xfffffffffffffffe
mov r14, rcx
or r13, 0xffffffffffffffff
mov r12, r13
mov qword [rax - 0x78], r13
xor r15d, r15d
mov dword [rax - 0x80], r15d
mov esi, r15d
mov qword [rax - 0x60], r15
or r9d, 0xffffffff
lea r8, str.LoadINISections
mov rdx, qword [rcx + 0x138]
lea rcx, [rax - 0x58]
call fcn.1400f96a0
nop
inc dword [r14 + 0x134]
cmp qword [r14 + 0x128], r15
jne 0x1400f13e9
lea rcx, [r14 + 8]
call fcn.1400fafb0
test eax, eax
jne 0x1400f1097
lea rcx, [rsp + 0x70]
call fcn.1400f97a0
xor eax, eax
jmp 0x1400f1428
mov ebx, r15d
mov dword [rsp + 0x58], ebx
nop
cmp ebx, 0x32
jge 0x1400f10f1
cmp r12, 0xffffffffffffffff
jne 0x1400f1108
test ebx, ebx
jle 0x1400f10ba
lea ecx, [r12 + 0x15]
call qword [sym.imp.KERNEL32.dll_Sleep]
inc ebx
mov dword [rsp + 0x58], ebx
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0x80000000
lea r8d, [r9 + 1]
lea rcx, [r14 + 8]
call fcn.1400efd80
mov r12, rax
mov qword [rsp + 0x50], rax
jmp 0x1400f10a0
cmp r12, 0xffffffffffffffff
jne 0x1400f1108
lea rcx, [rsp + 0x70]
call fcn.1400f97a0
xor eax, eax
jmp 0x1400f1428
xor edx, edx
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp eax, 0xffffffff
jne 0x1400f112b
lea rcx, [rsp + 0x70]
call fcn.1400f97a0
xor eax, eax
jmp 0x1400f1428
lea eax, [rdi + 1]
mov ebx, eax
mov ecx, eax
call fcn.140113934
mov rsi, rax
mov qword [rsp + 0x68], rax
mov r8d, ebx
xor edx, edx
mov rcx, rax
call fcn.140141ad0
test rsi, rsi
jne 0x1400f1162
lea rcx, [rsp + 0x70]
call fcn.1400f97a0
xor eax, eax
jmp 0x1400f1428
mov qword [rsp + 0x20], r15
lea r9, [rsp + 0xd0]
mov r8d, edi
mov rdx, rsi
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x1400f1193
lea rcx, [rsp + 0x70]
call fcn.1400f97a0
xor eax, eax
jmp 0x1400f1428
mov byte [rdi + rsi], 0
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r12, r13
mov qword [rsp + 0x50], r13
lea rdx, [0x1402883cc]
mov rcx, rsi
call fcn.1401422f8
mov qword [rsp + 0x40], rax
nop dword [rax]
test rax, rax
je 0x1400f11fe
inc dword [r14 + 0x130]
inc rax
mov qword [rsp + 0x40], rax
mov rcx, r13
inc rcx
cmp byte [rsi + rcx], 0
jne 0x1400f11d7
add rcx, rsi
cmp rax, rcx
jae 0x1400f11fc
lea rdx, [0x1402210f0]
mov rcx, rax
call fcn.1401422f8
mov qword [rsp + 0x40], rax
jmp 0x1400f11c0
mov ecx, dword [r14 + 0x130]
mov eax, 8
mul rcx
cmovo rax, r13
mov rcx, rax
call fcn.140113934
mov qword [r14 + 0x128], rax
lea rdx, [0x1402883cc]
mov rcx, rsi
call fcn.1401422f8
mov rdi, rax
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x5c], r15d
mov r13d, r15d
mov dword [rsp + 0x60], r15d
nop dword [rax]
nop dword [rax + rax]
cmp r13d, dword [r14 + 0x130]
jae 0x1400f13da
lea rdx, [0x1402883d0]
mov rcx, rdi
call fcn.1401422f8
mov rbx, rax
mov qword [rsp + 0xe0], rax
test rax, rax
je 0x1400f13cd
mov ecx, 0x18
call fcn.1400dba80
mov ecx, r15d
lea rdx, [rcx*8]
mov qword [rsp + 0xd8], rdx
mov rcx, qword [r14 + 0x128]
mov qword [rdx + rcx], rax
sub rbx, rdi
mov rcx, rbx
call fcn.140113934
mov rcx, qword [r14 + 0x128]
mov r9, qword [rsp + 0xd8]
mov rdx, qword [r9 + rcx]
mov qword [rdx], rax
lea r8, [rbx - 1]
lea rdx, [rdi + 1]
mov rax, qword [r14 + 0x128]
mov rcx, qword [r9 + rax]
mov rcx, qword [rcx]
call fcn.140157390
mov rax, qword [r14 + 0x128]
mov rcx, qword [rsp + 0xd8]
mov rcx, qword [rcx + rax]
mov rax, qword [rcx]
mov byte [rax + rbx - 1], 0
mov rax, qword [rsp + 0xe0]
inc rax
mov qword [rsp + 0x40], rax
lea rdx, [0x1402210f0]
mov rcx, rax
call fcn.1401422f8
mov rdi, rax
test rax, rax
jne 0x1400f133c
or rdi, 0xffffffffffffffff
nop word [rax + rax]
inc rdi
cmp byte [rsi + rdi], 0
jne 0x1400f1330
add rdi, rsi
mov rbx, rdi
sub rbx, qword [rsp + 0x40]
lea rcx, [rbx + 1]
call fcn.140113934
mov rcx, qword [r14 + 0x128]
mov r8, qword [rsp + 0xd8]
mov rdx, qword [rcx + r8]
mov qword [rdx + 8], rax
mov rax, qword [r14 + 0x128]
mov rcx, qword [rax + r8]
mov r8, rbx
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rcx + 8]
call fcn.140157390
mov rax, qword [r14 + 0x128]
mov rdx, qword [rsp + 0xd8]
mov rcx, qword [rax + rdx]
mov rax, qword [rcx + 8]
sub rax, qword [rsp + 0x40]
mov byte [rax + rdi], 0
mov rax, qword [r14 + 0x128]
mov rcx, qword [rdx + rax]
mov rax, qword [rcx + 8]
mov qword [rcx + 0x10], rax
mov qword [rsp + 0x40], rdi
test rdi, rdi
je 0x1400f13da
inc rdi
mov qword [rsp + 0x40], rdi
inc r15d
mov dword [rsp + 0x5c], r15d
inc r13d
mov dword [rsp + 0x60], r13d
jmp 0x1400f1250
mov dword [r14 + 0x130], r15d
mov dword [rsp + 0x48], 1
jmp 0x1400f13f5
test rsi, rsi
je 0x1400f1403
mov rcx, rsi
call fcn.1401139ac
nop
jmp 0x1400f140a
cmp r12, 0xffffffffffffffff
je 0x1400f141a
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rcx, [rsp + 0x70]
call fcn.1400f97a0
mov eax, dword [rsp + 0x48]
add rsp, 0x90
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret