Function at 0x1000cfff0
Capabilities:
Get file size

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x220
mov rax, qword [0x100165138]
xor rax, rsp
mov qword [rsp + 0x210], rax
xor edi, edi
mov rsi, rcx
mov rbx, r8
mov r12, rdx
mov dword [r8], edi
mov ebp, 0x180
lea rcx, [rsp + 0x90]
mov r8, rbp
xor edx, edx
mov byte [rsp + 0x50], 1
mov qword [rsp + 0x58], rdi
mov dword [rsp + 0x54], edi
mov qword [rsp + 0x70], rdi
call sub.msvcrt.dll_memset
xor r11d, r11d
xor eax, eax
mov qword [rsp + 0x60], r11
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x80], rax
mov rcx, qword [0x1001653b8]
lea r14, [0x1001653b8]
lea r15, [0x100003198]
mov r13b, 4
cmp rcx, r14
je 0x1000d009f
test byte [rcx + 0x1c], r13b
je 0x1000d009f
cmp byte [rcx + 0x19], r13b
jb 0x1000d009f
mov rcx, qword [rcx + 0x10]
mov edx, ebp
mov r8, r15
call fcn.10001c7b8
or qword [rsp + 0x68], 0xffffffffffffffff
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x40], rdi
lea rax, [rsp + 0x54]
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x68]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x58]
lea rcx, [rsp + 0x90]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x78]
mov rdx, rsi
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
call fcn.1000d68dc
mov ebp, eax
cmp eax, edi
je 0x1000d0262
mov rcx, qword [0x1001653b8]
cmp rcx, r14
je 0x1000d0131
test byte [rcx + 0x1c], r13b
je 0x1000d0131
cmp byte [rcx + 0x19], r13b
jb 0x1000d0131
mov eax, dword [rbx]
mov rcx, qword [rcx + 0x10]
mov edx, 0x181
mov dword [rsp + 0x28], eax
mov r9, rsi
mov r8, r15
mov dword [rsp + 0x20], ebp
call fcn.10001dd64
xor r9d, r9d
mov qword [rsp + 0x30], rdi
mov edx, 0x80000000
lea r8d, [r9 + 1]
mov rcx, rsi
mov dword [rsp + 0x28], 0x60000080
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x1000d01b5
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, [rsp + 0x90]
mov dword [rbx], eax
call fcn.1000d4578
mov rcx, qword [0x1001653b8]
cmp rcx, r14
je 0x1000d01ab
test byte [rcx + 0x1c], r13b
je 0x1000d01ab
cmp byte [rcx + 0x19], 2
jb 0x1000d01ab
mov edx, 0x182
mov eax, dword [rbx]
mov rcx, qword [rcx + 0x10]
mov r9, rsi
mov r8, r15
mov dword [rsp + 0x20], eax
call fcn.10001daa4
mov eax, 8
jmp 0x1000d031c
lea rdx, [rsp + 0x60]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x1000d0204
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, rdi
mov dword [rbx], eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rsp + 0x90]
call fcn.1000d4578
mov rcx, qword [0x1001653b8]
cmp rcx, r14
je 0x1000d01ab
test byte [rcx + 0x1c], r13b
je 0x1000d01ab
cmp byte [rcx + 0x19], 2
jb 0x1000d01ab
mov edx, 0x183
jmp 0x1000d0196
mov rbx, qword [rsp + 0x60]
test rbx, rbx
jne 0x1000d0257
mov rcx, qword [0x1001653b8]
cmp rcx, r14
je 0x1000d023a
test byte [rcx + 0x1c], r13b
je 0x1000d023a
cmp byte [rcx + 0x19], 2
jb 0x1000d023a
mov rcx, qword [rcx + 0x10]
mov edx, 0x184
mov r9, rsi
mov r8, r15
call fcn.10001da24
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rsp + 0x90]
call fcn.1000d4578
mov eax, ebp
jmp 0x1000d031c
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1000d02a9
mov rcx, qword [0x1001653b8]
cmp rcx, r14
je 0x1000d0290
test byte [rcx + 0x1c], r13b
je 0x1000d0290
cmp byte [rcx + 0x19], r13b
jb 0x1000d0290
mov r9d, dword [rsp + 0x54]
mov rcx, qword [rcx + 0x10]
mov edx, 0x185
mov r8, r15
call fcn.10001c7dc
cmp byte [rsp + 0x50], dil
je 0x1000d02a1
mov rbx, qword [rsp + 0xa8]
jmp 0x1000d02a9
mov ebx, dword [rsp + 0x54]
shl rbx, 0x15
mov qword [r12], rbx
mov rcx, qword [0x1001653b8]
cmp rcx, r14
je 0x1000d02d9
test byte [rcx + 0x1c], r13b
je 0x1000d02d9
cmp byte [rcx + 0x19], r13b
jb 0x1000d02d9
mov rcx, qword [rcx + 0x10]
mov edx, 0x186
mov r9, rbx
mov r8, r15
call fcn.10001d680
lea rcx, [rsp + 0x90]
call fcn.1000d4578
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [0x1001653b8]
cmp rcx, r14
je 0x1000d031a
test byte [rcx + 0x1c], r13b
je 0x1000d031a
cmp byte [rcx + 0x19], r13b
jb 0x1000d031a
mov rcx, qword [rcx + 0x10]
mov edx, 0x187
mov r8, r15
call fcn.10001c7b8
xor eax, eax
mov rcx, qword [rsp + 0x210]
xor rcx, rsp
call fcn.10014e480
mov rbx, qword [rsp + 0x278]
add rsp, 0x220
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret