Function at 0x49e540
Capabilities:
Get socket status

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 8
mov ecx, 0xe2d0aebe
xor esi, esi
mov edi, dword [sym.imp.WS2_32.dll_select]
jmp 0x49e570
cmp dword [0x5d0408], 0xa
cmovl ecx, ebx
setl dh
xor dl, dh
cmovne ecx, eax
nop dword [eax + eax]
cmp ecx, 0x36e2c10e
jg 0x49e5c0
cmp ecx, 0xe492bcea
jle 0x49e610
cmp ecx, 0x1a28e17c
jle 0x49e66e
cmp ecx, 0x1a28e17d
je 0x49e75e
cmp ecx, 0x2b7a9f10
je 0x49e768
cmp ecx, 0x326a9e2a
jne 0x49e570
mov ecx, 0x75051678
jmp 0x49e570
cmp ecx, 0x6c0643e3
jg 0x49e640
cmp ecx, 0x4a3f179f
jg 0x49e690
cmp ecx, 0x36e2c10f
je 0x49e777
cmp ecx, 0x3d48beca
jne 0x49e912
cmp byte [esp + 3], 0
mov ecx, 0x1a28e17d
jne 0x49e570
mov ecx, 0x56977c08
jmp 0x49e570
cmp ecx, 0xe2d0aebd
jg 0x49e6dc
cmp ecx, 0x963374ab
je 0x49e7ac
cmp ecx, 0xdea97626
jne 0x49e570
mov ecx, 0x36e2c10f
jmp 0x49e570
cmp ecx, 0x75051677
jg 0x49e73c
cmp ecx, 0x6c0643e4
je 0x49e7db
cmp ecx, 0x6d0c324a
jne 0x49e570
mov ecx, 0x963374ab
jmp 0x49e570
cmp ecx, 0xe492bceb
je 0x49e81f
cmp ecx, 0xe66cff0c
jne 0x49e570
mov ecx, 0xe304c22f
jmp 0x49e570
cmp ecx, 0x4a3f17a0
je 0x49e853
cmp ecx, 0x56977c08
jne 0x49e570
mov eax, dword [0x5d040c]
lea edx, [eax + 1]
imul edx, eax
mov ebp, edx
xor ebp, 0xfffffffe
mov eax, 0x36e2c10f
mov ecx, 0xdea97626
mov ebx, 0x36e2c10f
test ebp, edx
sete dl
je 0x49e556
mov ebx, 0xdea97626
jmp 0x49e556
cmp ecx, 0xe2d0aebe
je 0x49e8a7
cmp ecx, 0xe304c22f
jne 0x49e570
mov ecx, dword [0x5d040c]
mov eax, dword [0x5d0408]
lea edx, [ecx + 1]
imul edx, ecx
mov ebx, edx
xor ebx, 0xfffffffe
test ebx, edx
sete cl
cmp eax, 0xa
setl ch
xor ch, cl
mov ecx, 0x3cbfa7ad
mov ebp, 0x3cbfa7ad
jne 0x49e728
mov ebp, 0xe66cff0c
test ebx, edx
cmovne ecx, ebp
cmp eax, 0xa
mov dword [esp + 4], esi
cmovge ecx, ebp
jmp 0x49e570
cmp ecx, 0x75051678
je 0x49e8d0
cmp ecx, 0x76acddf2
jne 0x49e570
mov ecx, 0xe492bceb
jmp 0x49e570
mov ecx, 0xe2d0aebe
jmp 0x49e570
call fcn.0059db37
mov ecx, 0x4a3f17a0
jmp 0x49e570
mov eax, dword [0x5d040c]
lea edx, [eax + 1]
imul edx, eax
not edx
or edx, 0xfffffffe
mov eax, 0x76acddf2
mov ecx, 0xdea97626
mov ebx, 0x76acddf2
cmp edx, 0xffffffff
sete dl
je 0x49e8fb
mov ebx, 0xdea97626
jmp 0x49e8fb
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 ecx, 0x6c0643e4
test eax, eax
js 0x49e570
mov ecx, 0x56977c08
jmp 0x49e570
mov ecx, dword [0x5d040c]
mov eax, dword [0x5d0408]
lea edx, [ecx + 1]
imul edx, ecx
mov ebx, edx
xor ebx, 0xfffffffe
test ebx, edx
sete cl
cmp eax, 0xa
setl ch
xor ch, cl
mov ecx, 0x4a3f17a0
mov ebp, 0x4a3f17a0
jne 0x49e80f
mov ebp, 0x2b7a9f10
test ebx, edx
cmovne ecx, ebp
cmp eax, 0xa
cmovge ecx, ebp
jmp 0x49e570
mov eax, dword [0x5d040c]
lea edx, [eax + 1]
imul edx, eax
mov ebp, edx
xor ebp, 0xfffffffe
mov eax, 0xe304c22f
mov ecx, 0xe66cff0c
mov ebx, 0xe304c22f
test ebp, edx
sete dl
je 0x49e556
mov ebx, 0xe66cff0c
jmp 0x49e556
call fcn.0059db37
mov ecx, dword [0x5d040c]
mov edx, dword [0x5d0408]
lea ebx, [ecx - 1]
imul ebx, ecx
not ebx
or ebx, 0xfffffffe
cmp ebx, 0xffffffff
sete cl
cmp edx, 0xa
setl ch
xor ch, cl
mov ecx, 0x3d48beca
mov ebp, 0x3d48beca
jne 0x49e88e
mov ebp, 0x2b7a9f10
cmp ebx, 0xffffffff
cmovne ecx, ebp
cmp edx, 0xa
cmovge ecx, ebp
cmp dword [eax], 4
sete byte [esp + 3]
jmp 0x49e570
mov eax, dword [0x5d040c]
lea edx, [eax + 1]
imul edx, eax
not edx
or edx, 0xfffffffe
mov eax, 0x75051678
mov ecx, 0x326a9e2a
mov ebx, 0x75051678
cmp edx, 0xffffffff
sete dl
jne 0x49e8f6
jmp 0x49e8fb
mov eax, dword [0x5d040c]
lea edx, [eax + 1]
imul edx, eax
mov ebp, edx
xor ebp, 0xfffffffe
mov eax, 0x6d0c324a
mov ecx, 0x326a9e2a
mov ebx, 0x6d0c324a
test ebp, edx
sete dl
je 0x49e8fb
mov ebx, 0x326a9e2a
cmp dword [0x5d0408], 0xa
cmovl ecx, ebx
setl dh
xor dh, dl
cmovne ecx, eax
jmp 0x49e570
cmp ecx, 0x3cbfa7ad
jne 0x49e570
mov eax, dword [esp + 4]
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret