Function at 0x14014c3f0
Capabilities:
Read file on windows

Disassembly:
push rdi
sub rsp, 0x40
mov rax, qword [0x1403aa6c8]
xor rax, rsp
mov qword [rsp + 0x38], rax
cmp qword [0x1404cbe88], 0x2000
mov rdi, rcx
jg 0x14014c4b5
mov ecx, dword [0x1404cbe80]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__lseeki64]
mov r8d, dword [0x1404cbe88]
mov rdx, qword [0x1404cbe48]
mov ecx, dword [0x1404cbe80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__read]
mov r9d, eax
mov dword [0x1404cbe58], eax
movsxd rax, dword [0x1404cbe88]
cmp r9d, eax
jne 0x14014c4d6
mov r8, qword [0x1404cbe48]
lea rdx, [r8 - 0x16]
add rdx, rax
mov qword [0x1404cbe50], rdx
cmp rdx, r8
jb 0x14014c4d6
mov ecx, dword [0x1403808c0]
nop dword [rax]
cmp byte [rdx], 0x50
jne 0x14014c489
cmp dword [rdx], ecx
je 0x14014c49a
dec rdx
mov qword [0x1404cbe50], rdx
cmp rdx, r8
jae 0x14014c480
jmp 0x14014c4d6
mov eax, dword [0x1404cbe48]
sub eax, dword [0x1404cbe50]
add r9d, eax
mov dword [0x1404cbe58], r9d
jmp 0x14014c575
mov r8d, reloc.WS2_32.dll_select
lea rdx, [0x1403808c0]
call fcn.14014da80
xor ecx, ecx
test eax, eax
sete cl
test ecx, ecx
jne 0x14014c567
cmp dword [0x1403dbd84], 0
jne 0x14014c4e8
cmp dword [0x1403dbd50], 0
je 0x14014c51f
mov r8, qword [0x1404cbe78]
lea rdx, str.__s__n
lea rcx, [0x1404bbe38]
call fcn.1401066c0
mov r8d, eax
lea rdx, [0x1404bbe38]
mov r9d, 0x401
lea rcx, [0x1403dbd40]
call qword [0x1404cc1f8]
lea rdx, str.__End_of_central_directory_signature_not_found.__Either_this_file_is_not_n__a_zipfile__or_it_constitutes_one_disk_of_a_multi_part_archive.__In_the_n__latter_case_the_central_directory_and_zipfile_comment_will_be_found_on_n__the_last_disk_s__of_this_archive._n
lea rcx, [0x1404bbe38]
call fcn.1401066c0
mov r8d, eax
lea rdx, [0x1404bbe38]
mov r9d, 0x401
lea rcx, [0x1403dbd40]
call qword [0x1404cc1f8]
mov eax, 2
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140229810
add rsp, 0x40
pop rdi
ret
mov rdx, qword [0x1404cbe50]
mov r8, qword [0x1404cbe48]
mov rax, qword [0x1404cbe90]
lea rcx, [rsp + 0x20]
sub rax, r8
add rax, rdx
mov edx, 0x16
mov qword [0x1403dbdf0], rax
call fcn.1401539d0
test eax, eax
jne 0x14014c5b4
mov eax, 0x33
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140229810
add rsp, 0x40
pop rdi
ret
lea rcx, [rsp + 0x24]
mov qword [rsp + 0x58], rbx
call fcn.140153590
movzx eax, ax
lea rcx, [rsp + 0x26]
mov dword [0x1404cbf30], eax
call fcn.140153590
movzx eax, ax
lea rcx, [rsp + 0x28]
mov dword [0x1404cbf34], eax
call fcn.140153590
movzx eax, ax
lea rcx, [rsp + 0x2a]
mov qword [0x1404cbf20], rax
call fcn.140153590
movzx eax, ax
lea rcx, [rsp + 0x2c]
mov qword [0x1404cbf28], rax
call fcn.140153570
mov eax, eax
lea rcx, [rsp + 0x30]
mov qword [0x1404cbf10], rax
call fcn.140153570
mov eax, eax
lea rcx, [rsp + 0x34]
mov qword [0x1404cbf18], rax
call fcn.140153590
mov word [0x1404cbf40], ax
call fcn.14014d340
mov ebx, eax
cmp eax, 1
jg 0x14014c683
lea rcx, [rdi + 0x4c]
call fcn.14014c6a0
test eax, eax
je 0x14014c65e
cmp ebx, eax
cmovl ebx, eax
jmp 0x14014c681
mov rcx, qword [0x1404cbf10]
add rcx, qword [0x1404cbf18]
cmp dword [0x1403dbd50], 0
mov qword [0x1403dbdf8], rcx
je 0x14014c681
call fcn.14014e0a0
mov eax, ebx
mov rbx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140229810
add rsp, 0x40
pop rdi
ret