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

Disassembly:
sub esp, 0x18
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
push ebx
push ebp
mov ebp, dword [esp + 0x28]
push esi
push edi
mov edi, eax
xor eax, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], 0x64
mov dword [ecx], eax
mov dword [edx], eax
nop
mov ebx, dword [esp + 0x2c]
mov edx, dword [ebx + 0x344]
test edx, edx
jne 0x424583
mov edx, 0x4000
mov eax, dword [ebp]
mov ecx, dword [ebp + 4]
mov esi, eax
and esi, ecx
mov dword [esp + 0x18], edx
cmp esi, 0xffffffff
je 0x4245b0
cmp dword [ebp + 0x48], 0
jne 0x4245b0
sub eax, dword [ebp + 0x20]
sbb ecx, dword [ebp + 0x24]
xor esi, esi
cmp ecx, esi
jg 0x4245b0
jl 0x4245ae
cmp eax, edx
jae 0x4245b0
mov edx, eax
test edx, edx
je 0x4245e8
mov ecx, dword [ebp + 0x9c]
lea eax, [esp + 0x30]
push eax
mov eax, dword [edi + 0x31c]
push ecx
push eax
mov esi, edi
call fcn.00414760
add esp, 0xc
mov dword [esp + 0x10], eax
cmp eax, 0x51
je 0x424d9f
test eax, eax
jg 0x424de7
jmp 0x4245f0
mov dword [esp + 0x30], 0
mov ecx, dword [ebp + 0x20]
or ecx, dword [ebp + 0x24]
jne 0x424672
mov edx, dword [ebp + 0x28]
or edx, dword [ebp + 0x2c]
jne 0x424672
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
mov ecx, eax
mov eax, 0x10624dd3
mul ecx
shr edx, 6
mov eax, edx
imul eax, eax, 0x3e8
sub ecx, eax
mov eax, dword [ebx + 0x614]
imul ecx, ecx, 0x3e8
push eax
mov eax, dword [ebx + 0x610]
push eax
push ecx
push edx
call fcn.00421ad0
add esp, 0x10
fstp qword [ebx + 0x5f8]
cmp dword [ebp + 0x84], 0
jle 0x424672
call esi
mov ecx, eax
mov eax, 0x10624dd3
mul ecx
shr edx, 6
mov eax, edx
imul eax, eax, 0x3e8
sub ecx, eax
imul ecx, ecx, 0x3e8
mov dword [ebp + 0x7c], edx
mov dword [ebp + 0x80], ecx
mov eax, dword [esp + 0x34]
or dword [eax], 1
mov eax, dword [esp + 0x30]
test eax, eax
jne 0x424694
cmp dword [ebp + 0x98], eax
jne 0x424694
mov esi, 1
mov dword [esp + 0x18], esi
jmp 0x4246a2
xor esi, esi
mov dword [esp + 0x18], esi
test eax, eax
jle 0x424b9b
mov ecx, dword [ebp + 0x9c]
mov byte [eax + ecx], 0
mov edx, dword [ebp + 0x9c]
mov dword [ebp + 0x5c], edx
mov eax, dword [edi + 0x310]
mov eax, dword [eax + 0x34]
test eax, eax
je 0x4246e9
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x34]
push edx
push edi
push ebx
call eax
add esp, 0x10
mov dword [esp + 0x10], eax
test eax, eax
jne 0x424de7
cmp dword [esp + 0x14], eax
jne 0x424d9f
cmp dword [ebp + 0x48], 0
je 0x42476b
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x34]
push ecx
push edi
push ebx
mov dword [esp + 0x30], 0
call fcn.0042a790
add esp, 0x10
mov dword [esp + 0x10], eax
test eax, eax
jne 0x424de7
mov edx, dword [edi + 0x310]
mov eax, dword [edx + 0x34]
test eax, eax
je 0x424760
cmp dword [ebp + 0x14], 0
jg 0x424760
jl 0x424732
cmp dword [ebp + 0x10], 0
ja 0x424760
cmp dword [esp + 0x30], 0
jle 0x424760
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x34]
push edx
push edi
push ebx
call eax
add esp, 0x10
mov dword [esp + 0x10], eax
test eax, eax
jne 0x424de7
cmp dword [esp + 0x14], eax
jne 0x424d9f
cmp dword [esp + 0x20], 0
jne 0x424ba7
cmp dword [ebp + 0x5c], 0
je 0x424b44
cmp dword [ebp + 0x48], 0
jne 0x424b44
cmp dword [esp + 0x30], 0
jg 0x42478e
test esi, esi
je 0x424b44
cmp dword [ebx + 0x3b0], 0
jne 0x424c0e
cmp dword [ebp + 0x98], 0
jne 0x424853
test esi, esi
jne 0x424853
mov eax, dword [edi + 0x310]
test dword [eax + 0x3c], 0x40003
je 0x424853
cmp dword [ebx + 0x10c], esi
je 0x4247f3
cmp dword [edi + 0x26c], esi
jne 0x424c4d
mov esi, 1
push str.Ignoring_the_response_body_n
mov ecx, ebx
mov dword [ebp + 0xb0], esi
call fcn.004140b0
add esp, 4
jmp 0x4247f8
mov esi, 1
mov ecx, dword [ebx + 0x87d8]
or ecx, dword [ebx + 0x87dc]
je 0x424821
cmp dword [ebp + 0x6c], 0
jne 0x424821
cmp dword [ebx + 0x268], esi
jne 0x424821
cmp dword [ebp + 0xb0], 0
je 0x424c68
cmp dword [ebx + 0x25c], 0
je 0x424853
cmp dword [ebx + 0x87d4], 0
jne 0x424853
mov edx, dword [ebp + 0x94]
mov eax, dword [ebp + 0x90]
push edx
push eax
mov esi, ebx
call fcn.004244b0
add esp, 8
test eax, eax
je 0x424cce
inc dword [ebp + 0x98]
cmp dword [ebx + 0x3bc], 0
je 0x4248ad
cmp dword [ebp + 0x4c], 0
mov esi, dword [esp + 0x2c]
push edi
je 0x424897
mov ecx, dword [ebp + 0x58]
mov edx, dword [ebx + 0x6c4]
push ecx
push edx
mov ebx, 3
call fcn.00414890
add esp, 0xc
cmp dword [ebp + 0x4c], 1
jne 0x4248ad
mov eax, dword [esp + 0x30]
mov ecx, dword [ebp + 0x5c]
push edi
push eax
push ecx
jmp 0x4248a5
mov edx, dword [esp + 0x34]
mov eax, dword [ebp + 0x5c]
push edx
push eax
mov ebx, 3
call fcn.00414890
add esp, 0xc
cmp dword [ebp + 0xc8], 0
je 0x424922
mov eax, dword [ebp + 0x5c]
lea ecx, [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x34]
call fcn.0043f7b0
add esp, 4
test eax, eax
jg 0x424d0e
cmp eax, 0xffffffff
jne 0x424922
and dword [ebp + 0xa8], 0xfffffffe
mov esi, dword [edi + 0x30]
test esi, esi
je 0x424922
mov ecx, dword [edi]
push esi
push str.Leftovers_after_chunking:__zu_bytes_n
call fcn.004140b0
mov ecx, dword [edi]
mov eax, dword [ecx + 0x40]
add esp, 8
test eax, eax
je 0x424922
test byte [eax + 0x60], 1
je 0x424922
push esi
push str.Rewinding__zu_bytes_n
call fcn.004140b0
add esp, 8
sub dword [edi + 0x360], esi
mov dword [edi + 0x2cc], 1
cmp dword [ebp + 0x4c], 0
je 0x42493b
cmp dword [ebp + 0xb0], 0
jne 0x42493b
mov edx, dword [ebp + 0x58]
add dword [ebp + 0x20], edx
adc dword [ebp + 0x24], 0
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp + 0x14]
cmp eax, 0xffffffff
jne 0x42494e
cmp esi, eax
je 0x424a27
mov eax, dword [esp + 0x30]
mov ecx, dword [ebp + 0x20]
mov ebx, dword [ebp + 0x24]
cdq
add eax, ecx
adc edx, ebx
cmp edx, esi
jl 0x424a27
jg 0x424970
cmp eax, dword [ebp + 0x10]
jb 0x424a27
mov esi, dword [ebp + 0x20]
sub esi, dword [ebp + 0x10]
mov eax, dword [esp + 0x30]
add esi, eax
mov dword [esp + 0x24], esi
je 0x424a06
cmp dword [ebp + 0xb0], 0
jne 0x424a06
mov edx, dword [edi]
mov edx, dword [edx + 0x40]
test edx, edx
je 0x4249de
test byte [edx + 0x60], 1
je 0x4249de
push eax
mov eax, dword [ebp + 0x14]
push ebx
mov ebx, dword [esp + 0x34]
mov edx, dword [ebx + 0x87c4]
push ecx
mov ecx, dword [ebp]
push eax
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 4]
push eax
push ecx
push edx
push esi
push str.Rewinding_stream_by_:__zu_bytes_on_url__s__size___I64d__maxdownload___I64d__bytecount___I64d__nread___zd__n
mov ecx, ebx
call fcn.004140b0
add esp, 0x28
sub dword [edi + 0x360], esi
mov dword [edi + 0x2cc], 1
jmp 0x424a0a
mov eax, dword [ebp + 0x14]
push ebx
mov ebx, dword [esp + 0x30]
push ecx
mov ecx, dword [ebp]
push eax
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 4]
push eax
push ecx
push esi
push str.Excess_found_in_a_non_pipelined_read:_excess___zu__size___I64d__maxdownload___I64d__bytecount___I64d_n
mov ecx, ebx
call fcn.004140b0
add esp, 0x20
jmp 0x424a0a
mov ebx, dword [esp + 0x2c]
mov eax, dword [ebp + 0x10]
sub eax, dword [ebp + 0x20]
mov dword [esp + 0x30], eax
jns 0x424a1e
mov dword [esp + 0x30], 0
and dword [ebp + 0xa8], 0xfffffffe
jmp 0x424a2b
mov ebx, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
cdq
add dword [ebp + 0x20], eax
mov eax, dword [ebp + 0x20]
mov esi, ebx
adc dword [ebp + 0x24], edx
mov edx, dword [ebp + 0x24]
push edx
push eax
call fcn.00426d20
add esp, 8
cmp dword [ebp + 0xc8], 0
jne 0x424b44
cmp dword [esp + 0x30], 0
jne 0x424a71
cmp dword [ebp + 0x4c], 0
jne 0x424a77
cmp dword [esp + 0x18], 0
je 0x424b44
mov ebx, dword [esp + 0x2c]
cmp dword [ebp + 0x4c], 0
je 0x424aeb
cmp dword [ebp + 0xb0], 0
jne 0x424aeb
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0x14]
mov ecx, edx
and ecx, eax
cmp ecx, 0xffffffff
je 0x424ab4
mov esi, dword [ebp + 0x58]
xor ecx, ecx
cmp ecx, eax
jl 0x424ab4
jg 0x424a9e
cmp esi, edx
jbe 0x424ab4
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebx + 0x6c4]
push 1
push edi
call fcn.00414730
add esp, 8
jmp 0x424add
mov ecx, dword [ebp + 0x58]
mov ebx, dword [ebx + 0x6c4]
test ecx, ecx
jne 0x424acf
mov ecx, ebx
lea eax, [ecx + 1]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x424ac6
sub ecx, eax
push ecx
push 1
push edi
mov eax, ebx
call fcn.00414550
add esp, 0xc
mov dword [esp + 0x10], eax
test eax, eax
jne 0x424de7
jmp 0x424aef
mov eax, dword [esp + 0x10]
cmp dword [ebp + 0x4c], 2
jge 0x424b35
cmp dword [ebp + 0xb0], 0
jne 0x424b35
mov edx, dword [edi + 0x310]
test dword [edx + 0x3c], 0xc000
je 0x424b1f
mov eax, dword [esp + 0x30]
mov ecx, dword [ebp + 0x5c]
push eax
push ecx
mov esi, edi
call fcn.00431ce0
jmp 0x424b2e
mov ecx, dword [esp + 0x30]
mov eax, dword [ebp + 0x5c]
push 1
push edi
call fcn.00414730
mov dword [esp + 0x18], eax
add esp, 8
mov dword [ebp + 0x4c], 0
test eax, eax
jne 0x424d55
mov edx, dword [edi + 0x310]
cmp dword [edx + 0x34], 0
je 0x424b65
mov eax, dword [esp + 0x24]
test eax, eax
jbe 0x424b65
cmp dword [edi + 0x2cc], 0
je 0x424d61
cmp dword [esp + 0x18], 0
je 0x424b73
and dword [ebp + 0xa8], 0xfffffffe
mov eax, dword [edi + 0x310]
test byte [eax + 0x3c], 0x30
je 0x424d9b
mov eax, dword [esp + 0x1c]
mov ecx, eax
dec eax
mov dword [esp + 0x1c], eax
test ecx, ecx
jne 0x424570
jmp 0x424d9b
and dword [ebp + 0xa8], 0xfffffffe
jmp 0x424d9f
mov ecx, dword [esp + 0x30]
test ecx, ecx
jle 0x424d9f
mov edx, dword [edi]
mov eax, dword [edx + 0x40]
test eax, eax
je 0x424bf2
test byte [eax + 0x60], 1
je 0x424bf2
mov eax, dword [ebx + 0x87c4]
push eax
push ecx
push str.Rewinding_stream_by_:__zd_bytes_on_url__s__zero_length_body__n
mov ecx, ebx
call fcn.004140b0
mov ecx, dword [esp + 0x3c]
add esp, 0xc
sub dword [edi + 0x360], ecx
mov dword [edi + 0x2cc], 1
jmp 0x424d9f
mov edx, dword [ebx + 0x87c4]
push edx
push ecx
push str.Excess_found_in_a_non_pipelined_read:_excess___zd_url___s__zero_length_body__n
mov ecx, ebx
call fcn.004140b0
add esp, 0xc
jmp 0x424d9f
mov eax, dword [edi + 0x310]
mov eax, dword [eax + 0x40]
and eax, 0x200
mov ecx, 0
sete cl
test eax, eax
jne 0x424c36
cmp ecx, dword [edi + 0x26c]
je 0x424c36
mov dword [edi + 0x26c], ecx
mov ecx, dword [esp + 0x38]
mov dword [ecx], 1
mov eax, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
mov edx, dword [esp + 0x38]
and dword [ebp + 0xa8], 0xfffffffe
mov dword [edx], 1
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
mov eax, dword [ebp]
cmp eax, dword [ebx + 0x87d8]
jne 0x424cb2
mov ecx, dword [ebp + 4]
cmp ecx, dword [ebx + 0x87dc]
jne 0x424cb2
push str.The_entire_document_is_already_downloaded
mov ecx, ebx
call fcn.004140b0
add esp, 4
cmp dword [edi + 0x26c], esi
je 0x424c9b
mov dword [edi + 0x26c], esi
mov edx, dword [esp + 0x38]
and dword [ebp + 0xa8], 0xfffffffe
mov dword [edx], esi
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
push str.HTTP_server_doesnt_seem_to_support_byte_ranges._Cannot_resume.
mov eax, ebx
call fcn.00414140
add esp, 4
mov eax, 0x21
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
mov eax, dword [esp + 0x38]
mov esi, 1
push str.Simulate_a_HTTP_304_response__n
mov ecx, ebx
mov dword [eax], esi
mov dword [ebx + 0x8834], 0x130
call fcn.004140b0
add esp, 4
cmp dword [edi + 0x26c], esi
je 0x424de5
mov dword [edi + 0x26c], esi
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
cmp eax, 4
jne 0x424d31
mov eax, dword [esp + 0x2c]
push str.Failed_writing_data
call fcn.00414140
add esp, 4
mov eax, 0x17
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
call fcn.0043fc20
push eax
mov eax, dword [esp + 0x30]
push str._s_in_chunked_encoding
call fcn.00414140
add esp, 8
mov eax, 0x38
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
mov ecx, dword [esp + 0x30]
add dword [ebp + 0x5c], ecx
mov edx, dword [edi + 0x310]
mov dword [esp + 0x30], eax
lea eax, [esp + 0x14]
push eax
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x34]
push ecx
mov ecx, dword [edx + 0x34]
push edi
push eax
call ecx
add esp, 0x10
test eax, eax
jne 0x424de7
cmp dword [esp + 0x14], eax
je 0x424d9b
or dword [ebp + 0xa8], 1
mov ebx, dword [esp + 0x2c]
cmp dword [esp + 0x1c], 0
jg 0x424dba
mov edx, dword [esp + 0x3c]
mov dword [edi + 0x568], 1
mov dword [edx], 1
mov eax, dword [ebp + 0xa8]
and al, 3
cmp al, 2
jne 0x424de5
cmp dword [edi + 0x26c], 0
je 0x424de5
push str.we_are_done_reading_and_this_is_set_to_close__stop_send_n
mov ecx, ebx
call fcn.004140b0
add esp, 4
and dword [ebp + 0xa8], 0xfffffffd
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret