Function at 0x4144f0
Capabilities:
Get socket status

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x567bf5
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x3d0
mov eax, dword [0x5bfd00]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x39c], edi
mov edx, dword [edi + 0xc]
lea esi, [edi + 0xc]
cmp dword [edx + 0x114], 0xf
lea eax, [edx + 0x100]
jbe 0x414550
mov eax, dword [eax]
push eax
push str._DOWNLOAD_MANAGER__URL:__s.
sub esp, 0x28
mov ecx, esp
mov dword [ebp - 0x398], ecx
mov dword [ecx + 0x24], 0
mov dword [ebp - 4], 0
mov edx, dword [edx + 0xf4]
test edx, edx
je 0x41458b
mov eax, dword [edx]
push ecx
mov ecx, edx
mov eax, dword [eax]
call eax
mov ecx, dword [ebp - 0x398]
mov dword [ecx + 0x24], eax
mov dword [ebp - 4], 0xffffffff
call fcn.004469d0
mov eax, dword [esi]
add esp, 0x30
push dword [eax + 4]
push str._DOWNLOAD_MANAGER__Thread_number:__d.
sub esp, 0x28
mov ecx, esp
mov dword [ebp - 0x398], ecx
mov dword [ecx + 0x24], 0
mov dword [ebp - 4], 1
mov edx, dword [eax + 0xf4]
test edx, edx
je 0x4145d9
mov eax, dword [edx]
push ecx
mov ecx, edx
mov eax, dword [eax]
call eax
mov ecx, dword [ebp - 0x398]
mov dword [ecx + 0x24], eax
mov dword [ebp - 4], 0xffffffff
call fcn.004469d0
mov eax, dword [esi]
add esp, 0x30
push dword [eax + 8]
push str._DOWNLOAD_MANAGER__Disk_Cache_Size:__ld.
sub esp, 0x28
mov ecx, esp
mov dword [ebp - 0x398], ecx
mov dword [ecx + 0x24], 0
mov dword [ebp - 4], 2
mov edx, dword [eax + 0xf4]
test edx, edx
je 0x414627
mov eax, dword [edx]
push ecx
mov ecx, edx
mov eax, dword [eax]
call eax
mov ecx, dword [ebp - 0x398]
mov dword [ecx + 0x24], eax
mov dword [ebp - 4], 0xffffffff
call fcn.004469d0
mov edx, dword [esi]
add esp, 0x30
cmp dword [edx + 0x12c], 0xf
lea eax, [edx + 0x118]
jbe 0x414649
mov eax, dword [eax]
push eax
push str._DOWNLOAD_MANAGER__Target_file_path:__s.
sub esp, 0x28
mov ecx, esp
mov dword [ebp - 0x398], ecx
mov dword [ecx + 0x24], 0
mov dword [ebp - 4], 3
mov edx, dword [edx + 0xf4]
test edx, edx
je 0x414684
mov eax, dword [edx]
push ecx
mov ecx, edx
mov eax, dword [eax]
call eax
mov ecx, dword [ebp - 0x398]
mov dword [ecx + 0x24], eax
mov dword [ebp - 4], 0xffffffff
call fcn.004469d0
xorps xmm0, xmm0
mov dword [ebp - 0x58], 0
movups xmmword [ebp - 0x68], xmm0
add esp, 0x30
mov dword [ebp - 0x54], 0xf
movups xmmword [ebp - 0x50], xmm0
mov byte [ebp - 0x68], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0xf
mov byte [ebp - 0x50], 0
mov byte [ebp - 0x78], 1
mov dword [ebp - 0x70], 0xffffffff
mov dword [ebp - 0x6c], 0xffffffff
mov dword [ebp - 4], 4
mov dword [ebp - 0x3a4], 0
lea eax, [ebp - 0x78]
mov ecx, edi
push eax
mov eax, dword [esi]
add eax, 0x100
push eax
call fcn.00415840
test al, al
jne 0x414755
mov eax, dword [ebp - 0x3a4]
mov ecx, dword [esi]
inc eax
mov dword [ebp - 0x3a4], eax
cmp eax, dword [ecx + 0x1c]
jle 0x4146e5
push str._DOWNLOAD_MANAGER__Fetch_file_size_failed.
sub esp, 0x28
mov esi, esp
mov dword [ebp - 0x3ac], esi
mov dword [esi + 0x24], 0
mov byte [ebp - 4], 5
mov ecx, dword [ecx + 0xf4]
test ecx, ecx
je 0x41473f
mov eax, dword [ecx]
push esi
mov eax, dword [eax]
call eax
mov dword [esi + 0x24], eax
mov byte [ebp - 4], 4
call fcn.004469d0
add esp, 0x2c
mov esi, 0x1f
jmp 0x4156e7
push dword [ebp - 0x6c]
mov eax, dword [esi]
push dword [ebp - 0x70]
push str._DOWNLOAD_MANAGER__File_size:__lld.
sub esp, 0x28
mov ecx, esp
mov dword [ebp - 0x398], ecx
mov dword [ecx + 0x24], 0
mov byte [ebp - 4], 6
mov edx, dword [eax + 0xf4]
test edx, edx
je 0x414794
mov eax, dword [edx]
push ecx
mov ecx, edx
mov eax, dword [eax]
call eax
mov ecx, dword [ebp - 0x398]
mov dword [ecx + 0x24], eax
mov byte [ebp - 4], 4
call fcn.004469d0
mov eax, dword [ebp - 0x70]
add esp, 0x34
or eax, dword [ebp - 0x6c]
jne 0x4147cb
mov ecx, dword [esi]
push eax
push eax
add ecx, 0x118
call fcn.0041bbf0
xor ecx, ecx
add esp, 8
test al, al
mov esi, 0x14
cmovne esi, ecx
jmp 0x4156e7
cmp dword [edi + 0x10], 0
je 0x4147e9
push 0xd2
push str.D:PROVINCEprovince.launcherBackendVendor_teemo_srcentry_handler.cpp
push str._slice_manager_
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
add esp, 0xc
lea eax, [ebp - 0x50]
mov edx, esi
push eax
lea ecx, [ebp - 0x3c0]
call fcn.00417970
add esp, 4
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 - 0x398], ecx
mov dword [edi + 0x14], edx
test ecx, ecx
je 0x414851
mov byte [ebp - 4], 7
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
jne 0x41484d
mov eax, dword [ecx]
call dword [eax]
mov byte [ebp - 4], 8
or eax, 0xffffffff
mov ecx, dword [ebp - 0x398]
lock xadd dword [ecx + 8], eax
jne 0x41484d
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x3bc]
mov dword [ebp - 0x398], ecx
test ecx, ecx
je 0x414890
mov byte [ebp - 4], 9
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
jne 0x41488c
mov eax, dword [ecx]
call dword [eax]
mov byte [ebp - 4], 0xa
or eax, 0xffffffff
mov ecx, dword [ebp - 0x398]
lock xadd dword [ecx + 8], eax
jne 0x41488c
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 4
mov ecx, dword [edi + 0x10]
lea eax, [ebp - 0x68]
push eax
push dword [ebp - 0x6c]
push dword [ebp - 0x70]
call fcn.0041fb30
test eax, eax
je 0x4148cd
mov edx, dword [edi + 0x10]
mov ecx, dword [ebp - 0x6c]
mov eax, dword [ebp - 0x70]
mov dword [edx + 0x28], eax
mov dword [edx + 0x2c], ecx
push dword [ebp - 0x78]
mov ecx, dword [edi + 0x10]
call fcn.00420c30
mov esi, eax
test esi, esi
jne 0x4156e7
lea esi, [edi + 0xc]
mov ecx, dword [edi + 0x10]
push 0
call fcn.004212e0
test eax, eax
jne 0x41492c
mov eax, dword [esi]
push str._DOWNLOAD_MANAGER__All_of_slices_have_been_downloaded.
sub esp, 0x28
mov esi, esp
mov dword [ebp - 0x3ac], esi
mov dword [esi + 0x24], 0
mov byte [ebp - 4], 0xb
mov ecx, dword [eax + 0xf4]
test ecx, ecx
je 0x41490c
mov eax, dword [ecx]
push esi
mov eax, dword [eax]
call eax
mov dword [esi + 0x24], eax
mov byte [ebp - 4], 4
call fcn.004469d0
mov ecx, dword [edi + 0x10]
add esp, 0x2c
push dword [edi + 0x28]
push 0
call fcn.004215d0
mov esi, eax
jmp 0x4156e7
call fcn.0049aed0
mov edx, dword [esi]
mov dword [edi + 0x28], eax
mov dword [ebp - 0x3a0], edx
test eax, eax
jne 0x414968
push str._DOWNLOAD_MANAGER__curl_multi_init_failed.
sub esp, 0x28
lea eax, [edx + 0xd0]
mov ecx, esp
push eax
call fcn.0040a8c0
call fcn.004469d0
add esp, 0x2c
mov esi, 0x11
jmp 0x4156e7
lea eax, [edx + 4]
xor edx, edx
mov dword [ebp - 0x398], eax
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x3a4], edx
mov ecx, dword [eax + 0x64]
mov dword [ebp - 0x3a8], ecx
mov ecx, dword [eax + 0x60]
cmp ecx, dword [ebp - 0x3a8]
je 0x414a61
xor edi, edi
mov edx, dword [ecx]
test edx, edx
je 0x414a3b
mov eax, dword [edx + 0x18]
mov dword [ebp - 0x394], eax
mov eax, dword [edx + 0x1c]
mov dword [ebp - 0x3a0], eax
mov eax, dword [ebp - 0x394]
and eax, dword [ebp - 0x3a0]
cmp eax, 0xffffffff
je 0x414a2c
mov eax, dword [ebp - 0x394]
sub eax, dword [edx + 0x10]
movq xmm0, qword [edx + 0x20]
mov dword [ebp - 0x394], eax
mov eax, dword [ebp - 0x3a0]
sbb eax, dword [edx + 0x14]
add dword [ebp - 0x394], 1
movq qword [ebp - 0x20], xmm0
adc eax, 0
mov dword [ebp - 0x3a0], eax
mov eax, dword [ebp - 0x20]
nop
movq xmm0, qword [edx + 0x38]
movq qword [ebp - 0x3b0], xmm0
nop
add eax, dword [ebp - 0x3b0]
mov edx, dword [ebp - 0x1c]
adc edx, dword [ebp - 0x3ac]
mov edi, dword [ebp - 0x3a4]
cmp dword [ebp - 0x394], eax
jne 0x414a2c
cmp dword [ebp - 0x3a0], edx
je 0x414a3b
mov eax, dword [ecx]
cmp dword [eax + 0x44], 0
jne 0x414a3b
inc edi
mov dword [ebp - 0x3a4], edi
add ecx, 8
cmp ecx, dword [ebp - 0x3a8]
jne 0x414996
mov edi, dword [ebp - 0x39c]
mov edx, dword [ebp - 0x3a4]
mov ecx, dword [edi + 0xc]
mov dword [ebp - 0x3a0], ecx
jmp 0x414a63
mov ecx, dword [esi]
mov edi, dword [ebp - 0x398]
lea eax, [ebp - 0x3a8]
mov dword [ebp - 0x3a8], edx
cmp dword [edi], edx
mov edx, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
cmovl eax, edi
mov eax, dword [eax]
mov dword [ebp - 0x398], eax
mov dword [ebp - 0x3a8], edx
test eax, eax
jle 0x414ab5
mov eax, edx
cdq
idiv dword [ebp - 0x398]
mov dword [ebp - 0x3a8], eax
cmp ecx, 0xffffffff
jne 0x414aaa
or ecx, ecx
jmp 0x414ab5
mov eax, ecx
cdq
idiv dword [ebp - 0x398]
mov ecx, eax
mov eax, ecx
cdq
mov dword [ebp - 0x3a4], eax
mov eax, dword [ebp - 0x3a8]
mov dword [ebp - 0x398], edx
cdq
mov ecx, eax
mov eax, edx
push eax
push ecx
push str._DOWNLOAD_MANAGER__Disk_cache_per_slice:__lld.
mov dword [ebp - 0x3a8], eax
sub esp, 0x28
mov eax, dword [ebp - 0x3a0]
mov dword [ebp - 0x394], ecx
add eax, 0xd0
mov ecx, esp
push eax
call fcn.0040a8c0
call fcn.004469d0
mov eax, dword [esi]
add esp, 0x34
add eax, 0xd0
push dword [ebp - 0x398]
push dword [ebp - 0x3a4]
push str._DOWNLOAD_MANAGER__Max_speed_per_slice:__lld.
sub esp, 0x28
mov ecx, esp
push eax
call fcn.0040a8c0
call fcn.004469d0
mov eax, dword [esi]
add esp, 0x34
mov edi, dword [ebp - 0x39c]
mov dword [ebp - 0x3a0], 0
cmp dword [eax + 4], 0
jle 0x4156b1
mov ecx, dword [edi + 0x10]
lea eax, [ebp - 0x20]
push 0
xorps xmm0, xmm0
push eax
movlpd qword [ebp - 0x20], xmm0
call fcn.0041fa70
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x414c88
push dword [ebp - 0x398]
mov dword [eax + 0x44], 1
mov ecx, eax
push dword [ebp - 0x3a4]
push dword [ebp - 0x3a8]
push dword [ebp - 0x394]
push dword [edi + 0x28]
call fcn.00448ad0
mov esi, eax
mov eax, dword [ebp - 0x20]
test esi, esi
jne 0x414c3f
push dword [eax + 8]
mov eax, dword [edi + 0xc]
push str._DOWNLOAD_MANAGER__Slice__d__start_downloading.
sub esp, 0x28
mov esi, esp
mov dword [ebp - 0x3ac], esi
mov dword [esi + 0x24], 0
mov byte [ebp - 4], 0xd
mov ecx, dword [eax + 0xf4]
test ecx, ecx
je 0x414bd7
mov eax, dword [ecx]
push esi
mov eax, dword [eax]
call eax
mov dword [esi + 0x24], eax
mov byte [ebp - 4], 0xc
call fcn.004469d0
mov ecx, dword [ebp - 0x3a0]
add esp, 0x30
inc ecx
mov byte [ebp - 4], 4
mov esi, dword [ebp - 0x1c]
mov dword [ebp - 0x3a0], ecx
test esi, esi
je 0x414c2e
mov byte [ebp - 4], 0xe
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x414c2a
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov byte [ebp - 4], 0xf
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x414c24
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [ebp - 0x3a0]
mov byte [ebp - 4], 4
mov eax, dword [edi + 0xc]
lea esi, [edi + 0xc]
cmp ecx, dword [eax + 4]
jl 0x414b47
jmp 0x414c9a
push dword [esi*4 + 0x59e2b0]
push dword [eax + 8]
mov eax, dword [edi + 0xc]
push str._DOWNLOAD_MANAGER__Slice__d__start_downloading_failed:__s.
sub esp, 0x28
add eax, 0xd0
mov ecx, esp
push eax
call fcn.0040a8c0
call fcn.004469d0
add esp, 0x34
push dword [edi + 0x28]
call fcn.0049aba0
add esp, 4
mov dword [edi + 0x28], 0
lea ecx, [ebp - 0x20]
call fcn.00416560
jmp 0x4156e7
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 4
call fcn.00416560
mov ecx, dword [ebp - 0x3a0]
test ecx, ecx
je 0x4156b1
mov eax, dword [edi + 0xc]
cmp dword [eax + 0xa4], 0
je 0x414d5d
push 0x24
call fcn.00563322
mov dword [ebp - 0x39c], eax
mov byte [ebp - 4], 0x10
lea esi, [eax + 0xc]
push ecx
xorps xmm0, xmm0
mov ecx, 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_teemo::ProgressHandler_.0
mov edx, dword [edi + 0xc]
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov eax, dword [edi + 0x14]
test eax, eax
je 0x414d06
lock inc dword [eax + 4]
mov eax, dword [edi + 0x10]
mov dword [ecx], eax
mov eax, dword [edi + 0x14]
mov dword [ecx + 4], eax
mov ecx, esi
push edx
call fcn.00446bf0
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x39c]
mov dword [edi + 0x18], esi
mov esi, dword [edi + 0x1c]
mov dword [edi + 0x1c], eax
test esi, esi
je 0x414d5d
mov byte [ebp - 4], 0x11
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x414d59
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov byte [ebp - 4], 0x12
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x414d59
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov byte [ebp - 4], 4
mov eax, dword [edi + 0xc]
cmp dword [eax + 0xcc], 0
je 0x414e56
mov ecx, dword [edi + 0x10]
call fcn.00421270
push 0x40
mov dword [ebp - 0x398], eax
mov dword [ebp - 0x39c], edx
call fcn.00563322
mov dword [ebp - 0x3a8], eax
mov byte [ebp - 4], 0x15
lea esi, [eax + 0x10]
push ecx
xorps xmm0, xmm0
mov ecx, 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_teemo::SpeedHandler_.0
mov edx, dword [edi + 0xc]
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov eax, dword [edi + 0x14]
test eax, eax
je 0x414dd5
lock inc dword [eax + 4]
mov eax, dword [edi + 0x10]
push edx
push dword [ebp - 0x39c]
mov dword [ecx], eax
mov eax, dword [edi + 0x14]
push dword [ebp - 0x398]
mov dword [ecx + 4], eax
mov ecx, esi
call fcn.00443db0
mov byte [ebp - 4], 4
xorps xmm0, xmm0
mov eax, dword [ebp - 0x3a8]
mov dword [edi + 0x20], esi
mov esi, dword [edi + 0x24]
movlpd qword [ebp - 0x20], xmm0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [edi + 0x24], eax
test esi, esi
je 0x414e4e
mov byte [ebp - 4], 0x16
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x414e4a
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov byte [ebp - 4], 0x17
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x414e4a
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x20]
call fcn.004168a0
lea eax, [ebp - 0x30]
mov dword [ebp - 0x2c], 1
push eax
push dword [edi + 0x28]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x30], 0xffffffff
call fcn.0049b510
mov ecx, dword [ebp - 0x30]
add esp, 8
test ecx, ecx
jle 0x414eb6
mov eax, 0x10624dd3
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x2c], eax
cmp eax, 1
jle 0x414ea3
mov dword [ebp - 0x2c], 1
jmp 0x414ec4
imul eax, eax, 0x3e8
sub ecx, eax
imul eax, ecx, 0x3e8
mov dword [ebp - 0x28], eax
jmp 0x414ec4
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0x186a0
lea eax, [ebp - 0x24]
mov dword [ebp - 0x34], 0xffffffff
push eax
push dword [edi + 0x28]
mov dword [ebp - 0x24], 0
call fcn.0049afb0
mov eax, dword [edi + 0xc]
add esp, 8
add eax, 0xd0
push str._DOWNLOAD_MANAGER__Start_downloading.
sub esp, 0x28
mov ecx, esp
push eax
call fcn.0040a8c0
call fcn.004469d0
add esp, 0x2c
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll_clock]
mov esi, eax
nop dword [eax]
mov al, byte [edi + 0x35]
nop
test al, al
je 0x414f56
nop dword [eax + eax]
mov eax, dword [edi + 0xc]
mov ecx, dword [eax + 0xf8]
test ecx, ecx
je 0x414f38
push 0x32
call fcn.00407f60
test al, al
jne 0x414f56
mov eax, dword [edi + 0xc]
mov ecx, dword [eax + 0xfc]
test ecx, ecx
je 0x414f4e
call fcn.00408450
test al, al
jne 0x414f56
mov al, byte [edi + 0x35]
nop
test al, al
jne 0x414f20
mov ecx, dword [edi + 0xc]
add ecx, 0xf8
call fcn.00408450
test al, al
jne 0x415619
mov eax, dword [edi + 0xc]
mov ecx, dword [eax + 0xfc]
test ecx, ecx
je 0x414f86
call fcn.00408450
test al, al
jne 0x415619
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll_clock]
sub eax, esi
cmp eax, 0x2710
jl 0x414fad
mov ecx, dword [edi + 0x10]
call fcn.00420970
mov ecx, dword [edi + 0x10]
call fcn.00421940
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll_clock]
mov esi, eax
lea eax, [ebp - 0x34]
mov dword [ebp - 0x390], 0
push eax
lea eax, [ebp - 0x180]
mov dword [ebp - 0x288], 0
push eax
lea eax, [ebp - 0x288]
mov dword [ebp - 0x180], 0
push eax
lea eax, [ebp - 0x390]
push eax
push dword [edi + 0x28]
call fcn.0049aca0
add esp, 0x14
mov dword [ebp - 0x39c], eax
cmp eax, 0xffffffff
je 0x415002
test eax, eax
jne 0x4155e9
mov eax, dword [ebp - 0x34]
cmp eax, 0xffffffff
jne 0x415026
mov dword [ebp - 0x3c8], 0x64
lea ecx, [ebp - 0x3c8]
mov dword [ebp - 0x3c4], 0
jmp 0x415066
lea ecx, [ebp - 0x2c]
inc eax
push ecx
lea ecx, [ebp - 0x180]
push ecx
lea ecx, [ebp - 0x288]
push ecx
lea ecx, [ebp - 0x390]
push ecx
push eax
call dword [sym.imp.WS2_32.dll_select]
cmp eax, 0xffffffff
jne 0x41506b
mov dword [ebp - 0x3c0], 0x32
lea ecx, [ebp - 0x3c0]
mov dword [ebp - 0x3bc], 0
call fcn.00417d60
lea eax, [ebp - 0x24]
push eax
push dword [edi + 0x28]
call fcn.0049afb0
mov ecx, dword [edi + 0xc]
add esp, 8
mov eax, dword [ebp - 0x24]
cmp eax, dword [ecx + 4]
jge 0x4155d1
mov ecx, edi
call fcn.00416170
mov ecx, dword [edi + 0x10]
lea eax, [ebp - 0x20]
push 0
xorps xmm0, xmm0
push eax
movlpd qword [ebp - 0x20], xmm0
call fcn.0041fa70
mov byte [ebp - 4], 0x18
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x394], ecx
test ecx, ecx
jne 0x41549e
mov ecx, dword [edi + 0x10]
lea eax, [ebp - 0x3d0]
push 3
push eax
call fcn.0041fa70
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [ebp - 0x394], ecx
mov dword [ebp - 0x20], ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x3a4], edx
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [ebp - 0x39c], ecx
mov dword [ebp - 0x3a0], edx
mov dword [ebp - 0x1c], edx
test ecx, ecx
je 0x415132
mov byte [ebp - 4], 0x19
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
jne 0x41512e
mov eax, dword [ecx]
call dword [eax]
mov byte [ebp - 4], 0x1a
or eax, 0xffffffff
mov ecx, dword [ebp - 0x39c]
lock xadd dword [ecx + 8], eax
jne 0x41512e
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x18
mov ecx, dword [ebp - 0x3cc]
mov dword [ebp - 0x39c], ecx
test ecx, ecx
je 0x415171
mov byte [ebp - 4], 0x1b
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
jne 0x41516d
mov eax, dword [ecx]
call dword [eax]
mov byte [ebp - 4], 0x1c
or eax, 0xffffffff
mov ecx, dword [ebp - 0x39c]
lock xadd dword [ecx + 8], eax
jne 0x41516d
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x18
mov ecx, dword [ebp - 0x394]
test ecx, ecx
je 0x41529a
mov edx, dword [edi + 0xc]
mov eax, dword [ecx + 0x48]
cmp eax, dword [edx + 0x24]
jl 0x4151e9
mov edx, dword [ebp - 0x3a4]
xor ecx, ecx
xor eax, eax
mov dword [ebp - 0x394], ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x3a0], eax
mov dword [ebp - 0x1c], eax
test edx, edx
je 0x415235
mov byte [ebp - 4], 0x1d
or eax, 0xffffffff
lock xadd dword [edx + 4], eax
jne 0x4151e3
mov eax, dword [edx]
mov ecx, edx
call dword [eax]
mov edx, dword [ebp - 0x3a4]
or eax, 0xffffffff
mov byte [ebp - 4], 0x1e
lock xadd dword [edx + 8], eax
jne 0x4151dd
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 4]
mov ecx, dword [ebp - 0x394]
mov byte [ebp - 4], 0x18
jmp 0x415235
push dword [ecx + 8]
push str._DOWNLOAD_MANAGER__Re_download_slice__d_.
sub esp, 0x28
mov ecx, esp
mov dword [ebp - 0x398], ecx
mov dword [ecx + 0x24], 0
mov byte [ebp - 4], 0x1f
mov edx, dword [edx + 0xf4]
test edx, edx
je 0x415223
mov eax, dword [edx]
push ecx
mov ecx, edx
mov eax, dword [eax]
call eax
mov ecx, dword [ebp - 0x398]
mov dword [ecx + 0x24], eax
mov byte [ebp - 4], 0x18
call fcn.004469d0
add esp, 0x30
mov ecx, dword [ebp - 0x394]
test ecx, ecx
je 0x415592
mov dword [ecx + 0x44], 1
mov eax, dword [edi + 0xc]
mov edx, dword [ebp - 0x24]
inc edx
mov dword [ebp - 0x39c], edx
mov ecx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x3a4], ecx
mov ecx, dword [ebp - 0x394]
mov dword [ebp - 0x3a8], eax
test edx, edx
jle 0x4154b3
mov eax, dword [ebp - 0x3a4]
cdq
idiv dword [ebp - 0x39c]
mov dword [ebp - 0x3a4], eax
mov eax, dword [ebp - 0x3a8]
cmp eax, 0xffffffff
jne 0x4154ac
or eax, eax
jmp 0x4154b3
mov ecx, dword [edi + 0x10]
lea eax, [ebp - 0x3d8]
push 2
push eax
call fcn.0041fa70
mov ecx, dword [ebp - 0x3d4]
mov dword [ebp - 0x3a8], ecx
mov edx, dword [eax]
mov dword [ebp - 0x39c], edx
test ecx, ecx
je 0x4152f8
mov byte [ebp - 4], 0x20
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
jne 0x4152f4
mov eax, dword [ecx]
call dword [eax]
mov byte [ebp - 4], 0x21
or eax, 0xffffffff
mov ecx, dword [ebp - 0x3a8]
lock xadd dword [ecx + 8], eax
jne 0x4152ee
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x39c]
mov byte [ebp - 4], 0x18
test edx, edx
jne 0x41522f
mov ecx, dword [edi + 0x10]
lea eax, [ebp - 0x3e0]
push 5
push eax
call fcn.0041fa70
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [ebp - 0x394], ecx
mov dword [ebp - 0x20], ecx
mov ecx, dword [ebp - 0x3a4]
mov dword [ebp - 0x39c], edx
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [ebp - 0x3a0], edx
mov dword [ebp - 0x1c], edx
test ecx, ecx
je 0x415376
mov byte [ebp - 4], 0x22
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
jne 0x415372
mov eax, dword [ecx]
call dword [eax]
mov edx, dword [ebp - 0x3a4]
or eax, 0xffffffff
mov byte [ebp - 4], 0x23
lock xadd dword [edx + 8], eax
jne 0x415372
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 4]
mov byte [ebp - 4], 0x18
mov ecx, dword [ebp - 0x3dc]
mov dword [ebp - 0x3a8], ecx
test ecx, ecx
je 0x4153b5
mov byte [ebp - 4], 0x24
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
jne 0x4153b1
mov eax, dword [ecx]
call dword [eax]
mov byte [ebp - 4], 0x25
or eax, 0xffffffff
mov ecx, dword [ebp - 0x3a8]
lock xadd dword [ecx + 8], eax
jne 0x4153b1
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x18
mov ecx, dword [ebp - 0x394]
test ecx, ecx
je 0x415592
mov edx, dword [edi + 0x10]
mov eax, dword [edx + 0x28]
and eax, dword [edx + 0x2c]
cmp eax, 0xffffffff
je 0x41542d
push 0
mov ecx, edx
call fcn.004212e0
test eax, eax
je 0x415427
mov eax, dword [ebp - 0x394]
push dword [eax + 8]
mov eax, dword [edi + 0xc]
push str._DOWNLOAD_MANAGER__Re_download_slice__d_.
sub esp, 0x28
mov ecx, esp
mov dword [ebp - 0x3b4], ecx
mov dword [ecx + 0x24], 0
mov byte [ebp - 4], 0x28
mov edx, dword [eax + 0xf4]
test edx, edx
je 0x415223
mov eax, dword [edx]
push ecx
mov ecx, edx
mov eax, dword [eax]
call eax
mov ecx, dword [ebp - 0x3b4]
jmp 0x415220
mov ecx, dword [ebp - 0x394]
mov edx, dword [ebp - 0x39c]
xor eax, eax
mov dword [ecx + 0x44], 4
xor ecx, ecx
mov dword [ebp - 0x394], ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x3a0], eax
mov dword [ebp - 0x1c], eax
test edx, edx
je 0x415235
mov byte [ebp - 4], 0x26
or eax, 0xffffffff
lock xadd dword [edx + 4], eax
jne 0x4151e3
mov eax, dword [edx]
mov ecx, edx
call dword [eax]
mov byte [ebp - 4], 0x27
or eax, 0xffffffff
mov edx, dword [ebp - 0x39c]
lock xadd dword [edx + 8], eax
jne 0x4151dd
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 4]
mov ecx, dword [ebp - 0x394]
mov byte [ebp - 4], 0x18
jmp 0x415235
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x3a0], edx
jmp 0x415235
cdq
idiv dword [ebp - 0x39c]
cdq
push edx
push eax
mov eax, dword [ebp - 0x3a4]
cdq
push edx
push eax
push dword [edi + 0x28]
call fcn.00448ad0
cmp dword [ebp - 0x24], 0
jg 0x415592
test eax, eax
jne 0x415535
lea eax, [ebp - 0x24]
push eax
push dword [edi + 0x28]
call fcn.0049afb0
mov eax, dword [ebp - 0x394]
add esp, 8
push dword [eax + 8]
mov eax, dword [edi + 0xc]
push str._DOWNLOAD_MANAGER__Slice__d__start_downloading.
sub esp, 0x28
mov ecx, esp
mov dword [ebp - 0x3b8], ecx
mov dword [ecx + 0x24], 0
mov byte [ebp - 4], 0x29
mov edx, dword [eax + 0xf4]
test edx, edx
je 0x415527
mov eax, dword [edx]
push ecx
mov ecx, edx
mov eax, dword [eax]
call eax
mov ecx, dword [ebp - 0x3b8]
mov dword [ecx + 0x24], eax
mov byte [ebp - 4], 0x18
call fcn.004469d0
add esp, 0x30
jmp 0x415592
push dword [eax*4 + 0x59e2b0]
mov eax, dword [ebp - 0x394]
mov dword [ebp - 0x24], 1
push dword [eax + 8]
mov eax, dword [edi + 0xc]
push str._DOWNLOAD_MANAGER__Slice__d__start_downloading_failed:__s.
sub esp, 0x28
mov ecx, esp
mov dword [ebp - 0x3ac], ecx
mov dword [ecx + 0x24], 0
mov byte [ebp - 4], 0x2a
mov edx, dword [eax + 0xf4]
test edx, edx
je 0x415586
mov eax, dword [edx]
push ecx
mov ecx, edx
mov eax, dword [eax]
call eax
mov ecx, dword [ebp - 0x3ac]
mov dword [ecx + 0x24], eax
mov byte [ebp - 4], 0x18
call fcn.004469d0
add esp, 0x34
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x3a0]
test ecx, ecx
je 0x4155d1
mov byte [ebp - 4], 0x2b
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
jne 0x4155cd
mov eax, dword [ecx]
call dword [eax]
mov byte [ebp - 4], 0x2c
or eax, 0xffffffff
mov edx, dword [ebp - 0x3a0]
lock xadd dword [edx + 8], eax
jne 0x4155cd
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 4]
mov byte [ebp - 4], 4
cmp dword [ebp - 0x24], 0
jg 0x414f10
mov al, byte [edi + 0x35]
nop
test al, al
jne 0x414f10
jmp 0x415619
push eax
call fcn.004b6bf0
add esp, 4
push eax
push dword [ebp - 0x39c]
mov eax, dword [edi + 0xc]
push str._DOWNLOAD_MANAGER__curl_multi_fdset_failed__code:__ld__s_.
sub esp, 0x28
add eax, 0xd0
mov ecx, esp
push eax
call fcn.0040a8c0
call fcn.004469d0
add esp, 0x34
mov eax, dword [edi + 0xc]
push str._DOWNLOAD_MANAGER__Downloading_end.
sub esp, 0x28
add eax, 0xd0
mov ecx, esp
push eax
call fcn.0040a8c0
call fcn.004469d0
mov ecx, dword [edi + 0x10]
add esp, 0x2c
push dword [edi + 0x28]
push 1
call fcn.004215d0
mov esi, eax
mov eax, dword [edi + 0x28]
test eax, eax
je 0x41565f
push eax
call fcn.0049aba0
add esp, 4
mov dword [edi + 0x28], 0
lea ecx, [edi + 0x38]
xor eax, eax
xchg dword [ecx], eax
test esi, esi
jne 0x41568c
mov eax, dword [edi + 0xc]
push str._DOWNLOAD_MANAGER__All_success_
sub esp, 0x28
add eax, 0xd0
mov ecx, esp
push eax
call fcn.0040a8c0
call fcn.004469d0
add esp, 0x2c
jmp 0x4156e7
mov al, byte [edi + 0x34]
nop
test al, al
jne 0x4156aa
mov eax, dword [edi + 0xc]
mov ecx, dword [eax + 0xfc]
test ecx, ecx
je 0x4156e7
call fcn.00408450
test al, al
je 0x4156e7
mov esi, 0xc
jmp 0x4156e7
mov eax, dword [esi]
push str._DOWNLOAD_MANAGER__No_available_slice.
sub esp, 0x28
add eax, 0xd0
mov ecx, esp
push eax
call fcn.0040a8c0
call fcn.004469d0
add esp, 0x2c
push dword [edi + 0x28]
call fcn.0049aba0
add esp, 4
mov dword [edi + 0x28], 0
mov esi, 1
mov ecx, dword [ebp - 0x3c]
cmp ecx, 0xf
jbe 0x415717
mov edx, dword [ebp - 0x50]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41570d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41574f
push ecx
push edx
call fcn.00563352
add esp, 8
mov ecx, dword [ebp - 0x54]
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0xf
mov byte [ebp - 0x50], 0
cmp ecx, 0xf
jbe 0x41575f
mov edx, dword [ebp - 0x68]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x415755
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x415755
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00563352
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 - 0x14]
xor ecx, ebp
call fcn.00563360
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret