Function at 0x140117530
Capabilities:
Read file on windows

Disassembly:
push rbx
sub rsp, 0x90
mov rax, qword [0x140375828]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rbx, qword [0x1403a7130]
add rbx, 0xffffffffffffffec
jns 0x14011755c
xor eax, eax
jmp 0x140117a17
mov ecx, dword [0x1404971c0]
xor r8d, r8d
mov rdx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__lseeki64]
mov ecx, dword [0x1404971c0]
lea rdx, [rsp + 0x20]
mov r8d, 0x14
mov qword [0x1404971d0], rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__read]
mov dword [0x140497198], eax
cmp eax, 0x14
je 0x14011761e
cmp dword [0x1403a70c4], 0
jne 0x1401175ad
cmp dword [0x1403a7090], 0
je 0x1401175e4
mov r8, qword [0x1404971b8]
lea rdx, str.__s__n
lea rcx, [0x140487178]
call fcn.1400e1500
mov r8d, eax
lea rdx, [0x140487178]
mov r9d, 0x401
lea rcx, [0x1403a7080]
call qword [0x140497538]
lea rdx, str.fatal_error:_read_failure_while_seeking_for_End_of_centdir_64_signature._n__This_zipfile_is_corrupt._n
lea rcx, [0x140487178]
call fcn.1400e1500
mov r8d, eax
lea rdx, [0x140487178]
mov r9d, 0x401
lea rcx, [0x1403a7080]
call qword [0x140497538]
mov eax, 2
jmp 0x140117a17
mov eax, dword [rsp + 0x20]
cmp eax, dword [0x1403627d8]
jne 0x140117555
mov qword [rsp + 0xb0], rdi
lea rcx, [rsp + 0x24]
mov qword [rsp + 0x80], r15
call fcn.14011e400
lea rcx, [rsp + 0x28]
mov r15d, eax
call fcn.14011e3b0
lea rcx, [rsp + 0x30]
mov rdi, rax
call fcn.14011e400
mov edx, dword [0x140497270]
cmp edx, 0xffff
je 0x14011767b
lea ecx, [rax - 1]
cmp edx, ecx
jne 0x140117a05
cmp rdi, rbx
ja 0x14011771e
mov ecx, dword [0x1404971c0]
xor r8d, r8d
mov rdx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__lseeki64]
mov ecx, dword [0x1404971c0]
lea rdx, [rsp + 0x38]
mov r8d, 0x38
mov qword [0x1404971d0], rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__read]
mov dword [0x140497198], eax
cmp eax, 0x38
jne 0x14011771e
mov eax, dword [rsp + 0x38]
cmp eax, dword [0x1403627d4]
je 0x14011781a
mov ecx, dword [0x1404971c0]
lea rdi, [rbx - 0x38]
mov rdx, rdi
xor r8d, r8d
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__lseeki64]
mov ecx, dword [0x1404971c0]
lea rdx, [rsp + 0x38]
mov r8d, 0x38
mov qword [0x1404971d0], rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__read]
mov dword [0x140497198], eax
cmp eax, 0x38
jne 0x14011771e
mov eax, dword [rsp + 0x38]
cmp eax, dword [0x1403627d4]
je 0x1401177a1
cmp dword [0x1403a70c4], 0
jne 0x140117730
cmp dword [0x1403a7090], 0
je 0x140117767
mov r8, qword [0x1404971b8]
lea rdx, str.__s__n
lea rcx, [0x140487178]
call fcn.1400e1500
mov r8d, eax
lea rdx, [0x140487178]
mov r9d, 0x401
lea rcx, [0x1403a7080]
call qword [0x140497538]
lea rdx, str.fatal_error:_read_failure_while_seeking_for_End_of_centdir_64_signature._n__This_zipfile_is_corrupt._n
lea rcx, [0x140487178]
call fcn.1400e1500
mov r8d, eax
lea rdx, [0x140487178]
mov r9d, 0x401
lea rcx, [0x1403a7080]
call qword [0x140497538]
mov eax, 2
jmp 0x140117a07
cmp dword [0x1403a70c4], 0
jne 0x1401177b3
cmp dword [0x1403a7090], 0
je 0x1401177ea
mov r8, qword [0x1404971b8]
lea rdx, str.__s__n
lea rcx, [0x140487178]
call fcn.1400e1500
mov r8d, eax
lea rdx, [0x140487178]
mov r9d, 0x401
lea rcx, [0x1403a7080]
call qword [0x140497538]
lea rdx, str.error:_End_of_centdir_64_signature_not_where_expected__prepended_bytes___n___attempting_to_process_anyway__n
lea rcx, [0x140487178]
call fcn.1400e1500
mov r8d, eax
lea rdx, [0x140487178]
mov r9d, 0x401
lea rcx, [0x1403a7080]
call qword [0x140497538]
lea rcx, [rsp + 0x48]
call fcn.14011e400
cmp eax, r15d
jne 0x140117a05
lea rcx, [rsp + 0x4c]
call fcn.14011e400
mov ecx, dword [0x140497274]
mov ebx, eax
cmp ecx, 0xffff
je 0x14011784f
cmp ecx, eax
jne 0x140117a05
lea rcx, [rsp + 0x50]
mov qword [rsp + 0xa8], rsi
call fcn.14011e3b0
mov rcx, qword [0x140497260]
mov rsi, rax
cmp rcx, 0xffff
je 0x14011787d
cmp rcx, rax
jne 0x1401179fd
lea rcx, [rsp + 0x58]
mov qword [rsp + 0xa0], rbp
call fcn.14011e3b0
mov rcx, qword [0x140497268]
mov rbp, rax
cmp rcx, 0xffff
je 0x1401178ab
cmp rcx, rax
jne 0x1401179f5
mov qword [rsp + 0xb8], r12
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x88], r14
call fcn.14011e3b0
mov rcx, qword [0x140497250]
mov r12d, 0xffffffff
mov r14, rax
cmp rcx, r12
je 0x1401178e3
cmp rcx, rax
jne 0x1401179e5
lea rcx, [rsp + 0x68]
call fcn.14011e3b0
mov rdx, qword [0x140497258]
mov rcx, rax
cmp rdx, r12
je 0x140117905
cmp rdx, rax
jne 0x1401179e5
cmp dword [0x140497270], 0xffff
mov r8d, 1
mov eax, dword [0x14049727c]
mov dword [0x140497278], r8d
mov qword [0x1403a7130], rdi
jne 0x140117943
cmp r15d, 0xffff
mov dword [0x140497270], r15d
cmovne eax, r8d
mov dword [0x14049727c], eax
cmp dword [0x140497274], 0xffff
jne 0x140117965
cmp ebx, 0xffff
mov dword [0x140497274], ebx
cmovne eax, r8d
mov dword [0x14049727c], eax
cmp qword [0x140497260], 0xffff
jne 0x14011798a
cmp rsi, 0xffff
mov qword [0x140497260], rsi
cmovne eax, r8d
mov dword [0x14049727c], eax
cmp qword [0x140497268], 0xffff
jne 0x1401179af
cmp rbp, 0xffff
mov qword [0x140497268], rbp
cmovne eax, r8d
mov dword [0x14049727c], eax
cmp qword [0x140497250], r12
jne 0x1401179cc
cmp r14, r12
mov qword [0x140497250], r14
cmovne eax, r8d
mov dword [0x14049727c], eax
cmp rdx, r12
jne 0x1401179e5
cmp rcx, r12
mov qword [0x140497258], rcx
cmovne eax, r8d
mov dword [0x14049727c], eax
mov r14, qword [rsp + 0x88]
mov r12, qword [rsp + 0xb8]
mov rbp, qword [rsp + 0xa0]
mov rsi, qword [rsp + 0xa8]
xor eax, eax
mov rdi, qword [rsp + 0xb0]
mov r15, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1401dd140
add rsp, 0x90
pop rbx
ret