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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xdc
mov eax, dword [0x102683e0]
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 0x100c1c30
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 0x100c1c6f
cmp byte [edi + 0x48], 0
jne 0x100c1c6f
sub edx, dword [edi + 0x20]
mov eax, dword [esp + 0x24]
sbb eax, dword [edi + 0x24]
test eax, eax
jg 0x100c1c6f
jl 0x100c1c6d
cmp edx, ecx
jae 0x100c1c6f
mov ecx, edx
test ecx, ecx
je 0x100c1caa
mov edx, dword [esi + 0x288]
lea eax, [esp + 0x14]
push eax
push ecx
push dword [edi + 0xdc]
mov ecx, esi
call fcn.100bcef0
add esp, 0xc
mov dword [esp + 0x1c], eax
cmp eax, 0x51
je 0x100c25df
test eax, eax
jg 0x100c260b
mov ecx, dword [esp + 0x14]
jmp 0x100c1cb0
xor ecx, ecx
mov dword [esp + 0x14], ecx
mov eax, dword [edi + 0x20]
or eax, dword [edi + 0x24]
jne 0x100c1d5a
mov eax, dword [edi + 0x28]
or eax, dword [edi + 0x2c]
jne 0x100c1d5a
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 [0x1023a570]
cmp edx, esi
je 0x100c1d18
sub edx, esi
movd xmm0, edx
cvtdq2pd xmm0, xmm0
addsd xmm1, xmm0
movsd qword [ebx + 0x4f0], xmm1
cmp dword [edi + 0x84], 0
jle 0x100c1d52
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 0x100c1d72
cmp dword [edi + 0xd8], ecx
jne 0x100c1d72
lea eax, [ecx + 1]
jmp 0x100c1d74
xor eax, eax
test eax, eax
setne al
mov byte [esp + 0x13], al
test ecx, ecx
jg 0x100c1d89
test al, al
je 0x100c23fd
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 0x100c1dd0
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 0x100c260b
cmp byte [esp + 0x1b], al
jne 0x100c25df
cmp byte [edi + 0x48], 0
je 0x100c1e53
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.100c79c0
mov ecx, eax
add esp, 8
mov dword [esp + 0x1c], ecx
test ecx, ecx
jne 0x100c2468
mov eax, dword [esi + 0x27c]
mov eax, dword [eax + 0x34]
test eax, eax
je 0x100c1e48
cmp dword [edi + 0x14], ecx
jg 0x100c1e48
jl 0x100c1e18
cmp dword [edi + 0x10], ecx
ja 0x100c1e48
cmp dword [esp + 0x14], 0
jle 0x100c1e48
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 0x100c2468
cmp byte [esp + 0x1b], al
jne 0x100c25df
cmp byte [esp + 0x23], 0
jne 0x100c2409
cmp dword [edi + 0x5c], 0
mov cl, byte [esp + 0x13]
je 0x100c23aa
cmp byte [edi + 0x48], 0
jne 0x100c23aa
cmp dword [esp + 0x14], 0
jg 0x100c1e7a
test cl, cl
je 0x100c23aa
cmp dword [edi + 0xd8], 0
jne 0x100c1f26
test cl, cl
jne 0x100c1f26
mov eax, dword [esi + 0x27c]
test dword [eax + 0x3c], 0x40003
je 0x100c1f26
cmp dword [ebx + 0x144], 0
je 0x100c1ecc
cmp byte [esi + 0x251], cl
jne 0x100c24a9
push str.Ignoring_the_response_body_n
push ebx
mov byte [edi + 0xed], 1
call fcn.100bc730
add esp, 8
mov eax, dword [ebx + 0x86d8]
or eax, dword [ebx + 0x86dc]
je 0x100c1ef6
cmp byte [edi + 0x6c], 0
jne 0x100c1ef6
cmp dword [ebx + 0x288], 1
jne 0x100c1ef6
cmp byte [edi + 0xed], 0
je 0x100c247f
cmp dword [ebx + 0x278], 0
je 0x100c1f26
cmp dword [ebx + 0x86d4], 0
jne 0x100c1f26
push dword [edi + 0xd4]
mov ecx, ebx
push dword [edi + 0xd0]
call fcn.100c1b50
add esp, 8
test al, al
je 0x100c24f6
inc dword [edi + 0xd8]
cmp byte [ebx + 0x310], 0
je 0x100c20c5
cmp dword [edi + 0x4c], 0
je 0x100c2039
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 0x100c1fb7
mov eax, dword [esi + 0x9c]
test eax, eax
je 0x100c1fb7
push eax
push str.from
push str.Data
push str.__s__s__s_
lea eax, [esp + 0x50]
push 0xa0
push eax
call fcn.100caac0
lea ecx, [esp + 0x58]
add esp, 0x18
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100c1f90
sub ecx, edx
lea eax, [esp + 0x40]
push ecx
push eax
xor edx, edx
mov ecx, ebx
call fcn.100bd020
add esp, 8
test eax, eax
jne 0x100c1fd1
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov eax, dword [ebx + 0x1d0]
test eax, eax
je 0x100c1fd1
push dword [ebx + 0x15c]
push ecx
push edx
push 3
push ebx
call eax
add esp, 0x14
cmp dword [edi + 0x4c], 1
jne 0x100c20c5
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 0x100c20ab
mov eax, dword [esi + 0x9c]
test eax, eax
je 0x100c20ab
push eax
push str.from
push str.Data
push str.__s__s__s_
lea eax, [esp + 0x50]
push 0xa0
push eax
call fcn.100caac0
lea ecx, [esp + 0x58]
add esp, 0x18
lea edx, [ecx + 1]
mov edi, edi
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100c2030
jmp 0x100c208b
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 0x100c20ab
mov eax, dword [esi + 0x9c]
test eax, eax
je 0x100c20ab
push eax
push str.from
push str.Data
push str.__s__s__s_
lea eax, [esp + 0x50]
push 0xa0
push eax
call fcn.100caac0
lea ecx, [esp + 0x58]
add esp, 0x18
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100c2084
sub ecx, edx
lea eax, [esp + 0x40]
push ecx
push eax
xor edx, edx
mov ecx, ebx
call fcn.100bd020
add esp, 8
test eax, eax
jne 0x100c20c5
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
mov eax, dword [ebx + 0x1d0]
test eax, eax
je 0x100c20c5
push dword [ebx + 0x15c]
push ecx
push edx
push 3
push ebx
call eax
add esp, 0x14
cmp byte [edi + 0x100], 0
je 0x100c2145
mov edx, dword [edi + 0x5c]
lea eax, [esp + 0x14]
push eax
push dword [esp + 0x18]
mov ecx, esi
call fcn.100d2510
add esp, 8
test eax, eax
jg 0x100c2533
cmp eax, 0xffffffff
jne 0x100c2145
and dword [edi + 0xe8], 0xfffffffe
mov eax, dword [esi + 0x30]
mov dword [esp + 0x24], eax
test eax, eax
je 0x100c2145
push eax
push str.Leftovers_after_chunking:__zu_bytes_n
push dword [esi]
call fcn.100bc730
mov ecx, dword [esi]
add esp, 0xc
mov eax, dword [ecx + 0x40]
test eax, eax
je 0x100c2145
test byte [eax + 0x60], 1
je 0x100c2145
push dword [esp + 0x24]
push str.Rewinding__zu_bytes_n
push ecx
call fcn.100bc730
mov eax, dword [esp + 0x30]
add esp, 0xc
sub dword [esi + 0x2fc], eax
mov byte [esi + 0x265], 1
cmp dword [edi + 0x4c], 0
je 0x100c215e
cmp byte [edi + 0xed], 0
jne 0x100c215e
mov eax, dword [edi + 0x58]
add dword [edi + 0x20], eax
adc dword [edi + 0x24], 0
mov ecx, dword [edi + 0x10]
cmp ecx, 0xffffffff
jne 0x100c216f
cmp dword [edi + 0x14], ecx
je 0x100c222c
mov eax, dword [esp + 0x14]
cdq
add eax, dword [edi + 0x20]
adc edx, dword [edi + 0x24]
cmp edx, dword [edi + 0x14]
jl 0x100c222c
jg 0x100c218d
cmp eax, ecx
jb 0x100c222c
mov ecx, dword [esp + 0x14]
mov edx, ecx
sub edx, dword [edi + 0x10]
add edx, dword [edi + 0x20]
mov dword [esp + 0x30], edx
je 0x100c2213
cmp byte [edi + 0xed], 0
jne 0x100c2213
mov eax, dword [esi]
mov eax, dword [eax + 0x40]
test eax, eax
je 0x100c21f2
test byte [eax + 0x60], 1
je 0x100c21f2
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.100bc730
mov eax, dword [esp + 0x5c]
add esp, 0x2c
sub dword [esi + 0x2fc], eax
mov byte [esi + 0x265], 1
jmp 0x100c2213
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.100bc730
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 0x100c23a6
test ecx, ecx
jne 0x100c226d
cmp dword [edi + 0x4c], ecx
jne 0x100c2273
mov cl, byte [esp + 0x13]
test cl, cl
je 0x100c23aa
cmp dword [edi + 0x4c], 0
je 0x100c22ed
cmp byte [edi + 0xed], 0
jne 0x100c22ed
mov edx, dword [edi + 0x10]
mov eax, edx
mov ecx, dword [edi + 0x14]
and eax, ecx
cmp eax, 0xffffffff
je 0x100c22af
xor eax, eax
cmp eax, ecx
jl 0x100c22af
jg 0x100c2298
cmp dword [edi + 0x58], edx
jbe 0x100c22af
push dword [edi + 0x10]
mov edx, 1
mov ecx, esi
push dword [ebx + 0x59c]
call fcn.100bcea0
jmp 0x100c22de
mov ecx, dword [edi + 0x58]
mov edx, dword [ebx + 0x59c]
test ecx, ecx
jne 0x100c22d0
mov ecx, edx
lea eax, [ecx + 1]
mov dword [esp + 0x28], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100c22c5
sub ecx, dword [esp + 0x28]
push ecx
push edx
mov edx, 1
mov ecx, esi
call fcn.100bccd0
add esp, 8
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x100c260b
cmp dword [edi + 0x4c], 2
jge 0x100c2393
mov eax, dword [esi]
cmp byte [eax + 0x331], 0
je 0x100c2306
xor eax, eax
jmp 0x100c230c
mov eax, dword [edi + 0x8c]
sub eax, 0
je 0x100c236e
dec eax
je 0x100c234f
dec eax
je 0x100c2330
push str.Unrecognized_content_encoding_type._libcurl_understands__identity___deflate_and__gzip_content_encodings.
push ebx
call fcn.100bc7f0
mov eax, 0x3d
add esp, 8
mov dword [esp + 0x1c], eax
jmp 0x100c2397
cmp byte [edi + 0xed], 0
jne 0x100c2393
push dword [esp + 0x14]
mov edx, edi
mov ecx, esi
call fcn.100d2ea0
add esp, 4
mov dword [esp + 0x1c], eax
jmp 0x100c2397
cmp byte [edi + 0xed], 0
jne 0x100c2393
push dword [esp + 0x14]
mov edx, edi
mov ecx, esi
call fcn.100d2cf0
add esp, 4
mov dword [esp + 0x1c], eax
jmp 0x100c2397
cmp byte [edi + 0xed], 0
jne 0x100c2393
push dword [esp + 0x14]
mov edx, 1
mov ecx, esi
push dword [edi + 0x5c]
call fcn.100bcea0
add esp, 8
mov dword [esp + 0x1c], eax
jmp 0x100c2397
mov eax, dword [esp + 0x1c]
mov dword [edi + 0x4c], 0
test eax, eax
jne 0x100c2590
mov cl, byte [esp + 0x13]
mov eax, dword [esi + 0x27c]
cmp dword [eax + 0x34], 0
je 0x100c23cb
mov edx, dword [esp + 0x30]
test edx, edx
je 0x100c23cb
cmp byte [esi + 0x265], 0
je 0x100c25a9
test cl, cl
je 0x100c23d6
and dword [edi + 0xe8], 0xfffffffe
mov ecx, esi
call fcn.100c1af0
test eax, eax
je 0x100c25df
mov ecx, dword [esp + 0x34]
mov eax, ecx
dec ecx
mov dword [esp + 0x34], ecx
test eax, eax
jne 0x100c1c30
jmp 0x100c25df
and dword [edi + 0xe8], 0xfffffffe
jmp 0x100c25df
cmp dword [esp + 0x14], 0
jle 0x100c25df
mov ecx, dword [esi]
mov edx, 1
mov ecx, dword [ecx + 0x40]
call fcn.100aec90
push dword [ebx + 0x86cc]
push dword [esp + 0x18]
test al, al
je 0x100c2455
push str.Rewinding_stream_by_:__zd_bytes_on_url__s__zero_length_body__n
push ebx
call fcn.100bc730
mov eax, dword [esp + 0x24]
add esp, 0x10
sub dword [esi + 0x2fc], eax
mov byte [esi + 0x265], 1
jmp 0x100c25df
push str.Excess_found_in_a_non_pipelined_read:_excess___zd_url___s__zero_length_body__n
push ebx
call fcn.100bc730
add esp, 0x10
jmp 0x100c25df
mov eax, ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xd8]
xor ecx, esp
call fcn.101a0193
mov esp, ebp
pop ebp
ret
mov eax, dword [edi]
cmp eax, dword [ebx + 0x86d8]
jne 0x100c24ce
mov eax, dword [edi + 4]
cmp eax, dword [ebx + 0x86dc]
jne 0x100c24ce
push str.The_entire_document_is_already_downloaded
push ebx
call fcn.100bc730
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.101a0193
mov esp, ebp
pop ebp
ret
push str.HTTP_server_doesnt_seem_to_support_byte_ranges._Cannot_resume.
push ebx
call fcn.100bc7f0
add esp, 8
mov eax, 0x21
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xd8]
xor ecx, esp
call fcn.101a0193
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.100bc730
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.101a0193
mov esp, ebp
pop ebp
ret
cmp eax, 4
jne 0x100c2560
push str.Failed_writing_data
push ebx
call fcn.100bc7f0
add esp, 8
mov eax, 0x17
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xd8]
xor ecx, esp
call fcn.101a0193
mov esp, ebp
pop ebp
ret
mov ecx, eax
call fcn.100d2a20
push eax
push str._s_in_chunked_encoding
push ebx
call fcn.100bc7f0
add esp, 0xc
mov eax, 0x38
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xd8]
xor ecx, esp
call fcn.101a0193
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.101a0193
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 0x100c260b
cmp byte [esp + 0x1b], al
je 0x100c25df
or dword [edi + 0xe8], 1
mov eax, dword [edi + 0xe8]
and al, 3
cmp al, 2
jne 0x100c2609
cmp byte [esi + 0x251], 0
je 0x100c2609
push str.we_are_done_reading_and_this_is_set_to_close__stop_send_n
push ebx
call fcn.100bc730
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.101a0193
mov esp, ebp
pop ebp
ret