Function at 0x4c6df0
Capabilities:
Get socket status

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 8
mov ebx, 0x28b448a4
xor esi, esi
mov edi, dword [sym.imp.WS2_32.dll_select]
jmp 0x4c6e20
cmp ecx, 0xffffffff
cmovne ebx, edx
cmp eax, 0xa
cmovge ebx, edx
nop word cs:[eax + eax]
cmp ebx, 0xe81d6d9e
jle 0x4c6ea0
cmp ebx, 0x1c4513b2
jle 0x4c6ee0
cmp ebx, 0x2ff0c21d
jle 0x4c6fba
cmp ebx, 0x2ff0c21e
je 0x4c70df
cmp ebx, 0x428e9e04
je 0x4c7121
cmp ebx, 0x60d7eb38
jne 0x4c6e20
mov edx, dword [0x60b7f8]
mov eax, dword [0x60b7fc]
lea ecx, [edx - 1]
imul ecx, edx
not ecx
or ecx, 0xfffffffe
cmp ecx, 0xffffffff
sete dl
cmp eax, 0xa
setl dh
xor dh, dl
mov ebx, 0xa1dab63
mov edx, 0xa1dab63
jne 0x4c6e06
mov edx, 0x1c4513b3
jmp 0x4c6e06
cmp ebx, 0xa671a222
jle 0x4c6f50
cmp ebx, 0xd58b6e4f
jle 0x4c6fdc
cmp ebx, 0xd58b6e50
je 0x4c712b
cmp ebx, 0xe70b203a
jne 0x4c7216
mov ebx, 0xd58b6e50
jmp 0x4c6e20
cmp ebx, 0xa1dab62
jg 0x4c7057
cmp ebx, 0xe81d6d9f
je 0x4c7163
cmp ebx, 0xef8eee55
jne 0x4c6e20
mov edx, dword [0x60b7f8]
mov eax, dword [0x60b7fc]
lea ecx, [edx + 1]
imul ecx, edx
mov edx, ecx
xor edx, 0xfffffffe
test edx, ecx
sete bl
cmp eax, 0xa
setl bh
xor bh, bl
mov ebx, 0xd58b6e50
mov ebp, 0xd58b6e50
jne 0x4c6f38
mov ebp, 0xe70b203a
test edx, ecx
cmovne ebx, ebp
cmp eax, 0xa
cmovge ebx, ebp
jmp 0x4c6e20
cmp ebx, 0x973bde3d
jg 0x4c7089
cmp ebx, 0x8af904f7
je 0x4c7185
cmp ebx, 0x8c2ee6ab
jne 0x4c6e20
mov dword [esp + 4], esi
mov eax, dword [0x60b7f8]
lea ecx, [eax + 1]
imul ecx, eax
mov ebp, ecx
xor ebp, 0xfffffffe
mov eax, 0xdb02bc18
mov ebx, 0x428e9e04
mov edx, 0xdb02bc18
test ebp, ecx
sete cl
je 0x4c6fa3
mov edx, 0x428e9e04
cmp dword [0x60b7fc], 0xa
cmovl ebx, edx
setl dl
xor cl, dl
cmovne ebx, eax
jmp 0x4c6e20
cmp ebx, 0x1c4513b3
je 0x4c718f
cmp ebx, 0x28b448a4
jne 0x4c6e20
mov ebx, 0x99ddbe9e
jmp 0x4c6e20
cmp ebx, 0xa671a223
je 0x4c719e
cmp ebx, 0xc63c48bd
jne 0x4c6e20
mov eax, dword [esp + 0x1c]
mov eax, dword [eax]
inc eax
push dword [esp + 0x24]
push 0
push 0
push dword [esp + 0x2c]
push eax
call edi
mov esi, eax
mov edx, dword [0x60b7f8]
mov eax, dword [0x60b7fc]
lea ecx, [edx + 1]
imul ecx, edx
mov edx, ecx
xor edx, 0xfffffffe
test edx, ecx
sete bl
cmp eax, 0xa
setl bh
xor bh, bl
mov ebx, 0xa671a223
mov ebp, 0xa671a223
jne 0x4c7040
mov ebp, 0xe81d6d9f
test edx, ecx
cmovne ebx, ebp
cmp eax, 0xa
cmovge ebx, ebp
test esi, esi
sets byte [esp + 2]
jmp 0x4c6e20
cmp ebx, 0xa1dab63
je 0x4c71b8
cmp ebx, 0x10e477d7
jne 0x4c6e20
cmp byte [esp + 3], 0
mov ebx, 0xef8eee55
jne 0x4c6e20
mov ebx, 0x8af904f7
jmp 0x4c6e20
cmp ebx, 0x973bde3e
je 0x4c720c
cmp ebx, 0x99ddbe9e
jne 0x4c6e20
mov edx, dword [0x60b7f8]
mov eax, dword [0x60b7fc]
lea ecx, [edx + 1]
imul ecx, edx
not ecx
or ecx, 0xfffffffe
cmp ecx, 0xffffffff
sete dl
cmp eax, 0xa
setl dh
xor dh, dl
mov ebx, 0xc63c48bd
mov edx, 0xc63c48bd
jne 0x4c6e06
mov edx, 0xe81d6d9f
jmp 0x4c6e06
mov eax, dword [0x60b7f8]
lea ecx, [eax + 1]
imul ecx, eax
mov ebp, ecx
xor ebp, 0xfffffffe
mov eax, 0x8c2ee6ab
mov ebx, 0x428e9e04
mov edx, 0x8c2ee6ab
test ebp, ecx
sete cl
je 0x4c710a
mov edx, 0x428e9e04
cmp dword [0x60b7fc], 0xa
cmovl ebx, edx
setl dl
xor dl, cl
cmovne ebx, eax
jmp 0x4c6e20
mov ebx, 0x8c2ee6ab
jmp 0x4c6e20
mov edx, dword [0x60b7f8]
mov eax, dword [0x60b7fc]
lea ecx, [edx + 1]
imul ecx, edx
mov edx, ecx
xor edx, 0xfffffffe
test edx, ecx
sete bl
cmp eax, 0xa
setl bh
xor bh, bl
mov ebx, 0x973bde3e
mov ebp, 0x973bde3e
je 0x4c6f33
jmp 0x4c6f38
mov eax, dword [esp + 0x1c]
mov eax, dword [eax]
inc eax
mov ebx, 0xc63c48bd
push dword [esp + 0x24]
push 0
push 0
push dword [esp + 0x2c]
push eax
call edi
mov esi, eax
jmp 0x4c6e20
mov ebx, 0x2ff0c21e
jmp 0x4c6e20
call fcn.005d78b7
mov ebx, 0xa1dab63
jmp 0x4c6e20
cmp byte [esp + 2], 0
mov ebx, 0x60d7eb38
jne 0x4c6e20
mov ebx, 0x8af904f7
jmp 0x4c6e20
call fcn.005d78b7
mov ebx, dword [0x60b7f8]
mov ecx, dword [0x60b7fc]
lea edx, [ebx + 1]
imul edx, ebx
not edx
or edx, 0xfffffffe
cmp edx, 0xffffffff
sete bl
cmp ecx, 0xa
setl bh
xor bh, bl
mov ebx, 0x10e477d7
mov ebp, 0x10e477d7
jne 0x4c71f3
mov ebp, 0x1c4513b3
cmp edx, 0xffffffff
cmovne ebx, ebp
cmp ecx, 0xa
cmovge ebx, ebp
cmp dword [eax], 4
sete byte [esp + 3]
jmp 0x4c6e20
mov ebx, 0x28b448a4
jmp 0x4c6e20
cmp ebx, 0xdb02bc18
jne 0x4c6e20
mov eax, dword [esp + 4]
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret