Function at 0x1400c7964
Capabilities:
Get file size

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x120]
sub rsp, 0x220
mov rax, qword [0x14017a608]
xor rax, rsp
mov qword [rbp + 0x110], rax
xor esi, esi
mov byte [rsp + 0x50], 1
mov dword [r8], esi
mov rbx, r8
mov r14, rdx
mov qword [rsp + 0x68], rsi
mov rdi, rcx
mov dword [rsp + 0x54], esi
mov r8d, 0x180
mov qword [rsp + 0x70], rsi
xor edx, edx
lea rcx, [rbp - 0x70]
call sub.msvcrt.dll_memset
xorps xmm0, xmm0
mov qword [rsp + 0x60], rsi
movups xmmword [rsp + 0x78], xmm0
mov rcx, qword [0x14017a048]
lea r12, [0x14017a048]
lea r13, [0x1401614e8]
mov r15b, 4
cmp rcx, r12
je 0x1400c7a0d
test byte [rcx + 0x1c], r15b
je 0x1400c7a0d
cmp byte [rcx + 0x19], r15b
jb 0x1400c7a0d
mov rcx, qword [rcx + 0x10]
mov edx, 0x1ac
mov r8, r13
call fcn.140006b98
or qword [rsp + 0x58], 0xffffffffffffffff
lea rax, [rsp + 0x54]
mov qword [rsp + 0x48], rbx
lea r9, [rsp + 0x50]
mov qword [rsp + 0x40], rsi
lea r8, [rsp + 0x58]
mov qword [rsp + 0x38], rax
lea rcx, [rbp - 0x70]
lea rax, [rsp + 0x68]
mov rdx, rdi
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
call fcn.1400d1774
mov esi, eax
test eax, eax
je 0x1400c7bf7
mov rcx, qword [0x14017a048]
cmp rcx, r12
je 0x1400c7a9b
test byte [rcx + 0x1c], r15b
je 0x1400c7a9b
cmp byte [rcx + 0x19], r15b
jb 0x1400c7a9b
mov eax, dword [rbx]
mov edx, 0x1ad
mov rcx, qword [rcx + 0x10]
mov r9, rdi
mov dword [rsp + 0x28], eax
mov r8, r13
mov dword [rsp + 0x20], esi
call fcn.14005fe40
and qword [rsp + 0x30], 0
xor r9d, r9d
mov dword [rsp + 0x28], 0x60000080
mov edx, 0x80000000
mov rcx, rdi
mov dword [rsp + 0x20], 3
lea r8d, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
nop dword [rax + rax]
mov qword [rsp + 0x58], rax
cmp rax, 0xffffffffffffffff
jne 0x1400c7b11
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
lea rcx, [rbp - 0x70]
mov dword [rbx], eax
call fcn.1400d0f74
mov rcx, qword [0x14017a048]
cmp rcx, r12
je 0x1400c7b83
test byte [rcx + 0x1c], r15b
je 0x1400c7b83
cmp byte [rcx + 0x19], 2
jb 0x1400c7b83
mov edx, 0x1ae
jmp 0x1400c7b6e
lea rdx, [rsp + 0x60]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
nop dword [rax + rax]
test eax, eax
jne 0x1400c7b8d
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x58]
mov dword [rbx], eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
lea rcx, [rbp - 0x70]
call fcn.1400d0f74
mov rcx, qword [0x14017a048]
cmp rcx, r12
je 0x1400c7b83
test byte [rcx + 0x1c], r15b
je 0x1400c7b83
cmp byte [rcx + 0x19], 2
jb 0x1400c7b83
mov edx, 0x1af
mov eax, dword [rbx]
mov r9, rdi
mov rcx, qword [rcx + 0x10]
mov r8, r13
mov dword [rsp + 0x20], eax
call fcn.140011330
mov eax, 8
jmp 0x1400c7cae
mov rbx, qword [rsp + 0x60]
test rbx, rbx
jne 0x1400c7be4
mov rcx, qword [0x14017a048]
cmp rcx, r12
je 0x1400c7bc3
test byte [rcx + 0x1c], r15b
je 0x1400c7bc3
cmp byte [rcx + 0x19], 2
jb 0x1400c7bc3
mov rcx, qword [rcx + 0x10]
mov edx, 0x1b0
mov r9, rdi
mov r8, r13
call fcn.1400112c8
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
lea rcx, [rbp - 0x70]
call fcn.1400d0f74
mov eax, esi
jmp 0x1400c7cae
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
jmp 0x1400c7c3a
mov rcx, qword [0x14017a048]
cmp rcx, r12
je 0x1400c7c25
test byte [rcx + 0x1c], r15b
je 0x1400c7c25
cmp byte [rcx + 0x19], r15b
jb 0x1400c7c25
mov r9d, dword [rsp + 0x54]
mov edx, 0x1b1
mov rcx, qword [rcx + 0x10]
mov r8, r13
call fcn.140006cec
cmp byte [rsp + 0x50], 0
je 0x1400c7c32
mov rbx, qword [rbp - 0x58]
jmp 0x1400c7c3a
mov ebx, dword [rsp + 0x54]
shl rbx, 0x15
mov qword [r14], rbx
mov rcx, qword [0x14017a048]
cmp rcx, r12
je 0x1400c7c69
test byte [rcx + 0x1c], r15b
je 0x1400c7c69
cmp byte [rcx + 0x19], r15b
jb 0x1400c7c69
mov rcx, qword [rcx + 0x10]
mov edx, 0x1b2
mov r9, rbx
mov r8, r13
call fcn.14003dd3c
lea rcx, [rbp - 0x70]
call fcn.1400d0f74
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_LocalFree]
nop dword [rax + rax]
mov rcx, qword [0x14017a048]
cmp rcx, r12
je 0x1400c7cac
test byte [rcx + 0x1c], r15b
je 0x1400c7cac
cmp byte [rcx + 0x19], r15b
jb 0x1400c7cac
mov rcx, qword [rcx + 0x10]
mov edx, 0x1b3
mov r8, r13
call fcn.140006b98
xor eax, eax
mov rcx, qword [rbp + 0x110]
xor rcx, rsp
call fcn.140001d90
mov rbx, qword [rsp + 0x278]
add rsp, 0x220
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret