Function at 0x1400937d0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x1401b5030]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov eax, dword [rcx + 0x10b54]
xor ebp, ebp
mov esi, edx
mov rbx, rcx
cmp eax, 0x2000
jg 0x140093a5d
mov ecx, dword [rcx + 0x10b50]
xor r8d, r8d
xor edx, edx
call fcn.1401335d0
mov r8d, dword [rbx + 0x10b54]
mov rdx, qword [rbx + 0x10b18]
mov ecx, dword [rbx + 0x10b50]
call fcn.140132b18
movsxd rcx, dword [rbx + 0x10b54]
mov dword [rbx + 0x10b28], eax
cmp eax, ecx
jne 0x140093c66
mov rdx, qword [rbx + 0x10b18]
lea rax, [rcx - 0x16]
add rax, rdx
mov qword [rbx + 0x10b20], rax
cmp rax, rdx
jb 0x140093c66
nop
cmp byte [rax], 0x50
jne 0x14009387e
mov r8d, 4
lea rdx, [0x1402b5cec]
mov rcx, rax
call fcn.14012b3c0
test eax, eax
je 0x14009389d
mov rax, qword [rbx + 0x10b20]
dec rax
mov qword [rbx + 0x10b20], rax
cmp rax, qword [rbx + 0x10b18]
jae 0x140093860
jmp 0x140093c66
mov eax, dword [rbx + 0x10b18]
sub eax, dword [rbx + 0x10b20]
add dword [rbx + 0x10b28], eax
mov eax, dword [rbx + 0x10b20]
lea rbp, [rsp + 0x28]
sub eax, dword [rbx + 0x10b18]
add eax, dword [rbx + 0x10b58]
mov qword [rsp + 0x78], r14
mov r14d, reloc.WS2_32.dll_shutdown
mov dword [rbx + 0x98], eax
mov esi, r14d
mov eax, dword [rbx + 0x10b28]
test eax, eax
jg 0x140093928
mov rdx, qword [rbx + 0x10b18]
mov r8d, 0x2000
mov ecx, dword [rbx + 0x10b50]
call fcn.140132b18
mov dword [rbx + 0x10b28], eax
test eax, eax
je 0x140093d01
js 0x140093cdb
mov rcx, qword [rbx + 0x10b18]
add dword [rbx + 0x10b58], 0x2000
mov qword [rbx + 0x10b20], rcx
mov rdx, qword [rbx + 0x10b20]
cmp esi, eax
mov ecx, esi
cmovae ecx, eax
mov edi, ecx
mov r8d, ecx
mov rcx, rbp
call fcn.14011fbe0
sub dword [rbx + 0x10b28], edi
add rbp, rdi
add qword [rbx + 0x10b20], rdi
mov eax, dword [rbx + 0x10b28]
sub esi, edi
jne 0x1400938e0
movzx ecx, byte [rsp + 0x2d]
movzx eax, byte [rsp + 0x2c]
movzx r8d, byte [rsp + 0x37]
movzx edx, byte [rsp + 0x3b]
shl cx, 8
or cx, ax
shl r8d, 8
movzx eax, byte [rsp + 0x2e]
mov word [rbx + 0x10bb8], cx
movzx ecx, byte [rsp + 0x2f]
shl cx, 8
or cx, ax
shl edx, 8
movzx eax, byte [rsp + 0x30]
mov word [rbx + 0x10bba], cx
movzx ecx, byte [rsp + 0x31]
shl cx, 8
or cx, ax
movzx eax, byte [rsp + 0x32]
mov word [rbx + 0x10bbc], cx
movzx ecx, byte [rsp + 0x33]
shl cx, 8
or cx, ax
movzx eax, byte [rsp + 0x36]
add r8d, eax
mov word [rbx + 0x10bbe], cx
movzx eax, byte [rsp + 0x35]
movzx ecx, byte [rsp + 0x3d]
shl r8d, 8
add r8d, eax
shl cx, 8
movzx eax, byte [rsp + 0x34]
shl r8d, 8
add r8d, eax
movzx eax, byte [rsp + 0x3a]
add edx, eax
mov dword [rbx + 0x10bc0], r8d
movzx eax, byte [rsp + 0x39]
shl edx, 8
add edx, eax
movzx eax, byte [rsp + 0x38]
shl edx, 8
add edx, eax
movzx eax, byte [rsp + 0x3c]
or cx, ax
mov dword [rbx + 0x10bc4], edx
mov word [rbx + 0x10bc8], cx
lea eax, [rdx + r8]
mov dword [rbx + 0x9c], eax
xor eax, eax
mov r14, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.14011b0c0
mov rbx, qword [rsp + 0x80]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret
mov edi, eax
and edi, 0x80001fff
jge 0x140093a71
dec edi
or edi, 0xffffe000
inc edi
sub eax, edi
cmp edi, 0x12
jle 0x140093b43
mov ecx, dword [rcx + 0x10b50]
xor r8d, r8d
mov edx, eax
call fcn.1401335d0
mov rdx, qword [rbx + 0x10b18]
mov r8d, edi
mov ecx, dword [rbx + 0x10b50]
mov dword [rbx + 0x10b58], eax
call fcn.140132b18
mov dword [rbx + 0x10b28], eax
cmp eax, edi
jne 0x140093c66
mov rdx, qword [rbx + 0x10b18]
movsxd rax, edi
add rax, 0xffffffffffffffea
add rax, rdx
mov qword [rbx + 0x10b20], rax
cmp rax, rdx
jb 0x140093b2d
cmp byte [rax], 0x50
jne 0x140093af0
mov r8d, 4
lea rdx, [0x1402b5cec]
mov rcx, rax
call fcn.14012b3c0
test eax, eax
je 0x140093b0f
mov rax, qword [rbx + 0x10b20]
dec rax
mov qword [rbx + 0x10b20], rax
mov rdx, qword [rbx + 0x10b18]
cmp rax, rdx
jae 0x140093ad2
jmp 0x140093b2d
mov eax, dword [rbx + 0x10b18]
mov ebp, 1
sub eax, dword [rbx + 0x10b20]
add dword [rbx + 0x10b28], eax
mov rdx, qword [rbx + 0x10b18]
movzx eax, word [rdx]
mov rcx, qword [rbx + 0x10b68]
mov word [rcx], ax
movzx eax, byte [rdx + 2]
mov byte [rcx + 2], al
jmp 0x140093b49
mov dword [rcx + 0x10b58], eax
sub esi, edi
mov edi, 1
lea eax, [rsi + 0x1fff]
cdq
and edx, 0x1fff
lea esi, [rdx + rax]
sar esi, 0xd
test ebp, ebp
jne 0x1400938af
nop dword [rax + rax]
cmp edi, esi
jg 0x140093c5e
add dword [rbx + 0x10b58], 0xffffe000
xor r8d, r8d
mov edx, dword [rbx + 0x10b58]
mov ecx, dword [rbx + 0x10b50]
call fcn.1401335d0
mov rdx, qword [rbx + 0x10b18]
mov r8d, 0x2000
mov ecx, dword [rbx + 0x10b50]
call fcn.140132b18
mov dword [rbx + 0x10b28], eax
cmp eax, 0x2000
jne 0x140093c5e
mov rdx, qword [rbx + 0x10b18]
lea rax, [rdx + 0x1fff]
mov qword [rbx + 0x10b20], rax
cmp rax, rdx
jb 0x140093c3b
nop dword [rax]
cmp byte [rax], 0x50
jne 0x140093bfe
mov r8d, 4
lea rdx, [0x1402b5cec]
mov rcx, rax
call fcn.14012b3c0
test eax, eax
je 0x140093c1d
mov rax, qword [rbx + 0x10b20]
dec rax
mov qword [rbx + 0x10b20], rax
mov rdx, qword [rbx + 0x10b18]
cmp rax, rdx
jae 0x140093be0
jmp 0x140093c3b
mov eax, dword [rbx + 0x10b18]
mov ebp, 1
sub eax, dword [rbx + 0x10b20]
add dword [rbx + 0x10b28], eax
mov rdx, qword [rbx + 0x10b18]
movzx eax, word [rdx]
inc edi
mov rcx, qword [rbx + 0x10b68]
mov word [rcx], ax
movzx eax, byte [rdx + 2]
mov byte [rcx + 2], al
test ebp, ebp
je 0x140093b70
jmp 0x1400938af
test ebp, ebp
jne 0x1400938af
cmp dword [rbx + 0x44], 0
jne 0x140093c7b
cmp dword [rbx + 0x18], 0
jne 0x140093c7b
lea rdi, [rbx + 0xb08]
jmp 0x140093cad
mov r8, qword [rbx + 0x10b48]
lea rdi, [rbx + 0xb08]
mov rcx, rdi
lea rdx, str.__s__n
call fcn.140092700
mov r8d, eax
mov r9d, 0x401
mov rdx, rdi
mov rcx, rbx
call qword [rbx + 0x10df0]
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
mov rcx, rdi
call fcn.140092700
mov r8d, eax
mov r9d, 0x401
mov rdx, rdi
mov rcx, rbx
call qword [rbx + 0x10df0]
mov eax, 2
jmp 0x140093a40
mov r9d, 0x401
lea rdx, str.error:__zipfile_read_error_n
mov r8d, 0x1b
mov rcx, rbx
call qword [rbx + 0x10df0]
mov eax, gethostbyname
jmp 0x140093a3b
sub r14d, esi
jne 0x14009395d
lea eax, [r14 + 0x33]
jmp 0x140093a3b