Function at 0x4485d6
Capabilities:
Get socket status

Disassembly:
push ebp
lea ebp, [esp - 0x64]
sub esp, 0x384
mov eax, dword [0x4bf070]
xor eax, ebp
mov dword [ebp + 0x60], eax
push esi
push edi
xorps xmm0, xmm0
movlpd qword [ebp + 0x50], xmm0
and dword [ebp + 0x58], 0
and dword [ebp - 0x2e4], 0
cmp dword [ebp + 0x7c], 0
jl 0x44861c
jg 0x448611
cmp dword [ebp + 0x78], 0x7fffffff
jb 0x44861c
mov dword [ebp + 0x78], accept
and dword [ebp + 0x7c], 0
cmp dword [ebp + 0x6c], 0xffffffff
jne 0x448648
cmp dword [ebp + 0x70], 0xffffffff
jne 0x448648
cmp dword [ebp + 0x74], 0xffffffff
jne 0x448648
push dword [ebp + 0x78]
call fcn.004492b9
pop ecx
mov dword [ebp - 0x2c4], eax
mov eax, dword [ebp - 0x2c4]
jmp 0x448c3a
cmp dword [ebp + 0x7c], 0
jl 0x448675
jg 0x448656
cmp dword [ebp + 0x78], 0
jbe 0x448675
mov eax, dword [ebp + 0x78]
mov dword [ebp - 0x2e4], eax
lea eax, [ebp - 0x310]
push eax
call fcn.0045423f
pop ecx
mov esi, eax
lea edi, [ebp + 0x50]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
and dword [ebp - 0xb4], 0
or dword [ebp - 0x2e0], 0xffffffff
and dword [ebp - 0x1b8], 0
cmp dword [ebp + 0x6c], 0xffffffff
je 0x448785
xor eax, eax
jne 0x448694
and dword [ebp - 0x2c8], 0
jmp 0x4486ae
mov eax, dword [ebp - 0x2c8]
inc eax
mov dword [ebp - 0x2c8], eax
mov eax, dword [ebp - 0x2c8]
cmp eax, dword [ebp - 0x1b8]
jae 0x4486d2
mov eax, dword [ebp - 0x2c8]
mov eax, dword [ebp + eax*4 - 0x1b4]
cmp eax, dword [ebp + 0x6c]
jne 0x4486d0
jmp 0x4486d2
jmp 0x4486a1
mov eax, dword [ebp - 0x2c8]
cmp eax, dword [ebp - 0x1b8]
jne 0x448706
cmp dword [ebp - 0x1b8], 0x40
jae 0x448706
mov eax, dword [ebp - 0x2c8]
mov ecx, dword [ebp + 0x6c]
mov dword [ebp + eax*4 - 0x1b4], ecx
mov eax, dword [ebp - 0x1b8]
inc eax
mov dword [ebp - 0x1b8], eax
xor eax, eax
jne 0x448698
and dword [ebp - 0x2cc], 0
jmp 0x448720
mov eax, dword [ebp - 0x2cc]
inc eax
mov dword [ebp - 0x2cc], eax
mov eax, dword [ebp - 0x2cc]
cmp eax, dword [ebp - 0xb4]
jae 0x448744
mov eax, dword [ebp - 0x2cc]
mov eax, dword [ebp + eax*4 - 0xb0]
cmp eax, dword [ebp + 0x6c]
jne 0x448742
jmp 0x448744
jmp 0x448713
mov eax, dword [ebp - 0x2cc]
cmp eax, dword [ebp - 0xb4]
jne 0x448778
cmp dword [ebp - 0xb4], 0x40
jae 0x448778
mov eax, dword [ebp - 0x2cc]
mov ecx, dword [ebp + 0x6c]
mov dword [ebp + eax*4 - 0xb0], ecx
mov eax, dword [ebp - 0xb4]
inc eax
mov dword [ebp - 0xb4], eax
xor eax, eax
jne 0x44870a
mov eax, dword [ebp + 0x6c]
mov dword [ebp - 0x2e0], eax
cmp dword [ebp + 0x70], 0xffffffff
je 0x44888b
xor eax, eax
jne 0x44878f
and dword [ebp - 0x2d0], 0
jmp 0x4487a9
mov eax, dword [ebp - 0x2d0]
inc eax
mov dword [ebp - 0x2d0], eax
mov eax, dword [ebp - 0x2d0]
cmp eax, dword [ebp - 0x1b8]
jae 0x4487cd
mov eax, dword [ebp - 0x2d0]
mov eax, dword [ebp + eax*4 - 0x1b4]
cmp eax, dword [ebp + 0x70]
jne 0x4487cb
jmp 0x4487cd
jmp 0x44879c
mov eax, dword [ebp - 0x2d0]
cmp eax, dword [ebp - 0x1b8]
jne 0x448801
cmp dword [ebp - 0x1b8], 0x40
jae 0x448801
mov eax, dword [ebp - 0x2d0]
mov ecx, dword [ebp + 0x70]
mov dword [ebp + eax*4 - 0x1b4], ecx
mov eax, dword [ebp - 0x1b8]
inc eax
mov dword [ebp - 0x1b8], eax
xor eax, eax
jne 0x448793
and dword [ebp - 0x2d4], 0
jmp 0x44881b
mov eax, dword [ebp - 0x2d4]
inc eax
mov dword [ebp - 0x2d4], eax
mov eax, dword [ebp - 0x2d4]
cmp eax, dword [ebp - 0xb4]
jae 0x44883f
mov eax, dword [ebp - 0x2d4]
mov eax, dword [ebp + eax*4 - 0xb0]
cmp eax, dword [ebp + 0x70]
jne 0x44883d
jmp 0x44883f
jmp 0x44880e
mov eax, dword [ebp - 0x2d4]
cmp eax, dword [ebp - 0xb4]
jne 0x448873
cmp dword [ebp - 0xb4], 0x40
jae 0x448873
mov eax, dword [ebp - 0x2d4]
mov ecx, dword [ebp + 0x70]
mov dword [ebp + eax*4 - 0xb0], ecx
mov eax, dword [ebp - 0xb4]
inc eax
mov dword [ebp - 0xb4], eax
xor eax, eax
jne 0x448805
mov eax, dword [ebp + 0x70]
cmp eax, dword [ebp - 0x2e0]
jbe 0x44888b
mov eax, dword [ebp + 0x70]
mov dword [ebp - 0x2e0], eax
and dword [ebp - 0x2bc], 0
cmp dword [ebp + 0x74], 0xffffffff
je 0x448998
xor eax, eax
jne 0x44889c
and dword [ebp - 0x2d8], 0
jmp 0x4488b6
mov eax, dword [ebp - 0x2d8]
inc eax
mov dword [ebp - 0x2d8], eax
mov eax, dword [ebp - 0x2d8]
cmp eax, dword [ebp - 0x2bc]
jae 0x4488da
mov eax, dword [ebp - 0x2d8]
mov eax, dword [ebp + eax*4 - 0x2b8]
cmp eax, dword [ebp + 0x74]
jne 0x4488d8
jmp 0x4488da
jmp 0x4488a9
mov eax, dword [ebp - 0x2d8]
cmp eax, dword [ebp - 0x2bc]
jne 0x44890e
cmp dword [ebp - 0x2bc], 0x40
jae 0x44890e
mov eax, dword [ebp - 0x2d8]
mov ecx, dword [ebp + 0x74]
mov dword [ebp + eax*4 - 0x2b8], ecx
mov eax, dword [ebp - 0x2bc]
inc eax
mov dword [ebp - 0x2bc], eax
xor eax, eax
jne 0x4488a0
and dword [ebp - 0x2dc], 0
jmp 0x448928
mov eax, dword [ebp - 0x2dc]
inc eax
mov dword [ebp - 0x2dc], eax
mov eax, dword [ebp - 0x2dc]
cmp eax, dword [ebp - 0xb4]
jae 0x44894c
mov eax, dword [ebp - 0x2dc]
mov eax, dword [ebp + eax*4 - 0xb0]
cmp eax, dword [ebp + 0x74]
jne 0x44894a
jmp 0x44894c
jmp 0x44891b
mov eax, dword [ebp - 0x2dc]
cmp eax, dword [ebp - 0xb4]
jne 0x448980
cmp dword [ebp - 0xb4], 0x40
jae 0x448980
mov eax, dword [ebp - 0x2dc]
mov ecx, dword [ebp + 0x74]
mov dword [ebp + eax*4 - 0xb0], ecx
mov eax, dword [ebp - 0xb4]
inc eax
mov dword [ebp - 0xb4], eax
xor eax, eax
jne 0x448912
mov eax, dword [ebp + 0x74]
cmp eax, dword [ebp - 0x2e0]
jbe 0x448998
mov eax, dword [ebp + 0x74]
mov dword [ebp - 0x2e0], eax
cmp dword [ebp + 0x7c], 0
jg 0x4489af
jl 0x4489a6
cmp dword [ebp + 0x78], 0
jae 0x4489af
and dword [ebp - 0x2e8], 0
jmp 0x4489bb
lea eax, [ebp - 0x2fc]
mov dword [ebp - 0x2e8], eax
mov eax, dword [ebp - 0x2e8]
mov dword [ebp - 0x300], eax
cmp dword [ebp + 0x7c], 0
jl 0x448a05
jg 0x4489d5
cmp dword [ebp + 0x78], 0
jbe 0x448a05
mov eax, dword [ebp - 0x2e4]
cdq
mov ecx, 0x3e8
idiv ecx
mov dword [ebp - 0x2fc], eax
mov eax, dword [ebp - 0x2e4]
cdq
mov ecx, 0x3e8
idiv ecx
imul eax, edx, 0x3e8
mov dword [ebp - 0x2f8], eax
jmp 0x448a1b
mov eax, dword [ebp + 0x78]
or eax, dword [ebp + 0x7c]
jne 0x448a1b
and dword [ebp - 0x2fc], 0
and dword [ebp - 0x2f8], 0
cmp dword [ebp - 0x2bc], 0
je 0x448a32
lea eax, [ebp - 0x2bc]
mov dword [ebp - 0x2ec], eax
jmp 0x448a39
and dword [ebp - 0x2ec], 0
cmp dword [ebp - 0x1b8], 0
je 0x448a50
lea eax, [ebp - 0x1b8]
mov dword [ebp - 0x2f0], eax
jmp 0x448a57
and dword [ebp - 0x2f0], 0
push dword [ebp - 0x300]
lea eax, [ebp - 0xb4]
push eax
push dword [ebp - 0x2ec]
push dword [ebp - 0x2f0]
mov eax, dword [ebp - 0x2e0]
inc eax
push eax
call dword [sym.imp.WS2_32.dll_select]
mov dword [ebp - 0x2c4], eax
cmp dword [ebp - 0x2c4], 0xffffffff
je 0x448a92
jmp 0x448b28
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [ebp - 0x2f4], eax
cmp dword [ebp - 0x2f4], 0
je 0x448abe
cmp dword [0x4cc7f0], 0
jne 0x448abc
cmp dword [ebp - 0x2f4], 0x2714
je 0x448abe
jmp 0x448b28
cmp dword [ebp + 0x7c], 0
jl 0x448b1b
jg 0x448acc
cmp dword [ebp + 0x78], 0
jbe 0x448b1b
sub esp, 0x10
lea esi, [ebp + 0x50]
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x320]
push eax
call fcn.0045423f
pop ecx
sub esp, 0x10
mov esi, eax
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.004542ad
add esp, 0x20
cdq
mov ecx, dword [ebp + 0x78]
sub ecx, eax
mov eax, dword [ebp + 0x7c]
sbb eax, edx
mov dword [ebp - 0x2e4], ecx
cmp dword [ebp - 0x2e4], 0
jg 0x448b1b
and dword [ebp - 0x2c4], 0
jmp 0x448b28
cmp dword [ebp - 0x2c4], 0xffffffff
je 0x4489c7
cmp dword [ebp - 0x2c4], 0
jge 0x448b39
or eax, 0xffffffff
jmp 0x448c3a
cmp dword [ebp - 0x2c4], 0
jne 0x448b49
xor eax, eax
jmp 0x448c3a
and dword [ebp - 0x2c0], 0
cmp dword [ebp + 0x6c], 0xffffffff
je 0x448b9c
lea eax, [ebp - 0x1b8]
push eax
push dword [ebp + 0x6c]
call dword [sym.imp.WS2_32.dll___WSAFDIsSet]
test eax, eax
je 0x448b79
mov eax, dword [ebp - 0x2c0]
or eax, 1
mov dword [ebp - 0x2c0], eax
lea eax, [ebp - 0xb4]
push eax
push dword [ebp + 0x6c]
call dword [sym.imp.WS2_32.dll___WSAFDIsSet]
test eax, eax
je 0x448b9c
mov eax, dword [ebp - 0x2c0]
or eax, 4
mov dword [ebp - 0x2c0], eax
cmp dword [ebp + 0x70], 0xffffffff
je 0x448be8
lea eax, [ebp - 0x1b8]
push eax
push dword [ebp + 0x70]
call dword [sym.imp.WS2_32.dll___WSAFDIsSet]
test eax, eax
je 0x448bc5
mov eax, dword [ebp - 0x2c0]
or eax, 8
mov dword [ebp - 0x2c0], eax
lea eax, [ebp - 0xb4]
push eax
push dword [ebp + 0x70]
call dword [sym.imp.WS2_32.dll___WSAFDIsSet]
test eax, eax
je 0x448be8
mov eax, dword [ebp - 0x2c0]
or eax, 4
mov dword [ebp - 0x2c0], eax
cmp dword [ebp + 0x74], 0xffffffff
je 0x448c34
lea eax, [ebp - 0x2bc]
push eax
push dword [ebp + 0x74]
call dword [sym.imp.WS2_32.dll___WSAFDIsSet]
test eax, eax
je 0x448c11
mov eax, dword [ebp - 0x2c0]
or eax, 2
mov dword [ebp - 0x2c0], eax
lea eax, [ebp - 0xb4]
push eax
push dword [ebp + 0x74]
call dword [sym.imp.WS2_32.dll___WSAFDIsSet]
test eax, eax
je 0x448c34
mov eax, dword [ebp - 0x2c0]
or eax, 4
mov dword [ebp - 0x2c0], eax
mov eax, dword [ebp - 0x2c0]
pop edi
pop esi
mov ecx, dword [ebp + 0x60]
xor ecx, ebp
call fcn.0041553e
add ebp, 0x64
mov esp, ebp
pop ebp
ret