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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd8
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
push ebx
mov dword [ebp - 0xd4], eax
mov ebx, ecx
mov eax, dword [ebp + 0x10]
push esi
mov esi, edx
mov dword [ebp - 0xcc], eax
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0xd0], esi
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0xc4], 0
mov byte [ebp - 0xae], 0
mov byte [eax], 0
mov eax, dword [ebx + 0x290]
mov ecx, 0x4000
mov edx, dword [edi]
test eax, eax
cmovne ecx, eax
mov eax, dword [edi + 4]
mov dword [ebp - 0xc0], eax
mov eax, edx
and eax, dword [edi + 4]
cmp eax, 0xffffffff
je 0x10014506
cmp byte [edi + 0x48], 0
jne 0x10014506
sub edx, dword [edi + 0x20]
mov eax, dword [ebp - 0xc0]
sbb eax, dword [edi + 0x24]
test eax, eax
jg 0x10014506
jl 0x10014504
cmp edx, ecx
jae 0x10014506
mov ecx, edx
test ecx, ecx
je 0x10014547
mov edx, dword [esi + 0x1f8]
lea eax, [ebp - 0xb4]
push eax
push ecx
push dword [edi + 0x9c]
mov ecx, esi
call fcn.10011440
add esp, 0xc
mov dword [ebp - 0xbc], eax
cmp eax, 0x51
je 0x10014e46
test eax, eax
jg 0x10014e72
mov ecx, dword [ebp - 0xb4]
jmp 0x1001454f
xor ecx, ecx
mov dword [ebp - 0xb4], ecx
mov eax, dword [edi + 0x20]
or eax, dword [edi + 0x24]
jne 0x100145fd
mov eax, dword [edi + 0x28]
or eax, dword [edi + 0x2c]
jne 0x100145fd
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 + 0x4ac]
imul eax, esi, 0x3e8
mov esi, dword [ebx + 0x4a8]
sub eax, ecx
movd xmm1, eax
cvtdq2pd xmm1, xmm1
divsd xmm1, qword [0x1005c548]
cmp edx, esi
je 0x100145b7
sub edx, esi
movd xmm0, edx
cvtdq2pd xmm0, xmm0
addsd xmm1, xmm0
movsd qword [ebx + 0x490], xmm1
cmp dword [edi + 0x84], 0
jle 0x100145f1
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 [ebp - 0xd0]
mov ecx, dword [ebp - 0xb4]
mov eax, dword [ebp - 0xd4]
or dword [eax], 1
test ecx, ecx
jne 0x10014617
cmp dword [edi + 0x98], ecx
jne 0x10014617
lea eax, [ecx + 1]
jmp 0x10014619
xor eax, eax
test eax, eax
setne al
mov byte [ebp - 0xad], al
test ecx, ecx
jg 0x10014630
test al, al
je 0x10014c84
mov eax, dword [edi + 0x9c]
mov byte [ecx + eax], 0
mov eax, dword [edi + 0x9c]
mov dword [edi + 0x5c], eax
mov eax, dword [esi + 0x1ec]
mov eax, dword [eax + 0x34]
test eax, eax
je 0x1001467f
lea ecx, [ebp - 0xae]
push ecx
lea ecx, [ebp - 0xb4]
push ecx
push esi
push ebx
call eax
add esp, 0x10
mov dword [ebp - 0xbc], eax
test eax, eax
jne 0x10014e72
cmp byte [ebp - 0xae], al
jne 0x10014e46
cmp byte [edi + 0x48], 0
je 0x1001471a
lea eax, [ebp - 0xb5]
mov byte [ebp - 0xb5], 0
push eax
lea eax, [ebp - 0xb4]
mov edx, esi
push eax
mov ecx, ebx
call fcn.10019bb0
mov ecx, eax
add esp, 8
mov dword [ebp - 0xbc], ecx
test ecx, ecx
jne 0x10014cf2
mov eax, dword [esi + 0x1ec]
mov eax, dword [eax + 0x34]
test eax, eax
je 0x1001470d
cmp dword [edi + 0x14], ecx
jg 0x1001470d
jl 0x100146d3
cmp dword [edi + 0x10], ecx
ja 0x1001470d
cmp dword [ebp - 0xb4], 0
jle 0x1001470d
lea ecx, [ebp - 0xae]
push ecx
lea ecx, [ebp - 0xb4]
push ecx
push esi
push ebx
call eax
mov ecx, eax
mov dword [ebp - 0xbc], eax
add esp, 0x10
test ecx, ecx
jne 0x10014cf2
cmp byte [ebp - 0xae], al
jne 0x10014e46
cmp byte [ebp - 0xb5], 0
jne 0x10014c90
cmp dword [edi + 0x5c], 0
mov cl, byte [ebp - 0xad]
je 0x10014c41
cmp byte [edi + 0x48], 0
jne 0x10014c41
cmp dword [ebp - 0xb4], 0
jg 0x10014745
test cl, cl
je 0x10014c41
cmp dword [edi + 0x98], 0
jne 0x100147f1
test cl, cl
jne 0x100147f1
mov eax, dword [esi + 0x1ec]
test dword [eax + 0x3c], 0x40003
je 0x100147f1
cmp dword [ebx + 0x104], 0
je 0x10014797
cmp byte [esi + 0x1c0], cl
jne 0x10014d2f
push str.Ignoring_the_response_body_n
push ebx
mov byte [edi + 0xad], 1
call fcn.10010cc0
add esp, 8
mov eax, dword [ebx + 0x8630]
or eax, dword [ebx + 0x8634]
je 0x100147c1
cmp byte [edi + 0x6c], 0
jne 0x100147c1
cmp dword [ebx + 0x248], 1
jne 0x100147c1
cmp byte [edi + 0xad], 0
je 0x10014d05
cmp dword [ebx + 0x238], 0
je 0x100147f1
cmp dword [ebx + 0x862c], 0
jne 0x100147f1
push dword [edi + 0x94]
mov ecx, ebx
push dword [edi + 0x90]
call fcn.100143f0
add esp, 8
test al, al
je 0x10014d76
inc dword [edi + 0x98]
cmp byte [ebx + 0x2d0], 0
je 0x100149b7
cmp dword [edi + 0x4c], 0
je 0x1001491a
cmp byte [ebx + 0x2b8], 0
mov ecx, dword [edi + 0x58]
mov edx, dword [ebx + 0x53c]
mov dword [ebp - 0xc0], ecx
mov dword [ebp - 0xc8], edx
je 0x10014890
mov eax, dword [esi + 0x9c]
test eax, eax
je 0x10014890
push eax
push str.from
push str.Data
push str.__s__s__s_
lea eax, [ebp - 0xac]
push 0xa0
push eax
call fcn.1001e160
lea ecx, [ebp - 0xac]
add esp, 0x18
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10014863
sub ecx, edx
lea eax, [ebp - 0xac]
push ecx
push eax
xor edx, edx
mov ecx, ebx
call fcn.10011560
add esp, 8
test eax, eax
jne 0x100148aa
mov ecx, dword [ebp - 0xc0]
mov edx, dword [ebp - 0xc8]
mov eax, dword [ebx + 0x190]
test eax, eax
je 0x100148aa
push dword [ebx + 0x11c]
push ecx
push edx
push 3
push ebx
call eax
add esp, 0x14
cmp dword [edi + 0x4c], 1
jne 0x100149b7
cmp byte [ebx + 0x2b8], 0
mov ecx, dword [ebp - 0xb4]
mov edx, dword [edi + 0x5c]
mov dword [ebp - 0xc8], ecx
mov dword [ebp - 0xc0], edx
je 0x1001499d
mov eax, dword [esi + 0x9c]
test eax, eax
je 0x1001499d
push eax
push str.from
push str.Data
push str.__s__s__s_
lea eax, [ebp - 0xac]
push 0xa0
push eax
call fcn.1001e160
lea ecx, [ebp - 0xac]
add esp, 0x18
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10014911
jmp 0x10014977
cmp byte [ebx + 0x2b8], 0
mov ecx, dword [ebp - 0xb4]
mov edx, dword [edi + 0x5c]
mov dword [ebp - 0xc8], ecx
mov dword [ebp - 0xc0], edx
je 0x1001499d
mov eax, dword [esi + 0x9c]
test eax, eax
je 0x1001499d
push eax
push str.from
push str.Data
push str.__s__s__s_
lea eax, [ebp - 0xac]
push 0xa0
push eax
call fcn.1001e160
lea ecx, [ebp - 0xac]
add esp, 0x18
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10014970
sub ecx, edx
lea eax, [ebp - 0xac]
push ecx
push eax
xor edx, edx
mov ecx, ebx
call fcn.10011560
add esp, 8
test eax, eax
jne 0x100149b7
mov ecx, dword [ebp - 0xc8]
mov edx, dword [ebp - 0xc0]
mov eax, dword [ebx + 0x190]
test eax, eax
je 0x100149b7
push dword [ebx + 0x11c]
push ecx
push edx
push 3
push ebx
call eax
add esp, 0x14
cmp byte [edi + 0xc0], 0
je 0x10014a45
mov edx, dword [edi + 0x5c]
lea eax, [ebp - 0xb4]
push eax
push dword [ebp - 0xb4]
mov ecx, esi
call fcn.10032f10
add esp, 8
test eax, eax
jg 0x10014db1
cmp eax, 0xffffffff
jne 0x10014a45
and dword [edi + 0xa8], 0xfffffffe
mov eax, dword [esi + 0x30]
mov dword [ebp - 0xc0], eax
test eax, eax
je 0x10014a45
push eax
push str.Leftovers_after_chunking:__zu_bytes_n
push dword [esi]
call fcn.10010cc0
mov ecx, dword [esi]
add esp, 0xc
mov eax, dword [ecx + 0x40]
test eax, eax
je 0x10014a45
cmp byte [eax + 0x30], 0
je 0x10014a45
push dword [ebp - 0xc0]
push str.Rewinding__zu_bytes_n
push ecx
call fcn.10010cc0
mov eax, dword [ebp - 0xc0]
add esp, 0xc
sub dword [esi + 0x23c], eax
mov byte [esi + 0x1d5], 1
cmp dword [edi + 0x4c], 0
je 0x10014a5e
cmp byte [edi + 0xad], 0
jne 0x10014a5e
mov eax, dword [edi + 0x58]
add dword [edi + 0x20], eax
adc dword [edi + 0x24], 0
mov ecx, dword [edi + 0x10]
cmp ecx, 0xffffffff
jne 0x10014a6f
cmp dword [edi + 0x14], ecx
je 0x10014b3a
mov eax, dword [ebp - 0xb4]
cdq
add eax, dword [edi + 0x20]
adc edx, dword [edi + 0x24]
cmp edx, dword [edi + 0x14]
jl 0x10014b3a
jg 0x10014a8f
cmp eax, ecx
jb 0x10014b3a
mov edx, dword [ebp - 0xb4]
mov eax, edx
sub eax, dword [edi + 0x10]
add eax, dword [edi + 0x20]
mov dword [ebp - 0xc4], eax
je 0x10014b1f
cmp byte [edi + 0xad], 0
jne 0x10014b1f
mov eax, dword [esi]
mov eax, dword [eax + 0x40]
test eax, eax
je 0x10014afc
cmp byte [eax + 0x30], 0
je 0x10014afc
push edx
push dword [edi + 0x24]
push dword [edi + 0x20]
push dword [edi + 0x14]
push ecx
push dword [edi + 4]
push dword [edi]
push dword [ebx + 0x8624]
push dword [ebp - 0xc4]
push str.Rewinding_stream_by_:__zu_bytes_on_url__s__size___I64d__maxdownload___I64d__bytecount___I64d__nread___zd__n
push ebx
call fcn.10010cc0
mov eax, dword [ebp - 0xc4]
add esp, 0x2c
sub dword [esi + 0x23c], eax
mov byte [esi + 0x1d5], 1
jmp 0x10014b1f
push dword [edi + 0x24]
push dword [edi + 0x20]
push dword [edi + 0x14]
push ecx
push dword [edi + 4]
push dword [edi]
push dword [ebp - 0xc4]
push str.Excess_found_in_a_non_pipelined_read:_excess___zu__size___I64d__maxdownload___I64d__bytecount___I64d_n
push ebx
call fcn.10010cc0
add esp, 0x24
mov eax, dword [edi + 0x10]
mov ecx, 0
sub eax, dword [edi + 0x20]
cmovs eax, ecx
and dword [edi + 0xa8], 0xfffffffe
mov dword [ebp - 0xb4], eax
mov ecx, dword [ebp - 0xb4]
mov eax, ecx
cdq
add dword [edi + 0x20], eax
mov eax, dword [edi + 0x20]
adc dword [edi + 0x24], edx
mov dword [ebx + 0x430], eax
mov eax, dword [edi + 0x24]
mov dword [ebx + 0x434], eax
cmp byte [edi + 0xc0], 0
jne 0x10014c3b
test ecx, ecx
jne 0x10014b7f
cmp dword [edi + 0x4c], ecx
jne 0x10014b85
mov cl, byte [ebp - 0xad]
test cl, cl
je 0x10014c41
cmp dword [edi + 0x4c], 0
je 0x10014bd5
cmp byte [edi + 0xad], 0
jne 0x10014bd5
mov edx, dword [edi + 0x10]
mov eax, edx
mov ecx, dword [edi + 0x14]
and eax, ecx
cmp eax, 0xffffffff
je 0x10014baf
xor eax, eax
cmp eax, ecx
jl 0x10014baf
jg 0x10014baa
cmp dword [edi + 0x58], edx
jbe 0x10014baf
push dword [edi + 0x10]
jmp 0x10014bb2
push dword [edi + 0x58]
push dword [ebx + 0x53c]
mov edx, 1
mov ecx, esi
call fcn.10011290
add esp, 8
mov dword [ebp - 0xbc], eax
test eax, eax
jne 0x10014e72
cmp dword [edi + 0x4c], 2
jge 0x10014c26
cmp byte [edi + 0xad], 0
jne 0x10014c26
mov eax, dword [esi + 0x1ec]
mov ecx, esi
push dword [ebp - 0xb4]
test dword [eax + 0x3c], 0xc000
je 0x10014c0e
mov edx, dword [edi + 0x5c]
call fcn.10024980
add esp, 4
mov dword [ebp - 0xbc], eax
jmp 0x10014c2c
push dword [edi + 0x5c]
mov edx, 1
call fcn.10011290
add esp, 8
mov dword [ebp - 0xbc], eax
jmp 0x10014c2c
mov eax, dword [ebp - 0xbc]
mov dword [edi + 0x4c], 0
test eax, eax
jne 0x10014e72
mov cl, byte [ebp - 0xad]
mov eax, dword [esi + 0x1ec]
cmp dword [eax + 0x34], 0
je 0x10014c64
mov edx, dword [ebp - 0xc4]
test edx, edx
je 0x10014c64
cmp byte [esi + 0x1d5], 0
je 0x10014e06
test cl, cl
je 0x10014c6f
and dword [edi + 0xa8], 0xfffffffe
mov eax, dword [esi + 0x1ec]
test byte [eax + 0x3c], 0x30
jne 0x100144c3
jmp 0x10014e46
and dword [edi + 0xa8], 0xfffffffe
jmp 0x10014e46
mov edx, dword [ebp - 0xb4]
test edx, edx
jle 0x10014e46
mov ecx, dword [esi]
mov ecx, dword [ecx + 0x40]
call fcn.10005a50
push dword [ebx + 0x8624]
test al, al
je 0x10014cd9
push edx
push str.Rewinding_stream_by_:__zd_bytes_on_url__s__zero_length_body__n
push ebx
call fcn.10010cc0
mov eax, dword [ebp - 0xb4]
add esp, 0x10
sub dword [esi + 0x23c], eax
mov byte [esi + 0x1d5], 1
jmp 0x10014e46
push dword [ebp - 0xb4]
push str.Excess_found_in_a_non_pipelined_read:_excess___zd_url___s__zero_length_body__n
push ebx
call fcn.10010cc0
add esp, 0x10
jmp 0x10014e46
mov eax, ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.100370be
mov esp, ebp
pop ebp
ret
mov eax, dword [edi]
cmp eax, dword [ebx + 0x8630]
jne 0x10014d52
mov eax, dword [edi + 4]
cmp eax, dword [ebx + 0x8634]
jne 0x10014d52
push str.The_entire_document_is_already_downloaded
push ebx
call fcn.10010cc0
add esp, 8
mov byte [esi + 0x1c0], 1
mov eax, dword [ebp - 0xcc]
and dword [edi + 0xa8], 0xfffffffe
mov byte [eax], 1
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.100370be
mov esp, ebp
pop ebp
ret
push str.HTTP_server_doesnt_seem_to_support_byte_ranges._Cannot_resume.
push ebx
call fcn.10010d80
add esp, 8
mov eax, 0x21
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.100370be
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0xcc]
push str.Simulate_a_HTTP_304_response__n
push ebx
mov byte [eax], 1
mov dword [ebx + 0x866c], 0x130
call fcn.10010cc0
add esp, 8
mov byte [esi + 0x1c0], 1
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.100370be
mov esp, ebp
pop ebp
ret
cmp eax, 4
jne 0x10014dda
push str.Failed_writing_data
push ebx
call fcn.10010d80
add esp, 8
mov eax, 0x17
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.100370be
mov esp, ebp
pop ebp
ret
mov ecx, eax
call fcn.10033370
push eax
push str._s_in_chunked_encoding
push ebx
call fcn.10010d80
add esp, 0xc
mov eax, 0x38
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.100370be
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0xb4]
lea ecx, [ebp - 0xae]
add dword [edi + 0x5c], eax
mov eax, dword [esi + 0x1ec]
push ecx
lea ecx, [ebp - 0xb4]
mov dword [ebp - 0xb4], edx
push ecx
mov eax, dword [eax + 0x34]
push esi
push ebx
call eax
add esp, 0x10
test eax, eax
jne 0x10014e72
cmp byte [ebp - 0xae], al
je 0x10014e46
or dword [edi + 0xa8], 1
mov eax, dword [edi + 0xa8]
and al, 3
cmp al, 2
jne 0x10014e70
cmp byte [esi + 0x1c0], 0
je 0x10014e70
push str.we_are_done_reading_and_this_is_set_to_close__stop_send_n
push ebx
call fcn.10010cc0
add esp, 8
and dword [edi + 0xa8], 0xfffffffd
xor eax, eax
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100370be
mov esp, ebp
pop ebp
ret