Function at 0x4a97f0
Capabilities:
Get socket status

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
mov ebx, dword [esp + 0x2c]
mov eax, 0xb5f50bab
xor esi, esi
jmp 0x4a9849
mov eax, dword [0x598428]
lea ecx, [eax + 1]
imul ecx, eax
mov eax, ecx
xor eax, 0xfffffffe
test eax, ecx
sete cl
mov eax, 0xf42a8269
mov ebp, 0xef8efb27
cmove eax, ebp
cmp dword [0x59842c], 0xa
mov edx, 0xf42a8269
cmovge eax, edx
setl dl
xor dl, cl
cmovne eax, ebp
mov ebp, 0xf8c3a02e
nop
cmp eax, 0xf3ff8546
jle 0x4a9890
cmp eax, 0x379641ff
jg 0x4a99c0
cmp eax, 0xf3ff8547
je 0x4a9810
cmp eax, 0xf42a8269
je 0x4a9a53
cmp eax, 0x1252d7c8
jne 0x4a9850
mov eax, 0x9d098d50
jmp 0x4a9850
cmp eax, 0xb5f50baa
jle 0x4a99f8
cmp eax, 0xb5f50bab
je 0x4a9b5d
cmp eax, 0xdb2389fc
je 0x4a9b67
cmp eax, 0xef8efb27
jne 0x4a9850
mov eax, dword [0x598430]
mov ecx, dword [0x598434]
lea edx, [eax + 1]
imul edx, eax
not edx
or edx, 0xfffffffe
cmp edx, 0xffffffff
sete byte [esp + 4]
cmp ecx, 0xa
setl byte [esp + 5]
mov eax, 0xa735346e
nop word cs:[eax + eax]
cmp eax, 0xdcf04948
jle 0x4a9910
cmp eax, 0xdcf04949
je 0x4a993c
cmp eax, 0xf8c3a02e
jne 0x4a98f0
jmp 0x4a9b81
cmp eax, 0xa735346e
je 0x4a9990
cmp eax, 0xbde50cca
jne 0x4a98f0
mov eax, dword [esp + 0x24]
mov eax, dword [eax]
inc eax
push ebx
push 0
push 0
push dword [esp + 0x34]
push eax
call dword [sym.imp.WS2_32.dll_select]
mov eax, 0xdcf04949
jmp 0x4a98f0
mov eax, dword [esp + 0x24]
mov eax, dword [eax]
inc eax
push ebx
push 0
push 0
push dword [esp + 0x34]
push eax
call dword [sym.imp.WS2_32.dll_select]
mov dword [esp + 8], eax
mov eax, dword [0x598430]
lea ecx, [eax + 1]
imul ecx, eax
mov eax, ecx
xor eax, 0xfffffffe
test eax, ecx
sete cl
mov eax, 0xbde50cca
cmove eax, ebp
cmp dword [0x598434], 0xa
mov edx, 0xbde50cca
cmovge eax, edx
setl dl
xor dl, cl
cmovne eax, ebp
jmp 0x4a98f0
movzx ecx, byte [esp + 4]
movzx eax, byte [esp + 5]
mov edx, ecx
xor dl, al
mov edx, 0xbde50cca
mov esi, 0xdcf04949
cmovne edx, esi
test al, al
mov eax, edx
cmovne eax, esi
test cl, cl
cmove eax, edx
jmp 0x4a98f0
cmp eax, 0x37964200
je 0x4a9bd1
cmp eax, 0x7b879cb9
je 0x4a9bdb
cmp eax, 0x7d5d793d
jne 0x4a9850
cmp byte [esp + 3], 0
mov eax, 0x7b879cb9
mov ecx, 0xdb2389fc
cmovne eax, ecx
jmp 0x4a9850
cmp eax, 0x9a73940e
je 0x4a9c19
cmp eax, 0x9d098d50
jne 0x4a9c31
mov edx, dword [0x598428]
mov ecx, dword [0x59842c]
lea eax, [edx + 1]
imul eax, edx
not eax
or eax, 0xfffffffe
cmp eax, 0xffffffff
sete dl
cmp ecx, 0xa
setl dh
xor dh, dl
mov edx, 0x1252d7c8
mov edi, 0x37964200
cmovne edx, edi
cmp eax, 0xffffffff
mov eax, edx
cmove eax, edi
cmp ecx, 0xa
cmovge eax, edx
jmp 0x4a9850
mov eax, dword [0x598430]
mov ecx, dword [0x598434]
lea edx, [eax + 1]
imul edx, eax
not edx
or edx, 0xfffffffe
cmp edx, 0xffffffff
sete byte [esp + 6]
cmp ecx, 0xa
setl byte [esp + 7]
mov ecx, 0xa735346e
nop
cmp ecx, 0xdcf04948
jle 0x4a9aa0
cmp ecx, 0xdcf04949
je 0x4a9ad2
cmp ecx, 0xf8c3a02e
jne 0x4a9a80
jmp 0x4a9c23
cmp ecx, 0xa735346e
je 0x4a9b31
cmp ecx, 0xbde50cca
jne 0x4a9a80
mov eax, dword [esp + 0x24]
mov eax, dword [eax]
inc eax
push ebx
push 0
push 0
push dword [esp + 0x34]
push eax
call dword [sym.imp.WS2_32.dll_select]
mov ecx, 0xdcf04949
jmp 0x4a9a80
mov eax, dword [esp + 0x24]
mov eax, dword [eax]
inc eax
push ebx
push 0
push 0
push dword [esp + 0x34]
push eax
call dword [sym.imp.WS2_32.dll_select]
mov esi, dword [0x598430]
mov edx, dword [0x598434]
lea ecx, [esi + 1]
imul ecx, esi
not ecx
or ecx, 0xfffffffe
cmp ecx, 0xffffffff
mov esi, ebx
sete bl
cmp edx, 0xa
setl bh
xor bh, bl
mov ebx, esi
mov esi, 0xbde50cca
cmovne esi, ebp
cmp ecx, 0xffffffff
mov ecx, esi
cmove ecx, ebp
cmp edx, 0xa
mov dword [esp + 0xc], eax
cmovge ecx, esi
jmp 0x4a9a80
movzx eax, byte [esp + 6]
movzx ecx, byte [esp + 7]
mov edx, eax
xor dl, cl
mov edx, 0xbde50cca
mov esi, 0xdcf04949
cmovne edx, esi
test cl, cl
mov ecx, edx
cmovne ecx, esi
test al, al
cmove ecx, edx
jmp 0x4a9a80
mov eax, 0xf3ff8547
jmp 0x4a9850
call fcn.00566ab7
cmp dword [eax], 4
mov eax, 0x7b879cb9
mov ecx, 0x9a73940e
cmove eax, ecx
jmp 0x4a9850
mov edx, dword [0x598428]
mov ecx, dword [0x59842c]
lea eax, [edx + 1]
imul eax, edx
not eax
or eax, 0xfffffffe
cmp eax, 0xffffffff
sete dl
cmp ecx, 0xa
setl dh
xor dh, dl
mov edx, 0xf42a8269
mov esi, 0x7d5d793d
cmovne edx, esi
cmp eax, 0xffffffff
mov eax, edx
cmove eax, esi
cmp ecx, 0xa
mov esi, dword [esp + 8]
cmovge eax, edx
test esi, esi
sets byte [esp + 3]
jmp 0x4a9850
mov eax, 0x8fb377d5
jmp 0x4a9850
mov eax, dword [0x598428]
lea ecx, [eax + 1]
imul ecx, eax
mov eax, ecx
xor eax, 0xfffffffe
test eax, ecx
sete cl
mov eax, 0x1252d7c8
mov edi, 0x9d098d50
cmove eax, edi
cmp dword [0x59842c], 0xa
mov edx, 0x1252d7c8
cmovge eax, edx
setl dl
xor dl, cl
cmovne eax, edi
jmp 0x4a9850
mov eax, 0xb5f50bab
jmp 0x4a9850
mov esi, dword [esp + 0xc]
mov eax, 0xef8efb27
jmp 0x4a9850
cmp eax, 0x8fb377d5
jne 0x4a9850
mov eax, esi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret