Function at 0x180001cf0
Capabilities:
Get file size

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x90
mov rax, qword [0x1800fb080]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov r13, qword [rsp + 0xf0]
xor ebx, ebx
mov qword [rsp + 0x30], rbx
mov r12, r9
mov dword [rsp + 0x28], 0x2200080
xor r9d, r9d
mov edx, 0x100080
mov dword [rsp + 0x20], 3
mov r8d, 7
mov r15, rcx
mov edi, ebx
call qword [0x1800fb028]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x180001dcb
nop dword [rax]
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x20
je 0x180001d70
cmp eax, 2
jne 0x180001dc1
test edi, edi
jle 0x180001dc1
mov ecx, 0xc8
cmp edi, ecx
cmovl ecx, edi
call qword [sym.imp.KERNEL32.dll_Sleep]
mov qword [rsp + 0x30], rbx
xor r9d, r9d
mov dword [rsp + 0x28], 0x2200080
mov edx, 0x100080
mov r8d, 7
mov dword [rsp + 0x20], 3
mov rcx, r15
sub edi, 0xc8
call qword [0x1800fb028]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x180001d60
jmp 0x180001dcb
cmp rsi, 0xffffffffffffffff
je 0x180001f76
test rsi, rsi
je 0x180001f76
lea rdx, [rsp + 0x48]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
test eax, eax
jne 0x180001dfd
mov rcx, rsi
call qword [0x1800fb020]
mov ebp, dword [rsp + 0x40]
mov ebx, 0xffffffff
jmp 0x180001f69
mov ecx, dword [rsp + 0x48]
call fcn.1800010e0
mov ebp, eax
mov r14d, eax
test r12, r12
je 0x180001e4d
lea rdx, [rsp + 0x44]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [rsp + 0x40], eax
cmp eax, 0xffffffff
jne 0x180001e44
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x180001e44
mov rcx, rsi
call qword [0x1800fb020]
mov ebx, 0xffffffff
jmp 0x180001f69
mov rax, qword [rsp + 0x40]
mov qword [r12], rax
mov rcx, rsi
call qword [0x1800fb020]
test r14b, 0x10
je 0x180001f69
mov qword [rsp + 0x30], rbx
xor r9d, r9d
mov dword [rsp + 0x28], 0x2000080
mov edx, 0x100080
mov r8d, 7
mov dword [rsp + 0x20], 3
mov rcx, r15
mov edi, ebx
call qword [0x1800fb028]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x180001efe
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x20
je 0x180001ea7
cmp eax, 2
jne 0x180001ef8
test edi, edi
jle 0x180001ef8
mov ecx, 0xc8
cmp edi, ecx
cmovl ecx, edi
call qword [sym.imp.KERNEL32.dll_Sleep]
mov qword [rsp + 0x30], rbx
xor r9d, r9d
mov dword [rsp + 0x28], 0x2000080
mov edx, 0x100080
mov r8d, 7
mov dword [rsp + 0x20], 3
mov rcx, r15
sub edi, 0xc8
call qword [0x1800fb028]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x180001e97
jmp 0x180001efe
cmp rsi, 0xffffffffffffffff
je 0x180001f76
test rsi, rsi
je 0x180001f76
lea rdx, [rsp + 0x48]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
test eax, eax
jne 0x180001f1c
mov ebx, 0xffffffff
jmp 0x180001f5d
mov ecx, dword [rsp + 0x48]
call fcn.1800010e0
mov ebp, eax
test r12, r12
je 0x180001f5d
lea rdx, [rsp + 0x44]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [rsp + 0x40], eax
cmp eax, 0xffffffff
jne 0x180001f54
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x180001f54
mov ebx, 0xffffffff
jmp 0x180001f5d
mov rax, qword [rsp + 0x40]
mov qword [r12], rax
mov rcx, rsi
call qword [0x1800fb020]
or ebp, 0x10
test r13, r13
je 0x180001f72
mov dword [r13], ebp
mov eax, ebx
jmp 0x180001f7b
mov eax, 0xffffffff
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1800c0500
mov rbx, qword [rsp + 0xd8]
add rsp, 0x90
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret