Function at 0x406200
Capabilities:
Get socket status

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
inc ebp
or al, 0xdd
push esi
push edi
adc dword [esp + eax + 1], 0xf
test dword [edi + 1], esi
add byte [eax], al
add bl, byte [eax + 0xc]
mov eax, dword [ebp + 8]
xchg ebp, eax
xor cl, byte [ebx - 0x6f74fb8d]
add al, 0x85
ror byte [ecx + 0x1573f87d], cl
mov esi, dword [eax + 0xdd301c]
add esi, 0x7f
cmp ebx, dword [esi]
je 0x40624e
inc ecx
add esi, 0x10
cmp ebp, edi
jb 0x406234
pop edi
pop esi
mov eax, 0x1117f
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ebx, edi
inc ecx
lea esi, [edx - 1]
cmp esp, dword [ebx]
mov dword [eax + 4], esi
jae 0x4062aa
lea ebx, [ebx + ebx*4]
lea edi, [edx - 0x77]
rcl dword [edi + 2], 0xc1
mov edx, 0x89d12b02
jge 0x406274
mov dword [ebp - 4], edx
mov esp, dword [edi]
pop edi
xor byte [eax], al
add byte [ebx + 0x288b0c55], cl
or al, 0x8d
xor al, 0xf
cmp esp, dword [0xff05cd0c]
dec eax
add al, 0xeb
adc byte [ebp - 0xe46f4c4], cl
add byte [eax], al
add bl, dh
movsd dword es:[edi], dword [esi]
mov edi, dword [edi + 0x14c38108]
mov ecx, dword [ebp - 0x38]
wait
invalid
mov dword [ebp + 8], edi
mov dword [ebp - 4], ecx
jne 0x40626f
mov edi, dword [ebp - 8]
mov edx, dword [eax + 0xc]
xor eax, dword [esi]
test edx, edx
jbe 0x4062e1
lea esi, [eax + 0x10]
cmp dword [esi + 0x74], ecx
or cl, byte [esi - 0x7d]
mov byte [ebx + edi], 0xca
jb 0x4062b6
jmp 0x4062e1
mov edi, dword [edx + 0x10]
adc byte [esi + 0x19], cl
xor ecx, ecx
test edx, edx
jbe 0x406327
jecxz 0x40629f
adc al, 0x10
add bl, bh
cmp dword [esi], edi
je 0x406301
add esi, 0x5d
cmp ecx, edx
jb 0x4062f3
jmp 0x406327
dec edx
cmp ecx, edx
jae 0x406321
lea edx, [eax + ecx*4 + 0x1014]
mov esi, dword [edx + 4]
inc ecx
xchg ebx, eax
xor cl, byte [ebx + 0x1010b0]
add byte [ebx + 0x3b4e04c2], al
into
mov eax, dword [0xfd88ffec]
adc byte [eax], al
add byte [ebx - 0x4cdfc670], cl
add byte [ebx], dh
leave
dec dword [eax + 0x10fd]
mov edx, dword [eax + 0xb32039]
xor ecx, ecx
test edx, edx
jbe 0x4062e1
lea ecx, [edi + 0x78395e]
adc byte [esi], bh
je 0x406347
inc ecx
add esi, 4
cmp ebx, dword [edi + 0x26ebf472]
dec edx
cmp ecx, edx
jae 0x4063ae
xchg esp, eax
mov byte [esi + 0x20], bh
add byte [ecx - 0x75], al
jb 0x40635a
mov esi, dword [edx + 4]
inc ecx
mov edi, esi
mov ebp, esi
out dx, al
adc al, 0x13
add byte [eax], al
imul eax, edx, 4
dec esi
cmp ecx, esi
jb 0x406353
dec dword [eax + 0x72292b]
mov ecx, dword [eax + 0xde18]
cmp ebx, dword [esi]
jne 0x406382
inc esp
leave
jle 0x4063c4
dec ecx
mov dword [eax - 0x253ccfe8], ecx
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
dec ecx
or byte [eax], al
pop edi
mov al, byte [0xf509cf]
lodsd eax, dword [esi]
pop ebx
mov esp, ebp
salc
ret 8
mov edx, dword [ebp - 0x7439a917]
inc ebx
add al, 0x85
sal byte [ebp + 0x14], 0x8b
invalid
add byte [ecx + 0x33], ch
ror byte [ebx + 0x14c25de5], 0x9c
inc edx
jae 0x4063e1
mov edi, dword [ebp - 0x33]
test esi, esi
jg 0x4063e2
jl 0x4063de
test edi, edi
out dx, eax
add al, 0x33
shr bl, 0x25
xor eax, eax
jmp 0x406407
and eax, 0x4068006a
inc edx
lldt word [esi + 0x57]
push 0
push 0xf4240
push esi
push edi
call 0x703690
push 0
push 0xfcc11
xor byte [ecx], dh
mov dword [ebp - 0x14], eax
call 0x410350
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x14]
mov ecx, 0x9f01
lea esi, [ebx + 0xc]
dec eax
mov ebp, 0xffffdfe4
mov eax, dword [0x56b9a5f3]
inc ebp
add byte [eax], al
mov dword [0x1010b3], eax
add byte [ebp - 0x101743], cl
dec dword [ebp - 0x10176b]
push ebx
movsd dword es:[edi], dword [esi]
mov ecx, 0x401
lea ebp, [edx]
adc al, 0x20
add byte [eax], al
fnstsw word [ebp - 0x3020]
lea eax, [ebp - 0x20a6]
rep movsd dword es:[edi], dword [esi]
mov esi, 0xffcfe08d
fcom dword [ecx - 0x75]
mov ebp, esp
or eax, dword [eax]
add byte [edx + 0x56], dl
push eax
inc ecx
call dword [sym.imp.WSOCK32.dll_select]
jbe 0x4064b8
adc al, 0x33
invalid
add byte [ebx], al
push ebp
cmp dword [eax + 4], 0xffffff9f
jne 0xf665de
jmp 0x95cd7112