Function at 0x140058df0
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], r9
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [rbp + 0x60]
xor r12d, r12d
mov r14, r9
mov rbx, r8
mov rdi, rdx
mov rsi, rcx
mov dword [rax], r12d
mov r15d, r12d
mov r13d, r12d
mov dword [rbp + 0x40], r12d
nop dword [rax]
mov eax, dword [rsi + 0x468]
mov ecx, 0x4000
test eax, eax
cmovne ecx, eax
mov rax, qword [rbx]
movsxd r9, ecx
cmp rax, 0xffffffffffffffff
je 0x140058e5d
cmp dword [rbx + 0x48], 0
jne 0x140058e5d
sub rax, qword [rbx + 0x20]
cmp rax, r9
cmovl r9, rax
test r9, r9
je 0x140058e9b
mov r8, qword [rbx + 0x120]
mov rdx, qword [rdi + 0x338]
lea rax, [rbp - 0x20]
mov rcx, rdi
mov qword [rsp + 0x20], rax
call fcn.140053140
mov r15d, eax
cmp eax, 0x51
je 0x1400595d8
test eax, eax
jg 0x140059605
mov rcx, qword [rbp - 0x20]
jmp 0x140058ea2
mov rcx, r12
mov qword [rbp - 0x20], rcx
cmp qword [rbx + 0x20], 0
jne 0x140058f3c
cmp qword [rbx + 0x28], 0
jne 0x140058f3c
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov r8d, eax
mov eax, 0x10624dd3
mul r8d
shr edx, 6
mov dword [rbp - 0x18], edx
imul ecx, edx, 0x3e8
mov rdx, qword [rsi + 0x7d0]
sub r8d, ecx
imul eax, r8d, 0x3e8
mov dword [rbp - 0x14], eax
mov rcx, qword [rbp - 0x18]
call fcn.1400534d0
movsd qword [rsi + 0x7b8], xmm0
cmp dword [rbx + 0xa4], 0
jle 0x140058f38
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov r8d, eax
mov eax, 0x10624dd3
mul r8d
shr edx, 6
mov dword [rbp - 0x10], edx
imul ecx, edx, 0x3e8
sub r8d, ecx
imul eax, r8d, 0x3e8
mov dword [rbp - 0xc], eax
mov rax, qword [rbp - 0x10]
mov qword [rbx + 0x9c], rax
mov rcx, qword [rbp - 0x20]
or dword [r14], 1
test rcx, rcx
jne 0x140058f56
cmp dword [rbx + 0x118], ecx
jne 0x140058f53
lea r12d, [rcx + 1]
jmp 0x140058f5c
test rcx, rcx
jle 0x1400595d1
mov rax, qword [rbx + 0x120]
mov byte [rcx + rax], 0
mov rax, qword [rbx + 0x120]
mov qword [rbx + 0x68], rax
mov rax, qword [rdi + 0x320]
mov r10, qword [rax + 0x68]
test r10, r10
je 0x140058fa7
lea r9, [rbp + 0x40]
lea r8, [rbp - 0x20]
mov rdx, rdi
mov rcx, rsi
call r10
mov r15d, eax
test eax, eax
jne 0x140059605
cmp dword [rbp + 0x40], eax
jne 0x1400595d8
cmp dword [rbx + 0x48], 0
je 0x14005907b
lea r9, [rbp + 0x50]
lea r8, [rbp - 0x20]
mov rdx, rdi
mov rcx, rsi
mov dword [rbp + 0x50], 0
call fcn.14005e940
mov r15d, eax
test eax, eax
jne 0x140059605
mov rax, qword [rdi + 0x320]
mov r10, qword [rax + 0x68]
test r10, r10
je 0x14005901b
cmp qword [rbx + 0x10], 0
jg 0x14005901b
mov rcx, qword [rbp - 0x20]
test rcx, rcx
jle 0x14005901f
lea r9, [rbp + 0x40]
lea r8, [rbp - 0x20]
mov rdx, rdi
mov rcx, rsi
call r10
mov r15d, eax
test eax, eax
jne 0x140059605
cmp dword [rbp + 0x40], eax
jne 0x1400595d8
mov rcx, qword [rbp - 0x20]
cmp dword [rbp + 0x50], 0
je 0x14005907f
test rcx, rcx
jle 0x1400595d8
mov rax, qword [rdi]
mov rdx, qword [rax + 0x78]
test rdx, rdx
je 0x1400594c4
cmp dword [rdx + 0x58], 0
je 0x1400594c4
mov r9, qword [rsi + 0x8ad8]
mov r8, rcx
lea rdx, str.Rewinding_stream_by_:__zd_bytes_on_url__s__zero_length_body__n
mov rcx, rsi
call fcn.140052ba0
mov rax, qword [rbp - 0x20]
mov dword [rdi + 0x2fc], 1
sub qword [rdi + 0x420], rax
jmp 0x1400595d8
mov rcx, qword [rbp - 0x20]
cmp qword [rbx + 0x68], 0
je 0x140059452
cmp dword [rbx + 0x48], 0
jne 0x140059452
test rcx, rcx
jg 0x1400590a2
test r12d, r12d
je 0x140059452
cmp dword [rbx + 0x118], 0
jne 0x140059177
test r12d, r12d
jne 0x140059177
mov rax, qword [rdi + 0x320]
test dword [rax + 0x74], 0x40003
je 0x140059177
cmp qword [rsi + 0x1e0], 0
je 0x140059100
cmp dword [rdi + 0x2a8], r12d
jne 0x1400594e2
lea rdx, str.Ignoring_the_response_body_n
mov rcx, rsi
mov dword [rbx + 0x140], 1
call fcn.140052ba0
mov rcx, qword [rbp - 0x20]
cmp qword [rsi + 0x8af8], 0
je 0x140059129
cmp dword [rbx + 0x88], 0
jne 0x140059129
cmp dword [rsi + 0x3f0], 1
jne 0x140059129
cmp dword [rbx + 0x140], 0
je 0x1400594f8
mov r8d, dword [rsi + 0x3e0]
test r8d, r8d
je 0x140059177
cmp qword [rsi + 0x8af0], 0
jne 0x140059177
mov rdx, qword [rbx + 0x110]
test rdx, rdx
je 0x140059177
mov rax, qword [rsi + 0x3e8]
test rax, rax
je 0x140059177
cmp r8d, 2
je 0x14005916e
cmp rdx, rax
jg 0x140059177
lea rdx, str.The_requested_document_is_not_new_enough_n
jmp 0x140059518
cmp rdx, rax
jge 0x140059511
inc dword [rbx + 0x118]
cmp dword [rsi + 0x4f4], 0
je 0x1400591d2
cmp dword [rbx + 0x4c], 0
mov qword [rsp + 0x20], rdi
mov edx, 3
je 0x1400591bf
mov r9, qword [rbx + 0x60]
mov r8, qword [rsi + 0x870]
mov rcx, rsi
call fcn.140053330
cmp dword [rbx + 0x4c], 1
jne 0x1400591ce
mov r9, qword [rbp - 0x20]
mov qword [rsp + 0x20], rdi
mov edx, 3
jmp 0x1400591c2
mov r9, rcx
mov r8, qword [rbx + 0x68]
mov rcx, rsi
call fcn.140053330
mov rcx, qword [rbp - 0x20]
cmp dword [rbx + 0x168], 0
je 0x140059253
mov rdx, qword [rbx + 0x68]
mov r8, rcx
lea r9, [rbp - 0x20]
mov rcx, rdi
call fcn.14006a930
test eax, eax
jg 0x14005955c
cmp eax, 0xffffffff
jne 0x14005924f
and dword [rbx + 0x138], 0xfffffffe
mov r14, qword [rdi + 0x30]
test r14, r14
je 0x14005924f
mov rcx, qword [rdi]
lea rdx, str.Leftovers_after_chunking:__zu_bytes_n
mov r8, r14
call fcn.140052ba0
mov rcx, qword [rdi]
mov rax, qword [rcx + 0x78]
test rax, rax
je 0x14005924f
cmp dword [rax + 0x58], 0
je 0x14005924f
lea rdx, str.Rewinding__zu_bytes_n
mov r8, r14
call fcn.140052ba0
sub qword [rdi + 0x420], r14
mov dword [rdi + 0x2fc], 1
mov rcx, qword [rbp - 0x20]
cmp dword [rbx + 0x4c], 0
je 0x14005926a
cmp dword [rbx + 0x140], 0
jne 0x14005926a
mov rax, qword [rbx + 0x60]
add qword [rbx + 0x20], rax
mov rdx, qword [rbx + 0x10]
cmp rdx, 0xffffffffffffffff
je 0x140059331
mov r8, qword [rbx + 0x20]
lea rax, [r8 + rcx]
cmp rax, rdx
jl 0x140059331
mov r13, r8
sub r13, rdx
add r13, rcx
je 0x140059312
cmp dword [rbx + 0x140], 0
jne 0x140059312
mov rax, qword [rdi]
mov r9, qword [rax + 0x78]
test r9, r9
je 0x1400592f3
cmp dword [r9 + 0x58], 0
je 0x1400592f3
mov rax, qword [rbx]
mov r9, qword [rsi + 0x8ad8]
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], r8
mov qword [rsp + 0x28], rdx
lea rdx, str.Rewinding_stream_by_:__zu_bytes_on_url__s__size___lld__maxdownload___lld__bytecount___lld__nread___zd__n
mov r8, r13
mov rcx, rsi
mov qword [rsp + 0x20], rax
call fcn.140052ba0
sub qword [rdi + 0x420], r13
mov dword [rdi + 0x2fc], 1
jmp 0x140059312
mov r9, qword [rbx]
mov qword [rsp + 0x28], r8
mov qword [rsp + 0x20], rdx
lea rdx, str.Excess_found_in_a_non_pipelined_read:_excess___zu__size___lld__maxdownload___lld__bytecount___lld_n
mov r8, r13
mov rcx, rsi
call fcn.140052ba0
mov rcx, qword [rbx + 0x10]
mov r14d, 0
sub rcx, qword [rbx + 0x20]
cmovs rcx, r14
and dword [rbx + 0x138], 0xfffffffe
mov qword [rbp - 0x20], rcx
jmp 0x140059334
xor r14d, r14d
add qword [rbx + 0x20], rcx
mov rax, qword [rbx + 0x20]
mov qword [rsi + 0x758], rax
cmp dword [rbx + 0x168], 0
jne 0x14005944e
test rcx, rcx
jne 0x140059363
cmp dword [rbx + 0x4c], ecx
jne 0x140059369
test r12d, r12d
je 0x14005944e
cmp dword [rbx + 0x4c], 0
je 0x1400593a9
cmp dword [rbx + 0x140], 0
jne 0x1400593a9
mov r9, qword [rbx + 0x10]
cmp r9, 0xffffffffffffffff
je 0x140059382
cmp qword [rbx + 0x60], r9
jg 0x140059386
mov r9, qword [rbx + 0x60]
mov r8, qword [rsi + 0x870]
mov edx, 1
mov rcx, rdi
call fcn.140052f80
mov r15d, eax
test eax, eax
jne 0x14005959a
mov rcx, qword [rbp - 0x20]
cmp dword [rbx + 0x4c], 2
jge 0x140059441
mov rax, qword [rdi]
mov edx, r14d
cmp dword [rax + 0x540], 0
jne 0x1400593c8
mov edx, dword [rbx + 0xac]
test edx, edx
je 0x14005941d
dec edx
je 0x140059404
dec edx
je 0x1400593eb
lea rdx, [0x140179190]
mov rcx, rsi
call fcn.140052c80
mov r15d, 0x3d
jmp 0x14005943d
cmp dword [rbx + 0x140], 0
jne 0x140059441
mov r8, rcx
mov rdx, rbx
mov rcx, rdi
call fcn.14006b2c0
jmp 0x14005943a
cmp dword [rbx + 0x140], 0
jne 0x140059441
mov r8, rcx
mov rdx, rbx
mov rcx, rdi
call fcn.14006b0f0
jmp 0x14005943a
cmp dword [rbx + 0x140], 0
jne 0x140059441
mov r8, qword [rbx + 0x68]
mov r9, rcx
mov edx, 1
mov rcx, rdi
call fcn.140052f80
mov r15d, eax
mov rcx, qword [rbp - 0x20]
mov dword [rbx + 0x4c], r14d
test r15d, r15d
jne 0x14005959a
mov r14, qword [rbp + 0x58]
mov rax, qword [rdi + 0x320]
cmp qword [rax + 0x68], 0
je 0x140059472
test r13, r13
je 0x140059472
cmp dword [rdi + 0x2fc], 0
je 0x14005959f
test r12d, r12d
je 0x14005947e
and dword [rbx + 0x138], 0xfffffffe
mov rax, qword [rdi + 0x320]
mov r12d, 0
test byte [rax + 0x74], 0x30
jne 0x140058e30
mov rcx, qword [rdi + 0x200]
test rcx, rcx
je 0x1400595d8
mov rax, qword [rcx + 8]
call qword [rax + 0xa0]
mov ecx, r12d
test eax, eax
setne cl
test ecx, ecx
jne 0x140058e30
jmp 0x1400595d8
mov r9, qword [rsi + 0x8ad8]
mov r8, rcx
lea rdx, str.Excess_found_in_a_non_pipelined_read:_excess___zd_url___s__zero_length_body__n
mov rcx, rsi
call fcn.140052ba0
jmp 0x1400595d8
mov rax, qword [rbp + 0x60]
and dword [rbx + 0x138], 0xfffffffe
mov dword [rax], 1
jmp 0x140059603
lea rdx, str.HTTP_server_doesnt_seem_to_support_byte_ranges._Cannot_resume.
mov rcx, rsi
call fcn.140052c80
mov eax, 0x21
jmp 0x140059605
lea rdx, str.The_requested_document_is_not_old_enough_n
mov rcx, rsi
call fcn.140052ba0
mov rax, qword [rbp + 0x60]
lea rdx, str.Simulate_a_HTTP_304_response__n
mov rcx, rsi
mov dword [rsi + 0x8b60], 1
mov dword [rsi + 0x8b50], 0x130
mov dword [rax], 1
call fcn.140052ba0
mov dword [rdi + 0x2a8], 1
jmp 0x140059603
cmp eax, 4
jne 0x14005957a
lea rdx, str.Failed_writing_data
mov rcx, rsi
call fcn.140052c80
mov eax, reloc.WS2_32.dll_socket
jmp 0x140059605
mov ecx, eax
call fcn.14006adc0
lea rdx, str._s_in_chunked_encoding
mov rcx, rsi
mov r8, rax
call fcn.140052c80
mov eax, 0x38
jmp 0x140059605
mov eax, r15d
jmp 0x140059605
add qword [rbx + 0x68], rcx
mov rax, qword [rdi + 0x320]
lea r9, [rbp + 0x40]
lea r8, [rbp - 0x20]
mov rdx, rdi
mov rcx, rsi
mov qword [rbp - 0x20], r13
call qword [rax + 0x68]
test eax, eax
jne 0x140059605
cmp dword [rbp + 0x40], eax
je 0x1400595d8
or dword [rbx + 0x138], 1
jmp 0x1400595d8
and dword [rbx + 0x138], 0xfffffffe
mov eax, dword [rbx + 0x138]
and al, 3
cmp al, 2
jne 0x140059603
cmp dword [rdi + 0x2a8], 0
je 0x140059603
lea rdx, str.we_are_done_reading_and_this_is_set_to_close__stop_send_n
mov rcx, rsi
call fcn.140052ba0
and dword [rbx + 0x138], 0xfffffffd
xor eax, eax
mov rbx, qword [rsp + 0xa8]
add rsp, 0x60
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret