Function at 0x4c1950
Capabilities:
Get socket status

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x502746
mov eax, dword fs:[0]
push eax
sub esp, 0x3d0
mov eax, dword [0x55ec40]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x398], edi
mov edx, dword [edi + 0xc]
lea esi, [edi + 0xc]
cmp dword [edx + 0x114], 0xf
lea eax, [edx + 0x100]
mov dword [ebp - 0x3b0], esi
jbe 0x4c19a2
mov eax, dword [eax]
push eax
push str.URL:__s.
sub esp, 0x28
mov ecx, esp
mov dword [ebp - 0x37c], ecx
mov dword [ecx + 0x24], 0
mov edx, dword [edx + 0xf4]
mov dword [ebp - 4], 0
test edx, edx
je 0x4c19dd
mov eax, dword [edx]
push ecx
mov ecx, edx
mov eax, dword [eax]
call eax
mov ecx, dword [ebp - 0x37c]
mov dword [ecx + 0x24], eax
mov dword [ebp - 4], 0xffffffff
call fcn.004cb750
mov eax, dword [esi]
add esp, 0x30
push dword [eax + 8]
push str.Disk_Cache_Size:__ld.
sub esp, 0x28
mov ecx, esp
mov dword [ebp - 0x37c], ecx
mov dword [ecx + 0x24], 0
mov edx, dword [eax + 0xf4]
mov dword [ebp - 4], 1
test edx, edx
je 0x4c1a2b
mov eax, dword [edx]
push ecx
mov ecx, edx
mov eax, dword [eax]
call eax
mov ecx, dword [ebp - 0x37c]
mov dword [ecx + 0x24], eax
mov dword [ebp - 4], 0xffffffff
call fcn.004cb750
mov edx, dword [esi]
add esp, 0x30
cmp dword [edx + 0x12c], 0xf
lea eax, [edx + 0x118]
jbe 0x4c1a4d
mov eax, dword [eax]
push eax
push str.Path:__s.
sub esp, 0x28
mov ecx, esp
mov dword [ebp - 0x37c], ecx
mov dword [ecx + 0x24], 0
mov edx, dword [edx + 0xf4]
mov dword [ebp - 4], 2
test edx, edx
je 0x4c1a88
mov eax, dword [edx]
push ecx
mov ecx, edx
mov eax, dword [eax]
call eax
mov ecx, dword [ebp - 0x37c]
mov dword [ecx + 0x24], eax
mov dword [ebp - 4], 0xffffffff
call fcn.004cb750
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0
movups xmmword [ebp - 0x40], xmm0
add esp, 0x30
mov dword [ebp - 0x2c], 0xf
movups xmmword [ebp - 0x28], xmm0
mov byte [ebp - 0x40], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov byte [ebp - 0x50], 1
mov dword [ebp - 0x48], 0xffffffff
mov dword [ebp - 0x44], 0xffffffff
mov dword [ebp - 4], 3
mov dword [ebp - 0x380], 0
nop dword [eax]
lea eax, [ebp - 0x50]
mov ecx, edi
push eax
mov eax, dword [esi]
add eax, 0x100
push eax
call fcn.004c2dc0
test al, al
mov eax, dword [esi]
jne 0x4c1bbb
push str.Fetching_file_size_failed__retry...
sub esp, 0x28
mov ecx, esp
mov dword [ebp - 0x37c], ecx
mov dword [ecx + 0x24], 0
mov edx, dword [eax + 0xf4]
mov byte [ebp - 4], 4
test edx, edx
je 0x4c1b44
mov eax, dword [edx]
push ecx
mov ecx, edx
mov eax, dword [eax]
call eax
mov ecx, dword [ebp - 0x37c]
mov dword [ecx + 0x24], eax
mov byte [ebp - 4], 3
call fcn.004cb750
mov eax, dword [ebp - 0x380]
add esp, 0x2c
mov ecx, dword [esi]
inc eax
mov dword [ebp - 0x380], eax
cmp eax, dword [ecx + 0x1c]
jle 0x4c1af0
push str.Fetch_file_size_failed.
sub esp, 0x28
mov edx, esp
mov dword [ebp - 0x37c], edx
mov dword [edx + 0x24], 0
mov ecx, dword [ecx + 0xf4]
mov byte [ebp - 4], 5
test ecx, ecx
je 0x4c1b99
mov eax, dword [ecx]
push edx
mov eax, dword [eax]
call eax
mov ecx, dword [ebp - 0x37c]
mov dword [ecx + 0x24], eax
mov byte [ebp - 4], 3
call fcn.004cb750
mov eax, dword [esi]
add esp, 0x2c
mov ecx, dword [eax + 0x130]
mov edx, dword [eax + 0x134]
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x44], edx
jmp 0x4c1bc1
mov edx, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x48]
push edx
push ecx
push str.File_size:__lld.
sub esp, 0x28
mov ecx, esp
mov dword [ebp - 0x37c], ecx
mov dword [ecx + 0x24], 0
mov edx, dword [eax + 0xf4]
mov byte [ebp - 4], 6
test edx, edx
je 0x4c1bfa
mov eax, dword [edx]
push ecx
mov ecx, edx
mov eax, dword [eax]
call eax
mov ecx, dword [ebp - 0x37c]
mov dword [ecx + 0x24], eax
mov byte [ebp - 4], 3
call fcn.004cb750
mov eax, dword [ebp - 0x48]
add esp, 0x34
or eax, dword [ebp - 0x44]
jne 0x4c1d61
mov eax, dword [esi]
add eax, 0x118
push eax
lea eax, [ebp - 0x68]
push eax
call fcn.0042c4a0
add esp, 8
cmp dword [eax + 0x14], 7
jbe 0x4c1c2e
mov eax, dword [eax]
push 0x5215f4
push eax
lea eax, [ebp - 0x380]
push eax
call fcn.004e1d44
mov ecx, dword [ebp - 0x54]
add esp, 0xc
cmp ecx, 7
jbe 0x4c1c7d
mov edx, dword [ebp - 0x68]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4c1c73
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4c2b20
push ecx
push edx
call fcn.004cefc9
add esp, 8
xor eax, eax
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 7
mov word [ebp - 0x68], ax
cmp dword [ebp - 0x380], eax
jne 0x4c1c9d
xor al, al
jmp 0x4c1ccc
push 0x100000
call fcn.004cf8ff
push 0x100000
mov esi, eax
push 0
push esi
call fcn.004d1bb0
push esi
call fcn.004cf583
push dword [ebp - 0x380]
call fcn.004df996
add esp, 0x18
mov al, 1
xor ecx, ecx
mov edx, 0x14
test al, al
cmovne edx, ecx
mov dword [ebp - 0x384], edx
mov esi, dword [ebp - 0x384]
mov ecx, dword [ebp - 0x14]
cmp ecx, 0xf
jbe 0x4c1d18
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4c1d0e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4c2b25
push ecx
push edx
call fcn.004cefc9
add esp, 8
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp ecx, 0xf
jbe 0x4c2b03
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4c2af9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4c2b25
jmp 0x4c2af9
cmp dword [edi + 0x10], 0
je 0x4c1d7e
push 0xe5
push 0x527c40
push str._slice_manager_
call fcn.004df729
add esp, 0xc
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x3b8]
push esi
push eax
call fcn.004c0a80
add esp, 0xc
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [edi + 0x10], ecx
mov ecx, dword [edi + 0x14]
mov dword [ebp - 0x37c], ecx
mov dword [edi + 0x14], edx
test ecx, ecx
je 0x4c1dda
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
jne 0x4c1dda
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x37c]
or eax, 0xffffffff
lock xadd dword [ecx + 8], eax
jne 0x4c1dda
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x3b4]
mov dword [ebp - 0x37c], ecx
test ecx, ecx
je 0x4c1e0d
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
jne 0x4c1e0d
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x37c]
or eax, 0xffffffff
lock xadd dword [ecx + 8], eax
jne 0x4c1e0d
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [edi + 0x10]
lea eax, [ebp - 0x40]
push eax
push dword [ebp - 0x44]
push dword [ebp - 0x48]
call fcn.004c7e20
test eax, eax
je 0x4c1e56
push dword [ebp - 0x44]
mov ecx, dword [edi + 0x10]
push dword [ebp - 0x48]
call fcn.004c9790
mov ecx, dword [edi + 0x10]
lea eax, [ebp - 0x40]
push eax
call fcn.004c9760
push dword [ebp - 0x50]
mov ecx, dword [edi + 0x10]
call fcn.004c8ab0
mov dword [ebp - 0x384], eax
test eax, eax
jne 0x4c1cde
mov ecx, dword [edi + 0x10]
push 0
call fcn.004c7cb0
test eax, eax
jne 0x4c1eb5
mov eax, dword [esi]
push str.All_of_slices_have_been_downloaded.
sub esp, 0x28
mov esi, esp
mov dword [ebp - 0x398], esi
mov dword [esi + 0x24], 0
mov ecx, dword [eax + 0xf4]
mov byte [ebp - 4], 7
test ecx, ecx
je 0x4c1e95
mov eax, dword [ecx]
push esi
mov eax, dword [eax]
call eax
mov dword [esi + 0x24], eax
mov byte [ebp - 4], 3
call fcn.004cb750
mov ecx, dword [edi + 0x10]
add esp, 0x2c
push dword [edi + 0x28]
push 0
call fcn.004c6c70
mov esi, eax
jmp 0x4c1ce4
call fcn.00437ce0
mov ecx, dword [esi]
mov dword [edi + 0x28], eax
test eax, eax
jne 0x4c1f04
push str.curl_multi_init_failed.
sub esp, 0x28
mov esi, esp
mov dword [ebp - 0x398], esi
mov dword [esi + 0x24], eax
mov ecx, dword [ecx + 0xf4]
mov byte [ebp - 4], 8
test ecx, ecx
je 0x4c1eee
mov eax, dword [ecx]
push esi
mov eax, dword [eax]
call eax
mov dword [esi + 0x24], eax
mov byte [ebp - 4], 3
call fcn.004cb750
add esp, 0x2c
mov esi, 0x11
jmp 0x4c1ce4
lea esi, [ecx + 4]
mov ecx, dword [edi + 0x10]
call fcn.004c7c70
cmp dword [esi], eax
lea ecx, [ebp - 0x37c]
mov dword [ebp - 0x37c], eax
cmovl ecx, esi
mov eax, dword [ecx]
mov ecx, dword [edi + 0xc]
mov dword [ebp - 0x380], eax
mov edx, dword [ecx + 8]
mov dword [ebp - 0x384], edx
test eax, eax
jg 0x4c1f3d
mov eax, dword [ecx + 0xc]
jmp 0x4c1f5f
mov eax, edx
cdq
idiv dword [ebp - 0x380]
mov dword [ebp - 0x384], eax
mov eax, dword [ecx + 0xc]
cmp eax, 0xffffffff
jne 0x4c1f58
or eax, eax
jmp 0x4c1f5f
cdq
idiv dword [ebp - 0x380]
cdq
mov dword [ebp - 0x390], eax
mov eax, dword [ebp - 0x384]
mov dword [ebp - 0x39c], edx
cdq
mov dword [ebp - 0x37c], eax
mov eax, edx
push eax
push dword [ebp - 0x37c]
mov dword [ebp - 0x378], eax
push str.Disk_cache_per_slice:__lld.
sub esp, 0x28
mov edx, esp
mov dword [ebp - 0x380], edx
mov dword [edx + 0x24], 0
mov ecx, dword [ecx + 0xf4]
mov byte [ebp - 4], 9
test ecx, ecx
je 0x4c1fbd
mov eax, dword [ecx]
push edx
mov eax, dword [eax]
call eax
mov ecx, dword [ebp - 0x380]
mov dword [ecx + 0x24], eax
mov byte [ebp - 4], 3
call fcn.004cb750
mov eax, dword [edi + 0xc]
add esp, 0x34
push dword [ebp - 0x39c]
push dword [ebp - 0x390]
push str.Max_speed_per_slice:__lld.
sub esp, 0x28
mov ecx, esp
mov dword [ebp - 0x380], ecx
mov dword [ecx + 0x24], 0
mov edx, dword [eax + 0xf4]
mov byte [ebp - 4], 0xa
test edx, edx
je 0x4c200f
mov eax, dword [edx]
push ecx
mov ecx, edx
mov eax, dword [eax]
call eax
mov ecx, dword [ebp - 0x380]
mov dword [ecx + 0x24], eax
mov byte [ebp - 4], 3
call fcn.004cb750
mov eax, dword [edi + 0xc]
add esp, 0x34
mov dword [ebp - 0x380], 0
cmp dword [eax + 4], 0
jle 0x4c2143
mov ecx, dword [edi + 0x10]
lea eax, [ebp - 0x38c]
push 0
push eax
call fcn.004c7bf0
mov ecx, dword [ebp - 0x38c]
mov byte [ebp - 4], 0xb
test ecx, ecx
je 0x4c2134
push 1
call fcn.004c4700
push dword [ebp - 0x39c]
mov ecx, dword [ebp - 0x38c]
push dword [ebp - 0x390]
push dword [ebp - 0x378]
push dword [ebp - 0x37c]
push dword [edi + 0x28]
call fcn.004c4710
mov dword [ebp - 0x384], eax
test eax, eax
jne 0x4c20dd
mov ecx, dword [ebp - 0x388]
inc dword [ebp - 0x380]
mov byte [ebp - 4], 3
mov dword [ebp - 0x384], ecx
test ecx, ecx
je 0x4c20c9
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
jne 0x4c20c9
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x384]
or eax, 0xffffffff
lock xadd dword [ecx + 8], eax
jne 0x4c20c9
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [edi + 0xc]
mov ecx, dword [ebp - 0x380]
cmp ecx, dword [eax + 4]
jl 0x4c2032
jmp 0x4c2143
push eax
call fcn.004bd420
mov ecx, dword [ebp - 0x38c]
add esp, 4
mov esi, eax
call fcn.004c42e0
push esi
push eax
mov eax, dword [edi + 0xc]
push str.Slice__d__start_downloading_failed:__s.
sub esp, 0x28
add eax, 0xd0
mov ecx, esp
push eax
call fcn.004c0e10
call fcn.004cb750
push dword [edi + 0x28]
call fcn.004379f0
add esp, 0x38
mov dword [edi + 0x28], 0
lea ecx, [ebp - 0x38c]
call fcn.00415ba0
jmp 0x4c1cde
lea ecx, [ebp - 0x38c]
mov byte [ebp - 4], 3
call fcn.00415ba0
cmp dword [ebp - 0x380], 0
mov eax, dword [edi + 0xc]
jne 0x4c2185
push str.No_available_slice.
sub esp, 0x28
add eax, 0xd0
mov ecx, esp
push eax
call fcn.004c0e10
call fcn.004cb750
push dword [edi + 0x28]
call fcn.004379f0
add esp, 0x30
mov dword [edi + 0x28], 0
mov esi, 1
jmp 0x4c1ce4
cmp dword [eax + 0xa4], 0
je 0x4c2254
push 0x24
call fcn.004cef99
add esp, 4
mov dword [ebp - 0x37c], eax
mov byte [ebp - 4], 0xc
test eax, eax
je 0x4c2213
sub esp, 8
lea ecx, [eax + 0xc]
xorps xmm0, xmm0
mov edx, esp
movq qword [eax], xmm0
mov dword [eax + 8], 0
mov dword [eax + 4], 1
mov dword [eax + 8], 1
mov dword [eax], vtable.std::_Ref_count_obj2_class_zoe::ProgressHandler_.0
mov eax, dword [edi + 0xc]
mov dword [ebp - 0x378], eax
mov dword [edx], 0
mov dword [edx + 4], 0
mov eax, dword [edi + 0x14]
test eax, eax
je 0x4c21f5
lock inc dword [eax + 4]
mov eax, dword [edi + 0x10]
push dword [ebp - 0x378]
mov dword [edx], eax
mov eax, dword [edi + 0x14]
mov dword [edx + 4], eax
call fcn.004c9ed0
mov ecx, dword [ebp - 0x37c]
jmp 0x4c2215
xor ecx, ecx
mov edx, dword [edi + 0x1c]
lea eax, [ecx + 0xc]
mov byte [ebp - 4], 3
mov dword [edi + 0x18], eax
mov dword [ebp - 0x378], edx
mov dword [edi + 0x1c], ecx
test edx, edx
je 0x4c2254
or eax, 0xffffffff
lock xadd dword [edx + 4], eax
jne 0x4c2254
mov eax, dword [edx]
mov ecx, edx
call dword [eax]
mov ecx, dword [ebp - 0x378]
or eax, 0xffffffff
lock xadd dword [ecx + 8], eax
jne 0x4c2254
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [edi + 0xc]
cmp dword [eax + 0xcc], 0
je 0x4c2346
mov ecx, dword [edi + 0x10]
call fcn.004c98a0
push 0x40
mov dword [ebp - 0x390], eax
mov dword [ebp - 0x37c], edx
call fcn.004cef99
add esp, 4
mov dword [ebp - 0x39c], eax
mov byte [ebp - 4], 0xd
test eax, eax
je 0x4c2305
sub esp, 8
lea ecx, [eax + 0x10]
xorps xmm0, xmm0
mov edx, esp
movq qword [eax], xmm0
mov dword [eax + 8], 0
mov dword [eax + 4], 1
mov dword [eax + 8], 1
mov dword [eax], vtable.std::_Ref_count_obj2_class_zoe::SpeedHandler_.0
mov eax, dword [edi + 0xc]
mov dword [ebp - 0x378], eax
mov dword [edx], 0
mov dword [edx + 4], 0
mov eax, dword [edi + 0x14]
test eax, eax
je 0x4c22db
lock inc dword [eax + 4]
push dword [ebp - 0x378]
mov eax, dword [edi + 0x10]
push dword [ebp - 0x37c]
mov dword [edx], eax
mov eax, dword [edi + 0x14]
push dword [ebp - 0x390]
mov dword [edx + 4], eax
call fcn.004caf60
mov ecx, dword [ebp - 0x39c]
jmp 0x4c2307
xor ecx, ecx
mov edx, dword [edi + 0x24]
lea eax, [ecx + 0x10]
mov byte [ebp - 4], 3
mov dword [edi + 0x20], eax
mov dword [ebp - 0x378], edx
mov dword [edi + 0x24], ecx
test edx, edx
je 0x4c2346
or eax, 0xffffffff
lock xadd dword [edx + 4], eax
jne 0x4c2346
mov eax, dword [edx]
mov ecx, edx
call dword [eax]
mov ecx, dword [ebp - 0x378]
or eax, 0xffffffff
lock xadd dword [ecx + 8], eax
jne 0x4c2346
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x3a8]
mov dword [ebp - 0x3a0], 0
push eax
push dword [edi + 0x28]
mov dword [ebp - 0x3a8], 0xffffffff
call fcn.00438240
mov ecx, dword [ebp - 0x3a8]
add esp, 8
test ecx, ecx
jle 0x4c23b4
mov eax, 0x10624dd3
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x3a4], eax
cmp eax, 1
jle 0x4c239e
mov dword [ebp - 0x3a4], 1
jmp 0x4c23c8
imul eax, eax, 0x3e8
sub ecx, eax
imul eax, ecx, 0x3e8
mov dword [ebp - 0x3a0], eax
jmp 0x4c23c8
mov dword [ebp - 0x3a4], 0
mov dword [ebp - 0x3a0], 0x186a0
lea eax, [ebp - 0x394]
mov dword [ebp - 0x3ac], 0xffffffff
push eax
push dword [edi + 0x28]
mov dword [ebp - 0x394], 0
call fcn.00437db0
mov eax, dword [edi + 0xc]
add esp, 8
add eax, 0xd0
push str.Start_downloading.
sub esp, 0x28
mov ecx, esp
push eax
call fcn.004c0e10
call fcn.004cb750
add esp, 0x2c
call fcn.004ea036
mov esi, eax
mov dword [ebp - 0x37c], esi
nop dword [eax + eax]
mov al, byte [edi + 0x35]
nop
test al, al
je 0x4c2478
mov ecx, dword [edi + 0xc]
add ecx, 0xf8
push 0x32
call fcn.004bfd20
test al, al
jne 0x4c2478
nop dword [eax]
mov eax, dword [edi + 0xc]
mov ecx, dword [eax + 0xfc]
test ecx, ecx
je 0x4c2456
call fcn.004bf330
test al, al
jne 0x4c2472
mov al, byte [edi + 0x35]
nop
test al, al
je 0x4c2472
mov ecx, dword [edi + 0xc]
add ecx, 0xf8
push 0x32
call fcn.004bfd20
test al, al
je 0x4c2440
mov esi, dword [ebp - 0x37c]
mov ecx, dword [edi + 0xc]
add ecx, 0xf8
call fcn.004bf330
test al, al
jne 0x4c2a85
mov eax, dword [edi + 0xc]
mov ecx, dword [eax + 0xfc]
test ecx, ecx
je 0x4c24a8
call fcn.004bf330
test al, al
jne 0x4c2a85
call fcn.004ea036
sub eax, esi
cmp eax, 0x2710
jl 0x4c24d3
mov ecx, dword [edi + 0x10]
call fcn.004c7290
mov ecx, dword [edi + 0x10]
call fcn.004c72c0
call fcn.004ea036
mov esi, eax
mov dword [ebp - 0x37c], esi
lea eax, [ebp - 0x3ac]
mov dword [ebp - 0x374], 0
push eax
lea eax, [ebp - 0x16c]
mov dword [ebp - 0x270], 0
push eax
lea eax, [ebp - 0x270]
mov dword [ebp - 0x16c], 0
push eax
lea eax, [ebp - 0x374]
push eax
push dword [edi + 0x28]
call fcn.00437af0
add esp, 0x14
mov dword [ebp - 0x378], eax
cmp eax, 0xffffffff
je 0x4c252b
test eax, eax
jne 0x4c2a55
mov eax, dword [ebp - 0x3ac]
cmp eax, 0xffffffff
jne 0x4c2552
mov dword [ebp - 0x3c4], 0x64
lea eax, [ebp - 0x3c4]
mov dword [ebp - 0x3c0], 0
jmp 0x4c2594
lea ecx, [ebp - 0x3a4]
inc eax
push ecx
lea ecx, [ebp - 0x16c]
push ecx
lea ecx, [ebp - 0x270]
push ecx
lea ecx, [ebp - 0x374]
push ecx
push eax
call sub.WS2_32.dll_select
cmp eax, 0xffffffff
jne 0x4c259d
mov dword [ebp - 0x3b8], 0x32
lea eax, [ebp - 0x3b8]
mov dword [ebp - 0x3b4], 0
push eax
call fcn.004c0bb0
add esp, 4
lea eax, [ebp - 0x394]
push eax
push dword [edi + 0x28]
call fcn.00437db0
mov ecx, dword [edi + 0xc]
add esp, 8
mov eax, dword [ebp - 0x394]
cmp eax, dword [ecx + 4]
jge 0x4c2a3a
mov ecx, edi
call fcn.004c3ba0
mov ecx, dword [edi + 0x10]
lea eax, [ebp - 0x38c]
push 0
push eax
call fcn.004c7bf0
mov ecx, dword [ebp - 0x38c]
mov byte [ebp - 4], 0xe
test ecx, ecx
jne 0x4c2909
mov ecx, dword [edi + 0x10]
lea eax, [ebp - 0x3cc]
push 3
push eax
call fcn.004c7bf0
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [ebp - 0x38c], ecx
mov ecx, dword [ebp - 0x388]
mov dword [ebp - 0x378], ecx
mov dword [ebp - 0x388], edx
test ecx, ecx
je 0x4c264d
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
jne 0x4c264d
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x378]
or eax, 0xffffffff
lock xadd dword [ecx + 8], eax
jne 0x4c264d
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x3c8]
mov dword [ebp - 0x378], ecx
test ecx, ecx
je 0x4c2680
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
jne 0x4c2680
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x378]
or eax, 0xffffffff
lock xadd dword [ecx + 8], eax
jne 0x4c2680
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x38c]
test ecx, ecx
je 0x4c2737
call fcn.004c40c0
mov ecx, dword [edi + 0xc]
cmp eax, dword [ecx + 0x24]
jl 0x4c26e0
mov ecx, dword [ebp - 0x388]
mov dword [ebp - 0x38c], 0
mov dword [ebp - 0x378], ecx
mov dword [ebp - 0x388], 0
test ecx, ecx
je 0x4c2a03
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
jne 0x4c28fb
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x378]
jmp 0x4c28ec
mov ecx, dword [ebp - 0x38c]
call fcn.004c42e0
push eax
mov eax, dword [edi + 0xc]
push str.Re_download_slice__d_.
sub esp, 0x28
mov ecx, esp
mov dword [ebp - 0x39c], ecx
mov dword [ecx + 0x24], 0
mov edx, dword [eax + 0xf4]
mov byte [ebp - 4], 0xf
test edx, edx
je 0x4c2726
mov eax, dword [edx]
push ecx
mov ecx, edx
mov eax, dword [eax]
call eax
mov ecx, dword [ebp - 0x39c]
mov dword [ecx + 0x24], eax
mov byte [ebp - 4], 0xe
call fcn.004cb750
add esp, 0x30
jmp 0x4c28fb
mov ecx, dword [edi + 0x10]
lea eax, [ebp - 0x3d4]
push 2
push eax
call fcn.004c7bf0
mov ecx, dword [eax]
mov dword [ebp - 0x390], ecx
mov ecx, dword [ebp - 0x3d0]
mov dword [ebp - 0x378], ecx
test ecx, ecx
je 0x4c2783
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
jne 0x4c2783
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x378]
or eax, 0xffffffff
lock xadd dword [ecx + 8], eax
jne 0x4c2783
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x390], 0
jne 0x4c28fb
mov ecx, dword [edi + 0x10]
lea eax, [ebp - 0x3dc]
push 5
push eax
call fcn.004c7bf0
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [ebp - 0x38c], ecx
mov ecx, dword [ebp - 0x388]
mov dword [ebp - 0x378], ecx
mov dword [ebp - 0x388], edx
test ecx, ecx
je 0x4c27f2
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
jne 0x4c27f2
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x378]
or eax, 0xffffffff
lock xadd dword [ecx + 8], eax
jne 0x4c27f2
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x3d8]
mov dword [ebp - 0x378], ecx
test ecx, ecx
je 0x4c2825
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
jne 0x4c2825
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x378]
or eax, 0xffffffff
lock xadd dword [ecx + 8], eax
jne 0x4c2825
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x38c], 0
je 0x4c2a03
mov ecx, dword [edi + 0x10]
call fcn.004c9250
and eax, edx
cmp eax, 0xffffffff
je 0x4c28a3
mov ecx, dword [edi + 0x10]
push 0
call fcn.004c7cb0
test eax, eax
je 0x4c28a3
mov ecx, dword [ebp - 0x38c]
call fcn.004c42e0
push eax
mov eax, dword [edi + 0xc]
push str.Re_download_slice__d_.
sub esp, 0x28
mov ecx, esp
mov dword [ebp - 0x384], ecx
mov dword [ecx + 0x24], 0
mov edx, dword [eax + 0xf4]
mov byte [ebp - 4], 0x10
test edx, edx
je 0x4c2895
mov eax, dword [edx]
push ecx
mov ecx, edx
mov eax, dword [eax]
call eax
mov ecx, dword [ebp - 0x384]
mov dword [ecx + 0x24], eax
mov byte [ebp - 4], 0xe
call fcn.004cb750
add esp, 0x30
jmp 0x4c28fb
mov ecx, dword [ebp - 0x38c]
push 4
call fcn.004c4700
mov ecx, dword [ebp - 0x388]
mov dword [ebp - 0x38c], 0
mov dword [ebp - 0x378], ecx
mov dword [ebp - 0x388], 0
test ecx, ecx
je 0x4c2a03
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
jne 0x4c28fb
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x378]
or eax, 0xffffffff
lock xadd dword [ecx + 8], eax
jne 0x4c28fb
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x38c]
test ecx, ecx
je 0x4c2a03
push 1
call fcn.004c4700
mov eax, dword [edi + 0xc]
mov edx, dword [ebp - 0x394]
inc edx
mov dword [ebp - 0x390], edx
mov ecx, dword [eax + 8]
mov dword [ebp - 0x380], ecx
mov ecx, dword [eax + 0xc]
test edx, edx
jle 0x4c2957
mov eax, dword [ebp - 0x380]
cdq
idiv dword [ebp - 0x390]
mov dword [ebp - 0x380], eax
cmp ecx, 0xffffffff
jne 0x4c294c
or ecx, ecx
jmp 0x4c2957
mov eax, ecx
cdq
idiv dword [ebp - 0x390]
mov ecx, eax
mov eax, ecx
mov ecx, dword [ebp - 0x38c]
cdq
push edx
push eax
mov eax, dword [ebp - 0x380]
cdq
push edx
push eax
push dword [edi + 0x28]
call fcn.004c4710
cmp dword [ebp - 0x394], 0
jg 0x4c2a03
test eax, eax
jne 0x4c2998
lea eax, [ebp - 0x394]
push eax
push dword [edi + 0x28]
call fcn.00437db0
add esp, 8
jmp 0x4c2a03
push eax
mov dword [ebp - 0x394], 1
call fcn.004bd420
mov ecx, dword [ebp - 0x38c]
add esp, 4
mov edi, eax
call fcn.004c42e0
push edi
push eax
mov eax, dword [ebp - 0x3b0]
push str.Slice__d__start_downloading_failed:__s.
sub esp, 0x28
mov edi, esp
mov eax, dword [eax]
mov dword [ebp - 0x3bc], edi
mov dword [edi + 0x24], 0
mov ecx, dword [eax + 0xf4]
mov byte [ebp - 4], 0x11
test ecx, ecx
je 0x4c29f1
mov eax, dword [ecx]
push edi
mov eax, dword [eax]
call eax
mov dword [edi + 0x24], eax
mov byte [ebp - 4], 0xe
call fcn.004cb750
mov edi, dword [ebp - 0x398]
add esp, 0x34
mov ecx, dword [ebp - 0x388]
mov byte [ebp - 4], 3
mov dword [ebp - 0x378], ecx
test ecx, ecx
je 0x4c2a3a
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
jne 0x4c2a3a
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x378]
or eax, 0xffffffff
lock xadd dword [ecx + 8], eax
jne 0x4c2a3a
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x394], 0
jg 0x4c2420
mov al, byte [edi + 0x35]
nop
test al, al
jne 0x4c2420
jmp 0x4c2a85
push eax
call fcn.00460b70
add esp, 4
push eax
push dword [ebp - 0x378]
mov eax, dword [edi + 0xc]
push str.curl_multi_fdset_failed__code:__ld__s_.
sub esp, 0x28
add eax, 0xd0
mov ecx, esp
push eax
call fcn.004c0e10
call fcn.004cb750
add esp, 0x34
push dword [edi + 0x28]
mov ecx, dword [edi + 0x10]
push 1
call fcn.004c6c70
mov edx, eax
mov eax, dword [edi + 0x28]
mov dword [ebp - 0x384], edx
test eax, eax
je 0x4c2ab7
push eax
call fcn.004379f0
mov edx, dword [ebp - 0x384]
add esp, 4
mov dword [edi + 0x28], 0
xor ecx, ecx
lea eax, [edi + 0x38]
xchg dword [eax], ecx
test edx, edx
jne 0x4c2ac9
xor esi, esi
jmp 0x4c1ce4
mov al, byte [edi + 0x34]
nop
test al, al
jne 0x4c2aef
mov eax, dword [edi + 0xc]
mov ecx, dword [eax + 0xfc]
test ecx, ecx
je 0x4c1cde
call fcn.004bf330
test al, al
je 0x4c1cde
mov esi, 0xc
jmp 0x4c1ce4
push ecx
push edx
call fcn.004cefc9
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004cefd7
mov esp, ebp
pop ebp
ret
call fcn.004d529e
call fcn.004d529e
int3