Function at 0x1400959e0
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.1400a40f0
nop
inc dword [r14 + 0x134]
cmp qword [r14 + 0x128], r15
jne 0x140095db9
lea rcx, [r14 + 8]
call fcn.140049390
test eax, eax
jne 0x140095a67
lea rcx, [rsp + 0x70]
call fcn.1400a41f0
xor eax, eax
jmp 0x140095df8
mov ebx, r15d
mov dword [rsp + 0x58], ebx
nop
cmp ebx, 0x32
jge 0x140095ac1
cmp r12, 0xffffffffffffffff
jne 0x140095ad8
test ebx, ebx
jle 0x140095a8a
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.140094750
mov r12, rax
mov qword [rsp + 0x50], rax
jmp 0x140095a70
cmp r12, 0xffffffffffffffff
jne 0x140095ad8
lea rcx, [rsp + 0x70]
call fcn.1400a41f0
xor eax, eax
jmp 0x140095df8
xor edx, edx
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp eax, 0xffffffff
jne 0x140095afb
lea rcx, [rsp + 0x70]
call fcn.1400a41f0
xor eax, eax
jmp 0x140095df8
lea eax, [rdi + 1]
mov ebx, eax
mov ecx, eax
call fcn.14005f15c
mov rsi, rax
mov qword [rsp + 0x68], rax
mov r8d, ebx
xor edx, edx
mov rcx, rax
call fcn.140060ef0
test rsi, rsi
jne 0x140095b32
lea rcx, [rsp + 0x70]
call fcn.1400a41f0
xor eax, eax
jmp 0x140095df8
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 0x140095b63
lea rcx, [rsp + 0x70]
call fcn.1400a41f0
xor eax, eax
jmp 0x140095df8
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, [0x1401066c4]
mov rcx, rsi
call fcn.14006138c
mov qword [rsp + 0x40], rax
nop dword [rax]
test rax, rax
je 0x140095bce
inc dword [r14 + 0x130]
inc rax
mov qword [rsp + 0x40], rax
mov rcx, r13
inc rcx
cmp byte [rsi + rcx], 0
jne 0x140095ba7
add rcx, rsi
cmp rax, rcx
jae 0x140095bcc
lea rdx, [0x1401025f8]
mov rcx, rax
call fcn.14006138c
mov qword [rsp + 0x40], rax
jmp 0x140095b90
mov ecx, dword [r14 + 0x130]
mov eax, 8
mul rcx
cmovo rax, r13
mov rcx, rax
call fcn.14005f15c
mov qword [r14 + 0x128], rax
lea rdx, [0x1401066c4]
mov rcx, rsi
call fcn.14006138c
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 0x140095daa
lea rdx, [0x1401066c8]
mov rcx, rdi
call fcn.14006138c
mov rbx, rax
mov qword [rsp + 0xe0], rax
test rax, rax
je 0x140095d9d
mov ecx, 0x18
call fcn.14005f120
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.14005f15c
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.14006a380
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, [0x1401025f8]
mov rcx, rax
call fcn.14006138c
mov rdi, rax
test rax, rax
jne 0x140095d0c
or rdi, 0xffffffffffffffff
nop word [rax + rax]
inc rdi
cmp byte [rsi + rdi], 0
jne 0x140095d00
add rdi, rsi
mov rbx, rdi
sub rbx, qword [rsp + 0x40]
lea rcx, [rbx + 1]
call fcn.14005f15c
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.14006a380
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 0x140095daa
inc rdi
mov qword [rsp + 0x40], rdi
inc r15d
mov dword [rsp + 0x5c], r15d
inc r13d
mov dword [rsp + 0x60], r13d
jmp 0x140095c20
mov dword [r14 + 0x130], r15d
mov dword [rsp + 0x48], 1
jmp 0x140095dc5
test rsi, rsi
je 0x140095dd3
mov rcx, rsi
call fcn.14005f164
nop
jmp 0x140095dda
cmp r12, 0xffffffffffffffff
je 0x140095dea
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rcx, [rsp + 0x70]
call fcn.1400a41f0
mov eax, dword [rsp + 0x48]
add rsp, 0x90
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret