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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov ecx, dword [ebp + 0x18]
push ebx
xor eax, eax
push esi
push edi
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], eax
mov dword [ecx], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x2b0]
mov esi, eax
test eax, eax
jne 0x42f8f3
mov esi, 0x4000
mov edi, dword [ebp + 0x10]
mov eax, dword [edi]
mov ecx, dword [edi + 4]
mov edx, eax
and edx, ecx
cmp edx, 0xffffffff
je 0x42f91e
cmp dword [edi + 0x48], 0
jne 0x42f91e
sub eax, dword [edi + 0x20]
sbb ecx, dword [edi + 0x24]
xor edx, edx
cmp ecx, edx
jg 0x42f91e
jl 0x42f91c
cmp eax, esi
jae 0x42f91e
mov esi, eax
test esi, esi
je 0x42f952
push esi
mov esi, dword [ebp + 0xc]
push dword [edi + 0x9c]
mov edx, dword [esi + 0x248]
lea ebx, [ebp - 4]
call fcn.00429566
pop ecx
pop ecx
mov dword [ebp - 8], eax
cmp eax, 0x51
je 0x42ff51
test eax, eax
jg 0x42ff80
jmp 0x42f956
and dword [ebp - 4], 0
mov eax, dword [edi + 0x20]
or eax, dword [edi + 0x24]
jne 0x42f988
mov eax, dword [edi + 0x28]
or eax, dword [edi + 0x2c]
jne 0x42f988
mov esi, dword [ebp + 8]
push 5
call fcn.004274f7
cmp dword [edi + 0x84], 0
pop ecx
jle 0x42f988
call fcn.0042f5a7
mov dword [edi + 0x7c], eax
mov dword [edi + 0x80], edx
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp - 4]
xor ecx, ecx
inc ecx
or dword [eax], ecx
test edx, edx
jne 0x42f9a4
cmp dword [edi + 0x98], edx
jne 0x42f9a4
mov dword [ebp - 0x14], ecx
jmp 0x42f9b0
and dword [ebp - 0x14], 0
test edx, edx
jle 0x42fe2d
mov ebx, dword [ebp + 0xc]
lea eax, [edi + 0x9c]
mov ecx, dword [eax]
mov byte [edx + ecx], 0
mov eax, dword [eax]
mov dword [edi + 0x5c], eax
mov eax, dword [ebx + 0x23c]
mov eax, dword [eax + 0x34]
xor esi, esi
cmp eax, esi
je 0x42f9f8
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 4]
push ecx
push ebx
push dword [ebp + 8]
call eax
add esp, 0x10
mov dword [ebp - 8], eax
cmp eax, esi
jne 0x42fe3c
cmp dword [ebp - 0x10], esi
jne 0x42ff55
mov eax, dword [ebp + 8]
cmp dword [edi + 0x48], esi
je 0x42fa71
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x18], esi
call fcn.0041cd17
add esp, 0xc
mov dword [ebp - 8], eax
cmp eax, esi
jne 0x42fe3c
mov eax, dword [ebx + 0x23c]
mov eax, dword [eax + 0x34]
cmp eax, esi
je 0x42fa65
cmp dword [edi + 0x14], esi
jg 0x42fa65
jl 0x42fa3b
cmp dword [edi + 0x10], esi
ja 0x42fa65
cmp dword [ebp - 4], esi
jle 0x42fa65
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 4]
push ecx
push ebx
push dword [ebp + 8]
call eax
add esp, 0x10
mov dword [ebp - 8], eax
cmp eax, esi
jne 0x42fe3c
cmp dword [ebp - 0x10], esi
jne 0x42ff55
cmp dword [ebp - 0x18], esi
jne 0x42fe44
mov eax, dword [ebp + 8]
cmp dword [edi + 0x5c], esi
je 0x42fdf0
cmp dword [edi + 0x48], esi
jne 0x42fdf0
cmp dword [ebp - 4], esi
jg 0x42fa91
cmp dword [ebp - 0x14], esi
je 0x42fdf0
cmp dword [edi + 0x98], esi
jne 0x42fb43
cmp dword [ebp - 0x14], esi
jne 0x42fb43
mov ecx, dword [ebx + 0x23c]
test dword [ecx + 0x3c], 0x40001
je 0x42fb43
cmp dword [eax + 0x10c], esi
je 0x42faea
cmp dword [ebx + 0x1c8], esi
jne 0x42fe9e
mov esi, dword [ebp + 8]
push str.Ignoring_the_response_body_n
mov dword [edi + 0xb0], 1
call fcn.004290d9
mov eax, dword [ebp + 8]
pop ecx
xor esi, esi
mov ecx, dword [eax + 0x86b8]
or ecx, dword [eax + 0x86bc]
je 0x42fb12
cmp dword [edi + 0x6c], esi
jne 0x42fb12
cmp dword [eax + 0x260], 1
jne 0x42fb12
cmp dword [edi + 0xb0], esi
je 0x42feb3
cmp dword [eax + 0x250], esi
je 0x42fb43
cmp dword [eax + 0x86b0], esi
jne 0x42fb43
push dword [edi + 0x94]
mov eax, dword [ebp + 8]
push dword [edi + 0x90]
call fcn.0042f85e
pop ecx
pop ecx
test eax, eax
je 0x42fec9
mov eax, dword [ebp + 8]
inc dword [edi + 0x98]
cmp dword [eax + 0x324], esi
je 0x42fb98
push ebx
cmp dword [edi + 0x4c], esi
je 0x42fb91
push dword [edi + 0x58]
mov eax, dword [ebp + 8]
mov edi, dword [eax + 0x5a4]
push 3
mov ecx, eax
call fcn.004296bc
mov eax, dword [ebp + 0x10]
add esp, 0xc
cmp dword [eax + 0x4c], 1
jne 0x42fb96
mov edi, dword [eax + 0x5c]
push ebx
push dword [ebp - 4]
mov ecx, dword [ebp + 8]
push 3
call fcn.004296bc
mov edi, dword [ebp + 0x10]
add esp, 0xc
jmp 0x42fb98
mov edi, dword [edi + 0x5c]
jmp 0x42fb7c
mov edi, eax
cmp dword [edi + 0xc8], esi
je 0x42fc17
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [edi + 0x5c]
mov edi, ebx
call fcn.0041da49
add esp, 0xc
cmp eax, esi
jg 0x42fef3
cmp eax, 0xffffffff
jne 0x42fc11
mov eax, dword [ebp + 0x10]
and dword [eax + 0xa8], 0xfffffffe
mov edi, dword [ebp + 0xc]
mov ebx, dword [edi + 0x30]
cmp ebx, esi
je 0x42fc11
mov esi, dword [edi]
push ebx
push str.Leftovers_after_chunking:__zu_bytes_n
call fcn.004290d9
mov esi, dword [edi]
mov eax, dword [esi + 0x40]
pop ecx
pop ecx
call fcn.00422f8f
test eax, eax
je 0x42fc0f
push ebx
push str.Rewinding__zu_bytes_n
call fcn.004290d9
sub dword [edi + 0x290], ebx
pop ecx
pop ecx
mov dword [edi + 0x21c], 1
xor esi, esi
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
cmp dword [edi + 0x4c], esi
je 0x42fc2d
cmp dword [edi + 0xb0], esi
jne 0x42fc2d
mov eax, dword [edi + 0x58]
add dword [edi + 0x20], eax
adc dword [edi + 0x24], esi
mov eax, dword [edi + 0x10]
mov ecx, dword [edi + 0x14]
cmp eax, 0xffffffff
jne 0x42fc40
cmp ecx, eax
je 0x42fcfe
mov eax, dword [ebp - 4]
mov ecx, dword [edi + 0x20]
mov esi, dword [edi + 0x24]
cdq
add eax, ecx
adc edx, esi
mov esi, dword [edi + 0x14]
cmp edx, esi
jl 0x42fcfc
jg 0x42fc64
cmp eax, dword [edi + 0x10]
jb 0x42fcfc
mov eax, dword [ebp - 4]
sub eax, dword [edi + 0x10]
add eax, ecx
mov dword [ebp - 0xc], eax
je 0x42fce6
cmp dword [edi + 0xb0], 0
jne 0x42fce6
mov eax, dword [ebx]
mov eax, dword [eax + 0x40]
call fcn.00422f8f
test eax, eax
je 0x42fcc6
push dword [ebp - 4]
push dword [edi + 0x24]
push ecx
push esi
push dword [edi + 0x10]
mov esi, dword [ebp + 8]
push dword [edi + 4]
push dword [edi]
push dword [esi + 0x86a0]
push dword [ebp - 0xc]
push str.Rewinding_stream_by_:__zu_bytes_on_url__s__size___I64d__maxdownload___I64d__bytecount___I64d__nread___zd__n
call fcn.004290d9
mov eax, dword [ebp - 0xc]
add esp, 0x28
sub dword [ebx + 0x290], eax
mov dword [ebx + 0x21c], 1
jmp 0x42fce6
push dword [edi + 0x24]
push ecx
push esi
push dword [edi + 0x10]
mov esi, dword [ebp + 8]
push dword [edi + 4]
push dword [edi]
push dword [ebp - 0xc]
push str.Excess_found_in_a_non_pipelined_read:_excess___zu__size___I64d__maxdownload___I64d__bytecount___I64d_n
call fcn.004290d9
add esp, 0x20
mov eax, dword [edi + 0x10]
sub eax, dword [edi + 0x20]
mov dword [ebp - 4], eax
jns 0x42fcf5
and dword [ebp - 4], 0
and dword [edi + 0xa8], 0xfffffffe
xor esi, esi
mov eax, dword [ebp - 4]
cdq
add dword [edi + 0x20], eax
mov ecx, dword [edi + 0x20]
mov eax, dword [ebp + 8]
adc dword [edi + 0x24], edx
mov dword [eax + 0x4a0], ecx
mov ecx, dword [edi + 0x24]
mov dword [eax + 0x4a4], ecx
cmp dword [edi + 0xc8], esi
jne 0x42fdf0
cmp dword [ebp - 4], esi
jne 0x42fd3c
cmp dword [edi + 0x4c], esi
jne 0x42fd41
cmp dword [ebp - 0x14], esi
je 0x42fdf0
cmp dword [edi + 0x4c], esi
je 0x42fda4
cmp dword [edi + 0xb0], esi
jne 0x42fda4
mov edx, dword [edi + 0x10]
mov eax, dword [edi + 0x14]
mov ecx, edx
and ecx, eax
cmp ecx, 0xffffffff
je 0x42fd82
mov ecx, dword [edi + 0x58]
xor esi, esi
cmp esi, eax
jl 0x42fd80
jg 0x42fd67
cmp ecx, edx
jbe 0x42fd80
mov eax, dword [ebp + 8]
push edx
push dword [eax + 0x5a4]
push 1
push ebx
call fcn.00429417
add esp, 0x10
xor esi, esi
jmp 0x42fd99
xor esi, esi
push dword [edi + 0x58]
mov eax, dword [ebp + 8]
push dword [eax + 0x5a4]
push 1
push ebx
call fcn.00429417
add esp, 0x10
mov dword [ebp - 8], eax
cmp eax, esi
jne 0x42ff80
cmp dword [edi + 0x4c], 2
jge 0x42fde2
cmp dword [edi + 0xb0], esi
jne 0x42fde2
mov eax, dword [ebx + 0x23c]
test dword [eax + 0x3c], 0x4000
push dword [ebp - 4]
push dword [edi + 0x5c]
je 0x42fdd4
mov esi, ebx
call fcn.004270a9
pop ecx
pop ecx
xor esi, esi
jmp 0x42fddf
push 1
push ebx
call fcn.00429417
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [edi + 0x4c], esi
cmp eax, esi
jne 0x42ff80
mov eax, dword [ebx + 0x23c]
cmp dword [eax + 0x34], esi
je 0x42fe0c
cmp dword [ebp - 0xc], esi
jbe 0x42fe0c
cmp dword [ebx + 0x21c], esi
je 0x42ff1b
cmp dword [ebp - 0x14], esi
je 0x42fe18
and dword [edi + 0xa8], 0xfffffffe
mov eax, dword [ebx + 0x23c]
test byte [eax + 0x3c], 0x30
jne 0x42f8df
jmp 0x42ff55
and dword [edi + 0xa8], 0xfffffffe
mov ebx, dword [ebp + 0xc]
jmp 0x42ff53
mov eax, dword [ebp - 8]
jmp 0x42ff80
cmp dword [ebp - 4], esi
jle 0x42ff55
mov eax, dword [ebx]
mov eax, dword [eax + 0x40]
call fcn.00422f8f
mov esi, dword [ebp + 8]
push dword [esi + 0x86a0]
push dword [ebp - 4]
test eax, eax
je 0x42fe8c
push str.Rewinding_stream_by_:__zd_bytes_on_url__s__zero_length_body__n
call fcn.004290d9
mov eax, dword [ebp - 4]
add esp, 0xc
sub dword [ebx + 0x290], eax
mov dword [ebx + 0x21c], 1
jmp 0x42ff53
push str.Excess_found_in_a_non_pipelined_read:_excess___zd_url___s__zero_length_body__n
call fcn.004290d9
add esp, 0xc
jmp 0x42ff53
mov eax, dword [ebp + 0x18]
and dword [edi + 0xa8], 0xfffffffe
mov dword [eax], 1
jmp 0x42ff7e
mov esi, dword [ebp + 8]
push str.HTTP_server_doesnt_seem_to_support_byte_ranges._Cannot_resume.
call fcn.00429149
pop ecx
push 0x21
pop eax
jmp 0x42ff80
mov eax, dword [ebp + 0x18]
mov esi, dword [ebp + 8]
xor edi, edi
inc edi
push str.Simulate_a_HTTP_304_response__n
mov dword [eax], edi
mov dword [esi + 0x86ec], 0x130
call fcn.004290d9
mov dword [ebx + 0x1c8], edi
jmp 0x42ff7d
mov esi, dword [ebp + 8]
cmp eax, 4
jne 0x42ff0a
push str.Failed_writing_data
call fcn.00429149
pop ecx
push 0x17
jmp 0x42fec3
push eax
push str.Problem___d__in_the_Chunked_Encoded_data
call fcn.00429149
pop ecx
pop ecx
push 0x38
jmp 0x42fec3
mov eax, dword [ebp - 4]
add dword [edi + 0x5c], eax
mov eax, dword [ebp - 0xc]
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 4]
push ecx
push ebx
push dword [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebx + 0x23c]
call dword [eax + 0x34]
add esp, 0x10
cmp eax, esi
jne 0x42ff80
cmp dword [ebp - 0x10], esi
je 0x42ff55
or dword [edi + 0xa8], 1
jmp 0x42ff55
mov ebx, esi
xor esi, esi
mov eax, dword [edi + 0xa8]
and al, 3
cmp al, 2
jne 0x42ff7e
cmp dword [ebx + 0x1c8], esi
je 0x42ff7e
mov esi, dword [ebp + 8]
push str.we_are_done_reading_and_this_is_set_to_close__stop_send_n
call fcn.004290d9
and dword [edi + 0xa8], 0xfffffffd
pop ecx
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret