Function at 0x49eac0
Capabilities:
Get socket status

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x40
mov esi, esp
mov eax, dword [0x5c0b00]
xor eax, ebp
mov dword [esi + 0x38], eax
mov eax, dword [0x5c4d70]
lea ecx, [eax + 1]
imul ecx, eax
not ecx
or ecx, 0xfffffffe
cmp ecx, 0xffffffff
mov eax, dword [0x5c4d74]
sete byte [esi + 0xe]
cmp eax, 0xa
setl byte [esi + 0xf]
mov ecx, 0x9f539d4a
jmp 0x49eb40
mov eax, dword [0x5c4d70]
mov edi, dword [0x5c4d74]
lea ecx, [eax + 1]
imul ecx, eax
mov eax, ecx
xor eax, 0xfffffffe
test eax, ecx
sete bl
cmp edi, 0xa
setl bh
xor bh, bl
mov ebx, 0x8bbffda9
mov edx, 0xedd8bd77
cmovne ebx, edx
test eax, ecx
mov ecx, ebx
cmove ecx, edx
cmp edi, 0xa
cmovge ecx, ebx
nop
cmp ecx, 0xedd8bd76
jg 0x49eba0
cmp ecx, 0xaee258eb
jg 0x49ec10
cmp ecx, 0x9e098014
jg 0x49eccc
cmp ecx, 0x8d01ba36
jg 0x49ed84
cmp ecx, 0x8616b072
je 0x49efb6
cmp ecx, 0x8bbffda9
jne 0x49eb40
mov eax, dword [esi + 0x14]
mov eax, dword [eax]
mov ecx, dword [esi + 8]
mov edi, dword [esi + 4]
mov edi, dword [edi]
mov dword [ecx + edi*4 + 4], eax
mov eax, dword [esi + 8]
inc dword [eax]
mov ecx, 0xedd8bd77
jmp 0x49eb40
cmp ecx, 0xdc2cafd
jg 0x49ec80
cmp ecx, 0xfef2fb2a
jg 0x49ecfa
cmp ecx, 0xf47a6ade
jg 0x49edaf
cmp ecx, 0xedd8bd77
je 0x49f0f2
cmp ecx, 0xf1eb77f5
jne 0x49eb40
mov eax, dword [0x5c4d70]
mov edi, dword [0x5c4d74]
lea ecx, [eax + 1]
imul ecx, eax
not ecx
or ecx, 0xfffffffe
cmp ecx, 0xffffffff
sete al
cmp edi, 0xa
setl ah
xor ah, al
mov eax, 0xfef2fb2b
mov edx, 0xffc4c036
jmp 0x49f011
cmp ecx, 0xcdbd2d8a
jg 0x49ed28
cmp ecx, 0xb6c1cb20
jg 0x49ee76
cmp ecx, 0xaee258ec
je 0x49efd9
cmp ecx, 0xb47834c8
jne 0x49eb40
mov eax, dword [esi + 4]
mov dword [eax], 0
mov eax, dword [0x5c4d70]
lea ecx, [eax + 1]
imul ecx, eax
mov eax, ecx
xor eax, 0xfffffffe
test eax, ecx
sete al
mov ecx, 0x8fd9f5cc
mov edi, 0xcdbd2d8b
cmove ecx, edi
cmp dword [0x5c4d74], 0xa
mov edx, 0x8fd9f5cc
jmp 0x49f192
cmp ecx, 0x496f9564
jle 0x49ed56
cmp ecx, 0x56592cdd
jg 0x49ee98
cmp ecx, 0x496f9565
je 0x49efe3
cmp ecx, 0x542f7cb0
jne 0x49eb40
mov eax, dword [esi + 4]
mov eax, dword [eax]
mov ecx, dword [esi + 8]
cmp eax, dword [ecx]
mov ecx, 0x9e098015
mov eax, 0x8616b072
cmovb ecx, eax
jmp 0x49eb40
cmp ecx, 0x9f539d49
jg 0x49eeed
cmp ecx, 0x9e098015
je 0x49f027
cmp ecx, 0x9ef08e96
jne 0x49eb40
mov ecx, 0xfd6e584f
jmp 0x49eb40
cmp ecx, 0xffc4c035
jg 0x49ef4b
cmp ecx, 0xfef2fb2b
je 0x49f13a
cmp ecx, 0xff8c9de8
jne 0x49eb40
mov ecx, 0xed0a2952
jmp 0x49eb40
cmp ecx, 0xecb9cf6b
jg 0x49ef6d
cmp ecx, 0xcdbd2d8b
je 0x49f043
cmp ecx, 0xd6a00dae
jne 0x49eb40
mov ecx, 0x496f9565
jmp 0x49eb40
cmp ecx, 0x35b76151
jg 0x49ef92
cmp ecx, 0xdc2cafe
je 0x49f144
cmp ecx, 0x336af2ba
jne 0x49eb40
mov ecx, 0x542f7cb0
jmp 0x49eb40
cmp ecx, 0x8d01ba37
je 0x49f04d
cmp ecx, 0x8fd9f5cc
jne 0x49eb40
mov eax, dword [esi + 4]
mov dword [eax], 0
mov ecx, 0xb47834c8
jmp 0x49eb40
cmp ecx, 0xf47a6adf
je 0x49f14e
cmp ecx, 0xfd6e584f
jne 0x49eb40
push eax
push eax
mov ecx, esp
and ecx, 0xfffffff8
mov esp, ecx
mov dword [esi + 0x20], ecx
push eax
push eax
mov ecx, esp
and ecx, 0xfffffff8
mov esp, ecx
mov dword [esi + 0x24], ecx
push eax
mov ecx, esp
mov dword [esi + 0x14], ecx
sub esp, 0x104
mov ecx, esp
mov dword [esi + 8], ecx
push eax
mov ecx, esp
mov dword [esi + 4], ecx
sub esp, 8
mov ecx, esp
mov dword [esi + 0x18], ecx
sub esp, 0xc
mov ecx, esp
mov dword [esi + 0x10], ecx
mov ecx, dword [esi + 0x20]
mov eax, dword [ebp + 0x18]
mov dword [ecx + 4], eax
mov eax, dword [ebp + 0x14]
mov dword [ecx], eax
mov ecx, dword [esi + 0x24]
mov eax, dword [ebp + 0x10]
mov dword [ecx + 4], eax
mov eax, dword [ebp + 0xc]
mov dword [ecx], eax
mov ecx, dword [esi + 0x14]
mov eax, dword [ebp + 8]
mov dword [ecx], eax
mov ecx, dword [esi + 8]
mov ecx, dword [esi + 8]
mov dword [ecx], 0
mov ecx, dword [0x5c4d70]
lea edi, [ecx - 1]
imul edi, ecx
not edi
or edi, 0xfffffffe
cmp edi, 0xffffffff
sete bl
mov ecx, 0x9ef08e96
mov edx, 0xdc2cafe
cmove ecx, edx
cmp dword [0x5c4d74], 0xa
mov eax, 0x9ef08e96
cmovge ecx, eax
setl bh
xor bh, bl
cmovne ecx, edx
jmp 0x49eb40
cmp ecx, 0xb6c1cb21
je 0x49f057
cmp ecx, 0xb7329b72
jne 0x49eb40
mov ecx, 0x424eff86
jmp 0x49eb40
cmp ecx, 0x56592cde
je 0x49f095
cmp ecx, 0x6aff08b9
jne 0x49eb40
mov eax, dword [esi + 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [esi + 4]
mov dword [ecx], eax
mov eax, dword [0x5c4d70]
mov edi, dword [0x5c4d74]
lea ecx, [eax + 1]
imul ecx, eax
mov eax, ecx
xor eax, 0xfffffffe
test eax, ecx
sete bl
cmp edi, 0xa
setl bh
xor bh, bl
mov ebx, 0xf47a6adf
mov edx, 0x336af2ba
jmp 0x49eb2f
cmp ecx, 0x9f539d4a
je 0x49f0c8
cmp ecx, 0xa0be9454
jne 0x49eb40
mov ebx, dword [0x5c4d70]
mov edi, dword [0x5c4d74]
lea ecx, [ebx + 1]
imul ecx, ebx
mov ebx, ecx
xor ebx, 0xfffffffe
test ebx, ecx
sete al
cmp edi, 0xa
setl ah
xor ah, al
mov eax, 0x8fd9f5cc
mov edx, 0xb47834c8
cmovne eax, edx
test ebx, ecx
mov ecx, eax
cmove ecx, edx
cmp edi, 0xa
cmovge ecx, eax
mov eax, dword [esi + 4]
jmp 0x49eb40
cmp ecx, 0xffc4c036
je 0x49f163
cmp ecx, 0xb37a777
jne 0x49eb40
mov ecx, 0xb6c1cb21
jmp 0x49eb40
cmp ecx, 0xecb9cf6c
je 0x49eb02
cmp ecx, 0xed0a2952
jne 0x49eb40
mov eax, dword [esi + 4]
mov ecx, 0xb7329b72
jmp 0x49eb40
cmp ecx, 0x35b76152
jne 0x49f1a2
mov eax, dword [esi + 8]
cmp dword [eax], 0x40
mov ecx, 0x496f9565
mov eax, 0xecb9cf6c
cmovb ecx, eax
jmp 0x49eb40
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
mov ecx, dword [ecx]
mov eax, dword [eax + ecx*4 + 4]
mov ecx, dword [esi + 0x14]
cmp eax, dword [ecx]
mov ecx, 0xf1eb77f5
mov eax, 0x8d01ba37
cmove ecx, eax
jmp 0x49eb40
mov ecx, 0x56592cde
jmp 0x49eb40
mov eax, dword [0x5c4d70]
mov edi, dword [0x5c4d74]
lea ecx, [eax - 1]
imul ecx, eax
not ecx
or ecx, 0xfffffffe
cmp ecx, 0xffffffff
sete al
cmp edi, 0xa
setl ah
xor ah, al
mov eax, 0xaee258ec
mov edx, 0x56592cde
cmovne eax, edx
cmp ecx, 0xffffffff
mov ecx, eax
cmove ecx, edx
cmp edi, 0xa
cmovge ecx, eax
jmp 0x49eb40
mov eax, dword [esi + 4]
mov eax, dword [eax]
mov ecx, dword [esi + 8]
cmp eax, dword [ecx]
mov ecx, 0xed0a2952
mov eax, 0x35b76152
cmove ecx, eax
jmp 0x49eb40
mov ecx, 0x542f7cb0
jmp 0x49eb40
mov ecx, 0x9e098015
jmp 0x49eb40
mov eax, dword [0x5c4d70]
lea ecx, [eax + 1]
imul ecx, eax
mov eax, ecx
xor eax, 0xfffffffe
test eax, ecx
sete al
mov ecx, 0xf47a6adf
mov edx, 0x6aff08b9
cmove ecx, edx
cmp dword [0x5c4d74], 0xa
mov edi, 0xf47a6adf
cmovge ecx, edi
setl ah
xor ah, al
cmovne ecx, edx
jmp 0x49eb40
mov eax, dword [0x5c4d70]
lea ecx, [eax + 1]
imul ecx, eax
mov eax, ecx
xor eax, 0xfffffffe
test eax, ecx
sete al
mov ecx, 0xaee258ec
mov edi, 0xff8c9de8
cmove ecx, edi
cmp dword [0x5c4d74], 0xa
mov edx, 0xaee258ec
jmp 0x49f192
movzx ebx, byte [esi + 0xe]
movzx ecx, byte [esi + 0xf]
mov ch, bl
xor ch, cl
mov edi, 0x9ef08e96
mov eax, 0xfd6e584f
cmovne edi, eax
test cl, cl
mov ecx, edi
cmovne ecx, eax
test bl, bl
cmove ecx, edi
jmp 0x49eb40
mov eax, dword [esi + 0x14]
mov eax, dword [eax]
mov ecx, dword [esi + 8]
mov edi, dword [esi + 4]
mov edi, dword [edi]
mov dword [ecx + edi*4 + 4], eax
mov eax, dword [esi + 8]
inc dword [eax]
mov eax, dword [0x5c4d70]
mov edi, dword [0x5c4d74]
lea ecx, [eax + 1]
imul ecx, eax
mov eax, ecx
xor eax, 0xfffffffe
test eax, ecx
sete bl
cmp edi, 0xa
setl bh
xor bh, bl
mov ebx, 0x8bbffda9
mov edx, 0xd6a00dae
jmp 0x49eb2f
mov ecx, 0xffc4c036
jmp 0x49eb40
mov ecx, 0xa0be9454
jmp 0x49eb40
mov eax, dword [esi + 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [esi + 4]
mov dword [ecx], eax
mov ecx, 0x6aff08b9
jmp 0x49eb40
mov eax, dword [0x5c4d70]
lea ecx, [eax + 1]
imul ecx, eax
not ecx
or ecx, 0xfffffffe
cmp ecx, 0xffffffff
sete al
mov ecx, 0xfef2fb2b
mov edi, 0xb37a777
cmove ecx, edi
cmp dword [0x5c4d74], 0xa
mov edx, 0xfef2fb2b
cmovge ecx, edx
setl ah
xor ah, al
cmovne ecx, edi
jmp 0x49eb40
cmp ecx, 0x424eff86
jne 0x49eb40
mov eax, dword [esi + 0x18]
mov eax, dword [esi + 0x24]
mov eax, dword [eax]
mov ecx, dword [esi + 0x18]
mov dword [ecx], eax
mov eax, dword [esi + 0x20]
mov eax, dword [eax]
mov ecx, dword [esi + 0x18]
mov dword [ecx + 4], eax
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
mov dword [eax], ecx
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 8]
mov dword [eax + 4], ecx
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x18]
mov dword [eax + 8], ecx
mov eax, dword [esi + 0x10]
mov eax, dword [eax]
mov dword [esi + 0x30], eax
mov eax, dword [esi + 0x10]
mov eax, dword [eax + 4]
mov dword [esi + 0x2c], eax
mov eax, dword [esi + 0x10]
mov eax, dword [eax + 8]
mov dword [esi + 0x28], eax
mov ecx, 0x44280eea
mov dword [esi + 0x1c], 0
jmp 0x49f210
mov ecx, 0xe45b19df
nop dword [eax]
cmp ecx, 0x170e6109
jg 0x49f270
cmp ecx, 0xe45b19de
jg 0x49f2a0
cmp ecx, 0xbe7fba1f
je 0x49f330
cmp ecx, 0xd834d6e0
jne 0x49f39d
mov eax, dword [esi + 0x30]
mov eax, dword [eax]
inc eax
push dword [esi + 0x28]
push 0
push 0
push dword [esi + 0x2c]
push eax
call dword [sym.imp.WS2_32.dll_select]
mov ecx, 0x170e610a
mov dword [esi + 0x1c], eax
test eax, eax
js 0x49f210
mov ecx, 0x7e8599be
jmp 0x49f210
cmp ecx, 0x564bf279
jg 0x49f2d0
cmp ecx, 0x170e610a
je 0x49f33a
cmp ecx, 0x44280eea
jne 0x49f210
mov ecx, 0xd834d6e0
jmp 0x49f210
cmp ecx, 0xe45b19df
je 0x49f357
cmp ecx, 0xf3e32e1f
jne 0x49f210
mov ecx, 0x44280eea
jmp 0x49f210
cmp ecx, 0x564bf27a
je 0x49f208
cmp ecx, 0x7e8599be
jne 0x49f210
mov eax, dword [0x5c4d78]
mov ecx, dword [0x5c4d7c]
lea edx, [eax + 1]
imul edx, eax
mov ebx, edx
xor ebx, 0xfffffffe
test ebx, edx
sete al
mov dword [esi + 0x34], ecx
cmp ecx, 0xa
setl ah
xor ah, al
mov ecx, 0xe45b19df
mov edi, 0xe45b19df
jne 0x49f31f
mov edi, 0x564bf27a
test ebx, edx
cmovne ecx, edi
cmp dword [esi + 0x34], 0xa
cmovge ecx, edi
jmp 0x49f210
mov ecx, 0xc22f3a34
jmp 0x49f210
call fcn.005923b7
cmp dword [eax], 4
mov ecx, 0xf3e32e1f
je 0x49f210
mov ecx, 0x7e8599be
jmp 0x49f210
mov eax, dword [0x5c4d78]
mov ebx, dword [0x5c4d7c]
lea edx, [eax + 1]
imul edx, eax
not edx
or edx, 0xfffffffe
cmp edx, 0xffffffff
sete al
cmp ebx, 0xa
setl ah
xor ah, al
mov ecx, 0xbe7fba1f
mov edi, 0xbe7fba1f
jne 0x49f38c
mov edi, 0x564bf27a
cmp edx, 0xffffffff
cmovne ecx, edi
cmp ebx, 0xa
cmovge ecx, edi
jmp 0x49f210
cmp ecx, 0xc22f3a34
jne 0x49f210
mov eax, dword [esi + 0x18]
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0x38]
xor ecx, ebp
call fcn.005892d5
mov eax, dword [esi + 0x1c]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret