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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xdc
mov eax, dword [0x4aa0cc]
xor eax, esp
mov dword [esp + 0xd8], eax
mov eax, dword [ebp + 0xc]
push ebx
mov dword [esp + 0x34], eax
mov ebx, ecx
mov eax, dword [ebp + 0x10]
push esi
mov esi, edx
mov dword [esp + 0x28], eax
push edi
mov edi, dword [ebp + 8]
mov dword [esp + 0x38], esi
mov dword [esp + 0x1c], 0
mov dword [esp + 0x30], 0
mov byte [esp + 0x1b], 0
mov dword [esp + 0x34], 0x64
mov byte [eax], 0
jmp 0x442170
mov eax, dword [ebx + 0x2d0]
mov ecx, 0x4000
mov edx, dword [edi]
test eax, eax
cmovne ecx, eax
mov eax, dword [edi + 4]
mov dword [esp + 0x24], eax
mov eax, edx
and eax, dword [edi + 4]
cmp eax, 0xffffffff
je 0x4421af
cmp byte [edi + 0x48], 0
jne 0x4421af
sub edx, dword [edi + 0x20]
mov eax, dword [esp + 0x24]
sbb eax, dword [edi + 0x24]
test eax, eax
jg 0x4421af
jl 0x4421ad
cmp edx, ecx
jae 0x4421af
mov ecx, edx
test ecx, ecx
je 0x4421ea
mov edx, dword [esi + 0x288]
lea eax, [esp + 0x14]
push eax
push ecx
push dword [edi + 0xdc]
mov ecx, esi
call fcn.0043dea0
add esp, 0xc
mov dword [esp + 0x1c], eax
cmp eax, 0x51
je 0x442b3a
test eax, eax
jg 0x442b66
mov ecx, dword [esp + 0x14]
jmp 0x4421f0
xor ecx, ecx
mov dword [esp + 0x14], ecx
mov eax, dword [edi + 0x20]
or eax, dword [edi + 0x24]
jne 0x44229a
mov eax, dword [edi + 0x28]
or eax, dword [edi + 0x2c]
jne 0x44229a
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, eax
mov eax, 0x10624dd3
mul esi
shr edx, 6
imul ecx, edx, 0x3e8
sub esi, ecx
mov ecx, dword [ebx + 0x50c]
imul eax, esi, 0x3e8
mov esi, dword [ebx + 0x508]
sub eax, ecx
movd xmm1, eax
cvtdq2pd xmm1, xmm1
divsd xmm1, qword [0x49c810]
cmp edx, esi
je 0x442258
sub edx, esi
movd xmm0, edx
cvtdq2pd xmm0, xmm0
addsd xmm1, xmm0
movsd qword [ebx + 0x4f0], xmm1
cmp dword [edi + 0x84], 0
jle 0x442292
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, eax
mov eax, 0x10624dd3
mul esi
shr edx, 6
imul ecx, edx, 0x3e8
mov dword [edi + 0x7c], edx
sub esi, ecx
imul eax, esi, 0x3e8
mov dword [edi + 0x80], eax
mov esi, dword [esp + 0x38]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x3c]
or dword [eax], 1
test ecx, ecx
jne 0x4422b2
cmp dword [edi + 0xd8], ecx
jne 0x4422b2
lea eax, [ecx + 1]
jmp 0x4422b4
xor eax, eax
test eax, eax
setne al
mov byte [esp + 0x13], al
test ecx, ecx
jg 0x4422c9
test al, al
je 0x442958
mov eax, dword [edi + 0xdc]
mov byte [ecx + eax], 0
mov eax, dword [edi + 0xdc]
mov dword [edi + 0x5c], eax
mov eax, dword [esi + 0x27c]
mov eax, dword [eax + 0x34]
test eax, eax
je 0x442310
lea ecx, [esp + 0x1b]
push ecx
lea ecx, [esp + 0x18]
push ecx
push esi
push ebx
call eax
add esp, 0x10
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x442b66
cmp byte [esp + 0x1b], al
jne 0x442b3a
cmp byte [edi + 0x48], 0
je 0x442393
lea eax, [esp + 0x23]
mov byte [esp + 0x23], 0
push eax
lea eax, [esp + 0x18]
mov edx, esi
push eax
mov ecx, ebx
call fcn.00447ec0
mov ecx, eax
add esp, 8
mov dword [esp + 0x1c], ecx
test ecx, ecx
jne 0x4429c3
mov eax, dword [esi + 0x27c]
mov eax, dword [eax + 0x34]
test eax, eax
je 0x442388
cmp dword [edi + 0x14], ecx
jg 0x442388
jl 0x442358
cmp dword [edi + 0x10], ecx
ja 0x442388
cmp dword [esp + 0x14], 0
jle 0x442388
lea ecx, [esp + 0x1b]
push ecx
lea ecx, [esp + 0x18]
push ecx
push esi
push ebx
call eax
mov ecx, eax
mov dword [esp + 0x2c], eax
add esp, 0x10
test ecx, ecx
jne 0x4429c3
cmp byte [esp + 0x1b], al
jne 0x442b3a
cmp byte [esp + 0x23], 0
jne 0x442964
cmp dword [edi + 0x5c], 0
mov cl, byte [esp + 0x13]
je 0x442905
cmp byte [edi + 0x48], 0
jne 0x442905
cmp dword [esp + 0x14], 0
jg 0x4423ba
test cl, cl
je 0x442905
cmp dword [edi + 0xd8], 0
jne 0x442466
test cl, cl
jne 0x442466
mov eax, dword [esi + 0x27c]
test dword [eax + 0x3c], 0x40003
je 0x442466
cmp dword [ebx + 0x144], 0
je 0x44240c
cmp byte [esi + 0x251], cl
jne 0x442a04
push str.Ignoring_the_response_body_n
push ebx
mov byte [edi + 0xed], 1
call fcn.0043d920
add esp, 8
mov eax, dword [ebx + 0x86d8]
or eax, dword [ebx + 0x86dc]
je 0x442436
cmp byte [edi + 0x6c], 0
jne 0x442436
cmp dword [ebx + 0x288], 1
jne 0x442436
cmp byte [edi + 0xed], 0
je 0x4429da
cmp dword [ebx + 0x278], 0
je 0x442466
cmp dword [ebx + 0x86d4], 0
jne 0x442466
push dword [edi + 0xd4]
mov ecx, ebx
push dword [edi + 0xd0]
call fcn.00442090
add esp, 8
test al, al
je 0x442a51
inc dword [edi + 0xd8]
cmp byte [ebx + 0x310], 0
je 0x442605
cmp dword [edi + 0x4c], 0
je 0x442579
cmp byte [ebx + 0x2f8], 0
mov ecx, dword [edi + 0x58]
mov edx, dword [ebx + 0x59c]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], edx
je 0x4424f7
mov eax, dword [esi + 0x9c]
test eax, eax
je 0x4424f7
push eax
push str.from
push str.Data
push str.__s__s__s_
lea eax, [esp + 0x50]
push 0xa0
push eax
call fcn.0044af50
lea ecx, [esp + 0x58]
add esp, 0x18
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4424d0
sub ecx, edx
lea eax, [esp + 0x40]
push ecx
push eax
xor edx, edx
mov ecx, ebx
call fcn.0043dfd0
add esp, 8
test eax, eax
jne 0x442511
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov eax, dword [ebx + 0x1d0]
test eax, eax
je 0x442511
push dword [ebx + 0x15c]
push ecx
push edx
push 3
push ebx
call eax
add esp, 0x14
cmp dword [edi + 0x4c], 1
jne 0x442605
cmp byte [ebx + 0x2f8], 0
mov ecx, dword [esp + 0x14]
mov edx, dword [edi + 0x5c]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x24], edx
je 0x4425eb
mov eax, dword [esi + 0x9c]
test eax, eax
je 0x4425eb
push eax
push str.from
push str.Data
push str.__s__s__s_
lea eax, [esp + 0x50]
push 0xa0
push eax
call fcn.0044af50
lea ecx, [esp + 0x58]
add esp, 0x18
lea edx, [ecx + 1]
mov edi, edi
mov al, byte [ecx]
inc ecx
test al, al
jne 0x442570
jmp 0x4425cb
cmp byte [ebx + 0x2f8], 0
mov ecx, dword [esp + 0x14]
mov edx, dword [edi + 0x5c]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x24], edx
je 0x4425eb
mov eax, dword [esi + 0x9c]
test eax, eax
je 0x4425eb
push eax
push str.from
push str.Data
push str.__s__s__s_
lea eax, [esp + 0x50]
push 0xa0
push eax
call fcn.0044af50
lea ecx, [esp + 0x58]
add esp, 0x18
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4425c4
sub ecx, edx
lea eax, [esp + 0x40]
push ecx
push eax
xor edx, edx
mov ecx, ebx
call fcn.0043dfd0
add esp, 8
test eax, eax
jne 0x442605
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
mov eax, dword [ebx + 0x1d0]
test eax, eax
je 0x442605
push dword [ebx + 0x15c]
push ecx
push edx
push 3
push ebx
call eax
add esp, 0x14
cmp byte [edi + 0x100], 0
je 0x442685
mov edx, dword [edi + 0x5c]
lea eax, [esp + 0x14]
push eax
push dword [esp + 0x18]
mov ecx, esi
call fcn.00451d80
add esp, 8
test eax, eax
jg 0x442a8e
cmp eax, 0xffffffff
jne 0x442685
and dword [edi + 0xe8], 0xfffffffe
mov eax, dword [esi + 0x30]
mov dword [esp + 0x24], eax
test eax, eax
je 0x442685
push eax
push str.Leftovers_after_chunking:__zu_bytes_n
push dword [esi]
call fcn.0043d920
mov ecx, dword [esi]
add esp, 0xc
mov eax, dword [ecx + 0x40]
test eax, eax
je 0x442685
test byte [eax + 0x60], 1
je 0x442685
push dword [esp + 0x24]
push str.Rewinding__zu_bytes_n
push ecx
call fcn.0043d920
mov eax, dword [esp + 0x30]
add esp, 0xc
sub dword [esi + 0x2fc], eax
mov byte [esi + 0x265], 1
cmp dword [edi + 0x4c], 0
je 0x44269e
cmp byte [edi + 0xed], 0
jne 0x44269e
mov eax, dword [edi + 0x58]
add dword [edi + 0x20], eax
adc dword [edi + 0x24], 0
mov ecx, dword [edi + 0x10]
cmp ecx, 0xffffffff
jne 0x4426af
cmp dword [edi + 0x14], ecx
je 0x44276c
mov eax, dword [esp + 0x14]
cdq
add eax, dword [edi + 0x20]
adc edx, dword [edi + 0x24]
cmp edx, dword [edi + 0x14]
jl 0x44276c
jg 0x4426cd
cmp eax, ecx
jb 0x44276c
mov ecx, dword [esp + 0x14]
mov edx, ecx
sub edx, dword [edi + 0x10]
add edx, dword [edi + 0x20]
mov dword [esp + 0x30], edx
je 0x442753
cmp byte [edi + 0xed], 0
jne 0x442753
mov eax, dword [esi]
mov eax, dword [eax + 0x40]
test eax, eax
je 0x442732
test byte [eax + 0x60], 1
je 0x442732
mov eax, dword [edi + 0x10]
push ecx
push dword [edi + 0x24]
push dword [edi + 0x20]
push dword [edi + 0x14]
push eax
push dword [edi + 4]
push dword [edi]
push dword [ebx + 0x86cc]
push edx
push str.Rewinding_stream_by_:__zu_bytes_on_url__s__size___I64d__maxdownload___I64d__bytecount___I64d__nread___zd__n
push ebx
call fcn.0043d920
mov eax, dword [esp + 0x5c]
add esp, 0x2c
sub dword [esi + 0x2fc], eax
mov byte [esi + 0x265], 1
jmp 0x442753
push dword [edi + 0x24]
mov eax, dword [edi + 0x10]
push dword [edi + 0x20]
push dword [edi + 0x14]
push eax
push dword [edi + 4]
push dword [edi]
push edx
push str.Excess_found_in_a_non_pipelined_read:_excess___zu__size___I64d__maxdownload___I64d__bytecount___I64d_n
push ebx
call fcn.0043d920
add esp, 0x24
mov eax, dword [edi + 0x10]
mov ecx, 0
sub eax, dword [edi + 0x20]
cmovs eax, ecx
and dword [edi + 0xe8], 0xfffffffe
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x14]
mov eax, ecx
cdq
add dword [edi + 0x20], eax
mov eax, dword [edi + 0x20]
adc dword [edi + 0x24], edx
mov dword [ebx + 0x490], eax
mov eax, dword [edi + 0x24]
mov dword [ebx + 0x494], eax
cmp byte [edi + 0x100], 0
jne 0x442901
test ecx, ecx
jne 0x4427ad
cmp dword [edi + 0x4c], ecx
jne 0x4427b7
mov cl, byte [esp + 0x13]
test cl, cl
je 0x442905
cmp dword [edi + 0x4c], 0
je 0x442848
cmp byte [edi + 0xed], 0
jne 0x442848
mov edx, dword [edi + 0x10]
mov eax, edx
mov ecx, dword [edi + 0x14]
and eax, ecx
cmp eax, 0xffffffff
je 0x442803
xor eax, eax
cmp eax, ecx
jl 0x442803
jg 0x4427e0
cmp dword [edi + 0x58], edx
jbe 0x442803
mov ecx, dword [edi + 0x10]
mov edx, dword [ebx + 0x59c]
test ecx, ecx
jne 0x44282b
mov ecx, edx
lea eax, [ecx + 1]
mov dword [esp + 0x28], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4427f6
sub ecx, dword [esp + 0x28]
jmp 0x44282b
mov ecx, dword [edi + 0x58]
mov edx, dword [ebx + 0x59c]
test ecx, ecx
jne 0x44282b
mov ecx, edx
lea eax, [ecx + 1]
mov dword [esp + 0x28], eax
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x442820
sub ecx, dword [esp + 0x28]
push ecx
push edx
mov edx, 1
mov ecx, esi
call fcn.0043dca0
add esp, 8
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x442b66
cmp dword [edi + 0x4c], 2
jge 0x4428ee
mov eax, dword [esi]
cmp byte [eax + 0x331], 0
je 0x442861
xor eax, eax
jmp 0x442867
mov eax, dword [edi + 0x8c]
sub eax, 0
je 0x4428c9
dec eax
je 0x4428aa
dec eax
je 0x44288b
push str.Unrecognized_content_encoding_type._libcurl_understands__identity___deflate_and__gzip_content_encodings.
push ebx
call fcn.0043d9e0
mov eax, 0x3d
add esp, 8
mov dword [esp + 0x1c], eax
jmp 0x4428f2
cmp byte [edi + 0xed], 0
jne 0x4428ee
push dword [esp + 0x14]
mov edx, edi
mov ecx, esi
call fcn.004526f0
add esp, 4
mov dword [esp + 0x1c], eax
jmp 0x4428f2
cmp byte [edi + 0xed], 0
jne 0x4428ee
push dword [esp + 0x14]
mov edx, edi
mov ecx, esi
call fcn.00452540
add esp, 4
mov dword [esp + 0x1c], eax
jmp 0x4428f2
cmp byte [edi + 0xed], 0
jne 0x4428ee
push dword [esp + 0x14]
mov edx, 1
mov ecx, esi
push dword [edi + 0x5c]
call fcn.0043de70
add esp, 8
mov dword [esp + 0x1c], eax
jmp 0x4428f2
mov eax, dword [esp + 0x1c]
mov dword [edi + 0x4c], 0
test eax, eax
jne 0x442aeb
mov cl, byte [esp + 0x13]
mov eax, dword [esi + 0x27c]
cmp dword [eax + 0x34], 0
je 0x442926
mov edx, dword [esp + 0x30]
test edx, edx
je 0x442926
cmp byte [esi + 0x265], 0
je 0x442b04
test cl, cl
je 0x442931
and dword [edi + 0xe8], 0xfffffffe
mov ecx, esi
call fcn.00442040
test eax, eax
je 0x442b3a
mov ecx, dword [esp + 0x34]
mov eax, ecx
dec ecx
mov dword [esp + 0x34], ecx
test eax, eax
jne 0x442170
jmp 0x442b3a
and dword [edi + 0xe8], 0xfffffffe
jmp 0x442b3a
cmp dword [esp + 0x14], 0
jle 0x442b3a
mov ecx, dword [esi]
mov edx, 1
mov ecx, dword [ecx + 0x40]
call fcn.00430d80
push dword [ebx + 0x86cc]
push dword [esp + 0x18]
test al, al
je 0x4429b0
push str.Rewinding_stream_by_:__zd_bytes_on_url__s__zero_length_body__n
push ebx
call fcn.0043d920
mov eax, dword [esp + 0x24]
add esp, 0x10
sub dword [esi + 0x2fc], eax
mov byte [esi + 0x265], 1
jmp 0x442b3a
push str.Excess_found_in_a_non_pipelined_read:_excess___zd_url___s__zero_length_body__n
push ebx
call fcn.0043d920
add esp, 0x10
jmp 0x442b3a
mov eax, ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xd8]
xor ecx, esp
call fcn.0047db8e
mov esp, ebp
pop ebp
ret
mov eax, dword [edi]
cmp eax, dword [ebx + 0x86d8]
jne 0x442a29
mov eax, dword [edi + 4]
cmp eax, dword [ebx + 0x86dc]
jne 0x442a29
push str.The_entire_document_is_already_downloaded
push ebx
call fcn.0043d920
add esp, 8
mov byte [esi + 0x251], 1
mov eax, dword [esp + 0x2c]
and dword [edi + 0xe8], 0xfffffffe
mov byte [eax], 1
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xd8]
xor ecx, esp
call fcn.0047db8e
mov esp, ebp
pop ebp
ret
push str.HTTP_server_doesnt_seem_to_support_byte_ranges._Cannot_resume.
push ebx
call fcn.0043d9e0
add esp, 8
mov eax, 0x21
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xd8]
xor ecx, esp
call fcn.0047db8e
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x2c]
push str.Simulate_a_HTTP_304_response__n
push ebx
mov byte [eax], 1
mov dword [ebx + 0x8734], 0x130
call fcn.0043d920
add esp, 8
mov byte [esi + 0x251], 1
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xd8]
xor ecx, esp
call fcn.0047db8e
mov esp, ebp
pop ebp
ret
cmp eax, 4
jne 0x442abb
push str.Failed_writing_data
push ebx
call fcn.0043d9e0
add esp, 8
mov eax, 0x17
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xd8]
xor ecx, esp
call fcn.0047db8e
mov esp, ebp
pop ebp
ret
mov ecx, eax
call fcn.00452290
push eax
push str._s_in_chunked_encoding
push ebx
call fcn.0043d9e0
add esp, 0xc
mov eax, 0x38
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xd8]
xor ecx, esp
call fcn.0047db8e
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x1c]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xd8]
xor ecx, esp
call fcn.0047db8e
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x1b]
add dword [edi + 0x5c], eax
mov eax, dword [esi + 0x27c]
push ecx
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], edx
push ecx
mov eax, dword [eax + 0x34]
push esi
push ebx
call eax
add esp, 0x10
test eax, eax
jne 0x442b66
cmp byte [esp + 0x1b], al
je 0x442b3a
or dword [edi + 0xe8], 1
mov eax, dword [edi + 0xe8]
and al, 3
cmp al, 2
jne 0x442b64
cmp byte [esi + 0x251], 0
je 0x442b64
push str.we_are_done_reading_and_this_is_set_to_close__stop_send_n
push ebx
call fcn.0043d920
add esp, 8
and dword [edi + 0xe8], 0xfffffffd
xor eax, eax
mov ecx, dword [esp + 0xe4]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0047db8e
mov esp, ebp
pop ebp
ret