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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xd4
mov eax, dword [0x4d6750]
xor eax, esp
mov dword [esp + 0xd0], eax
mov eax, dword [ebp + 0xc]
push ebx
mov dword [esp + 0x2c], eax
mov ebx, ecx
mov eax, dword [ebp + 0x10]
push esi
mov esi, edx
mov dword [esp + 0x2c], eax
push edi
mov edi, dword [ebp + 8]
mov dword [esp + 0x2c], esi
mov dword [esp + 0x14], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x20], 0
mov dword [eax], 0
jmp 0x42c8b0
mov eax, dword [ebx + 0x2e8]
mov ecx, 0x4000
mov edx, dword [edi]
test eax, eax
cmovne ecx, eax
mov eax, dword [edi + 4]
mov dword [esp + 0x18], eax
mov eax, edx
and eax, dword [edi + 4]
cmp eax, 0xffffffff
je 0x42c8ef
cmp dword [edi + 0x48], 0
jne 0x42c8ef
sub edx, dword [edi + 0x20]
mov eax, dword [esp + 0x18]
sbb eax, dword [edi + 0x24]
test eax, eax
jg 0x42c8ef
jl 0x42c8ed
cmp edx, ecx
jae 0x42c8ef
mov ecx, edx
test ecx, ecx
je 0x42c92a
mov edx, dword [esi + 0x2c8]
lea eax, [esp + 0x10]
push eax
push ecx
push dword [edi + 0xd4]
mov ecx, esi
call fcn.00428770
add esp, 0xc
mov dword [esp + 0x14], eax
cmp eax, 0x51
je 0x42d221
test eax, eax
jg 0x42d24d
mov ecx, dword [esp + 0x10]
jmp 0x42c930
xor ecx, ecx
mov dword [esp + 0x10], ecx
mov eax, dword [edi + 0x20]
or eax, dword [edi + 0x24]
jne 0x42c9da
mov eax, dword [edi + 0x28]
or eax, dword [edi + 0x2c]
jne 0x42c9da
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 + 0x55c]
imul eax, esi, 0x3e8
mov esi, dword [ebx + 0x558]
sub eax, ecx
movd xmm1, eax
cvtdq2pd xmm1, xmm1
divsd xmm1, qword [0x4c31d0]
cmp edx, esi
je 0x42c998
sub edx, esi
movd xmm0, edx
cvtdq2pd xmm0, xmm0
addsd xmm1, xmm0
movsd qword [ebx + 0x540], xmm1
cmp dword [edi + 0x84], 0
jle 0x42c9d2
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 + 0x2c]
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x34]
or dword [eax], 1
test ecx, ecx
jne 0x42c9f7
cmp dword [edi + 0xd0], ecx
jne 0x42c9f7
mov dword [esp + 0x1c], 1
jmp 0x42ca05
xor eax, eax
mov dword [esp + 0x1c], eax
test ecx, ecx
jle 0x42d21a
mov eax, dword [edi + 0xd4]
mov byte [ecx + eax], 0
mov eax, dword [edi + 0xd4]
mov dword [edi + 0x5c], eax
mov eax, dword [esi + 0x2bc]
mov eax, dword [eax + 0x34]
test eax, eax
je 0x42ca4c
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x14]
push ecx
push esi
push ebx
call eax
add esp, 0x10
mov dword [esp + 0x14], eax
test eax, eax
jne 0x42d24d
cmp dword [esp + 0x20], eax
jne 0x42d221
cmp dword [edi + 0x48], 0
je 0x42cad6
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0
push eax
lea eax, [esp + 0x14]
mov edx, esi
push eax
mov ecx, ebx
call fcn.00431f60
mov ecx, eax
add esp, 8
mov dword [esp + 0x14], ecx
test ecx, ecx
jne 0x42d0c9
mov eax, dword [esi + 0x2bc]
mov eax, dword [eax + 0x34]
test eax, eax
je 0x42cacb
cmp dword [edi + 0x14], ecx
jg 0x42cacb
jl 0x42ca9b
cmp dword [edi + 0x10], ecx
ja 0x42cacb
cmp dword [esp + 0x10], 0
jle 0x42cacb
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x14]
push ecx
push esi
push ebx
call eax
mov ecx, eax
mov dword [esp + 0x24], eax
add esp, 0x10
test ecx, ecx
jne 0x42d0c9
cmp dword [esp + 0x20], eax
jne 0x42d221
cmp dword [esp + 0x18], 0
jne 0x42d06a
cmp dword [edi + 0x5c], 0
mov ecx, dword [esp + 0x1c]
je 0x42d02a
cmp dword [edi + 0x48], 0
jne 0x42d02a
cmp dword [esp + 0x10], 0
jg 0x42cafd
test ecx, ecx
je 0x42d02a
cmp dword [edi + 0xd0], 0
jne 0x42cbab
test ecx, ecx
jne 0x42cbab
mov eax, dword [esi + 0x2bc]
test dword [eax + 0x3c], 0x40001
je 0x42cbab
cmp dword [ebx + 0x144], ecx
je 0x42cb51
cmp dword [esi + 0x248], ecx
jne 0x42d0e0
push str.Ignoring_the_response_body_n
push ebx
mov dword [edi + 0xe8], 1
call fcn.00428020
add esp, 8
mov eax, dword [ebx + 0x8f40]
or eax, dword [ebx + 0x8f44]
je 0x42cb7b
cmp dword [edi + 0x6c], 0
jne 0x42cb7b
cmp dword [ebx + 0x298], 1
jne 0x42cb7b
cmp dword [edi + 0xe8], 0
je 0x42d108
cmp dword [ebx + 0x288], 0
je 0x42cbab
cmp dword [ebx + 0x8f38], 0
jne 0x42cbab
push dword [edi + 0xcc]
mov ecx, ebx
push dword [edi + 0xc8]
call fcn.0042c7d0
add esp, 8
test eax, eax
je 0x42d130
inc dword [edi + 0xd0]
cmp dword [ebx + 0x35c], 0
je 0x42cd48
cmp dword [edi + 0x4c], 0
je 0x42ccbc
cmp dword [ebx + 0x310], 0
mov ecx, dword [edi + 0x58]
mov edx, dword [ebx + 0x5e4]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x24], edx
je 0x42cc3c
mov eax, dword [esi + 0x9c]
test eax, eax
je 0x42cc3c
push eax
push str.from
push str.Data
push str.__s__s__s_
lea eax, [esp + 0x48]
push 0xa0
push eax
call fcn.0041ef60
lea ecx, [esp + 0x50]
add esp, 0x18
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42cc15
sub ecx, edx
lea eax, [esp + 0x38]
push ecx
push eax
xor edx, edx
mov ecx, ebx
call fcn.00428890
add esp, 8
test eax, eax
jne 0x42cc56
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov eax, dword [ebx + 0x1e0]
test eax, eax
je 0x42cc56
push dword [ebx + 0x16c]
push ecx
push edx
push 3
push ebx
call eax
add esp, 0x14
cmp dword [edi + 0x4c], 1
jne 0x42cd48
cmp dword [ebx + 0x310], 0
mov ecx, dword [esp + 0x10]
mov edx, dword [edi + 0x5c]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x18], edx
je 0x42cd2e
mov eax, dword [esi + 0x9c]
test eax, eax
je 0x42cd2e
push eax
push str.from
push str.Data
push str.__s__s__s_
lea eax, [esp + 0x48]
push 0xa0
push eax
call fcn.0041ef60
lea ecx, [esp + 0x50]
add esp, 0x18
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42ccb3
jmp 0x42cd0e
cmp dword [ebx + 0x310], 0
mov ecx, dword [esp + 0x10]
mov edx, dword [edi + 0x5c]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x18], edx
je 0x42cd2e
mov eax, dword [esi + 0x9c]
test eax, eax
je 0x42cd2e
push eax
push str.from
push str.Data
push str.__s__s__s_
lea eax, [esp + 0x48]
push 0xa0
push eax
call fcn.0041ef60
lea ecx, [esp + 0x50]
add esp, 0x18
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42cd07
sub ecx, edx
lea eax, [esp + 0x38]
push ecx
push eax
xor edx, edx
mov ecx, ebx
call fcn.00428890
add esp, 8
test eax, eax
jne 0x42cd48
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x18]
mov eax, dword [ebx + 0x1e0]
test eax, eax
je 0x42cd48
push dword [ebx + 0x16c]
push ecx
push edx
push 3
push ebx
call eax
add esp, 0x14
cmp dword [edi + 0x100], 0
je 0x42cdcb
mov edx, dword [edi + 0x5c]
lea eax, [esp + 0x10]
push eax
push dword [esp + 0x14]
mov ecx, esi
call fcn.0044c150
add esp, 8
test eax, eax
jg 0x42d173
cmp eax, 0xffffffff
jne 0x42cdcb
and dword [edi + 0xe0], 0xfffffffe
mov eax, dword [esi + 0x30]
mov dword [esp + 0x18], eax
test eax, eax
je 0x42cdcb
push eax
push str.Leftovers_after_chunking:__zu_bytes_n
push dword [esi]
call fcn.00428020
mov ecx, dword [esi]
add esp, 0xc
mov eax, dword [ecx + 0x40]
test eax, eax
je 0x42cdcb
cmp dword [eax + 0x2c], 0
je 0x42cdcb
push dword [esp + 0x18]
push str.Rewinding__zu_bytes_n
push ecx
call fcn.00428020
mov eax, dword [esp + 0x24]
add esp, 0xc
sub dword [esi + 0x310], eax
mov dword [esi + 0x29c], 1
cmp dword [edi + 0x4c], 0
je 0x42cde4
cmp dword [edi + 0xe8], 0
jne 0x42cde4
mov eax, dword [edi + 0x58]
add dword [edi + 0x20], eax
adc dword [edi + 0x24], 0
mov ecx, dword [edi + 0x10]
cmp ecx, 0xffffffff
jne 0x42cdf5
cmp dword [edi + 0x14], ecx
je 0x42ceb5
mov eax, dword [esp + 0x10]
cdq
add eax, dword [edi + 0x20]
adc edx, dword [edi + 0x24]
cmp edx, dword [edi + 0x14]
jl 0x42ceb5
jg 0x42ce13
cmp eax, ecx
jb 0x42ceb5
mov edx, dword [esp + 0x10]
mov eax, edx
sub eax, dword [edi + 0x10]
add eax, dword [edi + 0x20]
mov dword [esp + 0x28], eax
je 0x42ce9c
cmp dword [edi + 0xe8], 0
jne 0x42ce9c
mov eax, dword [esi]
mov eax, dword [eax + 0x40]
test eax, eax
je 0x42ce7b
cmp dword [eax + 0x2c], 0
je 0x42ce7b
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 + 0x8f28]
push dword [esp + 0x48]
push str.Rewinding_stream_by_:__zu_bytes_on_url__s__size___I64d__maxdownload___I64d__bytecount___I64d__nread___zd__n
push ebx
call fcn.00428020
mov eax, dword [esp + 0x54]
add esp, 0x2c
sub dword [esi + 0x310], eax
mov dword [esi + 0x29c], 1
jmp 0x42ce9c
push dword [edi + 0x24]
push dword [edi + 0x20]
push dword [edi + 0x14]
push ecx
push dword [edi + 4]
push dword [edi]
push dword [esp + 0x40]
push str.Excess_found_in_a_non_pipelined_read:_excess___zu__size___I64d__maxdownload___I64d__bytecount___I64d_n
push ebx
call fcn.00428020
add esp, 0x24
mov eax, dword [edi + 0x10]
mov ecx, 0
sub eax, dword [edi + 0x20]
cmovs eax, ecx
and dword [edi + 0xe0], 0xfffffffe
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x10]
mov eax, ecx
cdq
add dword [edi + 0x20], eax
mov eax, dword [edi + 0x20]
adc dword [edi + 0x24], edx
mov dword [ebx + 0x4e0], eax
mov eax, dword [edi + 0x24]
mov dword [ebx + 0x4e4], eax
cmp dword [edi + 0x100], 0
jne 0x42d026
test ecx, ecx
jne 0x42cef6
cmp dword [edi + 0x4c], ecx
jne 0x42cefc
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x42d02a
cmp dword [edi + 0x4c], 0
je 0x42cf4a
cmp dword [edi + 0xe8], 0
jne 0x42cf4a
mov edx, dword [edi + 0x10]
mov eax, edx
mov ecx, dword [edi + 0x14]
and eax, ecx
cmp eax, 0xffffffff
je 0x42cf26
xor eax, eax
cmp eax, ecx
jl 0x42cf26
jg 0x42cf21
cmp dword [edi + 0x58], edx
jbe 0x42cf26
push dword [edi + 0x10]
jmp 0x42cf29
push dword [edi + 0x58]
push dword [ebx + 0x5e4]
mov edx, 1
mov ecx, esi
call fcn.004285c0
add esp, 8
mov dword [esp + 0x14], eax
test eax, eax
jne 0x42d24d
cmp dword [edi + 0x4c], 2
jge 0x42d013
mov eax, dword [esi]
cmp dword [eax + 0x3a8], 0
je 0x42cf63
xor eax, eax
jmp 0x42cf69
mov eax, dword [edi + 0x88]
sub eax, 0
je 0x42cfce
dec eax
je 0x42cfaf
dec eax
je 0x42cf90
push str.Unrecognized_content_encoding_type._libcurl_understands__identity___deflate_and__gzip_content_encodings.
push ebx
call fcn.004280e0
mov eax, 0x3d
add esp, 8
mov dword [esp + 0x14], eax
jmp 0x42d017
cmp dword [edi + 0xe8], 0
jne 0x42d013
push dword [esp + 0x10]
mov edx, edi
mov ecx, esi
call fcn.0044cab0
add esp, 4
mov dword [esp + 0x14], eax
jmp 0x42d017
cmp dword [edi + 0xe8], 0
jne 0x42d013
push dword [esp + 0x10]
mov edx, edi
mov ecx, esi
call fcn.0044c900
add esp, 4
mov dword [esp + 0x14], eax
jmp 0x42d017
cmp dword [edi + 0xe8], 0
jne 0x42d013
mov eax, dword [esi + 0x2bc]
mov ecx, esi
push dword [esp + 0x10]
test dword [eax + 0x3c], 0x4000
je 0x42cffd
mov edx, dword [edi + 0x5c]
call fcn.00439650
add esp, 4
mov dword [esp + 0x14], eax
jmp 0x42d017
push dword [edi + 0x5c]
mov edx, 1
call fcn.004285c0
add esp, 8
mov dword [esp + 0x14], eax
jmp 0x42d017
mov eax, dword [esp + 0x14]
mov dword [edi + 0x4c], 0
test eax, eax
jne 0x42d1c9
mov ecx, dword [esp + 0x1c]
mov eax, dword [esi + 0x2bc]
cmp dword [eax + 0x34], 0
je 0x42d04b
mov edx, dword [esp + 0x28]
test edx, edx
je 0x42d04b
cmp dword [esi + 0x29c], 0
je 0x42d1e2
test ecx, ecx
je 0x42d056
and dword [edi + 0xe0], 0xfffffffe
mov ecx, esi
call fcn.0042c7a0
test eax, eax
jne 0x42c8b0
jmp 0x42d221
mov edx, dword [esp + 0x10]
test edx, edx
jle 0x42d221
mov ecx, dword [esi]
mov ecx, dword [ecx + 0x40]
call fcn.0041a150
push dword [ebx + 0x8f28]
test eax, eax
je 0x42d0b2
push edx
push str.Rewinding_stream_by_:__zd_bytes_on_url__s__zero_length_body__n
push ebx
call fcn.00428020
mov eax, dword [esp + 0x20]
add esp, 0x10
sub dword [esi + 0x310], eax
mov dword [esi + 0x29c], 1
jmp 0x42d221
push dword [esp + 0x14]
push str.Excess_found_in_a_non_pipelined_read:_excess___zd_url___s__zero_length_body__n
push ebx
call fcn.00428020
add esp, 0x10
jmp 0x42d221
mov eax, ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xd0]
xor ecx, esp
call fcn.00488366
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x30]
and dword [edi + 0xe0], 0xfffffffe
mov dword [eax], 1
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xd0]
xor ecx, esp
call fcn.00488366
mov esp, ebp
pop ebp
ret
push str.HTTP_server_doesnt_seem_to_support_byte_ranges._Cannot_resume.
push ebx
call fcn.004280e0
add esp, 8
mov eax, 0x21
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xd0]
xor ecx, esp
call fcn.00488366
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x30]
push str.Simulate_a_HTTP_304_response__n
push ebx
mov dword [eax], 1
mov dword [ebx + 0x8f74], 0x130
call fcn.00428020
add esp, 8
mov dword [esi + 0x248], 1
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xd0]
xor ecx, esp
call fcn.00488366
mov esp, ebp
pop ebp
ret
cmp eax, 4
jne 0x42d1a0
push str.Failed_writing_data
push ebx
call fcn.004280e0
add esp, 8
mov eax, 0x17
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xd0]
xor ecx, esp
call fcn.00488366
mov esp, ebp
pop ebp
ret
push eax
push str.Problem___d__in_the_Chunked_Encoded_data
push ebx
call fcn.004280e0
add esp, 0xc
mov eax, 0x38
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xd0]
xor ecx, esp
call fcn.00488366
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xd0]
xor ecx, esp
call fcn.00488366
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x20]
add dword [edi + 0x5c], eax
mov eax, dword [esi + 0x2bc]
push ecx
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], edx
push ecx
mov eax, dword [eax + 0x34]
push esi
push ebx
call eax
add esp, 0x10
test eax, eax
jne 0x42d24d
cmp dword [esp + 0x20], eax
je 0x42d221
or dword [edi + 0xe0], 1
jmp 0x42d221
and dword [edi + 0xe0], 0xfffffffe
mov eax, dword [edi + 0xe0]
and al, 3
cmp al, 2
jne 0x42d24b
cmp dword [esi + 0x248], 0
je 0x42d24b
push str.we_are_done_reading_and_this_is_set_to_close__stop_send_n
push ebx
call fcn.00428020
add esp, 8
and dword [edi + 0xe0], 0xfffffffd
xor eax, eax
mov ecx, dword [esp + 0xdc]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00488366
mov esp, ebp
pop ebp
ret