Function at 0x14000ecd0
Capabilities:
Check http status code
Read http header

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x270
mov rax, qword [0x14006a080]
xor rax, rsp
mov qword [rsp + 0x260], rax
xor ebx, ebx
mov dword [rsp + 0x38], 0x104
mov qword [rdx], rbx
mov rbp, r8
mov r14, rdx
mov qword [rsp + 0x48], rbx
mov rdi, rcx
mov dword [rsp + 0x34], 4
xor edx, edx
lea rcx, [rsp + 0x50]
mov r8d, 0x208
mov rsi, r9
call fcn.140022630
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rbx
lea r9, [rsp + 0x30]
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov dword [rsp + 0x40], 0x104
mov edx, 0x20000013
mov dword [rsp + 0x3c], 0x104
mov rcx, rdi
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
jne 0x14000ed8e
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor edx, edx
xor ecx, ecx
mov ebx, eax
call fcn.140003ed0
mov rcx, rax
lea rdx, str.query_status_code_fail__lu
mov r8d, ebx
call fcn.140005c50
mov ebx, 3
jmp 0x14000ef12
mov eax, dword [rsp + 0x30]
cmp eax, 0xc8
je 0x14000edf7
cmp eax, 0xce
je 0x14000edf7
cmp eax, 0x194
jne 0x14000edc9
xor edx, edx
xor ecx, ecx
mov ebx, 0x10
call fcn.140003ed0
mov rcx, rax
lea rdx, str.FILE_NOT_FOUND
call fcn.140005c50
jmp 0x14000ef12
cmp eax, 0x1a0
jne 0x14000edda
mov ebx, 0x11
jmp 0x14000ef12
xor edx, edx
xor ecx, ecx
call fcn.140003ed0
mov r8d, dword [rsp + 0x30]
lea rdx, str.status_code_lu
mov rcx, rax
call fcn.140005c50
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rbx
lea r9, [rsp + 0x48]
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov edx, 0x20000005
mov rcx, rdi
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
jne 0x14000ee4d
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor edx, edx
xor ecx, ecx
mov ebx, eax
call fcn.140003ed0
mov rcx, rax
lea rdx, str.query_size_fail__lu
mov r8d, ebx
call fcn.140005c50
mov ebx, 1
jmp 0x14000ef12
xor r8d, r8d
mov qword [rsp + 0x28], rbx
lea rax, [rsp + 0x3c]
mov r9, rbp
mov rcx, rdi
mov qword [rsp + 0x20], rax
lea edx, [r8 + 0xb]
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
jne 0x14000ee9d
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor edx, edx
xor ecx, ecx
mov ebx, eax
call fcn.140003ed0
mov rcx, rax
lea rdx, str.query_last_LastModified_fail__lu
mov r8d, ebx
call fcn.140005c50
mov ebx, 2
jmp 0x14000ef12
mov rax, qword [rsp + 0x48]
lea r9, [rsp + 0x50]
xor r8d, r8d
mov qword [r14], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rbx
mov rcx, rdi
mov qword [rsp + 0x20], rax
lea edx, [r8 + 0x2a]
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
jne 0x14000eef7
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor edx, edx
xor ecx, ecx
mov ebx, eax
call fcn.140003ed0
mov rcx, rax
lea rdx, str.query_ranges_fail__lu
mov r8d, ebx
call fcn.140005c50
mov ebx, 4
jmp 0x14000ef12
lea rdx, str.bytes
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
mov ecx, ebx
test eax, eax
sete cl
mov dword [rsi], ecx
xor edx, edx
xor ecx, ecx
call fcn.140003ed0
mov edx, dword [rsi]
lea r9, str.parseDownLoadInfo
mov dword [rsp + 0x28], edx
lea r8, str.NetDownLoad
lea rdx, str.__hs___hs__reuslt__0x_X__isSupportRange___d.
mov dword [rsp + 0x20], ebx
mov rcx, rax
call fcn.140005c50
mov eax, ebx
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.14001fab0
add rsp, 0x270
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret