Function at 0x140074830
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r13
sub rsp, 0x68
xor ebp, ebp
cmp qword [0x1401586b8], rbp
mov r13d, ebp
lea esi, [rbp + 1]
jne 0x14007485f
xor edx, edx
xor ecx, ecx
call fcn.140075e80
mov qword [0x1401586b8], rax
mov ecx, 0x4d0
call fcn.14009b5b4
mov rdi, rax
test rax, rax
je 0x140074eca
mov ecx, 0x50
mov dword [rax + 0x28], 2
call fcn.14009b5b4
test rax, rax
je 0x140074ebb
mov byte [rax + 8], bpl
mov ecx, 0x6f50
mov qword [rdi + 0x4c0], rax
call fcn.14009b5b4
test rax, rax
jne 0x1400748c1
mov qword [rdi + 0x4b8], rbp
mov rcx, qword [rdi + 0x4c0]
call fcn.14009b5a0
jmp 0x140074ec2
mov dword [rax + 0x64], 2
xorps xmm0, xmm0
mov qword [rax + 0x5c], 0x4000000
xorps xmm1, xmm1
mov qword [rax + 0x28], rbp
mov qword [rdi + 0x4b8], rax
mov qword [rdi], rbp
mov byte [rdi + 0x2c], bpl
mov dword [rdi + 0x20], ebp
movups xmmword [rdi + 0x48], xmm0
mov qword [rsp + 0xa8], rbx
movups xmmword [rdi + 0x58], xmm0
mov qword [rsp + 0x60], r12
movups xmmword [rdi + 0x68], xmm0
mov qword [rsp + 0x58], r14
movups xmmword [rdi + 0x78], xmm1
mov qword [rsp + 0x50], r15
movups xmmword [rdi + 0x88], xmm1
movups xmmword [rdi + 0x98], xmm1
mov qword [rdi + 0xa8], rbp
mov qword [rdi + 0xb0], 0xc
mov ecx, dword [section..data]
call fcn.14009b5b4
mov ecx, dword [section..data]
mov r15, rax
mov qword [rsp + 0x98], rax
call fcn.14009b5b4
mov qword [rsp + 0xa0], rax
mov rbx, rbp
mov qword [rsp + 0x38], rax
mov r12, rbp
mov eax, dword [section..data]
mov r14, rbp
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x20], r15
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x40], rbp
jmp 0x140074992
xor ebp, ebp
cmp rbx, r12
jne 0x140074a7b
mov rax, qword [rsp + 0x90]
mov ebp, dword [section..data]
mov ecx, dword [rax + 0x10]
test ecx, ecx
js 0x140074c27
test r15, r15
je 0x140074c1a
mov rax, qword [0x1401586d0]
test rax, rax
je 0x1400749d2
cmp dword [rax], 0
jne 0x140074c0d
cmp ecx, dword [0x140106004]
jne 0x140074a15
mov rcx, qword [0x140110260]
mov rdx, qword [0x140110258]
lea rax, [rcx + rbp]
cmp rax, rdx
jbe 0x1400749f5
mov ebp, edx
sub ebp, ecx
mov rdx, qword [0x140110250]
add rdx, rcx
mov r8d, ebp
mov rcx, r15
mov ebx, ebp
call fcn.140093550
add qword [0x140110260], rbx
jmp 0x140074a32
mov rax, qword [0x140110280]
mov r8d, ebp
mov rdx, r15
test rax, rax
je 0x140074a2b
call rax
jmp 0x140074a30
call fcn.1400a9730
mov ebp, eax
test ebp, ebp
jle 0x140074a62
mov rcx, qword [0x1401586c8]
movsxd rax, ebp
add rcx, rax
mov rax, qword [0x140110270]
mov qword [0x1401586c8], rcx
test rax, rax
je 0x140074a62
call rax
movsxd rax, ebp
mov qword [rsp + 0x30], rax
jmp 0x140074a72
movsxd rax, ebp
mov qword [rsp + 0x30], rax
test ebp, ebp
js 0x140074c32
xor ebp, ebp
mov ebx, ebp
mov qword [rsp + 0x28], rbx
cmp dword [rdi + 0x28], 0
jne 0x140074ac5
mov qword [rdi], 0
xorps xmm0, xmm0
mov byte [rdi + 0x2c], 0
xorps xmm1, xmm1
mov dword [rdi + 0x20], ebp
movups xmmword [rdi + 0x48], xmm0
movups xmmword [rdi + 0x58], xmm0
movups xmmword [rdi + 0x68], xmm0
movups xmmword [rdi + 0x78], xmm1
movups xmmword [rdi + 0x88], xmm1
movups xmmword [rdi + 0x98], xmm1
mov qword [rdi + 0xa8], rbp
mov qword [rdi + 0xb0], 0xc
lea rdx, [rsp + 0x20]
mov rcx, rdi
mov rbp, rbx
mov r15, r14
call fcn.140073440
cmp dword [rdi + 0x28], 0
mov esi, eax
mov r12, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x28]
jne 0x140074b13
test eax, eax
jne 0x140074af8
cmp rbx, r12
setne sil
add esi, 7
cmp esi, 1
je 0x140074b0c
mov rbx, rbp
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x28], rbx
jmp 0x140074b3c
mov r14, qword [rsp + 0x40]
jmp 0x140074b3c
mov r14, qword [rsp + 0x40]
test esi, esi
jne 0x140074b38
cmp rbp, rbx
jne 0x140074b38
cmp r15, r14
jne 0x140074b38
cmp byte [rdi + 0x2c], sil
mov eax, 8
mov byte [rdi + 0x2c], 1
cmovne esi, eax
jmp 0x140074b3c
mov byte [rdi + 0x2c], 0
mov eax, dword [section..data]
mov rbp, qword [rsp + 0x38]
cmp r14, rax
jne 0x140074b7d
mov rcx, qword [rsp + 0x90]
mov r8, r14
mov rdx, rbp
call fcn.140075d60
cmp rax, 0xffffffffffffffe4
je 0x140074ce8
test rax, rax
js 0x140074c84
add r13, rax
xor r14d, r14d
mov qword [rsp + 0x40], r14
mov r15, qword [rsp + 0x98]
test esi, esi
je case.0x140074c0b.9
cmp esi, 2
jne 0x140074bc0
mov rax, qword [0x140110268]
lea rcx, str._nError:_unsupported_check__not_verifying_file_integrity
test rax, rax
je 0x140074bac
call rax
jmp case.0x140074c0b.9
call fcn.1400269d0
mov ecx, 0xa
call fcn.1400a7c98
jmp case.0x140074c0b.9
mov rdx, rbp
mov r8, r14
mov rbp, qword [rsp + 0x90]
mov rcx, rbp
call fcn.140075d60
cmp rax, 0xffffffffffffffe4
je 0x140074cf8
test rax, rax
js 0x140074e5e
add r13, rax
lea eax, [rsi - 1]
cmp eax, 8
ja case.0x140074c0b.2
lea rdx, [0x140000000]
cdqe
mov ecx, dword [rdx + rax*4 + 0x74f10]
add rcx, rdx
jmp rcx
call fcn.1400a7b18
mov dword [rax], 4
jmp 0x140074c32
call fcn.1400a7b18
mov dword [rax], 0xe
jmp 0x140074c32
call fcn.1400a7b18
mov dword [rax], 9
cmp qword [0x140110268], 0
je 0x140074c5d
call fcn.1400a7b18
lea rcx, str._nError:_read_error__errno:__d_
mov edx, dword [rax]
call qword [0x140110268]
mov rbp, qword [rsp + 0x90]
jmp 0x140074cfd
call fcn.1400a7b18
lea rcx, str._nError:_read_error__errno:__d_
mov edx, dword [rax]
call fcn.1400269d0
mov ecx, 0xa
call fcn.1400a7c98
mov rbp, qword [rsp + 0x90]
jmp 0x140074cfd
cmp qword [0x140110268], 0
mov esi, 7
je 0x140074cb9
call fcn.1400a7b18
lea rcx, str._nError:_write_error__errno:__d_
mov edx, dword [rax]
call qword [0x140110268]
mov r15, qword [rsp + 0x98]
mov rbp, qword [rsp + 0x90]
jmp 0x140074cfd
call fcn.1400a7b18
lea rcx, str._nError:_write_error__errno:__d_
mov edx, dword [rax]
call fcn.1400269d0
mov ecx, 0xa
call fcn.1400a7c98
mov r15, qword [rsp + 0x98]
mov rbp, qword [rsp + 0x90]
jmp 0x140074cfd
mov r15, qword [rsp + 0x98]
mov rbp, qword [rsp + 0x90]
mov esi, 9
mov rbx, qword [rdi + 0x4b8]
mov r14, qword [rsp + 0x58]
mov r12, qword [rsp + 0x60]
cmp dword [rbx + 0x64], 0
je 0x140074d1d
mov rcx, qword [rbx + 0x28]
call fcn.14009b5a0
mov rcx, rbx
call fcn.14009b5a0
mov rcx, qword [rdi + 0x4c0]
call fcn.14009b5a0
mov rcx, rdi
call fcn.14009b5a0
mov rcx, r15
call fcn.14009b5a0
mov rcx, qword [rsp + 0xa0]
call fcn.14009b5a0
mov r15, qword [rsp + 0x50]
mov rbx, qword [rsp + 0xa8]
test esi, esi
jne 0x140074ea8
mov rax, r13
add rsp, 0x68
pop r13
pop rdi
pop rsi
pop rbp
ret
xor esi, esi
jmp 0x140074cfd
mov rax, qword [0x140110268]
lea rcx, [0x1400c12d8]
test rax, rax
je 0x140074d9a
call rax
jmp 0x140074cfd
call fcn.1400269d0
mov ecx, 0xa
call fcn.1400a7c98
jmp 0x140074cfd
mov rax, qword [0x140110268]
lea rcx, str._nError:_memory_usage_limit_error
test rax, rax
je 0x140074d9a
call rax
jmp 0x140074cfd
mov rax, qword [0x140110268]
lea rcx, str._nError:_not_a_.xz_file
test rax, rax
je 0x140074d9a
call rax
jmp 0x140074cfd
mov rax, qword [0x140110268]
lea rcx, str._nError:_unsupported_XZ_header_option
test rax, rax
je 0x140074d9a
call rax
jmp 0x140074cfd
mov rax, qword [0x140110268]
lea rcx, str._nError:_corrupted_archive
test rax, rax
je 0x140074d9a
call rax
jmp 0x140074cfd
mov rax, qword [0x140110268]
lea rcx, str._nError:_corrupted_buffer
test rax, rax
je 0x140074d9a
call rax
jmp 0x140074cfd
mov rax, qword [0x140110268]
lea rcx, str._nError:_XZ_decompression_bug_
test rax, rax
je 0x140074d9a
call rax
jmp 0x140074cfd
cmp qword [0x140110268], 0
mov esi, 7
je 0x140074e86
call fcn.1400a7b18
lea rcx, str._nError:_write_error__errno:__d_
mov edx, dword [rax]
call qword [0x140110268]
jmp 0x140074cfd
call fcn.1400a7b18
lea rcx, str._nError:_write_error__errno:__d_
mov edx, dword [rax]
call fcn.1400269d0
mov ecx, 0xa
call fcn.1400a7c98
jmp 0x140074cfd
cmp esi, 9
jne 0x140074efe
mov rax, qword [rbp + 0x30]
add rsp, 0x68
pop r13
pop rdi
pop rsi
pop rbp
ret
mov qword [rdi + 0x4c0], rax
mov rcx, rdi
call fcn.14009b5a0
mov rax, qword [0x140110268]
lea rcx, [0x1400c12d8]
test rax, rax
je 0x140074ee1
call rax
jmp 0x140074ef0
call fcn.1400269d0
mov ecx, 0xa
call fcn.1400a7c98
xor ecx, ecx
call fcn.14009b5a0
xor ecx, ecx
call fcn.14009b5a0
neg esi
movsxd rax, esi
add rsp, 0x68
pop r13
pop rdi
pop rsi
pop rbp
ret