Function at 0x4113d6f0
Capabilities:
Check if file exists
Get file size
Read file on windows

Disassembly:
mov r11, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xc0
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [r11 + 0x20], rbx
mov rax, qword [0x41359af8]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov rdi, r8
mov rbx, rdx
mov qword [rsp + 0x48], rcx
mov qword [r11 - 0x78], r8
xor r12d, r12d
mov dword [rsp + 0x40], r12d
mov qword [r11 - 0x80], 0xf
mov qword [rsp + 0x70], r12
mov byte [rsp + 0x60], r12b
cmp qword [r8 + 0x20], 0x10
jb 0x4113d75d
lea rsi, [r8 + 8]
mov rcx, qword [rsi]
jmp 0x4113d764
lea rsi, [r8 + 8]
mov rcx, rsi
call qword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x4113d9f4
cmp qword [rdi + 0x20], 0x10
jb 0x4113d77e
mov rcx, qword [rsi]
jmp 0x4113d781
mov rcx, rsi
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 4
xor r9d, r9d
mov edx, 0x80000000
lea r8d, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rbp, rax
cmp rax, 0xffffffffffffffff
jne 0x4113d874
mov qword [rbx + 0x20], 0xf
mov qword [rbx + 0x18], r12
lea rdx, [rbx + 8]
mov byte [rdx], 0
mov r9, qword [rbx + 0x20]
cmp r9, 0x10
jb 0x4113d7d7
mov rax, qword [rdx]
jmp 0x4113d7da
mov rax, rdx
lea r8, [0x412cb00f]
cmp r8, rax
jb 0x4113d819
cmp r9, 0x10
jb 0x4113d7f1
mov rcx, qword [rdx]
jmp 0x4113d7f4
mov rcx, rdx
add rcx, qword [rbx + 0x18]
cmp rcx, r8
jbe 0x4113d819
cmp r9, 0x10
jb 0x4113d806
mov rdx, qword [rdx]
sub r8, rdx
xor r9d, r9d
mov rdx, rbx
mov rcx, rbx
call fcn.41001b20
jmp 0x4113d829
mov qword [rbx + 0x18], r12
cmp r9, 0x10
jb 0x4113d826
mov rdx, qword [rdx]
mov byte [rdx], 0
cmp qword [rsp + 0x78], 0x10
jb 0x4113d83b
mov rcx, qword [rsp + 0x60]
call fcn.41210d60
mov qword [rsp + 0x78], 0xf
mov qword [rsp + 0x70], r12
mov byte [rsp + 0x60], 0
cmp qword [rdi + 0x20], 0x10
jb 0x4113d85d
mov rcx, qword [rsi]
call fcn.41210d60
mov qword [rdi + 0x20], 0xf
mov qword [rdi + 0x18], r12
mov byte [rsi], 0
mov rax, rbx
jmp 0x4113da5f
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov r13d, eax
lea rcx, [r13 + 1]
call fcn.4120fd60
mov r12, rax
test rax, rax
jne 0x4113d959
mov qword [rbx + 0x20], 0xf
xor r15d, r15d
mov qword [rbx + 0x18], r15
lea rdx, [rbx + 8]
mov byte [rdx], r15b
mov r9, qword [rbx + 0x20]
cmp r9, 0x10
jb 0x4113d8bc
mov rax, qword [rdx]
jmp 0x4113d8bf
mov rax, rdx
lea r8, [0x412cb00f]
cmp r8, rax
jb 0x4113d8fe
cmp r9, 0x10
jb 0x4113d8d6
mov rcx, qword [rdx]
jmp 0x4113d8d9
mov rcx, rdx
add rcx, qword [rbx + 0x18]
cmp rcx, r8
jbe 0x4113d8fe
cmp r9, 0x10
jb 0x4113d8eb
mov rdx, qword [rdx]
sub r8, rdx
xor r9d, r9d
mov rdx, rbx
mov rcx, rbx
call fcn.41001b20
jmp 0x4113d90e
mov qword [rbx + 0x18], r15
cmp r9, 0x10
jb 0x4113d90b
mov rdx, qword [rdx]
mov byte [rdx], r15b
cmp qword [rsp + 0x78], 0x10
jb 0x4113d920
mov rcx, qword [rsp + 0x60]
call fcn.41210d60
mov qword [rsp + 0x78], 0xf
mov qword [rsp + 0x70], r15
mov byte [rsp + 0x60], 0
cmp qword [rdi + 0x20], 0x10
jb 0x4113d942
mov rcx, qword [rsi]
call fcn.41210d60
mov qword [rdi + 0x20], 0xf
mov qword [rdi + 0x18], r15
mov byte [rsi], 0
mov rax, rbx
jmp 0x4113da5f
lea r8, [r13 + 1]
xor edx, edx
mov rcx, rax
call fcn.412121c0
xor r15d, r15d
mov qword [rsp + 0x20], r15
lea r9, [rsp + 0x40]
mov r8d, r13d
mov rdx, r12
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r8, r13
mov rdx, r12
mov rbp, qword [rsp + 0x48]
mov rcx, rbp
call fcn.4113d270
lea rdx, [rsp + 0x88]
mov rcx, rbp
call fcn.4113d6a0
nop
cmp qword [rsp + 0xa0], r15
jbe 0x4113d9d4
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rsp + 0x88]
lea rcx, [rsp + 0x58]
call fcn.41001b20
nop
cmp qword [rsp + 0xa8], 0x10
jb 0x4113d9f1
mov rcx, qword [rsp + 0x90]
call fcn.41210d60
xor r12d, r12d
jmp 0x4113d9f4
xor r12d, r12d
mov qword [rbx + 0x20], 0xf
mov qword [rbx + 0x18], r12
mov byte [rbx + 8], 0
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rsp + 0x58]
mov rcx, rbx
call fcn.41001b20
nop
cmp qword [rsp + 0x78], 0x10
jb 0x4113da2b
mov rcx, qword [rsp + 0x60]
call fcn.41210d60
mov qword [rsp + 0x78], 0xf
mov qword [rsp + 0x70], r12
mov byte [rsp + 0x60], 0
cmp qword [rdi + 0x20], 0x10
jb 0x4113da4d
mov rcx, qword [rsi]
call fcn.41210d60
mov qword [rdi + 0x20], 0xf
mov qword [rdi + 0x18], r12
mov byte [rsi], 0
mov rax, rbx
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.41211b80
mov rbx, qword [rsp + 0x118]
add rsp, 0xc0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret