Function at 0x6729f8
Capabilities:
Get socket status
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7cda8d
mov eax, dword fs:[0]
push eax
mov eax, 0x31ac
call fcn.00721650
mov eax, dword [0x904fe8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x3194], esi
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x180]
and dword [ebp - 0x2188], 0
and dword [ebp - 0x318c], 0
mov dword [ebp - 0x31b0], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x31a8], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x31ac], eax
mov eax, dword [esi + 0x358]
mov dword [ebp - 0x1180], eax
xor eax, eax
inc eax
mov dword [ebp - 0x3198], eax
mov dword [ebp - 0x1184], eax
lea eax, [esi + 0x94]
push eax
call fcn.0067215a
mov eax, dword [ebp - 0x178]
xor ecx, ecx
and dword [ebp - 4], 0
mov dword [ebp - 0x3190], eax
mov dword [ebp - 0x31a0], ecx
test eax, eax
je 0x672bdc
mov edi, dword [ebp - 0x1184]
mov esi, eax
mov eax, dword [ebp - 0x17c]
mov edx, dword [eax + ecx*4]
mov eax, dword [edx + 4]
test al, 1
je 0x672afb
xor ecx, ecx
test edi, edi
je 0x672ad6
mov eax, dword [edx]
cmp dword [ebp + ecx*4 - 0x1180], eax
je 0x672ad6
inc ecx
cmp ecx, edi
jb 0x672ac8
cmp ecx, edi
jne 0x672af8
cmp edi, 0x400
jae 0x672af8
mov eax, dword [edx]
mov dword [ebp + ecx*4 - 0x1180], eax
mov edi, dword [ebp - 0x1184]
inc edi
mov dword [ebp - 0x1184], edi
mov eax, dword [edx + 4]
test al, 2
je 0x672b44
mov eax, dword [ebp - 0x2188]
xor ecx, ecx
test eax, eax
je 0x672b27
mov esi, dword [ebp - 0x3190]
mov edi, dword [edx]
cmp dword [ebp + ecx*4 - 0x2184], edi
je 0x672b21
inc ecx
cmp ecx, eax
jb 0x672b13
mov edi, dword [ebp - 0x1184]
cmp ecx, eax
jne 0x672b41
cmp eax, 0x400
jae 0x672b41
mov eax, dword [edx]
mov dword [ebp + ecx*4 - 0x2184], eax
inc dword [ebp - 0x2188]
mov eax, dword [edx + 4]
test eax, eax
je 0x672b8a
mov eax, dword [ebp - 0x318c]
xor ecx, ecx
test eax, eax
je 0x672b70
mov esi, dword [ebp - 0x3190]
mov edi, dword [edx]
cmp dword [ebp + ecx*4 - 0x3188], edi
je 0x672b6a
inc ecx
cmp ecx, eax
jb 0x672b5c
mov edi, dword [ebp - 0x1184]
cmp ecx, eax
jne 0x672b8a
cmp eax, 0x400
jae 0x672b8a
mov eax, dword [edx]
mov dword [ebp + ecx*4 - 0x3188], eax
inc dword [ebp - 0x318c]
mov ecx, dword [ebp - 0x31a0]
inc ecx
mov dword [ebp - 0x31a0], ecx
cmp ecx, esi
jb 0x672ab0
test esi, esi
mov esi, dword [ebp - 0x3194]
je 0x672bdc
push dword [esi + 0x2dc]
add esi, 0x2d8
push dword [esi]
push dword [0x86e1dc]
push dword [0x86e1d8]
call fcn.0063a7a4
add esp, 0x10
mov ecx, 0x86e1d8
test al, al
cmove ecx, esi
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
jmp 0x672be8
mov eax, dword [esi + 0x2d8]
mov ecx, dword [esi + 0x2dc]
push ebx
push 0
push 0x3b9aca00
push ecx
push eax
call fcn.00720cd0
mov esi, ebx
pop ebx
push 0
push 0x3e8
push esi
push ecx
mov edi, eax
mov dword [ebp - 0x31a0], edx
call fcn.00720b60
mov dword [ebp - 0x31b4], eax
xor ecx, ecx
cmp dword [ebp - 0x318c], ecx
lea eax, [ebp - 0x31b8]
push eax
lea eax, [ebp - 0x318c]
mov dword [ebp - 0x31b8], edi
cmove eax, ecx
cmp dword [ebp - 0x2188], ecx
push eax
lea eax, [ebp - 0x2188]
cmove eax, ecx
push eax
lea eax, [ebp - 0x1184]
push eax
mov eax, dword [ebp - 0x3190]
inc eax
push eax
call dword [sym.imp.WS2_32.dll_select]
cmp eax, 0xffffffff
jne 0x672ca8
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
lea eax, [ebp - 0x3194]
push eax
lea eax, [ebp - 0x110]
mov dword [ebp - 0x3194], esi
push eax
call fcn.0061b638
lea eax, [ebp - 0x110]
push eax
push esi
push str.Failed_to_poll_for_events_using_select__._Error__d_:__s
push 0x116
push str.d:package_cache_tact3.9.2_srcdownloaddownload_curl.windows.cpp
push 4
push str.tact
call fcn.007a784a
add esp, 0x24
jmp 0x672cfc
mov ecx, dword [ebp - 0x31a8]
test eax, eax
mov esi, dword [ebp - 0x3194]
sete al
mov byte [ecx], al
lea eax, [ebp - 0x1184]
push eax
push dword [esi + 0x358]
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x672d29
push 0
push 1
lea eax, [ebp - 0x3199]
push eax
push dword [esi + 0x358]
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
jg 0x672cd1
mov eax, dword [ebp - 0x31ac]
mov byte [eax], 1
mov byte [ebp - 0x3198], 0
lea ecx, [ebp - 0x180]
call fcn.0061db38
mov al, byte [ebp - 0x3198]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.007207bc
leave
ret 0xc
xor edi, edi
cmp dword [ebp - 0x3190], edi
jbe 0x672cf5
mov eax, dword [ebp - 0x17c]
lea ecx, [ebp - 0x1184]
push ecx
mov eax, dword [eax + edi*4]
mov dword [ebp - 0x31a0], eax
push dword [eax]
call sub.WS2_32.dll___WSAFDIsSet
push 1
xor esi, esi
test eax, eax
pop eax
cmovne esi, eax
lea eax, [ebp - 0x2188]
push eax
mov eax, dword [ebp - 0x31a0]
push dword [eax]
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x672d75
or esi, 2
lea eax, [ebp - 0x318c]
push eax
mov eax, dword [ebp - 0x31a0]
push dword [eax]
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x672d90
or esi, 4
test esi, esi
je 0x672dba
push dword [ebp - 0x31b0]
mov eax, dword [ebp - 0x31a0]
push esi
push dword [eax]
mov eax, dword [ebp - 0x3194]
push dword [eax + 8]
call fcn.006c073b
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x672dcc
inc edi
cmp edi, dword [ebp - 0x3190]
jb 0x672d33
jmp 0x672cf5
push esi
call fcn.006c2cc5
push eax
push esi
push str.curl_multi_socket_action_failed_to_update_socket._Error__d_:__s
push 0x140
push str.d:package_cache_tact3.9.2_srcdownloaddownload_curl.windows.cpp
push 4
push str.tact
call fcn.007a784a
xor eax, eax
add esp, 0x20
inc eax
mov dword [ebp - 0x3198], eax
jmp 0x672cfc