Function at 0x180065100
Capabilities:
Get file size

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov qword [rsp + 0x40], 0xffffffffffffffff
mov qword [rsp + 0x48], 0
mov rcx, qword [rsp + 0x60]
call fcn.180122cc0
mov r11d, eax
mov rax, qword [rsp + 0x70]
mov dword [rax], r11d
mov rax, qword [rsp + 0x70]
cmp dword [rax], 0
jne 0x180065256
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov r8d, 1
mov edx, 0x80000000
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0xffffffffffffffff
jne 0x1800651c3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r11d, eax
mov rax, qword [rsp + 0x70]
mov dword [rax], r11d
mov rax, qword [rsp + 0x70]
mov r9d, dword [rax]
mov rax, qword [rsp + 0x70]
mov r8d, dword [rax]
mov rdx, qword [rsp + 0x60]
lea rcx, [0x1800015d0]
call fcn.1800892c0
mov eax, 5
jmp 0x180065367
xor edx, edx
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov r11d, eax
mov rax, qword [rsp + 0x68]
mov dword [rax], r11d
mov rax, qword [rsp + 0x68]
cmp dword [rax], 0xffffffff
jne 0x180065231
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r11d, eax
mov rax, qword [rsp + 0x70]
mov dword [rax], r11d
mov rax, qword [rsp + 0x70]
mov eax, dword [rax]
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x70]
mov r9d, dword [rax]
xor r8d, r8d
mov edx, dword [rsp + 0x40]
lea rcx, [0x180001540]
call fcn.1800892c0
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 5
jmp 0x180065367
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r11, qword [rsp + 0x68]
movsxd rcx, dword [r11]
sub rcx, 0x2c
mov rax, qword [rsp + 0x68]
mov dword [rax], ecx
xor eax, eax
jmp 0x180065367
mov rcx, qword [rsp + 0x60]
call fcn.180122b70
mov r11d, eax
mov rax, qword [rsp + 0x70]
mov dword [rax], r11d
mov rax, qword [rsp + 0x70]
cmp dword [rax], 0
jne 0x18006533c
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x48]
call fcn.180125460
mov r11d, eax
mov rax, qword [rsp + 0x70]
mov dword [rax], r11d
mov rax, qword [rsp + 0x70]
cmp dword [rax], 0
je 0x1800652d0
mov rax, qword [rsp + 0x70]
mov eax, dword [rax]
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x70]
mov r9d, dword [rax]
mov r8, qword [rsp + 0x60]
lea rdx, [rsp + 0x48]
lea rcx, [0x1800014a0]
call fcn.1800892c0
mov eax, 5
jmp 0x180065367
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x48]
call fcn.180126330
mov r11d, eax
mov rax, qword [rsp + 0x70]
mov dword [rax], r11d
mov rax, qword [rsp + 0x70]
cmp dword [rax], 0
je 0x18006532e
mov rax, qword [rsp + 0x70]
mov eax, dword [rax]
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x70]
mov r9d, dword [rax]
mov r8, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x48]
lea rcx, [0x1800013f0]
call fcn.1800892c0
lea rcx, [rsp + 0x48]
call fcn.180125b00
mov eax, 5
jmp 0x180065367
lea rcx, [rsp + 0x48]
call fcn.180125b00
xor eax, eax
jmp 0x180065367
mov rax, qword [rsp + 0x70]
mov dword [rax], 0x32
mov rax, qword [rsp + 0x70]
mov r8d, dword [rax]
mov rax, qword [rsp + 0x70]
mov edx, dword [rax]
lea rcx, [0x180001360]
call fcn.1800892c0
mov eax, 0x16
add rsp, 0x58
ret