Function at 0x446f90
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 - 0xd8], eax
mov ebx, ecx
mov eax, dword [ebp + 0x10]
push esi
mov esi, edx
mov dword [ebp - 0xd0], eax
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0xbc], esi
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xd4], 0
mov byte [ebp - 0xad], 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 - 0xc8], eax
mov eax, edx
and eax, dword [edi + 4]
cmp eax, 0xffffffff
je 0x447026
cmp byte [edi + 0x48], 0
jne 0x447026
sub edx, dword [edi + 0x20]
mov eax, dword [ebp - 0xc8]
sbb eax, dword [edi + 0x24]
test eax, eax
jg 0x447026
jl 0x447024
cmp edx, ecx
jae 0x447026
mov ecx, edx
test ecx, ecx
je 0x447067
mov edx, dword [esi + 0x1f8]
lea eax, [ebp - 0xb4]
push eax
push ecx
push dword [edi + 0x9c]
mov ecx, esi
call fcn.00443f50
add esp, 0xc
mov dword [ebp - 0xc4], eax
cmp eax, 0x51
je 0x4479f9
test eax, eax
jg 0x447a2b
mov ecx, dword [ebp - 0xb4]
jmp 0x44706f
xor ecx, ecx
mov dword [ebp - 0xb4], ecx
mov eax, dword [edi + 0x20]
or eax, dword [edi + 0x24]
jne 0x44711d
mov eax, dword [edi + 0x28]
or eax, dword [edi + 0x2c]
jne 0x44711d
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 [0x4f6cd8]
cmp edx, esi
je 0x4470d7
sub edx, esi
movd xmm0, edx
cvtdq2pd xmm0, xmm0
addsd xmm1, xmm0
movsd qword [ebx + 0x490], xmm1
cmp dword [edi + 0x84], 0
jle 0x447111
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 - 0xbc]
mov ecx, dword [ebp - 0xb4]
mov eax, dword [ebp - 0xd8]
or dword [eax], 1
test ecx, ecx
jne 0x447137
cmp dword [edi + 0x98], ecx
jne 0x447137
lea eax, [ecx + 1]
jmp 0x447139
xor eax, eax
test eax, eax
setne al
mov byte [ebp - 0xb5], al
test ecx, ecx
jg 0x447150
test al, al
je 0x447826
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 0x44719f
lea ecx, [ebp - 0xad]
push ecx
lea ecx, [ebp - 0xb4]
push ecx
push esi
push ebx
call eax
add esp, 0x10
mov dword [ebp - 0xc4], eax
test eax, eax
jne 0x447a2b
cmp byte [ebp - 0xad], al
jne 0x4479f9
cmp byte [edi + 0x48], 0
je 0x44723a
lea eax, [ebp - 0xbd]
mov byte [ebp - 0xbd], 0
push eax
lea eax, [ebp - 0xb4]
mov edx, esi
push eax
mov ecx, ebx
call fcn.0044c8c0
mov ecx, eax
add esp, 8
mov dword [ebp - 0xc4], ecx
test ecx, ecx
jne 0x4478a5
mov eax, dword [esi + 0x1ec]
mov eax, dword [eax + 0x34]
test eax, eax
je 0x44722d
cmp dword [edi + 0x14], ecx
jg 0x44722d
jl 0x4471f3
cmp dword [edi + 0x10], ecx
ja 0x44722d
cmp dword [ebp - 0xb4], 0
jle 0x44722d
lea ecx, [ebp - 0xad]
push ecx
lea ecx, [ebp - 0xb4]
push ecx
push esi
push ebx
call eax
mov ecx, eax
mov dword [ebp - 0xc4], eax
add esp, 0x10
test ecx, ecx
jne 0x4478a5
cmp byte [ebp - 0xad], al
jne 0x4479f9
cmp byte [ebp - 0xbd], 0
jne 0x447832
cmp dword [edi + 0x5c], 0
mov cl, byte [ebp - 0xb5]
je 0x4477e3
cmp byte [edi + 0x48], 0
jne 0x4477e3
cmp dword [ebp - 0xb4], 0
jg 0x447265
test cl, cl
je 0x4477e3
cmp dword [edi + 0x98], 0
jne 0x447311
test cl, cl
jne 0x447311
mov eax, dword [esi + 0x1ec]
test dword [eax + 0x3c], 0x40003
je 0x447311
cmp dword [ebx + 0x104], 0
je 0x4472b7
cmp byte [esi + 0x1c0], cl
jne 0x4478e2
push str.Ignoring_the_response_body_n
push ebx
mov byte [edi + 0xad], 1
call fcn.00443730
add esp, 8
mov eax, dword [ebx + 0x8630]
or eax, dword [ebx + 0x8634]
je 0x4472e1
cmp byte [edi + 0x6c], 0
jne 0x4472e1
cmp dword [ebx + 0x248], 1
jne 0x4472e1
cmp byte [edi + 0xad], 0
je 0x4478b8
cmp dword [ebx + 0x238], 0
je 0x447311
cmp dword [ebx + 0x862c], 0
jne 0x447311
push dword [edi + 0x94]
mov ecx, ebx
push dword [edi + 0x90]
call fcn.00446f10
add esp, 8
test al, al
je 0x447929
inc dword [edi + 0x98]
cmp byte [ebx + 0x2d0], 0
je 0x4474d7
cmp dword [edi + 0x4c], 0
je 0x44743a
cmp byte [ebx + 0x2b8], 0
mov ecx, dword [edi + 0x58]
mov edx, dword [ebx + 0x53c]
mov dword [ebp - 0xc8], ecx
mov dword [ebp - 0xcc], edx
je 0x4473b0
mov eax, dword [esi + 0x9c]
test eax, eax
je 0x4473b0
push eax
push str.from
push str.Data
push str.__s__s__s_
lea eax, [ebp - 0xac]
push 0xa0
push eax
call fcn.004506b0
lea ecx, [ebp - 0xac]
add esp, 0x18
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x447383
sub ecx, edx
lea eax, [ebp - 0xac]
push ecx
push eax
xor edx, edx
mov ecx, ebx
call fcn.004440a0
add esp, 8
test eax, eax
jne 0x4473ca
mov ecx, dword [ebp - 0xc8]
mov edx, dword [ebp - 0xcc]
mov eax, dword [ebx + 0x190]
test eax, eax
je 0x4473ca
push dword [ebx + 0x11c]
push ecx
push edx
push 3
push ebx
call eax
add esp, 0x14
cmp dword [edi + 0x4c], 1
jne 0x4474d7
cmp byte [ebx + 0x2b8], 0
mov ecx, dword [ebp - 0xb4]
mov edx, dword [edi + 0x5c]
mov dword [ebp - 0xcc], ecx
mov dword [ebp - 0xc8], edx
je 0x4474bd
mov eax, dword [esi + 0x9c]
test eax, eax
je 0x4474bd
push eax
push str.from
push str.Data
push str.__s__s__s_
lea eax, [ebp - 0xac]
push 0xa0
push eax
call fcn.004506b0
lea ecx, [ebp - 0xac]
add esp, 0x18
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x447431
jmp 0x447497
cmp byte [ebx + 0x2b8], 0
mov ecx, dword [ebp - 0xb4]
mov edx, dword [edi + 0x5c]
mov dword [ebp - 0xcc], ecx
mov dword [ebp - 0xc8], edx
je 0x4474bd
mov eax, dword [esi + 0x9c]
test eax, eax
je 0x4474bd
push eax
push str.from
push str.Data
push str.__s__s__s_
lea eax, [ebp - 0xac]
push 0xa0
push eax
call fcn.004506b0
lea ecx, [ebp - 0xac]
add esp, 0x18
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x447490
sub ecx, edx
lea eax, [ebp - 0xac]
push ecx
push eax
xor edx, edx
mov ecx, ebx
call fcn.004440a0
add esp, 8
test eax, eax
jne 0x4474d7
mov ecx, dword [ebp - 0xcc]
mov edx, dword [ebp - 0xc8]
mov eax, dword [ebx + 0x190]
test eax, eax
je 0x4474d7
push dword [ebx + 0x11c]
push ecx
push edx
push 3
push ebx
call eax
add esp, 0x14
cmp byte [edi + 0xc0], 0
je 0x447565
mov edx, dword [edi + 0x5c]
lea eax, [ebp - 0xb4]
push eax
push dword [ebp - 0xb4]
mov ecx, esi
call fcn.004656c0
add esp, 8
test eax, eax
jg 0x447964
cmp eax, 0xffffffff
jne 0x447565
and dword [edi + 0xa8], 0xfffffffe
mov eax, dword [esi + 0x30]
mov dword [ebp - 0xc8], eax
test eax, eax
je 0x447565
push eax
push str.Leftovers_after_chunking:__zu_bytes_n
push dword [esi]
call fcn.00443730
mov ecx, dword [esi]
add esp, 0xc
mov eax, dword [ecx + 0x40]
test eax, eax
je 0x447565
test byte [eax + 0x60], 1
je 0x447565
push dword [ebp - 0xc8]
push str.Rewinding__zu_bytes_n
push ecx
call fcn.00443730
mov eax, dword [ebp - 0xc8]
add esp, 0xc
sub dword [esi + 0x238], eax
mov byte [esi + 0x1d4], 1
cmp dword [edi + 0x4c], 0
je 0x44757e
cmp byte [edi + 0xad], 0
jne 0x44757e
mov eax, dword [edi + 0x58]
add dword [edi + 0x20], eax
adc dword [edi + 0x24], 0
mov ecx, dword [edi + 0x10]
mov esi, dword [edi + 0x14]
cmp ecx, 0xffffffff
jne 0x447591
cmp esi, ecx
je 0x447663
mov eax, dword [ebp - 0xb4]
cdq
add eax, dword [edi + 0x20]
adc edx, dword [edi + 0x24]
cmp edx, esi
jl 0x447663
jg 0x4475b0
cmp eax, ecx
jb 0x447663
mov esi, dword [ebp - 0xb4]
mov edx, esi
sub edx, dword [edi + 0x10]
add edx, dword [edi + 0x20]
mov dword [ebp - 0xd4], edx
je 0x447648
cmp byte [edi + 0xad], 0
jne 0x447648
mov eax, dword [ebp - 0xbc]
mov eax, dword [eax]
mov eax, dword [eax + 0x40]
test eax, eax
je 0x447629
test byte [eax + 0x60], 1
je 0x447629
mov eax, dword [edi + 0x14]
push esi
push dword [edi + 0x24]
push dword [edi + 0x20]
push eax
push ecx
push dword [edi + 4]
push dword [edi]
push dword [ebx + 0x8624]
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.00443730
mov eax, dword [ebp - 0xbc]
add esp, 0x2c
mov ecx, dword [ebp - 0xd4]
sub dword [eax + 0x238], ecx
mov byte [eax + 0x1d4], 1
jmp 0x447648
push dword [edi + 0x24]
mov eax, dword [edi + 0x14]
push dword [edi + 0x20]
push eax
push ecx
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.00443730
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 esi, dword [ebp - 0xb4]
mov eax, esi
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 0x4477d7
test esi, esi
jne 0x4476a8
cmp dword [edi + 0x4c], esi
jne 0x4476b2
mov cl, byte [ebp - 0xb5]
test cl, cl
je 0x4477cf
cmp dword [edi + 0x4c], 0
je 0x44773c
cmp byte [edi + 0xad], 0
jne 0x44773c
mov edx, dword [edi + 0x10]
mov eax, edx
mov ecx, dword [edi + 0x14]
and eax, ecx
cmp eax, 0xffffffff
je 0x4476f9
xor eax, eax
cmp eax, ecx
jl 0x4476f9
jg 0x4476db
cmp dword [edi + 0x58], edx
jbe 0x4476f9
mov ecx, dword [edi + 0x10]
mov edx, dword [ebx + 0x53c]
test ecx, ecx
jne 0x447719
mov ecx, edx
lea esi, [ecx + 1]
lea ecx, [ecx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4476f0
jmp 0x447717
mov ecx, dword [edi + 0x58]
mov edx, dword [ebx + 0x53c]
test ecx, ecx
jne 0x447719
mov ecx, edx
lea esi, [ecx + 1]
jmp 0x447710
mov al, byte [ecx]
inc ecx
test al, al
jne 0x447710
sub ecx, esi
push ecx
mov ecx, dword [ebp - 0xbc]
push edx
mov edx, 1
call fcn.00443d50
add esp, 8
mov dword [ebp - 0xc4], eax
test eax, eax
jne 0x447a2b
cmp dword [edi + 0x4c], 2
mov esi, dword [ebp - 0xbc]
jge 0x4477b8
cmp byte [edi + 0xad], 0
jne 0x4477b8
mov eax, dword [esi + 0x1ec]
test dword [eax + 0x3c], 0xc000
je 0x44777b
push dword [ebp - 0xb4]
mov edx, dword [edi + 0x5c]
mov ecx, esi
call fcn.00456760
add esp, 4
mov dword [ebp - 0xc4], eax
jmp 0x4477be
mov esi, dword [ebp - 0xb4]
mov ecx, dword [edi + 0x5c]
test esi, esi
jne 0x447799
mov esi, ecx
lea edx, [esi + 1]
lea ecx, [ecx]
mov al, byte [esi]
inc esi
test al, al
jne 0x447790
sub esi, edx
push esi
mov esi, dword [ebp - 0xbc]
mov edx, 1
push ecx
mov ecx, esi
call fcn.00443d50
add esp, 8
mov dword [ebp - 0xc4], eax
jmp 0x4477be
mov eax, dword [ebp - 0xc4]
mov dword [edi + 0x4c], 0
test eax, eax
jne 0x447a2b
jmp 0x4477dd
mov esi, dword [ebp - 0xbc]
jmp 0x4477e3
mov esi, dword [ebp - 0xbc]
mov cl, byte [ebp - 0xb5]
mov eax, dword [esi + 0x1ec]
cmp dword [eax + 0x34], 0
je 0x447806
mov edx, dword [ebp - 0xd4]
test edx, edx
je 0x447806
cmp byte [esi + 0x1d4], 0
je 0x4479b9
test cl, cl
je 0x447811
and dword [edi + 0xa8], 0xfffffffe
mov eax, dword [esi + 0x1ec]
test byte [eax + 0x3c], 0x30
jne 0x446fe3
jmp 0x4479f9
and dword [edi + 0xa8], 0xfffffffe
jmp 0x4479f9
mov esi, dword [ebp - 0xb4]
test esi, esi
jle 0x4479f9
mov eax, dword [ebp - 0xbc]
mov edx, 1
mov ecx, dword [eax]
mov ecx, dword [ecx + 0x40]
call fcn.00438270
push dword [ebx + 0x8624]
test al, al
je 0x44788c
push esi
push str.Rewinding_stream_by_:__zd_bytes_on_url__s__zero_length_body__n
push ebx
call fcn.00443730
mov ecx, dword [ebp - 0xbc]
add esp, 0x10
mov eax, dword [ebp - 0xb4]
sub dword [ecx + 0x238], eax
mov byte [ecx + 0x1d4], 1
jmp 0x4479ff
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.00443730
add esp, 0x10
jmp 0x4479f9
mov eax, ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0046bea8
mov esp, ebp
pop ebp
ret
mov eax, dword [edi]
cmp eax, dword [ebx + 0x8630]
jne 0x447905
mov eax, dword [edi + 4]
cmp eax, dword [ebx + 0x8634]
jne 0x447905
push str.The_entire_document_is_already_downloaded
push ebx
call fcn.00443730
add esp, 8
mov byte [esi + 0x1c0], 1
mov eax, dword [ebp - 0xd0]
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.0046bea8
mov esp, ebp
pop ebp
ret
push str.HTTP_server_doesnt_seem_to_support_byte_ranges._Cannot_resume.
push ebx
call fcn.004437f0
add esp, 8
mov eax, 0x21
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0046bea8
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0xd0]
push str.Simulate_a_HTTP_304_response__n
push ebx
mov byte [eax], 1
mov dword [ebx + 0x8674], 0x130
call fcn.00443730
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.0046bea8
mov esp, ebp
pop ebp
ret
cmp eax, 4
jne 0x44798d
push str.Failed_writing_data
push ebx
call fcn.004437f0
add esp, 8
mov eax, 0x17
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0046bea8
mov esp, ebp
pop ebp
ret
mov ecx, eax
call fcn.00465b90
push eax
push str._s_in_chunked_encoding
push ebx
call fcn.004437f0
add esp, 0xc
mov eax, 0x38
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0046bea8
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0xb4]
lea ecx, [ebp - 0xad]
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 0x447a2b
cmp byte [ebp - 0xad], al
je 0x4479f9
or dword [edi + 0xa8], 1
mov ecx, dword [ebp - 0xbc]
mov eax, dword [edi + 0xa8]
and al, 3
cmp al, 2
jne 0x447a29
cmp byte [ecx + 0x1c0], 0
je 0x447a29
push str.we_are_done_reading_and_this_is_set_to_close__stop_send_n
push ebx
call fcn.00443730
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.0046bea8
mov esp, ebp
pop ebp
ret