Function at 0x621c70
Capabilities:
Get socket status

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x76a2eb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3a4
mov dword [ebp - 0x3ac], ecx
mov eax, dword [ebp - 0x3ac]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x120], ecx
cmp dword [ebp - 0x120], 0xffffffff
jne 0x621cca
push 0
lea ecx, [ebp - 0x39c]
call fcn.00605b60
push 0x82c75c
lea edx, [ebp - 0x39c]
push edx
call fcn.0048d568
mov dword [ebp - 0x22c], 0
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x33c], 0
mov eax, dword [ebp + 0xc]
and eax, 1
je 0x621d6f
mov dword [ebp - 0x344], 0
jmp 0x621d0b
mov ecx, dword [ebp - 0x344]
add ecx, 1
mov dword [ebp - 0x344], ecx
mov edx, dword [ebp - 0x344]
cmp edx, dword [ebp - 0x22c]
jae 0x621d32
mov eax, dword [ebp - 0x344]
mov ecx, dword [ebp + eax*4 - 0x228]
cmp ecx, dword [ebp - 0x120]
jne 0x621d30
jmp 0x621d32
jmp 0x621cfc
mov edx, dword [ebp - 0x344]
cmp edx, dword [ebp - 0x22c]
jne 0x621d6b
cmp dword [ebp - 0x22c], 0x40
jae 0x621d6b
mov eax, dword [ebp - 0x344]
mov ecx, dword [ebp - 0x120]
mov dword [ebp + eax*4 - 0x228], ecx
mov edx, dword [ebp - 0x22c]
add edx, 1
mov dword [ebp - 0x22c], edx
xor eax, eax
jne 0x621cf0
mov ecx, dword [ebp + 0xc]
and ecx, 2
je 0x621df6
mov dword [ebp - 0x348], 0
jmp 0x621d92
mov edx, dword [ebp - 0x348]
add edx, 1
mov dword [ebp - 0x348], edx
mov eax, dword [ebp - 0x348]
cmp eax, dword [ebp - 0x11c]
jae 0x621db9
mov ecx, dword [ebp - 0x348]
mov edx, dword [ebp + ecx*4 - 0x118]
cmp edx, dword [ebp - 0x120]
jne 0x621db7
jmp 0x621db9
jmp 0x621d83
mov eax, dword [ebp - 0x348]
cmp eax, dword [ebp - 0x11c]
jne 0x621df2
cmp dword [ebp - 0x11c], 0x40
jae 0x621df2
mov ecx, dword [ebp - 0x348]
mov edx, dword [ebp - 0x120]
mov dword [ebp + ecx*4 - 0x118], edx
mov eax, dword [ebp - 0x11c]
add eax, 1
mov dword [ebp - 0x11c], eax
xor ecx, ecx
jne 0x621d77
mov edx, dword [ebp + 0xc]
and edx, 4
je 0x621e7d
mov dword [ebp - 0x34c], 0
jmp 0x621e19
mov eax, dword [ebp - 0x34c]
add eax, 1
mov dword [ebp - 0x34c], eax
mov ecx, dword [ebp - 0x34c]
cmp ecx, dword [ebp - 0x33c]
jae 0x621e40
mov edx, dword [ebp - 0x34c]
mov eax, dword [ebp + edx*4 - 0x338]
cmp eax, dword [ebp - 0x120]
jne 0x621e3e
jmp 0x621e40
jmp 0x621e0a
mov ecx, dword [ebp - 0x34c]
cmp ecx, dword [ebp - 0x33c]
jne 0x621e79
cmp dword [ebp - 0x33c], 0x40
jae 0x621e79
mov edx, dword [ebp - 0x34c]
mov eax, dword [ebp - 0x120]
mov dword [ebp + edx*4 - 0x338], eax
mov ecx, dword [ebp - 0x33c]
add ecx, 1
mov dword [ebp - 0x33c], ecx
xor edx, edx
jne 0x621dfe
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x234]
call fcn.005c6340
mov dword [ebp - 4], 0
mov dword [ebp - 0x340], 0
mov ecx, dword [0x7d3d64]
push ecx
mov edx, dword [0x7d3d60]
push edx
mov eax, dword [ebp - 0x230]
push eax
mov ecx, dword [ebp - 0x234]
push ecx
call fcn.0048df20
mov dword [ebp - 0x354], eax
push 0
push 0xf4240
mov edx, dword [ebp - 0x230]
push edx
mov eax, dword [ebp - 0x234]
push eax
call fcn.004955e0
mov dword [ebp - 0x350], eax
lea ecx, [ebp - 0x35c]
call fcn.005f0c20
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x354]
push ecx
lea edx, [ebp - 0x33c]
push edx
lea eax, [ebp - 0x11c]
push eax
lea ecx, [ebp - 0x22c]
push ecx
mov edx, dword [ebp - 0x120]
add edx, 1
push edx
call dword [sym.imp.WS2_32.dll_select]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jge 0x62200d
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [ebp - 0x340], eax
cmp dword [ebp - 0x340], 0x2714
jne 0x62200d
lea ecx, [ebp - 0x364]
call fcn.005f0c20
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x364]
sub eax, dword [ebp - 0x35c]
mov ecx, dword [ebp - 0x360]
sbb ecx, dword [ebp - 0x358]
mov dword [ebp - 0x3a8], eax
mov dword [ebp - 0x3a4], ecx
mov edx, dword [ebp - 0x3a4]
push edx
mov eax, dword [ebp - 0x3a8]
push eax
lea ecx, [ebp - 0x36c]
call fcn.005c6260
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x368]
cmp ecx, dword [ebp - 0x230]
jg 0x621fc2
jl 0x621fb6
mov edx, dword [ebp - 0x36c]
cmp edx, dword [ebp - 0x234]
jae 0x621fc2
mov dword [ebp - 0x3b0], 1
jmp 0x621fcc
mov dword [ebp - 0x3b0], 0
movzx eax, byte [ebp - 0x3b0]
test eax, eax
je 0x621feb
lea ecx, [ebp - 0x36c]
push ecx
lea ecx, [ebp - 0x234]
call fcn.005c6560
jmp 0x621ffa
push 0
push 0
lea ecx, [ebp - 0x234]
call fcn.005c6380
mov byte [ebp - 4], 2
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x364]
call fcn.005f0c80
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x35c]
call fcn.005f0c80
cmp dword [ebp - 0x10], 0
jge 0x622032
cmp dword [ebp - 0x340], 0x2714
je 0x621e9d
cmp dword [ebp - 0x10], 0
jge 0x622047
mov edx, dword [ebp - 0x340]
push edx
call fcn.00622d20
add esp, 4
xor eax, eax
cmp dword [ebp - 0x10], 0
setg al
mov byte [ebp - 0x39d], al
mov dword [ebp - 4], 0xffffffff
mov al, byte [ebp - 0x39d]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8