Function at 0x140081f60
Capabilities:
Get file size

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x17]
sub rsp, 0xf0
mov rax, qword [0x140212c80]
xor rax, rsp
mov qword [rbp + 7], rax
mov r15, qword [rbp + 0x5f]
mov rbx, qword [rbp + 0x57]
mov r12, qword [rbp + 0x67]
mov rdi, qword [rbp + 0x6f]
mov rsi, qword [rbp + 0x77]
mov r14, qword [rbp + 0x7f]
test r15, r15
jne 0x140081fbf
cmp rdi, 0xffffffffffffffff
je 0x140082115
test rsi, rsi
jne 0x140081fce
cmp r14, 0xffffffffffffffff
je 0x140082115
lea rcx, [rbp - 0x41]
call fcn.1400b37e0
mov eax, dword [rbx + 0xa0]
mov dword [rbp - 0x41], eax
mov eax, dword [rbx + 0xa4]
mov dword [rbp - 0x3d], eax
mov dword [rbp - 0x15], 1
mov qword [rbp - 0x11], r12
cmp rdi, 0xffffffffffffffff
je 0x140082017
lea rdx, [rbp - 0x49]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x140082136
mov rax, qword [rbp - 0x49]
mov qword [rbp - 0x11], rax
mov rax, qword [rbx + 0x98]
test rax, rax
jne 0x14008203c
lea rcx, [rbx + 8]
call fcn.1400b47d0
mov qword [rbx + 0x98], rax
test rax, rax
je 0x140082161
lea rdx, [rbp - 0x41]
mov rcx, rax
call fcn.1400b51a0
test eax, eax
jne 0x140082184
mov rcx, qword [rbx + 0x98]
lea rax, [0x1400819f0]
mov qword [rbp - 0x69], rax
lea r8, [rbp - 0x49]
lea rax, [0x140081ac0]
mov qword [rbp - 0x51], rdi
mov rdi, qword [rbp - 0x11]
lea rdx, [rbp - 9]
mov qword [rsp + 0x58], rax
mov qword [rbp - 0x61], r15
mov qword [rbp - 0x59], r12
mov qword [rbp - 0x79], rsi
mov qword [rbp - 0x71], r14
mov qword [rbp - 0x49], 5
call fcn.1400b52e0
test eax, eax
jne 0x1400821a9
lea r8d, [rax + 0xd]
mov qword [rbp - 4], rdi
mov rax, qword [rsp + 0x58]
lea rdx, [rbp - 9]
lea rcx, [rsp + 0x58]
call qword [case.0x1400cc851.0]
cmp rax, 0xd
jne 0x1400821ce
mov rcx, qword [rbx + 0x98]
lea rax, [rbx + 8]
mov qword [rsp + 0x28], rax
lea r8, [rbp - 0x69]
xor r9d, r9d
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x58]
call fcn.1400b4a30
test eax, eax
jne 0x1400821f9
mov rcx, qword [rbp + 7]
xor rcx, rsp
call fcn.140133600
add rsp, 0xf0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov edx, 0x57
lea rcx, [rsp + 0x30]
call fcn.1400966b0
lea rcx, [rsp + 0x30]
lea rdx, [0x14020e468]
call fcn.140135f84
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea r8, str.Unable_to_retrieve_the_size_of_the_input_file_
lea rcx, [rsp + 0x30]
call fcn.1400967b0
lea rdx, [0x14020e468]
lea rcx, [rsp + 0x30]
call fcn.140135f84
int3
lea rdx, str.Unable_to_create_the_LZMA_encoder_
lea rcx, [rsp + 0x30]
call fcn.1400966e0
lea rdx, [0x14020e468]
lea rcx, [rsp + 0x30]
call fcn.140135f84
int3
lea r8, str.Unable_to_store_LZMA_props_into_the_encoder_
mov edx, eax
lea rcx, [rsp + 0x30]
call fcn.1400967b0
lea rdx, [0x14020e468]
lea rcx, [rsp + 0x30]
call fcn.140135f84
int3
lea r8, str.Unable_to_write_LZMA_properties_
mov edx, eax
lea rcx, [rsp + 0x30]
call fcn.1400967b0
lea rdx, [0x14020e468]
lea rcx, [rsp + 0x30]
call fcn.140135f84
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea r8, str.Unable_to_write_to_the_output_file_
lea rcx, [rsp + 0x30]
call fcn.1400967b0
lea rdx, [0x14020e468]
lea rcx, [rsp + 0x30]
call fcn.140135f84
int3
lea r8, str.Unable_to_compress_LZMA_stream_
mov edx, eax
lea rcx, [rsp + 0x30]
call fcn.1400967b0
lea rdx, [0x14020e468]
lea rcx, [rsp + 0x30]
call fcn.140135f84
int3